[2026-07-25 00:00:02] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:00:02] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:00:02] local.INFO: IMEI packet received {"connection_id":140830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":140830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:00:04] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:00:04] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:00:04] local.INFO: Packet analysis {"connection_id":140830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:00:04] local.INFO: Extracted packet for processing {"connection_id":140830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938829568001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784917604000,"timestamp_ms":1784917604000,"timestamp_seconds":1784917604,"priority":1,"record_length":96,"hex_timestamp":"0000019f956136a0"} 
[2026-07-25 00:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 00:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938829568001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938829568001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938829568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":140830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:00:04] local.INFO: GPS data processed {"connection_id":140830,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:00:04] local.INFO: Acknowledgment sent {"connection_id":140830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:00:35] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:00:35] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:00:35] local.INFO: Packet analysis {"connection_id":140830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:00:35] local.INFO: Extracted packet for processing {"connection_id":140830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938829568001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784917604000,"timestamp_ms":1784917604000,"timestamp_seconds":1784917604,"priority":1,"record_length":96,"hex_timestamp":"0000019f956136a0"} 
[2026-07-25 00:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 00:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938829568001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938829568001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938829568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":140830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:00:35] local.INFO: GPS data processed {"connection_id":140830,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:00:35] local.INFO: Acknowledgment sent {"connection_id":140830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:00:57] local.INFO: TCP Data received {"connection_id":140779,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:00:57] local.INFO: Processing buffer {"connection_id":140779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:00:57] local.INFO: IMEI packet received {"connection_id":140779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":140779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:01:02] local.INFO: TCP Data received {"connection_id":140779,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:01:02] local.INFO: Processing buffer {"connection_id":140779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:01:02] local.INFO: IMEI packet received {"connection_id":140779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":140779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:01:03] local.INFO: TCP Data received {"connection_id":140779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:01:03] local.INFO: Processing buffer {"connection_id":140779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:01:03] local.INFO: Packet analysis {"connection_id":140779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:01:03] local.INFO: Extracted packet for processing {"connection_id":140779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938829568001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784917604000,"timestamp_ms":1784917604000,"timestamp_seconds":1784917604,"priority":1,"record_length":96,"hex_timestamp":"0000019f956136a0"} 
[2026-07-25 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-07-25 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 00:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938829568001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938829568001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938829568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":140779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:01:03] local.INFO: GPS data processed {"connection_id":140779,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:01:03] local.INFO: Acknowledgment sent {"connection_id":140779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:01:35] local.INFO: TCP Data received {"connection_id":140779,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:01:35] local.INFO: Processing buffer {"connection_id":140779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:01:35] local.INFO: Packet analysis {"connection_id":140779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:01:35] local.INFO: Extracted packet for processing {"connection_id":140779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938829568001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784917604000,"timestamp_ms":1784917604000,"timestamp_seconds":1784917604,"priority":1,"record_length":96,"hex_timestamp":"0000019f956136a0"} 
[2026-07-25 00:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 00:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938829568001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938829568001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938829568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":140779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:01:35] local.INFO: GPS data processed {"connection_id":140779,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:01:35] local.INFO: Acknowledgment sent {"connection_id":140779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:01:57] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:01:57] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:01:57] local.INFO: IMEI packet received {"connection_id":140831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":140831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:02:02] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:02:02] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:02:02] local.INFO: IMEI packet received {"connection_id":140831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":140831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:02:03] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:02:03] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956136a0012d34c50006aa3e20000901171e..."} 
[2026-07-25 00:02:03] local.INFO: Packet analysis {"connection_id":140831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:02:03] local.INFO: Extracted packet for processing {"connection_id":140831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9561"} 
[2026-07-25 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":30,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938829568001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784917604000,"timestamp_ms":1784917604000,"timestamp_seconds":1784917604,"priority":1,"record_length":96,"hex_timestamp":"0000019f956136a0"} 
[2026-07-25 00:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 00:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938829568001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938829568001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938829568001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":140831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:02:03] local.INFO: GPS data processed {"connection_id":140831,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:02:03] local.INFO: Acknowledgment sent {"connection_id":140831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:02:35] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:02:35] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:02:35] local.INFO: Packet analysis {"connection_id":140831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:02:35] local.INFO: Extracted packet for processing {"connection_id":140831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":140831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:02:35] local.INFO: GPS data processed {"connection_id":140831,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:02:35] local.INFO: Acknowledgment sent {"connection_id":140831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:02:57] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:02:57] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:02:57] local.INFO: IMEI packet received {"connection_id":141841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":141841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:03:02] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:03:02] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:03:02] local.INFO: IMEI packet received {"connection_id":141841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":141841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:03:03] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:03:03] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:03:03] local.INFO: Packet analysis {"connection_id":141841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:03:03] local.INFO: Extracted packet for processing {"connection_id":141841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":141841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:03:03] local.INFO: GPS data processed {"connection_id":141841,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:03:03] local.INFO: Acknowledgment sent {"connection_id":141841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:03:35] local.INFO: TCP Data received {"connection_id":141841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:03:35] local.INFO: Processing buffer {"connection_id":141841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:03:35] local.INFO: Packet analysis {"connection_id":141841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:03:35] local.INFO: Extracted packet for processing {"connection_id":141841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":141841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:03:35] local.INFO: GPS data processed {"connection_id":141841,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:03:35] local.INFO: Acknowledgment sent {"connection_id":141841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:04:02] local.INFO: TCP Data received {"connection_id":140780,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:02] local.INFO: Processing buffer {"connection_id":140780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:02] local.INFO: IMEI packet received {"connection_id":140780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":140780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:04:07] local.INFO: TCP Data received {"connection_id":140780,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:07] local.INFO: Processing buffer {"connection_id":140780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:07] local.INFO: IMEI packet received {"connection_id":140780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":140780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:04:08] local.INFO: TCP Data received {"connection_id":140780,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:04:08] local.INFO: Processing buffer {"connection_id":140780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:04:08] local.INFO: Packet analysis {"connection_id":140780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:04:08] local.INFO: Extracted packet for processing {"connection_id":140780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 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-07-25 00:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":140780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:04:08] local.INFO: GPS data processed {"connection_id":140780,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:04:08] local.INFO: Acknowledgment sent {"connection_id":140780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:04:13] local.INFO: TCP Data received {"connection_id":140780,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:04:13] local.INFO: Processing buffer {"connection_id":140780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:04:13] local.INFO: Packet analysis {"connection_id":140780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:04:13] local.INFO: Extracted packet for processing {"connection_id":140780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":140780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:04:13] local.INFO: GPS data processed {"connection_id":140780,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:04:13] local.INFO: Acknowledgment sent {"connection_id":140780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:04:57] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:57] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:04:57] local.INFO: IMEI packet received {"connection_id":141842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":141842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:05:02] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:05:02] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:05:02] local.INFO: IMEI packet received {"connection_id":141842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":141842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:05:03] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:05:03] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:05:03] local.INFO: Packet analysis {"connection_id":141842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:05:03] local.INFO: Extracted packet for processing {"connection_id":141842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 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-07-25 00:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":141842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:05:03] local.INFO: GPS data processed {"connection_id":141842,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:05:03] local.INFO: Acknowledgment sent {"connection_id":141842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:05:35] local.INFO: TCP Data received {"connection_id":141842,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:05:35] local.INFO: Processing buffer {"connection_id":141842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:05:35] local.INFO: Packet analysis {"connection_id":141842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:05:35] local.INFO: Extracted packet for processing {"connection_id":141842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 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-07-25 00:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":141842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:05:35] local.INFO: GPS data processed {"connection_id":141842,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:05:35] local.INFO: Acknowledgment sent {"connection_id":141842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:05:57] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:05:57] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:05:57] local.INFO: IMEI packet received {"connection_id":140832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":140832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:06:02] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:06:02] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:06:02] local.INFO: IMEI packet received {"connection_id":140832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":140832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:06:03] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:06:03] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:06:03] local.INFO: Packet analysis {"connection_id":140832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:06:03] local.INFO: Extracted packet for processing {"connection_id":140832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":140832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:06:03] local.INFO: GPS data processed {"connection_id":140832,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:06:03] local.INFO: Acknowledgment sent {"connection_id":140832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:06:35] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:06:35] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:06:35] local.INFO: Packet analysis {"connection_id":140832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:06:35] local.INFO: Extracted packet for processing {"connection_id":140832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":140832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:06:35] local.INFO: GPS data processed {"connection_id":140832,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:06:35] local.INFO: Acknowledgment sent {"connection_id":140832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:06:38] local.INFO: TCP Data received {"connection_id":140833,"ip":"45.79.207.111","data_length":2,"data_hex":"0a0a..."} 
[2026-07-25 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140833,"packet_length":2,"packet_hex":"0a0a..."} 
[2026-07-25 00:06:38] local.INFO: Processing buffer {"connection_id":140833,"buffer_length":2,"buffer_hex":"0a0a..."} 
[2026-07-25 00:06:57] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:06:57] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:06:57] local.INFO: IMEI packet received {"connection_id":141843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":141843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:07:02] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:07:02] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:07:02] local.INFO: IMEI packet received {"connection_id":141843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":141843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:07:03] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:07:03] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9565ce68012d34c50006aa3e200009011721..."} 
[2026-07-25 00:07:03] local.INFO: Packet analysis {"connection_id":141843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:07:03] local.INFO: Extracted packet for processing {"connection_id":141843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9565"} 
[2026-07-25 00:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938906624001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784917905000,"timestamp_ms":1784917905000,"timestamp_seconds":1784917905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9565ce68"} 
[2026-07-25 00:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938906624001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938906624001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938906624001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":141843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:07:03] local.INFO: GPS data processed {"connection_id":141843,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:07:03] local.INFO: Acknowledgment sent {"connection_id":141843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:07:35] local.INFO: TCP Data received {"connection_id":141843,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:07:35] local.INFO: Processing buffer {"connection_id":141843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:07:35] local.INFO: Packet analysis {"connection_id":141843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:07:35] local.INFO: Extracted packet for processing {"connection_id":141843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":141843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:07:35] local.INFO: GPS data processed {"connection_id":141843,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:07:35] local.INFO: Acknowledgment sent {"connection_id":141843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:07:57] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:07:57] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:07:57] local.INFO: IMEI packet received {"connection_id":140834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":140834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:08:03] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:08:03] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:08:03] local.INFO: IMEI packet received {"connection_id":140834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":140834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:08:04] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:08:04] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:08:04] local.INFO: Packet analysis {"connection_id":140834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:08:04] local.INFO: Extracted packet for processing {"connection_id":140834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":140834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:08:04] local.INFO: GPS data processed {"connection_id":140834,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:08:04] local.INFO: Acknowledgment sent {"connection_id":140834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:08:35] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:08:35] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:08:35] local.INFO: Packet analysis {"connection_id":140834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:08:35] local.INFO: Extracted packet for processing {"connection_id":140834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":140834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:08:35] local.INFO: GPS data processed {"connection_id":140834,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:08:35] local.INFO: Acknowledgment sent {"connection_id":140834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:09:02] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:02] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:02] local.INFO: IMEI packet received {"connection_id":141844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":141844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:09:07] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:07] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:07] local.INFO: IMEI packet received {"connection_id":141844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":141844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:09:08] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:09:08] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:09:08] local.INFO: Packet analysis {"connection_id":141844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:09:08] local.INFO: Extracted packet for processing {"connection_id":141844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":141844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:09:08] local.INFO: GPS data processed {"connection_id":141844,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:09:08] local.INFO: Acknowledgment sent {"connection_id":141844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:09:13] local.INFO: TCP Data received {"connection_id":141844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:09:13] local.INFO: Processing buffer {"connection_id":141844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:09:13] local.INFO: Packet analysis {"connection_id":141844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:09:13] local.INFO: Extracted packet for processing {"connection_id":141844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":141844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:09:13] local.INFO: GPS data processed {"connection_id":141844,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:09:13] local.INFO: Acknowledgment sent {"connection_id":141844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:09:57] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:57] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:09:57] local.INFO: IMEI packet received {"connection_id":140835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":140835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:10:02] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:10:02] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:10:02] local.INFO: IMEI packet received {"connection_id":140835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":140835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:10:03] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:10:03] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:10:03] local.INFO: Packet analysis {"connection_id":140835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:10:03] local.INFO: Extracted packet for processing {"connection_id":140835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":140835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:10:03] local.INFO: GPS data processed {"connection_id":140835,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:10:03] local.INFO: Acknowledgment sent {"connection_id":140835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:10:34] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:10:34] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:10:34] local.INFO: Packet analysis {"connection_id":140835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:10:34] local.INFO: Extracted packet for processing {"connection_id":140835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":140835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:10:34] local.INFO: GPS data processed {"connection_id":140835,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:10:34] local.INFO: Acknowledgment sent {"connection_id":140835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:10:58] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:10:58] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:10:58] local.INFO: IMEI packet received {"connection_id":143177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":143177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:11:03] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:11:03] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:11:03] local.INFO: IMEI packet received {"connection_id":143177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":143177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:11:04] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:11:04] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:11:04] local.INFO: Packet analysis {"connection_id":143177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:11:04] local.INFO: Extracted packet for processing {"connection_id":143177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:11:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":143177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:11:04] local.INFO: GPS data processed {"connection_id":143177,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:11:04] local.INFO: Acknowledgment sent {"connection_id":143177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:11:36] local.INFO: TCP Data received {"connection_id":143177,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:11:36] local.INFO: Processing buffer {"connection_id":143177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:11:36] local.INFO: Packet analysis {"connection_id":143177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:11:36] local.INFO: Extracted packet for processing {"connection_id":143177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 00:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":143177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:11:36] local.INFO: GPS data processed {"connection_id":143177,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:11:36] local.INFO: Acknowledgment sent {"connection_id":143177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:11:57] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:11:57] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:11:57] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:12:02] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:12:02] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:12:02] local.INFO: IMEI packet received {"connection_id":143178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":143178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:12:04] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:12:04] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956a6630012d34c50006aa3e200012011721..."} 
[2026-07-25 00:12:04] local.INFO: Packet analysis {"connection_id":143178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:12:04] local.INFO: Extracted packet for processing {"connection_id":143178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956a"} 
[2026-07-25 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456938983680001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784918206000,"timestamp_ms":1784918206000,"timestamp_seconds":1784918206,"priority":1,"record_length":96,"hex_timestamp":"0000019f956a6630"} 
[2026-07-25 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-07-25 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456938983680001,"66":25375,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456938983680001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:12:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456938983680001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":143178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:12:04] local.INFO: GPS data processed {"connection_id":143178,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:12:04] local.INFO: Acknowledgment sent {"connection_id":143178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:12:36] local.INFO: TCP Data received {"connection_id":143178,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:12:36] local.INFO: Processing buffer {"connection_id":143178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:12:36] local.INFO: Packet analysis {"connection_id":143178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:12:36] local.INFO: Extracted packet for processing {"connection_id":143178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:12:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:12:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":143178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:12:36] local.INFO: GPS data processed {"connection_id":143178,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:12:36] local.INFO: Acknowledgment sent {"connection_id":143178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:12:57] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:12:57] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:12:57] local.INFO: IMEI packet received {"connection_id":140836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":140836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:13:03] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:13:04] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:13:04] local.INFO: IMEI packet received {"connection_id":140836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":140836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:13:07] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:13:07] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:13:07] local.INFO: IMEI packet received {"connection_id":140836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":140836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:13:08] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:13:08] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:13:08] local.INFO: Packet analysis {"connection_id":140836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:13:08] local.INFO: Extracted packet for processing {"connection_id":140836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":140836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:13:08] local.INFO: GPS data processed {"connection_id":140836,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:13:08] local.INFO: Acknowledgment sent {"connection_id":140836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:13:40] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:13:40] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:13:40] local.INFO: Packet analysis {"connection_id":140836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:13:40] local.INFO: Extracted packet for processing {"connection_id":140836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":140836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:13:40] local.INFO: GPS data processed {"connection_id":140836,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:13:40] local.INFO: Acknowledgment sent {"connection_id":140836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:14:02] local.INFO: TCP Data received {"connection_id":140781,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:02] local.INFO: Processing buffer {"connection_id":140781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:02] local.INFO: IMEI packet received {"connection_id":140781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":140781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:14:08] local.INFO: TCP Data received {"connection_id":140781,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:08] local.INFO: Processing buffer {"connection_id":140781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:08] local.INFO: IMEI packet received {"connection_id":140781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":140781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:14:09] local.INFO: TCP Data received {"connection_id":140781,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:14:09] local.INFO: Processing buffer {"connection_id":140781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:14:09] local.INFO: Packet analysis {"connection_id":140781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:14:09] local.INFO: Extracted packet for processing {"connection_id":140781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":140781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:14:09] local.INFO: GPS data processed {"connection_id":140781,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:14:09] local.INFO: Acknowledgment sent {"connection_id":140781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:14:13] local.INFO: TCP Data received {"connection_id":140781,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:14:13] local.INFO: Processing buffer {"connection_id":140781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:14:13] local.INFO: Packet analysis {"connection_id":140781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:14:13] local.INFO: Extracted packet for processing {"connection_id":140781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:14:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":140781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:14:13] local.INFO: GPS data processed {"connection_id":140781,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:14:13] local.INFO: Acknowledgment sent {"connection_id":140781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:14:57] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:57] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:14:57] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:15:02] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:15:02] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:15:02] local.INFO: IMEI packet received {"connection_id":143179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":143179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:15:03] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:15:03] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:15:03] local.INFO: Packet analysis {"connection_id":143179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:15:03] local.INFO: Extracted packet for processing {"connection_id":143179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":143179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:15:03] local.INFO: GPS data processed {"connection_id":143179,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:15:03] local.INFO: Acknowledgment sent {"connection_id":143179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:15:35] local.INFO: TCP Data received {"connection_id":143179,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:15:35] local.INFO: Processing buffer {"connection_id":143179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:15:35] local.INFO: Packet analysis {"connection_id":143179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:15:35] local.INFO: Extracted packet for processing {"connection_id":143179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":143179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:15:35] local.INFO: GPS data processed {"connection_id":143179,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:15:35] local.INFO: Acknowledgment sent {"connection_id":143179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:15:57] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:15:57] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:15:57] local.INFO: IMEI packet received {"connection_id":141845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":141845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:16:02] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:16:02] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:16:02] local.INFO: IMEI packet received {"connection_id":141845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":141845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:16:03] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:16:03] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:16:03] local.INFO: Packet analysis {"connection_id":141845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:16:03] local.INFO: Extracted packet for processing {"connection_id":141845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":141845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:16:03] local.INFO: GPS data processed {"connection_id":141845,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:16:03] local.INFO: Acknowledgment sent {"connection_id":141845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:16:35] local.INFO: TCP Data received {"connection_id":141845,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:16:35] local.INFO: Processing buffer {"connection_id":141845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:16:35] local.INFO: Packet analysis {"connection_id":141845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:16:35] local.INFO: Extracted packet for processing {"connection_id":141845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 00:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":141845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:16:35] local.INFO: GPS data processed {"connection_id":141845,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:16:35] local.INFO: Acknowledgment sent {"connection_id":141845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:16:57] local.INFO: TCP Data received {"connection_id":140782,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:16:57] local.INFO: Processing buffer {"connection_id":140782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:16:57] local.INFO: IMEI packet received {"connection_id":140782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":140782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:17:02] local.INFO: TCP Data received {"connection_id":140782,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:17:02] local.INFO: Processing buffer {"connection_id":140782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:17:02] local.INFO: IMEI packet received {"connection_id":140782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":140782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:17:03] local.INFO: TCP Data received {"connection_id":140782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:17:03] local.INFO: Processing buffer {"connection_id":140782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f956efdf8012d34c50006aa3e200012011723..."} 
[2026-07-25 00:17:03] local.INFO: Packet analysis {"connection_id":140782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:17:03] local.INFO: Extracted packet for processing {"connection_id":140782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f956e"} 
[2026-07-25 00:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939060736001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918507000,"timestamp_ms":1784918507000,"timestamp_seconds":1784918507,"priority":1,"record_length":96,"hex_timestamp":"0000019f956efdf8"} 
[2026-07-25 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-07-25 00:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 00:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939060736001,"66":25397,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939060736001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939060736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":140782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:17:03] local.INFO: GPS data processed {"connection_id":140782,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:17:03] local.INFO: Acknowledgment sent {"connection_id":140782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:17:35] local.INFO: TCP Data received {"connection_id":140782,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:17:35] local.INFO: Processing buffer {"connection_id":140782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:17:35] local.INFO: Packet analysis {"connection_id":140782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:17:35] local.INFO: Extracted packet for processing {"connection_id":140782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":140782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:17:35] local.INFO: GPS data processed {"connection_id":140782,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:17:35] local.INFO: Acknowledgment sent {"connection_id":140782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:17:57] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:17:57] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:17:57] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:18:02] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:18:02] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:18:02] local.INFO: IMEI packet received {"connection_id":143180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":143180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:18:03] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:18:03] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:18:03] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:18:03] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:18:03] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:18:03] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:18:35] local.INFO: TCP Data received {"connection_id":143180,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:18:35] local.INFO: Processing buffer {"connection_id":143180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:18:35] local.INFO: Packet analysis {"connection_id":143180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:18:35] local.INFO: Extracted packet for processing {"connection_id":143180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":143180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:18:35] local.INFO: GPS data processed {"connection_id":143180,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:18:35] local.INFO: Acknowledgment sent {"connection_id":143180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:18:57] local.INFO: TCP Data received {"connection_id":140783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:18:57] local.INFO: Processing buffer {"connection_id":140783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:18:57] local.INFO: IMEI packet received {"connection_id":140783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":140783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:19:02] local.INFO: TCP Data received {"connection_id":140783,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:19:02] local.INFO: Processing buffer {"connection_id":140783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:19:02] local.INFO: IMEI packet received {"connection_id":140783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":140783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:19:03] local.INFO: TCP Data received {"connection_id":140783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:19:03] local.INFO: Processing buffer {"connection_id":140783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:19:03] local.INFO: Packet analysis {"connection_id":140783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:19:03] local.INFO: Extracted packet for processing {"connection_id":140783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 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-07-25 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":140783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:19:03] local.INFO: GPS data processed {"connection_id":140783,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:19:03] local.INFO: Acknowledgment sent {"connection_id":140783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:19:35] local.INFO: TCP Data received {"connection_id":140783,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:19:35] local.INFO: Processing buffer {"connection_id":140783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:19:35] local.INFO: Packet analysis {"connection_id":140783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:19:35] local.INFO: Extracted packet for processing {"connection_id":140783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":140783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:19:35] local.INFO: GPS data processed {"connection_id":140783,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:19:35] local.INFO: Acknowledgment sent {"connection_id":140783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:19:57] local.INFO: TCP Data received {"connection_id":140784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:19:57] local.INFO: Processing buffer {"connection_id":140784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:19:57] local.INFO: IMEI packet received {"connection_id":140784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":140784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:20:03] local.INFO: TCP Data received {"connection_id":140784,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:20:03] local.INFO: Processing buffer {"connection_id":140784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:20:03] local.INFO: IMEI packet received {"connection_id":140784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":140784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:20:04] local.INFO: TCP Data received {"connection_id":140784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:20:04] local.INFO: Processing buffer {"connection_id":140784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:20:04] local.INFO: Packet analysis {"connection_id":140784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:20:04] local.INFO: Extracted packet for processing {"connection_id":140784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:20:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:20:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":140784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:20:04] local.INFO: GPS data processed {"connection_id":140784,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:20:04] local.INFO: Acknowledgment sent {"connection_id":140784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:20:35] local.INFO: TCP Data received {"connection_id":140784,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:20:35] local.INFO: Processing buffer {"connection_id":140784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:20:35] local.INFO: Packet analysis {"connection_id":140784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:20:35] local.INFO: Extracted packet for processing {"connection_id":140784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":140784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:20:35] local.INFO: GPS data processed {"connection_id":140784,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:20:35] local.INFO: Acknowledgment sent {"connection_id":140784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:20:57] local.INFO: TCP Data received {"connection_id":140785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:20:57] local.INFO: Processing buffer {"connection_id":140785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:20:57] local.INFO: IMEI packet received {"connection_id":140785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":140785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:21:02] local.INFO: TCP Data received {"connection_id":140785,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:21:02] local.INFO: Processing buffer {"connection_id":140785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:21:02] local.INFO: IMEI packet received {"connection_id":140785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":140785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:21:03] local.INFO: TCP Data received {"connection_id":140785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:21:03] local.INFO: Processing buffer {"connection_id":140785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:21:03] local.INFO: Packet analysis {"connection_id":140785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:21:03] local.INFO: Extracted packet for processing {"connection_id":140785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":140785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:21:03] local.INFO: GPS data processed {"connection_id":140785,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:21:03] local.INFO: Acknowledgment sent {"connection_id":140785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:21:34] local.INFO: TCP Data received {"connection_id":140785,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:21:34] local.INFO: Processing buffer {"connection_id":140785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:21:34] local.INFO: Packet analysis {"connection_id":140785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:21:34] local.INFO: Extracted packet for processing {"connection_id":140785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 00:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":140785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:21:34] local.INFO: GPS data processed {"connection_id":140785,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:21:34] local.INFO: Acknowledgment sent {"connection_id":140785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:21:57] local.INFO: TCP Data received {"connection_id":143181,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:21:57] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:21:57] local.INFO: IMEI packet received {"connection_id":143181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":143181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:22:02] local.INFO: TCP Data received {"connection_id":143181,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:22:02] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:22:02] local.INFO: IMEI packet received {"connection_id":143181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":143181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:22:04] local.INFO: TCP Data received {"connection_id":143181,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:22:04] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957395c0012d34c50006aa3e200012011722..."} 
[2026-07-25 00:22:04] local.INFO: Packet analysis {"connection_id":143181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:22:04] local.INFO: Extracted packet for processing {"connection_id":143181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9573"} 
[2026-07-25 00:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939137792001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784918808000,"timestamp_ms":1784918808000,"timestamp_seconds":1784918808,"priority":1,"record_length":96,"hex_timestamp":"0000019f957395c0"} 
[2026-07-25 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-07-25 00:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 00:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939137792001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939137792001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939137792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":143181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:22:04] local.INFO: GPS data processed {"connection_id":143181,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:22:04] local.INFO: Acknowledgment sent {"connection_id":143181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:22:35] local.INFO: TCP Data received {"connection_id":143181,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:22:35] local.INFO: Processing buffer {"connection_id":143181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:22:35] local.INFO: Packet analysis {"connection_id":143181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:22:35] local.INFO: Extracted packet for processing {"connection_id":143181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":143181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:22:35] local.INFO: GPS data processed {"connection_id":143181,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:22:35] local.INFO: Acknowledgment sent {"connection_id":143181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:23:02] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:02] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:02] local.INFO: IMEI packet received {"connection_id":141846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":141846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:23:07] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:07] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:07] local.INFO: IMEI packet received {"connection_id":141846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":141846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:23:08] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:23:08] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:23:08] local.INFO: Packet analysis {"connection_id":141846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:23:08] local.INFO: Extracted packet for processing {"connection_id":141846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":141846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:23:08] local.INFO: GPS data processed {"connection_id":141846,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:23:08] local.INFO: Acknowledgment sent {"connection_id":141846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:23:13] local.INFO: TCP Data received {"connection_id":141846,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:23:13] local.INFO: Processing buffer {"connection_id":141846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:23:13] local.INFO: Packet analysis {"connection_id":141846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:23:13] local.INFO: Extracted packet for processing {"connection_id":141846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":141846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:23:13] local.INFO: GPS data processed {"connection_id":141846,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:23:13] local.INFO: Acknowledgment sent {"connection_id":141846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:23:57] local.INFO: TCP Data received {"connection_id":140786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:57] local.INFO: Processing buffer {"connection_id":140786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:23:57] local.INFO: IMEI packet received {"connection_id":140786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":140786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:24:02] local.INFO: TCP Data received {"connection_id":140786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:24:02] local.INFO: Processing buffer {"connection_id":140786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:24:02] local.INFO: IMEI packet received {"connection_id":140786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":140786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:24:04] local.INFO: TCP Data received {"connection_id":140786,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:24:04] local.INFO: Processing buffer {"connection_id":140786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:24:04] local.INFO: Packet analysis {"connection_id":140786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:24:04] local.INFO: Extracted packet for processing {"connection_id":140786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":140786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:24:04] local.INFO: GPS data processed {"connection_id":140786,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:24:04] local.INFO: Acknowledgment sent {"connection_id":140786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:24:36] local.INFO: TCP Data received {"connection_id":140786,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:24:36] local.INFO: Processing buffer {"connection_id":140786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:24:36] local.INFO: Packet analysis {"connection_id":140786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:24:36] local.INFO: Extracted packet for processing {"connection_id":140786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":140786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:24:36] local.INFO: GPS data processed {"connection_id":140786,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:24:36] local.INFO: Acknowledgment sent {"connection_id":140786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:24:58] local.INFO: TCP Data received {"connection_id":140787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:24:58] local.INFO: Processing buffer {"connection_id":140787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:24:58] local.INFO: IMEI packet received {"connection_id":140787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":140787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:25:02] local.INFO: TCP Data received {"connection_id":140787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:25:02] local.INFO: Processing buffer {"connection_id":140787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:25:02] local.INFO: IMEI packet received {"connection_id":140787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":140787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:25:04] local.INFO: TCP Data received {"connection_id":140787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:25:04] local.INFO: Processing buffer {"connection_id":140787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:25:04] local.INFO: Packet analysis {"connection_id":140787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:25:04] local.INFO: Extracted packet for processing {"connection_id":140787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:25:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:25:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":140787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:25:04] local.INFO: GPS data processed {"connection_id":140787,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:25:04] local.INFO: Acknowledgment sent {"connection_id":140787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:25:35] local.INFO: TCP Data received {"connection_id":140787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:25:35] local.INFO: Processing buffer {"connection_id":140787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:25:35] local.INFO: Packet analysis {"connection_id":140787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:25:35] local.INFO: Extracted packet for processing {"connection_id":140787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":140787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:25:35] local.INFO: GPS data processed {"connection_id":140787,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:25:35] local.INFO: Acknowledgment sent {"connection_id":140787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:25:57] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:25:57] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:25:57] local.INFO: IMEI packet received {"connection_id":140837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":140837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:26:02] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:26:02] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:26:02] local.INFO: IMEI packet received {"connection_id":140837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:26:03] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:26:03] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:26:03] local.INFO: Packet analysis {"connection_id":140837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:26:03] local.INFO: Extracted packet for processing {"connection_id":140837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 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-07-25 00:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":140837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:26:03] local.INFO: GPS data processed {"connection_id":140837,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:26:03] local.INFO: Acknowledgment sent {"connection_id":140837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:26:35] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:26:35] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:26:35] local.INFO: Packet analysis {"connection_id":140837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:26:35] local.INFO: Extracted packet for processing {"connection_id":140837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:26:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:26:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":140837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:26:35] local.INFO: GPS data processed {"connection_id":140837,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:26:35] local.INFO: Acknowledgment sent {"connection_id":140837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:26:57] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:26:57] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:26:57] local.INFO: IMEI packet received {"connection_id":141847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":141847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:27:02] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:27:02] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:27:02] local.INFO: IMEI packet received {"connection_id":141847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":141847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:27:03] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:27:03] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95782d88012d34c50006aa3e200012011722..."} 
[2026-07-25 00:27:03] local.INFO: Packet analysis {"connection_id":141847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:27:03] local.INFO: Extracted packet for processing {"connection_id":141847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9578"} 
[2026-07-25 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939214848001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919109000,"timestamp_ms":1784919109000,"timestamp_seconds":1784919109,"priority":1,"record_length":96,"hex_timestamp":"0000019f95782d88"} 
[2026-07-25 00:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 00:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939214848001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939214848001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939214848001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":141847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:27:03] local.INFO: GPS data processed {"connection_id":141847,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:27:03] local.INFO: Acknowledgment sent {"connection_id":141847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:27:34] local.INFO: TCP Data received {"connection_id":141847,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:27:34] local.INFO: Processing buffer {"connection_id":141847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:27:34] local.INFO: Packet analysis {"connection_id":141847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:27:34] local.INFO: Extracted packet for processing {"connection_id":141847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 00:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:27: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-07-25 00:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:27:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":141847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:27:34] local.INFO: GPS data processed {"connection_id":141847,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:27:34] local.INFO: Acknowledgment sent {"connection_id":141847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:28:02] local.INFO: TCP Data received {"connection_id":140788,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:02] local.INFO: Processing buffer {"connection_id":140788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:02] local.INFO: IMEI packet received {"connection_id":140788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":140788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:28:07] local.INFO: TCP Data received {"connection_id":140788,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:07] local.INFO: Processing buffer {"connection_id":140788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:07] local.INFO: IMEI packet received {"connection_id":140788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":140788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:28:09] local.INFO: TCP Data received {"connection_id":140788,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:28:09] local.INFO: Processing buffer {"connection_id":140788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:28:09] local.INFO: Packet analysis {"connection_id":140788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:28:09] local.INFO: Extracted packet for processing {"connection_id":140788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 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-07-25 00:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":140788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:28:09] local.INFO: GPS data processed {"connection_id":140788,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:28:09] local.INFO: Acknowledgment sent {"connection_id":140788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:28:40] local.INFO: TCP Data received {"connection_id":140788,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:28:40] local.INFO: Processing buffer {"connection_id":140788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:28:40] local.INFO: Packet analysis {"connection_id":140788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:28:40] local.INFO: Extracted packet for processing {"connection_id":140788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 00:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":140788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:28:40] local.INFO: GPS data processed {"connection_id":140788,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:28:40] local.INFO: Acknowledgment sent {"connection_id":140788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:28:57] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:57] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:28:57] local.INFO: IMEI packet received {"connection_id":140838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":140838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:29:02] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:29:02] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:29:02] local.INFO: IMEI packet received {"connection_id":140838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":140838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:29:04] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:29:04] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:29:04] local.INFO: Packet analysis {"connection_id":140838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:29:04] local.INFO: Extracted packet for processing {"connection_id":140838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 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-07-25 00:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:29:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":140838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:29:04] local.INFO: GPS data processed {"connection_id":140838,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:29:04] local.INFO: Acknowledgment sent {"connection_id":140838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:29:35] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:29:35] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:29:35] local.INFO: Packet analysis {"connection_id":140838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:29:35] local.INFO: Extracted packet for processing {"connection_id":140838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 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-07-25 00:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":140838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:29:35] local.INFO: GPS data processed {"connection_id":140838,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:29:35] local.INFO: Acknowledgment sent {"connection_id":140838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:29:57] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:29:57] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:29:57] local.INFO: IMEI packet received {"connection_id":143182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":143182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:30:02] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:30:02] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:30:02] local.INFO: IMEI packet received {"connection_id":143182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":143182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:30:03] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:30:03] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:30:03] local.INFO: Packet analysis {"connection_id":143182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:30:03] local.INFO: Extracted packet for processing {"connection_id":143182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 00:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":143182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:30:03] local.INFO: GPS data processed {"connection_id":143182,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:30:03] local.INFO: Acknowledgment sent {"connection_id":143182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:30:34] local.INFO: TCP Data received {"connection_id":143182,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:30:34] local.INFO: Processing buffer {"connection_id":143182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:30:34] local.INFO: Packet analysis {"connection_id":143182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:30:34] local.INFO: Extracted packet for processing {"connection_id":143182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 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-07-25 00:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:30: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-07-25 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-07-25 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-07-25 00:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":143182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:30:34] local.INFO: GPS data processed {"connection_id":143182,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:30:34] local.INFO: Acknowledgment sent {"connection_id":143182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:30:57] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:30:57] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:30:57] local.INFO: IMEI packet received {"connection_id":143183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":143183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:31:02] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:31:02] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:31:02] local.INFO: IMEI packet received {"connection_id":143183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":143183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:31:03] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:31:03] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:31:03] local.INFO: Packet analysis {"connection_id":143183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:31:03] local.INFO: Extracted packet for processing {"connection_id":143183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 00:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":143183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:31:03] local.INFO: GPS data processed {"connection_id":143183,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:31:03] local.INFO: Acknowledgment sent {"connection_id":143183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:31:35] local.INFO: TCP Data received {"connection_id":143183,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:31:35] local.INFO: Processing buffer {"connection_id":143183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:31:35] local.INFO: Packet analysis {"connection_id":143183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:31:35] local.INFO: Extracted packet for processing {"connection_id":143183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 00:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":143183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:31:35] local.INFO: GPS data processed {"connection_id":143183,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:31:35] local.INFO: Acknowledgment sent {"connection_id":143183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:31:57] local.INFO: TCP Data received {"connection_id":143184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:31:57] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:31:57] local.INFO: IMEI packet received {"connection_id":143184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":143184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:32:02] local.INFO: TCP Data received {"connection_id":143184,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:32:02] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:32:02] local.INFO: IMEI packet received {"connection_id":143184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":143184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:32:04] local.INFO: TCP Data received {"connection_id":143184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:32:04] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f957cc550012d34c50006aa3e200012011720..."} 
[2026-07-25 00:32:04] local.INFO: Packet analysis {"connection_id":143184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:32:04] local.INFO: Extracted packet for processing {"connection_id":143184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f957c"} 
[2026-07-25 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784919410000,"timestamp_ms":1784919410000,"timestamp_seconds":1784919410,"priority":1,"record_length":96,"hex_timestamp":"0000019f957cc550"} 
[2026-07-25 00:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939291904001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939291904001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":143184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:32:04] local.INFO: GPS data processed {"connection_id":143184,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:32:04] local.INFO: Acknowledgment sent {"connection_id":143184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:32:35] local.INFO: TCP Data received {"connection_id":143184,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:32:35] local.INFO: Processing buffer {"connection_id":143184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:32:35] local.INFO: Packet analysis {"connection_id":143184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:32:35] local.INFO: Extracted packet for processing {"connection_id":143184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":143184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:32:35] local.INFO: GPS data processed {"connection_id":143184,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:32:35] local.INFO: Acknowledgment sent {"connection_id":143184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:33:02] local.INFO: TCP Data received {"connection_id":140789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:02] local.INFO: Processing buffer {"connection_id":140789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:02] local.INFO: IMEI packet received {"connection_id":140789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":140789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:33:07] local.INFO: TCP Data received {"connection_id":140789,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:07] local.INFO: Processing buffer {"connection_id":140789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:07] local.INFO: IMEI packet received {"connection_id":140789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":140789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:33:08] local.INFO: TCP Data received {"connection_id":140789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:33:08] local.INFO: Processing buffer {"connection_id":140789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:33:08] local.INFO: Packet analysis {"connection_id":140789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:33:08] local.INFO: Extracted packet for processing {"connection_id":140789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":140789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:33:09] local.INFO: GPS data processed {"connection_id":140789,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:33:09] local.INFO: Acknowledgment sent {"connection_id":140789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:33:42] local.INFO: TCP Data received {"connection_id":140789,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:33:42] local.INFO: Processing buffer {"connection_id":140789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:33:42] local.INFO: Packet analysis {"connection_id":140789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:33:42] local.INFO: Extracted packet for processing {"connection_id":140789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:33:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":140789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:33:42] local.INFO: GPS data processed {"connection_id":140789,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:33:42] local.INFO: Acknowledgment sent {"connection_id":140789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:33:57] local.INFO: TCP Data received {"connection_id":143185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:57] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:33:57] local.INFO: IMEI packet received {"connection_id":143185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":143185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:34:02] local.INFO: TCP Data received {"connection_id":143185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:34:02] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:34:02] local.INFO: IMEI packet received {"connection_id":143185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":143185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:34:03] local.INFO: TCP Data received {"connection_id":143185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:34:03] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:34:03] local.INFO: Packet analysis {"connection_id":143185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:34:03] local.INFO: Extracted packet for processing {"connection_id":143185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:34:03] local.INFO: GPS data processed {"connection_id":143185,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:34:03] local.INFO: Acknowledgment sent {"connection_id":143185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:34:34] local.INFO: TCP Data received {"connection_id":143185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:34:34] local.INFO: Processing buffer {"connection_id":143185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:34:34] local.INFO: Packet analysis {"connection_id":143185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:34:34] local.INFO: Extracted packet for processing {"connection_id":143185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:34:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":143185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:34:35] local.INFO: GPS data processed {"connection_id":143185,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:34:35] local.INFO: Acknowledgment sent {"connection_id":143185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:34:58] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:34:58] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:34:58] local.INFO: IMEI packet received {"connection_id":140839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":140839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:35:02] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:35:02] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:35:02] local.INFO: IMEI packet received {"connection_id":140839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":140839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:35:03] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:35:03] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:35:03] local.INFO: Packet analysis {"connection_id":140839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:35:03] local.INFO: Extracted packet for processing {"connection_id":140839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":140839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:35:03] local.INFO: GPS data processed {"connection_id":140839,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:35:03] local.INFO: Acknowledgment sent {"connection_id":140839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:35:34] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:35:34] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:35:34] local.INFO: Packet analysis {"connection_id":140839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:35:34] local.INFO: Extracted packet for processing {"connection_id":140839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":140839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:35:34] local.INFO: GPS data processed {"connection_id":140839,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:35:34] local.INFO: Acknowledgment sent {"connection_id":140839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:35:57] local.INFO: TCP Data received {"connection_id":140790,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:35:57] local.INFO: Processing buffer {"connection_id":140790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:35:57] local.INFO: IMEI packet received {"connection_id":140790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":140790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:36:02] local.INFO: TCP Data received {"connection_id":140790,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:36:02] local.INFO: Processing buffer {"connection_id":140790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:36:02] local.INFO: IMEI packet received {"connection_id":140790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":140790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:36:03] local.INFO: TCP Data received {"connection_id":140790,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:36:03] local.INFO: Processing buffer {"connection_id":140790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:36:03] local.INFO: Packet analysis {"connection_id":140790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:36:03] local.INFO: Extracted packet for processing {"connection_id":140790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":140790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:36:03] local.INFO: GPS data processed {"connection_id":140790,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:36:03] local.INFO: Acknowledgment sent {"connection_id":140790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:36:35] local.INFO: TCP Data received {"connection_id":140790,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:36:35] local.INFO: Processing buffer {"connection_id":140790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:36:35] local.INFO: Packet analysis {"connection_id":140790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:36:35] local.INFO: Extracted packet for processing {"connection_id":140790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:36:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":140790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:36:35] local.INFO: GPS data processed {"connection_id":140790,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:36:35] local.INFO: Acknowledgment sent {"connection_id":140790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:36:57] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:36:57] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:36:57] local.INFO: IMEI packet received {"connection_id":141848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":141848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:37:02] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:37:02] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:37:02] local.INFO: IMEI packet received {"connection_id":141848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":141848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:37:03] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:37:03] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95815d18012d34c50006aa3e200012011720..."} 
[2026-07-25 00:37:03] local.INFO: Packet analysis {"connection_id":141848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:37:03] local.INFO: Extracted packet for processing {"connection_id":141848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9581"} 
[2026-07-25 00:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784919711000,"timestamp_ms":1784919711000,"timestamp_seconds":1784919711,"priority":1,"record_length":96,"hex_timestamp":"0000019f95815d18"} 
[2026-07-25 00:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 00:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939368960001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939368960001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":141848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:37:03] local.INFO: GPS data processed {"connection_id":141848,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:37:03] local.INFO: Acknowledgment sent {"connection_id":141848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:37:35] local.INFO: TCP Data received {"connection_id":141848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:37:35] local.INFO: Processing buffer {"connection_id":141848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:37:35] local.INFO: Packet analysis {"connection_id":141848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:37:35] local.INFO: Extracted packet for processing {"connection_id":141848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":141848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:37:35] local.INFO: GPS data processed {"connection_id":141848,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:37:35] local.INFO: Acknowledgment sent {"connection_id":141848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:38:03] local.INFO: TCP Data received {"connection_id":143186,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:03] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:03] local.INFO: IMEI packet received {"connection_id":143186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":143186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:38:07] local.INFO: TCP Data received {"connection_id":143186,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:07] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:07] local.INFO: IMEI packet received {"connection_id":143186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":143186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:38:08] local.INFO: TCP Data received {"connection_id":143186,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:38:08] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:38:08] local.INFO: Packet analysis {"connection_id":143186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:38:08] local.INFO: Extracted packet for processing {"connection_id":143186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":143186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:38:08] local.INFO: GPS data processed {"connection_id":143186,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:38:08] local.INFO: Acknowledgment sent {"connection_id":143186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:38:39] local.INFO: TCP Data received {"connection_id":143186,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:38:39] local.INFO: Processing buffer {"connection_id":143186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:38:39] local.INFO: Packet analysis {"connection_id":143186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:38:39] local.INFO: Extracted packet for processing {"connection_id":143186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":143186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:38:39] local.INFO: GPS data processed {"connection_id":143186,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:38:39] local.INFO: Acknowledgment sent {"connection_id":143186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:38:58] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:58] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:38:58] local.INFO: IMEI packet received {"connection_id":140840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":140840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:39:02] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:39:02] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:39:02] local.INFO: IMEI packet received {"connection_id":140840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":140840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:39:03] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:39:03] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:39:03] local.INFO: Packet analysis {"connection_id":140840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:39:03] local.INFO: Extracted packet for processing {"connection_id":140840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":140840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:39:03] local.INFO: GPS data processed {"connection_id":140840,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:39:03] local.INFO: Acknowledgment sent {"connection_id":140840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:39:35] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:39:35] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:39:35] local.INFO: Packet analysis {"connection_id":140840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:39:35] local.INFO: Extracted packet for processing {"connection_id":140840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":140840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:39:35] local.INFO: GPS data processed {"connection_id":140840,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:39:35] local.INFO: Acknowledgment sent {"connection_id":140840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:39:57] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:39:57] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:39:57] local.INFO: IMEI packet received {"connection_id":141849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":141849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:40:02] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:40:02] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:40:02] local.INFO: IMEI packet received {"connection_id":141849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":141849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:40:03] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:40:03] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:40:03] local.INFO: Packet analysis {"connection_id":141849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:40:03] local.INFO: Extracted packet for processing {"connection_id":141849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":141849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:40:03] local.INFO: GPS data processed {"connection_id":141849,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:40:03] local.INFO: Acknowledgment sent {"connection_id":141849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:40:35] local.INFO: TCP Data received {"connection_id":141849,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:40:35] local.INFO: Processing buffer {"connection_id":141849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:40:35] local.INFO: Packet analysis {"connection_id":141849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:40:35] local.INFO: Extracted packet for processing {"connection_id":141849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":141849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:40:35] local.INFO: GPS data processed {"connection_id":141849,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:40:35] local.INFO: Acknowledgment sent {"connection_id":141849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:40:57] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:40:57] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:40:57] local.INFO: IMEI packet received {"connection_id":140841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":140841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:41:02] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:41:02] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:41:02] local.INFO: IMEI packet received {"connection_id":140841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":140841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:41:03] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:41:03] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:41:03] local.INFO: Packet analysis {"connection_id":140841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:41:03] local.INFO: Extracted packet for processing {"connection_id":140841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":140841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:41:03] local.INFO: GPS data processed {"connection_id":140841,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:41:03] local.INFO: Acknowledgment sent {"connection_id":140841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:41:35] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:41:35] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:41:35] local.INFO: Packet analysis {"connection_id":140841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:41:35] local.INFO: Extracted packet for processing {"connection_id":140841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":140841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:41:35] local.INFO: GPS data processed {"connection_id":140841,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:41:35] local.INFO: Acknowledgment sent {"connection_id":140841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:42:02] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:02] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:02] local.INFO: IMEI packet received {"connection_id":141850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":141850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:42:07] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:07] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:07] local.INFO: IMEI packet received {"connection_id":141850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":141850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:42:08] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:42:08] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:42:08] local.INFO: Packet analysis {"connection_id":141850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:42:08] local.INFO: Extracted packet for processing {"connection_id":141850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":141850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:42:08] local.INFO: GPS data processed {"connection_id":141850,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:42:08] local.INFO: Acknowledgment sent {"connection_id":141850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:42:13] local.INFO: TCP Data received {"connection_id":141850,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:42:13] local.INFO: Processing buffer {"connection_id":141850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9585f4e0012d34c50006aa3e20001201171b..."} 
[2026-07-25 00:42:13] local.INFO: Packet analysis {"connection_id":141850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:42:13] local.INFO: Extracted packet for processing {"connection_id":141850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9585"} 
[2026-07-25 00:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":27,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939446016001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784920012000,"timestamp_ms":1784920012000,"timestamp_seconds":1784920012,"priority":1,"record_length":96,"hex_timestamp":"0000019f9585f4e0"} 
[2026-07-25 00:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:42: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-07-25 00:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939446016001,"66":25560,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939446016001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939446016001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":141850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:42:13] local.INFO: GPS data processed {"connection_id":141850,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:42:13] local.INFO: Acknowledgment sent {"connection_id":141850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:42:57] local.INFO: TCP Data received {"connection_id":143187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:57] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:42:57] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:43:02] local.INFO: TCP Data received {"connection_id":143187,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:43:02] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:43:02] local.INFO: IMEI packet received {"connection_id":143187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":143187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:43:03] local.INFO: TCP Data received {"connection_id":143187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:43:03] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:43:03] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:43:03] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:43:03] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:43:03] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:43:35] local.INFO: TCP Data received {"connection_id":143187,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:43:35] local.INFO: Processing buffer {"connection_id":143187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:43:35] local.INFO: Packet analysis {"connection_id":143187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:43:35] local.INFO: Extracted packet for processing {"connection_id":143187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":143187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:43:35] local.INFO: GPS data processed {"connection_id":143187,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:43:35] local.INFO: Acknowledgment sent {"connection_id":143187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:43:57] local.INFO: TCP Data received {"connection_id":140791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:43:57] local.INFO: Processing buffer {"connection_id":140791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:43:57] local.INFO: IMEI packet received {"connection_id":140791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":140791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:44:02] local.INFO: TCP Data received {"connection_id":140791,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:44:02] local.INFO: Processing buffer {"connection_id":140791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:44:02] local.INFO: IMEI packet received {"connection_id":140791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":140791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:44:03] local.INFO: TCP Data received {"connection_id":140791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:44:03] local.INFO: Processing buffer {"connection_id":140791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:44:03] local.INFO: Packet analysis {"connection_id":140791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:44:03] local.INFO: Extracted packet for processing {"connection_id":140791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":140791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:44:03] local.INFO: GPS data processed {"connection_id":140791,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:44:03] local.INFO: Acknowledgment sent {"connection_id":140791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:44:36] local.INFO: TCP Data received {"connection_id":140791,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:44:36] local.INFO: Processing buffer {"connection_id":140791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:44:36] local.INFO: Packet analysis {"connection_id":140791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:44:36] local.INFO: Extracted packet for processing {"connection_id":140791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:44:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:44:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":140791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:44:36] local.INFO: GPS data processed {"connection_id":140791,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:44:36] local.INFO: Acknowledgment sent {"connection_id":140791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:44:57] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:44:57] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:44:57] local.INFO: IMEI packet received {"connection_id":140842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":140842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:45:02] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:45:02] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:45:02] local.INFO: IMEI packet received {"connection_id":140842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":140842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:45:03] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:45:03] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:45:03] local.INFO: Packet analysis {"connection_id":140842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:45:03] local.INFO: Extracted packet for processing {"connection_id":140842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 00:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 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-07-25 00:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 00:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":140842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:45:03] local.INFO: GPS data processed {"connection_id":140842,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:45:03] local.INFO: Acknowledgment sent {"connection_id":140842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:45:35] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:45:35] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:45:35] local.INFO: Packet analysis {"connection_id":140842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:45:35] local.INFO: Extracted packet for processing {"connection_id":140842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:45:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:45:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":140842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:45:35] local.INFO: GPS data processed {"connection_id":140842,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:45:35] local.INFO: Acknowledgment sent {"connection_id":140842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:46:02] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:02] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:02] local.INFO: IMEI packet received {"connection_id":141851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":141851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:46:07] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:07] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:07] local.INFO: IMEI packet received {"connection_id":141851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":141851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:46:08] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:46:08] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:46:08] local.INFO: Packet analysis {"connection_id":141851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:46:08] local.INFO: Extracted packet for processing {"connection_id":141851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":141851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:46:08] local.INFO: GPS data processed {"connection_id":141851,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:46:08] local.INFO: Acknowledgment sent {"connection_id":141851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:46:13] local.INFO: TCP Data received {"connection_id":141851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:46:13] local.INFO: Processing buffer {"connection_id":141851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:46:13] local.INFO: Packet analysis {"connection_id":141851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:46:13] local.INFO: Extracted packet for processing {"connection_id":141851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":141851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:46:13] local.INFO: GPS data processed {"connection_id":141851,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:46:13] local.INFO: Acknowledgment sent {"connection_id":141851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:46:57] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:57] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:46:57] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:47:02] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:47:02] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:47:02] local.INFO: IMEI packet received {"connection_id":143188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":143188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:47:03] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:47:03] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958a8ca8012d34c50006aa3e200012011720..."} 
[2026-07-25 00:47:03] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:47:03] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958a"} 
[2026-07-25 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939523072001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920313000,"timestamp_ms":1784920313000,"timestamp_seconds":1784920313,"priority":1,"record_length":96,"hex_timestamp":"0000019f958a8ca8"} 
[2026-07-25 00:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 00:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939523072001,"66":25582,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939523072001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939523072001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:47:03] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:47:03] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:47:35] local.INFO: TCP Data received {"connection_id":143188,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:47:35] local.INFO: Processing buffer {"connection_id":143188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:47:35] local.INFO: Packet analysis {"connection_id":143188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:47:35] local.INFO: Extracted packet for processing {"connection_id":143188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:47: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-07-25 00:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":143188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:47:35] local.INFO: GPS data processed {"connection_id":143188,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:47:35] local.INFO: Acknowledgment sent {"connection_id":143188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:47:57] local.INFO: TCP Data received {"connection_id":140792,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:47:57] local.INFO: Processing buffer {"connection_id":140792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:47:57] local.INFO: IMEI packet received {"connection_id":140792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":140792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:48:02] local.INFO: TCP Data received {"connection_id":140792,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:48:02] local.INFO: Processing buffer {"connection_id":140792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:48:02] local.INFO: IMEI packet received {"connection_id":140792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":140792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:48:03] local.INFO: TCP Data received {"connection_id":140792,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:48:03] local.INFO: Processing buffer {"connection_id":140792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:48:03] local.INFO: Packet analysis {"connection_id":140792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:48:03] local.INFO: Extracted packet for processing {"connection_id":140792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:48:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":140792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:48:03] local.INFO: GPS data processed {"connection_id":140792,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:48:03] local.INFO: Acknowledgment sent {"connection_id":140792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:48:35] local.INFO: TCP Data received {"connection_id":140792,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:48:35] local.INFO: Processing buffer {"connection_id":140792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:48:35] local.INFO: Packet analysis {"connection_id":140792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:48:35] local.INFO: Extracted packet for processing {"connection_id":140792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:48: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-07-25 00:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":140792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:48:35] local.INFO: GPS data processed {"connection_id":140792,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:48:35] local.INFO: Acknowledgment sent {"connection_id":140792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:48:57] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:48:57] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:48:57] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:49:02] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:49:02] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:49:02] local.INFO: IMEI packet received {"connection_id":143189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":143189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:49:03] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:49:03] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:49:03] local.INFO: Packet analysis {"connection_id":143189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:49:03] local.INFO: Extracted packet for processing {"connection_id":143189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":143189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:49:03] local.INFO: GPS data processed {"connection_id":143189,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:49:03] local.INFO: Acknowledgment sent {"connection_id":143189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:49:35] local.INFO: TCP Data received {"connection_id":143189,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:49:35] local.INFO: Processing buffer {"connection_id":143189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:49:35] local.INFO: Packet analysis {"connection_id":143189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:49:35] local.INFO: Extracted packet for processing {"connection_id":143189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:49: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-07-25 00:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":143189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:49:35] local.INFO: GPS data processed {"connection_id":143189,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:49:35] local.INFO: Acknowledgment sent {"connection_id":143189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:49:57] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:49:57] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:49:57] local.INFO: IMEI packet received {"connection_id":141852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":141852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:50:02] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:50:02] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:50:02] local.INFO: IMEI packet received {"connection_id":141852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":141852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:50:03] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:50:03] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:50:03] local.INFO: Packet analysis {"connection_id":141852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:50:03] local.INFO: Extracted packet for processing {"connection_id":141852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":141852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:50:03] local.INFO: GPS data processed {"connection_id":141852,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:50:03] local.INFO: Acknowledgment sent {"connection_id":141852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:50:35] local.INFO: TCP Data received {"connection_id":141852,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:50:35] local.INFO: Processing buffer {"connection_id":141852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:50:35] local.INFO: Packet analysis {"connection_id":141852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:50:35] local.INFO: Extracted packet for processing {"connection_id":141852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:50: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-07-25 00:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":141852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:50:35] local.INFO: GPS data processed {"connection_id":141852,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:50:35] local.INFO: Acknowledgment sent {"connection_id":141852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:51:02] local.INFO: TCP Data received {"connection_id":140793,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:02] local.INFO: Processing buffer {"connection_id":140793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:02] local.INFO: IMEI packet received {"connection_id":140793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":140793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:51:07] local.INFO: TCP Data received {"connection_id":140793,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:07] local.INFO: Processing buffer {"connection_id":140793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:07] local.INFO: IMEI packet received {"connection_id":140793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":140793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:51:08] local.INFO: TCP Data received {"connection_id":140793,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:51:08] local.INFO: Processing buffer {"connection_id":140793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:51:08] local.INFO: Packet analysis {"connection_id":140793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:51:08] local.INFO: Extracted packet for processing {"connection_id":140793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":140793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:51:08] local.INFO: GPS data processed {"connection_id":140793,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:51:08] local.INFO: Acknowledgment sent {"connection_id":140793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:51:13] local.INFO: TCP Data received {"connection_id":140793,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:51:13] local.INFO: Processing buffer {"connection_id":140793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:51:13] local.INFO: Packet analysis {"connection_id":140793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:51:13] local.INFO: Extracted packet for processing {"connection_id":140793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":140793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:51:13] local.INFO: GPS data processed {"connection_id":140793,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:51:13] local.INFO: Acknowledgment sent {"connection_id":140793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:51:57] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:57] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:51:57] local.INFO: IMEI packet received {"connection_id":141853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":141853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:52:02] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:52:02] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:52:02] local.INFO: IMEI packet received {"connection_id":141853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":141853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:52:03] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:52:03] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f958f2470012d34c50006aa3e200012011720..."} 
[2026-07-25 00:52:03] local.INFO: Packet analysis {"connection_id":141853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:52:03] local.INFO: Extracted packet for processing {"connection_id":141853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f958f"} 
[2026-07-25 00:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":18,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939600128001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920614000,"timestamp_ms":1784920614000,"timestamp_seconds":1784920614,"priority":1,"record_length":96,"hex_timestamp":"0000019f958f2470"} 
[2026-07-25 00:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 00:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939600128001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939600128001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939600128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":141853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:52:03] local.INFO: GPS data processed {"connection_id":141853,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:52:03] local.INFO: Acknowledgment sent {"connection_id":141853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:52:35] local.INFO: TCP Data received {"connection_id":141853,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:52:35] local.INFO: Processing buffer {"connection_id":141853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:52:35] local.INFO: Packet analysis {"connection_id":141853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:52:35] local.INFO: Extracted packet for processing {"connection_id":141853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":141853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:52:35] local.INFO: GPS data processed {"connection_id":141853,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:52:35] local.INFO: Acknowledgment sent {"connection_id":141853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:52:57] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:52:57] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:52:57] local.INFO: IMEI packet received {"connection_id":140843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":140843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:53:02] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:53:02] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:53:02] local.INFO: IMEI packet received {"connection_id":140843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":140843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:53:03] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:53:03] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:53:03] local.INFO: Packet analysis {"connection_id":140843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:53:03] local.INFO: Extracted packet for processing {"connection_id":140843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":140843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:53:03] local.INFO: GPS data processed {"connection_id":140843,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:53:03] local.INFO: Acknowledgment sent {"connection_id":140843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:53:35] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:53:35] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:53:35] local.INFO: Packet analysis {"connection_id":140843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:53:35] local.INFO: Extracted packet for processing {"connection_id":140843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":140843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:53:35] local.INFO: GPS data processed {"connection_id":140843,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:53:35] local.INFO: Acknowledgment sent {"connection_id":140843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:53:57] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:53:57] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:53:57] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:54:02] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:54:02] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:54:02] local.INFO: IMEI packet received {"connection_id":143190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":143190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:54:03] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:54:03] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:54:03] local.INFO: Packet analysis {"connection_id":143190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:54:03] local.INFO: Extracted packet for processing {"connection_id":143190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":143190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:54:03] local.INFO: GPS data processed {"connection_id":143190,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:54:03] local.INFO: Acknowledgment sent {"connection_id":143190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:54:35] local.INFO: TCP Data received {"connection_id":143190,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:54:35] local.INFO: Processing buffer {"connection_id":143190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:54:35] local.INFO: Packet analysis {"connection_id":143190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:54:35] local.INFO: Extracted packet for processing {"connection_id":143190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":143190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:54:35] local.INFO: GPS data processed {"connection_id":143190,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:54:35] local.INFO: Acknowledgment sent {"connection_id":143190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:54:57] local.INFO: TCP Data received {"connection_id":143191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:54:57] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:54:57] local.INFO: IMEI packet received {"connection_id":143191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":143191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:55:02] local.INFO: TCP Data received {"connection_id":143191,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:55:02] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:55:02] local.INFO: IMEI packet received {"connection_id":143191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":143191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:55:04] local.INFO: TCP Data received {"connection_id":143191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:55:04] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:55:04] local.INFO: Packet analysis {"connection_id":143191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:55:04] local.INFO: Extracted packet for processing {"connection_id":143191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00: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-07-25 00:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00: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-07-25 00:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:55:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:55:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":143191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:55:04] local.INFO: GPS data processed {"connection_id":143191,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:55:04] local.INFO: Acknowledgment sent {"connection_id":143191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:55:35] local.INFO: TCP Data received {"connection_id":143191,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:55:35] local.INFO: Processing buffer {"connection_id":143191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:55:35] local.INFO: Packet analysis {"connection_id":143191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:55:35] local.INFO: Extracted packet for processing {"connection_id":143191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":143191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:55:35] local.INFO: GPS data processed {"connection_id":143191,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:55:35] local.INFO: Acknowledgment sent {"connection_id":143191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:56:02] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:02] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:02] local.INFO: IMEI packet received {"connection_id":141854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":141854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:56:07] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:07] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:07] local.INFO: IMEI packet received {"connection_id":141854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":141854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:56:08] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:56:08] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:56:08] local.INFO: Packet analysis {"connection_id":141854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:56:08] local.INFO: Extracted packet for processing {"connection_id":141854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":141854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:56:08] local.INFO: GPS data processed {"connection_id":141854,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:56:08] local.INFO: Acknowledgment sent {"connection_id":141854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:56:13] local.INFO: TCP Data received {"connection_id":141854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:56:13] local.INFO: Processing buffer {"connection_id":141854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:56:13] local.INFO: Packet analysis {"connection_id":141854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:56:13] local.INFO: Extracted packet for processing {"connection_id":141854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:56:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":141854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:56:13] local.INFO: GPS data processed {"connection_id":141854,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:56:13] local.INFO: Acknowledgment sent {"connection_id":141854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:56:57] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:57] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:56:57] local.INFO: IMEI packet received {"connection_id":140844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":140844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:57:02] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:57:02] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:57:02] local.INFO: IMEI packet received {"connection_id":140844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":140844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:57:03] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:57:03] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:57:03] local.INFO: Packet analysis {"connection_id":140844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:57:03] local.INFO: Extracted packet for processing {"connection_id":140844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":140844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:57:03] local.INFO: GPS data processed {"connection_id":140844,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:57:03] local.INFO: Acknowledgment sent {"connection_id":140844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:57:35] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:57:35] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9593bc38012d34c50006aa3e200009011721..."} 
[2026-07-25 00:57:35] local.INFO: Packet analysis {"connection_id":140844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:57:35] local.INFO: Extracted packet for processing {"connection_id":140844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9593"} 
[2026-07-25 00:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939677184001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784920915000,"timestamp_ms":1784920915000,"timestamp_seconds":1784920915,"priority":1,"record_length":96,"hex_timestamp":"0000019f9593bc38"} 
[2026-07-25 00:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939677184001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939677184001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939677184001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":140844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:57:35] local.INFO: GPS data processed {"connection_id":140844,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:57:35] local.INFO: Acknowledgment sent {"connection_id":140844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:57:57] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:57:57] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:57:57] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:58:02] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:58:02] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:58:02] local.INFO: IMEI packet received {"connection_id":143192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":143192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:58:03] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:58:03] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:58:03] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:58:03] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 00:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:58:03] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:58:03] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:58:35] local.INFO: TCP Data received {"connection_id":143192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:58:35] local.INFO: Processing buffer {"connection_id":143192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:58:35] local.INFO: Packet analysis {"connection_id":143192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:58:35] local.INFO: Extracted packet for processing {"connection_id":143192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 00:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:58:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:58:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":143192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:58:35] local.INFO: GPS data processed {"connection_id":143192,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:58:35] local.INFO: Acknowledgment sent {"connection_id":143192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:58:57] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:58:57] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:58:57] local.INFO: IMEI packet received {"connection_id":140845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":140845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 00:59:02] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:59:02] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:59:02] local.INFO: IMEI packet received {"connection_id":140845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 00:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":140845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 00:59:03] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:59:03] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:59:03] local.INFO: Packet analysis {"connection_id":140845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:59:03] local.INFO: Extracted packet for processing {"connection_id":140845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 00:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":140845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:59:03] local.INFO: GPS data processed {"connection_id":140845,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:59:03] local.INFO: Acknowledgment sent {"connection_id":140845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:59:35] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:59:35] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 00:59:35] local.INFO: Packet analysis {"connection_id":140845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:59:35] local.INFO: Extracted packet for processing {"connection_id":140845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 00:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 00:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 00:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 00:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 00:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 00:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 00:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 00:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 00:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 00:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 00:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 00:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 00:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 00:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 00:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 00:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 00:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 00:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 00:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 00:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 00:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 00:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 00:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 00:59:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 00:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 00:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 00:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 00:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 00:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":140845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 00:59:35] local.INFO: GPS data processed {"connection_id":140845,"processed":1,"errors":0,"total":1} 
[2026-07-25 00:59:35] local.INFO: Acknowledgment sent {"connection_id":140845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 00:59:57] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:59:57] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 00:59:57] local.INFO: IMEI packet received {"connection_id":140846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 00:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":140846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:00:02] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:00:02] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:00:02] local.INFO: IMEI packet received {"connection_id":140846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":140846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:00:03] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:00:03] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:00:03] local.INFO: Packet analysis {"connection_id":140846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:00:03] local.INFO: Extracted packet for processing {"connection_id":140846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 01:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":140846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:00:03] local.INFO: GPS data processed {"connection_id":140846,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:00:03] local.INFO: Acknowledgment sent {"connection_id":140846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:00:34] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:00:34] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:00:34] local.INFO: Packet analysis {"connection_id":140846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:00:34] local.INFO: Extracted packet for processing {"connection_id":140846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 01:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:00: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-07-25 01:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":140846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:00:34] local.INFO: GPS data processed {"connection_id":140846,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:00:34] local.INFO: Acknowledgment sent {"connection_id":140846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:01:02] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:02] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:02] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:01:07] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:07] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:07] local.INFO: IMEI packet received {"connection_id":143193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":143193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:01:08] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:01:08] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:01:08] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:01:08] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 01:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:01:08] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:01:08] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:01:13] local.INFO: TCP Data received {"connection_id":143193,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:01:13] local.INFO: Processing buffer {"connection_id":143193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:01:13] local.INFO: Packet analysis {"connection_id":143193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:01:13] local.INFO: Extracted packet for processing {"connection_id":143193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 01:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:01:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":143193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:01:13] local.INFO: GPS data processed {"connection_id":143193,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:01:13] local.INFO: Acknowledgment sent {"connection_id":143193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:01:57] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:57] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:01:57] local.INFO: IMEI packet received {"connection_id":141855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":141855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:02:02] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:02:02] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:02:02] local.INFO: IMEI packet received {"connection_id":141855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":141855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:02:03] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:02:03] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:02:03] local.INFO: Packet analysis {"connection_id":141855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:02:03] local.INFO: Extracted packet for processing {"connection_id":141855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 01:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":141855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:02:03] local.INFO: GPS data processed {"connection_id":141855,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:02:03] local.INFO: Acknowledgment sent {"connection_id":141855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:02:36] local.INFO: TCP Data received {"connection_id":141855,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:02:36] local.INFO: Processing buffer {"connection_id":141855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95985400012d34c50006aa3e200009011720..."} 
[2026-07-25 01:02:36] local.INFO: Packet analysis {"connection_id":141855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:02:36] local.INFO: Extracted packet for processing {"connection_id":141855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9598"} 
[2026-07-25 01:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939754240001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784921216000,"timestamp_ms":1784921216000,"timestamp_seconds":1784921216,"priority":1,"record_length":96,"hex_timestamp":"0000019f95985400"} 
[2026-07-25 01:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939754240001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939754240001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:02:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:02:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939754240001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":141855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:02:36] local.INFO: GPS data processed {"connection_id":141855,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:02:36] local.INFO: Acknowledgment sent {"connection_id":141855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:02:57] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:02:57] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:02:57] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:03:02] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:03:02] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:03:02] local.INFO: IMEI packet received {"connection_id":143194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":143194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:03:03] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:03:03] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:03:03] local.INFO: Packet analysis {"connection_id":143194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:03:03] local.INFO: Extracted packet for processing {"connection_id":143194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":143194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:03:03] local.INFO: GPS data processed {"connection_id":143194,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:03:03] local.INFO: Acknowledgment sent {"connection_id":143194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:03:35] local.INFO: TCP Data received {"connection_id":143194,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:03:35] local.INFO: Processing buffer {"connection_id":143194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:03:35] local.INFO: Packet analysis {"connection_id":143194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:03:35] local.INFO: Extracted packet for processing {"connection_id":143194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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":795,"current_offset":40} 
[2026-07-25 01:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":143194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:03:35] local.INFO: GPS data processed {"connection_id":143194,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:03:35] local.INFO: Acknowledgment sent {"connection_id":143194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:03:57] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:03:57] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:03:57] local.INFO: IMEI packet received {"connection_id":143195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":143195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:04:02] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:04:02] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:04:02] local.INFO: IMEI packet received {"connection_id":143195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":143195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:04:03] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:04:03] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:04:03] local.INFO: Packet analysis {"connection_id":143195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:04:03] local.INFO: Extracted packet for processing {"connection_id":143195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":143195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:04:03] local.INFO: GPS data processed {"connection_id":143195,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:04:03] local.INFO: Acknowledgment sent {"connection_id":143195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:04:35] local.INFO: TCP Data received {"connection_id":143195,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:04:35] local.INFO: Processing buffer {"connection_id":143195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:04:35] local.INFO: Packet analysis {"connection_id":143195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:04:35] local.INFO: Extracted packet for processing {"connection_id":143195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:04:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:04:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":143195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:04:35] local.INFO: GPS data processed {"connection_id":143195,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:04:35] local.INFO: Acknowledgment sent {"connection_id":143195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:04:57] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:04:57] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:04:57] local.INFO: IMEI packet received {"connection_id":143196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":143196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:05:02] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:05:02] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:05:02] local.INFO: IMEI packet received {"connection_id":143196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":143196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:05:03] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:05:03] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:05:03] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:05:03] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:05:03] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:05:03] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:05:35] local.INFO: TCP Data received {"connection_id":143196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:05:35] local.INFO: Processing buffer {"connection_id":143196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:05:35] local.INFO: Packet analysis {"connection_id":143196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:05:35] local.INFO: Extracted packet for processing {"connection_id":143196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":143196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:05:35] local.INFO: GPS data processed {"connection_id":143196,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:05:35] local.INFO: Acknowledgment sent {"connection_id":143196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:06:02] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:02] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:02] local.INFO: IMEI packet received {"connection_id":141856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":141856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:06:07] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:07] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:07] local.INFO: IMEI packet received {"connection_id":141856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":141856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:06:09] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:06:09] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:06:09] local.INFO: Packet analysis {"connection_id":141856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:06:09] local.INFO: Extracted packet for processing {"connection_id":141856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":141856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:06:09] local.INFO: GPS data processed {"connection_id":141856,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:06:09] local.INFO: Acknowledgment sent {"connection_id":141856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:06:13] local.INFO: TCP Data received {"connection_id":141856,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:06:13] local.INFO: Processing buffer {"connection_id":141856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:06:13] local.INFO: Packet analysis {"connection_id":141856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:06:13] local.INFO: Extracted packet for processing {"connection_id":141856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:06:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":141856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:06:13] local.INFO: GPS data processed {"connection_id":141856,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:06:13] local.INFO: Acknowledgment sent {"connection_id":141856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:06:57] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:58] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:06:58] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:07:02] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:07:02] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:07:02] local.INFO: IMEI packet received {"connection_id":143197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":143197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:07:03] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:07:03] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:07:03] local.INFO: Packet analysis {"connection_id":143197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:07:03] local.INFO: Extracted packet for processing {"connection_id":143197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":143197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:07:03] local.INFO: GPS data processed {"connection_id":143197,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:07:03] local.INFO: Acknowledgment sent {"connection_id":143197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:07:36] local.INFO: TCP Data received {"connection_id":143197,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:07:36] local.INFO: Processing buffer {"connection_id":143197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f959cebc8012d34c50006aa3e200007011721..."} 
[2026-07-25 01:07:36] local.INFO: Packet analysis {"connection_id":143197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:07:36] local.INFO: Extracted packet for processing {"connection_id":143197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f959c"} 
[2026-07-25 01:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":7,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784921517000,"timestamp_ms":1784921517000,"timestamp_seconds":1784921517,"priority":1,"record_length":96,"hex_timestamp":"0000019f959cebc8"} 
[2026-07-25 01:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939831296001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:07:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:07:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939831296001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":143197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:07:36] local.INFO: GPS data processed {"connection_id":143197,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:07:36] local.INFO: Acknowledgment sent {"connection_id":143197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:07:57] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:07:57] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:07:57] local.INFO: IMEI packet received {"connection_id":140847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":140847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:08:03] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:08:03] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:08:03] local.INFO: IMEI packet received {"connection_id":140847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":140847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:08:04] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:08:04] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:08:04] local.INFO: Packet analysis {"connection_id":140847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:08:04] local.INFO: Extracted packet for processing {"connection_id":140847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":140847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:08:04] local.INFO: GPS data processed {"connection_id":140847,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:08:04] local.INFO: Acknowledgment sent {"connection_id":140847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:08:35] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:08:35] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:08:35] local.INFO: Packet analysis {"connection_id":140847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:08:35] local.INFO: Extracted packet for processing {"connection_id":140847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:08:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:08:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":140847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:08:35] local.INFO: GPS data processed {"connection_id":140847,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:08:35] local.INFO: Acknowledgment sent {"connection_id":140847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:08:57] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:08:57] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:08:57] local.INFO: IMEI packet received {"connection_id":143198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":143198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:09:02] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:09:02] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:09:02] local.INFO: IMEI packet received {"connection_id":143198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":143198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:09:03] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:09:03] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:09:03] local.INFO: Packet analysis {"connection_id":143198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:09:03] local.INFO: Extracted packet for processing {"connection_id":143198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":143198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:09:03] local.INFO: GPS data processed {"connection_id":143198,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:09:03] local.INFO: Acknowledgment sent {"connection_id":143198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:09:34] local.INFO: TCP Data received {"connection_id":143198,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:09:34] local.INFO: Processing buffer {"connection_id":143198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:09:34] local.INFO: Packet analysis {"connection_id":143198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:09:34] local.INFO: Extracted packet for processing {"connection_id":143198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:09:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":143198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:09:34] local.INFO: GPS data processed {"connection_id":143198,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:09:34] local.INFO: Acknowledgment sent {"connection_id":143198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:10:02] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:02] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:02] local.INFO: IMEI packet received {"connection_id":141857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":141857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:10:07] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:07] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:07] local.INFO: IMEI packet received {"connection_id":141857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":141857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:10:09] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:10:09] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:10:09] local.INFO: Packet analysis {"connection_id":141857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:10:09] local.INFO: Extracted packet for processing {"connection_id":141857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":141857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:10:09] local.INFO: GPS data processed {"connection_id":141857,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:10:09] local.INFO: Acknowledgment sent {"connection_id":141857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:10:13] local.INFO: TCP Data received {"connection_id":141857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:10:13] local.INFO: Processing buffer {"connection_id":141857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:10:13] local.INFO: Packet analysis {"connection_id":141857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:10:13] local.INFO: Extracted packet for processing {"connection_id":141857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:10: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-07-25 01:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:10:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":141857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:10:13] local.INFO: GPS data processed {"connection_id":141857,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:10:13] local.INFO: Acknowledgment sent {"connection_id":141857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:10:57] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:57] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:10:57] local.INFO: IMEI packet received {"connection_id":140848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":140848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:11:03] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:11:03] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:11:03] local.INFO: IMEI packet received {"connection_id":140848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":140848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:11:05] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:11:05] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:11:05] local.INFO: Packet analysis {"connection_id":140848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:11:05] local.INFO: Extracted packet for processing {"connection_id":140848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":140848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:11:05] local.INFO: GPS data processed {"connection_id":140848,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:11:05] local.INFO: Acknowledgment sent {"connection_id":140848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:11:36] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:11:36] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:11:36] local.INFO: Packet analysis {"connection_id":140848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:11:36] local.INFO: Extracted packet for processing {"connection_id":140848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:11:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:11:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":140848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:11:36] local.INFO: GPS data processed {"connection_id":140848,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:11:36] local.INFO: Acknowledgment sent {"connection_id":140848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:11:57] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:11:57] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:11:57] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:12:02] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:12:02] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:12:02] local.INFO: IMEI packet received {"connection_id":143199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":143199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:12:03] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:12:03] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:12:03] local.INFO: Packet analysis {"connection_id":143199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:12:03] local.INFO: Extracted packet for processing {"connection_id":143199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":143199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":540999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:12:03] local.INFO: GPS data processed {"connection_id":143199,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:12:03] local.INFO: Acknowledgment sent {"connection_id":143199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:12:35] local.INFO: TCP Data received {"connection_id":143199,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:12:35] local.INFO: Processing buffer {"connection_id":143199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a18390012d34c50006aa3e20000c011721..."} 
[2026-07-25 01:12:35] local.INFO: Packet analysis {"connection_id":143199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:12:35] local.INFO: Extracted packet for processing {"connection_id":143199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a1"} 
[2026-07-25 01:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939908352001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784921818000,"timestamp_ms":1784921818000,"timestamp_seconds":1784921818,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a18390"} 
[2026-07-25 01:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939908352001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939908352001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:12:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939908352001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":143199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:12:35] local.INFO: GPS data processed {"connection_id":143199,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:12:35] local.INFO: Acknowledgment sent {"connection_id":143199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:12:57] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:12:57] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:12:57] local.INFO: IMEI packet received {"connection_id":140849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":140849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:13:02] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:13:02] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:13:02] local.INFO: IMEI packet received {"connection_id":140849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":140849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:13:03] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:13:03] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:13:03] local.INFO: Packet analysis {"connection_id":140849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:13:03] local.INFO: Extracted packet for processing {"connection_id":140849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":140849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:13:03] local.INFO: GPS data processed {"connection_id":140849,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:13:03] local.INFO: Acknowledgment sent {"connection_id":140849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:13:35] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:13:35] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:13:35] local.INFO: Packet analysis {"connection_id":140849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:13:35] local.INFO: Extracted packet for processing {"connection_id":140849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":140849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:13:35] local.INFO: GPS data processed {"connection_id":140849,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:13:35] local.INFO: Acknowledgment sent {"connection_id":140849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:13:57] local.INFO: TCP Data received {"connection_id":140794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:13:57] local.INFO: Processing buffer {"connection_id":140794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:13:57] local.INFO: IMEI packet received {"connection_id":140794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":140794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:14:02] local.INFO: TCP Data received {"connection_id":140794,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:14:02] local.INFO: Processing buffer {"connection_id":140794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:14:02] local.INFO: IMEI packet received {"connection_id":140794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":140794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:14:03] local.INFO: TCP Data received {"connection_id":140794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:14:03] local.INFO: Processing buffer {"connection_id":140794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:14:03] local.INFO: Packet analysis {"connection_id":140794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:14:03] local.INFO: Extracted packet for processing {"connection_id":140794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":140794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:14:03] local.INFO: GPS data processed {"connection_id":140794,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:14:03] local.INFO: Acknowledgment sent {"connection_id":140794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:14:35] local.INFO: TCP Data received {"connection_id":140794,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:14:35] local.INFO: Processing buffer {"connection_id":140794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:14:35] local.INFO: Packet analysis {"connection_id":140794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:14:35] local.INFO: Extracted packet for processing {"connection_id":140794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":140794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:14:35] local.INFO: GPS data processed {"connection_id":140794,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:14:35] local.INFO: Acknowledgment sent {"connection_id":140794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:15:02] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:02] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:02] local.INFO: IMEI packet received {"connection_id":141858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":141858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:15:07] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:07] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:07] local.INFO: IMEI packet received {"connection_id":141858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":141858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:15:12] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:12] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:12] local.INFO: IMEI packet received {"connection_id":141858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":141858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:15:14] local.INFO: TCP Data received {"connection_id":141858,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:15:14] local.INFO: Processing buffer {"connection_id":141858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:15:14] local.INFO: Packet analysis {"connection_id":141858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:15:14] local.INFO: Extracted packet for processing {"connection_id":141858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":141858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:15:14] local.INFO: GPS data processed {"connection_id":141858,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:15:14] local.INFO: Acknowledgment sent {"connection_id":141858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:15:57] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:57] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:15:57] local.INFO: IMEI packet received {"connection_id":143200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":143200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:16:02] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:16:02] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:16:02] local.INFO: IMEI packet received {"connection_id":143200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":143200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:16:03] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:16:03] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:16:03] local.INFO: Packet analysis {"connection_id":143200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:16:03] local.INFO: Extracted packet for processing {"connection_id":143200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":143200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:16:03] local.INFO: GPS data processed {"connection_id":143200,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:16:03] local.INFO: Acknowledgment sent {"connection_id":143200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:16:35] local.INFO: TCP Data received {"connection_id":143200,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:16:35] local.INFO: Processing buffer {"connection_id":143200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:16:35] local.INFO: Packet analysis {"connection_id":143200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:16:35] local.INFO: Extracted packet for processing {"connection_id":143200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":143200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:16:35] local.INFO: GPS data processed {"connection_id":143200,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:16:35] local.INFO: Acknowledgment sent {"connection_id":143200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:16:57] local.INFO: TCP Data received {"connection_id":143201,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:16:57] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:16:57] local.INFO: IMEI packet received {"connection_id":143201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":143201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:17:02] local.INFO: TCP Data received {"connection_id":143201,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:17:02] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:17:02] local.INFO: IMEI packet received {"connection_id":143201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":143201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:17:04] local.INFO: TCP Data received {"connection_id":143201,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:17:04] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:17:04] local.INFO: Packet analysis {"connection_id":143201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:17:04] local.INFO: Extracted packet for processing {"connection_id":143201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:17:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:17:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":143201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:17:04] local.INFO: GPS data processed {"connection_id":143201,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:17:04] local.INFO: Acknowledgment sent {"connection_id":143201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:17:35] local.INFO: TCP Data received {"connection_id":143201,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:17:35] local.INFO: Processing buffer {"connection_id":143201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95a61b58012d34c50006aa3e20000c011723..."} 
[2026-07-25 01:17:35] local.INFO: Packet analysis {"connection_id":143201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:17:35] local.INFO: Extracted packet for processing {"connection_id":143201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95a6"} 
[2026-07-25 01:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":12,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456939985408001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922119000,"timestamp_ms":1784922119000,"timestamp_seconds":1784922119,"priority":1,"record_length":96,"hex_timestamp":"0000019f95a61b58"} 
[2026-07-25 01:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456939985408001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456939985408001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456939985408001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":143201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:17:35] local.INFO: GPS data processed {"connection_id":143201,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:17:35] local.INFO: Acknowledgment sent {"connection_id":143201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:18:02] local.INFO: TCP Data received {"connection_id":140795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:02] local.INFO: Processing buffer {"connection_id":140795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:02] local.INFO: IMEI packet received {"connection_id":140795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":140795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:18:07] local.INFO: TCP Data received {"connection_id":140795,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:07] local.INFO: Processing buffer {"connection_id":140795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:07] local.INFO: IMEI packet received {"connection_id":140795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":140795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:18:08] local.INFO: TCP Data received {"connection_id":140795,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:18:08] local.INFO: Processing buffer {"connection_id":140795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:18:08] local.INFO: Packet analysis {"connection_id":140795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:18:08] local.INFO: Extracted packet for processing {"connection_id":140795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":140795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:18:08] local.INFO: GPS data processed {"connection_id":140795,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:18:08] local.INFO: Acknowledgment sent {"connection_id":140795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:18:13] local.INFO: TCP Data received {"connection_id":140795,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:18:13] local.INFO: Processing buffer {"connection_id":140795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:18:13] local.INFO: Packet analysis {"connection_id":140795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:18:13] local.INFO: Extracted packet for processing {"connection_id":140795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:18:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":140795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:18:13] local.INFO: GPS data processed {"connection_id":140795,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:18:13] local.INFO: Acknowledgment sent {"connection_id":140795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:18:57] local.INFO: TCP Data received {"connection_id":143202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:57] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:18:57] local.INFO: IMEI packet received {"connection_id":143202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":143202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:19:02] local.INFO: TCP Data received {"connection_id":143202,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:19:02] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:19:02] local.INFO: IMEI packet received {"connection_id":143202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":143202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:19:03] local.INFO: TCP Data received {"connection_id":143202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:19:03] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:19:03] local.INFO: Packet analysis {"connection_id":143202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:19:03] local.INFO: Extracted packet for processing {"connection_id":143202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":143202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:19:03] local.INFO: GPS data processed {"connection_id":143202,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:19:03] local.INFO: Acknowledgment sent {"connection_id":143202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:19:35] local.INFO: TCP Data received {"connection_id":143202,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:19:35] local.INFO: Processing buffer {"connection_id":143202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:19:35] local.INFO: Packet analysis {"connection_id":143202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:19:35] local.INFO: Extracted packet for processing {"connection_id":143202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:19:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:19:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":143202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:19:35] local.INFO: GPS data processed {"connection_id":143202,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:19:35] local.INFO: Acknowledgment sent {"connection_id":143202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:19:57] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:19:57] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:19:57] local.INFO: IMEI packet received {"connection_id":143203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":143203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:20:02] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:20:02] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:20:02] local.INFO: IMEI packet received {"connection_id":143203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":143203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:20:03] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:20:03] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:20:03] local.INFO: Packet analysis {"connection_id":143203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:20:03] local.INFO: Extracted packet for processing {"connection_id":143203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":143203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:20:03] local.INFO: GPS data processed {"connection_id":143203,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:20:03] local.INFO: Acknowledgment sent {"connection_id":143203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:20:34] local.INFO: TCP Data received {"connection_id":143203,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:20:34] local.INFO: Processing buffer {"connection_id":143203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:20:34] local.INFO: Packet analysis {"connection_id":143203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:20:34] local.INFO: Extracted packet for processing {"connection_id":143203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:20:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":143203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:20:35] local.INFO: GPS data processed {"connection_id":143203,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:20:35] local.INFO: Acknowledgment sent {"connection_id":143203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:20:57] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:20:57] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:20:57] local.INFO: IMEI packet received {"connection_id":140850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":140850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:21:02] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:21:02] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:21:02] local.INFO: IMEI packet received {"connection_id":140850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":140850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:21:03] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:21:03] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:21:03] local.INFO: Packet analysis {"connection_id":140850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:21:03] local.INFO: Extracted packet for processing {"connection_id":140850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":140850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:21:03] local.INFO: GPS data processed {"connection_id":140850,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:21:03] local.INFO: Acknowledgment sent {"connection_id":140850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:21:34] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:21:34] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:21:34] local.INFO: Packet analysis {"connection_id":140850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:21:34] local.INFO: Extracted packet for processing {"connection_id":140850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":140850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:21:34] local.INFO: GPS data processed {"connection_id":140850,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:21:34] local.INFO: Acknowledgment sent {"connection_id":140850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:21:57] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:21:57] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:21:57] local.INFO: IMEI packet received {"connection_id":141859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":141859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:22:02] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:22:02] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:22:02] local.INFO: IMEI packet received {"connection_id":141859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":141859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:22:03] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:22:03] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:22:03] local.INFO: Packet analysis {"connection_id":141859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:22:03] local.INFO: Extracted packet for processing {"connection_id":141859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:22:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":141859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:22:03] local.INFO: GPS data processed {"connection_id":141859,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:22:03] local.INFO: Acknowledgment sent {"connection_id":141859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:22:35] local.INFO: TCP Data received {"connection_id":141859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:22:35] local.INFO: Processing buffer {"connection_id":141859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95aab320012d34c50006aa3e200009011725..."} 
[2026-07-25 01:22:35] local.INFO: Packet analysis {"connection_id":141859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:22:35] local.INFO: Extracted packet for processing {"connection_id":141859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95aa"} 
[2026-07-25 01:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922420000,"timestamp_ms":1784922420000,"timestamp_seconds":1784922420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95aab320"} 
[2026-07-25 01:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940062464001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:22:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:22:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940062464001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":141859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:22:35] local.INFO: GPS data processed {"connection_id":141859,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:22:35] local.INFO: Acknowledgment sent {"connection_id":141859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:22:57] local.INFO: TCP Data received {"connection_id":140796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:22:57] local.INFO: Processing buffer {"connection_id":140796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:22:57] local.INFO: IMEI packet received {"connection_id":140796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":140796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:23:02] local.INFO: TCP Data received {"connection_id":140796,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:23:02] local.INFO: Processing buffer {"connection_id":140796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:23:02] local.INFO: IMEI packet received {"connection_id":140796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":140796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:23:03] local.INFO: TCP Data received {"connection_id":140796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:03] local.INFO: Processing buffer {"connection_id":140796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:03] local.INFO: Packet analysis {"connection_id":140796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:23:03] local.INFO: Extracted packet for processing {"connection_id":140796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":140796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:23:03] local.INFO: GPS data processed {"connection_id":140796,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:23:03] local.INFO: Acknowledgment sent {"connection_id":140796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:23:08] local.INFO: TCP Data received {"connection_id":140796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:08] local.INFO: Processing buffer {"connection_id":140796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:08] local.INFO: Packet analysis {"connection_id":140796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:23:08] local.INFO: Extracted packet for processing {"connection_id":140796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":140796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:23:08] local.INFO: GPS data processed {"connection_id":140796,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:23:08] local.INFO: Acknowledgment sent {"connection_id":140796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:23:39] local.INFO: TCP Data received {"connection_id":140796,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:39] local.INFO: Processing buffer {"connection_id":140796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:23:39] local.INFO: Packet analysis {"connection_id":140796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:23:39] local.INFO: Extracted packet for processing {"connection_id":140796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":140796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:23:39] local.INFO: GPS data processed {"connection_id":140796,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:23:39] local.INFO: Acknowledgment sent {"connection_id":140796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:23:57] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:23:57] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:23:57] local.INFO: IMEI packet received {"connection_id":141860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":141860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:24:02] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:24:02] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:24:02] local.INFO: IMEI packet received {"connection_id":141860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":141860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:24:03] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:24:03] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:24:03] local.INFO: Packet analysis {"connection_id":141860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:24:03] local.INFO: Extracted packet for processing {"connection_id":141860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":141860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:24:03] local.INFO: GPS data processed {"connection_id":141860,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:24:03] local.INFO: Acknowledgment sent {"connection_id":141860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:24:36] local.INFO: TCP Data received {"connection_id":141860,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:24:36] local.INFO: Processing buffer {"connection_id":141860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:24:36] local.INFO: Packet analysis {"connection_id":141860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:24:36] local.INFO: Extracted packet for processing {"connection_id":141860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:24:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:24:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":141860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:24:36] local.INFO: GPS data processed {"connection_id":141860,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:24:36] local.INFO: Acknowledgment sent {"connection_id":141860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:24:57] local.INFO: TCP Data received {"connection_id":140797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:24:57] local.INFO: Processing buffer {"connection_id":140797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:24:57] local.INFO: IMEI packet received {"connection_id":140797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":140797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:25:02] local.INFO: TCP Data received {"connection_id":140797,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:25:02] local.INFO: Processing buffer {"connection_id":140797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:25:02] local.INFO: IMEI packet received {"connection_id":140797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":140797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:25:03] local.INFO: TCP Data received {"connection_id":140797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:25:03] local.INFO: Processing buffer {"connection_id":140797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:25:03] local.INFO: Packet analysis {"connection_id":140797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:25:03] local.INFO: Extracted packet for processing {"connection_id":140797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":140797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:25:03] local.INFO: GPS data processed {"connection_id":140797,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:25:03] local.INFO: Acknowledgment sent {"connection_id":140797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:25:35] local.INFO: TCP Data received {"connection_id":140797,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:25:35] local.INFO: Processing buffer {"connection_id":140797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:25:35] local.INFO: Packet analysis {"connection_id":140797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:25:35] local.INFO: Extracted packet for processing {"connection_id":140797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:25:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:25:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":140797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:25:35] local.INFO: GPS data processed {"connection_id":140797,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:25:35] local.INFO: Acknowledgment sent {"connection_id":140797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:25:57] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:25:57] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:25:57] local.INFO: IMEI packet received {"connection_id":140851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":140851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:26:02] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:26:02] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:26:02] local.INFO: IMEI packet received {"connection_id":140851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:26:03] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:26:03] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:26:03] local.INFO: Packet analysis {"connection_id":140851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:26:03] local.INFO: Extracted packet for processing {"connection_id":140851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:26:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":140851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:26:03] local.INFO: GPS data processed {"connection_id":140851,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:26:03] local.INFO: Acknowledgment sent {"connection_id":140851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:26:34] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:26:34] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:26:34] local.INFO: Packet analysis {"connection_id":140851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:26:34] local.INFO: Extracted packet for processing {"connection_id":140851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:26:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":140851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:26:34] local.INFO: GPS data processed {"connection_id":140851,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:26:34] local.INFO: Acknowledgment sent {"connection_id":140851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:26:57] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:26:57] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:26:57] local.INFO: IMEI packet received {"connection_id":140852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":140852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:27:02] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:27:02] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:27:02] local.INFO: IMEI packet received {"connection_id":140852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":140852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:27:03] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:27:03] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:27:03] local.INFO: Packet analysis {"connection_id":140852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:27:03] local.INFO: Extracted packet for processing {"connection_id":140852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":140852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:27:03] local.INFO: GPS data processed {"connection_id":140852,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:27:03] local.INFO: Acknowledgment sent {"connection_id":140852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:27:35] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:27:35] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95af4ae8012d34c50006aa3e200009011726..."} 
[2026-07-25 01:27:35] local.INFO: Packet analysis {"connection_id":140852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:27:35] local.INFO: Extracted packet for processing {"connection_id":140852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95af"} 
[2026-07-25 01:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784922721000,"timestamp_ms":1784922721000,"timestamp_seconds":1784922721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95af4ae8"} 
[2026-07-25 01:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 01:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940139520001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940139520001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":140852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:27:35] local.INFO: GPS data processed {"connection_id":140852,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:27:35] local.INFO: Acknowledgment sent {"connection_id":140852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:28:02] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:02] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:02] local.INFO: IMEI packet received {"connection_id":141861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":141861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:28:07] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:07] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:07] local.INFO: IMEI packet received {"connection_id":141861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":141861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:28:08] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:28:08] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:28:08] local.INFO: Packet analysis {"connection_id":141861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:28:08] local.INFO: Extracted packet for processing {"connection_id":141861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":141861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:28:08] local.INFO: GPS data processed {"connection_id":141861,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:28:08] local.INFO: Acknowledgment sent {"connection_id":141861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:28:13] local.INFO: TCP Data received {"connection_id":141861,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:28:13] local.INFO: Processing buffer {"connection_id":141861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:28:13] local.INFO: Packet analysis {"connection_id":141861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:28:13] local.INFO: Extracted packet for processing {"connection_id":141861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":141861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:28:13] local.INFO: GPS data processed {"connection_id":141861,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:28:13] local.INFO: Acknowledgment sent {"connection_id":141861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:28:57] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:57] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:28:57] local.INFO: IMEI packet received {"connection_id":140853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":140853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:29:02] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:29:02] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:29:02] local.INFO: IMEI packet received {"connection_id":140853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":140853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:29:03] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:29:03] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:29:03] local.INFO: Packet analysis {"connection_id":140853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:29:03] local.INFO: Extracted packet for processing {"connection_id":140853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":140853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:29:03] local.INFO: GPS data processed {"connection_id":140853,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:29:03] local.INFO: Acknowledgment sent {"connection_id":140853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:29:35] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:29:35] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:29:35] local.INFO: Packet analysis {"connection_id":140853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:29:35] local.INFO: Extracted packet for processing {"connection_id":140853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:29:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:29:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":140853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:29:35] local.INFO: GPS data processed {"connection_id":140853,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:29:35] local.INFO: Acknowledgment sent {"connection_id":140853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:29:57] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:29:57] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:29:57] local.INFO: IMEI packet received {"connection_id":141862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":141862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:30:02] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:30:02] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:30:02] local.INFO: IMEI packet received {"connection_id":141862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":141862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:30:03] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:30:03] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:30:03] local.INFO: Packet analysis {"connection_id":141862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:30:03] local.INFO: Extracted packet for processing {"connection_id":141862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 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-07-25 01:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":141862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:30:03] local.INFO: GPS data processed {"connection_id":141862,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:30:03] local.INFO: Acknowledgment sent {"connection_id":141862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:30:35] local.INFO: TCP Data received {"connection_id":141862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:30:35] local.INFO: Processing buffer {"connection_id":141862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:30:35] local.INFO: Packet analysis {"connection_id":141862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:30:35] local.INFO: Extracted packet for processing {"connection_id":141862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":141862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:30:35] local.INFO: GPS data processed {"connection_id":141862,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:30:35] local.INFO: Acknowledgment sent {"connection_id":141862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:30:57] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:30:57] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:30:57] local.INFO: IMEI packet received {"connection_id":143204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":143204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:31:02] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:31:02] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:31:02] local.INFO: IMEI packet received {"connection_id":143204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":143204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:31:03] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:31:03] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:31:03] local.INFO: Packet analysis {"connection_id":143204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:31:03] local.INFO: Extracted packet for processing {"connection_id":143204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":143204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:31:03] local.INFO: GPS data processed {"connection_id":143204,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:31:03] local.INFO: Acknowledgment sent {"connection_id":143204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:31:35] local.INFO: TCP Data received {"connection_id":143204,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:31:35] local.INFO: Processing buffer {"connection_id":143204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:31:35] local.INFO: Packet analysis {"connection_id":143204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:31:35] local.INFO: Extracted packet for processing {"connection_id":143204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:31:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:31:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":143204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:31:35] local.INFO: GPS data processed {"connection_id":143204,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:31:35] local.INFO: Acknowledgment sent {"connection_id":143204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:32:02] local.INFO: TCP Data received {"connection_id":140798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:02] local.INFO: Processing buffer {"connection_id":140798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:02] local.INFO: IMEI packet received {"connection_id":140798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":140798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:32:07] local.INFO: TCP Data received {"connection_id":140798,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:07] local.INFO: Processing buffer {"connection_id":140798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:07] local.INFO: IMEI packet received {"connection_id":140798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":140798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:32:08] local.INFO: TCP Data received {"connection_id":140798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:32:08] local.INFO: Processing buffer {"connection_id":140798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:32:08] local.INFO: Packet analysis {"connection_id":140798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:32:08] local.INFO: Extracted packet for processing {"connection_id":140798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":140798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:32:08] local.INFO: GPS data processed {"connection_id":140798,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:32:08] local.INFO: Acknowledgment sent {"connection_id":140798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:32:13] local.INFO: TCP Data received {"connection_id":140798,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:32:13] local.INFO: Processing buffer {"connection_id":140798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b3e2b0012d34c50006aa3e200009011722..."} 
[2026-07-25 01:32:13] local.INFO: Packet analysis {"connection_id":140798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:32:13] local.INFO: Extracted packet for processing {"connection_id":140798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b3"} 
[2026-07-25 01:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940216576001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784923022000,"timestamp_ms":1784923022000,"timestamp_seconds":1784923022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b3e2b0"} 
[2026-07-25 01:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940216576001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940216576001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940216576001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":140798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:32:13] local.INFO: GPS data processed {"connection_id":140798,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:32:13] local.INFO: Acknowledgment sent {"connection_id":140798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:32:57] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:57] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:32:57] local.INFO: IMEI packet received {"connection_id":140854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":140854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:33:02] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:33:02] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:33:02] local.INFO: IMEI packet received {"connection_id":140854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":140854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:33:03] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:33:03] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:33:03] local.INFO: Packet analysis {"connection_id":140854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:33:03] local.INFO: Extracted packet for processing {"connection_id":140854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:33:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":140854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:33:03] local.INFO: GPS data processed {"connection_id":140854,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:33:03] local.INFO: Acknowledgment sent {"connection_id":140854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:33:35] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:33:35] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:33:35] local.INFO: Packet analysis {"connection_id":140854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:33:35] local.INFO: Extracted packet for processing {"connection_id":140854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":140854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:33:35] local.INFO: GPS data processed {"connection_id":140854,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:33:35] local.INFO: Acknowledgment sent {"connection_id":140854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:33:57] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:33:57] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:33:57] local.INFO: IMEI packet received {"connection_id":140855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":140855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:34:02] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:34:02] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:34:02] local.INFO: IMEI packet received {"connection_id":140855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":140855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:34:04] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:34:04] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:34:04] local.INFO: Packet analysis {"connection_id":140855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:34:04] local.INFO: Extracted packet for processing {"connection_id":140855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:34:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:34:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":140855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:34:04] local.INFO: GPS data processed {"connection_id":140855,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:34:04] local.INFO: Acknowledgment sent {"connection_id":140855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:34:35] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:34:35] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:34:35] local.INFO: Packet analysis {"connection_id":140855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:34:35] local.INFO: Extracted packet for processing {"connection_id":140855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 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-07-25 01:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":140855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:34:35] local.INFO: GPS data processed {"connection_id":140855,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:34:35] local.INFO: Acknowledgment sent {"connection_id":140855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:34:58] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:34:58] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:34:58] local.INFO: IMEI packet received {"connection_id":141863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":141863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:35:03] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:35:03] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:35:03] local.INFO: IMEI packet received {"connection_id":141863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":141863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:35:04] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:35:04] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:35:04] local.INFO: Packet analysis {"connection_id":141863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:35:04] local.INFO: Extracted packet for processing {"connection_id":141863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:35:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:35:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":141863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:35:04] local.INFO: GPS data processed {"connection_id":141863,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:35:04] local.INFO: Acknowledgment sent {"connection_id":141863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:35:35] local.INFO: TCP Data received {"connection_id":141863,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:35:35] local.INFO: Processing buffer {"connection_id":141863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:35:35] local.INFO: Packet analysis {"connection_id":141863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:35:35] local.INFO: Extracted packet for processing {"connection_id":141863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":141863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:35:35] local.INFO: GPS data processed {"connection_id":141863,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:35:35] local.INFO: Acknowledgment sent {"connection_id":141863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:35:57] local.INFO: TCP Data received {"connection_id":143205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:35:57] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:35:57] local.INFO: IMEI packet received {"connection_id":143205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":143205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:36:02] local.INFO: TCP Data received {"connection_id":143205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:36:02] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:36:02] local.INFO: IMEI packet received {"connection_id":143205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":143205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:36:03] local.INFO: TCP Data received {"connection_id":143205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:36:03] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:36:03] local.INFO: Packet analysis {"connection_id":143205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:36:03] local.INFO: Extracted packet for processing {"connection_id":143205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 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-07-25 01:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":143205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:36:03] local.INFO: GPS data processed {"connection_id":143205,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:36:03] local.INFO: Acknowledgment sent {"connection_id":143205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:36:34] local.INFO: TCP Data received {"connection_id":143205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:36:34] local.INFO: Processing buffer {"connection_id":143205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:36:34] local.INFO: Packet analysis {"connection_id":143205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:36:34] local.INFO: Extracted packet for processing {"connection_id":143205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 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-07-25 01:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":143205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:36:34] local.INFO: GPS data processed {"connection_id":143205,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:36:34] local.INFO: Acknowledgment sent {"connection_id":143205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:36:57] local.INFO: TCP Data received {"connection_id":140799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:36:57] local.INFO: Processing buffer {"connection_id":140799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:36:57] local.INFO: IMEI packet received {"connection_id":140799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":140799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:37:02] local.INFO: TCP Data received {"connection_id":140799,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:37:02] local.INFO: Processing buffer {"connection_id":140799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:37:02] local.INFO: IMEI packet received {"connection_id":140799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":140799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:37:03] local.INFO: TCP Data received {"connection_id":140799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:37:03] local.INFO: Processing buffer {"connection_id":140799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:37:03] local.INFO: Packet analysis {"connection_id":140799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:37:03] local.INFO: Extracted packet for processing {"connection_id":140799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":140799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:37:03] local.INFO: GPS data processed {"connection_id":140799,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:37:03] local.INFO: Acknowledgment sent {"connection_id":140799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:37:35] local.INFO: TCP Data received {"connection_id":140799,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:37:35] local.INFO: Processing buffer {"connection_id":140799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95b87a78012d34c50006aa3e200009011721..."} 
[2026-07-25 01:37:35] local.INFO: Packet analysis {"connection_id":140799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:37:35] local.INFO: Extracted packet for processing {"connection_id":140799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95b8"} 
[2026-07-25 01:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":9,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940293632001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923323000,"timestamp_ms":1784923323000,"timestamp_seconds":1784923323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95b87a78"} 
[2026-07-25 01:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940293632001,"66":25549,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940293632001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:37:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:37:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940293632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":140799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:37:35] local.INFO: GPS data processed {"connection_id":140799,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:37:35] local.INFO: Acknowledgment sent {"connection_id":140799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:38:02] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:02] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:02] local.INFO: IMEI packet received {"connection_id":141864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":141864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:38:07] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:07] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:07] local.INFO: IMEI packet received {"connection_id":141864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":141864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:38:08] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:38:08] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:38:08] local.INFO: Packet analysis {"connection_id":141864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:38:08] local.INFO: Extracted packet for processing {"connection_id":141864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":141864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:38:08] local.INFO: GPS data processed {"connection_id":141864,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:38:08] local.INFO: Acknowledgment sent {"connection_id":141864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:38:13] local.INFO: TCP Data received {"connection_id":141864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:38:13] local.INFO: Processing buffer {"connection_id":141864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:38:13] local.INFO: Packet analysis {"connection_id":141864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:38:13] local.INFO: Extracted packet for processing {"connection_id":141864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:38:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":141864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:38:13] local.INFO: GPS data processed {"connection_id":141864,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:38:13] local.INFO: Acknowledgment sent {"connection_id":141864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:38:57] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:57] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:38:57] local.INFO: IMEI packet received {"connection_id":143206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":143206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:39:02] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:39:02] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:39:02] local.INFO: IMEI packet received {"connection_id":143206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":143206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:39:03] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:39:03] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:39:03] local.INFO: Packet analysis {"connection_id":143206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:39:03] local.INFO: Extracted packet for processing {"connection_id":143206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":143206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:39:03] local.INFO: GPS data processed {"connection_id":143206,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:39:03] local.INFO: Acknowledgment sent {"connection_id":143206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:39:35] local.INFO: TCP Data received {"connection_id":143206,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:39:35] local.INFO: Processing buffer {"connection_id":143206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:39:35] local.INFO: Packet analysis {"connection_id":143206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:39:35] local.INFO: Extracted packet for processing {"connection_id":143206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:39:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:39:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":143206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:39:35] local.INFO: GPS data processed {"connection_id":143206,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:39:35] local.INFO: Acknowledgment sent {"connection_id":143206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:39:57] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:39:57] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:39:57] local.INFO: IMEI packet received {"connection_id":140856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":140856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:40:02] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:40:02] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:40:02] local.INFO: IMEI packet received {"connection_id":140856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":140856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:40:03] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:40:03] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:40:03] local.INFO: Packet analysis {"connection_id":140856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:40:03] local.INFO: Extracted packet for processing {"connection_id":140856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":140856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:40:03] local.INFO: GPS data processed {"connection_id":140856,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:40:03] local.INFO: Acknowledgment sent {"connection_id":140856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:40:35] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:40:35] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:40:35] local.INFO: Packet analysis {"connection_id":140856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:40:35] local.INFO: Extracted packet for processing {"connection_id":140856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":140856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:40:35] local.INFO: GPS data processed {"connection_id":140856,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:40:35] local.INFO: Acknowledgment sent {"connection_id":140856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:40:57] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:40:57] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:40:57] local.INFO: IMEI packet received {"connection_id":141865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":141865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:41:02] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:41:02] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:41:02] local.INFO: IMEI packet received {"connection_id":141865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":141865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:41:03] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:41:03] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:41:03] local.INFO: Packet analysis {"connection_id":141865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:41:03] local.INFO: Extracted packet for processing {"connection_id":141865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":141865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:41:03] local.INFO: GPS data processed {"connection_id":141865,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:41:03] local.INFO: Acknowledgment sent {"connection_id":141865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:41:35] local.INFO: TCP Data received {"connection_id":141865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:41:35] local.INFO: Processing buffer {"connection_id":141865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:41:35] local.INFO: Packet analysis {"connection_id":141865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:41:35] local.INFO: Extracted packet for processing {"connection_id":141865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":141865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:41:35] local.INFO: GPS data processed {"connection_id":141865,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:41:35] local.INFO: Acknowledgment sent {"connection_id":141865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:41:57] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:41:57] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:41:57] local.INFO: IMEI packet received {"connection_id":143207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":143207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:42:02] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:42:02] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:42:02] local.INFO: IMEI packet received {"connection_id":143207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":143207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:42:03] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:42:03] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:42:03] local.INFO: Packet analysis {"connection_id":143207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:42:03] local.INFO: Extracted packet for processing {"connection_id":143207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":143207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:42:03] local.INFO: GPS data processed {"connection_id":143207,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:42:03] local.INFO: Acknowledgment sent {"connection_id":143207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:42:34] local.INFO: TCP Data received {"connection_id":143207,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:42:34] local.INFO: Processing buffer {"connection_id":143207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95bd1240012d34c50006aa3e200010011720..."} 
[2026-07-25 01:42:34] local.INFO: Packet analysis {"connection_id":143207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:42:34] local.INFO: Extracted packet for processing {"connection_id":143207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95bd"} 
[2026-07-25 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784923624000,"timestamp_ms":1784923624000,"timestamp_seconds":1784923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95bd1240"} 
[2026-07-25 01:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 01:42: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-07-25 01:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940370688001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940370688001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":143207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:42:34] local.INFO: GPS data processed {"connection_id":143207,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:42:34] local.INFO: Acknowledgment sent {"connection_id":143207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:43:02] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:02] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:02] local.INFO: IMEI packet received {"connection_id":141866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":141866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:43:07] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:07] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:07] local.INFO: IMEI packet received {"connection_id":141866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":141866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:43:08] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:43:08] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:43:08] local.INFO: Packet analysis {"connection_id":141866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:43:08] local.INFO: Extracted packet for processing {"connection_id":141866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":141866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:43:08] local.INFO: GPS data processed {"connection_id":141866,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:43:08] local.INFO: Acknowledgment sent {"connection_id":141866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:43:13] local.INFO: TCP Data received {"connection_id":141866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:43:13] local.INFO: Processing buffer {"connection_id":141866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:43:13] local.INFO: Packet analysis {"connection_id":141866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:43:13] local.INFO: Extracted packet for processing {"connection_id":141866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":141866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:43:13] local.INFO: GPS data processed {"connection_id":141866,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:43:13] local.INFO: Acknowledgment sent {"connection_id":141866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:43:58] local.INFO: TCP Data received {"connection_id":140800,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:58] local.INFO: Processing buffer {"connection_id":140800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:43:58] local.INFO: IMEI packet received {"connection_id":140800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":140800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:44:02] local.INFO: TCP Data received {"connection_id":140800,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:44:02] local.INFO: Processing buffer {"connection_id":140800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:44:02] local.INFO: IMEI packet received {"connection_id":140800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":140800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:44:04] local.INFO: TCP Data received {"connection_id":140800,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:44:04] local.INFO: Processing buffer {"connection_id":140800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:44:04] local.INFO: Packet analysis {"connection_id":140800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:44:04] local.INFO: Extracted packet for processing {"connection_id":140800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 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-07-25 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":140800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:44:04] local.INFO: GPS data processed {"connection_id":140800,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:44:04] local.INFO: Acknowledgment sent {"connection_id":140800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:44:35] local.INFO: TCP Data received {"connection_id":140800,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:44:35] local.INFO: Processing buffer {"connection_id":140800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:44:35] local.INFO: Packet analysis {"connection_id":140800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:44:35] local.INFO: Extracted packet for processing {"connection_id":140800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":140800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:44:35] local.INFO: GPS data processed {"connection_id":140800,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:44:35] local.INFO: Acknowledgment sent {"connection_id":140800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:44:57] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:44:57] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:44:57] local.INFO: IMEI packet received {"connection_id":143208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":143208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:45:02] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:45:02] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:45:02] local.INFO: IMEI packet received {"connection_id":143208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":143208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:45:04] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:45:04] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:45:04] local.INFO: Packet analysis {"connection_id":143208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:45:04] local.INFO: Extracted packet for processing {"connection_id":143208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:45:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:45:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:45:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:45:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":143208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:45:04] local.INFO: GPS data processed {"connection_id":143208,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:45:04] local.INFO: Acknowledgment sent {"connection_id":143208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:45:36] local.INFO: TCP Data received {"connection_id":143208,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:45:36] local.INFO: Processing buffer {"connection_id":143208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:45:36] local.INFO: Packet analysis {"connection_id":143208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:45:36] local.INFO: Extracted packet for processing {"connection_id":143208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:45:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:45:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":143208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:45:36] local.INFO: GPS data processed {"connection_id":143208,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:45:36] local.INFO: Acknowledgment sent {"connection_id":143208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:45:57] local.INFO: TCP Data received {"connection_id":140801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:45:57] local.INFO: Processing buffer {"connection_id":140801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:45:57] local.INFO: IMEI packet received {"connection_id":140801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":140801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:46:02] local.INFO: TCP Data received {"connection_id":140801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:46:02] local.INFO: Processing buffer {"connection_id":140801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:46:02] local.INFO: IMEI packet received {"connection_id":140801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":140801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:46:03] local.INFO: TCP Data received {"connection_id":140801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:46:03] local.INFO: Processing buffer {"connection_id":140801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:46:03] local.INFO: Packet analysis {"connection_id":140801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:46:03] local.INFO: Extracted packet for processing {"connection_id":140801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":140801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:46:03] local.INFO: GPS data processed {"connection_id":140801,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:46:03] local.INFO: Acknowledgment sent {"connection_id":140801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:46:35] local.INFO: TCP Data received {"connection_id":140801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:46:35] local.INFO: Processing buffer {"connection_id":140801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:46:35] local.INFO: Packet analysis {"connection_id":140801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:46:35] local.INFO: Extracted packet for processing {"connection_id":140801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:46:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:46:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":140801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:46:35] local.INFO: GPS data processed {"connection_id":140801,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:46:35] local.INFO: Acknowledgment sent {"connection_id":140801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:46:57] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:46:57] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:46:57] local.INFO: IMEI packet received {"connection_id":140857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":140857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:47:02] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:47:02] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:47:02] local.INFO: IMEI packet received {"connection_id":140857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":140857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:47:03] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:47:03] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:47:03] local.INFO: Packet analysis {"connection_id":140857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:47:03] local.INFO: Extracted packet for processing {"connection_id":140857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":140857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:47:03] local.INFO: GPS data processed {"connection_id":140857,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:47:03] local.INFO: Acknowledgment sent {"connection_id":140857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:47:35] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:47:35] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c1aa08012d34c50006aa3e200010011723..."} 
[2026-07-25 01:47:35] local.INFO: Packet analysis {"connection_id":140857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:47:35] local.INFO: Extracted packet for processing {"connection_id":140857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c1"} 
[2026-07-25 01:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784923925000,"timestamp_ms":1784923925000,"timestamp_seconds":1784923925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c1aa08"} 
[2026-07-25 01:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940447744001,"66":25538,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940447744001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":140857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:47:35] local.INFO: GPS data processed {"connection_id":140857,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:47:35] local.INFO: Acknowledgment sent {"connection_id":140857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:48:02] local.INFO: TCP Data received {"connection_id":140802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:02] local.INFO: Processing buffer {"connection_id":140802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:02] local.INFO: IMEI packet received {"connection_id":140802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":140802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:48:07] local.INFO: TCP Data received {"connection_id":140802,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:07] local.INFO: Processing buffer {"connection_id":140802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:07] local.INFO: IMEI packet received {"connection_id":140802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":140802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:48:08] local.INFO: TCP Data received {"connection_id":140802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:48:08] local.INFO: Processing buffer {"connection_id":140802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:48:08] local.INFO: Packet analysis {"connection_id":140802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:48:08] local.INFO: Extracted packet for processing {"connection_id":140802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":140802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:48:08] local.INFO: GPS data processed {"connection_id":140802,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:48:08] local.INFO: Acknowledgment sent {"connection_id":140802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:48:40] local.INFO: TCP Data received {"connection_id":140802,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:48:40] local.INFO: Processing buffer {"connection_id":140802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:48:40] local.INFO: Packet analysis {"connection_id":140802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:48:40] local.INFO: Extracted packet for processing {"connection_id":140802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":140802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:48:40] local.INFO: GPS data processed {"connection_id":140802,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:48:40] local.INFO: Acknowledgment sent {"connection_id":140802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:48:57] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:57] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:48:57] local.INFO: IMEI packet received {"connection_id":143209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":143209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:49:02] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:49:02] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:49:02] local.INFO: IMEI packet received {"connection_id":143209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":143209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:49:03] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:49:03] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:49:03] local.INFO: Packet analysis {"connection_id":143209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:49:03] local.INFO: Extracted packet for processing {"connection_id":143209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 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-07-25 01:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":143209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:49:03] local.INFO: GPS data processed {"connection_id":143209,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:49:03] local.INFO: Acknowledgment sent {"connection_id":143209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:49:35] local.INFO: TCP Data received {"connection_id":143209,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:49:35] local.INFO: Processing buffer {"connection_id":143209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:49:35] local.INFO: Packet analysis {"connection_id":143209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:49:35] local.INFO: Extracted packet for processing {"connection_id":143209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":143209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:49:35] local.INFO: GPS data processed {"connection_id":143209,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:49:35] local.INFO: Acknowledgment sent {"connection_id":143209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:49:57] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:49:57] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:49:57] local.INFO: IMEI packet received {"connection_id":140858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":140858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:50:02] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:50:02] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:50:02] local.INFO: IMEI packet received {"connection_id":140858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":140858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:50:03] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:50:03] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:50:03] local.INFO: Packet analysis {"connection_id":140858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:50:03] local.INFO: Extracted packet for processing {"connection_id":140858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":140858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:50:03] local.INFO: GPS data processed {"connection_id":140858,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:50:03] local.INFO: Acknowledgment sent {"connection_id":140858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:50:34] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:50:34] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:50:34] local.INFO: Packet analysis {"connection_id":140858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:50:34] local.INFO: Extracted packet for processing {"connection_id":140858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 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-07-25 01:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:50:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":140858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:50:34] local.INFO: GPS data processed {"connection_id":140858,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:50:34] local.INFO: Acknowledgment sent {"connection_id":140858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:50:57] local.INFO: TCP Data received {"connection_id":140803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:50:57] local.INFO: Processing buffer {"connection_id":140803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:50:57] local.INFO: IMEI packet received {"connection_id":140803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":140803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:51:02] local.INFO: TCP Data received {"connection_id":140803,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:51:02] local.INFO: Processing buffer {"connection_id":140803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:51:02] local.INFO: IMEI packet received {"connection_id":140803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":140803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:51:08] local.INFO: TCP Data received {"connection_id":140803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:51:08] local.INFO: Processing buffer {"connection_id":140803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:51:08] local.INFO: Packet analysis {"connection_id":140803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:51:08] local.INFO: Extracted packet for processing {"connection_id":140803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":140803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:51:08] local.INFO: GPS data processed {"connection_id":140803,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:51:08] local.INFO: Acknowledgment sent {"connection_id":140803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:51:39] local.INFO: TCP Data received {"connection_id":140803,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:51:39] local.INFO: Processing buffer {"connection_id":140803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:51:39] local.INFO: Packet analysis {"connection_id":140803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:51:39] local.INFO: Extracted packet for processing {"connection_id":140803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":140803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:51:39] local.INFO: GPS data processed {"connection_id":140803,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:51:39] local.INFO: Acknowledgment sent {"connection_id":140803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:52:02] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:02] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:02] local.INFO: IMEI packet received {"connection_id":140859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":140859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:52:07] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:07] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:07] local.INFO: IMEI packet received {"connection_id":140859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":140859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:52:09] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:52:09] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:52:09] local.INFO: Packet analysis {"connection_id":140859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:52:09] local.INFO: Extracted packet for processing {"connection_id":140859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":140859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:52:09] local.INFO: GPS data processed {"connection_id":140859,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:52:09] local.INFO: Acknowledgment sent {"connection_id":140859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:52:12] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:52:12] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95c641d0012d34c50006aa3e200010011723..."} 
[2026-07-25 01:52:12] local.INFO: Packet analysis {"connection_id":140859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:52:12] local.INFO: Extracted packet for processing {"connection_id":140859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95c6"} 
[2026-07-25 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940524800001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784924226000,"timestamp_ms":1784924226000,"timestamp_seconds":1784924226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95c641d0"} 
[2026-07-25 01:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 01:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940524800001,"66":25462,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940524800001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:52:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:52:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940524800001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":140859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:52:12] local.INFO: GPS data processed {"connection_id":140859,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:52:12] local.INFO: Acknowledgment sent {"connection_id":140859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:52:57] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:57] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:52:57] local.INFO: IMEI packet received {"connection_id":143210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":143210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:53:02] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:53:02] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:53:02] local.INFO: IMEI packet received {"connection_id":143210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":143210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:53:04] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:53:04] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:53:04] local.INFO: Packet analysis {"connection_id":143210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:53:04] local.INFO: Extracted packet for processing {"connection_id":143210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":143210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:53:04] local.INFO: GPS data processed {"connection_id":143210,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:53:04] local.INFO: Acknowledgment sent {"connection_id":143210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:53:35] local.INFO: TCP Data received {"connection_id":143210,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:53:35] local.INFO: Processing buffer {"connection_id":143210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:53:35] local.INFO: Packet analysis {"connection_id":143210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:53:35] local.INFO: Extracted packet for processing {"connection_id":143210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":143210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:53:35] local.INFO: GPS data processed {"connection_id":143210,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:53:35] local.INFO: Acknowledgment sent {"connection_id":143210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:53:57] local.INFO: TCP Data received {"connection_id":140804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:53:57] local.INFO: Processing buffer {"connection_id":140804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:53:57] local.INFO: IMEI packet received {"connection_id":140804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":140804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:54:02] local.INFO: TCP Data received {"connection_id":140804,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:54:02] local.INFO: Processing buffer {"connection_id":140804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:54:02] local.INFO: IMEI packet received {"connection_id":140804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":140804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:54:03] local.INFO: TCP Data received {"connection_id":140804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:54:03] local.INFO: Processing buffer {"connection_id":140804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:54:03] local.INFO: Packet analysis {"connection_id":140804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:54:03] local.INFO: Extracted packet for processing {"connection_id":140804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":140804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:54:03] local.INFO: GPS data processed {"connection_id":140804,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:54:03] local.INFO: Acknowledgment sent {"connection_id":140804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:54:35] local.INFO: TCP Data received {"connection_id":140804,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:54:35] local.INFO: Processing buffer {"connection_id":140804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:54:35] local.INFO: Packet analysis {"connection_id":140804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:54:35] local.INFO: Extracted packet for processing {"connection_id":140804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:54:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:54:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":140804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:54:35] local.INFO: GPS data processed {"connection_id":140804,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:54:35] local.INFO: Acknowledgment sent {"connection_id":140804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:54:57] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:54:57] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:54:57] local.INFO: IMEI packet received {"connection_id":143211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":143211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:55:02] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:55:02] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:55:02] local.INFO: IMEI packet received {"connection_id":143211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":143211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:55:03] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:55:03] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:55:03] local.INFO: Packet analysis {"connection_id":143211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:55:03] local.INFO: Extracted packet for processing {"connection_id":143211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 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-07-25 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:55:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":143211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:55:03] local.INFO: GPS data processed {"connection_id":143211,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:55:03] local.INFO: Acknowledgment sent {"connection_id":143211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:55:35] local.INFO: TCP Data received {"connection_id":143211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:55:35] local.INFO: Processing buffer {"connection_id":143211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:55:35] local.INFO: Packet analysis {"connection_id":143211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:55:35] local.INFO: Extracted packet for processing {"connection_id":143211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 01:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 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-07-25 01:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 01:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:55:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:55:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":143211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:55:35] local.INFO: GPS data processed {"connection_id":143211,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:55:35] local.INFO: Acknowledgment sent {"connection_id":143211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:55:57] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:55:57] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:55:57] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:56:02] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:56:02] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:56:02] local.INFO: IMEI packet received {"connection_id":143212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":143212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:56:03] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:56:03] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:56:03] local.INFO: Packet analysis {"connection_id":143212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:56:03] local.INFO: Extracted packet for processing {"connection_id":143212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:56:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":143212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:56:03] local.INFO: GPS data processed {"connection_id":143212,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:56:03] local.INFO: Acknowledgment sent {"connection_id":143212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:56:36] local.INFO: TCP Data received {"connection_id":143212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:56:36] local.INFO: Processing buffer {"connection_id":143212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:56:36] local.INFO: Packet analysis {"connection_id":143212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:56:36] local.INFO: Extracted packet for processing {"connection_id":143212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:56:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:56:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":143212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:56:36] local.INFO: GPS data processed {"connection_id":143212,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:56:36] local.INFO: Acknowledgment sent {"connection_id":143212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:57:02] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:02] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:02] local.INFO: IMEI packet received {"connection_id":141867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":141867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:57:07] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:07] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:07] local.INFO: IMEI packet received {"connection_id":141867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":141867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:57:08] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:57:08] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:57:08] local.INFO: Packet analysis {"connection_id":141867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:57:08] local.INFO: Extracted packet for processing {"connection_id":141867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":141867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:57:08] local.INFO: GPS data processed {"connection_id":141867,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:57:08] local.INFO: Acknowledgment sent {"connection_id":141867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:57:13] local.INFO: TCP Data received {"connection_id":141867,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:57:13] local.INFO: Processing buffer {"connection_id":141867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cad998012d34c50006aa3e200006011721..."} 
[2026-07-25 01:57:13] local.INFO: Packet analysis {"connection_id":141867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:57:13] local.INFO: Extracted packet for processing {"connection_id":141867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ca"} 
[2026-07-25 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":6,"angle":279,"satellites":33,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940601856001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784924527000,"timestamp_ms":1784924527000,"timestamp_seconds":1784924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cad998"} 
[2026-07-25 01:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 01:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940601856001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940601856001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940601856001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":141867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:57:13] local.INFO: GPS data processed {"connection_id":141867,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:57:13] local.INFO: Acknowledgment sent {"connection_id":141867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:57:58] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:58] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:57:58] local.INFO: IMEI packet received {"connection_id":141868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":141868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:58:02] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:58:02] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:58:02] local.INFO: IMEI packet received {"connection_id":141868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":141868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:58:03] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:03] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:03] local.INFO: Packet analysis {"connection_id":141868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:58:03] local.INFO: Extracted packet for processing {"connection_id":141868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 01:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":141868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:58:03] local.INFO: GPS data processed {"connection_id":141868,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:58:03] local.INFO: Acknowledgment sent {"connection_id":141868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:58:08] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:08] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:08] local.INFO: Packet analysis {"connection_id":141868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:58:08] local.INFO: Extracted packet for processing {"connection_id":141868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 01:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":141868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:58:08] local.INFO: GPS data processed {"connection_id":141868,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:58:08] local.INFO: Acknowledgment sent {"connection_id":141868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:58:39] local.INFO: TCP Data received {"connection_id":141868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:39] local.INFO: Processing buffer {"connection_id":141868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:58:39] local.INFO: Packet analysis {"connection_id":141868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:58:39] local.INFO: Extracted packet for processing {"connection_id":141868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 01:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":141868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:58:39] local.INFO: GPS data processed {"connection_id":141868,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:58:39] local.INFO: Acknowledgment sent {"connection_id":141868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:58:57] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:58:57] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:58:57] local.INFO: IMEI packet received {"connection_id":143213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":143213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 01:59:02] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:59:02] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:59:02] local.INFO: IMEI packet received {"connection_id":143213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 01:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":143213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 01:59:04] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:59:04] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:59:04] local.INFO: Packet analysis {"connection_id":143213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:59:04] local.INFO: Extracted packet for processing {"connection_id":143213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01: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-07-25 01:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 01:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01: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-07-25 01:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:59:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:59:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":143213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:59:04] local.INFO: GPS data processed {"connection_id":143213,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:59:04] local.INFO: Acknowledgment sent {"connection_id":143213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:59:36] local.INFO: TCP Data received {"connection_id":143213,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:59:36] local.INFO: Processing buffer {"connection_id":143213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 01:59:36] local.INFO: Packet analysis {"connection_id":143213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:59:36] local.INFO: Extracted packet for processing {"connection_id":143213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 01:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 01:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 01:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 01:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 01:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 01:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 01:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 01:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 01:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 01:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 01:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 01:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 01:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 01:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 01:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 01:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 01:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 01:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 01:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 01:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 01:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 01:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 01:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 01:59:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 01:59:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 01:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 01:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 01:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 01:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":143213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 01:59:36] local.INFO: GPS data processed {"connection_id":143213,"processed":1,"errors":0,"total":1} 
[2026-07-25 01:59:36] local.INFO: Acknowledgment sent {"connection_id":143213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 01:59:57] local.INFO: TCP Data received {"connection_id":140805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:59:57] local.INFO: Processing buffer {"connection_id":140805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 01:59:57] local.INFO: IMEI packet received {"connection_id":140805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 01:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":140805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:00:02] local.INFO: TCP Data received {"connection_id":140805,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:00:02] local.INFO: Processing buffer {"connection_id":140805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:00:02] local.INFO: IMEI packet received {"connection_id":140805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":140805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:00:03] local.INFO: TCP Data received {"connection_id":140805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:00:03] local.INFO: Processing buffer {"connection_id":140805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:00:03] local.INFO: Packet analysis {"connection_id":140805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 02:00:03] local.INFO: Extracted packet for processing {"connection_id":140805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 02:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 02:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 02:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 02:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 02:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 02:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 02:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":140805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:00:03] local.INFO: GPS data processed {"connection_id":140805,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:00:03] local.INFO: Acknowledgment sent {"connection_id":140805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:00:34] local.INFO: TCP Data received {"connection_id":140805,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:00:34] local.INFO: Processing buffer {"connection_id":140805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:00:34] local.INFO: Packet analysis {"connection_id":140805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 02:00:34] local.INFO: Extracted packet for processing {"connection_id":140805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 02:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 02:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 02:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 02:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 02:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:00:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 02:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 02:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":140805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:00:35] local.INFO: GPS data processed {"connection_id":140805,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:00:35] local.INFO: Acknowledgment sent {"connection_id":140805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:00:57] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:00:57] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:00:57] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:01:02] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:01:02] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:01:02] local.INFO: IMEI packet received {"connection_id":143214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":143214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:01:03] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:01:03] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95cf7160012d34c50006aa3e20000d011722..."} 
[2026-07-25 02:01:03] local.INFO: Packet analysis {"connection_id":143214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 02:01:03] local.INFO: Extracted packet for processing {"connection_id":143214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95cf"} 
[2026-07-25 02:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":13,"angle":279,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 02:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 02:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784924828000,"timestamp_ms":1784924828000,"timestamp_seconds":1784924828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95cf7160"} 
[2026-07-25 02:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 02:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940678912001,"66":25495,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 02:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940678912001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 02:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":143214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:01:03] local.INFO: GPS data processed {"connection_id":143214,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:01:03] local.INFO: Acknowledgment sent {"connection_id":143214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:01:34] local.INFO: TCP Data received {"connection_id":143214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d27ab8012d34c50006aa3e200010011727..."} 
[2026-07-25 02:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d27ab8012d34c50006aa3e200010011727..."} 
[2026-07-25 02:01:34] local.INFO: Processing buffer {"connection_id":143214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d27ab8012d34c50006aa3e200010011727..."} 
[2026-07-25 02:01:34] local.INFO: Packet analysis {"connection_id":143214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d2"} 
[2026-07-25 02:01:34] local.INFO: Extracted packet for processing {"connection_id":143214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d2"} 
[2026-07-25 02:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820320,"longitude_deg":75.8433024,"latitude_deg":11.182032,"altitude":16,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa3e20","is_valid_coordinates":true} 
[2026-07-25 02:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940755968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 02:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 02:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784925027000,"timestamp_ms":1784925027000,"timestamp_seconds":1784925027,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d27ab8"} 
[2026-07-25 02:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 02:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940755968001,"66":25473,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940755968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:01:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 02:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940755968001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 02:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":143214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:01:34] local.INFO: GPS data processed {"connection_id":143214,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:01:34] local.INFO: Acknowledgment sent {"connection_id":143214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:01:57] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:01:57] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:01:57] local.INFO: IMEI packet received {"connection_id":140860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":140860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:02:02] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:02:02] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:02:02] local.INFO: IMEI packet received {"connection_id":140860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":140860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:02:03] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d2d490012d34c68006aa3df80010011328..."} 
[2026-07-25 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d2d490012d34c68006aa3df80010011328..."} 
[2026-07-25 02:02:03] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d2d490012d34c68006aa3df80010011328..."} 
[2026-07-25 02:02:03] local.INFO: Packet analysis {"connection_id":140860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d2"} 
[2026-07-25 02:02:03] local.INFO: Extracted packet for processing {"connection_id":140860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d2"} 
[2026-07-25 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820280,"longitude_deg":75.8433408,"latitude_deg":11.182028,"altitude":16,"angle":275,"satellites":40,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-07-25 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940806912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 02:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010253824,"note":"Value kept but may cause issues"} 
[2026-07-25 02:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925050000,"timestamp_ms":1784925050000,"timestamp_seconds":1784925050,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d2d490"} 
[2026-07-25 02:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940806912001,"66":27789,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802445489010253824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940806912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010253824,"description":"Unknown IO ID 45"} 
[2026-07-25 02:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940806912001,"power":27789,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010253824}} 
[2026-07-25 02:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":140860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:02:03] local.INFO: GPS data processed {"connection_id":140860,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:02:03] local.INFO: Acknowledgment sent {"connection_id":140860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:02:35] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d32698012d34c68006aa3df80010011327..."} 
[2026-07-25 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d32698012d34c68006aa3df80010011327..."} 
[2026-07-25 02:02:35] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d32698012d34c68006aa3df80010011327..."} 
[2026-07-25 02:02:35] local.INFO: Packet analysis {"connection_id":140860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:02:35] local.INFO: Extracted packet for processing {"connection_id":140860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111820280,"longitude_deg":75.8433408,"latitude_deg":11.182028,"altitude":16,"angle":275,"satellites":39,"speed":0,"hex_longitude":"2d34c680","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-07-25 02:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940812800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846657708490752,"note":"Value kept but may cause issues"} 
[2026-07-25 02:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475309568,"note":"Value kept but may cause issues"} 
[2026-07-25 02:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925071000,"timestamp_ms":1784925071000,"timestamp_seconds":1784925071,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d32698"} 
[2026-07-25 02:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:02: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-07-25 02:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 02:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940812800001,"66":27821,"97":206,"81":23296,"24":0,"16":356846657708490752,"45":3802867701475309568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940812800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846657708490752,"km_value":356846657708490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475309568,"description":"Unknown IO ID 45"} 
[2026-07-25 02:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940812800001,"power":27821,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802867701475309568}} 
[2026-07-25 02:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":140860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:02:35] local.INFO: GPS data processed {"connection_id":140860,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:02:35] local.INFO: Acknowledgment sent {"connection_id":140860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:02:57] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:02:57] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:02:57] local.INFO: IMEI packet received {"connection_id":141869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":141869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:03:02] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:02] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:02] local.INFO: IMEI packet received {"connection_id":141869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":141869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:03:03] local.INFO: TCP Data received {"connection_id":141869,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3d660012d34c38006aa45b80005009a27..."} 
[2026-07-25 02:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3d660012d34c38006aa45b80005009a27..."} 
[2026-07-25 02:03:03] local.INFO: Processing buffer {"connection_id":141869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3d660012d34c38006aa45b80005009a27..."} 
[2026-07-25 02:03:03] local.INFO: Packet analysis {"connection_id":141869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:03:03] local.INFO: Extracted packet for processing {"connection_id":141869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111822264,"longitude_deg":75.843264,"latitude_deg":11.1822264,"altitude":5,"angle":154,"satellites":39,"speed":2,"hex_longitude":"2d34c380","hex_latitude":"06aa45b8","is_valid_coordinates":true} 
[2026-07-25 02:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940826880001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846799442411520,"note":"Value kept but may cause issues"} 
[2026-07-25 02:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289861120,"note":"Value kept but may cause issues"} 
[2026-07-25 02:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925116000,"timestamp_ms":1784925116000,"timestamp_seconds":1784925116,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3d660"} 
[2026-07-25 02:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 02:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 02:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940826880001,"66":27865,"97":206,"81":23296,"24":2,"16":356846799442411520,"45":3802093645289861120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940826880001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846799442411520,"km_value":356846799442411.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289861120,"description":"Unknown IO ID 45"} 
[2026-07-25 02:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940826880001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802093645289861120}} 
[2026-07-25 02:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":141869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:03:03] local.INFO: GPS data processed {"connection_id":141869,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:03:03] local.INFO: Acknowledgment sent {"connection_id":141869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:03:52] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:52] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:52] local.INFO: IMEI packet received {"connection_id":140861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":140861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:03:57] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:57] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:03:57] local.INFO: IMEI packet received {"connection_id":140861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":140861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:03:58] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:03:58] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:03:58] local.INFO: Packet analysis {"connection_id":140861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:03:58] local.INFO: Extracted packet for processing {"connection_id":140861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:03: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-07-25 02:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 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-07-25 02:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":140861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:03:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":140861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:03:58] local.INFO: GPS data processed {"connection_id":140861,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:03:58] local.INFO: Acknowledgment sent {"connection_id":140861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:04:29] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:04:29] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:04:29] local.INFO: Packet analysis {"connection_id":140861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:04:29] local.INFO: Extracted packet for processing {"connection_id":140861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:04:29] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 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-07-25 02:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":140861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:04:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:04:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":140861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:04:30] local.INFO: GPS data processed {"connection_id":140861,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:04:30] local.INFO: Acknowledgment sent {"connection_id":140861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:04:57] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:04:57] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:04:57] local.INFO: IMEI packet received {"connection_id":143215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":143215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:05:02] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:05:02] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:05:02] local.INFO: IMEI packet received {"connection_id":143215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":143215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:05:03] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:05:03] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:05:03] local.INFO: Packet analysis {"connection_id":143215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:05:03] local.INFO: Extracted packet for processing {"connection_id":143215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 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-07-25 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:05: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-07-25 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-07-25 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-07-25 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":143215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:05:03] local.INFO: GPS data processed {"connection_id":143215,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:05:03] local.INFO: Acknowledgment sent {"connection_id":143215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:05:35] local.INFO: TCP Data received {"connection_id":143215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:05:35] local.INFO: Processing buffer {"connection_id":143215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:05:35] local.INFO: Packet analysis {"connection_id":143215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:05:35] local.INFO: Extracted packet for processing {"connection_id":143215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 02:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:05: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-07-25 02:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":143215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:05:35] local.INFO: GPS data processed {"connection_id":143215,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:05:35] local.INFO: Acknowledgment sent {"connection_id":143215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:05:57] local.INFO: TCP Data received {"connection_id":140806,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:05:57] local.INFO: Processing buffer {"connection_id":140806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:05:57] local.INFO: IMEI packet received {"connection_id":140806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":140806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:06:02] local.INFO: TCP Data received {"connection_id":140806,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:06:02] local.INFO: Processing buffer {"connection_id":140806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:06:02] local.INFO: IMEI packet received {"connection_id":140806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":140806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:06:03] local.INFO: TCP Data received {"connection_id":140806,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:06:03] local.INFO: Processing buffer {"connection_id":140806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:06:03] local.INFO: Packet analysis {"connection_id":140806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:06:03] local.INFO: Extracted packet for processing {"connection_id":140806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 02:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 02:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:06: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-07-25 02:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":140806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:06:03] local.INFO: GPS data processed {"connection_id":140806,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:06:03] local.INFO: Acknowledgment sent {"connection_id":140806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:06:35] local.INFO: TCP Data received {"connection_id":140806,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:06:35] local.INFO: Processing buffer {"connection_id":140806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:06:35] local.INFO: Packet analysis {"connection_id":140806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:06:35] local.INFO: Extracted packet for processing {"connection_id":140806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 02:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:06: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-07-25 02:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:06:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:06:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":140806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:06:35] local.INFO: GPS data processed {"connection_id":140806,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:06:35] local.INFO: Acknowledgment sent {"connection_id":140806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:06:57] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:06:57] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:06:57] local.INFO: IMEI packet received {"connection_id":143216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":143216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:07:02] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:07:02] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:07:02] local.INFO: IMEI packet received {"connection_id":143216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":143216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:07:03] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:07:03] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:07:03] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:07:03] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 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-07-25 02:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:07: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-07-25 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-07-25 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-07-25 02:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:07:03] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:07:03] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:07:35] local.INFO: TCP Data received {"connection_id":143216,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:07:35] local.INFO: Processing buffer {"connection_id":143216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d3de30012d34c3c006aa44f80005008627..."} 
[2026-07-25 02:07:35] local.INFO: Packet analysis {"connection_id":143216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:07:35] local.INFO: Extracted packet for processing {"connection_id":143216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d3"} 
[2026-07-25 02:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111822072,"longitude_deg":75.8432704,"latitude_deg":11.1822072,"altitude":5,"angle":134,"satellites":39,"speed":4,"hex_longitude":"2d34c3c0","hex_latitude":"06aa44f8","is_valid_coordinates":true} 
[2026-07-25 02:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925118000,"timestamp_ms":1784925118000,"timestamp_seconds":1784925118,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d3de30"} 
[2026-07-25 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-07-25 02:07: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-07-25 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":27615,"97":206,"81":23296,"24":4,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":27615,"unknown_97":206,"unknown_81":23296,"ignition":4,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":143216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:07:35] local.INFO: GPS data processed {"connection_id":143216,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:07:35] local.INFO: Acknowledgment sent {"connection_id":143216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:08:02] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:02] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:02] local.INFO: IMEI packet received {"connection_id":140862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":140862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:08:07] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:07] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:07] local.INFO: IMEI packet received {"connection_id":140862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":140862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:08:08] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:08:08] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:08:08] local.INFO: Packet analysis {"connection_id":140862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:08:08] local.INFO: Extracted packet for processing {"connection_id":140862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":140862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:08:08] local.INFO: GPS data processed {"connection_id":140862,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:08:08] local.INFO: Acknowledgment sent {"connection_id":140862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:08:13] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:08:13] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:08:13] local.INFO: Packet analysis {"connection_id":140862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:08:13] local.INFO: Extracted packet for processing {"connection_id":140862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:08:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":140862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:08:13] local.INFO: GPS data processed {"connection_id":140862,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:08:13] local.INFO: Acknowledgment sent {"connection_id":140862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:08:57] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:57] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:08:57] local.INFO: IMEI packet received {"connection_id":141870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":141870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:09:02] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:09:02] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:09:02] local.INFO: IMEI packet received {"connection_id":141870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":141870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:09:03] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:09:03] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:09:03] local.INFO: Packet analysis {"connection_id":141870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:09:03] local.INFO: Extracted packet for processing {"connection_id":141870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:09: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-07-25 02:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":141870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:09:03] local.INFO: GPS data processed {"connection_id":141870,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:09:03] local.INFO: Acknowledgment sent {"connection_id":141870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:09:35] local.INFO: TCP Data received {"connection_id":141870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:09:35] local.INFO: Processing buffer {"connection_id":141870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:09:35] local.INFO: Packet analysis {"connection_id":141870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:09:35] local.INFO: Extracted packet for processing {"connection_id":141870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:09:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":141870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:09:35] local.INFO: GPS data processed {"connection_id":141870,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:09:35] local.INFO: Acknowledgment sent {"connection_id":141870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:09:57] local.INFO: TCP Data received {"connection_id":140807,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:09:57] local.INFO: Processing buffer {"connection_id":140807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:09:57] local.INFO: IMEI packet received {"connection_id":140807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":140807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:10:02] local.INFO: TCP Data received {"connection_id":140807,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:10:02] local.INFO: Processing buffer {"connection_id":140807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:10:02] local.INFO: IMEI packet received {"connection_id":140807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":140807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:10:04] local.INFO: TCP Data received {"connection_id":140807,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:10:04] local.INFO: Processing buffer {"connection_id":140807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:10:04] local.INFO: Packet analysis {"connection_id":140807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:10:04] local.INFO: Extracted packet for processing {"connection_id":140807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":140807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:10:04] local.INFO: GPS data processed {"connection_id":140807,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:10:04] local.INFO: Acknowledgment sent {"connection_id":140807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:10:35] local.INFO: TCP Data received {"connection_id":140807,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:10:35] local.INFO: Processing buffer {"connection_id":140807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:10:35] local.INFO: Packet analysis {"connection_id":140807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:10:35] local.INFO: Extracted packet for processing {"connection_id":140807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:10:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":140807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:10:35] local.INFO: GPS data processed {"connection_id":140807,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:10:35] local.INFO: Acknowledgment sent {"connection_id":140807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:10:57] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:10:57] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:10:57] local.INFO: IMEI packet received {"connection_id":141871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":141871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:11:02] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:11:02] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:11:02] local.INFO: IMEI packet received {"connection_id":141871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:11:03] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:11:03] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:11:03] local.INFO: Packet analysis {"connection_id":141871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:11:03] local.INFO: Extracted packet for processing {"connection_id":141871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:11: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-07-25 02:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":141871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:11:03] local.INFO: GPS data processed {"connection_id":141871,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:11:03] local.INFO: Acknowledgment sent {"connection_id":141871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:11:35] local.INFO: TCP Data received {"connection_id":141871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:11:35] local.INFO: Processing buffer {"connection_id":141871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:11:35] local.INFO: Packet analysis {"connection_id":141871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:11:35] local.INFO: Extracted packet for processing {"connection_id":141871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":141871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:11:35] local.INFO: GPS data processed {"connection_id":141871,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:11:35] local.INFO: Acknowledgment sent {"connection_id":141871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:12:02] local.INFO: TCP Data received {"connection_id":140808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:02] local.INFO: Processing buffer {"connection_id":140808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:02] local.INFO: IMEI packet received {"connection_id":140808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":140808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:12:07] local.INFO: TCP Data received {"connection_id":140808,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:07] local.INFO: Processing buffer {"connection_id":140808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:07] local.INFO: IMEI packet received {"connection_id":140808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":140808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:12:08] local.INFO: TCP Data received {"connection_id":140808,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:12:08] local.INFO: Processing buffer {"connection_id":140808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:12:08] local.INFO: Packet analysis {"connection_id":140808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:12:08] local.INFO: Extracted packet for processing {"connection_id":140808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":140808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:12:08] local.INFO: GPS data processed {"connection_id":140808,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:12:08] local.INFO: Acknowledgment sent {"connection_id":140808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:12:13] local.INFO: TCP Data received {"connection_id":140808,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:12:13] local.INFO: Processing buffer {"connection_id":140808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95d879e0012d34c90006aa44e80005008223..."} 
[2026-07-25 02:12:13] local.INFO: Packet analysis {"connection_id":140808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:12:13] local.INFO: Extracted packet for processing {"connection_id":140808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95d8"} 
[2026-07-25 02:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":5,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940830208001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289814016,"note":"Value kept but may cause issues"} 
[2026-07-25 02:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784925420000,"timestamp_ms":1784925420000,"timestamp_seconds":1784925420,"priority":1,"record_length":96,"hex_timestamp":"0000019f95d879e0"} 
[2026-07-25 02:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 02:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940830208001,"66":26115,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802093645289814016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940830208001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:12:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289814016,"description":"Unknown IO ID 45"} 
[2026-07-25 02:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940830208001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802093645289814016}} 
[2026-07-25 02:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":140808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:12:13] local.INFO: GPS data processed {"connection_id":140808,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:12:13] local.INFO: Acknowledgment sent {"connection_id":140808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:12:57] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:57] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:12:57] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:13:02] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:13:02] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:13:02] local.INFO: IMEI packet received {"connection_id":143217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":143217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:13:03] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:13:03] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:13:03] local.INFO: Packet analysis {"connection_id":143217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:13:03] local.INFO: Extracted packet for processing {"connection_id":143217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 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-07-25 02:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":143217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:13:03] local.INFO: GPS data processed {"connection_id":143217,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:13:03] local.INFO: Acknowledgment sent {"connection_id":143217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:13:36] local.INFO: TCP Data received {"connection_id":143217,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:13:36] local.INFO: Processing buffer {"connection_id":143217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:13:36] local.INFO: Packet analysis {"connection_id":143217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:13:36] local.INFO: Extracted packet for processing {"connection_id":143217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:13:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:13:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":143217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:13:36] local.INFO: GPS data processed {"connection_id":143217,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:13:36] local.INFO: Acknowledgment sent {"connection_id":143217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:13:57] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:13:57] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:13:57] local.INFO: IMEI packet received {"connection_id":141872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":141872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:14:02] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:14:02] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:14:02] local.INFO: IMEI packet received {"connection_id":141872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":141872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:14:03] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:14:03] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:14:03] local.INFO: Packet analysis {"connection_id":141872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:14:03] local.INFO: Extracted packet for processing {"connection_id":141872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:14:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":141872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:14:03] local.INFO: GPS data processed {"connection_id":141872,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:14:03] local.INFO: Acknowledgment sent {"connection_id":141872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:14:34] local.INFO: TCP Data received {"connection_id":141872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:14:34] local.INFO: Processing buffer {"connection_id":141872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:14:34] local.INFO: Packet analysis {"connection_id":141872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:14:34] local.INFO: Extracted packet for processing {"connection_id":141872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:14:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":141872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:14:34] local.INFO: GPS data processed {"connection_id":141872,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:14:34] local.INFO: Acknowledgment sent {"connection_id":141872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:14:57] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:14:57] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:14:57] local.INFO: IMEI packet received {"connection_id":140863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":140863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:15:02] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:15:02] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:15:02] local.INFO: IMEI packet received {"connection_id":140863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":140863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:15:03] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:15:03] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:15:03] local.INFO: Packet analysis {"connection_id":140863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:15:03] local.INFO: Extracted packet for processing {"connection_id":140863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":140863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:15:03] local.INFO: GPS data processed {"connection_id":140863,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:15:03] local.INFO: Acknowledgment sent {"connection_id":140863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:15:35] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:15:35] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:15:35] local.INFO: Packet analysis {"connection_id":140863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:15:35] local.INFO: Extracted packet for processing {"connection_id":140863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:15:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:15:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":140863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:15:35] local.INFO: GPS data processed {"connection_id":140863,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:15:35] local.INFO: Acknowledgment sent {"connection_id":140863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:15:57] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:15:57] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:15:57] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:16:02] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:16:02] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:16:02] local.INFO: IMEI packet received {"connection_id":143218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":143218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:16:03] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:16:03] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:16:03] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:16:03] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:16:03] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:16:03] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:16:34] local.INFO: TCP Data received {"connection_id":143218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:16:34] local.INFO: Processing buffer {"connection_id":143218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:16:34] local.INFO: Packet analysis {"connection_id":143218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:16:34] local.INFO: Extracted packet for processing {"connection_id":143218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":143218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:16:34] local.INFO: GPS data processed {"connection_id":143218,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:16:34] local.INFO: Acknowledgment sent {"connection_id":143218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:17:02] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:02] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:02] local.INFO: IMEI packet received {"connection_id":141873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":141873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:17:07] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:07] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:07] local.INFO: IMEI packet received {"connection_id":141873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":141873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:17:08] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:17:08] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:17:08] local.INFO: Packet analysis {"connection_id":141873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:17:08] local.INFO: Extracted packet for processing {"connection_id":141873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 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-07-25 02:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":141873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:17:08] local.INFO: GPS data processed {"connection_id":141873,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:17:08] local.INFO: Acknowledgment sent {"connection_id":141873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:17:39] local.INFO: TCP Data received {"connection_id":141873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:17:39] local.INFO: Processing buffer {"connection_id":141873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95dd11a8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:17:39] local.INFO: Packet analysis {"connection_id":141873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:17:39] local.INFO: Extracted packet for processing {"connection_id":141873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95dd"} 
[2026-07-25 02:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940907520001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784925721000,"timestamp_ms":1784925721000,"timestamp_seconds":1784925721,"priority":1,"record_length":96,"hex_timestamp":"0000019f95dd11a8"} 
[2026-07-25 02:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 02:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940907520001,"66":25778,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940907520001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940907520001,"power":25778,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":141873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:17:39] local.INFO: GPS data processed {"connection_id":141873,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:17:39] local.INFO: Acknowledgment sent {"connection_id":141873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:17:57] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:57] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:17:57] local.INFO: IMEI packet received {"connection_id":141874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":141874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:18:02] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:18:02] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:18:02] local.INFO: IMEI packet received {"connection_id":141874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":141874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:18:03] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:18:03] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:18:03] local.INFO: Packet analysis {"connection_id":141874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:18:03] local.INFO: Extracted packet for processing {"connection_id":141874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:18:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":141874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:18:03] local.INFO: GPS data processed {"connection_id":141874,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:18:03] local.INFO: Acknowledgment sent {"connection_id":141874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:18:35] local.INFO: TCP Data received {"connection_id":141874,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:18:35] local.INFO: Processing buffer {"connection_id":141874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:18:35] local.INFO: Packet analysis {"connection_id":141874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:18:35] local.INFO: Extracted packet for processing {"connection_id":141874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:18:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:18:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":141874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:18:35] local.INFO: GPS data processed {"connection_id":141874,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:18:35] local.INFO: Acknowledgment sent {"connection_id":141874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:18:57] local.INFO: TCP Data received {"connection_id":143219,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:18:57] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:18:57] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:19:02] local.INFO: TCP Data received {"connection_id":143219,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:19:02] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:19:02] local.INFO: IMEI packet received {"connection_id":143219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":143219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:19:03] local.INFO: TCP Data received {"connection_id":143219,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:19:03] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:19:03] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:19:03] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:19:03] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:19:03] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:19:34] local.INFO: TCP Data received {"connection_id":143219,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:19:34] local.INFO: Processing buffer {"connection_id":143219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:19:34] local.INFO: Packet analysis {"connection_id":143219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:19:34] local.INFO: Extracted packet for processing {"connection_id":143219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:19: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-07-25 02:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:19:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":143219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:19:34] local.INFO: GPS data processed {"connection_id":143219,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:19:34] local.INFO: Acknowledgment sent {"connection_id":143219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:19:57] local.INFO: TCP Data received {"connection_id":143220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:19:57] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:19:57] local.INFO: IMEI packet received {"connection_id":143220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":143220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:20:02] local.INFO: TCP Data received {"connection_id":143220,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:20:02] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:20:02] local.INFO: IMEI packet received {"connection_id":143220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":143220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:20:03] local.INFO: TCP Data received {"connection_id":143220,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:20:03] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:20:03] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:20:03] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:20:03] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:20:03] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:20:35] local.INFO: TCP Data received {"connection_id":143220,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:20:35] local.INFO: Processing buffer {"connection_id":143220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:20:35] local.INFO: Packet analysis {"connection_id":143220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:20:35] local.INFO: Extracted packet for processing {"connection_id":143220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":143220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:20:35] local.INFO: GPS data processed {"connection_id":143220,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:20:35] local.INFO: Acknowledgment sent {"connection_id":143220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:20:57] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:20:57] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:20:57] local.INFO: IMEI packet received {"connection_id":140864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":140864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:21:02] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:21:02] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:21:02] local.INFO: IMEI packet received {"connection_id":140864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":140864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:21:04] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:21:04] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:21:04] local.INFO: Packet analysis {"connection_id":140864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:21:04] local.INFO: Extracted packet for processing {"connection_id":140864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:21:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":140864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:21:04] local.INFO: GPS data processed {"connection_id":140864,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:21:04] local.INFO: Acknowledgment sent {"connection_id":140864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:21:35] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:21:35] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:21:35] local.INFO: Packet analysis {"connection_id":140864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:21:35] local.INFO: Extracted packet for processing {"connection_id":140864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:21:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:21:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":140864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:21:36] local.INFO: GPS data processed {"connection_id":140864,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:21:36] local.INFO: Acknowledgment sent {"connection_id":140864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:22:02] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:02] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:02] local.INFO: IMEI packet received {"connection_id":140865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":140865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:22:07] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:07] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:07] local.INFO: IMEI packet received {"connection_id":140865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":140865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:22:08] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:22:08] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:22:08] local.INFO: Packet analysis {"connection_id":140865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:22:08] local.INFO: Extracted packet for processing {"connection_id":140865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":140865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:22:08] local.INFO: GPS data processed {"connection_id":140865,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:22:08] local.INFO: Acknowledgment sent {"connection_id":140865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:22:12] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:22:12] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e1a970012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:22:12] local.INFO: Packet analysis {"connection_id":140865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:22:12] local.INFO: Extracted packet for processing {"connection_id":140865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e1"} 
[2026-07-25 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456940984576001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784926022000,"timestamp_ms":1784926022000,"timestamp_seconds":1784926022,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e1a970"} 
[2026-07-25 02:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 02:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456940984576001,"66":25625,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456940984576001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456940984576001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":140865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:22:12] local.INFO: GPS data processed {"connection_id":140865,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:22:12] local.INFO: Acknowledgment sent {"connection_id":140865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:22:58] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:58] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:22:58] local.INFO: IMEI packet received {"connection_id":143221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":143221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:23:02] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:23:02] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:23:02] local.INFO: IMEI packet received {"connection_id":143221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":143221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:23:03] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:23:03] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:23:03] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:23:03] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:23:03] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:23:03] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:23:34] local.INFO: TCP Data received {"connection_id":143221,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:23:34] local.INFO: Processing buffer {"connection_id":143221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:23:34] local.INFO: Packet analysis {"connection_id":143221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:23:34] local.INFO: Extracted packet for processing {"connection_id":143221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":143221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:23:34] local.INFO: GPS data processed {"connection_id":143221,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:23:34] local.INFO: Acknowledgment sent {"connection_id":143221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:23:57] local.INFO: TCP Data received {"connection_id":140809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:23:57] local.INFO: Processing buffer {"connection_id":140809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:23:57] local.INFO: IMEI packet received {"connection_id":140809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":140809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:24:02] local.INFO: TCP Data received {"connection_id":140809,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:24:02] local.INFO: Processing buffer {"connection_id":140809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:24:02] local.INFO: IMEI packet received {"connection_id":140809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":140809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:24:03] local.INFO: TCP Data received {"connection_id":140809,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:24:03] local.INFO: Processing buffer {"connection_id":140809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:24:03] local.INFO: Packet analysis {"connection_id":140809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:24:03] local.INFO: Extracted packet for processing {"connection_id":140809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":140809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:24:03] local.INFO: GPS data processed {"connection_id":140809,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:24:03] local.INFO: Acknowledgment sent {"connection_id":140809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:24:35] local.INFO: TCP Data received {"connection_id":140809,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:24:35] local.INFO: Processing buffer {"connection_id":140809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:24:35] local.INFO: Packet analysis {"connection_id":140809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:24:35] local.INFO: Extracted packet for processing {"connection_id":140809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":140809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:24:35] local.INFO: GPS data processed {"connection_id":140809,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:24:35] local.INFO: Acknowledgment sent {"connection_id":140809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:24:57] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:24:57] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:24:57] local.INFO: IMEI packet received {"connection_id":141875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":141875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:25:02] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:25:02] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:25:02] local.INFO: IMEI packet received {"connection_id":141875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":141875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:25:03] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:25:03] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:25:03] local.INFO: Packet analysis {"connection_id":141875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:25:03] local.INFO: Extracted packet for processing {"connection_id":141875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":141875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:25:03] local.INFO: GPS data processed {"connection_id":141875,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:25:03] local.INFO: Acknowledgment sent {"connection_id":141875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:25:34] local.INFO: TCP Data received {"connection_id":141875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:25:34] local.INFO: Processing buffer {"connection_id":141875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:25:34] local.INFO: Packet analysis {"connection_id":141875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:25:34] local.INFO: Extracted packet for processing {"connection_id":141875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":141875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:25:34] local.INFO: GPS data processed {"connection_id":141875,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:25:34] local.INFO: Acknowledgment sent {"connection_id":141875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:26:02] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:02] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:02] local.INFO: IMEI packet received {"connection_id":140866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:26:07] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:07] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:07] local.INFO: IMEI packet received {"connection_id":140866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":140866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:26:08] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:26:08] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:26:08] local.INFO: Packet analysis {"connection_id":140866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:26:08] local.INFO: Extracted packet for processing {"connection_id":140866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":140866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:26:08] local.INFO: GPS data processed {"connection_id":140866,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:26:08] local.INFO: Acknowledgment sent {"connection_id":140866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:26:12] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:26:12] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:26:12] local.INFO: Packet analysis {"connection_id":140866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:26:12] local.INFO: Extracted packet for processing {"connection_id":140866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:26:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:26:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":140866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:26:12] local.INFO: GPS data processed {"connection_id":140866,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:26:12] local.INFO: Acknowledgment sent {"connection_id":140866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:26:57] local.INFO: TCP Data received {"connection_id":140810,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:57] local.INFO: Processing buffer {"connection_id":140810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:26:57] local.INFO: IMEI packet received {"connection_id":140810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":140810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:27:02] local.INFO: TCP Data received {"connection_id":140810,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:27:02] local.INFO: Processing buffer {"connection_id":140810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:27:02] local.INFO: IMEI packet received {"connection_id":140810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":140810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:27:04] local.INFO: TCP Data received {"connection_id":140810,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:27:04] local.INFO: Processing buffer {"connection_id":140810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:27:04] local.INFO: Packet analysis {"connection_id":140810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:27:04] local.INFO: Extracted packet for processing {"connection_id":140810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":140810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:27:04] local.INFO: GPS data processed {"connection_id":140810,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:27:04] local.INFO: Acknowledgment sent {"connection_id":140810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:27:36] local.INFO: TCP Data received {"connection_id":140810,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:27:36] local.INFO: Processing buffer {"connection_id":140810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95e64138012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:27:36] local.INFO: Packet analysis {"connection_id":140810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:27:36] local.INFO: Extracted packet for processing {"connection_id":140810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95e6"} 
[2026-07-25 02:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941061632001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784926323000,"timestamp_ms":1784926323000,"timestamp_seconds":1784926323,"priority":1,"record_length":96,"hex_timestamp":"0000019f95e64138"} 
[2026-07-25 02:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 02:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941061632001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941061632001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:27:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941061632001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":140810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:27:36] local.INFO: GPS data processed {"connection_id":140810,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:27:36] local.INFO: Acknowledgment sent {"connection_id":140810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:27:57] local.INFO: TCP Data received {"connection_id":140811,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:27:57] local.INFO: Processing buffer {"connection_id":140811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:27:57] local.INFO: IMEI packet received {"connection_id":140811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":140811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:28:02] local.INFO: TCP Data received {"connection_id":140811,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:28:02] local.INFO: Processing buffer {"connection_id":140811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:28:02] local.INFO: IMEI packet received {"connection_id":140811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":140811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:28:04] local.INFO: TCP Data received {"connection_id":140811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:28:04] local.INFO: Processing buffer {"connection_id":140811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:28:04] local.INFO: Packet analysis {"connection_id":140811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:28:04] local.INFO: Extracted packet for processing {"connection_id":140811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":140811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:28:04] local.INFO: GPS data processed {"connection_id":140811,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:28:04] local.INFO: Acknowledgment sent {"connection_id":140811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:28:35] local.INFO: TCP Data received {"connection_id":140811,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:28:35] local.INFO: Processing buffer {"connection_id":140811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:28:35] local.INFO: Packet analysis {"connection_id":140811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:28:35] local.INFO: Extracted packet for processing {"connection_id":140811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":140811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:28:35] local.INFO: GPS data processed {"connection_id":140811,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:28:35] local.INFO: Acknowledgment sent {"connection_id":140811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:28:57] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:28:57] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:28:57] local.INFO: IMEI packet received {"connection_id":140867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":140867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:29:02] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:29:02] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:29:02] local.INFO: IMEI packet received {"connection_id":140867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":140867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:29:03] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:29:03] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:29:03] local.INFO: Packet analysis {"connection_id":140867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:29:03] local.INFO: Extracted packet for processing {"connection_id":140867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:29:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":140867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:29:03] local.INFO: GPS data processed {"connection_id":140867,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:29:03] local.INFO: Acknowledgment sent {"connection_id":140867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:29:36] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:29:36] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:29:36] local.INFO: Packet analysis {"connection_id":140867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:29:36] local.INFO: Extracted packet for processing {"connection_id":140867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:29:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:29:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":140867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:29:36] local.INFO: GPS data processed {"connection_id":140867,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:29:36] local.INFO: Acknowledgment sent {"connection_id":140867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:29:57] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:29:57] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:29:57] local.INFO: IMEI packet received {"connection_id":140868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":140868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:30:02] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:30:02] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:30:02] local.INFO: IMEI packet received {"connection_id":140868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":140868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:30:03] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:30:03] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:30:03] local.INFO: Packet analysis {"connection_id":140868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:30:03] local.INFO: Extracted packet for processing {"connection_id":140868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:30:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":140868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:30:03] local.INFO: GPS data processed {"connection_id":140868,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:30:03] local.INFO: Acknowledgment sent {"connection_id":140868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:30:35] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:30:35] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:30:35] local.INFO: Packet analysis {"connection_id":140868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:30:35] local.INFO: Extracted packet for processing {"connection_id":140868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":140868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:30:35] local.INFO: GPS data processed {"connection_id":140868,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:30:35] local.INFO: Acknowledgment sent {"connection_id":140868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:31:02] local.INFO: TCP Data received {"connection_id":140812,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:02] local.INFO: Processing buffer {"connection_id":140812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:02] local.INFO: IMEI packet received {"connection_id":140812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":140812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:31:08] local.INFO: TCP Data received {"connection_id":140812,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:08] local.INFO: Processing buffer {"connection_id":140812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:08] local.INFO: IMEI packet received {"connection_id":140812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":140812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:31:09] local.INFO: TCP Data received {"connection_id":140812,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:31:09] local.INFO: Processing buffer {"connection_id":140812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:31:09] local.INFO: Packet analysis {"connection_id":140812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:31:09] local.INFO: Extracted packet for processing {"connection_id":140812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":140812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:31:09] local.INFO: GPS data processed {"connection_id":140812,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:31:09] local.INFO: Acknowledgment sent {"connection_id":140812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:31:14] local.INFO: TCP Data received {"connection_id":140812,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:31:14] local.INFO: Processing buffer {"connection_id":140812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:31:14] local.INFO: Packet analysis {"connection_id":140812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:31:14] local.INFO: Extracted packet for processing {"connection_id":140812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":140812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:31:14] local.INFO: GPS data processed {"connection_id":140812,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:31:14] local.INFO: Acknowledgment sent {"connection_id":140812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:31:57] local.INFO: TCP Data received {"connection_id":140813,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:57] local.INFO: Processing buffer {"connection_id":140813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:31:57] local.INFO: IMEI packet received {"connection_id":140813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":140813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:32:02] local.INFO: TCP Data received {"connection_id":140813,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:32:02] local.INFO: Processing buffer {"connection_id":140813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:32:02] local.INFO: IMEI packet received {"connection_id":140813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":140813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:32:03] local.INFO: TCP Data received {"connection_id":140813,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:03] local.INFO: Processing buffer {"connection_id":140813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:03] local.INFO: Packet analysis {"connection_id":140813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:32:03] local.INFO: Extracted packet for processing {"connection_id":140813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":140813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:32:03] local.INFO: GPS data processed {"connection_id":140813,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:32:03] local.INFO: Acknowledgment sent {"connection_id":140813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:32:08] local.INFO: TCP Data received {"connection_id":140813,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:08] local.INFO: Processing buffer {"connection_id":140813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:08] local.INFO: Packet analysis {"connection_id":140813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:32:08] local.INFO: Extracted packet for processing {"connection_id":140813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":140813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:32:08] local.INFO: GPS data processed {"connection_id":140813,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:32:08] local.INFO: Acknowledgment sent {"connection_id":140813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:32:39] local.INFO: TCP Data received {"connection_id":140813,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:39] local.INFO: Processing buffer {"connection_id":140813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ead900012d34c90006aa44e8000b00821f..."} 
[2026-07-25 02:32:39] local.INFO: Packet analysis {"connection_id":140813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:32:39] local.INFO: Extracted packet for processing {"connection_id":140813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ea"} 
[2026-07-25 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941138688001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784926624000,"timestamp_ms":1784926624000,"timestamp_seconds":1784926624,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ead900"} 
[2026-07-25 02:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941138688001,"66":25473,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941138688001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941138688001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":140813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:32:39] local.INFO: GPS data processed {"connection_id":140813,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:32:39] local.INFO: Acknowledgment sent {"connection_id":140813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:32:57] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:32:57] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:32:57] local.INFO: IMEI packet received {"connection_id":143222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":143222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:33:03] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:33:03] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:33:03] local.INFO: IMEI packet received {"connection_id":143222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":143222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:33:04] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:33:04] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:33:04] local.INFO: Packet analysis {"connection_id":143222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:33:04] local.INFO: Extracted packet for processing {"connection_id":143222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":143222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:33:04] local.INFO: GPS data processed {"connection_id":143222,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:33:04] local.INFO: Acknowledgment sent {"connection_id":143222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:33:36] local.INFO: TCP Data received {"connection_id":143222,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:33:36] local.INFO: Processing buffer {"connection_id":143222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:33:36] local.INFO: Packet analysis {"connection_id":143222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:33:36] local.INFO: Extracted packet for processing {"connection_id":143222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:33:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:33:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":143222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:33:36] local.INFO: GPS data processed {"connection_id":143222,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:33:36] local.INFO: Acknowledgment sent {"connection_id":143222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:33:57] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:33:57] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:33:57] local.INFO: IMEI packet received {"connection_id":140869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":140869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:34:02] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:34:02] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:34:02] local.INFO: IMEI packet received {"connection_id":140869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":140869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:34:03] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:34:03] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:34:03] local.INFO: Packet analysis {"connection_id":140869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:34:03] local.INFO: Extracted packet for processing {"connection_id":140869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 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-07-25 02:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:34:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":140869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:34:03] local.INFO: GPS data processed {"connection_id":140869,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:34:03] local.INFO: Acknowledgment sent {"connection_id":140869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:34:35] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:34:35] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:34:35] local.INFO: Packet analysis {"connection_id":140869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:34:35] local.INFO: Extracted packet for processing {"connection_id":140869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:34:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:34:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":140869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:34:35] local.INFO: GPS data processed {"connection_id":140869,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:34:35] local.INFO: Acknowledgment sent {"connection_id":140869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:34:57] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:34:57] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:34:57] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:35:02] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:35:02] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:35:02] local.INFO: IMEI packet received {"connection_id":143223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":143223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:35:03] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:35:03] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:35:03] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:35:03] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:35:03] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:35:03] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:35:34] local.INFO: TCP Data received {"connection_id":143223,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:35:34] local.INFO: Processing buffer {"connection_id":143223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:35:34] local.INFO: Packet analysis {"connection_id":143223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:35:34] local.INFO: Extracted packet for processing {"connection_id":143223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":143223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:35:34] local.INFO: GPS data processed {"connection_id":143223,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:35:34] local.INFO: Acknowledgment sent {"connection_id":143223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:36:02] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:02] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:02] local.INFO: IMEI packet received {"connection_id":143224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":143224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:36:07] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:07] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:07] local.INFO: IMEI packet received {"connection_id":143224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":143224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:36:08] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:36:08] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:36:08] local.INFO: Packet analysis {"connection_id":143224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:36:08] local.INFO: Extracted packet for processing {"connection_id":143224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":143224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:36:08] local.INFO: GPS data processed {"connection_id":143224,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:36:08] local.INFO: Acknowledgment sent {"connection_id":143224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:36:13] local.INFO: TCP Data received {"connection_id":143224,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:36:13] local.INFO: Processing buffer {"connection_id":143224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:36:13] local.INFO: Packet analysis {"connection_id":143224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:36:13] local.INFO: Extracted packet for processing {"connection_id":143224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:36:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":143224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:36:13] local.INFO: GPS data processed {"connection_id":143224,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:36:13] local.INFO: Acknowledgment sent {"connection_id":143224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:36:57] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:57] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:36:57] local.INFO: IMEI packet received {"connection_id":140870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":140870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:37:02] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:37:02] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:37:02] local.INFO: IMEI packet received {"connection_id":140870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":140870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:37:03] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:37:03] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:37:03] local.INFO: Packet analysis {"connection_id":140870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:37:03] local.INFO: Extracted packet for processing {"connection_id":140870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":140870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:37:03] local.INFO: GPS data processed {"connection_id":140870,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:37:03] local.INFO: Acknowledgment sent {"connection_id":140870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:37:34] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:37:34] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95ef70c8012d34c90006aa44e8000b008224..."} 
[2026-07-25 02:37:34] local.INFO: Packet analysis {"connection_id":140870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:37:34] local.INFO: Extracted packet for processing {"connection_id":140870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95ef"} 
[2026-07-25 02:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941215744001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784926925000,"timestamp_ms":1784926925000,"timestamp_seconds":1784926925,"priority":1,"record_length":96,"hex_timestamp":"0000019f95ef70c8"} 
[2026-07-25 02:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":129,"data_length":795,"current_offset":136} 
[2026-07-25 02:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941215744001,"66":25462,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941215744001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941215744001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":140870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:37:34] local.INFO: GPS data processed {"connection_id":140870,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:37:34] local.INFO: Acknowledgment sent {"connection_id":140870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:37:57] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:37:57] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:37:57] local.INFO: IMEI packet received {"connection_id":141876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":141876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:38:02] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:38:02] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:38:02] local.INFO: IMEI packet received {"connection_id":141876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":141876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:38:03] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:38:03] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:38:03] local.INFO: Packet analysis {"connection_id":141876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:38:03] local.INFO: Extracted packet for processing {"connection_id":141876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":141876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:38:03] local.INFO: GPS data processed {"connection_id":141876,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:38:03] local.INFO: Acknowledgment sent {"connection_id":141876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:38:35] local.INFO: TCP Data received {"connection_id":141876,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:38:35] local.INFO: Processing buffer {"connection_id":141876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:38:35] local.INFO: Packet analysis {"connection_id":141876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:38:35] local.INFO: Extracted packet for processing {"connection_id":141876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:38:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:38:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":141876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:38:35] local.INFO: GPS data processed {"connection_id":141876,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:38:35] local.INFO: Acknowledgment sent {"connection_id":141876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:38:57] local.INFO: TCP Data received {"connection_id":140814,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:38:57] local.INFO: Processing buffer {"connection_id":140814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:38:57] local.INFO: IMEI packet received {"connection_id":140814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":140814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:39:02] local.INFO: TCP Data received {"connection_id":140814,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:39:02] local.INFO: Processing buffer {"connection_id":140814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:39:02] local.INFO: IMEI packet received {"connection_id":140814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":140814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:39:03] local.INFO: TCP Data received {"connection_id":140814,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:39:03] local.INFO: Processing buffer {"connection_id":140814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:39:03] local.INFO: Packet analysis {"connection_id":140814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:39:03] local.INFO: Extracted packet for processing {"connection_id":140814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":140814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:39:03] local.INFO: GPS data processed {"connection_id":140814,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:39:03] local.INFO: Acknowledgment sent {"connection_id":140814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:39:34] local.INFO: TCP Data received {"connection_id":140814,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:39:34] local.INFO: Processing buffer {"connection_id":140814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:39:34] local.INFO: Packet analysis {"connection_id":140814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:39:34] local.INFO: Extracted packet for processing {"connection_id":140814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":140814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:39:34] local.INFO: GPS data processed {"connection_id":140814,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:39:34] local.INFO: Acknowledgment sent {"connection_id":140814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:39:57] local.INFO: TCP Data received {"connection_id":143225,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:39:57] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:39:57] local.INFO: IMEI packet received {"connection_id":143225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":143225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:40:02] local.INFO: TCP Data received {"connection_id":143225,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:40:02] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:40:02] local.INFO: IMEI packet received {"connection_id":143225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":143225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:40:03] local.INFO: TCP Data received {"connection_id":143225,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:40:03] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:40:03] local.INFO: Packet analysis {"connection_id":143225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:40:03] local.INFO: Extracted packet for processing {"connection_id":143225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 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-07-25 02:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":143225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:40:03] local.INFO: GPS data processed {"connection_id":143225,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:40:03] local.INFO: Acknowledgment sent {"connection_id":143225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:40:35] local.INFO: TCP Data received {"connection_id":143225,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:40:35] local.INFO: Processing buffer {"connection_id":143225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:40:35] local.INFO: Packet analysis {"connection_id":143225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:40:35] local.INFO: Extracted packet for processing {"connection_id":143225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":143225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:40:35] local.INFO: GPS data processed {"connection_id":143225,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:40:35] local.INFO: Acknowledgment sent {"connection_id":143225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:41:02] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:02] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:02] local.INFO: IMEI packet received {"connection_id":143226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":143226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:41:08] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:08] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:08] local.INFO: IMEI packet received {"connection_id":143226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":143226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:41:09] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:41:09] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:41:09] local.INFO: Packet analysis {"connection_id":143226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:41:09] local.INFO: Extracted packet for processing {"connection_id":143226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":143226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:41:09] local.INFO: GPS data processed {"connection_id":143226,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:41:09] local.INFO: Acknowledgment sent {"connection_id":143226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:41:13] local.INFO: TCP Data received {"connection_id":143226,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:41:13] local.INFO: Processing buffer {"connection_id":143226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:41:13] local.INFO: Packet analysis {"connection_id":143226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:41:13] local.INFO: Extracted packet for processing {"connection_id":143226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:41:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":143226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:41:13] local.INFO: GPS data processed {"connection_id":143226,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:41:13] local.INFO: Acknowledgment sent {"connection_id":143226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:41:57] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:57] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:41:57] local.INFO: IMEI packet received {"connection_id":141877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":141877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:42:02] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:42:02] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:42:02] local.INFO: IMEI packet received {"connection_id":141877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":141877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:42:03] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:42:03] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:42:03] local.INFO: Packet analysis {"connection_id":141877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:42:03] local.INFO: Extracted packet for processing {"connection_id":141877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":141877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:42:03] local.INFO: GPS data processed {"connection_id":141877,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:42:03] local.INFO: Acknowledgment sent {"connection_id":141877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:42:34] local.INFO: TCP Data received {"connection_id":141877,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:42:34] local.INFO: Processing buffer {"connection_id":141877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f40890012d34c90006aa44e8000b008222..."} 
[2026-07-25 02:42:34] local.INFO: Packet analysis {"connection_id":141877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:42:34] local.INFO: Extracted packet for processing {"connection_id":141877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f4"} 
[2026-07-25 02:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941292800001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784927226000,"timestamp_ms":1784927226000,"timestamp_seconds":1784927226,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f40890"} 
[2026-07-25 02:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 02:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941292800001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941292800001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941292800001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":141877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:42:34] local.INFO: GPS data processed {"connection_id":141877,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:42:34] local.INFO: Acknowledgment sent {"connection_id":141877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:42:57] local.INFO: TCP Data received {"connection_id":140815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:42:57] local.INFO: Processing buffer {"connection_id":140815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:42:57] local.INFO: IMEI packet received {"connection_id":140815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":140815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:43:02] local.INFO: TCP Data received {"connection_id":140815,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:43:02] local.INFO: Processing buffer {"connection_id":140815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:43:02] local.INFO: IMEI packet received {"connection_id":140815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":140815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:43:03] local.INFO: TCP Data received {"connection_id":140815,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:43:03] local.INFO: Processing buffer {"connection_id":140815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:43:03] local.INFO: Packet analysis {"connection_id":140815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:43:03] local.INFO: Extracted packet for processing {"connection_id":140815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":140815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:43:03] local.INFO: GPS data processed {"connection_id":140815,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:43:03] local.INFO: Acknowledgment sent {"connection_id":140815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:43:35] local.INFO: TCP Data received {"connection_id":140815,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:43:35] local.INFO: Processing buffer {"connection_id":140815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:43:35] local.INFO: Packet analysis {"connection_id":140815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:43:35] local.INFO: Extracted packet for processing {"connection_id":140815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":140815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:43:35] local.INFO: GPS data processed {"connection_id":140815,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:43:35] local.INFO: Acknowledgment sent {"connection_id":140815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:43:57] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:43:57] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:43:57] local.INFO: IMEI packet received {"connection_id":143227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":143227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:44:02] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:44:02] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:44:02] local.INFO: IMEI packet received {"connection_id":143227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":143227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:44:03] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:44:03] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:44:03] local.INFO: Packet analysis {"connection_id":143227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:44:03] local.INFO: Extracted packet for processing {"connection_id":143227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":143227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:44:03] local.INFO: GPS data processed {"connection_id":143227,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:44:03] local.INFO: Acknowledgment sent {"connection_id":143227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:44:34] local.INFO: TCP Data received {"connection_id":143227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:44:34] local.INFO: Processing buffer {"connection_id":143227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:44:34] local.INFO: Packet analysis {"connection_id":143227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:44:34] local.INFO: Extracted packet for processing {"connection_id":143227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:44:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":143227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:44:34] local.INFO: GPS data processed {"connection_id":143227,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:44:34] local.INFO: Acknowledgment sent {"connection_id":143227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:44:57] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:44:57] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:44:57] local.INFO: IMEI packet received {"connection_id":140871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":140871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:45:02] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:45:02] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:45:02] local.INFO: IMEI packet received {"connection_id":140871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":140871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:45:03] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:45:03] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:45:03] local.INFO: Packet analysis {"connection_id":140871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:45:03] local.INFO: Extracted packet for processing {"connection_id":140871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":140871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:45:03] local.INFO: GPS data processed {"connection_id":140871,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:45:03] local.INFO: Acknowledgment sent {"connection_id":140871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:45:34] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:45:34] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:45:34] local.INFO: Packet analysis {"connection_id":140871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:45:34] local.INFO: Extracted packet for processing {"connection_id":140871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":140871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:45:34] local.INFO: GPS data processed {"connection_id":140871,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:45:34] local.INFO: Acknowledgment sent {"connection_id":140871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:46:02] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:02] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:02] local.INFO: IMEI packet received {"connection_id":140872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":140872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:46:07] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:07] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:07] local.INFO: IMEI packet received {"connection_id":140872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":140872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:46:08] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:46:08] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:46:08] local.INFO: Packet analysis {"connection_id":140872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:46:08] local.INFO: Extracted packet for processing {"connection_id":140872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":140872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:46:08] local.INFO: GPS data processed {"connection_id":140872,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:46:08] local.INFO: Acknowledgment sent {"connection_id":140872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:46:13] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:46:13] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:46:13] local.INFO: Packet analysis {"connection_id":140872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:46:13] local.INFO: Extracted packet for processing {"connection_id":140872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":140872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:46:13] local.INFO: GPS data processed {"connection_id":140872,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:46:13] local.INFO: Acknowledgment sent {"connection_id":140872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:46:57] local.INFO: TCP Data received {"connection_id":140816,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:57] local.INFO: Processing buffer {"connection_id":140816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:46:57] local.INFO: IMEI packet received {"connection_id":140816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":140816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:47:02] local.INFO: TCP Data received {"connection_id":140816,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:47:02] local.INFO: Processing buffer {"connection_id":140816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:47:02] local.INFO: IMEI packet received {"connection_id":140816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":140816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:47:03] local.INFO: TCP Data received {"connection_id":140816,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:47:03] local.INFO: Processing buffer {"connection_id":140816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:47:03] local.INFO: Packet analysis {"connection_id":140816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:47:03] local.INFO: Extracted packet for processing {"connection_id":140816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":140816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:47:03] local.INFO: GPS data processed {"connection_id":140816,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:47:03] local.INFO: Acknowledgment sent {"connection_id":140816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:47:35] local.INFO: TCP Data received {"connection_id":140816,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:47:35] local.INFO: Processing buffer {"connection_id":140816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95f8a058012d34c90006aa44e8000b008223..."} 
[2026-07-25 02:47:35] local.INFO: Packet analysis {"connection_id":140816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:47:35] local.INFO: Extracted packet for processing {"connection_id":140816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95f8"} 
[2026-07-25 02:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941369856001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927527000,"timestamp_ms":1784927527000,"timestamp_seconds":1784927527,"priority":1,"record_length":96,"hex_timestamp":"0000019f95f8a058"} 
[2026-07-25 02:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 02:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941369856001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941369856001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941369856001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":140816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:47:35] local.INFO: GPS data processed {"connection_id":140816,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:47:35] local.INFO: Acknowledgment sent {"connection_id":140816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:47:57] local.INFO: TCP Data received {"connection_id":140817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:47:57] local.INFO: Processing buffer {"connection_id":140817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:47:57] local.INFO: IMEI packet received {"connection_id":140817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":140817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:48:02] local.INFO: TCP Data received {"connection_id":140817,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:48:02] local.INFO: Processing buffer {"connection_id":140817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:48:02] local.INFO: IMEI packet received {"connection_id":140817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":140817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:48:04] local.INFO: TCP Data received {"connection_id":140817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:48:04] local.INFO: Processing buffer {"connection_id":140817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:48:04] local.INFO: Packet analysis {"connection_id":140817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:48:04] local.INFO: Extracted packet for processing {"connection_id":140817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:48:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":140817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:48:04] local.INFO: GPS data processed {"connection_id":140817,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:48:04] local.INFO: Acknowledgment sent {"connection_id":140817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:48:35] local.INFO: TCP Data received {"connection_id":140817,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:48:35] local.INFO: Processing buffer {"connection_id":140817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:48:35] local.INFO: Packet analysis {"connection_id":140817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:48:35] local.INFO: Extracted packet for processing {"connection_id":140817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:48:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:48:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":140817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:48:35] local.INFO: GPS data processed {"connection_id":140817,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:48:35] local.INFO: Acknowledgment sent {"connection_id":140817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:48:57] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:48:57] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:48:57] local.INFO: IMEI packet received {"connection_id":140873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":140873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:49:02] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:49:02] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:49:02] local.INFO: IMEI packet received {"connection_id":140873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":140873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:49:03] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:49:03] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:49:03] local.INFO: Packet analysis {"connection_id":140873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:49:03] local.INFO: Extracted packet for processing {"connection_id":140873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":140873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:49:03] local.INFO: GPS data processed {"connection_id":140873,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:49:03] local.INFO: Acknowledgment sent {"connection_id":140873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:49:35] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:49:35] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:49:35] local.INFO: Packet analysis {"connection_id":140873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:49:35] local.INFO: Extracted packet for processing {"connection_id":140873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":140873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:49:35] local.INFO: GPS data processed {"connection_id":140873,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:49:35] local.INFO: Acknowledgment sent {"connection_id":140873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:49:57] local.INFO: TCP Data received {"connection_id":140818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:49:57] local.INFO: Processing buffer {"connection_id":140818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:49:57] local.INFO: IMEI packet received {"connection_id":140818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":140818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:50:02] local.INFO: TCP Data received {"connection_id":140818,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:50:02] local.INFO: Processing buffer {"connection_id":140818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:50:02] local.INFO: IMEI packet received {"connection_id":140818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":140818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:50:03] local.INFO: TCP Data received {"connection_id":140818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:50:03] local.INFO: Processing buffer {"connection_id":140818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:50:03] local.INFO: Packet analysis {"connection_id":140818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:50:03] local.INFO: Extracted packet for processing {"connection_id":140818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:50:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":140818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:50:03] local.INFO: GPS data processed {"connection_id":140818,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:50:03] local.INFO: Acknowledgment sent {"connection_id":140818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:50:35] local.INFO: TCP Data received {"connection_id":140818,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:50:35] local.INFO: Processing buffer {"connection_id":140818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:50:35] local.INFO: Packet analysis {"connection_id":140818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:50:35] local.INFO: Extracted packet for processing {"connection_id":140818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:50:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:50:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":140818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:50:35] local.INFO: GPS data processed {"connection_id":140818,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:50:35] local.INFO: Acknowledgment sent {"connection_id":140818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:51:02] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:02] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:02] local.INFO: IMEI packet received {"connection_id":141878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":141878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:51:07] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:07] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:07] local.INFO: IMEI packet received {"connection_id":141878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":141878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:51:08] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:51:08] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:51:08] local.INFO: Packet analysis {"connection_id":141878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:51:08] local.INFO: Extracted packet for processing {"connection_id":141878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":141878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:51:08] local.INFO: GPS data processed {"connection_id":141878,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:51:08] local.INFO: Acknowledgment sent {"connection_id":141878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:51:12] local.INFO: TCP Data received {"connection_id":141878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:51:12] local.INFO: Processing buffer {"connection_id":141878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:51:12] local.INFO: Packet analysis {"connection_id":141878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:51:12] local.INFO: Extracted packet for processing {"connection_id":141878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:51:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:51:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":141878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:51:12] local.INFO: GPS data processed {"connection_id":141878,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:51:12] local.INFO: Acknowledgment sent {"connection_id":141878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:51:57] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:57] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:51:57] local.INFO: IMEI packet received {"connection_id":143228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":143228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:52:02] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:52:02] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:52:02] local.INFO: IMEI packet received {"connection_id":143228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":143228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:52:03] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:52:03] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:52:03] local.INFO: Packet analysis {"connection_id":143228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:52:03] local.INFO: Extracted packet for processing {"connection_id":143228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:52:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":143228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:52:03] local.INFO: GPS data processed {"connection_id":143228,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:52:03] local.INFO: Acknowledgment sent {"connection_id":143228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:52:35] local.INFO: TCP Data received {"connection_id":143228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:52:35] local.INFO: Processing buffer {"connection_id":143228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f95fd3820012d34c90006aa44e8000b008225..."} 
[2026-07-25 02:52:35] local.INFO: Packet analysis {"connection_id":143228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:52:35] local.INFO: Extracted packet for processing {"connection_id":143228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f95fd"} 
[2026-07-25 02:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941446912001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784927828000,"timestamp_ms":1784927828000,"timestamp_seconds":1784927828,"priority":1,"record_length":96,"hex_timestamp":"0000019f95fd3820"} 
[2026-07-25 02:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941446912001,"66":25397,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941446912001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:52:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:52:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941446912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":143228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:52:35] local.INFO: GPS data processed {"connection_id":143228,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:52:35] local.INFO: Acknowledgment sent {"connection_id":143228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:52:57] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:52:57] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:52:57] local.INFO: IMEI packet received {"connection_id":141879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":141879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:53:02] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:53:02] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:53:02] local.INFO: IMEI packet received {"connection_id":141879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":141879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:53:03] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:53:03] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:53:03] local.INFO: Packet analysis {"connection_id":141879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:53:03] local.INFO: Extracted packet for processing {"connection_id":141879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 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-07-25 02:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:53:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:53:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":141879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:53:03] local.INFO: GPS data processed {"connection_id":141879,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:53:03] local.INFO: Acknowledgment sent {"connection_id":141879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:53:35] local.INFO: TCP Data received {"connection_id":141879,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:53:35] local.INFO: Processing buffer {"connection_id":141879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:53:35] local.INFO: Packet analysis {"connection_id":141879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:53:35] local.INFO: Extracted packet for processing {"connection_id":141879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 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-07-25 02:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:53:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:53:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":141879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:53:35] local.INFO: GPS data processed {"connection_id":141879,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:53:35] local.INFO: Acknowledgment sent {"connection_id":141879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:53:57] local.INFO: TCP Data received {"connection_id":140819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:53:57] local.INFO: Processing buffer {"connection_id":140819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:53:57] local.INFO: IMEI packet received {"connection_id":140819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":140819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:54:02] local.INFO: TCP Data received {"connection_id":140819,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:54:02] local.INFO: Processing buffer {"connection_id":140819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:54:02] local.INFO: IMEI packet received {"connection_id":140819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":140819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:54:03] local.INFO: TCP Data received {"connection_id":140819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:54:03] local.INFO: Processing buffer {"connection_id":140819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:54:03] local.INFO: Packet analysis {"connection_id":140819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:54:03] local.INFO: Extracted packet for processing {"connection_id":140819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 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-07-25 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:54:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":140819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:54:03] local.INFO: GPS data processed {"connection_id":140819,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:54:03] local.INFO: Acknowledgment sent {"connection_id":140819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:54:34] local.INFO: TCP Data received {"connection_id":140819,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:54:34] local.INFO: Processing buffer {"connection_id":140819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:54:34] local.INFO: Packet analysis {"connection_id":140819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:54:34] local.INFO: Extracted packet for processing {"connection_id":140819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:54:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":140819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:54:34] local.INFO: GPS data processed {"connection_id":140819,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:54:34] local.INFO: Acknowledgment sent {"connection_id":140819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:55:02] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:02] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:02] local.INFO: IMEI packet received {"connection_id":143229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":143229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:55:07] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:07] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:07] local.INFO: IMEI packet received {"connection_id":143229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":143229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:55:08] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:55:08] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:55:08] local.INFO: Packet analysis {"connection_id":143229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:55:08] local.INFO: Extracted packet for processing {"connection_id":143229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":143229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:55:08] local.INFO: GPS data processed {"connection_id":143229,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:55:08] local.INFO: Acknowledgment sent {"connection_id":143229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:55:13] local.INFO: TCP Data received {"connection_id":143229,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:55:13] local.INFO: Processing buffer {"connection_id":143229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:55:13] local.INFO: Packet analysis {"connection_id":143229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:55:13] local.INFO: Extracted packet for processing {"connection_id":143229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":143229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:55:13] local.INFO: GPS data processed {"connection_id":143229,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:55:13] local.INFO: Acknowledgment sent {"connection_id":143229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:55:57] local.INFO: TCP Data received {"connection_id":140820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:57] local.INFO: Processing buffer {"connection_id":140820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:55:57] local.INFO: IMEI packet received {"connection_id":140820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":140820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:56:02] local.INFO: TCP Data received {"connection_id":140820,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:56:02] local.INFO: Processing buffer {"connection_id":140820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:56:02] local.INFO: IMEI packet received {"connection_id":140820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":140820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:56:05] local.INFO: TCP Data received {"connection_id":140820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:56:05] local.INFO: Processing buffer {"connection_id":140820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:56:05] local.INFO: Packet analysis {"connection_id":140820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:56:05] local.INFO: Extracted packet for processing {"connection_id":140820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:56:05] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:56:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:56:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":140820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:56:05] local.INFO: GPS data processed {"connection_id":140820,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:56:05] local.INFO: Acknowledgment sent {"connection_id":140820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:56:37] local.INFO: TCP Data received {"connection_id":140820,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:56:37] local.INFO: Processing buffer {"connection_id":140820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:56:37] local.INFO: Packet analysis {"connection_id":140820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:56:37] local.INFO: Extracted packet for processing {"connection_id":140820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":140820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:56:37] local.INFO: GPS data processed {"connection_id":140820,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:56:37] local.INFO: Acknowledgment sent {"connection_id":140820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:56:57] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:56:57] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:56:57] local.INFO: IMEI packet received {"connection_id":141880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":141880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:57:02] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:57:02] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:57:02] local.INFO: IMEI packet received {"connection_id":141880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":141880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:57:03] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:57:03] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:57:03] local.INFO: Packet analysis {"connection_id":141880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:57:03] local.INFO: Extracted packet for processing {"connection_id":141880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:57:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":141880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:57:03] local.INFO: GPS data processed {"connection_id":141880,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:57:03] local.INFO: Acknowledgment sent {"connection_id":141880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:57:35] local.INFO: TCP Data received {"connection_id":141880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:57:35] local.INFO: Processing buffer {"connection_id":141880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9601cfe8012d34c90006aa44e8000b008221..."} 
[2026-07-25 02:57:35] local.INFO: Packet analysis {"connection_id":141880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:57:35] local.INFO: Extracted packet for processing {"connection_id":141880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9601"} 
[2026-07-25 02:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":11,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941523968001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928129000,"timestamp_ms":1784928129000,"timestamp_seconds":1784928129,"priority":1,"record_length":96,"hex_timestamp":"0000019f9601cfe8"} 
[2026-07-25 02:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 02:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941523968001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941523968001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:57:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:57:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941523968001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":141880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:57:35] local.INFO: GPS data processed {"connection_id":141880,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:57:35] local.INFO: Acknowledgment sent {"connection_id":141880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:57:57] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:57:57] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:57:57] local.INFO: IMEI packet received {"connection_id":143230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":143230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:58:02] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:58:02] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:58:02] local.INFO: IMEI packet received {"connection_id":143230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":143230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:58:03] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:58:03] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:58:03] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:58:03] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 02:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:58:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:58:03] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:58:03] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:58:34] local.INFO: TCP Data received {"connection_id":143230,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:58:34] local.INFO: Processing buffer {"connection_id":143230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:58:34] local.INFO: Packet analysis {"connection_id":143230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:58:34] local.INFO: Extracted packet for processing {"connection_id":143230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02: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-07-25 02:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 02:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02: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-07-25 02:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:58:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":143230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:58:34] local.INFO: GPS data processed {"connection_id":143230,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:58:34] local.INFO: Acknowledgment sent {"connection_id":143230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:58:57] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:58:57] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:58:57] local.INFO: IMEI packet received {"connection_id":140874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":140874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 02:59:02] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:59:02] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:59:02] local.INFO: IMEI packet received {"connection_id":140874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 02:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":140874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 02:59:03] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:03] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:03] local.INFO: Packet analysis {"connection_id":140874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:59:03] local.INFO: Extracted packet for processing {"connection_id":140874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 02:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":140874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:59:03] local.INFO: GPS data processed {"connection_id":140874,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:59:03] local.INFO: Acknowledgment sent {"connection_id":140874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:59:08] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:08] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:08] local.INFO: Packet analysis {"connection_id":140874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:59:08] local.INFO: Extracted packet for processing {"connection_id":140874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 02:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":140874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:59:08] local.INFO: GPS data processed {"connection_id":140874,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:59:08] local.INFO: Acknowledgment sent {"connection_id":140874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:59:39] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:39] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 02:59:39] local.INFO: Packet analysis {"connection_id":140874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:59:39] local.INFO: Extracted packet for processing {"connection_id":140874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 02:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 02:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 02:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 02:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 02:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 02:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 02:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 02:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 02:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 02:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 02:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 02:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 02:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 02:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 02:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 02:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 02:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 02:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 02:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 02:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 02:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 02:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 02:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 02:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 02:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 02:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":140874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 02:59:39] local.INFO: GPS data processed {"connection_id":140874,"processed":1,"errors":0,"total":1} 
[2026-07-25 02:59:39] local.INFO: Acknowledgment sent {"connection_id":140874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 02:59:57] local.INFO: TCP Data received {"connection_id":140821,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:59:57] local.INFO: Processing buffer {"connection_id":140821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 02:59:57] local.INFO: IMEI packet received {"connection_id":140821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 02:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":140821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:00:02] local.INFO: TCP Data received {"connection_id":140821,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:00:02] local.INFO: Processing buffer {"connection_id":140821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:00:02] local.INFO: IMEI packet received {"connection_id":140821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":140821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:00:03] local.INFO: TCP Data received {"connection_id":140821,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:00:03] local.INFO: Processing buffer {"connection_id":140821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:00:03] local.INFO: Packet analysis {"connection_id":140821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:00:03] local.INFO: Extracted packet for processing {"connection_id":140821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 03:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:00:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":140821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:00:03] local.INFO: GPS data processed {"connection_id":140821,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:00:03] local.INFO: Acknowledgment sent {"connection_id":140821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:00:35] local.INFO: TCP Data received {"connection_id":140821,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:00:35] local.INFO: Processing buffer {"connection_id":140821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:00:35] local.INFO: Packet analysis {"connection_id":140821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:00:35] local.INFO: Extracted packet for processing {"connection_id":140821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 03:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:00:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:00:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":140821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:00:35] local.INFO: GPS data processed {"connection_id":140821,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:00:35] local.INFO: Acknowledgment sent {"connection_id":140821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:00:57] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:00:57] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:00:57] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:01:02] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:01:02] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:01:02] local.INFO: IMEI packet received {"connection_id":143231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":143231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:01:03] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:01:03] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:01:03] local.INFO: Packet analysis {"connection_id":143231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:01:03] local.INFO: Extracted packet for processing {"connection_id":143231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 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-07-25 03:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:01:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":143231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:01:03] local.INFO: GPS data processed {"connection_id":143231,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:01:03] local.INFO: Acknowledgment sent {"connection_id":143231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:01:35] local.INFO: TCP Data received {"connection_id":143231,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:01:35] local.INFO: Processing buffer {"connection_id":143231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:01:35] local.INFO: Packet analysis {"connection_id":143231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:01:35] local.INFO: Extracted packet for processing {"connection_id":143231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 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-07-25 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:01:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:01:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":143231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:01:35] local.INFO: GPS data processed {"connection_id":143231,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:01:35] local.INFO: Acknowledgment sent {"connection_id":143231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:01:57] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:01:57] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:01:57] local.INFO: IMEI packet received {"connection_id":141881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":141881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:02:02] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:02:02] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:02:02] local.INFO: IMEI packet received {"connection_id":141881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":141881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:02:03] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:02:03] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:02:03] local.INFO: Packet analysis {"connection_id":141881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:02:03] local.INFO: Extracted packet for processing {"connection_id":141881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 03:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:02:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":141881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:02:03] local.INFO: GPS data processed {"connection_id":141881,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:02:03] local.INFO: Acknowledgment sent {"connection_id":141881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:02:35] local.INFO: TCP Data received {"connection_id":141881,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:02:35] local.INFO: Processing buffer {"connection_id":141881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960667b0012d34c90006aa44e8001d00821d..."} 
[2026-07-25 03:02:35] local.INFO: Packet analysis {"connection_id":141881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:02:35] local.INFO: Extracted packet for processing {"connection_id":141881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9606"} 
[2026-07-25 03:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":29,"angle":130,"satellites":29,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928430000,"timestamp_ms":1784928430000,"timestamp_seconds":1784928430,"priority":1,"record_length":96,"hex_timestamp":"0000019f960667b0"} 
[2026-07-25 03:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941601024001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:02:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941601024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":141881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:02:35] local.INFO: GPS data processed {"connection_id":141881,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:02:35] local.INFO: Acknowledgment sent {"connection_id":141881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:02:57] local.INFO: TCP Data received {"connection_id":140822,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:02:57] local.INFO: Processing buffer {"connection_id":140822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:02:57] local.INFO: IMEI packet received {"connection_id":140822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":140822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:03:02] local.INFO: TCP Data received {"connection_id":140822,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:03:02] local.INFO: Processing buffer {"connection_id":140822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:03:02] local.INFO: IMEI packet received {"connection_id":140822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":140822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:03:03] local.INFO: TCP Data received {"connection_id":140822,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:03:03] local.INFO: Processing buffer {"connection_id":140822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:03:03] local.INFO: Packet analysis {"connection_id":140822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:03:03] local.INFO: Extracted packet for processing {"connection_id":140822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:03:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":140822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:03:03] local.INFO: GPS data processed {"connection_id":140822,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:03:03] local.INFO: Acknowledgment sent {"connection_id":140822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:03:35] local.INFO: TCP Data received {"connection_id":140822,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:03:35] local.INFO: Processing buffer {"connection_id":140822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:03:35] local.INFO: Packet analysis {"connection_id":140822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:03:35] local.INFO: Extracted packet for processing {"connection_id":140822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:03:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":140822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:03:35] local.INFO: GPS data processed {"connection_id":140822,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:03:35] local.INFO: Acknowledgment sent {"connection_id":140822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:03:57] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:03:57] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:03:57] local.INFO: IMEI packet received {"connection_id":140875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":140875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:04:02] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:04:02] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:04:02] local.INFO: IMEI packet received {"connection_id":140875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":140875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:04:03] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:03] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:03] local.INFO: Packet analysis {"connection_id":140875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:04:03] local.INFO: Extracted packet for processing {"connection_id":140875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:04:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":140875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:04:03] local.INFO: GPS data processed {"connection_id":140875,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:04:03] local.INFO: Acknowledgment sent {"connection_id":140875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:04:08] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:08] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:08] local.INFO: Packet analysis {"connection_id":140875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:04:08] local.INFO: Extracted packet for processing {"connection_id":140875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":140875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:04:08] local.INFO: GPS data processed {"connection_id":140875,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:04:08] local.INFO: Acknowledgment sent {"connection_id":140875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:04:39] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:39] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:04:39] local.INFO: Packet analysis {"connection_id":140875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:04:39] local.INFO: Extracted packet for processing {"connection_id":140875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":140875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:04:39] local.INFO: GPS data processed {"connection_id":140875,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:04:39] local.INFO: Acknowledgment sent {"connection_id":140875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:04:57] local.INFO: TCP Data received {"connection_id":140823,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:04:57] local.INFO: Processing buffer {"connection_id":140823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:04:57] local.INFO: IMEI packet received {"connection_id":140823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":140823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:05:02] local.INFO: TCP Data received {"connection_id":140823,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:05:02] local.INFO: Processing buffer {"connection_id":140823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:05:02] local.INFO: IMEI packet received {"connection_id":140823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":140823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:05:03] local.INFO: TCP Data received {"connection_id":140823,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:05:03] local.INFO: Processing buffer {"connection_id":140823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:05:03] local.INFO: Packet analysis {"connection_id":140823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:05:03] local.INFO: Extracted packet for processing {"connection_id":140823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:05:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":140823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:05:03] local.INFO: GPS data processed {"connection_id":140823,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:05:03] local.INFO: Acknowledgment sent {"connection_id":140823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:05:35] local.INFO: TCP Data received {"connection_id":140823,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:05:35] local.INFO: Processing buffer {"connection_id":140823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:05:35] local.INFO: Packet analysis {"connection_id":140823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:05:35] local.INFO: Extracted packet for processing {"connection_id":140823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:05:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:05:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":140823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:05:35] local.INFO: GPS data processed {"connection_id":140823,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:05:35] local.INFO: Acknowledgment sent {"connection_id":140823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:05:57] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:05:57] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:05:57] local.INFO: IMEI packet received {"connection_id":143232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":143232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:06:02] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:06:02] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:06:02] local.INFO: IMEI packet received {"connection_id":143232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":143232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:06:03] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:06:03] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:06:03] local.INFO: Packet analysis {"connection_id":143232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:06:03] local.INFO: Extracted packet for processing {"connection_id":143232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":143232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:06:03] local.INFO: GPS data processed {"connection_id":143232,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:06:03] local.INFO: Acknowledgment sent {"connection_id":143232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:06:34] local.INFO: TCP Data received {"connection_id":143232,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:06:34] local.INFO: Processing buffer {"connection_id":143232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:06:34] local.INFO: Packet analysis {"connection_id":143232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:06:34] local.INFO: Extracted packet for processing {"connection_id":143232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:06:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":143232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:06:34] local.INFO: GPS data processed {"connection_id":143232,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:06:34] local.INFO: Acknowledgment sent {"connection_id":143232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:06:57] local.INFO: TCP Data received {"connection_id":140824,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:06:57] local.INFO: Processing buffer {"connection_id":140824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:06:57] local.INFO: IMEI packet received {"connection_id":140824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":140824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:07:02] local.INFO: TCP Data received {"connection_id":140824,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:07:02] local.INFO: Processing buffer {"connection_id":140824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:07:02] local.INFO: IMEI packet received {"connection_id":140824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":140824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:07:03] local.INFO: TCP Data received {"connection_id":140824,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:07:03] local.INFO: Processing buffer {"connection_id":140824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:07:03] local.INFO: Packet analysis {"connection_id":140824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:07:03] local.INFO: Extracted packet for processing {"connection_id":140824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 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-07-25 03:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:07:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":140824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:07:03] local.INFO: GPS data processed {"connection_id":140824,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:07:03] local.INFO: Acknowledgment sent {"connection_id":140824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:07:35] local.INFO: TCP Data received {"connection_id":140824,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:07:35] local.INFO: Processing buffer {"connection_id":140824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960aff78012d34c90006aa44e80016008221..."} 
[2026-07-25 03:07:35] local.INFO: Packet analysis {"connection_id":140824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:07:35] local.INFO: Extracted packet for processing {"connection_id":140824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960a"} 
[2026-07-25 03:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941678080001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784928731000,"timestamp_ms":1784928731000,"timestamp_seconds":1784928731,"priority":1,"record_length":96,"hex_timestamp":"0000019f960aff78"} 
[2026-07-25 03:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941678080001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941678080001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:07:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:07:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941678080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":140824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:07:35] local.INFO: GPS data processed {"connection_id":140824,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:07:35] local.INFO: Acknowledgment sent {"connection_id":140824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:07:57] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:07:57] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:07:57] local.INFO: IMEI packet received {"connection_id":140876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":140876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:08:02] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:08:02] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:08:02] local.INFO: IMEI packet received {"connection_id":140876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":140876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:08:04] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:08:04] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:08:04] local.INFO: Packet analysis {"connection_id":140876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:08:04] local.INFO: Extracted packet for processing {"connection_id":140876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:08:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:08:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":140876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:08:04] local.INFO: GPS data processed {"connection_id":140876,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:08:04] local.INFO: Acknowledgment sent {"connection_id":140876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:08:36] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:08:36] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:08:36] local.INFO: Packet analysis {"connection_id":140876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:08:36] local.INFO: Extracted packet for processing {"connection_id":140876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:08:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:08:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":140876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:08:36] local.INFO: GPS data processed {"connection_id":140876,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:08:36] local.INFO: Acknowledgment sent {"connection_id":140876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:08:58] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:08:58] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:08:58] local.INFO: IMEI packet received {"connection_id":140877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":140877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:09:02] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:09:02] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:09:02] local.INFO: IMEI packet received {"connection_id":140877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":140877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:09:03] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:03] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:03] local.INFO: Packet analysis {"connection_id":140877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:09:03] local.INFO: Extracted packet for processing {"connection_id":140877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 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-07-25 03:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:09:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":140877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:09:03] local.INFO: GPS data processed {"connection_id":140877,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:09:03] local.INFO: Acknowledgment sent {"connection_id":140877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:09:07] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:07] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:07] local.INFO: Packet analysis {"connection_id":140877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:09:07] local.INFO: Extracted packet for processing {"connection_id":140877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:09:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:09:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":140877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:09:08] local.INFO: GPS data processed {"connection_id":140877,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:09:08] local.INFO: Acknowledgment sent {"connection_id":140877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:09:39] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:39] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:09:39] local.INFO: Packet analysis {"connection_id":140877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:09:39] local.INFO: Extracted packet for processing {"connection_id":140877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:09:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:09:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":140877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:09:39] local.INFO: GPS data processed {"connection_id":140877,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:09:39] local.INFO: Acknowledgment sent {"connection_id":140877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:09:57] local.INFO: TCP Data received {"connection_id":140825,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:09:57] local.INFO: Processing buffer {"connection_id":140825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:09:57] local.INFO: IMEI packet received {"connection_id":140825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":140825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:10:02] local.INFO: TCP Data received {"connection_id":140825,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:10:02] local.INFO: Processing buffer {"connection_id":140825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:10:02] local.INFO: IMEI packet received {"connection_id":140825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":140825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:10:03] local.INFO: TCP Data received {"connection_id":140825,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:10:03] local.INFO: Processing buffer {"connection_id":140825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:10:03] local.INFO: Packet analysis {"connection_id":140825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:10:03] local.INFO: Extracted packet for processing {"connection_id":140825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:10:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":140825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:10:03] local.INFO: GPS data processed {"connection_id":140825,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:10:03] local.INFO: Acknowledgment sent {"connection_id":140825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:10:34] local.INFO: TCP Data received {"connection_id":140825,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:10:34] local.INFO: Processing buffer {"connection_id":140825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:10:34] local.INFO: Packet analysis {"connection_id":140825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:10:34] local.INFO: Extracted packet for processing {"connection_id":140825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 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-07-25 03:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:10:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":140825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:10:34] local.INFO: GPS data processed {"connection_id":140825,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:10:34] local.INFO: Acknowledgment sent {"connection_id":140825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:10:57] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:10:57] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:10:57] local.INFO: IMEI packet received {"connection_id":141882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":141882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:11:02] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:11:02] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:11:02] local.INFO: IMEI packet received {"connection_id":141882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:11:03] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:11:03] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:11:03] local.INFO: Packet analysis {"connection_id":141882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:11:03] local.INFO: Extracted packet for processing {"connection_id":141882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:11:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":141882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:11:03] local.INFO: GPS data processed {"connection_id":141882,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:11:03] local.INFO: Acknowledgment sent {"connection_id":141882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:11:35] local.INFO: TCP Data received {"connection_id":141882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:11:35] local.INFO: Processing buffer {"connection_id":141882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:11:35] local.INFO: Packet analysis {"connection_id":141882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:11:35] local.INFO: Extracted packet for processing {"connection_id":141882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:11:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":141882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:11:35] local.INFO: GPS data processed {"connection_id":141882,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:11:35] local.INFO: Acknowledgment sent {"connection_id":141882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:11:56] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:11:56] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:11:56] local.INFO: IMEI packet received {"connection_id":140878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":140878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:12:02] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:12:02] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:12:02] local.INFO: IMEI packet received {"connection_id":140878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":140878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:12:03] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:12:03] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:12:03] local.INFO: Packet analysis {"connection_id":140878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:12:03] local.INFO: Extracted packet for processing {"connection_id":140878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":140878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:12:03] local.INFO: GPS data processed {"connection_id":140878,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:12:03] local.INFO: Acknowledgment sent {"connection_id":140878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:12:34] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:12:34] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f960f9740012d34c90006aa44e80016008223..."} 
[2026-07-25 03:12:34] local.INFO: Packet analysis {"connection_id":140878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:12:34] local.INFO: Extracted packet for processing {"connection_id":140878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f960f"} 
[2026-07-25 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941755136001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784929032000,"timestamp_ms":1784929032000,"timestamp_seconds":1784929032,"priority":1,"record_length":96,"hex_timestamp":"0000019f960f9740"} 
[2026-07-25 03:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941755136001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941755136001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941755136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":140878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:12:34] local.INFO: GPS data processed {"connection_id":140878,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:12:34] local.INFO: Acknowledgment sent {"connection_id":140878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:12:57] local.INFO: TCP Data received {"connection_id":140826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:12:57] local.INFO: Processing buffer {"connection_id":140826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:12:57] local.INFO: IMEI packet received {"connection_id":140826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":140826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:13:02] local.INFO: TCP Data received {"connection_id":140826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:13:02] local.INFO: Processing buffer {"connection_id":140826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:13:02] local.INFO: IMEI packet received {"connection_id":140826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":140826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:13:03] local.INFO: TCP Data received {"connection_id":140826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:13:03] local.INFO: Processing buffer {"connection_id":140826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:13:03] local.INFO: Packet analysis {"connection_id":140826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:13:03] local.INFO: Extracted packet for processing {"connection_id":140826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:13:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":140826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:13:03] local.INFO: GPS data processed {"connection_id":140826,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:13:03] local.INFO: Acknowledgment sent {"connection_id":140826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:13:35] local.INFO: TCP Data received {"connection_id":140826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:13:35] local.INFO: Processing buffer {"connection_id":140826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:13:35] local.INFO: Packet analysis {"connection_id":140826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:13:35] local.INFO: Extracted packet for processing {"connection_id":140826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:13:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:13:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":140826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:13:35] local.INFO: GPS data processed {"connection_id":140826,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:13:35] local.INFO: Acknowledgment sent {"connection_id":140826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:13:57] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:13:57] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:13:57] local.INFO: IMEI packet received {"connection_id":141883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":141883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:14:02] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:14:02] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:14:02] local.INFO: IMEI packet received {"connection_id":141883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":141883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:14:04] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:14:04] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:14:04] local.INFO: Packet analysis {"connection_id":141883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:14:04] local.INFO: Extracted packet for processing {"connection_id":141883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:14:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:14:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":141883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:14:04] local.INFO: GPS data processed {"connection_id":141883,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:14:04] local.INFO: Acknowledgment sent {"connection_id":141883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:14:35] local.INFO: TCP Data received {"connection_id":141883,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:14:35] local.INFO: Processing buffer {"connection_id":141883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:14:35] local.INFO: Packet analysis {"connection_id":141883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:14:35] local.INFO: Extracted packet for processing {"connection_id":141883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:14:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:14:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":141883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:14:35] local.INFO: GPS data processed {"connection_id":141883,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:14:35] local.INFO: Acknowledgment sent {"connection_id":141883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:14:57] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:14:57] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:14:57] local.INFO: IMEI packet received {"connection_id":143233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":143233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:15:02] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:15:02] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:15:02] local.INFO: IMEI packet received {"connection_id":143233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":143233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:15:03] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:15:03] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:15:03] local.INFO: Packet analysis {"connection_id":143233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:15:03] local.INFO: Extracted packet for processing {"connection_id":143233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":143233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:15:03] local.INFO: GPS data processed {"connection_id":143233,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:15:03] local.INFO: Acknowledgment sent {"connection_id":143233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:15:34] local.INFO: TCP Data received {"connection_id":143233,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:15:34] local.INFO: Processing buffer {"connection_id":143233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:15:34] local.INFO: Packet analysis {"connection_id":143233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:15:34] local.INFO: Extracted packet for processing {"connection_id":143233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:15:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":143233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:15:34] local.INFO: GPS data processed {"connection_id":143233,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:15:34] local.INFO: Acknowledgment sent {"connection_id":143233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:15:56] local.INFO: TCP Data received {"connection_id":140827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:15:56] local.INFO: Processing buffer {"connection_id":140827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:15:56] local.INFO: IMEI packet received {"connection_id":140827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":140827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:16:02] local.INFO: TCP Data received {"connection_id":140827,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:16:02] local.INFO: Processing buffer {"connection_id":140827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:16:02] local.INFO: IMEI packet received {"connection_id":140827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":140827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:16:03] local.INFO: TCP Data received {"connection_id":140827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:16:03] local.INFO: Processing buffer {"connection_id":140827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:16:03] local.INFO: Packet analysis {"connection_id":140827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:16:03] local.INFO: Extracted packet for processing {"connection_id":140827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:16:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":140827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:16:03] local.INFO: GPS data processed {"connection_id":140827,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:16:03] local.INFO: Acknowledgment sent {"connection_id":140827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:16:34] local.INFO: TCP Data received {"connection_id":140827,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:16:34] local.INFO: Processing buffer {"connection_id":140827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:16:34] local.INFO: Packet analysis {"connection_id":140827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:16:34] local.INFO: Extracted packet for processing {"connection_id":140827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:16:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":140827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:16:34] local.INFO: GPS data processed {"connection_id":140827,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:16:34] local.INFO: Acknowledgment sent {"connection_id":140827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:16:57] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:16:57] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:16:57] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:17:02] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:17:02] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:17:02] local.INFO: IMEI packet received {"connection_id":143234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":143234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:17:03] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:17:03] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:17:03] local.INFO: Packet analysis {"connection_id":143234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:17:03] local.INFO: Extracted packet for processing {"connection_id":143234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:17:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":143234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:17:03] local.INFO: GPS data processed {"connection_id":143234,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:17:03] local.INFO: Acknowledgment sent {"connection_id":143234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:17:35] local.INFO: TCP Data received {"connection_id":143234,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:17:35] local.INFO: Processing buffer {"connection_id":143234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96142f08012d34c90006aa44e80016008222..."} 
[2026-07-25 03:17:35] local.INFO: Packet analysis {"connection_id":143234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:17:35] local.INFO: Extracted packet for processing {"connection_id":143234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9614"} 
[2026-07-25 03:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":22,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941832192001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929333000,"timestamp_ms":1784929333000,"timestamp_seconds":1784929333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96142f08"} 
[2026-07-25 03:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941832192001,"66":25430,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941832192001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:17:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:17:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941832192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":143234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:17:35] local.INFO: GPS data processed {"connection_id":143234,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:17:35] local.INFO: Acknowledgment sent {"connection_id":143234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:18:02] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:02] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:02] local.INFO: IMEI packet received {"connection_id":141884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":141884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:18:07] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:07] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:07] local.INFO: IMEI packet received {"connection_id":141884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":141884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:18:08] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:18:08] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:18:08] local.INFO: Packet analysis {"connection_id":141884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:18:08] local.INFO: Extracted packet for processing {"connection_id":141884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":141884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:18:08] local.INFO: GPS data processed {"connection_id":141884,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:18:08] local.INFO: Acknowledgment sent {"connection_id":141884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:18:13] local.INFO: TCP Data received {"connection_id":141884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:18:13] local.INFO: Processing buffer {"connection_id":141884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:18:13] local.INFO: Packet analysis {"connection_id":141884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:18:13] local.INFO: Extracted packet for processing {"connection_id":141884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:18:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":141884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:18:13] local.INFO: GPS data processed {"connection_id":141884,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:18:13] local.INFO: Acknowledgment sent {"connection_id":141884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:18:57] local.INFO: TCP Data received {"connection_id":140828,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:57] local.INFO: Processing buffer {"connection_id":140828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:18:57] local.INFO: IMEI packet received {"connection_id":140828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":140828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:19:02] local.INFO: TCP Data received {"connection_id":140828,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:19:02] local.INFO: Processing buffer {"connection_id":140828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:19:02] local.INFO: IMEI packet received {"connection_id":140828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":140828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:19:03] local.INFO: TCP Data received {"connection_id":140828,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:19:03] local.INFO: Processing buffer {"connection_id":140828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:19:03] local.INFO: Packet analysis {"connection_id":140828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:19:03] local.INFO: Extracted packet for processing {"connection_id":140828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:19:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":140828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:19:03] local.INFO: GPS data processed {"connection_id":140828,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:19:03] local.INFO: Acknowledgment sent {"connection_id":140828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:19:36] local.INFO: TCP Data received {"connection_id":140828,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:19:36] local.INFO: Processing buffer {"connection_id":140828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:19:36] local.INFO: Packet analysis {"connection_id":140828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:19:36] local.INFO: Extracted packet for processing {"connection_id":140828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:19:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:19:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":140828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:19:36] local.INFO: GPS data processed {"connection_id":140828,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:19:36] local.INFO: Acknowledgment sent {"connection_id":140828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:19:57] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:19:57] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:19:57] local.INFO: IMEI packet received {"connection_id":140879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":140879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:20:02] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:20:02] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:20:02] local.INFO: IMEI packet received {"connection_id":140879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":140879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:20:03] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:20:03] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:20:03] local.INFO: Packet analysis {"connection_id":140879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:20:03] local.INFO: Extracted packet for processing {"connection_id":140879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:20:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":140879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:20:03] local.INFO: GPS data processed {"connection_id":140879,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:20:03] local.INFO: Acknowledgment sent {"connection_id":140879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:20:35] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:20:35] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:20:35] local.INFO: Packet analysis {"connection_id":140879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:20:35] local.INFO: Extracted packet for processing {"connection_id":140879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:20:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:20:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":140879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:20:35] local.INFO: GPS data processed {"connection_id":140879,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:20:35] local.INFO: Acknowledgment sent {"connection_id":140879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:20:57] local.INFO: TCP Data received {"connection_id":140829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:20:57] local.INFO: Processing buffer {"connection_id":140829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:20:57] local.INFO: IMEI packet received {"connection_id":140829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":140829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:21:02] local.INFO: TCP Data received {"connection_id":140829,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:21:02] local.INFO: Processing buffer {"connection_id":140829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:21:02] local.INFO: IMEI packet received {"connection_id":140829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":140829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:21:03] local.INFO: TCP Data received {"connection_id":140829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:21:03] local.INFO: Processing buffer {"connection_id":140829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:21:03] local.INFO: Packet analysis {"connection_id":140829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:21:03] local.INFO: Extracted packet for processing {"connection_id":140829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:21:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":140829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:21:03] local.INFO: GPS data processed {"connection_id":140829,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:21:03] local.INFO: Acknowledgment sent {"connection_id":140829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:21:34] local.INFO: TCP Data received {"connection_id":140829,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:21:34] local.INFO: Processing buffer {"connection_id":140829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:21:34] local.INFO: Packet analysis {"connection_id":140829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:21:34] local.INFO: Extracted packet for processing {"connection_id":140829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:21:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":140829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:21:34] local.INFO: GPS data processed {"connection_id":140829,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:21:34] local.INFO: Acknowledgment sent {"connection_id":140829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:22:02] local.INFO: TCP Data received {"connection_id":143235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:02] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:02] local.INFO: IMEI packet received {"connection_id":143235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":143235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:22:07] local.INFO: TCP Data received {"connection_id":143235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:07] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:07] local.INFO: IMEI packet received {"connection_id":143235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":143235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:22:08] local.INFO: TCP Data received {"connection_id":143235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:22:08] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:22:08] local.INFO: Packet analysis {"connection_id":143235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:22:08] local.INFO: Extracted packet for processing {"connection_id":143235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":143235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:22:08] local.INFO: GPS data processed {"connection_id":143235,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:22:08] local.INFO: Acknowledgment sent {"connection_id":143235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:22:13] local.INFO: TCP Data received {"connection_id":143235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:22:13] local.INFO: Processing buffer {"connection_id":143235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9618c6d0012d34c90006aa44e80011008220..."} 
[2026-07-25 03:22:13] local.INFO: Packet analysis {"connection_id":143235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:22:13] local.INFO: Extracted packet for processing {"connection_id":143235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9618"} 
[2026-07-25 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941909248001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784929634000,"timestamp_ms":1784929634000,"timestamp_seconds":1784929634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9618c6d0"} 
[2026-07-25 03:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 03:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941909248001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941909248001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941909248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":143235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:22:13] local.INFO: GPS data processed {"connection_id":143235,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:22:13] local.INFO: Acknowledgment sent {"connection_id":143235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:22:57] local.INFO: TCP Data received {"connection_id":141885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:57] local.INFO: Processing buffer {"connection_id":141885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:22:57] local.INFO: IMEI packet received {"connection_id":141885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":141885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:23:02] local.INFO: TCP Data received {"connection_id":141885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:23:02] local.INFO: Processing buffer {"connection_id":141885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:23:02] local.INFO: IMEI packet received {"connection_id":141885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":141885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:23:03] local.INFO: TCP Data received {"connection_id":141885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:23:03] local.INFO: Processing buffer {"connection_id":141885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:23:03] local.INFO: Packet analysis {"connection_id":141885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:23:03] local.INFO: Extracted packet for processing {"connection_id":141885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:23:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":141885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:23:03] local.INFO: GPS data processed {"connection_id":141885,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:23:03] local.INFO: Acknowledgment sent {"connection_id":141885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:23:35] local.INFO: TCP Data received {"connection_id":141885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:23:35] local.INFO: Processing buffer {"connection_id":141885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:23:35] local.INFO: Packet analysis {"connection_id":141885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:23:35] local.INFO: Extracted packet for processing {"connection_id":141885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:23:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:23:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":141885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:23:35] local.INFO: GPS data processed {"connection_id":141885,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:23:35] local.INFO: Acknowledgment sent {"connection_id":141885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:23:57] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:23:57] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:23:57] local.INFO: IMEI packet received {"connection_id":140880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":140880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:24:02] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:24:02] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:24:02] local.INFO: IMEI packet received {"connection_id":140880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":140880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:24:03] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:24:03] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:24:03] local.INFO: Packet analysis {"connection_id":140880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:24:03] local.INFO: Extracted packet for processing {"connection_id":140880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:24:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":140880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:24:03] local.INFO: GPS data processed {"connection_id":140880,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:24:03] local.INFO: Acknowledgment sent {"connection_id":140880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:24:35] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:24:35] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:24:35] local.INFO: Packet analysis {"connection_id":140880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:24:35] local.INFO: Extracted packet for processing {"connection_id":140880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:24:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:24:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":140880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:24:35] local.INFO: GPS data processed {"connection_id":140880,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:24:35] local.INFO: Acknowledgment sent {"connection_id":140880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:24:57] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:24:57] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:24:57] local.INFO: IMEI packet received {"connection_id":140830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":140830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:25:02] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:25:02] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:25:02] local.INFO: IMEI packet received {"connection_id":140830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":140830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:25:03] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:25:03] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:25:03] local.INFO: Packet analysis {"connection_id":140830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:25:03] local.INFO: Extracted packet for processing {"connection_id":140830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:25:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":140830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:25:03] local.INFO: GPS data processed {"connection_id":140830,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:25:03] local.INFO: Acknowledgment sent {"connection_id":140830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:25:34] local.INFO: TCP Data received {"connection_id":140830,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:25:34] local.INFO: Processing buffer {"connection_id":140830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:25:34] local.INFO: Packet analysis {"connection_id":140830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:25:34] local.INFO: Extracted packet for processing {"connection_id":140830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 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-07-25 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:25:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":140830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:25:34] local.INFO: GPS data processed {"connection_id":140830,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:25:34] local.INFO: Acknowledgment sent {"connection_id":140830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:26:02] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:02] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:02] local.INFO: IMEI packet received {"connection_id":140881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:26:07] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:07] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:07] local.INFO: IMEI packet received {"connection_id":140881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":140881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:26:08] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:26:08] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:26:08] local.INFO: Packet analysis {"connection_id":140881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:26:08] local.INFO: Extracted packet for processing {"connection_id":140881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":140881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:26:08] local.INFO: GPS data processed {"connection_id":140881,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:26:08] local.INFO: Acknowledgment sent {"connection_id":140881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:26:13] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:26:13] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:26:13] local.INFO: Packet analysis {"connection_id":140881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:26:13] local.INFO: Extracted packet for processing {"connection_id":140881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:26:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":140881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:26:13] local.INFO: GPS data processed {"connection_id":140881,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:26:13] local.INFO: Acknowledgment sent {"connection_id":140881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:26:57] local.INFO: TCP Data received {"connection_id":141886,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:57] local.INFO: Processing buffer {"connection_id":141886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:26:57] local.INFO: IMEI packet received {"connection_id":141886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":141886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:27:02] local.INFO: TCP Data received {"connection_id":141886,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:02] local.INFO: Processing buffer {"connection_id":141886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:02] local.INFO: IMEI packet received {"connection_id":141886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":141886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:27:03] local.INFO: TCP Data received {"connection_id":141886,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:27:03] local.INFO: Processing buffer {"connection_id":141886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:27:03] local.INFO: Packet analysis {"connection_id":141886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:27:03] local.INFO: Extracted packet for processing {"connection_id":141886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:27:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":141886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:27:03] local.INFO: GPS data processed {"connection_id":141886,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:27:03] local.INFO: Acknowledgment sent {"connection_id":141886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:27:35] local.INFO: TCP Data received {"connection_id":141886,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:27:35] local.INFO: Processing buffer {"connection_id":141886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f961d5e98012d34c90006aa44e80011008224..."} 
[2026-07-25 03:27:35] local.INFO: Packet analysis {"connection_id":141886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:27:35] local.INFO: Extracted packet for processing {"connection_id":141886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f961d"} 
[2026-07-25 03:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":17,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456941986304001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784929935000,"timestamp_ms":1784929935000,"timestamp_seconds":1784929935,"priority":1,"record_length":96,"hex_timestamp":"0000019f961d5e98"} 
[2026-07-25 03:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456941986304001,"66":25419,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456941986304001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:27:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:27:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456941986304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":141886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:27:35] local.INFO: GPS data processed {"connection_id":141886,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:27:35] local.INFO: Acknowledgment sent {"connection_id":141886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:27:54] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:54] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:54] local.INFO: IMEI packet received {"connection_id":140831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":140831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:27:57] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:57] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:27:57] local.INFO: IMEI packet received {"connection_id":140831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":140831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:28:02] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:28:02] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:28:02] local.INFO: IMEI packet received {"connection_id":140831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":140831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:28:03] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:28:03] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:28:03] local.INFO: Packet analysis {"connection_id":140831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:28:03] local.INFO: Extracted packet for processing {"connection_id":140831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:28:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":140831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:28:03] local.INFO: GPS data processed {"connection_id":140831,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:28:03] local.INFO: Acknowledgment sent {"connection_id":140831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:28:35] local.INFO: TCP Data received {"connection_id":140831,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:28:35] local.INFO: Processing buffer {"connection_id":140831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:28:35] local.INFO: Packet analysis {"connection_id":140831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:28:35] local.INFO: Extracted packet for processing {"connection_id":140831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:28:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:28:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":140831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:28:35] local.INFO: GPS data processed {"connection_id":140831,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:28:35] local.INFO: Acknowledgment sent {"connection_id":140831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:29:02] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:02] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:02] local.INFO: IMEI packet received {"connection_id":143236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":143236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:29:07] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:07] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:07] local.INFO: IMEI packet received {"connection_id":143236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":143236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:29:08] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:29:08] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:29:08] local.INFO: Packet analysis {"connection_id":143236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:29:08] local.INFO: Extracted packet for processing {"connection_id":143236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":143236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:29:08] local.INFO: GPS data processed {"connection_id":143236,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:29:08] local.INFO: Acknowledgment sent {"connection_id":143236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:29:12] local.INFO: TCP Data received {"connection_id":143236,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:29:12] local.INFO: Processing buffer {"connection_id":143236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:29:12] local.INFO: Packet analysis {"connection_id":143236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:29:12] local.INFO: Extracted packet for processing {"connection_id":143236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:29:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:29:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":143236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:29:12] local.INFO: GPS data processed {"connection_id":143236,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:29:12] local.INFO: Acknowledgment sent {"connection_id":143236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:29:57] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:57] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:29:57] local.INFO: IMEI packet received {"connection_id":140882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":140882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:30:02] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:30:02] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:30:02] local.INFO: IMEI packet received {"connection_id":140882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":140882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:30:04] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:30:04] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:30:04] local.INFO: Packet analysis {"connection_id":140882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:30:04] local.INFO: Extracted packet for processing {"connection_id":140882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":140882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:30:04] local.INFO: GPS data processed {"connection_id":140882,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:30:04] local.INFO: Acknowledgment sent {"connection_id":140882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:30:35] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:30:35] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:30:35] local.INFO: Packet analysis {"connection_id":140882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:30:35] local.INFO: Extracted packet for processing {"connection_id":140882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:30:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:30:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":140882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:30:35] local.INFO: GPS data processed {"connection_id":140882,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:30:35] local.INFO: Acknowledgment sent {"connection_id":140882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:30:57] local.INFO: TCP Data received {"connection_id":141887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:30:57] local.INFO: Processing buffer {"connection_id":141887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:30:57] local.INFO: IMEI packet received {"connection_id":141887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":141887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:31:02] local.INFO: TCP Data received {"connection_id":141887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:31:02] local.INFO: Processing buffer {"connection_id":141887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:31:02] local.INFO: IMEI packet received {"connection_id":141887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":141887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:31:03] local.INFO: TCP Data received {"connection_id":141887,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:31:03] local.INFO: Processing buffer {"connection_id":141887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:31:03] local.INFO: Packet analysis {"connection_id":141887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:31:03] local.INFO: Extracted packet for processing {"connection_id":141887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:31:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":141887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:31:03] local.INFO: GPS data processed {"connection_id":141887,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:31:03] local.INFO: Acknowledgment sent {"connection_id":141887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:31:34] local.INFO: TCP Data received {"connection_id":141887,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:31:34] local.INFO: Processing buffer {"connection_id":141887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:31:34] local.INFO: Packet analysis {"connection_id":141887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:31:34] local.INFO: Extracted packet for processing {"connection_id":141887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:31:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":141887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:31:34] local.INFO: GPS data processed {"connection_id":141887,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:31:34] local.INFO: Acknowledgment sent {"connection_id":141887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:31:57] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:31:57] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:31:57] local.INFO: IMEI packet received {"connection_id":143237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":143237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:32:02] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:32:02] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:32:02] local.INFO: IMEI packet received {"connection_id":143237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":143237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:32:03] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:32:03] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:32:03] local.INFO: Packet analysis {"connection_id":143237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:32:03] local.INFO: Extracted packet for processing {"connection_id":143237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 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-07-25 03:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":143237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:32:03] local.INFO: GPS data processed {"connection_id":143237,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:32:03] local.INFO: Acknowledgment sent {"connection_id":143237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:32:35] local.INFO: TCP Data received {"connection_id":143237,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:32:35] local.INFO: Processing buffer {"connection_id":143237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9621f660012d34c90006aa44e80019008224..."} 
[2026-07-25 03:32:35] local.INFO: Packet analysis {"connection_id":143237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:32:35] local.INFO: Extracted packet for processing {"connection_id":143237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9621"} 
[2026-07-25 03:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":25,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942063360001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930236000,"timestamp_ms":1784930236000,"timestamp_seconds":1784930236,"priority":1,"record_length":96,"hex_timestamp":"0000019f9621f660"} 
[2026-07-25 03:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 03:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942063360001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942063360001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:32:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942063360001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":143237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:32:35] local.INFO: GPS data processed {"connection_id":143237,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:32:35] local.INFO: Acknowledgment sent {"connection_id":143237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:32:57] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:32:57] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:32:57] local.INFO: IMEI packet received {"connection_id":140832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":140832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:33:02] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:33:02] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:33:02] local.INFO: IMEI packet received {"connection_id":140832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":140832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:33:03] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:33:04] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:33:04] local.INFO: Packet analysis {"connection_id":140832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:33:04] local.INFO: Extracted packet for processing {"connection_id":140832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:33:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":140832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:33:04] local.INFO: GPS data processed {"connection_id":140832,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:33:04] local.INFO: Acknowledgment sent {"connection_id":140832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:33:35] local.INFO: TCP Data received {"connection_id":140832,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:33:35] local.INFO: Processing buffer {"connection_id":140832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:33:35] local.INFO: Packet analysis {"connection_id":140832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:33:35] local.INFO: Extracted packet for processing {"connection_id":140832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:33:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":140832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:33:35] local.INFO: GPS data processed {"connection_id":140832,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:33:35] local.INFO: Acknowledgment sent {"connection_id":140832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:34:02] local.INFO: TCP Data received {"connection_id":141888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:02] local.INFO: Processing buffer {"connection_id":141888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:02] local.INFO: IMEI packet received {"connection_id":141888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":141888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:34:07] local.INFO: TCP Data received {"connection_id":141888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:07] local.INFO: Processing buffer {"connection_id":141888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:07] local.INFO: IMEI packet received {"connection_id":141888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":141888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:34:08] local.INFO: TCP Data received {"connection_id":141888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:34:08] local.INFO: Processing buffer {"connection_id":141888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:34:08] local.INFO: Packet analysis {"connection_id":141888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:34:08] local.INFO: Extracted packet for processing {"connection_id":141888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":141888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:34:08] local.INFO: GPS data processed {"connection_id":141888,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:34:08] local.INFO: Acknowledgment sent {"connection_id":141888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:34:13] local.INFO: TCP Data received {"connection_id":141888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:34:13] local.INFO: Processing buffer {"connection_id":141888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:34:13] local.INFO: Packet analysis {"connection_id":141888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:34:13] local.INFO: Extracted packet for processing {"connection_id":141888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:34: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-07-25 03:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:34:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":141888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:34:13] local.INFO: GPS data processed {"connection_id":141888,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:34:13] local.INFO: Acknowledgment sent {"connection_id":141888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:34:57] local.INFO: TCP Data received {"connection_id":140833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:57] local.INFO: Processing buffer {"connection_id":140833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:34:57] local.INFO: IMEI packet received {"connection_id":140833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":140833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:35:02] local.INFO: TCP Data received {"connection_id":140833,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:35:02] local.INFO: Processing buffer {"connection_id":140833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:35:02] local.INFO: IMEI packet received {"connection_id":140833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":140833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:35:03] local.INFO: TCP Data received {"connection_id":140833,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:35:03] local.INFO: Processing buffer {"connection_id":140833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:35:03] local.INFO: Packet analysis {"connection_id":140833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:35:03] local.INFO: Extracted packet for processing {"connection_id":140833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:35:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":140833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:35:03] local.INFO: GPS data processed {"connection_id":140833,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:35:03] local.INFO: Acknowledgment sent {"connection_id":140833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:35:35] local.INFO: TCP Data received {"connection_id":140833,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:35:35] local.INFO: Processing buffer {"connection_id":140833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:35:35] local.INFO: Packet analysis {"connection_id":140833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:35:35] local.INFO: Extracted packet for processing {"connection_id":140833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:35:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:35:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":140833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:35:35] local.INFO: GPS data processed {"connection_id":140833,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:35:35] local.INFO: Acknowledgment sent {"connection_id":140833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:35:57] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:35:57] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:35:57] local.INFO: IMEI packet received {"connection_id":140883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":140883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:36:02] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:36:02] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:36:02] local.INFO: IMEI packet received {"connection_id":140883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":140883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:36:03] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:36:03] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:36:03] local.INFO: Packet analysis {"connection_id":140883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:36:03] local.INFO: Extracted packet for processing {"connection_id":140883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:36:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":140883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:36:03] local.INFO: GPS data processed {"connection_id":140883,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:36:03] local.INFO: Acknowledgment sent {"connection_id":140883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:36:34] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:36:34] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:36:34] local.INFO: Packet analysis {"connection_id":140883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:36:34] local.INFO: Extracted packet for processing {"connection_id":140883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:36:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":140883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:36:34] local.INFO: GPS data processed {"connection_id":140883,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:36:34] local.INFO: Acknowledgment sent {"connection_id":140883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:36:56] local.INFO: TCP Data received {"connection_id":141889,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:36:56] local.INFO: Processing buffer {"connection_id":141889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:36:56] local.INFO: IMEI packet received {"connection_id":141889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":141889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:37:02] local.INFO: TCP Data received {"connection_id":141889,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:02] local.INFO: Processing buffer {"connection_id":141889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:02] local.INFO: IMEI packet received {"connection_id":141889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":141889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:37:03] local.INFO: TCP Data received {"connection_id":141889,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:37:03] local.INFO: Processing buffer {"connection_id":141889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:37:03] local.INFO: Packet analysis {"connection_id":141889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:37:03] local.INFO: Extracted packet for processing {"connection_id":141889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:37:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":141889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:37:03] local.INFO: GPS data processed {"connection_id":141889,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:37:03] local.INFO: Acknowledgment sent {"connection_id":141889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:37:34] local.INFO: TCP Data received {"connection_id":141889,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:37:34] local.INFO: Processing buffer {"connection_id":141889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96268e28012d34c90006aa44e80010008222..."} 
[2026-07-25 03:37:34] local.INFO: Packet analysis {"connection_id":141889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:37:34] local.INFO: Extracted packet for processing {"connection_id":141889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9626"} 
[2026-07-25 03:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942140416001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784930537000,"timestamp_ms":1784930537000,"timestamp_seconds":1784930537,"priority":1,"record_length":96,"hex_timestamp":"0000019f96268e28"} 
[2026-07-25 03:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942140416001,"66":25441,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942140416001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942140416001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":141889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:37:35] local.INFO: GPS data processed {"connection_id":141889,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:37:35] local.INFO: Acknowledgment sent {"connection_id":141889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:37:56] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:56] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:56] local.INFO: IMEI packet received {"connection_id":140884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":140884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:37:57] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:57] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:37:57] local.INFO: IMEI packet received {"connection_id":140884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":140884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:38:02] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:38:02] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:38:02] local.INFO: IMEI packet received {"connection_id":140884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":140884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:38:03] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:38:03] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:38:03] local.INFO: Packet analysis {"connection_id":140884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:38:03] local.INFO: Extracted packet for processing {"connection_id":140884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:38:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:38:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":140884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:38:03] local.INFO: GPS data processed {"connection_id":140884,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:38:03] local.INFO: Acknowledgment sent {"connection_id":140884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:38:34] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:38:34] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:38:34] local.INFO: Packet analysis {"connection_id":140884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:38:34] local.INFO: Extracted packet for processing {"connection_id":140884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":140884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:38:34] local.INFO: GPS data processed {"connection_id":140884,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:38:34] local.INFO: Acknowledgment sent {"connection_id":140884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:38:57] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:38:57] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:38:57] local.INFO: IMEI packet received {"connection_id":140834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":140834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:39:02] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:39:02] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:39:02] local.INFO: IMEI packet received {"connection_id":140834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":140834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:39:03] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:39:03] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:39:03] local.INFO: Packet analysis {"connection_id":140834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:39:03] local.INFO: Extracted packet for processing {"connection_id":140834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:39:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":140834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:39:03] local.INFO: GPS data processed {"connection_id":140834,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:39:03] local.INFO: Acknowledgment sent {"connection_id":140834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:39:34] local.INFO: TCP Data received {"connection_id":140834,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:39:34] local.INFO: Processing buffer {"connection_id":140834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:39:34] local.INFO: Packet analysis {"connection_id":140834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:39:34] local.INFO: Extracted packet for processing {"connection_id":140834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:39:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":140834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:39:34] local.INFO: GPS data processed {"connection_id":140834,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:39:34] local.INFO: Acknowledgment sent {"connection_id":140834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:39:57] local.INFO: TCP Data received {"connection_id":141890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:39:57] local.INFO: Processing buffer {"connection_id":141890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:39:57] local.INFO: IMEI packet received {"connection_id":141890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":141890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:40:02] local.INFO: TCP Data received {"connection_id":141890,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:40:02] local.INFO: Processing buffer {"connection_id":141890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:40:02] local.INFO: IMEI packet received {"connection_id":141890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":141890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:40:03] local.INFO: TCP Data received {"connection_id":141890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:40:03] local.INFO: Processing buffer {"connection_id":141890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:40:03] local.INFO: Packet analysis {"connection_id":141890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:40:03] local.INFO: Extracted packet for processing {"connection_id":141890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:40:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":141890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:40:03] local.INFO: GPS data processed {"connection_id":141890,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:40:03] local.INFO: Acknowledgment sent {"connection_id":141890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:40:35] local.INFO: TCP Data received {"connection_id":141890,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:40:35] local.INFO: Processing buffer {"connection_id":141890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:40:35] local.INFO: Packet analysis {"connection_id":141890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:40:35] local.INFO: Extracted packet for processing {"connection_id":141890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:40:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:40:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":141890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:40:35] local.INFO: GPS data processed {"connection_id":141890,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:40:35] local.INFO: Acknowledgment sent {"connection_id":141890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:40:56] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:40:56] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:40:56] local.INFO: IMEI packet received {"connection_id":140835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":140835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:41:02] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:41:02] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:41:02] local.INFO: IMEI packet received {"connection_id":140835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":140835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:41:03] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:41:03] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:41:03] local.INFO: Packet analysis {"connection_id":140835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:41:03] local.INFO: Extracted packet for processing {"connection_id":140835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:41:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":140835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:41:03] local.INFO: GPS data processed {"connection_id":140835,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:41:03] local.INFO: Acknowledgment sent {"connection_id":140835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:41:35] local.INFO: TCP Data received {"connection_id":140835,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:41:35] local.INFO: Processing buffer {"connection_id":140835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:41:35] local.INFO: Packet analysis {"connection_id":140835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:41:35] local.INFO: Extracted packet for processing {"connection_id":140835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:41:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:41:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":140835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:41:35] local.INFO: GPS data processed {"connection_id":140835,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:41:35] local.INFO: Acknowledgment sent {"connection_id":140835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:41:57] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:41:57] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:41:57] local.INFO: IMEI packet received {"connection_id":140885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":140885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:42:02] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:02] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:02] local.INFO: IMEI packet received {"connection_id":140885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":140885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:42:03] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:42:03] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:42:03] local.INFO: Packet analysis {"connection_id":140885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:42:03] local.INFO: Extracted packet for processing {"connection_id":140885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:42:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":140885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:42:03] local.INFO: GPS data processed {"connection_id":140885,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:42:03] local.INFO: Acknowledgment sent {"connection_id":140885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:42:34] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:42:34] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962b25f0012d34c90006aa44e80010008225..."} 
[2026-07-25 03:42:34] local.INFO: Packet analysis {"connection_id":140885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:42:34] local.INFO: Extracted packet for processing {"connection_id":140885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962b"} 
[2026-07-25 03:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":16,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942217472001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784930838000,"timestamp_ms":1784930838000,"timestamp_seconds":1784930838,"priority":1,"record_length":96,"hex_timestamp":"0000019f962b25f0"} 
[2026-07-25 03:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 03:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942217472001,"66":25375,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942217472001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:42:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942217472001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":140885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:42:34] local.INFO: GPS data processed {"connection_id":140885,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:42:34] local.INFO: Acknowledgment sent {"connection_id":140885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:42:57] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:57] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:57] local.INFO: IMEI packet received {"connection_id":143238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":143238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:42:57] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:57] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:42:57] local.INFO: IMEI packet received {"connection_id":143238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":143238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:43:02] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:43:02] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:43:02] local.INFO: IMEI packet received {"connection_id":143238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":143238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:43:03] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:43:03] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:43:03] local.INFO: Packet analysis {"connection_id":143238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:43:03] local.INFO: Extracted packet for processing {"connection_id":143238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:43:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":143238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:43:03] local.INFO: GPS data processed {"connection_id":143238,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:43:03] local.INFO: Acknowledgment sent {"connection_id":143238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:43:35] local.INFO: TCP Data received {"connection_id":143238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:43:35] local.INFO: Processing buffer {"connection_id":143238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:43:35] local.INFO: Packet analysis {"connection_id":143238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:43:35] local.INFO: Extracted packet for processing {"connection_id":143238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:43:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:43:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":143238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:43:35] local.INFO: GPS data processed {"connection_id":143238,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:43:35] local.INFO: Acknowledgment sent {"connection_id":143238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:43:57] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:43:57] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:43:57] local.INFO: IMEI packet received {"connection_id":140886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":140886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:44:02] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:44:02] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:44:02] local.INFO: IMEI packet received {"connection_id":140886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":140886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:44:03] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:44:03] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:44:03] local.INFO: Packet analysis {"connection_id":140886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:44:03] local.INFO: Extracted packet for processing {"connection_id":140886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:44:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":140886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:44:03] local.INFO: GPS data processed {"connection_id":140886,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:44:03] local.INFO: Acknowledgment sent {"connection_id":140886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:44:35] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:44:35] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:44:35] local.INFO: Packet analysis {"connection_id":140886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:44:35] local.INFO: Extracted packet for processing {"connection_id":140886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:44:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:44:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":140886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:44:35] local.INFO: GPS data processed {"connection_id":140886,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:44:35] local.INFO: Acknowledgment sent {"connection_id":140886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:44:58] local.INFO: TCP Data received {"connection_id":141891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:44:58] local.INFO: Processing buffer {"connection_id":141891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:44:58] local.INFO: IMEI packet received {"connection_id":141891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":141891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:45:02] local.INFO: TCP Data received {"connection_id":141891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:45:02] local.INFO: Processing buffer {"connection_id":141891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:45:02] local.INFO: IMEI packet received {"connection_id":141891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":141891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:45:03] local.INFO: TCP Data received {"connection_id":141891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:45:03] local.INFO: Processing buffer {"connection_id":141891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:45:03] local.INFO: Packet analysis {"connection_id":141891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:45:03] local.INFO: Extracted packet for processing {"connection_id":141891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:45:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":141891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:45:03] local.INFO: GPS data processed {"connection_id":141891,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:45:03] local.INFO: Acknowledgment sent {"connection_id":141891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:45:34] local.INFO: TCP Data received {"connection_id":141891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:45:34] local.INFO: Processing buffer {"connection_id":141891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:45:34] local.INFO: Packet analysis {"connection_id":141891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:45:34] local.INFO: Extracted packet for processing {"connection_id":141891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":141891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:45:34] local.INFO: GPS data processed {"connection_id":141891,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:45:34] local.INFO: Acknowledgment sent {"connection_id":141891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:45:56] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:45:56] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:45:56] local.INFO: IMEI packet received {"connection_id":140836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":140836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:46:02] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:46:02] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:46:02] local.INFO: IMEI packet received {"connection_id":140836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":140836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:46:03] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:46:03] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:46:03] local.INFO: Packet analysis {"connection_id":140836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:46:03] local.INFO: Extracted packet for processing {"connection_id":140836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 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-07-25 03:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:46:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:46:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":140836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:46:03] local.INFO: GPS data processed {"connection_id":140836,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:46:03] local.INFO: Acknowledgment sent {"connection_id":140836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:46:34] local.INFO: TCP Data received {"connection_id":140836,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:46:34] local.INFO: Processing buffer {"connection_id":140836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:46:34] local.INFO: Packet analysis {"connection_id":140836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:46:34] local.INFO: Extracted packet for processing {"connection_id":140836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:46:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":140836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:46:34] local.INFO: GPS data processed {"connection_id":140836,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:46:34] local.INFO: Acknowledgment sent {"connection_id":140836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:46:57] local.INFO: TCP Data received {"connection_id":141892,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:46:57] local.INFO: Processing buffer {"connection_id":141892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:46:57] local.INFO: IMEI packet received {"connection_id":141892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":141892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:47:02] local.INFO: TCP Data received {"connection_id":141892,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:47:02] local.INFO: Processing buffer {"connection_id":141892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:47:02] local.INFO: IMEI packet received {"connection_id":141892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":141892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:47:03] local.INFO: TCP Data received {"connection_id":141892,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:47:03] local.INFO: Processing buffer {"connection_id":141892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:47:03] local.INFO: Packet analysis {"connection_id":141892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:47:03] local.INFO: Extracted packet for processing {"connection_id":141892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:47:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":141892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:47:03] local.INFO: GPS data processed {"connection_id":141892,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:47:03] local.INFO: Acknowledgment sent {"connection_id":141892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:47:35] local.INFO: TCP Data received {"connection_id":141892,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:47:35] local.INFO: Processing buffer {"connection_id":141892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f962fbdb8012d34c90006aa44e80012008226..."} 
[2026-07-25 03:47:35] local.INFO: Packet analysis {"connection_id":141892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:47:35] local.INFO: Extracted packet for processing {"connection_id":141892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f962f"} 
[2026-07-25 03:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":18,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942294528001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784931139000,"timestamp_ms":1784931139000,"timestamp_seconds":1784931139,"priority":1,"record_length":96,"hex_timestamp":"0000019f962fbdb8"} 
[2026-07-25 03:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942294528001,"66":25093,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 03:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942294528001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:47:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 03:47:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942294528001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":141892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:47:35] local.INFO: GPS data processed {"connection_id":141892,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:47:35] local.INFO: Acknowledgment sent {"connection_id":141892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:48:02] local.INFO: TCP Data received {"connection_id":141893,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:02] local.INFO: Processing buffer {"connection_id":141893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:02] local.INFO: IMEI packet received {"connection_id":141893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":141893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:48:07] local.INFO: TCP Data received {"connection_id":141893,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:07] local.INFO: Processing buffer {"connection_id":141893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:07] local.INFO: IMEI packet received {"connection_id":141893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":141893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:48:08] local.INFO: TCP Data received {"connection_id":141893,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:48:08] local.INFO: Processing buffer {"connection_id":141893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:48:08] local.INFO: Packet analysis {"connection_id":141893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:48:08] local.INFO: Extracted packet for processing {"connection_id":141893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:48:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":141893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:48:08] local.INFO: GPS data processed {"connection_id":141893,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:48:08] local.INFO: Acknowledgment sent {"connection_id":141893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:48:12] local.INFO: TCP Data received {"connection_id":141893,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:48:12] local.INFO: Processing buffer {"connection_id":141893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:48:12] local.INFO: Packet analysis {"connection_id":141893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:48:12] local.INFO: Extracted packet for processing {"connection_id":141893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:48:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:48:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":141893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:48:12] local.INFO: GPS data processed {"connection_id":141893,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:48:12] local.INFO: Acknowledgment sent {"connection_id":141893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:48:57] local.INFO: TCP Data received {"connection_id":143239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:57] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:48:57] local.INFO: IMEI packet received {"connection_id":143239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":143239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:49:02] local.INFO: TCP Data received {"connection_id":143239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:49:02] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:49:02] local.INFO: IMEI packet received {"connection_id":143239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":143239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:49:03] local.INFO: TCP Data received {"connection_id":143239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:49:03] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:49:03] local.INFO: Packet analysis {"connection_id":143239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:49:03] local.INFO: Extracted packet for processing {"connection_id":143239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:49:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":143239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:49:03] local.INFO: GPS data processed {"connection_id":143239,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:49:03] local.INFO: Acknowledgment sent {"connection_id":143239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:49:34] local.INFO: TCP Data received {"connection_id":143239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:49:34] local.INFO: Processing buffer {"connection_id":143239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:49:34] local.INFO: Packet analysis {"connection_id":143239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:49:34] local.INFO: Extracted packet for processing {"connection_id":143239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:49:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":143239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:49:34] local.INFO: GPS data processed {"connection_id":143239,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:49:34] local.INFO: Acknowledgment sent {"connection_id":143239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:49:56] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:49:57] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:49:57] local.INFO: IMEI packet received {"connection_id":140887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":140887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:50:02] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:50:02] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:50:02] local.INFO: IMEI packet received {"connection_id":140887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":140887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:50:03] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:50:03] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:50:03] local.INFO: Packet analysis {"connection_id":140887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:50:03] local.INFO: Extracted packet for processing {"connection_id":140887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:50:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":140887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:50:03] local.INFO: GPS data processed {"connection_id":140887,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:50:03] local.INFO: Acknowledgment sent {"connection_id":140887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:50:34] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:50:34] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:50:34] local.INFO: Packet analysis {"connection_id":140887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:50:34] local.INFO: Extracted packet for processing {"connection_id":140887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:50:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:50:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":140887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:50:34] local.INFO: GPS data processed {"connection_id":140887,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:50:34] local.INFO: Acknowledgment sent {"connection_id":140887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:50:57] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:50:57] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:50:57] local.INFO: IMEI packet received {"connection_id":140837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":140837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:51:02] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:51:02] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:51:02] local.INFO: IMEI packet received {"connection_id":140837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":140837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:51:03] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:51:03] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:51:03] local.INFO: Packet analysis {"connection_id":140837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:51:03] local.INFO: Extracted packet for processing {"connection_id":140837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:51:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":140837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:51:03] local.INFO: GPS data processed {"connection_id":140837,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:51:03] local.INFO: Acknowledgment sent {"connection_id":140837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:51:34] local.INFO: TCP Data received {"connection_id":140837,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:51:34] local.INFO: Processing buffer {"connection_id":140837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:51:34] local.INFO: Packet analysis {"connection_id":140837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:51:34] local.INFO: Extracted packet for processing {"connection_id":140837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:51:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":140837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:51:34] local.INFO: GPS data processed {"connection_id":140837,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:51:34] local.INFO: Acknowledgment sent {"connection_id":140837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:51:56] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:51:56] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:51:56] local.INFO: IMEI packet received {"connection_id":140838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":140838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:52:02] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:52:02] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:52:02] local.INFO: IMEI packet received {"connection_id":140838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":140838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:52:03] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:52:03] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:52:03] local.INFO: Packet analysis {"connection_id":140838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:52:03] local.INFO: Extracted packet for processing {"connection_id":140838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:52:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":140838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:52:03] local.INFO: GPS data processed {"connection_id":140838,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:52:03] local.INFO: Acknowledgment sent {"connection_id":140838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:52:34] local.INFO: TCP Data received {"connection_id":140838,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:52:34] local.INFO: Processing buffer {"connection_id":140838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96345580012d34c90006aa44e8000c008222..."} 
[2026-07-25 03:52:34] local.INFO: Packet analysis {"connection_id":140838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:52:34] local.INFO: Extracted packet for processing {"connection_id":140838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9634"} 
[2026-07-25 03:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942371584001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931440000,"timestamp_ms":1784931440000,"timestamp_seconds":1784931440,"priority":1,"record_length":96,"hex_timestamp":"0000019f96345580"} 
[2026-07-25 03:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 03:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942371584001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942371584001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:52:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942371584001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":140838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:52:34] local.INFO: GPS data processed {"connection_id":140838,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:52:34] local.INFO: Acknowledgment sent {"connection_id":140838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:52:58] local.INFO: TCP Data received {"connection_id":141894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:52:58] local.INFO: Processing buffer {"connection_id":141894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:52:58] local.INFO: IMEI packet received {"connection_id":141894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":141894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:53:02] local.INFO: TCP Data received {"connection_id":141894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:02] local.INFO: Processing buffer {"connection_id":141894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:02] local.INFO: IMEI packet received {"connection_id":141894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":141894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:53:07] local.INFO: TCP Data received {"connection_id":141894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:07] local.INFO: Processing buffer {"connection_id":141894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:07] local.INFO: IMEI packet received {"connection_id":141894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":141894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:53:08] local.INFO: TCP Data received {"connection_id":141894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:53:08] local.INFO: Processing buffer {"connection_id":141894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:53:08] local.INFO: Packet analysis {"connection_id":141894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:53:08] local.INFO: Extracted packet for processing {"connection_id":141894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:53:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":141894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:53:08] local.INFO: GPS data processed {"connection_id":141894,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:53:08] local.INFO: Acknowledgment sent {"connection_id":141894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:53:12] local.INFO: TCP Data received {"connection_id":141894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:53:12] local.INFO: Processing buffer {"connection_id":141894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:53:12] local.INFO: Packet analysis {"connection_id":141894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:53:12] local.INFO: Extracted packet for processing {"connection_id":141894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03: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-07-25 03:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03: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-07-25 03:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:53:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:53:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":141894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:53:12] local.INFO: GPS data processed {"connection_id":141894,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:53:12] local.INFO: Acknowledgment sent {"connection_id":141894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:53:57] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:57] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:53:57] local.INFO: IMEI packet received {"connection_id":140839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":140839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:54:02] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:54:02] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:54:02] local.INFO: IMEI packet received {"connection_id":140839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":140839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:54:03] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:54:03] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:54:03] local.INFO: Packet analysis {"connection_id":140839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:54:03] local.INFO: Extracted packet for processing {"connection_id":140839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:54:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":140839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:54:03] local.INFO: GPS data processed {"connection_id":140839,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:54:03] local.INFO: Acknowledgment sent {"connection_id":140839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:54:34] local.INFO: TCP Data received {"connection_id":140839,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:54:34] local.INFO: Processing buffer {"connection_id":140839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:54:34] local.INFO: Packet analysis {"connection_id":140839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:54:34] local.INFO: Extracted packet for processing {"connection_id":140839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:54:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":140839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:54:34] local.INFO: GPS data processed {"connection_id":140839,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:54:34] local.INFO: Acknowledgment sent {"connection_id":140839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:54:56] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:54:56] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:54:56] local.INFO: IMEI packet received {"connection_id":140888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":140888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:55:02] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:55:02] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:55:02] local.INFO: IMEI packet received {"connection_id":140888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":140888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:55:03] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:55:03] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:55:03] local.INFO: Packet analysis {"connection_id":140888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:55:03] local.INFO: Extracted packet for processing {"connection_id":140888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 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-07-25 03:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:55:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":140888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:55:03] local.INFO: GPS data processed {"connection_id":140888,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:55:03] local.INFO: Acknowledgment sent {"connection_id":140888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:55:34] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:55:34] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:55:34] local.INFO: Packet analysis {"connection_id":140888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:55:34] local.INFO: Extracted packet for processing {"connection_id":140888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":140888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:55:34] local.INFO: GPS data processed {"connection_id":140888,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:55:34] local.INFO: Acknowledgment sent {"connection_id":140888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:55:56] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:55:56] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:55:56] local.INFO: IMEI packet received {"connection_id":140889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":140889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:56:02] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:56:02] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:56:02] local.INFO: IMEI packet received {"connection_id":140889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":140889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:56:03] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:56:03] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:56:03] local.INFO: Packet analysis {"connection_id":140889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:56:03] local.INFO: Extracted packet for processing {"connection_id":140889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 03:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 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-07-25 03:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 03:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:56:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:56:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":140889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:56:03] local.INFO: GPS data processed {"connection_id":140889,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:56:03] local.INFO: Acknowledgment sent {"connection_id":140889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:56:34] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:56:34] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:56:34] local.INFO: Packet analysis {"connection_id":140889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:56:34] local.INFO: Extracted packet for processing {"connection_id":140889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:56:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":140889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:56:34] local.INFO: GPS data processed {"connection_id":140889,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:56:34] local.INFO: Acknowledgment sent {"connection_id":140889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:56:57] local.INFO: TCP Data received {"connection_id":143240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:56:57] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:56:57] local.INFO: IMEI packet received {"connection_id":143240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":143240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:57:02] local.INFO: TCP Data received {"connection_id":143240,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:57:02] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:57:02] local.INFO: IMEI packet received {"connection_id":143240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":143240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:57:03] local.INFO: TCP Data received {"connection_id":143240,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:57:03] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:57:03] local.INFO: Packet analysis {"connection_id":143240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:57:03] local.INFO: Extracted packet for processing {"connection_id":143240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:57:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":143240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:57:03] local.INFO: GPS data processed {"connection_id":143240,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:57:03] local.INFO: Acknowledgment sent {"connection_id":143240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:57:34] local.INFO: TCP Data received {"connection_id":143240,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:57:34] local.INFO: Processing buffer {"connection_id":143240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9638ed48012d34c90006aa44e80007008223..."} 
[2026-07-25 03:57:34] local.INFO: Packet analysis {"connection_id":143240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:57:34] local.INFO: Extracted packet for processing {"connection_id":143240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9638"} 
[2026-07-25 03:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942448640001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784931741000,"timestamp_ms":1784931741000,"timestamp_seconds":1784931741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9638ed48"} 
[2026-07-25 03:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 03:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942448640001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942448640001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:57:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942448640001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":143240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:57:34] local.INFO: GPS data processed {"connection_id":143240,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:57:34] local.INFO: Acknowledgment sent {"connection_id":143240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:57:59] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:57:59] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:57:59] local.INFO: IMEI packet received {"connection_id":140890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":140890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:58:01] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:02] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:02] local.INFO: IMEI packet received {"connection_id":140890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":140890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:58:07] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:07] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:07] local.INFO: IMEI packet received {"connection_id":140890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":140890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:58:08] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:58:08] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:58:08] local.INFO: Packet analysis {"connection_id":140890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:58:08] local.INFO: Extracted packet for processing {"connection_id":140890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 03:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 03:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:58:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":140890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:58:08] local.INFO: GPS data processed {"connection_id":140890,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:58:08] local.INFO: Acknowledgment sent {"connection_id":140890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:58:40] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:58:40] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:58:40] local.INFO: Packet analysis {"connection_id":140890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:58:40] local.INFO: Extracted packet for processing {"connection_id":140890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 03:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 03:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:58:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":140890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:58:40] local.INFO: GPS data processed {"connection_id":140890,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:58:40] local.INFO: Acknowledgment sent {"connection_id":140890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:58:57] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:57] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:58:57] local.INFO: IMEI packet received {"connection_id":140840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":140840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 03:59:02] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:59:02] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:59:02] local.INFO: IMEI packet received {"connection_id":140840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 03:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":140840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 03:59:03] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:59:03] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:59:03] local.INFO: Packet analysis {"connection_id":140840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:59:03] local.INFO: Extracted packet for processing {"connection_id":140840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 03:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 03:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:59:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":140840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:59:03] local.INFO: GPS data processed {"connection_id":140840,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:59:03] local.INFO: Acknowledgment sent {"connection_id":140840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:59:34] local.INFO: TCP Data received {"connection_id":140840,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:59:34] local.INFO: Processing buffer {"connection_id":140840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 03:59:34] local.INFO: Packet analysis {"connection_id":140840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:59:34] local.INFO: Extracted packet for processing {"connection_id":140840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 03:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 03:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 03:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 03:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 03:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 03:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 03:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 03:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 03:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 03:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 03:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 03:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 03:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 03:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 03:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 03:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 03:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 03:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 03:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 03:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 03:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 03:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 03:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 03:59:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 03:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 03:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 03:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 03:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 03:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":140840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 03:59:34] local.INFO: GPS data processed {"connection_id":140840,"processed":1,"errors":0,"total":1} 
[2026-07-25 03:59:34] local.INFO: Acknowledgment sent {"connection_id":140840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 03:59:56] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:59:56] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 03:59:56] local.INFO: IMEI packet received {"connection_id":140841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 03:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":140841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:00:02] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:00:02] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:00:02] local.INFO: IMEI packet received {"connection_id":140841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":140841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:00:03] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:00:03] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:00:03] local.INFO: Packet analysis {"connection_id":140841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:00:03] local.INFO: Extracted packet for processing {"connection_id":140841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 04:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:00:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:00:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":140841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:00:03] local.INFO: GPS data processed {"connection_id":140841,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:00:03] local.INFO: Acknowledgment sent {"connection_id":140841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:00:34] local.INFO: TCP Data received {"connection_id":140841,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:00:34] local.INFO: Processing buffer {"connection_id":140841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:00:34] local.INFO: Packet analysis {"connection_id":140841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:00:34] local.INFO: Extracted packet for processing {"connection_id":140841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 04:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:00:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":140841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:00:34] local.INFO: GPS data processed {"connection_id":140841,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:00:34] local.INFO: Acknowledgment sent {"connection_id":140841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:00:56] local.INFO: TCP Data received {"connection_id":141895,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:00:56] local.INFO: Processing buffer {"connection_id":141895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:00:56] local.INFO: IMEI packet received {"connection_id":141895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":141895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:01:02] local.INFO: TCP Data received {"connection_id":141895,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:01:02] local.INFO: Processing buffer {"connection_id":141895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:01:02] local.INFO: IMEI packet received {"connection_id":141895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":141895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:01:03] local.INFO: TCP Data received {"connection_id":141895,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:01:03] local.INFO: Processing buffer {"connection_id":141895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:01:03] local.INFO: Packet analysis {"connection_id":141895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:01:03] local.INFO: Extracted packet for processing {"connection_id":141895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 04:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:01:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":141895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:01:03] local.INFO: GPS data processed {"connection_id":141895,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:01:03] local.INFO: Acknowledgment sent {"connection_id":141895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:01:34] local.INFO: TCP Data received {"connection_id":141895,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:01:34] local.INFO: Processing buffer {"connection_id":141895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:01:34] local.INFO: Packet analysis {"connection_id":141895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:01:34] local.INFO: Extracted packet for processing {"connection_id":141895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 04:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:01:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":141895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:01:34] local.INFO: GPS data processed {"connection_id":141895,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:01:34] local.INFO: Acknowledgment sent {"connection_id":141895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:02:02] local.INFO: TCP Data received {"connection_id":141896,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:02] local.INFO: Processing buffer {"connection_id":141896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:02] local.INFO: IMEI packet received {"connection_id":141896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":141896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:02:07] local.INFO: TCP Data received {"connection_id":141896,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:07] local.INFO: Processing buffer {"connection_id":141896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:07] local.INFO: IMEI packet received {"connection_id":141896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":141896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:02:08] local.INFO: TCP Data received {"connection_id":141896,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:02:08] local.INFO: Processing buffer {"connection_id":141896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:02:08] local.INFO: Packet analysis {"connection_id":141896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:02:08] local.INFO: Extracted packet for processing {"connection_id":141896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 04:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:02:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":141896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:02:08] local.INFO: GPS data processed {"connection_id":141896,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:02:08] local.INFO: Acknowledgment sent {"connection_id":141896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:02:12] local.INFO: TCP Data received {"connection_id":141896,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:02:12] local.INFO: Processing buffer {"connection_id":141896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f963d8510012d34c90006aa44e8000f008223..."} 
[2026-07-25 04:02:12] local.INFO: Packet analysis {"connection_id":141896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:02:12] local.INFO: Extracted packet for processing {"connection_id":141896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f963d"} 
[2026-07-25 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784932042000,"timestamp_ms":1784932042000,"timestamp_seconds":1784932042,"priority":1,"record_length":96,"hex_timestamp":"0000019f963d8510"} 
[2026-07-25 04:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942525696001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:02:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:02:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942525696001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":141896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:02:12] local.INFO: GPS data processed {"connection_id":141896,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:02:12] local.INFO: Acknowledgment sent {"connection_id":141896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:02:57] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:57] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:02:57] local.INFO: IMEI packet received {"connection_id":140842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":140842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:03:01] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:03:01] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:03:01] local.INFO: IMEI packet received {"connection_id":140842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":140842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:03:02] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:03:02] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:03:02] local.INFO: Packet analysis {"connection_id":140842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:03:02] local.INFO: Extracted packet for processing {"connection_id":140842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:03:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":140842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:03:02] local.INFO: GPS data processed {"connection_id":140842,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:03:02] local.INFO: Acknowledgment sent {"connection_id":140842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:03:33] local.INFO: TCP Data received {"connection_id":140842,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:03:33] local.INFO: Processing buffer {"connection_id":140842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:03:33] local.INFO: Packet analysis {"connection_id":140842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:03:33] local.INFO: Extracted packet for processing {"connection_id":140842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:03:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:03: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-07-25 04:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:03:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":140842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:03:33] local.INFO: GPS data processed {"connection_id":140842,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:03:33] local.INFO: Acknowledgment sent {"connection_id":140842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:03:56] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:03:56] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:03:56] local.INFO: IMEI packet received {"connection_id":143241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":143241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:04:02] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:04:02] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:04:02] local.INFO: IMEI packet received {"connection_id":143241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":143241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:04:03] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:04:03] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:04:03] local.INFO: Packet analysis {"connection_id":143241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:04:03] local.INFO: Extracted packet for processing {"connection_id":143241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:04:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":143241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:04:03] local.INFO: GPS data processed {"connection_id":143241,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:04:03] local.INFO: Acknowledgment sent {"connection_id":143241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:04:34] local.INFO: TCP Data received {"connection_id":143241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:04:34] local.INFO: Processing buffer {"connection_id":143241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:04:34] local.INFO: Packet analysis {"connection_id":143241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:04:34] local.INFO: Extracted packet for processing {"connection_id":143241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:04:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":143241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:04:34] local.INFO: GPS data processed {"connection_id":143241,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:04:34] local.INFO: Acknowledgment sent {"connection_id":143241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:04:56] local.INFO: TCP Data received {"connection_id":140891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:04:56] local.INFO: Processing buffer {"connection_id":140891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:04:56] local.INFO: IMEI packet received {"connection_id":140891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":140891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:05:02] local.INFO: TCP Data received {"connection_id":140891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:05:02] local.INFO: Processing buffer {"connection_id":140891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:05:02] local.INFO: IMEI packet received {"connection_id":140891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":140891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:05:03] local.INFO: TCP Data received {"connection_id":140891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:05:03] local.INFO: Processing buffer {"connection_id":140891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:05:03] local.INFO: Packet analysis {"connection_id":140891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:05:03] local.INFO: Extracted packet for processing {"connection_id":140891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:05:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:05:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":140891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:05:03] local.INFO: GPS data processed {"connection_id":140891,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:05:03] local.INFO: Acknowledgment sent {"connection_id":140891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:05:34] local.INFO: TCP Data received {"connection_id":140891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:05:34] local.INFO: Processing buffer {"connection_id":140891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:05:34] local.INFO: Packet analysis {"connection_id":140891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:05:34] local.INFO: Extracted packet for processing {"connection_id":140891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:05:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:05:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:05:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":140891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:05:34] local.INFO: GPS data processed {"connection_id":140891,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:05:34] local.INFO: Acknowledgment sent {"connection_id":140891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:05:56] local.INFO: TCP Data received {"connection_id":143242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:05:56] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:05:56] local.INFO: IMEI packet received {"connection_id":143242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":143242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:06:02] local.INFO: TCP Data received {"connection_id":143242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:06:02] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:06:02] local.INFO: IMEI packet received {"connection_id":143242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":143242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:06:03] local.INFO: TCP Data received {"connection_id":143242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:06:03] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:06:03] local.INFO: Packet analysis {"connection_id":143242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:06:03] local.INFO: Extracted packet for processing {"connection_id":143242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:06:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":143242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:06:03] local.INFO: GPS data processed {"connection_id":143242,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:06:03] local.INFO: Acknowledgment sent {"connection_id":143242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:06:34] local.INFO: TCP Data received {"connection_id":143242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:06:34] local.INFO: Processing buffer {"connection_id":143242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:06:34] local.INFO: Packet analysis {"connection_id":143242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:06:34] local.INFO: Extracted packet for processing {"connection_id":143242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:06:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":143242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:06:34] local.INFO: GPS data processed {"connection_id":143242,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:06:34] local.INFO: Acknowledgment sent {"connection_id":143242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:07:02] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:02] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:02] local.INFO: IMEI packet received {"connection_id":140892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":140892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:07:07] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:07] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:07] local.INFO: IMEI packet received {"connection_id":140892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":140892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:07:07] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:07:07] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:07:07] local.INFO: Packet analysis {"connection_id":140892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:07:07] local.INFO: Extracted packet for processing {"connection_id":140892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:07:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:07:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":140892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:07:08] local.INFO: GPS data processed {"connection_id":140892,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:07:08] local.INFO: Acknowledgment sent {"connection_id":140892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:07:12] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:07:12] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96421cd8012d34c90006aa44e8000f008222..."} 
[2026-07-25 04:07:12] local.INFO: Packet analysis {"connection_id":140892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:07:12] local.INFO: Extracted packet for processing {"connection_id":140892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9642"} 
[2026-07-25 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":15,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942602752001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784932343000,"timestamp_ms":1784932343000,"timestamp_seconds":1784932343,"priority":1,"record_length":96,"hex_timestamp":"0000019f96421cd8"} 
[2026-07-25 04:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942602752001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942602752001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:07:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:07:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942602752001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":140892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:07:12] local.INFO: GPS data processed {"connection_id":140892,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:07:12] local.INFO: Acknowledgment sent {"connection_id":140892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:07:57] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:57] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:07:57] local.INFO: IMEI packet received {"connection_id":140843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":140843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:08:02] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:08:02] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:08:02] local.INFO: IMEI packet received {"connection_id":140843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":140843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:08:03] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:08:03] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:08:03] local.INFO: Packet analysis {"connection_id":140843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:08:03] local.INFO: Extracted packet for processing {"connection_id":140843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:08:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:08:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":140843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:08:03] local.INFO: GPS data processed {"connection_id":140843,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:08:03] local.INFO: Acknowledgment sent {"connection_id":140843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:08:34] local.INFO: TCP Data received {"connection_id":140843,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:08:34] local.INFO: Processing buffer {"connection_id":140843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:08:34] local.INFO: Packet analysis {"connection_id":140843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:08:34] local.INFO: Extracted packet for processing {"connection_id":140843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:08:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":140843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:08:34] local.INFO: GPS data processed {"connection_id":140843,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:08:34] local.INFO: Acknowledgment sent {"connection_id":140843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:08:56] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:08:57] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:08:57] local.INFO: IMEI packet received {"connection_id":140844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":140844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:09:02] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:09:02] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:09:02] local.INFO: IMEI packet received {"connection_id":140844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":140844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:09:03] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:09:03] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:09:03] local.INFO: Packet analysis {"connection_id":140844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:09:03] local.INFO: Extracted packet for processing {"connection_id":140844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":140844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:09:03] local.INFO: GPS data processed {"connection_id":140844,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:09:03] local.INFO: Acknowledgment sent {"connection_id":140844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:09:35] local.INFO: TCP Data received {"connection_id":140844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:09:35] local.INFO: Processing buffer {"connection_id":140844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:09:35] local.INFO: Packet analysis {"connection_id":140844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:09:35] local.INFO: Extracted packet for processing {"connection_id":140844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:09:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:09:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":140844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:09:35] local.INFO: GPS data processed {"connection_id":140844,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:09:35] local.INFO: Acknowledgment sent {"connection_id":140844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:10:02] local.INFO: TCP Data received {"connection_id":143243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:02] local.INFO: Processing buffer {"connection_id":143243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:02] local.INFO: IMEI packet received {"connection_id":143243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":143243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:10:07] local.INFO: TCP Data received {"connection_id":143243,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:07] local.INFO: Processing buffer {"connection_id":143243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:07] local.INFO: IMEI packet received {"connection_id":143243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":143243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:10:08] local.INFO: TCP Data received {"connection_id":143243,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:10:08] local.INFO: Processing buffer {"connection_id":143243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:10:08] local.INFO: Packet analysis {"connection_id":143243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:10:08] local.INFO: Extracted packet for processing {"connection_id":143243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:10:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":143243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:10:08] local.INFO: GPS data processed {"connection_id":143243,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:10:08] local.INFO: Acknowledgment sent {"connection_id":143243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:10:39] local.INFO: TCP Data received {"connection_id":143243,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:10:39] local.INFO: Processing buffer {"connection_id":143243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:10:39] local.INFO: Packet analysis {"connection_id":143243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:10:39] local.INFO: Extracted packet for processing {"connection_id":143243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:10:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":143243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:10:39] local.INFO: GPS data processed {"connection_id":143243,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:10:39] local.INFO: Acknowledgment sent {"connection_id":143243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:10:57] local.INFO: TCP Data received {"connection_id":140893,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:57] local.INFO: Processing buffer {"connection_id":140893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:10:57] local.INFO: IMEI packet received {"connection_id":140893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":140893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:11:02] local.INFO: TCP Data received {"connection_id":140893,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:11:02] local.INFO: Processing buffer {"connection_id":140893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:11:02] local.INFO: IMEI packet received {"connection_id":140893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":140893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:11:04] local.INFO: TCP Data received {"connection_id":140893,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:11:04] local.INFO: Processing buffer {"connection_id":140893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:11:04] local.INFO: Packet analysis {"connection_id":140893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:11:04] local.INFO: Extracted packet for processing {"connection_id":140893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":140893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:11:04] local.INFO: GPS data processed {"connection_id":140893,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:11:04] local.INFO: Acknowledgment sent {"connection_id":140893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:11:35] local.INFO: TCP Data received {"connection_id":140893,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:11:35] local.INFO: Processing buffer {"connection_id":140893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:11:35] local.INFO: Packet analysis {"connection_id":140893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:11:35] local.INFO: Extracted packet for processing {"connection_id":140893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:11:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":140893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:11:35] local.INFO: GPS data processed {"connection_id":140893,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:11:35] local.INFO: Acknowledgment sent {"connection_id":140893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:11:56] local.INFO: TCP Data received {"connection_id":143244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:11:56] local.INFO: Processing buffer {"connection_id":143244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:11:56] local.INFO: IMEI packet received {"connection_id":143244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":143244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:12:02] local.INFO: TCP Data received {"connection_id":143244,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:12:02] local.INFO: Processing buffer {"connection_id":143244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:12:02] local.INFO: IMEI packet received {"connection_id":143244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":143244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:12:03] local.INFO: TCP Data received {"connection_id":143244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:12:03] local.INFO: Processing buffer {"connection_id":143244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:12:03] local.INFO: Packet analysis {"connection_id":143244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:12:03] local.INFO: Extracted packet for processing {"connection_id":143244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:12:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":143244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:12:03] local.INFO: GPS data processed {"connection_id":143244,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:12:03] local.INFO: Acknowledgment sent {"connection_id":143244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:12:34] local.INFO: TCP Data received {"connection_id":143244,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:12:34] local.INFO: Processing buffer {"connection_id":143244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:12:34] local.INFO: Packet analysis {"connection_id":143244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:12:34] local.INFO: Extracted packet for processing {"connection_id":143244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 04:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 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-07-25 04:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 04:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:12:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":143244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:12:34] local.INFO: GPS data processed {"connection_id":143244,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:12:34] local.INFO: Acknowledgment sent {"connection_id":143244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:12:56] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:12:56] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:12:56] local.INFO: IMEI packet received {"connection_id":140845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":140845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:13:02] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:13:02] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:13:02] local.INFO: IMEI packet received {"connection_id":140845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":140845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:13:03] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:13:03] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9646b4a0012d34c90006aa44e80007008222..."} 
[2026-07-25 04:13:03] local.INFO: Packet analysis {"connection_id":140845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:13:03] local.INFO: Extracted packet for processing {"connection_id":140845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9646"} 
[2026-07-25 04:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942679808001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932644000,"timestamp_ms":1784932644000,"timestamp_seconds":1784932644,"priority":1,"record_length":96,"hex_timestamp":"0000019f9646b4a0"} 
[2026-07-25 04:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942679808001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942679808001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:13:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942679808001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":140845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:13:03] local.INFO: GPS data processed {"connection_id":140845,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:13:03] local.INFO: Acknowledgment sent {"connection_id":140845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:13:33] local.INFO: TCP Data received {"connection_id":140845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:13:33] local.INFO: Processing buffer {"connection_id":140845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:13:33] local.INFO: Packet analysis {"connection_id":140845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:13:33] local.INFO: Extracted packet for processing {"connection_id":140845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:13:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":140845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:13:33] local.INFO: GPS data processed {"connection_id":140845,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:13:33] local.INFO: Acknowledgment sent {"connection_id":140845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:13:57] local.INFO: TCP Data received {"connection_id":141897,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:13:57] local.INFO: Processing buffer {"connection_id":141897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:13:57] local.INFO: IMEI packet received {"connection_id":141897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":141897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:14:02] local.INFO: TCP Data received {"connection_id":141897,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:14:02] local.INFO: Processing buffer {"connection_id":141897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:14:02] local.INFO: IMEI packet received {"connection_id":141897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":141897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:14:03] local.INFO: TCP Data received {"connection_id":141897,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:14:03] local.INFO: Processing buffer {"connection_id":141897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:14:03] local.INFO: Packet analysis {"connection_id":141897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:14:03] local.INFO: Extracted packet for processing {"connection_id":141897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:14:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":141897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:14:03] local.INFO: GPS data processed {"connection_id":141897,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:14:03] local.INFO: Acknowledgment sent {"connection_id":141897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:14:34] local.INFO: TCP Data received {"connection_id":141897,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:14:34] local.INFO: Processing buffer {"connection_id":141897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:14:34] local.INFO: Packet analysis {"connection_id":141897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:14:34] local.INFO: Extracted packet for processing {"connection_id":141897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:14:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":141897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:14:34] local.INFO: GPS data processed {"connection_id":141897,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:14:34] local.INFO: Acknowledgment sent {"connection_id":141897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:14:57] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:14:57] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:14:57] local.INFO: IMEI packet received {"connection_id":140894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":140894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:15:02] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:15:02] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:15:02] local.INFO: IMEI packet received {"connection_id":140894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":140894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:15:02] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:15:03] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:15:03] local.INFO: Packet analysis {"connection_id":140894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:15:03] local.INFO: Extracted packet for processing {"connection_id":140894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:15:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:15:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":140894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:15:03] local.INFO: GPS data processed {"connection_id":140894,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:15:03] local.INFO: Acknowledgment sent {"connection_id":140894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:15:34] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:15:34] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:15:34] local.INFO: Packet analysis {"connection_id":140894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:15:34] local.INFO: Extracted packet for processing {"connection_id":140894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:15:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":140894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:15:34] local.INFO: GPS data processed {"connection_id":140894,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:15:34] local.INFO: Acknowledgment sent {"connection_id":140894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:15:56] local.INFO: TCP Data received {"connection_id":141898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:15:56] local.INFO: Processing buffer {"connection_id":141898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:15:56] local.INFO: IMEI packet received {"connection_id":141898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":141898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:16:02] local.INFO: TCP Data received {"connection_id":141898,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:16:02] local.INFO: Processing buffer {"connection_id":141898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:16:02] local.INFO: IMEI packet received {"connection_id":141898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":141898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:16:03] local.INFO: TCP Data received {"connection_id":141898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:16:03] local.INFO: Processing buffer {"connection_id":141898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:16:03] local.INFO: Packet analysis {"connection_id":141898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:16:03] local.INFO: Extracted packet for processing {"connection_id":141898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:16:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":141898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:16:03] local.INFO: GPS data processed {"connection_id":141898,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:16:03] local.INFO: Acknowledgment sent {"connection_id":141898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:16:34] local.INFO: TCP Data received {"connection_id":141898,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:16:34] local.INFO: Processing buffer {"connection_id":141898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:16:34] local.INFO: Packet analysis {"connection_id":141898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:16:34] local.INFO: Extracted packet for processing {"connection_id":141898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:16:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":141898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:16:34] local.INFO: GPS data processed {"connection_id":141898,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:16:34] local.INFO: Acknowledgment sent {"connection_id":141898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:16:56] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:16:56] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:16:56] local.INFO: IMEI packet received {"connection_id":143245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":143245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:17:02] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:17:02] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:17:02] local.INFO: IMEI packet received {"connection_id":143245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":143245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:17:03] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:17:03] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:17:03] local.INFO: Packet analysis {"connection_id":143245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:17:03] local.INFO: Extracted packet for processing {"connection_id":143245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:17:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":143245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:17:03] local.INFO: GPS data processed {"connection_id":143245,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:17:03] local.INFO: Acknowledgment sent {"connection_id":143245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:17:34] local.INFO: TCP Data received {"connection_id":143245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:17:34] local.INFO: Processing buffer {"connection_id":143245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:17:34] local.INFO: Packet analysis {"connection_id":143245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:17:34] local.INFO: Extracted packet for processing {"connection_id":143245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:17:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":143245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:17:34] local.INFO: GPS data processed {"connection_id":143245,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:17:34] local.INFO: Acknowledgment sent {"connection_id":143245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:17:56] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:17:56] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:17:56] local.INFO: IMEI packet received {"connection_id":140846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":140846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:18:02] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:18:02] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:18:02] local.INFO: IMEI packet received {"connection_id":140846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":140846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:18:03] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:18:03] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964b4c68012d34c90006aa44e8000700821a..."} 
[2026-07-25 04:18:03] local.INFO: Packet analysis {"connection_id":140846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:18:03] local.INFO: Extracted packet for processing {"connection_id":140846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964b"} 
[2026-07-25 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":26,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784932945000,"timestamp_ms":1784932945000,"timestamp_seconds":1784932945,"priority":1,"record_length":96,"hex_timestamp":"0000019f964b4c68"} 
[2026-07-25 04:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942756864001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:18:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942756864001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":140846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:18:03] local.INFO: GPS data processed {"connection_id":140846,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:18:03] local.INFO: Acknowledgment sent {"connection_id":140846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:18:33] local.INFO: TCP Data received {"connection_id":140846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:18:33] local.INFO: Processing buffer {"connection_id":140846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:18:33] local.INFO: Packet analysis {"connection_id":140846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:18:33] local.INFO: Extracted packet for processing {"connection_id":140846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:18:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":140846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:18:34] local.INFO: GPS data processed {"connection_id":140846,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:18:34] local.INFO: Acknowledgment sent {"connection_id":140846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:18:57] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:18:57] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:18:57] local.INFO: IMEI packet received {"connection_id":140847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":140847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:19:02] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:19:02] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:19:02] local.INFO: IMEI packet received {"connection_id":140847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":140847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:19:03] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:19:03] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:19:03] local.INFO: Packet analysis {"connection_id":140847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:19:03] local.INFO: Extracted packet for processing {"connection_id":140847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:19:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":140847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:19:03] local.INFO: GPS data processed {"connection_id":140847,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:19:03] local.INFO: Acknowledgment sent {"connection_id":140847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:19:34] local.INFO: TCP Data received {"connection_id":140847,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:19:34] local.INFO: Processing buffer {"connection_id":140847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:19:34] local.INFO: Packet analysis {"connection_id":140847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:19:34] local.INFO: Extracted packet for processing {"connection_id":140847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:19:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":140847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:19:34] local.INFO: GPS data processed {"connection_id":140847,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:19:34] local.INFO: Acknowledgment sent {"connection_id":140847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:19:57] local.INFO: TCP Data received {"connection_id":143246,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:19:57] local.INFO: Processing buffer {"connection_id":143246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:19:57] local.INFO: IMEI packet received {"connection_id":143246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":143246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:20:02] local.INFO: TCP Data received {"connection_id":143246,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:20:02] local.INFO: Processing buffer {"connection_id":143246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:20:02] local.INFO: IMEI packet received {"connection_id":143246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":143246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:20:03] local.INFO: TCP Data received {"connection_id":143246,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:20:03] local.INFO: Processing buffer {"connection_id":143246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:20:03] local.INFO: Packet analysis {"connection_id":143246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:20:03] local.INFO: Extracted packet for processing {"connection_id":143246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:20:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":143246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:20:03] local.INFO: GPS data processed {"connection_id":143246,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:20:03] local.INFO: Acknowledgment sent {"connection_id":143246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:20:34] local.INFO: TCP Data received {"connection_id":143246,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:20:34] local.INFO: Processing buffer {"connection_id":143246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:20:34] local.INFO: Packet analysis {"connection_id":143246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:20:34] local.INFO: Extracted packet for processing {"connection_id":143246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:20:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":143246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:20:34] local.INFO: GPS data processed {"connection_id":143246,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:20:34] local.INFO: Acknowledgment sent {"connection_id":143246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:20:56] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:20:56] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:20:56] local.INFO: IMEI packet received {"connection_id":140848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":140848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:21:02] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:21:02] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:21:02] local.INFO: IMEI packet received {"connection_id":140848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":140848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:21:03] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:21:03] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:21:03] local.INFO: Packet analysis {"connection_id":140848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:21:03] local.INFO: Extracted packet for processing {"connection_id":140848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:21:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:21:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":140848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:21:03] local.INFO: GPS data processed {"connection_id":140848,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:21:03] local.INFO: Acknowledgment sent {"connection_id":140848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:21:34] local.INFO: TCP Data received {"connection_id":140848,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:21:34] local.INFO: Processing buffer {"connection_id":140848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:21:34] local.INFO: Packet analysis {"connection_id":140848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:21:34] local.INFO: Extracted packet for processing {"connection_id":140848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 04:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 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-07-25 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 04:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:21:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":140848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:21:34] local.INFO: GPS data processed {"connection_id":140848,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:21:34] local.INFO: Acknowledgment sent {"connection_id":140848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:21:56] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:21:56] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:21:56] local.INFO: IMEI packet received {"connection_id":140849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":140849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:22:02] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:22:02] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:22:02] local.INFO: IMEI packet received {"connection_id":140849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":140849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:22:03] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:22:03] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:22:03] local.INFO: Packet analysis {"connection_id":140849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:22:03] local.INFO: Extracted packet for processing {"connection_id":140849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:22:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:22:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":140849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:22:03] local.INFO: GPS data processed {"connection_id":140849,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:22:03] local.INFO: Acknowledgment sent {"connection_id":140849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:22:34] local.INFO: TCP Data received {"connection_id":140849,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:22:34] local.INFO: Processing buffer {"connection_id":140849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:22:34] local.INFO: Packet analysis {"connection_id":140849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:22:34] local.INFO: Extracted packet for processing {"connection_id":140849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:22:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":140849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:22:34] local.INFO: GPS data processed {"connection_id":140849,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:22:34] local.INFO: Acknowledgment sent {"connection_id":140849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:22:56] local.INFO: TCP Data received {"connection_id":140895,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:22:56] local.INFO: Processing buffer {"connection_id":140895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:22:56] local.INFO: IMEI packet received {"connection_id":140895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":140895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:23:02] local.INFO: TCP Data received {"connection_id":140895,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:23:02] local.INFO: Processing buffer {"connection_id":140895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:23:02] local.INFO: IMEI packet received {"connection_id":140895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":140895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:23:03] local.INFO: TCP Data received {"connection_id":140895,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:23:03] local.INFO: Processing buffer {"connection_id":140895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f964fe430012d34c90006aa44e8000700821f..."} 
[2026-07-25 04:23:03] local.INFO: Packet analysis {"connection_id":140895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:23:03] local.INFO: Extracted packet for processing {"connection_id":140895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f964f"} 
[2026-07-25 04:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":7,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933246000,"timestamp_ms":1784933246000,"timestamp_seconds":1784933246,"priority":1,"record_length":96,"hex_timestamp":"0000019f964fe430"} 
[2026-07-25 04:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942833920001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:23:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942833920001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":140895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:23:03] local.INFO: GPS data processed {"connection_id":140895,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:23:03] local.INFO: Acknowledgment sent {"connection_id":140895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:23:34] local.INFO: TCP Data received {"connection_id":140895,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:23:34] local.INFO: Processing buffer {"connection_id":140895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:23:34] local.INFO: Packet analysis {"connection_id":140895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:23:34] local.INFO: Extracted packet for processing {"connection_id":140895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:23:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":140895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:23:34] local.INFO: GPS data processed {"connection_id":140895,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:23:34] local.INFO: Acknowledgment sent {"connection_id":140895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:23:57] local.INFO: TCP Data received {"connection_id":141899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:23:57] local.INFO: Processing buffer {"connection_id":141899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:23:57] local.INFO: IMEI packet received {"connection_id":141899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":141899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:24:02] local.INFO: TCP Data received {"connection_id":141899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:24:02] local.INFO: Processing buffer {"connection_id":141899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:24:02] local.INFO: IMEI packet received {"connection_id":141899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":141899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:24:03] local.INFO: TCP Data received {"connection_id":141899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:24:03] local.INFO: Processing buffer {"connection_id":141899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:24:03] local.INFO: Packet analysis {"connection_id":141899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:24:03] local.INFO: Extracted packet for processing {"connection_id":141899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:24:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:24:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":141899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:24:03] local.INFO: GPS data processed {"connection_id":141899,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:24:03] local.INFO: Acknowledgment sent {"connection_id":141899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:24:34] local.INFO: TCP Data received {"connection_id":141899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:24:34] local.INFO: Processing buffer {"connection_id":141899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:24:34] local.INFO: Packet analysis {"connection_id":141899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:24:34] local.INFO: Extracted packet for processing {"connection_id":141899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:24:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":141899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:24:34] local.INFO: GPS data processed {"connection_id":141899,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:24:34] local.INFO: Acknowledgment sent {"connection_id":141899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:24:57] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:24:57] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:24:57] local.INFO: IMEI packet received {"connection_id":140896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":140896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:25:02] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:25:02] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:25:02] local.INFO: IMEI packet received {"connection_id":140896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":140896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:25:03] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:25:03] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:25:03] local.INFO: Packet analysis {"connection_id":140896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:25:03] local.INFO: Extracted packet for processing {"connection_id":140896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:25:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":140896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:25:03] local.INFO: GPS data processed {"connection_id":140896,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:25:03] local.INFO: Acknowledgment sent {"connection_id":140896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:25:34] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:25:34] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:25:34] local.INFO: Packet analysis {"connection_id":140896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:25:34] local.INFO: Extracted packet for processing {"connection_id":140896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:25:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:25:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":140896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:25:34] local.INFO: GPS data processed {"connection_id":140896,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:25:34] local.INFO: Acknowledgment sent {"connection_id":140896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:25:56] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:25:56] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:25:56] local.INFO: IMEI packet received {"connection_id":140897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":140897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:26:02] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:26:02] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:26:02] local.INFO: IMEI packet received {"connection_id":140897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:26:03] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:26:03] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:26:03] local.INFO: Packet analysis {"connection_id":140897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:26:03] local.INFO: Extracted packet for processing {"connection_id":140897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:26:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:26:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":140897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:26:03] local.INFO: GPS data processed {"connection_id":140897,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:26:03] local.INFO: Acknowledgment sent {"connection_id":140897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:26:34] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:26:34] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:26:34] local.INFO: Packet analysis {"connection_id":140897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:26:34] local.INFO: Extracted packet for processing {"connection_id":140897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:26:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":140897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:26:34] local.INFO: GPS data processed {"connection_id":140897,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:26:34] local.INFO: Acknowledgment sent {"connection_id":140897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:26:56] local.INFO: TCP Data received {"connection_id":141900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:26:56] local.INFO: Processing buffer {"connection_id":141900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:26:56] local.INFO: IMEI packet received {"connection_id":141900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":141900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:27:02] local.INFO: TCP Data received {"connection_id":141900,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:27:02] local.INFO: Processing buffer {"connection_id":141900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:27:02] local.INFO: IMEI packet received {"connection_id":141900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":141900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:27:02] local.INFO: TCP Data received {"connection_id":141900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:27:02] local.INFO: Processing buffer {"connection_id":141900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:27:02] local.INFO: Packet analysis {"connection_id":141900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:27:02] local.INFO: Extracted packet for processing {"connection_id":141900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:27:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":141900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:27:03] local.INFO: GPS data processed {"connection_id":141900,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:27:03] local.INFO: Acknowledgment sent {"connection_id":141900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:27:34] local.INFO: TCP Data received {"connection_id":141900,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:27:34] local.INFO: Processing buffer {"connection_id":141900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:27:34] local.INFO: Packet analysis {"connection_id":141900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:27:34] local.INFO: Extracted packet for processing {"connection_id":141900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:27:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":141900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:27:34] local.INFO: GPS data processed {"connection_id":141900,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:27:34] local.INFO: Acknowledgment sent {"connection_id":141900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:27:56] local.INFO: TCP Data received {"connection_id":141901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:27:56] local.INFO: Processing buffer {"connection_id":141901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:27:56] local.INFO: IMEI packet received {"connection_id":141901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":141901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:28:02] local.INFO: TCP Data received {"connection_id":141901,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:28:02] local.INFO: Processing buffer {"connection_id":141901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:28:02] local.INFO: IMEI packet received {"connection_id":141901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":141901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:28:03] local.INFO: TCP Data received {"connection_id":141901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:28:03] local.INFO: Processing buffer {"connection_id":141901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96547bf8012d34c90006aa44e80018008224..."} 
[2026-07-25 04:28:03] local.INFO: Packet analysis {"connection_id":141901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:28:03] local.INFO: Extracted packet for processing {"connection_id":141901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9654"} 
[2026-07-25 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":24,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933547000,"timestamp_ms":1784933547000,"timestamp_seconds":1784933547,"priority":1,"record_length":96,"hex_timestamp":"0000019f96547bf8"} 
[2026-07-25 04:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942910976001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:28:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942910976001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":141901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:28:03] local.INFO: GPS data processed {"connection_id":141901,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:28:03] local.INFO: Acknowledgment sent {"connection_id":141901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:28:34] local.INFO: TCP Data received {"connection_id":141901,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:28:34] local.INFO: Processing buffer {"connection_id":141901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:28:34] local.INFO: Packet analysis {"connection_id":141901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:28:34] local.INFO: Extracted packet for processing {"connection_id":141901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:28:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":141901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:28:34] local.INFO: GPS data processed {"connection_id":141901,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:28:34] local.INFO: Acknowledgment sent {"connection_id":141901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:28:57] local.INFO: TCP Data received {"connection_id":143247,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:28:57] local.INFO: Processing buffer {"connection_id":143247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:28:57] local.INFO: IMEI packet received {"connection_id":143247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":143247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:29:02] local.INFO: TCP Data received {"connection_id":143247,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:29:02] local.INFO: Processing buffer {"connection_id":143247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:29:02] local.INFO: IMEI packet received {"connection_id":143247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":143247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:29:02] local.INFO: TCP Data received {"connection_id":143247,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:29:03] local.INFO: Processing buffer {"connection_id":143247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:29:03] local.INFO: Packet analysis {"connection_id":143247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:29:03] local.INFO: Extracted packet for processing {"connection_id":143247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 04:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 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-07-25 04:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 04:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:29:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:29:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":143247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:29:03] local.INFO: GPS data processed {"connection_id":143247,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:29:03] local.INFO: Acknowledgment sent {"connection_id":143247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:29:34] local.INFO: TCP Data received {"connection_id":143247,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:29:34] local.INFO: Processing buffer {"connection_id":143247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:29:34] local.INFO: Packet analysis {"connection_id":143247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:29:34] local.INFO: Extracted packet for processing {"connection_id":143247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:29:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":143247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:29:34] local.INFO: GPS data processed {"connection_id":143247,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:29:34] local.INFO: Acknowledgment sent {"connection_id":143247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:29:56] local.INFO: TCP Data received {"connection_id":141902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:29:56] local.INFO: Processing buffer {"connection_id":141902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:29:56] local.INFO: IMEI packet received {"connection_id":141902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":141902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:30:02] local.INFO: TCP Data received {"connection_id":141902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:30:02] local.INFO: Processing buffer {"connection_id":141902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:30:02] local.INFO: IMEI packet received {"connection_id":141902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":141902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:30:03] local.INFO: TCP Data received {"connection_id":141902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:30:03] local.INFO: Processing buffer {"connection_id":141902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:30:03] local.INFO: Packet analysis {"connection_id":141902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:30:03] local.INFO: Extracted packet for processing {"connection_id":141902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:30:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":141902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:30:03] local.INFO: GPS data processed {"connection_id":141902,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:30:03] local.INFO: Acknowledgment sent {"connection_id":141902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:30:34] local.INFO: TCP Data received {"connection_id":141902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:30:34] local.INFO: Processing buffer {"connection_id":141902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:30:34] local.INFO: Packet analysis {"connection_id":141902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:30:34] local.INFO: Extracted packet for processing {"connection_id":141902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:30:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:30:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":141902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:30:34] local.INFO: GPS data processed {"connection_id":141902,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:30:34] local.INFO: Acknowledgment sent {"connection_id":141902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:30:56] local.INFO: TCP Data received {"connection_id":141903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:30:56] local.INFO: Processing buffer {"connection_id":141903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:30:56] local.INFO: IMEI packet received {"connection_id":141903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":141903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:31:02] local.INFO: TCP Data received {"connection_id":141903,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:31:02] local.INFO: Processing buffer {"connection_id":141903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:31:02] local.INFO: IMEI packet received {"connection_id":141903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":141903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:31:03] local.INFO: TCP Data received {"connection_id":141903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:31:03] local.INFO: Processing buffer {"connection_id":141903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:31:03] local.INFO: Packet analysis {"connection_id":141903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:31:03] local.INFO: Extracted packet for processing {"connection_id":141903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:31:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":141903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:31:03] local.INFO: GPS data processed {"connection_id":141903,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:31:03] local.INFO: Acknowledgment sent {"connection_id":141903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:31:34] local.INFO: TCP Data received {"connection_id":141903,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:31:34] local.INFO: Processing buffer {"connection_id":141903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:31:34] local.INFO: Packet analysis {"connection_id":141903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:31:34] local.INFO: Extracted packet for processing {"connection_id":141903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:31:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":141903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:31:34] local.INFO: GPS data processed {"connection_id":141903,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:31:34] local.INFO: Acknowledgment sent {"connection_id":141903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:31:56] local.INFO: TCP Data received {"connection_id":141904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:31:56] local.INFO: Processing buffer {"connection_id":141904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:31:56] local.INFO: IMEI packet received {"connection_id":141904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":141904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:32:02] local.INFO: TCP Data received {"connection_id":141904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:32:02] local.INFO: Processing buffer {"connection_id":141904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:32:02] local.INFO: IMEI packet received {"connection_id":141904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":141904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:32:03] local.INFO: TCP Data received {"connection_id":141904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:32:03] local.INFO: Processing buffer {"connection_id":141904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:32:03] local.INFO: Packet analysis {"connection_id":141904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:32:03] local.INFO: Extracted packet for processing {"connection_id":141904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:32:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":141904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:32:03] local.INFO: GPS data processed {"connection_id":141904,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:32:03] local.INFO: Acknowledgment sent {"connection_id":141904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:32:34] local.INFO: TCP Data received {"connection_id":141904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:32:34] local.INFO: Processing buffer {"connection_id":141904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965913c0012d34c90006aa44e80013008224..."} 
[2026-07-25 04:32:34] local.INFO: Packet analysis {"connection_id":141904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:32:34] local.INFO: Extracted packet for processing {"connection_id":141904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9659"} 
[2026-07-25 04:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456942988032001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784933848000,"timestamp_ms":1784933848000,"timestamp_seconds":1784933848,"priority":1,"record_length":96,"hex_timestamp":"0000019f965913c0"} 
[2026-07-25 04:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 04:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456942988032001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456942988032001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:32:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:32:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456942988032001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":141904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:32:34] local.INFO: GPS data processed {"connection_id":141904,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:32:34] local.INFO: Acknowledgment sent {"connection_id":141904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:33:02] local.INFO: TCP Data received {"connection_id":141905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:02] local.INFO: Processing buffer {"connection_id":141905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:02] local.INFO: IMEI packet received {"connection_id":141905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":141905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:33:07] local.INFO: TCP Data received {"connection_id":141905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:07] local.INFO: Processing buffer {"connection_id":141905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:07] local.INFO: IMEI packet received {"connection_id":141905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":141905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:33:07] local.INFO: TCP Data received {"connection_id":141905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:07] local.INFO: Processing buffer {"connection_id":141905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:07] local.INFO: Packet analysis {"connection_id":141905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:33:07] local.INFO: Extracted packet for processing {"connection_id":141905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:33:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:33:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":141905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:33:07] local.INFO: GPS data processed {"connection_id":141905,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:33:07] local.INFO: Acknowledgment sent {"connection_id":141905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:33:08] local.INFO: TCP Data received {"connection_id":141905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:08] local.INFO: Processing buffer {"connection_id":141905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:08] local.INFO: Packet analysis {"connection_id":141905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:33:08] local.INFO: Extracted packet for processing {"connection_id":141905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:33:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":141905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:33:08] local.INFO: GPS data processed {"connection_id":141905,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:33:08] local.INFO: Acknowledgment sent {"connection_id":141905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:33:40] local.INFO: TCP Data received {"connection_id":141905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:40] local.INFO: Processing buffer {"connection_id":141905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:33:40] local.INFO: Packet analysis {"connection_id":141905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:33:40] local.INFO: Extracted packet for processing {"connection_id":141905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:33:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":141905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:33:40] local.INFO: GPS data processed {"connection_id":141905,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:33:40] local.INFO: Acknowledgment sent {"connection_id":141905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:33:57] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:57] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:33:57] local.INFO: IMEI packet received {"connection_id":140850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":140850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:34:02] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:34:02] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:34:02] local.INFO: IMEI packet received {"connection_id":140850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":140850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:34:03] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:34:03] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:34:03] local.INFO: Packet analysis {"connection_id":140850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:34:03] local.INFO: Extracted packet for processing {"connection_id":140850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 04:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 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-07-25 04:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 04:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:34:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:34:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":140850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:34:03] local.INFO: GPS data processed {"connection_id":140850,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:34:03] local.INFO: Acknowledgment sent {"connection_id":140850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:34:34] local.INFO: TCP Data received {"connection_id":140850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:34:34] local.INFO: Processing buffer {"connection_id":140850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:34:34] local.INFO: Packet analysis {"connection_id":140850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:34:34] local.INFO: Extracted packet for processing {"connection_id":140850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:34:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":140850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:34:34] local.INFO: GPS data processed {"connection_id":140850,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:34:34] local.INFO: Acknowledgment sent {"connection_id":140850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:34:57] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:34:57] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:34:57] local.INFO: IMEI packet received {"connection_id":140851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":140851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:35:02] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:35:02] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:35:02] local.INFO: IMEI packet received {"connection_id":140851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":140851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:35:03] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:35:03] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:35:03] local.INFO: Packet analysis {"connection_id":140851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:35:03] local.INFO: Extracted packet for processing {"connection_id":140851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:35:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":140851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:35:03] local.INFO: GPS data processed {"connection_id":140851,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:35:03] local.INFO: Acknowledgment sent {"connection_id":140851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:35:34] local.INFO: TCP Data received {"connection_id":140851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:35:34] local.INFO: Processing buffer {"connection_id":140851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:35:34] local.INFO: Packet analysis {"connection_id":140851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:35:34] local.INFO: Extracted packet for processing {"connection_id":140851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:35:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":140851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:35:34] local.INFO: GPS data processed {"connection_id":140851,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:35:34] local.INFO: Acknowledgment sent {"connection_id":140851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:35:56] local.INFO: TCP Data received {"connection_id":143248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:35:56] local.INFO: Processing buffer {"connection_id":143248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:35:56] local.INFO: IMEI packet received {"connection_id":143248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":143248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:36:02] local.INFO: TCP Data received {"connection_id":143248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:36:02] local.INFO: Processing buffer {"connection_id":143248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:36:02] local.INFO: IMEI packet received {"connection_id":143248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":143248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:36:03] local.INFO: TCP Data received {"connection_id":143248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:36:03] local.INFO: Processing buffer {"connection_id":143248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:36:03] local.INFO: Packet analysis {"connection_id":143248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:36:03] local.INFO: Extracted packet for processing {"connection_id":143248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:36:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":143248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:36:03] local.INFO: GPS data processed {"connection_id":143248,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:36:03] local.INFO: Acknowledgment sent {"connection_id":143248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:36:34] local.INFO: TCP Data received {"connection_id":143248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:36:34] local.INFO: Processing buffer {"connection_id":143248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:36:34] local.INFO: Packet analysis {"connection_id":143248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:36:34] local.INFO: Extracted packet for processing {"connection_id":143248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:36:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":143248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:36:34] local.INFO: GPS data processed {"connection_id":143248,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:36:34] local.INFO: Acknowledgment sent {"connection_id":143248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:36:56] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:36:56] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:36:56] local.INFO: IMEI packet received {"connection_id":140898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":140898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:37:02] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:37:02] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:37:02] local.INFO: IMEI packet received {"connection_id":140898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":140898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:37:03] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:37:03] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:37:03] local.INFO: Packet analysis {"connection_id":140898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:37:03] local.INFO: Extracted packet for processing {"connection_id":140898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:37:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:37:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":140898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:37:03] local.INFO: GPS data processed {"connection_id":140898,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:37:03] local.INFO: Acknowledgment sent {"connection_id":140898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:37:34] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:37:34] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:37:34] local.INFO: Packet analysis {"connection_id":140898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:37:34] local.INFO: Extracted packet for processing {"connection_id":140898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:37:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":140898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:37:34] local.INFO: GPS data processed {"connection_id":140898,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:37:34] local.INFO: Acknowledgment sent {"connection_id":140898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:38:02] local.INFO: TCP Data received {"connection_id":141906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:02] local.INFO: Processing buffer {"connection_id":141906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:02] local.INFO: IMEI packet received {"connection_id":141906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":141906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:38:07] local.INFO: TCP Data received {"connection_id":141906,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:07] local.INFO: Processing buffer {"connection_id":141906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:07] local.INFO: IMEI packet received {"connection_id":141906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":141906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:38:08] local.INFO: TCP Data received {"connection_id":141906,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:38:08] local.INFO: Processing buffer {"connection_id":141906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f965dab88012d34c90006aa44e80013008221..."} 
[2026-07-25 04:38:08] local.INFO: Packet analysis {"connection_id":141906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:38:08] local.INFO: Extracted packet for processing {"connection_id":141906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f965d"} 
[2026-07-25 04:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943065088001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784934149000,"timestamp_ms":1784934149000,"timestamp_seconds":1784934149,"priority":1,"record_length":96,"hex_timestamp":"0000019f965dab88"} 
[2026-07-25 04:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943065088001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943065088001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:38:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943065088001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":141906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:38:08] local.INFO: GPS data processed {"connection_id":141906,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:38:08] local.INFO: Acknowledgment sent {"connection_id":141906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:38:09] local.INFO: TCP Data received {"connection_id":141906,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:38:09] local.INFO: Processing buffer {"connection_id":141906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:38:09] local.INFO: Packet analysis {"connection_id":141906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:38:09] local.INFO: Extracted packet for processing {"connection_id":141906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:38:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":141906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:38:09] local.INFO: GPS data processed {"connection_id":141906,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:38:09] local.INFO: Acknowledgment sent {"connection_id":141906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:38:40] local.INFO: TCP Data received {"connection_id":141906,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:38:40] local.INFO: Processing buffer {"connection_id":141906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:38:40] local.INFO: Packet analysis {"connection_id":141906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:38:40] local.INFO: Extracted packet for processing {"connection_id":141906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:38:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":141906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:38:40] local.INFO: GPS data processed {"connection_id":141906,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:38:40] local.INFO: Acknowledgment sent {"connection_id":141906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:38:56] local.INFO: TCP Data received {"connection_id":143249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:56] local.INFO: Processing buffer {"connection_id":143249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:38:56] local.INFO: IMEI packet received {"connection_id":143249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":143249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:39:02] local.INFO: TCP Data received {"connection_id":143249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:39:02] local.INFO: Processing buffer {"connection_id":143249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:39:02] local.INFO: IMEI packet received {"connection_id":143249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":143249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:39:03] local.INFO: TCP Data received {"connection_id":143249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:39:03] local.INFO: Processing buffer {"connection_id":143249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:39:03] local.INFO: Packet analysis {"connection_id":143249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:39:03] local.INFO: Extracted packet for processing {"connection_id":143249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:39:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":143249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:39:03] local.INFO: GPS data processed {"connection_id":143249,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:39:03] local.INFO: Acknowledgment sent {"connection_id":143249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:39:34] local.INFO: TCP Data received {"connection_id":143249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:39:34] local.INFO: Processing buffer {"connection_id":143249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:39:34] local.INFO: Packet analysis {"connection_id":143249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:39:34] local.INFO: Extracted packet for processing {"connection_id":143249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:39:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":143249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:39:34] local.INFO: GPS data processed {"connection_id":143249,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:39:34] local.INFO: Acknowledgment sent {"connection_id":143249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:39:56] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:39:56] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:39:56] local.INFO: IMEI packet received {"connection_id":140852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":140852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:40:02] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:40:02] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:40:02] local.INFO: IMEI packet received {"connection_id":140852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":140852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:40:03] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:40:03] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:40:03] local.INFO: Packet analysis {"connection_id":140852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:40:03] local.INFO: Extracted packet for processing {"connection_id":140852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:40:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:40:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":140852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:40:03] local.INFO: GPS data processed {"connection_id":140852,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:40:03] local.INFO: Acknowledgment sent {"connection_id":140852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:40:34] local.INFO: TCP Data received {"connection_id":140852,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:40:34] local.INFO: Processing buffer {"connection_id":140852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:40:34] local.INFO: Packet analysis {"connection_id":140852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:40:34] local.INFO: Extracted packet for processing {"connection_id":140852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:40:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":140852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:40:34] local.INFO: GPS data processed {"connection_id":140852,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:40:34] local.INFO: Acknowledgment sent {"connection_id":140852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:40:56] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:40:56] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:40:56] local.INFO: IMEI packet received {"connection_id":140853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":140853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:41:02] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:41:02] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:41:02] local.INFO: IMEI packet received {"connection_id":140853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":140853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:41:03] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:41:03] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:41:03] local.INFO: Packet analysis {"connection_id":140853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:41:03] local.INFO: Extracted packet for processing {"connection_id":140853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:41:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":140853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:41:03] local.INFO: GPS data processed {"connection_id":140853,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:41:03] local.INFO: Acknowledgment sent {"connection_id":140853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:41:34] local.INFO: TCP Data received {"connection_id":140853,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:41:34] local.INFO: Processing buffer {"connection_id":140853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:41:34] local.INFO: Packet analysis {"connection_id":140853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:41:34] local.INFO: Extracted packet for processing {"connection_id":140853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:41:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":140853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:41:34] local.INFO: GPS data processed {"connection_id":140853,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:41:34] local.INFO: Acknowledgment sent {"connection_id":140853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:42:02] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:02] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:02] local.INFO: IMEI packet received {"connection_id":140854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":140854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:42:07] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:07] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:07] local.INFO: IMEI packet received {"connection_id":140854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":140854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:42:08] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:42:08] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:42:08] local.INFO: Packet analysis {"connection_id":140854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:42:08] local.INFO: Extracted packet for processing {"connection_id":140854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:42:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":140854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:42:08] local.INFO: GPS data processed {"connection_id":140854,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:42:08] local.INFO: Acknowledgment sent {"connection_id":140854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:42:12] local.INFO: TCP Data received {"connection_id":140854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:42:12] local.INFO: Processing buffer {"connection_id":140854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:42:12] local.INFO: Packet analysis {"connection_id":140854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:42:12] local.INFO: Extracted packet for processing {"connection_id":140854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:42:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:42:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":140854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:42:12] local.INFO: GPS data processed {"connection_id":140854,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:42:12] local.INFO: Acknowledgment sent {"connection_id":140854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:42:57] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:57] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:42:57] local.INFO: IMEI packet received {"connection_id":140855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":140855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:43:02] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:43:02] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:43:02] local.INFO: IMEI packet received {"connection_id":140855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":140855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:43:03] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:03] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:03] local.INFO: Packet analysis {"connection_id":140855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:43:03] local.INFO: Extracted packet for processing {"connection_id":140855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:43:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":140855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:43:03] local.INFO: GPS data processed {"connection_id":140855,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:43:03] local.INFO: Acknowledgment sent {"connection_id":140855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:43:07] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:07] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96623f68012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:07] local.INFO: Packet analysis {"connection_id":140855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:43:07] local.INFO: Extracted packet for processing {"connection_id":140855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9662"} 
[2026-07-25 04:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943142144001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784934449000,"timestamp_ms":1784934449000,"timestamp_seconds":1784934449,"priority":1,"record_length":96,"hex_timestamp":"0000019f96623f68"} 
[2026-07-25 04:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943142144001,"66":25343,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943142144001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:43:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943142144001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":140855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:43:07] local.INFO: GPS data processed {"connection_id":140855,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:43:07] local.INFO: Acknowledgment sent {"connection_id":140855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:43:39] local.INFO: TCP Data received {"connection_id":140855,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:39] local.INFO: Processing buffer {"connection_id":140855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:43:39] local.INFO: Packet analysis {"connection_id":140855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:43:39] local.INFO: Extracted packet for processing {"connection_id":140855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:43:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":140855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:43:40] local.INFO: GPS data processed {"connection_id":140855,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:43:40] local.INFO: Acknowledgment sent {"connection_id":140855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:43:56] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:43:56] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:43:56] local.INFO: IMEI packet received {"connection_id":143250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":143250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:44:02] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:44:02] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:44:02] local.INFO: IMEI packet received {"connection_id":143250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":143250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:44:02] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:44:02] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:44:02] local.INFO: Packet analysis {"connection_id":143250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:44:02] local.INFO: Extracted packet for processing {"connection_id":143250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:44:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":143250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:44:02] local.INFO: GPS data processed {"connection_id":143250,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:44:02] local.INFO: Acknowledgment sent {"connection_id":143250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:44:34] local.INFO: TCP Data received {"connection_id":143250,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:44:34] local.INFO: Processing buffer {"connection_id":143250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:44:34] local.INFO: Packet analysis {"connection_id":143250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:44:34] local.INFO: Extracted packet for processing {"connection_id":143250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:44:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":143250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:44:34] local.INFO: GPS data processed {"connection_id":143250,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:44:34] local.INFO: Acknowledgment sent {"connection_id":143250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:44:56] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:44:56] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:44:56] local.INFO: IMEI packet received {"connection_id":140899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":140899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:45:02] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:45:02] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:45:02] local.INFO: IMEI packet received {"connection_id":140899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":140899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:45:03] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:45:03] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:45:03] local.INFO: Packet analysis {"connection_id":140899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:45:03] local.INFO: Extracted packet for processing {"connection_id":140899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:45:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":140899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:45:03] local.INFO: GPS data processed {"connection_id":140899,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:45:03] local.INFO: Acknowledgment sent {"connection_id":140899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:45:34] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:45:34] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:45:34] local.INFO: Packet analysis {"connection_id":140899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:45:34] local.INFO: Extracted packet for processing {"connection_id":140899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:45:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:45:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":140899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:45:34] local.INFO: GPS data processed {"connection_id":140899,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:45:34] local.INFO: Acknowledgment sent {"connection_id":140899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:45:56] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:45:56] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:45:56] local.INFO: IMEI packet received {"connection_id":143251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":143251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:46:02] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:46:02] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:46:02] local.INFO: IMEI packet received {"connection_id":143251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":143251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:46:02] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:46:02] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:46:02] local.INFO: Packet analysis {"connection_id":143251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:46:02] local.INFO: Extracted packet for processing {"connection_id":143251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 04:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 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-07-25 04:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 04:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:46:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":143251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:46:03] local.INFO: GPS data processed {"connection_id":143251,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:46:03] local.INFO: Acknowledgment sent {"connection_id":143251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:46:34] local.INFO: TCP Data received {"connection_id":143251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:46:34] local.INFO: Processing buffer {"connection_id":143251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:46:34] local.INFO: Packet analysis {"connection_id":143251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:46:34] local.INFO: Extracted packet for processing {"connection_id":143251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:46:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":143251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:46:34] local.INFO: GPS data processed {"connection_id":143251,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:46:34] local.INFO: Acknowledgment sent {"connection_id":143251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:47:02] local.INFO: TCP Data received {"connection_id":143252,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:02] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:02] local.INFO: IMEI packet received {"connection_id":143252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":143252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:47:07] local.INFO: TCP Data received {"connection_id":143252,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:07] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:07] local.INFO: IMEI packet received {"connection_id":143252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":143252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:47:07] local.INFO: TCP Data received {"connection_id":143252,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:47:07] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:47:07] local.INFO: Packet analysis {"connection_id":143252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:47:07] local.INFO: Extracted packet for processing {"connection_id":143252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:47:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:47:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":143252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:47:07] local.INFO: GPS data processed {"connection_id":143252,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:47:07] local.INFO: Acknowledgment sent {"connection_id":143252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:47:12] local.INFO: TCP Data received {"connection_id":143252,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:47:12] local.INFO: Processing buffer {"connection_id":143252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:47:12] local.INFO: Packet analysis {"connection_id":143252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:47:12] local.INFO: Extracted packet for processing {"connection_id":143252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:47:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:47:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":143252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:47:12] local.INFO: GPS data processed {"connection_id":143252,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:47:12] local.INFO: Acknowledgment sent {"connection_id":143252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:47:57] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:57] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:47:57] local.INFO: IMEI packet received {"connection_id":143253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":143253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:48:02] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:48:02] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:48:02] local.INFO: IMEI packet received {"connection_id":143253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":143253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:48:03] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:48:03] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9666d730012d34c90006aa44e8001300821e..."} 
[2026-07-25 04:48:03] local.INFO: Packet analysis {"connection_id":143253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:48:03] local.INFO: Extracted packet for processing {"connection_id":143253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9666"} 
[2026-07-25 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":19,"angle":130,"satellites":30,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943218944001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784934750000,"timestamp_ms":1784934750000,"timestamp_seconds":1784934750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9666d730"} 
[2026-07-25 04:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 04:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943218944001,"66":25321,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943218944001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:48:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943218944001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":143253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:48:03] local.INFO: GPS data processed {"connection_id":143253,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:48:03] local.INFO: Acknowledgment sent {"connection_id":143253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:48:34] local.INFO: TCP Data received {"connection_id":143253,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:48:34] local.INFO: Processing buffer {"connection_id":143253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:48:34] local.INFO: Packet analysis {"connection_id":143253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:48:34] local.INFO: Extracted packet for processing {"connection_id":143253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:48:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":143253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:48:34] local.INFO: GPS data processed {"connection_id":143253,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:48:34] local.INFO: Acknowledgment sent {"connection_id":143253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:48:56] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:48:56] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:48:56] local.INFO: IMEI packet received {"connection_id":140856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":140856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:49:02] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:49:02] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:49:02] local.INFO: IMEI packet received {"connection_id":140856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":140856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:49:03] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:49:03] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:49:03] local.INFO: Packet analysis {"connection_id":140856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:49:03] local.INFO: Extracted packet for processing {"connection_id":140856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:49:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":140856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:49:03] local.INFO: GPS data processed {"connection_id":140856,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:49:03] local.INFO: Acknowledgment sent {"connection_id":140856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:49:34] local.INFO: TCP Data received {"connection_id":140856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:49:34] local.INFO: Processing buffer {"connection_id":140856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:49:34] local.INFO: Packet analysis {"connection_id":140856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:49:34] local.INFO: Extracted packet for processing {"connection_id":140856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:49:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:49:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":140856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:49:34] local.INFO: GPS data processed {"connection_id":140856,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:49:34] local.INFO: Acknowledgment sent {"connection_id":140856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:50:02] local.INFO: TCP Data received {"connection_id":143254,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:02] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:02] local.INFO: IMEI packet received {"connection_id":143254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":143254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:50:07] local.INFO: TCP Data received {"connection_id":143254,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:07] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:07] local.INFO: IMEI packet received {"connection_id":143254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":143254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:50:07] local.INFO: TCP Data received {"connection_id":143254,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:50:07] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:50:07] local.INFO: Packet analysis {"connection_id":143254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:50:07] local.INFO: Extracted packet for processing {"connection_id":143254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:50:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:50:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:50:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":143254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:50:07] local.INFO: GPS data processed {"connection_id":143254,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:50:07] local.INFO: Acknowledgment sent {"connection_id":143254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:50:12] local.INFO: TCP Data received {"connection_id":143254,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:50:12] local.INFO: Processing buffer {"connection_id":143254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:50:12] local.INFO: Packet analysis {"connection_id":143254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:50:12] local.INFO: Extracted packet for processing {"connection_id":143254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:50:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:50:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":143254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:50:12] local.INFO: GPS data processed {"connection_id":143254,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:50:12] local.INFO: Acknowledgment sent {"connection_id":143254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:50:57] local.INFO: TCP Data received {"connection_id":141907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:57] local.INFO: Processing buffer {"connection_id":141907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:50:57] local.INFO: IMEI packet received {"connection_id":141907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":141907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:51:02] local.INFO: TCP Data received {"connection_id":141907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:51:02] local.INFO: Processing buffer {"connection_id":141907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:51:02] local.INFO: IMEI packet received {"connection_id":141907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":141907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:51:03] local.INFO: TCP Data received {"connection_id":141907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:03] local.INFO: Processing buffer {"connection_id":141907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:03] local.INFO: Packet analysis {"connection_id":141907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:51:03] local.INFO: Extracted packet for processing {"connection_id":141907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 04:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 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-07-25 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 04:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:51:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":141907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:51:03] local.INFO: GPS data processed {"connection_id":141907,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:51:03] local.INFO: Acknowledgment sent {"connection_id":141907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:51:07] local.INFO: TCP Data received {"connection_id":141907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:07] local.INFO: Processing buffer {"connection_id":141907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:07] local.INFO: Packet analysis {"connection_id":141907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:51:07] local.INFO: Extracted packet for processing {"connection_id":141907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:51:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:51:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":141907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:51:07] local.INFO: GPS data processed {"connection_id":141907,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:51:07] local.INFO: Acknowledgment sent {"connection_id":141907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:51:38] local.INFO: TCP Data received {"connection_id":141907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:38] local.INFO: Processing buffer {"connection_id":141907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:51:38] local.INFO: Packet analysis {"connection_id":141907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:51:38] local.INFO: Extracted packet for processing {"connection_id":141907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:51:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":141907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:51:38] local.INFO: GPS data processed {"connection_id":141907,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:51:38] local.INFO: Acknowledgment sent {"connection_id":141907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:51:57] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:51:57] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:51:57] local.INFO: IMEI packet received {"connection_id":140857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":140857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:52:02] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:52:02] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:52:02] local.INFO: IMEI packet received {"connection_id":140857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":140857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:52:02] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:52:02] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:52:02] local.INFO: Packet analysis {"connection_id":140857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:52:02] local.INFO: Extracted packet for processing {"connection_id":140857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:52:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:52:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":140857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:52:02] local.INFO: GPS data processed {"connection_id":140857,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:52:02] local.INFO: Acknowledgment sent {"connection_id":140857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:52:34] local.INFO: TCP Data received {"connection_id":140857,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:52:34] local.INFO: Processing buffer {"connection_id":140857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:52:34] local.INFO: Packet analysis {"connection_id":140857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:52:34] local.INFO: Extracted packet for processing {"connection_id":140857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:52:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":140857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:52:34] local.INFO: GPS data processed {"connection_id":140857,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:52:34] local.INFO: Acknowledgment sent {"connection_id":140857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:52:57] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:52:57] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:52:57] local.INFO: IMEI packet received {"connection_id":140900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":140900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:53:02] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:53:02] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:53:02] local.INFO: IMEI packet received {"connection_id":140900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":140900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:53:02] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:53:02] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f966b6ef8012d34c90006aa44e8000d00821c..."} 
[2026-07-25 04:53:02] local.INFO: Packet analysis {"connection_id":140900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:53:02] local.INFO: Extracted packet for processing {"connection_id":140900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f966b"} 
[2026-07-25 04:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":28,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943296000001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935051000,"timestamp_ms":1784935051000,"timestamp_seconds":1784935051,"priority":1,"record_length":96,"hex_timestamp":"0000019f966b6ef8"} 
[2026-07-25 04:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 04:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943296000001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943296000001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:53:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943296000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":140900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:53:02] local.INFO: GPS data processed {"connection_id":140900,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:53:02] local.INFO: Acknowledgment sent {"connection_id":140900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:53:33] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:53:33] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:53:33] local.INFO: Packet analysis {"connection_id":140900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:53:33] local.INFO: Extracted packet for processing {"connection_id":140900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:53:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:53: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-07-25 04: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-07-25 04:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:53:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:53:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":140900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:53:33] local.INFO: GPS data processed {"connection_id":140900,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:53:33] local.INFO: Acknowledgment sent {"connection_id":140900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:53:56] local.INFO: TCP Data received {"connection_id":143255,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:53:56] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:53:56] local.INFO: IMEI packet received {"connection_id":143255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":143255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:54:02] local.INFO: TCP Data received {"connection_id":143255,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:54:02] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:54:02] local.INFO: IMEI packet received {"connection_id":143255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":143255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:54:03] local.INFO: TCP Data received {"connection_id":143255,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:54:03] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:54:03] local.INFO: Packet analysis {"connection_id":143255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:54:03] local.INFO: Extracted packet for processing {"connection_id":143255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:54:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":143255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:54:03] local.INFO: GPS data processed {"connection_id":143255,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:54:03] local.INFO: Acknowledgment sent {"connection_id":143255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:54:34] local.INFO: TCP Data received {"connection_id":143255,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:54:34] local.INFO: Processing buffer {"connection_id":143255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:54:34] local.INFO: Packet analysis {"connection_id":143255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:54:34] local.INFO: Extracted packet for processing {"connection_id":143255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:54:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:54:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":143255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:54:34] local.INFO: GPS data processed {"connection_id":143255,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:54:34] local.INFO: Acknowledgment sent {"connection_id":143255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:54:56] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:54:56] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:54:56] local.INFO: IMEI packet received {"connection_id":140858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":140858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:55:02] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:55:02] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:55:02] local.INFO: IMEI packet received {"connection_id":140858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":140858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:55:02] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:55:02] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:55:02] local.INFO: Packet analysis {"connection_id":140858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:55:02] local.INFO: Extracted packet for processing {"connection_id":140858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:55:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:55:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":140858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:55:02] local.INFO: GPS data processed {"connection_id":140858,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:55:02] local.INFO: Acknowledgment sent {"connection_id":140858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:55:34] local.INFO: TCP Data received {"connection_id":140858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:55:34] local.INFO: Processing buffer {"connection_id":140858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:55:34] local.INFO: Packet analysis {"connection_id":140858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:55:34] local.INFO: Extracted packet for processing {"connection_id":140858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:55:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:55:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":140858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:55:34] local.INFO: GPS data processed {"connection_id":140858,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:55:34] local.INFO: Acknowledgment sent {"connection_id":140858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:56:02] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:02] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:02] local.INFO: IMEI packet received {"connection_id":143256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":143256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:56:07] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:07] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:07] local.INFO: IMEI packet received {"connection_id":143256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":143256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:56:08] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:56:08] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:56:08] local.INFO: Packet analysis {"connection_id":143256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:56:08] local.INFO: Extracted packet for processing {"connection_id":143256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:56:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":143256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:56:08] local.INFO: GPS data processed {"connection_id":143256,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:56:08] local.INFO: Acknowledgment sent {"connection_id":143256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:56:12] local.INFO: TCP Data received {"connection_id":143256,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:56:12] local.INFO: Processing buffer {"connection_id":143256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:56:12] local.INFO: Packet analysis {"connection_id":143256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:56:12] local.INFO: Extracted packet for processing {"connection_id":143256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:56:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:56:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":143256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:56:12] local.INFO: GPS data processed {"connection_id":143256,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:56:12] local.INFO: Acknowledgment sent {"connection_id":143256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:56:57] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:57] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:56:57] local.INFO: IMEI packet received {"connection_id":140901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":140901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:57:02] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:57:02] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:57:02] local.INFO: IMEI packet received {"connection_id":140901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":140901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:57:02] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:57:02] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:57:02] local.INFO: Packet analysis {"connection_id":140901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:57:02] local.INFO: Extracted packet for processing {"connection_id":140901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:57:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:57:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":140901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:57:02] local.INFO: GPS data processed {"connection_id":140901,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:57:02] local.INFO: Acknowledgment sent {"connection_id":140901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:57:34] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:57:34] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:57:34] local.INFO: Packet analysis {"connection_id":140901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:57:34] local.INFO: Extracted packet for processing {"connection_id":140901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:57:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":140901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:57:34] local.INFO: GPS data processed {"connection_id":140901,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:57:34] local.INFO: Acknowledgment sent {"connection_id":140901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:57:57] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:57:57] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:57:57] local.INFO: IMEI packet received {"connection_id":140902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":140902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:58:02] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:58:02] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:58:02] local.INFO: IMEI packet received {"connection_id":140902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":140902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:58:03] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:58:03] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967006c0012d34c90006aa44e80008008221..."} 
[2026-07-25 04:58:03] local.INFO: Packet analysis {"connection_id":140902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:58:03] local.INFO: Extracted packet for processing {"connection_id":140902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9670"} 
[2026-07-25 04:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":33,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943373056001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935352000,"timestamp_ms":1784935352000,"timestamp_seconds":1784935352,"priority":1,"record_length":96,"hex_timestamp":"0000019f967006c0"} 
[2026-07-25 04:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943373056001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943373056001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:58:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943373056001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":140902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:58:03] local.INFO: GPS data processed {"connection_id":140902,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:58:03] local.INFO: Acknowledgment sent {"connection_id":140902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:58:34] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:58:34] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:58:34] local.INFO: Packet analysis {"connection_id":140902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 04:58:34] local.INFO: Extracted packet for processing {"connection_id":140902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 04:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04: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-07-25 04:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 04:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04: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-07-25 04:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:58:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":140902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:58:34] local.INFO: GPS data processed {"connection_id":140902,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:58:34] local.INFO: Acknowledgment sent {"connection_id":140902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:58:56] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:58:56] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:58:56] local.INFO: IMEI packet received {"connection_id":140859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 04:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":140859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 04:59:02] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:59:02] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 04:59:02] local.INFO: IMEI packet received {"connection_id":140859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 04:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":140859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 04:59:03] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:59:03] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:59:03] local.INFO: Packet analysis {"connection_id":140859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 04:59:03] local.INFO: Extracted packet for processing {"connection_id":140859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 04:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:59:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":140859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:59:03] local.INFO: GPS data processed {"connection_id":140859,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:59:03] local.INFO: Acknowledgment sent {"connection_id":140859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 04:59:34] local.INFO: TCP Data received {"connection_id":140859,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:59:34] local.INFO: Processing buffer {"connection_id":140859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 04:59:34] local.INFO: Packet analysis {"connection_id":140859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 04:59:34] local.INFO: Extracted packet for processing {"connection_id":140859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 04:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 04:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 04:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 04:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 04:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 04:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 04:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 04:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 04:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 04:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 04:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 04:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 04:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 04:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 04:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 04:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 04:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 04:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 04:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 04:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 04:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 04:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 04:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 04:59:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 04:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 04:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 04:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 04:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 04:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":140859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 04:59:34] local.INFO: GPS data processed {"connection_id":140859,"processed":1,"errors":0,"total":1} 
[2026-07-25 04:59:34] local.INFO: Acknowledgment sent {"connection_id":140859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:00:02] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:02] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:02] local.INFO: IMEI packet received {"connection_id":143257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":143257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:00:07] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:07] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:07] local.INFO: IMEI packet received {"connection_id":143257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":143257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:00:07] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:00:07] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:00:07] local.INFO: Packet analysis {"connection_id":143257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:00:07] local.INFO: Extracted packet for processing {"connection_id":143257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:00:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":143257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:00:07] local.INFO: GPS data processed {"connection_id":143257,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:00:07] local.INFO: Acknowledgment sent {"connection_id":143257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:00:12] local.INFO: TCP Data received {"connection_id":143257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:00:12] local.INFO: Processing buffer {"connection_id":143257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:00:12] local.INFO: Packet analysis {"connection_id":143257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:00:12] local.INFO: Extracted packet for processing {"connection_id":143257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:00:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:00:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":143257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:00:12] local.INFO: GPS data processed {"connection_id":143257,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:00:12] local.INFO: Acknowledgment sent {"connection_id":143257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:00:57] local.INFO: TCP Data received {"connection_id":143258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:57] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:00:57] local.INFO: IMEI packet received {"connection_id":143258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":143258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:01:02] local.INFO: TCP Data received {"connection_id":143258,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:01:02] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:01:02] local.INFO: IMEI packet received {"connection_id":143258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":143258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:01:02] local.INFO: TCP Data received {"connection_id":143258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:01:02] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:01:02] local.INFO: Packet analysis {"connection_id":143258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:01:02] local.INFO: Extracted packet for processing {"connection_id":143258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:01:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":143258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:01:02] local.INFO: GPS data processed {"connection_id":143258,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:01:02] local.INFO: Acknowledgment sent {"connection_id":143258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:01:34] local.INFO: TCP Data received {"connection_id":143258,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:01:34] local.INFO: Processing buffer {"connection_id":143258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:01:34] local.INFO: Packet analysis {"connection_id":143258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:01:34] local.INFO: Extracted packet for processing {"connection_id":143258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:01:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":143258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:01:34] local.INFO: GPS data processed {"connection_id":143258,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:01:34] local.INFO: Acknowledgment sent {"connection_id":143258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:01:57] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:01:57] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:01:57] local.INFO: IMEI packet received {"connection_id":140860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":140860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:02:02] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:02:02] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:02:02] local.INFO: IMEI packet received {"connection_id":140860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":140860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:02:02] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:02:02] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:02:02] local.INFO: Packet analysis {"connection_id":140860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:02:02] local.INFO: Extracted packet for processing {"connection_id":140860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:02:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:02:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":140860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:02:03] local.INFO: GPS data processed {"connection_id":140860,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:02:03] local.INFO: Acknowledgment sent {"connection_id":140860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:02:34] local.INFO: TCP Data received {"connection_id":140860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:02:34] local.INFO: Processing buffer {"connection_id":140860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:02:34] local.INFO: Packet analysis {"connection_id":140860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:02:34] local.INFO: Extracted packet for processing {"connection_id":140860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:02:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":140860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:02:34] local.INFO: GPS data processed {"connection_id":140860,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:02:34] local.INFO: Acknowledgment sent {"connection_id":140860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:02:57] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:02:57] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:02:57] local.INFO: IMEI packet received {"connection_id":140903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":140903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:03:02] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:03:02] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:03:02] local.INFO: IMEI packet received {"connection_id":140903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":140903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:03:03] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:03:03] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96749e88012d34c90006aa44e80008008222..."} 
[2026-07-25 05:03:03] local.INFO: Packet analysis {"connection_id":140903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:03:03] local.INFO: Extracted packet for processing {"connection_id":140903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9674"} 
[2026-07-25 05:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943450112001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935653000,"timestamp_ms":1784935653000,"timestamp_seconds":1784935653,"priority":1,"record_length":96,"hex_timestamp":"0000019f96749e88"} 
[2026-07-25 05:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943450112001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943450112001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:03:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943450112001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":140903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:03:03] local.INFO: GPS data processed {"connection_id":140903,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:03:03] local.INFO: Acknowledgment sent {"connection_id":140903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:03:34] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:03:34] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:03:34] local.INFO: Packet analysis {"connection_id":140903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:03:34] local.INFO: Extracted packet for processing {"connection_id":140903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:03:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:03:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":140903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:03:34] local.INFO: GPS data processed {"connection_id":140903,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:03:34] local.INFO: Acknowledgment sent {"connection_id":140903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:03:56] local.INFO: TCP Data received {"connection_id":141908,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:03:56] local.INFO: Processing buffer {"connection_id":141908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:03:56] local.INFO: IMEI packet received {"connection_id":141908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":141908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:04:02] local.INFO: TCP Data received {"connection_id":141908,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:04:02] local.INFO: Processing buffer {"connection_id":141908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:04:02] local.INFO: IMEI packet received {"connection_id":141908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":141908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:04:02] local.INFO: TCP Data received {"connection_id":141908,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:04:02] local.INFO: Processing buffer {"connection_id":141908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:04:02] local.INFO: Packet analysis {"connection_id":141908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:04:02] local.INFO: Extracted packet for processing {"connection_id":141908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:04:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":141908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:04:02] local.INFO: GPS data processed {"connection_id":141908,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:04:02] local.INFO: Acknowledgment sent {"connection_id":141908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:04:34] local.INFO: TCP Data received {"connection_id":141908,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:04:34] local.INFO: Processing buffer {"connection_id":141908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:04:34] local.INFO: Packet analysis {"connection_id":141908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:04:34] local.INFO: Extracted packet for processing {"connection_id":141908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:04:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:04:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":141908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:04:34] local.INFO: GPS data processed {"connection_id":141908,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:04:34] local.INFO: Acknowledgment sent {"connection_id":141908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:05:02] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:02] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:02] local.INFO: IMEI packet received {"connection_id":140904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":140904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:05:07] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:07] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:07] local.INFO: IMEI packet received {"connection_id":140904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":140904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:05:08] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:05:08] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:05:08] local.INFO: Packet analysis {"connection_id":140904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:05:08] local.INFO: Extracted packet for processing {"connection_id":140904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:05:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":140904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:05:08] local.INFO: GPS data processed {"connection_id":140904,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:05:08] local.INFO: Acknowledgment sent {"connection_id":140904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:05:12] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:05:12] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:05:12] local.INFO: Packet analysis {"connection_id":140904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:05:12] local.INFO: Extracted packet for processing {"connection_id":140904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:05:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:05:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":140904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:05:12] local.INFO: GPS data processed {"connection_id":140904,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:05:12] local.INFO: Acknowledgment sent {"connection_id":140904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:05:57] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:57] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:05:57] local.INFO: IMEI packet received {"connection_id":140861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":140861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:06:02] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:06:02] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:06:02] local.INFO: IMEI packet received {"connection_id":140861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":140861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:06:03] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:06:03] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:06:03] local.INFO: Packet analysis {"connection_id":140861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:06:03] local.INFO: Extracted packet for processing {"connection_id":140861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:06:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":140861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:06:03] local.INFO: GPS data processed {"connection_id":140861,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:06:03] local.INFO: Acknowledgment sent {"connection_id":140861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:06:34] local.INFO: TCP Data received {"connection_id":140861,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:06:34] local.INFO: Processing buffer {"connection_id":140861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:06:34] local.INFO: Packet analysis {"connection_id":140861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:06:34] local.INFO: Extracted packet for processing {"connection_id":140861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:06:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":140861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:06:34] local.INFO: GPS data processed {"connection_id":140861,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:06:34] local.INFO: Acknowledgment sent {"connection_id":140861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:06:57] local.INFO: TCP Data received {"connection_id":143259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:06:57] local.INFO: Processing buffer {"connection_id":143259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:06:57] local.INFO: IMEI packet received {"connection_id":143259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":143259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:07:02] local.INFO: TCP Data received {"connection_id":143259,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:07:02] local.INFO: Processing buffer {"connection_id":143259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:07:02] local.INFO: IMEI packet received {"connection_id":143259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":143259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:07:02] local.INFO: TCP Data received {"connection_id":143259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:07:02] local.INFO: Processing buffer {"connection_id":143259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:07:02] local.INFO: Packet analysis {"connection_id":143259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:07:02] local.INFO: Extracted packet for processing {"connection_id":143259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:07:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":143259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:07:02] local.INFO: GPS data processed {"connection_id":143259,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:07:02] local.INFO: Acknowledgment sent {"connection_id":143259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:07:34] local.INFO: TCP Data received {"connection_id":143259,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:07:34] local.INFO: Processing buffer {"connection_id":143259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:07:34] local.INFO: Packet analysis {"connection_id":143259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:07:34] local.INFO: Extracted packet for processing {"connection_id":143259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 05:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:07:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":143259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:07:34] local.INFO: GPS data processed {"connection_id":143259,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:07:34] local.INFO: Acknowledgment sent {"connection_id":143259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:07:57] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:07:57] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:07:57] local.INFO: IMEI packet received {"connection_id":140905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":140905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:08:02] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:08:02] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:08:02] local.INFO: IMEI packet received {"connection_id":140905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":140905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:08:02] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:08:02] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96793a38012d34c90006aa44e80008008225..."} 
[2026-07-25 05:08:02] local.INFO: Packet analysis {"connection_id":140905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:08:02] local.INFO: Extracted packet for processing {"connection_id":140905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9679"} 
[2026-07-25 05:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 05:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943527168001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784935955000,"timestamp_ms":1784935955000,"timestamp_seconds":1784935955,"priority":1,"record_length":96,"hex_timestamp":"0000019f96793a38"} 
[2026-07-25 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-07-25 05:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 05:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943527168001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943527168001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:08:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943527168001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":140905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:08:02] local.INFO: GPS data processed {"connection_id":140905,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:08:02] local.INFO: Acknowledgment sent {"connection_id":140905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:08:33] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:08:33] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:08:33] local.INFO: Packet analysis {"connection_id":140905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:08:33] local.INFO: Extracted packet for processing {"connection_id":140905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:08: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-07-25 05: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-07-25 05:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:08:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:08:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":140905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:08:33] local.INFO: GPS data processed {"connection_id":140905,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:08:33] local.INFO: Acknowledgment sent {"connection_id":140905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:08:56] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:08:56] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:08:56] local.INFO: IMEI packet received {"connection_id":140862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":140862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:09:02] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:09:02] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:09:02] local.INFO: IMEI packet received {"connection_id":140862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":140862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:09:03] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:09:03] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:09:03] local.INFO: Packet analysis {"connection_id":140862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:09:03] local.INFO: Extracted packet for processing {"connection_id":140862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:09:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:09:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":140862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:09:03] local.INFO: GPS data processed {"connection_id":140862,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:09:03] local.INFO: Acknowledgment sent {"connection_id":140862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:09:34] local.INFO: TCP Data received {"connection_id":140862,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:09:34] local.INFO: Processing buffer {"connection_id":140862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:09:34] local.INFO: Packet analysis {"connection_id":140862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:09:34] local.INFO: Extracted packet for processing {"connection_id":140862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:09:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:09:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":140862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:09:34] local.INFO: GPS data processed {"connection_id":140862,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:09:34] local.INFO: Acknowledgment sent {"connection_id":140862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:10:02] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:02] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:02] local.INFO: IMEI packet received {"connection_id":140906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":140906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:10:07] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:07] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:07] local.INFO: IMEI packet received {"connection_id":140906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":140906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:10:08] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:10:08] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:10:08] local.INFO: Packet analysis {"connection_id":140906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:10:08] local.INFO: Extracted packet for processing {"connection_id":140906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:10:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":140906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:10:08] local.INFO: GPS data processed {"connection_id":140906,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:10:08] local.INFO: Acknowledgment sent {"connection_id":140906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:10:12] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:10:12] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:10:12] local.INFO: Packet analysis {"connection_id":140906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:10:12] local.INFO: Extracted packet for processing {"connection_id":140906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:10:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:10:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":140906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:10:12] local.INFO: GPS data processed {"connection_id":140906,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:10:12] local.INFO: Acknowledgment sent {"connection_id":140906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:10:57] local.INFO: TCP Data received {"connection_id":143260,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:57] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:10:57] local.INFO: IMEI packet received {"connection_id":143260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":143260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:11:02] local.INFO: TCP Data received {"connection_id":143260,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:11:02] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:11:02] local.INFO: IMEI packet received {"connection_id":143260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":143260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:11:03] local.INFO: TCP Data received {"connection_id":143260,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:11:03] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:11:03] local.INFO: Packet analysis {"connection_id":143260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:11:03] local.INFO: Extracted packet for processing {"connection_id":143260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:11:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":143260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:11:03] local.INFO: GPS data processed {"connection_id":143260,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:11:03] local.INFO: Acknowledgment sent {"connection_id":143260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:11:35] local.INFO: TCP Data received {"connection_id":143260,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:11:35] local.INFO: Processing buffer {"connection_id":143260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:11:35] local.INFO: Packet analysis {"connection_id":143260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:11:35] local.INFO: Extracted packet for processing {"connection_id":143260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:11:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:11:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":143260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:11:35] local.INFO: GPS data processed {"connection_id":143260,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:11:35] local.INFO: Acknowledgment sent {"connection_id":143260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:11:56] local.INFO: TCP Data received {"connection_id":141909,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:11:56] local.INFO: Processing buffer {"connection_id":141909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:11:56] local.INFO: IMEI packet received {"connection_id":141909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":141909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:12:02] local.INFO: TCP Data received {"connection_id":141909,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:12:02] local.INFO: Processing buffer {"connection_id":141909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:12:02] local.INFO: IMEI packet received {"connection_id":141909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":141909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:12:03] local.INFO: TCP Data received {"connection_id":141909,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:12:03] local.INFO: Processing buffer {"connection_id":141909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:12:03] local.INFO: Packet analysis {"connection_id":141909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:12:03] local.INFO: Extracted packet for processing {"connection_id":141909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:12:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:12:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":141909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:12:03] local.INFO: GPS data processed {"connection_id":141909,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:12:03] local.INFO: Acknowledgment sent {"connection_id":141909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:12:34] local.INFO: TCP Data received {"connection_id":141909,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:12:34] local.INFO: Processing buffer {"connection_id":141909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:12:34] local.INFO: Packet analysis {"connection_id":141909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:12:34] local.INFO: Extracted packet for processing {"connection_id":141909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:12:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:12:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":141909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:12:34] local.INFO: GPS data processed {"connection_id":141909,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:12:34] local.INFO: Acknowledgment sent {"connection_id":141909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:12:56] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:12:56] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:12:56] local.INFO: IMEI packet received {"connection_id":140907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":140907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:13:02] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:13:02] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:13:02] local.INFO: IMEI packet received {"connection_id":140907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":140907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:13:03] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:13:03] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f967dd200012d34c90006aa44e80008008224..."} 
[2026-07-25 05:13:03] local.INFO: Packet analysis {"connection_id":140907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:13:03] local.INFO: Extracted packet for processing {"connection_id":140907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f967d"} 
[2026-07-25 05:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943604480001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936256000,"timestamp_ms":1784936256000,"timestamp_seconds":1784936256,"priority":1,"record_length":96,"hex_timestamp":"0000019f967dd200"} 
[2026-07-25 05:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943604480001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943604480001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:13:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943604480001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":140907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:13:03] local.INFO: GPS data processed {"connection_id":140907,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:13:03] local.INFO: Acknowledgment sent {"connection_id":140907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:13:34] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:13:34] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:13:34] local.INFO: Packet analysis {"connection_id":140907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:13:34] local.INFO: Extracted packet for processing {"connection_id":140907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":140907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:13:34] local.INFO: GPS data processed {"connection_id":140907,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:13:34] local.INFO: Acknowledgment sent {"connection_id":140907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:13:56] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:13:56] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:13:56] local.INFO: IMEI packet received {"connection_id":140908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":140908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:14:02] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:14:02] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:14:02] local.INFO: IMEI packet received {"connection_id":140908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":140908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:14:02] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:14:03] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:14:03] local.INFO: Packet analysis {"connection_id":140908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:14:03] local.INFO: Extracted packet for processing {"connection_id":140908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:14:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:14:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":140908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:14:03] local.INFO: GPS data processed {"connection_id":140908,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:14:03] local.INFO: Acknowledgment sent {"connection_id":140908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:14:34] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:14:34] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:14:34] local.INFO: Packet analysis {"connection_id":140908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:14:34] local.INFO: Extracted packet for processing {"connection_id":140908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:14:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":140908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:14:34] local.INFO: GPS data processed {"connection_id":140908,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:14:34] local.INFO: Acknowledgment sent {"connection_id":140908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:15:02] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:02] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:02] local.INFO: IMEI packet received {"connection_id":140863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":140863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:15:07] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:07] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:07] local.INFO: IMEI packet received {"connection_id":140863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":140863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:15:08] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:15:08] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:15:08] local.INFO: Packet analysis {"connection_id":140863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:15:08] local.INFO: Extracted packet for processing {"connection_id":140863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:15:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":140863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:15:08] local.INFO: GPS data processed {"connection_id":140863,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:15:08] local.INFO: Acknowledgment sent {"connection_id":140863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:15:12] local.INFO: TCP Data received {"connection_id":140863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:15:12] local.INFO: Processing buffer {"connection_id":140863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:15:12] local.INFO: Packet analysis {"connection_id":140863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:15:12] local.INFO: Extracted packet for processing {"connection_id":140863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:15:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:15:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":140863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:15:12] local.INFO: GPS data processed {"connection_id":140863,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:15:12] local.INFO: Acknowledgment sent {"connection_id":140863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:15:57] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:57] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:15:57] local.INFO: IMEI packet received {"connection_id":140909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":140909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:16:02] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:16:02] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:16:02] local.INFO: IMEI packet received {"connection_id":140909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":140909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:16:03] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:16:03] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:16:03] local.INFO: Packet analysis {"connection_id":140909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:16:03] local.INFO: Extracted packet for processing {"connection_id":140909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:16:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:16:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":140909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:16:03] local.INFO: GPS data processed {"connection_id":140909,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:16:03] local.INFO: Acknowledgment sent {"connection_id":140909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:16:34] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:16:34] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:16:34] local.INFO: Packet analysis {"connection_id":140909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:16:34] local.INFO: Extracted packet for processing {"connection_id":140909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:16:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:16:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":140909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:16:34] local.INFO: GPS data processed {"connection_id":140909,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:16:34] local.INFO: Acknowledgment sent {"connection_id":140909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:16:57] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:16:57] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:16:57] local.INFO: IMEI packet received {"connection_id":140910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":140910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:17:02] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:17:02] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:17:02] local.INFO: IMEI packet received {"connection_id":140910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":140910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:17:02] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:17:03] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:17:03] local.INFO: Packet analysis {"connection_id":140910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:17:03] local.INFO: Extracted packet for processing {"connection_id":140910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:17:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:17:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":140910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:17:03] local.INFO: GPS data processed {"connection_id":140910,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:17:03] local.INFO: Acknowledgment sent {"connection_id":140910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:17:34] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:17:34] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:17:34] local.INFO: Packet analysis {"connection_id":140910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:17:34] local.INFO: Extracted packet for processing {"connection_id":140910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:17:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":140910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:17:34] local.INFO: GPS data processed {"connection_id":140910,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:17:34] local.INFO: Acknowledgment sent {"connection_id":140910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:17:57] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:17:57] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:17:57] local.INFO: IMEI packet received {"connection_id":140911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":140911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:18:02] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:18:02] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:18:02] local.INFO: IMEI packet received {"connection_id":140911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":140911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:18:03] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:18:03] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968269c8012d34c90006aa44e80008008225..."} 
[2026-07-25 05:18:03] local.INFO: Packet analysis {"connection_id":140911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:18:03] local.INFO: Extracted packet for processing {"connection_id":140911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9682"} 
[2026-07-25 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943681536001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784936557000,"timestamp_ms":1784936557000,"timestamp_seconds":1784936557,"priority":1,"record_length":96,"hex_timestamp":"0000019f968269c8"} 
[2026-07-25 05:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943681536001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943681536001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:18:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:18:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943681536001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":140911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:18:03] local.INFO: GPS data processed {"connection_id":140911,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:18:03] local.INFO: Acknowledgment sent {"connection_id":140911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:18:33] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:18:33] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:18:33] local.INFO: Packet analysis {"connection_id":140911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:18:33] local.INFO: Extracted packet for processing {"connection_id":140911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:18:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:18: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-07-25 05:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":140911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:18:33] local.INFO: GPS data processed {"connection_id":140911,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:18:33] local.INFO: Acknowledgment sent {"connection_id":140911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:19:02] local.INFO: TCP Data received {"connection_id":143261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:02] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:02] local.INFO: IMEI packet received {"connection_id":143261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":143261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:19:07] local.INFO: TCP Data received {"connection_id":143261,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:07] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:07] local.INFO: IMEI packet received {"connection_id":143261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":143261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:19:07] local.INFO: TCP Data received {"connection_id":143261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:19:07] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:19:07] local.INFO: Packet analysis {"connection_id":143261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:19:07] local.INFO: Extracted packet for processing {"connection_id":143261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:19:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:19:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:19:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":143261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:19:07] local.INFO: GPS data processed {"connection_id":143261,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:19:07] local.INFO: Acknowledgment sent {"connection_id":143261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:19:12] local.INFO: TCP Data received {"connection_id":143261,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:19:12] local.INFO: Processing buffer {"connection_id":143261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:19:12] local.INFO: Packet analysis {"connection_id":143261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:19:12] local.INFO: Extracted packet for processing {"connection_id":143261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:19:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":143261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:19:12] local.INFO: GPS data processed {"connection_id":143261,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:19:12] local.INFO: Acknowledgment sent {"connection_id":143261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:19:57] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:57] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:19:57] local.INFO: IMEI packet received {"connection_id":140912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":140912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:20:02] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:20:02] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:20:02] local.INFO: IMEI packet received {"connection_id":140912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":140912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:20:02] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:20:02] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:20:02] local.INFO: Packet analysis {"connection_id":140912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:20:02] local.INFO: Extracted packet for processing {"connection_id":140912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:20:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:20:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:20:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":140912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:20:02] local.INFO: GPS data processed {"connection_id":140912,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:20:02] local.INFO: Acknowledgment sent {"connection_id":140912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:20:34] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:20:34] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:20:34] local.INFO: Packet analysis {"connection_id":140912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:20:34] local.INFO: Extracted packet for processing {"connection_id":140912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:20:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":140912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:20:34] local.INFO: GPS data processed {"connection_id":140912,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:20:34] local.INFO: Acknowledgment sent {"connection_id":140912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:20:57] local.INFO: TCP Data received {"connection_id":141910,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:20:57] local.INFO: Processing buffer {"connection_id":141910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:20:57] local.INFO: IMEI packet received {"connection_id":141910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":141910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:21:02] local.INFO: TCP Data received {"connection_id":141910,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:21:02] local.INFO: Processing buffer {"connection_id":141910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:21:02] local.INFO: IMEI packet received {"connection_id":141910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":141910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:21:02] local.INFO: TCP Data received {"connection_id":141910,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:21:02] local.INFO: Processing buffer {"connection_id":141910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:21:02] local.INFO: Packet analysis {"connection_id":141910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:21:02] local.INFO: Extracted packet for processing {"connection_id":141910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:21:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":141910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:21:02] local.INFO: GPS data processed {"connection_id":141910,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:21:02] local.INFO: Acknowledgment sent {"connection_id":141910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:21:34] local.INFO: TCP Data received {"connection_id":141910,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:21:34] local.INFO: Processing buffer {"connection_id":141910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:21:34] local.INFO: Packet analysis {"connection_id":141910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:21:34] local.INFO: Extracted packet for processing {"connection_id":141910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:21:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":141910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:21:34] local.INFO: GPS data processed {"connection_id":141910,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:21:34] local.INFO: Acknowledgment sent {"connection_id":141910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:21:56] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:21:56] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:21:56] local.INFO: IMEI packet received {"connection_id":143262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":143262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:22:02] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:22:02] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:22:02] local.INFO: IMEI packet received {"connection_id":143262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":143262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:22:02] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:22:02] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:22:02] local.INFO: Packet analysis {"connection_id":143262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:22:02] local.INFO: Extracted packet for processing {"connection_id":143262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:22:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":143262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:22:02] local.INFO: GPS data processed {"connection_id":143262,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:22:02] local.INFO: Acknowledgment sent {"connection_id":143262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:22:34] local.INFO: TCP Data received {"connection_id":143262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:22:34] local.INFO: Processing buffer {"connection_id":143262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:22:34] local.INFO: Packet analysis {"connection_id":143262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:22:34] local.INFO: Extracted packet for processing {"connection_id":143262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:22:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:22:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":143262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:22:34] local.INFO: GPS data processed {"connection_id":143262,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:22:34] local.INFO: Acknowledgment sent {"connection_id":143262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:22:56] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:22:56] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:22:56] local.INFO: IMEI packet received {"connection_id":140913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":140913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:23:02] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:23:02] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:23:02] local.INFO: IMEI packet received {"connection_id":140913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":140913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:23:02] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:23:02] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96870190012d34c90006aa44e80008008222..."} 
[2026-07-25 05:23:02] local.INFO: Packet analysis {"connection_id":140913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:23:02] local.INFO: Extracted packet for processing {"connection_id":140913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9687"} 
[2026-07-25 05:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":8,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943758592001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784936858000,"timestamp_ms":1784936858000,"timestamp_seconds":1784936858,"priority":1,"record_length":96,"hex_timestamp":"0000019f96870190"} 
[2026-07-25 05:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943758592001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943758592001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:23:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:23:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943758592001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":140913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:23:02] local.INFO: GPS data processed {"connection_id":140913,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:23:02] local.INFO: Acknowledgment sent {"connection_id":140913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:23:34] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:23:34] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:23:34] local.INFO: Packet analysis {"connection_id":140913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:23:34] local.INFO: Extracted packet for processing {"connection_id":140913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:23:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":140913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:23:34] local.INFO: GPS data processed {"connection_id":140913,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:23:34] local.INFO: Acknowledgment sent {"connection_id":140913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:23:56] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:23:56] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:23:56] local.INFO: IMEI packet received {"connection_id":140864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":140864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:24:02] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:24:02] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:24:02] local.INFO: IMEI packet received {"connection_id":140864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":140864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:24:02] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:24:02] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:24:02] local.INFO: Packet analysis {"connection_id":140864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:24:02] local.INFO: Extracted packet for processing {"connection_id":140864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:24:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:24:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":140864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:24:02] local.INFO: GPS data processed {"connection_id":140864,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:24:02] local.INFO: Acknowledgment sent {"connection_id":140864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:24:34] local.INFO: TCP Data received {"connection_id":140864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:24:34] local.INFO: Processing buffer {"connection_id":140864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:24:34] local.INFO: Packet analysis {"connection_id":140864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:24:34] local.INFO: Extracted packet for processing {"connection_id":140864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:24:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":140864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:24:34] local.INFO: GPS data processed {"connection_id":140864,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:24:34] local.INFO: Acknowledgment sent {"connection_id":140864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:25:02] local.INFO: TCP Data received {"connection_id":143263,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:02] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:02] local.INFO: IMEI packet received {"connection_id":143263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":143263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:25:07] local.INFO: TCP Data received {"connection_id":143263,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:07] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:07] local.INFO: IMEI packet received {"connection_id":143263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":143263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:25:07] local.INFO: TCP Data received {"connection_id":143263,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:25:07] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:25:07] local.INFO: Packet analysis {"connection_id":143263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:25:07] local.INFO: Extracted packet for processing {"connection_id":143263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:25:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":143263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:25:07] local.INFO: GPS data processed {"connection_id":143263,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:25:07] local.INFO: Acknowledgment sent {"connection_id":143263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:25:12] local.INFO: TCP Data received {"connection_id":143263,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:25:12] local.INFO: Processing buffer {"connection_id":143263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:25:12] local.INFO: Packet analysis {"connection_id":143263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:25:12] local.INFO: Extracted packet for processing {"connection_id":143263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:25:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":143263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:25:12] local.INFO: GPS data processed {"connection_id":143263,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:25:12] local.INFO: Acknowledgment sent {"connection_id":143263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:25:57] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:57] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:25:57] local.INFO: IMEI packet received {"connection_id":140865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":140865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:26:02] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:26:02] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:26:02] local.INFO: IMEI packet received {"connection_id":140865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":140865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:26:02] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:26:02] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:26:02] local.INFO: Packet analysis {"connection_id":140865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:26:02] local.INFO: Extracted packet for processing {"connection_id":140865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:26:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":140865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:26:02] local.INFO: GPS data processed {"connection_id":140865,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:26:02] local.INFO: Acknowledgment sent {"connection_id":140865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:26:34] local.INFO: TCP Data received {"connection_id":140865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:26:34] local.INFO: Processing buffer {"connection_id":140865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:26:34] local.INFO: Packet analysis {"connection_id":140865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:26:34] local.INFO: Extracted packet for processing {"connection_id":140865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:26:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:26:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":140865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:26:34] local.INFO: GPS data processed {"connection_id":140865,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:26:34] local.INFO: Acknowledgment sent {"connection_id":140865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:26:57] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:26:57] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:26:57] local.INFO: IMEI packet received {"connection_id":143264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":143264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:27:02] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:27:02] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:27:02] local.INFO: IMEI packet received {"connection_id":143264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":143264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:27:03] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:27:03] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:27:03] local.INFO: Packet analysis {"connection_id":143264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:27:03] local.INFO: Extracted packet for processing {"connection_id":143264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:27:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":143264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:27:03] local.INFO: GPS data processed {"connection_id":143264,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:27:03] local.INFO: Acknowledgment sent {"connection_id":143264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:27:34] local.INFO: TCP Data received {"connection_id":143264,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:27:34] local.INFO: Processing buffer {"connection_id":143264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:27:34] local.INFO: Packet analysis {"connection_id":143264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:27:34] local.INFO: Extracted packet for processing {"connection_id":143264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:27:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":143264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:27:34] local.INFO: GPS data processed {"connection_id":143264,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:27:34] local.INFO: Acknowledgment sent {"connection_id":143264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:27:56] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:27:56] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:27:56] local.INFO: IMEI packet received {"connection_id":140914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":140914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:28:02] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:28:02] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:28:02] local.INFO: IMEI packet received {"connection_id":140914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":140914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:28:03] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:28:03] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f968b9570012d34c90006aa44e80006008224..."} 
[2026-07-25 05:28:03] local.INFO: Packet analysis {"connection_id":140914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:28:03] local.INFO: Extracted packet for processing {"connection_id":140914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f968b"} 
[2026-07-25 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943835648001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784937158000,"timestamp_ms":1784937158000,"timestamp_seconds":1784937158,"priority":1,"record_length":96,"hex_timestamp":"0000019f968b9570"} 
[2026-07-25 05:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943835648001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943835648001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:28:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:28:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943835648001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":140914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:28:03] local.INFO: GPS data processed {"connection_id":140914,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:28:03] local.INFO: Acknowledgment sent {"connection_id":140914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:28:34] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:28:34] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:28:34] local.INFO: Packet analysis {"connection_id":140914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:28:34] local.INFO: Extracted packet for processing {"connection_id":140914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:28:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":140914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:28:34] local.INFO: GPS data processed {"connection_id":140914,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:28:34] local.INFO: Acknowledgment sent {"connection_id":140914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:28:56] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:28:56] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:28:56] local.INFO: IMEI packet received {"connection_id":140866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":140866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:29:02] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:29:02] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:29:02] local.INFO: IMEI packet received {"connection_id":140866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":140866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:29:02] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:29:02] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:29:02] local.INFO: Packet analysis {"connection_id":140866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:29:02] local.INFO: Extracted packet for processing {"connection_id":140866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:29:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:29:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":140866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:29:02] local.INFO: GPS data processed {"connection_id":140866,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:29:02] local.INFO: Acknowledgment sent {"connection_id":140866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:29:34] local.INFO: TCP Data received {"connection_id":140866,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:29:34] local.INFO: Processing buffer {"connection_id":140866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:29:34] local.INFO: Packet analysis {"connection_id":140866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:29:34] local.INFO: Extracted packet for processing {"connection_id":140866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:29:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:29:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":140866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:29:34] local.INFO: GPS data processed {"connection_id":140866,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:29:34] local.INFO: Acknowledgment sent {"connection_id":140866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:30:02] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:02] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:02] local.INFO: IMEI packet received {"connection_id":140915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":140915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:30:07] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:07] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:07] local.INFO: IMEI packet received {"connection_id":140915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":140915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:30:08] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:30:08] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:30:08] local.INFO: Packet analysis {"connection_id":140915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:30:08] local.INFO: Extracted packet for processing {"connection_id":140915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:30:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":140915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:30:08] local.INFO: GPS data processed {"connection_id":140915,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:30:08] local.INFO: Acknowledgment sent {"connection_id":140915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:30:12] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:30:12] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:30:12] local.INFO: Packet analysis {"connection_id":140915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:30:12] local.INFO: Extracted packet for processing {"connection_id":140915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:30:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":140915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:30:12] local.INFO: GPS data processed {"connection_id":140915,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:30:12] local.INFO: Acknowledgment sent {"connection_id":140915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:30:57] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:57] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:30:57] local.INFO: IMEI packet received {"connection_id":140916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":140916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:31:02] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:31:02] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:31:02] local.INFO: IMEI packet received {"connection_id":140916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":140916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:31:03] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:31:03] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:31:03] local.INFO: Packet analysis {"connection_id":140916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:31:03] local.INFO: Extracted packet for processing {"connection_id":140916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:31:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":140916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:31:03] local.INFO: GPS data processed {"connection_id":140916,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:31:03] local.INFO: Acknowledgment sent {"connection_id":140916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:31:34] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:31:34] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:31:34] local.INFO: Packet analysis {"connection_id":140916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:31:34] local.INFO: Extracted packet for processing {"connection_id":140916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:31:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":140916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:31:34] local.INFO: GPS data processed {"connection_id":140916,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:31:34] local.INFO: Acknowledgment sent {"connection_id":140916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:31:58] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:31:58] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:31:58] local.INFO: IMEI packet received {"connection_id":140867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":140867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:32:02] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:32:02] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:32:02] local.INFO: IMEI packet received {"connection_id":140867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":140867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:32:03] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:03] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:03] local.INFO: Packet analysis {"connection_id":140867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:32:03] local.INFO: Extracted packet for processing {"connection_id":140867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:32:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":140867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:32:03] local.INFO: GPS data processed {"connection_id":140867,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:32:03] local.INFO: Acknowledgment sent {"connection_id":140867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:32:07] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:07] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:07] local.INFO: Packet analysis {"connection_id":140867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:32:07] local.INFO: Extracted packet for processing {"connection_id":140867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:32:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":140867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:32:07] local.INFO: GPS data processed {"connection_id":140867,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:32:07] local.INFO: Acknowledgment sent {"connection_id":140867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:32:38] local.INFO: TCP Data received {"connection_id":140867,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:38] local.INFO: Processing buffer {"connection_id":140867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:32:38] local.INFO: Packet analysis {"connection_id":140867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:32:38] local.INFO: Extracted packet for processing {"connection_id":140867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:32:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":140867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:32:39] local.INFO: GPS data processed {"connection_id":140867,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:32:39] local.INFO: Acknowledgment sent {"connection_id":140867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:32:56] local.INFO: TCP Data received {"connection_id":141911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:32:56] local.INFO: Processing buffer {"connection_id":141911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:32:56] local.INFO: IMEI packet received {"connection_id":141911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":141911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:33:02] local.INFO: TCP Data received {"connection_id":141911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:33:02] local.INFO: Processing buffer {"connection_id":141911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:33:02] local.INFO: IMEI packet received {"connection_id":141911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":141911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:33:03] local.INFO: TCP Data received {"connection_id":141911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:33:03] local.INFO: Processing buffer {"connection_id":141911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96902d38012d34c90006aa44e80006008227..."} 
[2026-07-25 05:33:03] local.INFO: Packet analysis {"connection_id":141911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:33:03] local.INFO: Extracted packet for processing {"connection_id":141911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9690"} 
[2026-07-25 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":6,"angle":130,"satellites":39,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943912448001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784937459000,"timestamp_ms":1784937459000,"timestamp_seconds":1784937459,"priority":1,"record_length":96,"hex_timestamp":"0000019f96902d38"} 
[2026-07-25 05:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943912448001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943912448001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:33:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943912448001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":141911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:33:03] local.INFO: GPS data processed {"connection_id":141911,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:33:03] local.INFO: Acknowledgment sent {"connection_id":141911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:33:34] local.INFO: TCP Data received {"connection_id":141911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:33:34] local.INFO: Processing buffer {"connection_id":141911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:33:34] local.INFO: Packet analysis {"connection_id":141911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:33:34] local.INFO: Extracted packet for processing {"connection_id":141911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:33:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":141911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:33:34] local.INFO: GPS data processed {"connection_id":141911,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:33:34] local.INFO: Acknowledgment sent {"connection_id":141911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:33:56] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:33:56] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:33:56] local.INFO: IMEI packet received {"connection_id":143265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":143265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:34:02] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:34:02] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:34:02] local.INFO: IMEI packet received {"connection_id":143265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":143265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:34:02] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:34:02] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:34:02] local.INFO: Packet analysis {"connection_id":143265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:34:02] local.INFO: Extracted packet for processing {"connection_id":143265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:34:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:34:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":143265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:34:02] local.INFO: GPS data processed {"connection_id":143265,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:34:02] local.INFO: Acknowledgment sent {"connection_id":143265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:34:34] local.INFO: TCP Data received {"connection_id":143265,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:34:34] local.INFO: Processing buffer {"connection_id":143265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:34:34] local.INFO: Packet analysis {"connection_id":143265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:34:34] local.INFO: Extracted packet for processing {"connection_id":143265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:34:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:34:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":143265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:34:34] local.INFO: GPS data processed {"connection_id":143265,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:34:34] local.INFO: Acknowledgment sent {"connection_id":143265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:35:02] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:02] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:02] local.INFO: IMEI packet received {"connection_id":140868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":140868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:35:07] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:07] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:07] local.INFO: IMEI packet received {"connection_id":140868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":140868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:35:07] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:35:07] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:35:07] local.INFO: Packet analysis {"connection_id":140868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:35:07] local.INFO: Extracted packet for processing {"connection_id":140868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:35:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:35:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":140868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:35:07] local.INFO: GPS data processed {"connection_id":140868,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:35:07] local.INFO: Acknowledgment sent {"connection_id":140868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:35:12] local.INFO: TCP Data received {"connection_id":140868,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:35:12] local.INFO: Processing buffer {"connection_id":140868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:35:12] local.INFO: Packet analysis {"connection_id":140868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:35:12] local.INFO: Extracted packet for processing {"connection_id":140868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:35:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:35:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":140868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:35:12] local.INFO: GPS data processed {"connection_id":140868,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:35:12] local.INFO: Acknowledgment sent {"connection_id":140868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:35:57] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:57] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:35:57] local.INFO: IMEI packet received {"connection_id":140869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":140869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:36:02] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:36:02] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:36:02] local.INFO: IMEI packet received {"connection_id":140869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":140869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:36:03] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:36:03] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:36:03] local.INFO: Packet analysis {"connection_id":140869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:36:03] local.INFO: Extracted packet for processing {"connection_id":140869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:36:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:36:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":140869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:36:03] local.INFO: GPS data processed {"connection_id":140869,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:36:03] local.INFO: Acknowledgment sent {"connection_id":140869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:36:34] local.INFO: TCP Data received {"connection_id":140869,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:36:34] local.INFO: Processing buffer {"connection_id":140869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:36:34] local.INFO: Packet analysis {"connection_id":140869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:36:34] local.INFO: Extracted packet for processing {"connection_id":140869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:36:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":140869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:36:34] local.INFO: GPS data processed {"connection_id":140869,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:36:34] local.INFO: Acknowledgment sent {"connection_id":140869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:36:57] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:36:57] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:36:57] local.INFO: IMEI packet received {"connection_id":140870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":140870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:37:02] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:37:02] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:37:02] local.INFO: IMEI packet received {"connection_id":140870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":140870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:37:02] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:37:02] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:37:02] local.INFO: Packet analysis {"connection_id":140870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:37:02] local.INFO: Extracted packet for processing {"connection_id":140870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:37:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:37:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":140870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:37:02] local.INFO: GPS data processed {"connection_id":140870,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:37:02] local.INFO: Acknowledgment sent {"connection_id":140870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:37:34] local.INFO: TCP Data received {"connection_id":140870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:37:34] local.INFO: Processing buffer {"connection_id":140870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:37:34] local.INFO: Packet analysis {"connection_id":140870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:37:34] local.INFO: Extracted packet for processing {"connection_id":140870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:37:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":140870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:37:34] local.INFO: GPS data processed {"connection_id":140870,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:37:34] local.INFO: Acknowledgment sent {"connection_id":140870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:37:56] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:37:56] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:37:56] local.INFO: IMEI packet received {"connection_id":140871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":140871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:38:02] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:38:02] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:38:02] local.INFO: IMEI packet received {"connection_id":140871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":140871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:38:02] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:38:02] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9694c500012d34c90006aa44e8000c008224..."} 
[2026-07-25 05:38:02] local.INFO: Packet analysis {"connection_id":140871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:38:02] local.INFO: Extracted packet for processing {"connection_id":140871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9694"} 
[2026-07-25 05:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456943989504001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784937760000,"timestamp_ms":1784937760000,"timestamp_seconds":1784937760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9694c500"} 
[2026-07-25 05:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456943989504001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456943989504001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:38:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456943989504001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":140871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:38:02] local.INFO: GPS data processed {"connection_id":140871,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:38:02] local.INFO: Acknowledgment sent {"connection_id":140871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:38:34] local.INFO: TCP Data received {"connection_id":140871,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:38:34] local.INFO: Processing buffer {"connection_id":140871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:38:34] local.INFO: Packet analysis {"connection_id":140871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:38:34] local.INFO: Extracted packet for processing {"connection_id":140871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:38:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:38:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":140871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:38:34] local.INFO: GPS data processed {"connection_id":140871,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:38:34] local.INFO: Acknowledgment sent {"connection_id":140871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:38:56] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:38:56] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:38:56] local.INFO: IMEI packet received {"connection_id":140917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":140917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:39:02] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:39:02] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:39:02] local.INFO: IMEI packet received {"connection_id":140917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":140917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:39:02] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:39:02] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:39:02] local.INFO: Packet analysis {"connection_id":140917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:39:02] local.INFO: Extracted packet for processing {"connection_id":140917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:39:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":140917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:39:02] local.INFO: GPS data processed {"connection_id":140917,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:39:02] local.INFO: Acknowledgment sent {"connection_id":140917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:39:34] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:39:34] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:39:34] local.INFO: Packet analysis {"connection_id":140917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:39:34] local.INFO: Extracted packet for processing {"connection_id":140917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:39:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:39:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":140917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:39:34] local.INFO: GPS data processed {"connection_id":140917,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:39:34] local.INFO: Acknowledgment sent {"connection_id":140917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:40:02] local.INFO: TCP Data received {"connection_id":140918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:02] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:02] local.INFO: IMEI packet received {"connection_id":140918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":140918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:40:06] local.INFO: TCP Data received {"connection_id":140918,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:07] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:07] local.INFO: IMEI packet received {"connection_id":140918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":140918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:40:07] local.INFO: TCP Data received {"connection_id":140918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:40:07] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:40:07] local.INFO: Packet analysis {"connection_id":140918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:40:07] local.INFO: Extracted packet for processing {"connection_id":140918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:40:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:40:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":140918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:40:07] local.INFO: GPS data processed {"connection_id":140918,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:40:07] local.INFO: Acknowledgment sent {"connection_id":140918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:40:12] local.INFO: TCP Data received {"connection_id":140918,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:40:12] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:40:12] local.INFO: Packet analysis {"connection_id":140918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:40:12] local.INFO: Extracted packet for processing {"connection_id":140918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:40:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:40:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":140918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:40:12] local.INFO: GPS data processed {"connection_id":140918,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:40:12] local.INFO: Acknowledgment sent {"connection_id":140918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:40:57] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:57] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:40:57] local.INFO: IMEI packet received {"connection_id":143266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":143266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:41:02] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:41:02] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:41:02] local.INFO: IMEI packet received {"connection_id":143266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":143266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:41:02] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:41:02] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:41:02] local.INFO: Packet analysis {"connection_id":143266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:41:02] local.INFO: Extracted packet for processing {"connection_id":143266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:41:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:41:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":143266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:41:02] local.INFO: GPS data processed {"connection_id":143266,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:41:02] local.INFO: Acknowledgment sent {"connection_id":143266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:41:34] local.INFO: TCP Data received {"connection_id":143266,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:41:34] local.INFO: Processing buffer {"connection_id":143266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:41:34] local.INFO: Packet analysis {"connection_id":143266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:41:34] local.INFO: Extracted packet for processing {"connection_id":143266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:41:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:41:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":143266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:41:34] local.INFO: GPS data processed {"connection_id":143266,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:41:34] local.INFO: Acknowledgment sent {"connection_id":143266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:41:57] local.INFO: TCP Data received {"connection_id":141912,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:41:57] local.INFO: Processing buffer {"connection_id":141912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:41:57] local.INFO: IMEI packet received {"connection_id":141912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":141912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:42:02] local.INFO: TCP Data received {"connection_id":141912,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:42:02] local.INFO: Processing buffer {"connection_id":141912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:42:02] local.INFO: IMEI packet received {"connection_id":141912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":141912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:42:03] local.INFO: TCP Data received {"connection_id":141912,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:42:03] local.INFO: Processing buffer {"connection_id":141912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:42:03] local.INFO: Packet analysis {"connection_id":141912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:42:03] local.INFO: Extracted packet for processing {"connection_id":141912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":141912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:42:03] local.INFO: GPS data processed {"connection_id":141912,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:42:03] local.INFO: Acknowledgment sent {"connection_id":141912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:42:34] local.INFO: TCP Data received {"connection_id":141912,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:42:34] local.INFO: Processing buffer {"connection_id":141912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:42:34] local.INFO: Packet analysis {"connection_id":141912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:42:34] local.INFO: Extracted packet for processing {"connection_id":141912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:42:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:42:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":141912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:42:34] local.INFO: GPS data processed {"connection_id":141912,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:42:34] local.INFO: Acknowledgment sent {"connection_id":141912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:42:56] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:42:56] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:42:56] local.INFO: IMEI packet received {"connection_id":140919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":140919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:43:02] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:43:02] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:43:02] local.INFO: IMEI packet received {"connection_id":140919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":140919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:43:03] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:43:03] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96995cc8012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:43:03] local.INFO: Packet analysis {"connection_id":140919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:43:03] local.INFO: Extracted packet for processing {"connection_id":140919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9699"} 
[2026-07-25 05:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944066560001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938061000,"timestamp_ms":1784938061000,"timestamp_seconds":1784938061,"priority":1,"record_length":96,"hex_timestamp":"0000019f96995cc8"} 
[2026-07-25 05:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944066560001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944066560001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:43:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944066560001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":140919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:43:03] local.INFO: GPS data processed {"connection_id":140919,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:43:03] local.INFO: Acknowledgment sent {"connection_id":140919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:43:34] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:43:34] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:43:34] local.INFO: Packet analysis {"connection_id":140919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:43:34] local.INFO: Extracted packet for processing {"connection_id":140919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:43:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":140919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:43:34] local.INFO: GPS data processed {"connection_id":140919,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:43:34] local.INFO: Acknowledgment sent {"connection_id":140919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:43:56] local.INFO: TCP Data received {"connection_id":141913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:43:56] local.INFO: Processing buffer {"connection_id":141913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:43:56] local.INFO: IMEI packet received {"connection_id":141913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":141913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:44:02] local.INFO: TCP Data received {"connection_id":141913,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:44:02] local.INFO: Processing buffer {"connection_id":141913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:44:02] local.INFO: IMEI packet received {"connection_id":141913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":141913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:44:03] local.INFO: TCP Data received {"connection_id":141913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:44:03] local.INFO: Processing buffer {"connection_id":141913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:44:03] local.INFO: Packet analysis {"connection_id":141913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:44:03] local.INFO: Extracted packet for processing {"connection_id":141913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:44:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:44:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":141913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:44:03] local.INFO: GPS data processed {"connection_id":141913,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:44:03] local.INFO: Acknowledgment sent {"connection_id":141913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:44:34] local.INFO: TCP Data received {"connection_id":141913,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:44:34] local.INFO: Processing buffer {"connection_id":141913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:44:34] local.INFO: Packet analysis {"connection_id":141913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:44:34] local.INFO: Extracted packet for processing {"connection_id":141913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:44:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:44:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":141913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:44:34] local.INFO: GPS data processed {"connection_id":141913,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:44:34] local.INFO: Acknowledgment sent {"connection_id":141913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:45:02] local.INFO: TCP Data received {"connection_id":143267,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:02] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:02] local.INFO: IMEI packet received {"connection_id":143267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":143267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:45:07] local.INFO: TCP Data received {"connection_id":143267,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:07] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:07] local.INFO: IMEI packet received {"connection_id":143267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":143267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:45:07] local.INFO: TCP Data received {"connection_id":143267,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:45:07] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:45:07] local.INFO: Packet analysis {"connection_id":143267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:45:07] local.INFO: Extracted packet for processing {"connection_id":143267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:45:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":143267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:45:07] local.INFO: GPS data processed {"connection_id":143267,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:45:07] local.INFO: Acknowledgment sent {"connection_id":143267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:45:12] local.INFO: TCP Data received {"connection_id":143267,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:45:12] local.INFO: Processing buffer {"connection_id":143267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:45:12] local.INFO: Packet analysis {"connection_id":143267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:45:12] local.INFO: Extracted packet for processing {"connection_id":143267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:45:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":143267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:45:12] local.INFO: GPS data processed {"connection_id":143267,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:45:12] local.INFO: Acknowledgment sent {"connection_id":143267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:45:57] local.INFO: TCP Data received {"connection_id":141914,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:57] local.INFO: Processing buffer {"connection_id":141914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:45:57] local.INFO: IMEI packet received {"connection_id":141914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":141914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:46:02] local.INFO: TCP Data received {"connection_id":141914,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:46:02] local.INFO: Processing buffer {"connection_id":141914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:46:02] local.INFO: IMEI packet received {"connection_id":141914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":141914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:46:02] local.INFO: TCP Data received {"connection_id":141914,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:46:02] local.INFO: Processing buffer {"connection_id":141914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:46:02] local.INFO: Packet analysis {"connection_id":141914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:46:02] local.INFO: Extracted packet for processing {"connection_id":141914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:46:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":141914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:46:02] local.INFO: GPS data processed {"connection_id":141914,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:46:02] local.INFO: Acknowledgment sent {"connection_id":141914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:46:34] local.INFO: TCP Data received {"connection_id":141914,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:46:34] local.INFO: Processing buffer {"connection_id":141914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:46:34] local.INFO: Packet analysis {"connection_id":141914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:46:34] local.INFO: Extracted packet for processing {"connection_id":141914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:46:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:46:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":141914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:46:34] local.INFO: GPS data processed {"connection_id":141914,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:46:34] local.INFO: Acknowledgment sent {"connection_id":141914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:46:57] local.INFO: TCP Data received {"connection_id":143268,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:46:57] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:46:57] local.INFO: IMEI packet received {"connection_id":143268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":143268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:47:02] local.INFO: TCP Data received {"connection_id":143268,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:47:02] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:47:02] local.INFO: IMEI packet received {"connection_id":143268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":143268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:47:03] local.INFO: TCP Data received {"connection_id":143268,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:47:03] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:47:03] local.INFO: Packet analysis {"connection_id":143268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:47:03] local.INFO: Extracted packet for processing {"connection_id":143268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:47:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:47:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":143268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:47:03] local.INFO: GPS data processed {"connection_id":143268,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:47:03] local.INFO: Acknowledgment sent {"connection_id":143268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:47:34] local.INFO: TCP Data received {"connection_id":143268,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:47:34] local.INFO: Processing buffer {"connection_id":143268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:47:34] local.INFO: Packet analysis {"connection_id":143268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:47:34] local.INFO: Extracted packet for processing {"connection_id":143268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:47:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":143268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:47:34] local.INFO: GPS data processed {"connection_id":143268,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:47:34] local.INFO: Acknowledgment sent {"connection_id":143268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:47:56] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:47:56] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:47:56] local.INFO: IMEI packet received {"connection_id":140920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":140920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:48:02] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:48:02] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:48:02] local.INFO: IMEI packet received {"connection_id":140920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":140920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:48:03] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:48:03] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f969df490012d34c90006aa44e8000c008223..."} 
[2026-07-25 05:48:03] local.INFO: Packet analysis {"connection_id":140920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:48:03] local.INFO: Extracted packet for processing {"connection_id":140920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f969d"} 
[2026-07-25 05:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":35,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944143616001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938362000,"timestamp_ms":1784938362000,"timestamp_seconds":1784938362,"priority":1,"record_length":96,"hex_timestamp":"0000019f969df490"} 
[2026-07-25 05:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944143616001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944143616001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:48:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:48:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944143616001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":140920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:48:03] local.INFO: GPS data processed {"connection_id":140920,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:48:03] local.INFO: Acknowledgment sent {"connection_id":140920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:48:34] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:48:34] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:48:34] local.INFO: Packet analysis {"connection_id":140920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:48:34] local.INFO: Extracted packet for processing {"connection_id":140920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:48:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:48:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":140920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:48:34] local.INFO: GPS data processed {"connection_id":140920,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:48:34] local.INFO: Acknowledgment sent {"connection_id":140920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:48:56] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:48:56] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:48:56] local.INFO: IMEI packet received {"connection_id":143269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":143269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:49:02] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:49:02] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:49:02] local.INFO: IMEI packet received {"connection_id":143269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":143269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:49:03] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:49:03] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:49:03] local.INFO: Packet analysis {"connection_id":143269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:49:03] local.INFO: Extracted packet for processing {"connection_id":143269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:49:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:49:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":143269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:49:03] local.INFO: GPS data processed {"connection_id":143269,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:49:03] local.INFO: Acknowledgment sent {"connection_id":143269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:49:35] local.INFO: TCP Data received {"connection_id":143269,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:49:35] local.INFO: Processing buffer {"connection_id":143269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:49:35] local.INFO: Packet analysis {"connection_id":143269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:49:35] local.INFO: Extracted packet for processing {"connection_id":143269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:49:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:49:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":143269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:49:35] local.INFO: GPS data processed {"connection_id":143269,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:49:35] local.INFO: Acknowledgment sent {"connection_id":143269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:50:02] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:02] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:02] local.INFO: IMEI packet received {"connection_id":140872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":140872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:50:07] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:07] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:07] local.INFO: IMEI packet received {"connection_id":140872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":140872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:50:08] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:50:08] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:50:08] local.INFO: Packet analysis {"connection_id":140872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:50:08] local.INFO: Extracted packet for processing {"connection_id":140872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:50:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":140872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:50:08] local.INFO: GPS data processed {"connection_id":140872,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:50:08] local.INFO: Acknowledgment sent {"connection_id":140872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:50:12] local.INFO: TCP Data received {"connection_id":140872,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:50:12] local.INFO: Processing buffer {"connection_id":140872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:50:12] local.INFO: Packet analysis {"connection_id":140872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:50:12] local.INFO: Extracted packet for processing {"connection_id":140872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:50:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:50:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":140872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:50:12] local.INFO: GPS data processed {"connection_id":140872,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:50:12] local.INFO: Acknowledgment sent {"connection_id":140872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:50:57] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:57] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:50:57] local.INFO: IMEI packet received {"connection_id":140873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":140873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:51:02] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:51:02] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:51:02] local.INFO: IMEI packet received {"connection_id":140873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":140873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:51:02] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:51:02] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:51:02] local.INFO: Packet analysis {"connection_id":140873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:51:02] local.INFO: Extracted packet for processing {"connection_id":140873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:51:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":140873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:51:02] local.INFO: GPS data processed {"connection_id":140873,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:51:02] local.INFO: Acknowledgment sent {"connection_id":140873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:51:34] local.INFO: TCP Data received {"connection_id":140873,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:51:34] local.INFO: Processing buffer {"connection_id":140873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:51:34] local.INFO: Packet analysis {"connection_id":140873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:51:34] local.INFO: Extracted packet for processing {"connection_id":140873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:51:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:51:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":140873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:51:34] local.INFO: GPS data processed {"connection_id":140873,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:51:34] local.INFO: Acknowledgment sent {"connection_id":140873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:51:57] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:51:57] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:51:57] local.INFO: IMEI packet received {"connection_id":140921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":140921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:52:02] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:52:02] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:52:02] local.INFO: IMEI packet received {"connection_id":140921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":140921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:52:03] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:52:03] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:52:03] local.INFO: Packet analysis {"connection_id":140921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:52:03] local.INFO: Extracted packet for processing {"connection_id":140921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:52:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:52:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":140921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:52:03] local.INFO: GPS data processed {"connection_id":140921,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:52:03] local.INFO: Acknowledgment sent {"connection_id":140921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:52:34] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:52:34] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:52:34] local.INFO: Packet analysis {"connection_id":140921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:52:34] local.INFO: Extracted packet for processing {"connection_id":140921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:52:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:52:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:52:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":140921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:52:34] local.INFO: GPS data processed {"connection_id":140921,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:52:34] local.INFO: Acknowledgment sent {"connection_id":140921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:52:56] local.INFO: TCP Data received {"connection_id":141915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:52:56] local.INFO: Processing buffer {"connection_id":141915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:52:56] local.INFO: IMEI packet received {"connection_id":141915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":141915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:53:02] local.INFO: TCP Data received {"connection_id":141915,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:53:02] local.INFO: Processing buffer {"connection_id":141915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:53:02] local.INFO: IMEI packet received {"connection_id":141915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":141915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:53:02] local.INFO: TCP Data received {"connection_id":141915,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:53:02] local.INFO: Processing buffer {"connection_id":141915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a28c58012d34c90006aa44e8000d008226..."} 
[2026-07-25 05:53:02] local.INFO: Packet analysis {"connection_id":141915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:53:02] local.INFO: Extracted packet for processing {"connection_id":141915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a2"} 
[2026-07-25 05:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944220672001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784938663000,"timestamp_ms":1784938663000,"timestamp_seconds":1784938663,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a28c58"} 
[2026-07-25 05:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944220672001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944220672001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:53:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:53:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944220672001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":141915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:53:03] local.INFO: GPS data processed {"connection_id":141915,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:53:03] local.INFO: Acknowledgment sent {"connection_id":141915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:53:34] local.INFO: TCP Data received {"connection_id":141915,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:53:34] local.INFO: Processing buffer {"connection_id":141915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:53:34] local.INFO: Packet analysis {"connection_id":141915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:53:34] local.INFO: Extracted packet for processing {"connection_id":141915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:53:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:53:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":141915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:53:34] local.INFO: GPS data processed {"connection_id":141915,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:53:34] local.INFO: Acknowledgment sent {"connection_id":141915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:54:01] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:01] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:01] local.INFO: IMEI packet received {"connection_id":143270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":143270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:54:06] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:06] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:06] local.INFO: IMEI packet received {"connection_id":143270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":143270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:54:07] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:54:07] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:54:07] local.INFO: Packet analysis {"connection_id":143270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:54:07] local.INFO: Extracted packet for processing {"connection_id":143270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:54:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:54:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:54:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":143270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:54:07] local.INFO: GPS data processed {"connection_id":143270,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:54:07] local.INFO: Acknowledgment sent {"connection_id":143270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:54:12] local.INFO: TCP Data received {"connection_id":143270,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:54:12] local.INFO: Processing buffer {"connection_id":143270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:54:12] local.INFO: Packet analysis {"connection_id":143270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:54:12] local.INFO: Extracted packet for processing {"connection_id":143270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:54:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:54:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":143270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:54:12] local.INFO: GPS data processed {"connection_id":143270,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:54:12] local.INFO: Acknowledgment sent {"connection_id":143270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:54:57] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:57] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:54:57] local.INFO: IMEI packet received {"connection_id":140874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":140874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:55:02] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:55:02] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:55:02] local.INFO: IMEI packet received {"connection_id":140874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":140874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:55:03] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:03] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:03] local.INFO: Packet analysis {"connection_id":140874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:55:03] local.INFO: Extracted packet for processing {"connection_id":140874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:55:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:55:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":140874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:55:03] local.INFO: GPS data processed {"connection_id":140874,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:55:03] local.INFO: Acknowledgment sent {"connection_id":140874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:55:07] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:07] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:07] local.INFO: Packet analysis {"connection_id":140874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:55:07] local.INFO: Extracted packet for processing {"connection_id":140874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:55:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:55:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":140874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:55:07] local.INFO: GPS data processed {"connection_id":140874,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:55:07] local.INFO: Acknowledgment sent {"connection_id":140874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:55:38] local.INFO: TCP Data received {"connection_id":140874,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:38] local.INFO: Processing buffer {"connection_id":140874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:55:38] local.INFO: Packet analysis {"connection_id":140874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:55:38] local.INFO: Extracted packet for processing {"connection_id":140874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:55:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":140874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:55:38] local.INFO: GPS data processed {"connection_id":140874,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:55:38] local.INFO: Acknowledgment sent {"connection_id":140874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:55:57] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:55:57] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:55:57] local.INFO: IMEI packet received {"connection_id":140875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":140875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:56:02] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:56:02] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:56:02] local.INFO: IMEI packet received {"connection_id":140875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":140875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:56:02] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:56:02] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:56:02] local.INFO: Packet analysis {"connection_id":140875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:56:02] local.INFO: Extracted packet for processing {"connection_id":140875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05: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-07-25 05:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05: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-07-25 05:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:56:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":140875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:56:02] local.INFO: GPS data processed {"connection_id":140875,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:56:02] local.INFO: Acknowledgment sent {"connection_id":140875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:56:34] local.INFO: TCP Data received {"connection_id":140875,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:56:34] local.INFO: Processing buffer {"connection_id":140875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:56:34] local.INFO: Packet analysis {"connection_id":140875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:56:34] local.INFO: Extracted packet for processing {"connection_id":140875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:56:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:56:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":140875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:56:34] local.INFO: GPS data processed {"connection_id":140875,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:56:34] local.INFO: Acknowledgment sent {"connection_id":140875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:56:56] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:56:56] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:56:56] local.INFO: IMEI packet received {"connection_id":140922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":140922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:57:02] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:57:02] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:57:02] local.INFO: IMEI packet received {"connection_id":140922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":140922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:57:03] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:57:03] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:57:03] local.INFO: Packet analysis {"connection_id":140922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:57:03] local.INFO: Extracted packet for processing {"connection_id":140922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:57:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:57:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":140922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:57:03] local.INFO: GPS data processed {"connection_id":140922,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:57:03] local.INFO: Acknowledgment sent {"connection_id":140922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:57:34] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:57:34] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:57:34] local.INFO: Packet analysis {"connection_id":140922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:57:34] local.INFO: Extracted packet for processing {"connection_id":140922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:57:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:57:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":140922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:57:34] local.INFO: GPS data processed {"connection_id":140922,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:57:34] local.INFO: Acknowledgment sent {"connection_id":140922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:57:56] local.INFO: TCP Data received {"connection_id":141916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:57:56] local.INFO: Processing buffer {"connection_id":141916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:57:56] local.INFO: IMEI packet received {"connection_id":141916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":141916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:58:02] local.INFO: TCP Data received {"connection_id":141916,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:58:02] local.INFO: Processing buffer {"connection_id":141916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:58:02] local.INFO: IMEI packet received {"connection_id":141916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":141916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:58:03] local.INFO: TCP Data received {"connection_id":141916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:58:03] local.INFO: Processing buffer {"connection_id":141916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96a72420012d34c90006aa44e8000d008225..."} 
[2026-07-25 05:58:03] local.INFO: Packet analysis {"connection_id":141916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:58:03] local.INFO: Extracted packet for processing {"connection_id":141916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96a7"} 
[2026-07-25 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944297728001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784938964000,"timestamp_ms":1784938964000,"timestamp_seconds":1784938964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96a72420"} 
[2026-07-25 05:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 05:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944297728001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944297728001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:58:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:58:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944297728001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":141916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:58:03] local.INFO: GPS data processed {"connection_id":141916,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:58:03] local.INFO: Acknowledgment sent {"connection_id":141916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:58:34] local.INFO: TCP Data received {"connection_id":141916,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:58:34] local.INFO: Processing buffer {"connection_id":141916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:58:34] local.INFO: Packet analysis {"connection_id":141916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 05:58:34] local.INFO: Extracted packet for processing {"connection_id":141916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 05:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 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-07-25 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 05:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:58:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:58:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":141916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:58:34] local.INFO: GPS data processed {"connection_id":141916,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:58:34] local.INFO: Acknowledgment sent {"connection_id":141916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:59:01] local.INFO: TCP Data received {"connection_id":143271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:02] local.INFO: Processing buffer {"connection_id":143271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:02] local.INFO: IMEI packet received {"connection_id":143271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":143271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 05:59:06] local.INFO: TCP Data received {"connection_id":143271,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:06] local.INFO: Processing buffer {"connection_id":143271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:06] local.INFO: IMEI packet received {"connection_id":143271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 05:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":143271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 05:59:08] local.INFO: TCP Data received {"connection_id":143271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:59:08] local.INFO: Processing buffer {"connection_id":143271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:59:08] local.INFO: Packet analysis {"connection_id":143271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 05:59:08] local.INFO: Extracted packet for processing {"connection_id":143271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 05:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 05:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:59:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":143271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:59:08] local.INFO: GPS data processed {"connection_id":143271,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:59:08] local.INFO: Acknowledgment sent {"connection_id":143271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:59:12] local.INFO: TCP Data received {"connection_id":143271,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:59:12] local.INFO: Processing buffer {"connection_id":143271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 05:59:12] local.INFO: Packet analysis {"connection_id":143271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 05:59:12] local.INFO: Extracted packet for processing {"connection_id":143271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 05:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 05:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 05:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 05:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 05:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 05:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 05:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 05:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 05:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 05:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 05:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 05:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 05:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 05:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 05:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 05:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 05:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 05:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 05:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 05:59:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 05:59:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 05:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 05:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 05:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 05:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":143271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 05:59:12] local.INFO: GPS data processed {"connection_id":143271,"processed":1,"errors":0,"total":1} 
[2026-07-25 05:59:12] local.INFO: Acknowledgment sent {"connection_id":143271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 05:59:56] local.INFO: TCP Data received {"connection_id":143272,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:56] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 05:59:56] local.INFO: IMEI packet received {"connection_id":143272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 05:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":143272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:00:02] local.INFO: TCP Data received {"connection_id":143272,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:00:02] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:00:02] local.INFO: IMEI packet received {"connection_id":143272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":143272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:00:02] local.INFO: TCP Data received {"connection_id":143272,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:00:02] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:00:02] local.INFO: Packet analysis {"connection_id":143272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:00:02] local.INFO: Extracted packet for processing {"connection_id":143272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 06:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:00:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":143272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:00:02] local.INFO: GPS data processed {"connection_id":143272,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:00:02] local.INFO: Acknowledgment sent {"connection_id":143272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:00:34] local.INFO: TCP Data received {"connection_id":143272,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:00:34] local.INFO: Processing buffer {"connection_id":143272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:00:34] local.INFO: Packet analysis {"connection_id":143272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:00:34] local.INFO: Extracted packet for processing {"connection_id":143272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 06:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:00:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:00:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":143272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:00:34] local.INFO: GPS data processed {"connection_id":143272,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:00:34] local.INFO: Acknowledgment sent {"connection_id":143272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:00:57] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:00:57] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:00:57] local.INFO: IMEI packet received {"connection_id":140923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":140923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:01:02] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:01:02] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:01:02] local.INFO: IMEI packet received {"connection_id":140923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":140923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:01:02] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:01:02] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:01:02] local.INFO: Packet analysis {"connection_id":140923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:01:02] local.INFO: Extracted packet for processing {"connection_id":140923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 06:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:01:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":140923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:01:02] local.INFO: GPS data processed {"connection_id":140923,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:01:02] local.INFO: Acknowledgment sent {"connection_id":140923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:01:34] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:01:34] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:01:34] local.INFO: Packet analysis {"connection_id":140923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:01:34] local.INFO: Extracted packet for processing {"connection_id":140923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 06:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:01:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":140923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:01:34] local.INFO: GPS data processed {"connection_id":140923,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:01:34] local.INFO: Acknowledgment sent {"connection_id":140923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:01:57] local.INFO: TCP Data received {"connection_id":143273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:01:57] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:01:57] local.INFO: IMEI packet received {"connection_id":143273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":143273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:02:02] local.INFO: TCP Data received {"connection_id":143273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:02:02] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:02:02] local.INFO: IMEI packet received {"connection_id":143273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":143273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:02:03] local.INFO: TCP Data received {"connection_id":143273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:02:03] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:02:03] local.INFO: Packet analysis {"connection_id":143273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:02:03] local.INFO: Extracted packet for processing {"connection_id":143273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 06:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:02:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":143273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:02:03] local.INFO: GPS data processed {"connection_id":143273,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:02:03] local.INFO: Acknowledgment sent {"connection_id":143273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:02:34] local.INFO: TCP Data received {"connection_id":143273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:02:34] local.INFO: Processing buffer {"connection_id":143273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:02:34] local.INFO: Packet analysis {"connection_id":143273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:02:34] local.INFO: Extracted packet for processing {"connection_id":143273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 06:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:02:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:02:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":143273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:02:34] local.INFO: GPS data processed {"connection_id":143273,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:02:34] local.INFO: Acknowledgment sent {"connection_id":143273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:02:56] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:02:56] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:02:56] local.INFO: IMEI packet received {"connection_id":140876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":140876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:03:02] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:03:02] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:03:02] local.INFO: IMEI packet received {"connection_id":140876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":140876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:03:03] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:03:03] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96abbbe8012d34c90006aa44e8000d008224..."} 
[2026-07-25 06:03:03] local.INFO: Packet analysis {"connection_id":140876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:03:03] local.INFO: Extracted packet for processing {"connection_id":140876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ab"} 
[2026-07-25 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":36,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 06:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944374784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939265000,"timestamp_ms":1784939265000,"timestamp_seconds":1784939265,"priority":1,"record_length":96,"hex_timestamp":"0000019f96abbbe8"} 
[2026-07-25 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-07-25 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 06:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944374784001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944374784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:03:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:03:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944374784001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":140876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:03:03] local.INFO: GPS data processed {"connection_id":140876,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:03:03] local.INFO: Acknowledgment sent {"connection_id":140876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:03:35] local.INFO: TCP Data received {"connection_id":140876,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:03:35] local.INFO: Processing buffer {"connection_id":140876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:03:35] local.INFO: Packet analysis {"connection_id":140876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:03:35] local.INFO: Extracted packet for processing {"connection_id":140876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:03:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":140876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:03:35] local.INFO: GPS data processed {"connection_id":140876,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:03:35] local.INFO: Acknowledgment sent {"connection_id":140876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:04:32] local.INFO: TCP Data received {"connection_id":141917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:04:32] local.INFO: Processing buffer {"connection_id":141917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:04:32] local.INFO: IMEI packet received {"connection_id":141917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":141917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:04:36] local.INFO: TCP Data received {"connection_id":141917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:04:36] local.INFO: Processing buffer {"connection_id":141917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:04:36] local.INFO: IMEI packet received {"connection_id":141917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":141917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:04:37] local.INFO: TCP Data received {"connection_id":141917,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:04:37] local.INFO: Processing buffer {"connection_id":141917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:04:37] local.INFO: Packet analysis {"connection_id":141917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:04:37] local.INFO: Extracted packet for processing {"connection_id":141917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 06:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 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-07-25 06:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 06:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:04:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":141917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:04:37] local.INFO: GPS data processed {"connection_id":141917,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:04:37] local.INFO: Acknowledgment sent {"connection_id":141917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:05:01] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:01] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:01] local.INFO: IMEI packet received {"connection_id":140925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":140925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:05:06] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:06] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:06] local.INFO: IMEI packet received {"connection_id":140925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":140925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:05:07] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:05:07] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:05:07] local.INFO: Packet analysis {"connection_id":140925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:05:07] local.INFO: Extracted packet for processing {"connection_id":140925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:05:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":140925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:05:07] local.INFO: GPS data processed {"connection_id":140925,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:05:07] local.INFO: Acknowledgment sent {"connection_id":140925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:05:39] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:05:39] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:05:39] local.INFO: Packet analysis {"connection_id":140925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:05:39] local.INFO: Extracted packet for processing {"connection_id":140925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:05:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":140925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:05:39] local.INFO: GPS data processed {"connection_id":140925,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:05:39] local.INFO: Acknowledgment sent {"connection_id":140925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:05:56] local.INFO: TCP Data received {"connection_id":141918,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:56] local.INFO: Processing buffer {"connection_id":141918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:05:56] local.INFO: IMEI packet received {"connection_id":141918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":141918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:06:01] local.INFO: TCP Data received {"connection_id":141918,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:06:01] local.INFO: Processing buffer {"connection_id":141918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:06:01] local.INFO: IMEI packet received {"connection_id":141918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":141918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:06:03] local.INFO: TCP Data received {"connection_id":141918,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:06:03] local.INFO: Processing buffer {"connection_id":141918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:06:03] local.INFO: Packet analysis {"connection_id":141918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:06:03] local.INFO: Extracted packet for processing {"connection_id":141918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":141918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:06:03] local.INFO: GPS data processed {"connection_id":141918,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:06:03] local.INFO: Acknowledgment sent {"connection_id":141918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:06:34] local.INFO: TCP Data received {"connection_id":141918,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:06:34] local.INFO: Processing buffer {"connection_id":141918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:06:34] local.INFO: Packet analysis {"connection_id":141918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:06:34] local.INFO: Extracted packet for processing {"connection_id":141918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:06:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:06:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":141918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:06:34] local.INFO: GPS data processed {"connection_id":141918,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:06:34] local.INFO: Acknowledgment sent {"connection_id":141918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:06:56] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:06:56] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:06:56] local.INFO: IMEI packet received {"connection_id":140877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":140877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:07:02] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:07:02] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:07:02] local.INFO: IMEI packet received {"connection_id":140877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":140877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:07:03] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:07:03] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:07:03] local.INFO: Packet analysis {"connection_id":140877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:07:03] local.INFO: Extracted packet for processing {"connection_id":140877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:07:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:07:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":140877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:07:03] local.INFO: GPS data processed {"connection_id":140877,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:07:03] local.INFO: Acknowledgment sent {"connection_id":140877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:07:34] local.INFO: TCP Data received {"connection_id":140877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:07:34] local.INFO: Processing buffer {"connection_id":140877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:07:34] local.INFO: Packet analysis {"connection_id":140877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:07:34] local.INFO: Extracted packet for processing {"connection_id":140877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 06:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:07:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":140877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:07:34] local.INFO: GPS data processed {"connection_id":140877,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:07:34] local.INFO: Acknowledgment sent {"connection_id":140877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:07:56] local.INFO: TCP Data received {"connection_id":141919,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:07:56] local.INFO: Processing buffer {"connection_id":141919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:07:56] local.INFO: IMEI packet received {"connection_id":141919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":141919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:08:01] local.INFO: TCP Data received {"connection_id":141919,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:08:01] local.INFO: Processing buffer {"connection_id":141919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:08:01] local.INFO: IMEI packet received {"connection_id":141919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":141919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:08:02] local.INFO: TCP Data received {"connection_id":141919,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:08:02] local.INFO: Processing buffer {"connection_id":141919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b053b0012d34c90006aa44e8000d00821f..."} 
[2026-07-25 06:08:02] local.INFO: Packet analysis {"connection_id":141919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:08:02] local.INFO: Extracted packet for processing {"connection_id":141919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b0"} 
[2026-07-25 06:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":13,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 06:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944451840001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784939566000,"timestamp_ms":1784939566000,"timestamp_seconds":1784939566,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b053b0"} 
[2026-07-25 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-07-25 06:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 06:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944451840001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944451840001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:08:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:08:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944451840001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":141919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:08:03] local.INFO: GPS data processed {"connection_id":141919,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:08:03] local.INFO: Acknowledgment sent {"connection_id":141919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:08:34] local.INFO: TCP Data received {"connection_id":141919,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:08:34] local.INFO: Processing buffer {"connection_id":141919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:08:34] local.INFO: Packet analysis {"connection_id":141919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:08:34] local.INFO: Extracted packet for processing {"connection_id":141919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:08:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:08:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":141919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:08:34] local.INFO: GPS data processed {"connection_id":141919,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:08:34] local.INFO: Acknowledgment sent {"connection_id":141919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:09:01] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:01] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:01] local.INFO: IMEI packet received {"connection_id":140878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":140878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:09:06] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:06] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:06] local.INFO: IMEI packet received {"connection_id":140878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":140878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:09:08] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:09:08] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:09:08] local.INFO: Packet analysis {"connection_id":140878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:09:08] local.INFO: Extracted packet for processing {"connection_id":140878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:09:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":140878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:09:08] local.INFO: GPS data processed {"connection_id":140878,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:09:08] local.INFO: Acknowledgment sent {"connection_id":140878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:09:12] local.INFO: TCP Data received {"connection_id":140878,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:09:12] local.INFO: Processing buffer {"connection_id":140878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:09:12] local.INFO: Packet analysis {"connection_id":140878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:09:12] local.INFO: Extracted packet for processing {"connection_id":140878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:09:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":140878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:09:12] local.INFO: GPS data processed {"connection_id":140878,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:09:12] local.INFO: Acknowledgment sent {"connection_id":140878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:09:56] local.INFO: TCP Data received {"connection_id":141920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:56] local.INFO: Processing buffer {"connection_id":141920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:09:56] local.INFO: IMEI packet received {"connection_id":141920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":141920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:10:03] local.INFO: TCP Data received {"connection_id":141920,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:10:03] local.INFO: Processing buffer {"connection_id":141920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:10:03] local.INFO: IMEI packet received {"connection_id":141920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":141920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:10:03] local.INFO: TCP Data received {"connection_id":141920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:10:03] local.INFO: Processing buffer {"connection_id":141920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:10:03] local.INFO: Packet analysis {"connection_id":141920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:10:03] local.INFO: Extracted packet for processing {"connection_id":141920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":141920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:10:04] local.INFO: GPS data processed {"connection_id":141920,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:10:04] local.INFO: Acknowledgment sent {"connection_id":141920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:10:35] local.INFO: TCP Data received {"connection_id":141920,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:10:35] local.INFO: Processing buffer {"connection_id":141920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:10:35] local.INFO: Packet analysis {"connection_id":141920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:10:35] local.INFO: Extracted packet for processing {"connection_id":141920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:10:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:10:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":141920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:10:35] local.INFO: GPS data processed {"connection_id":141920,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:10:35] local.INFO: Acknowledgment sent {"connection_id":141920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:10:57] local.INFO: TCP Data received {"connection_id":141921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:10:57] local.INFO: Processing buffer {"connection_id":141921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:10:57] local.INFO: IMEI packet received {"connection_id":141921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":141921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:11:01] local.INFO: TCP Data received {"connection_id":141921,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:11:02] local.INFO: Processing buffer {"connection_id":141921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:11:02] local.INFO: IMEI packet received {"connection_id":141921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:11:03] local.INFO: TCP Data received {"connection_id":141921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:11:03] local.INFO: Processing buffer {"connection_id":141921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:11:03] local.INFO: Packet analysis {"connection_id":141921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:11:03] local.INFO: Extracted packet for processing {"connection_id":141921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:11:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:11:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":141921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:11:03] local.INFO: GPS data processed {"connection_id":141921,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:11:03] local.INFO: Acknowledgment sent {"connection_id":141921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:11:34] local.INFO: TCP Data received {"connection_id":141921,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:11:34] local.INFO: Processing buffer {"connection_id":141921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:11:34] local.INFO: Packet analysis {"connection_id":141921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:11:34] local.INFO: Extracted packet for processing {"connection_id":141921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:11:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:11:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":141921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:11:34] local.INFO: GPS data processed {"connection_id":141921,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:11:34] local.INFO: Acknowledgment sent {"connection_id":141921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:11:57] local.INFO: TCP Data received {"connection_id":143274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:11:57] local.INFO: Processing buffer {"connection_id":143274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:11:57] local.INFO: IMEI packet received {"connection_id":143274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":143274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:12:02] local.INFO: TCP Data received {"connection_id":143274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:12:02] local.INFO: Processing buffer {"connection_id":143274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:12:02] local.INFO: IMEI packet received {"connection_id":143274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":143274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:12:04] local.INFO: TCP Data received {"connection_id":143274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:12:04] local.INFO: Processing buffer {"connection_id":143274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:12:04] local.INFO: Packet analysis {"connection_id":143274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:12:04] local.INFO: Extracted packet for processing {"connection_id":143274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":143274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:12:04] local.INFO: GPS data processed {"connection_id":143274,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:12:04] local.INFO: Acknowledgment sent {"connection_id":143274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:12:35] local.INFO: TCP Data received {"connection_id":143274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:12:35] local.INFO: Processing buffer {"connection_id":143274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:12:35] local.INFO: Packet analysis {"connection_id":143274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:12:35] local.INFO: Extracted packet for processing {"connection_id":143274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:12:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:12:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":143274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:12:35] local.INFO: GPS data processed {"connection_id":143274,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:12:35] local.INFO: Acknowledgment sent {"connection_id":143274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:12:56] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:12:56] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:12:56] local.INFO: IMEI packet received {"connection_id":140879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":140879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:13:01] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:13:01] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:13:01] local.INFO: IMEI packet received {"connection_id":140879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":140879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:13:03] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:13:03] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b4eb78012d34c90006aa44e8000c008226..."} 
[2026-07-25 06:13:03] local.INFO: Packet analysis {"connection_id":140879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:13:03] local.INFO: Extracted packet for processing {"connection_id":140879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b4"} 
[2026-07-25 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944528896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784939867000,"timestamp_ms":1784939867000,"timestamp_seconds":1784939867,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b4eb78"} 
[2026-07-25 06:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944528896001,"66":25375,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944528896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:13:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944528896001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":140879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:13:03] local.INFO: GPS data processed {"connection_id":140879,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:13:03] local.INFO: Acknowledgment sent {"connection_id":140879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:13:34] local.INFO: TCP Data received {"connection_id":140879,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:13:34] local.INFO: Processing buffer {"connection_id":140879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:13:34] local.INFO: Packet analysis {"connection_id":140879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:13:34] local.INFO: Extracted packet for processing {"connection_id":140879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:13:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:13:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:13:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":140879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:13:34] local.INFO: GPS data processed {"connection_id":140879,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:13:34] local.INFO: Acknowledgment sent {"connection_id":140879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:14:01] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:01] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:01] local.INFO: IMEI packet received {"connection_id":140880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":140880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:14:06] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:06] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:06] local.INFO: IMEI packet received {"connection_id":140880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":140880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:14:07] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:14:07] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:14:07] local.INFO: Packet analysis {"connection_id":140880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:14:07] local.INFO: Extracted packet for processing {"connection_id":140880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:14:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:14:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":140880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:14:07] local.INFO: GPS data processed {"connection_id":140880,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:14:07] local.INFO: Acknowledgment sent {"connection_id":140880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:14:38] local.INFO: TCP Data received {"connection_id":140880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:14:38] local.INFO: Processing buffer {"connection_id":140880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:14:38] local.INFO: Packet analysis {"connection_id":140880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:14:38] local.INFO: Extracted packet for processing {"connection_id":140880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:14:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":140880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:14:38] local.INFO: GPS data processed {"connection_id":140880,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:14:38] local.INFO: Acknowledgment sent {"connection_id":140880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:14:56] local.INFO: TCP Data received {"connection_id":143275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:56] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:14:56] local.INFO: IMEI packet received {"connection_id":143275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":143275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:15:01] local.INFO: TCP Data received {"connection_id":143275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:15:01] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:15:01] local.INFO: IMEI packet received {"connection_id":143275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":143275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:15:02] local.INFO: TCP Data received {"connection_id":143275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:15:02] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:15:02] local.INFO: Packet analysis {"connection_id":143275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:15:02] local.INFO: Extracted packet for processing {"connection_id":143275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:15:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:15:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":143275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:15:02] local.INFO: GPS data processed {"connection_id":143275,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:15:02] local.INFO: Acknowledgment sent {"connection_id":143275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:15:34] local.INFO: TCP Data received {"connection_id":143275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:15:34] local.INFO: Processing buffer {"connection_id":143275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:15:34] local.INFO: Packet analysis {"connection_id":143275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:15:34] local.INFO: Extracted packet for processing {"connection_id":143275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:15:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:15:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":143275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:15:34] local.INFO: GPS data processed {"connection_id":143275,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:15:34] local.INFO: Acknowledgment sent {"connection_id":143275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:15:56] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:15:56] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:15:56] local.INFO: IMEI packet received {"connection_id":140926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":140926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:16:01] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:16:01] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:16:01] local.INFO: IMEI packet received {"connection_id":140926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":140926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:16:02] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:16:02] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:16:02] local.INFO: Packet analysis {"connection_id":140926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:16:02] local.INFO: Extracted packet for processing {"connection_id":140926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:16:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:16:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:16:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":140926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:16:02] local.INFO: GPS data processed {"connection_id":140926,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:16:02] local.INFO: Acknowledgment sent {"connection_id":140926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:16:33] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:16:33] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:16:33] local.INFO: Packet analysis {"connection_id":140926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:16:33] local.INFO: Extracted packet for processing {"connection_id":140926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:16:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:16:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":140926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:16:33] local.INFO: GPS data processed {"connection_id":140926,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:16:33] local.INFO: Acknowledgment sent {"connection_id":140926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:16:56] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:16:56] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:16:56] local.INFO: IMEI packet received {"connection_id":140881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":140881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:17:01] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:17:01] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:17:01] local.INFO: IMEI packet received {"connection_id":140881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":140881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:17:02] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:17:02] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:17:02] local.INFO: Packet analysis {"connection_id":140881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:17:02] local.INFO: Extracted packet for processing {"connection_id":140881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 06:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 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-07-25 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 06:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:17:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:17:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":140881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:17:02] local.INFO: GPS data processed {"connection_id":140881,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:17:02] local.INFO: Acknowledgment sent {"connection_id":140881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:17:34] local.INFO: TCP Data received {"connection_id":140881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:17:34] local.INFO: Processing buffer {"connection_id":140881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:17:34] local.INFO: Packet analysis {"connection_id":140881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:17:34] local.INFO: Extracted packet for processing {"connection_id":140881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:17:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:17:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":140881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:17:34] local.INFO: GPS data processed {"connection_id":140881,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:17:34] local.INFO: Acknowledgment sent {"connection_id":140881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:17:56] local.INFO: TCP Data received {"connection_id":141922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:17:56] local.INFO: Processing buffer {"connection_id":141922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:17:56] local.INFO: IMEI packet received {"connection_id":141922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":141922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:18:01] local.INFO: TCP Data received {"connection_id":141922,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:18:01] local.INFO: Processing buffer {"connection_id":141922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:18:01] local.INFO: IMEI packet received {"connection_id":141922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":141922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:18:02] local.INFO: TCP Data received {"connection_id":141922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:18:02] local.INFO: Processing buffer {"connection_id":141922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96b98340012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:18:02] local.INFO: Packet analysis {"connection_id":141922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:18:02] local.INFO: Extracted packet for processing {"connection_id":141922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96b9"} 
[2026-07-25 06:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940168000,"timestamp_ms":1784940168000,"timestamp_seconds":1784940168,"priority":1,"record_length":96,"hex_timestamp":"0000019f96b98340"} 
[2026-07-25 06:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 06:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944605952001,"66":25397,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:18:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:18:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944605952001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":141922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:18:02] local.INFO: GPS data processed {"connection_id":141922,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:18:02] local.INFO: Acknowledgment sent {"connection_id":141922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:18:34] local.INFO: TCP Data received {"connection_id":141922,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:18:34] local.INFO: Processing buffer {"connection_id":141922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:18:34] local.INFO: Packet analysis {"connection_id":141922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:18:34] local.INFO: Extracted packet for processing {"connection_id":141922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:18:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:18:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":141922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:18:34] local.INFO: GPS data processed {"connection_id":141922,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:18:34] local.INFO: Acknowledgment sent {"connection_id":141922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:18:56] local.INFO: TCP Data received {"connection_id":143276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:18:56] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:18:56] local.INFO: IMEI packet received {"connection_id":143276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":143276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:19:01] local.INFO: TCP Data received {"connection_id":143276,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:19:01] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:19:01] local.INFO: IMEI packet received {"connection_id":143276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":143276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:19:03] local.INFO: TCP Data received {"connection_id":143276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:19:03] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:19:03] local.INFO: Packet analysis {"connection_id":143276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:19:03] local.INFO: Extracted packet for processing {"connection_id":143276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":143276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:19:03] local.INFO: GPS data processed {"connection_id":143276,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:19:03] local.INFO: Acknowledgment sent {"connection_id":143276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:19:34] local.INFO: TCP Data received {"connection_id":143276,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:19:34] local.INFO: Processing buffer {"connection_id":143276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:19:34] local.INFO: Packet analysis {"connection_id":143276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:19:34] local.INFO: Extracted packet for processing {"connection_id":143276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:19:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:19:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":143276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:19:34] local.INFO: GPS data processed {"connection_id":143276,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:19:34] local.INFO: Acknowledgment sent {"connection_id":143276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:19:56] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:19:56] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:19:56] local.INFO: IMEI packet received {"connection_id":140927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":140927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:20:01] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:20:01] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:20:01] local.INFO: IMEI packet received {"connection_id":140927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":140927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:20:03] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:20:03] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:20:03] local.INFO: Packet analysis {"connection_id":140927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:20:03] local.INFO: Extracted packet for processing {"connection_id":140927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:20:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:20:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":140927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:20:03] local.INFO: GPS data processed {"connection_id":140927,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:20:03] local.INFO: Acknowledgment sent {"connection_id":140927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:20:34] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:20:34] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:20:34] local.INFO: Packet analysis {"connection_id":140927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:20:34] local.INFO: Extracted packet for processing {"connection_id":140927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:20:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:20:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":140927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:20:34] local.INFO: GPS data processed {"connection_id":140927,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:20:34] local.INFO: Acknowledgment sent {"connection_id":140927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:21:01] local.INFO: TCP Data received {"connection_id":141923,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:01] local.INFO: Processing buffer {"connection_id":141923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:01] local.INFO: IMEI packet received {"connection_id":141923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":141923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:21:06] local.INFO: TCP Data received {"connection_id":141923,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:06] local.INFO: Processing buffer {"connection_id":141923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:06] local.INFO: IMEI packet received {"connection_id":141923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":141923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:21:07] local.INFO: TCP Data received {"connection_id":141923,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:21:07] local.INFO: Processing buffer {"connection_id":141923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:21:07] local.INFO: Packet analysis {"connection_id":141923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:21:07] local.INFO: Extracted packet for processing {"connection_id":141923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:21:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:21:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:21:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":141923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:21:07] local.INFO: GPS data processed {"connection_id":141923,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:21:07] local.INFO: Acknowledgment sent {"connection_id":141923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:21:12] local.INFO: TCP Data received {"connection_id":141923,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:21:12] local.INFO: Processing buffer {"connection_id":141923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:21:12] local.INFO: Packet analysis {"connection_id":141923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:21:12] local.INFO: Extracted packet for processing {"connection_id":141923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:21:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:21:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":141923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:21:12] local.INFO: GPS data processed {"connection_id":141923,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:21:12] local.INFO: Acknowledgment sent {"connection_id":141923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:21:57] local.INFO: TCP Data received {"connection_id":143277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:57] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:21:57] local.INFO: IMEI packet received {"connection_id":143277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":143277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:22:01] local.INFO: TCP Data received {"connection_id":143277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:22:01] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:22:01] local.INFO: IMEI packet received {"connection_id":143277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":143277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:22:02] local.INFO: TCP Data received {"connection_id":143277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:22:02] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96be1b08012d34c90006aa44e8000c008222..."} 
[2026-07-25 06:22:02] local.INFO: Packet analysis {"connection_id":143277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:22:02] local.INFO: Extracted packet for processing {"connection_id":143277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96be"} 
[2026-07-25 06:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":34,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944683008001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940469000,"timestamp_ms":1784940469000,"timestamp_seconds":1784940469,"priority":1,"record_length":96,"hex_timestamp":"0000019f96be1b08"} 
[2026-07-25 06:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 06:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944683008001,"66":25451,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944683008001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:22:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944683008001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":143277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:22:03] local.INFO: GPS data processed {"connection_id":143277,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:22:03] local.INFO: Acknowledgment sent {"connection_id":143277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:22:33] local.INFO: TCP Data received {"connection_id":143277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c1c488012d34c90006aa44e8000c00821f..."} 
[2026-07-25 06:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c1c488012d34c90006aa44e8000c00821f..."} 
[2026-07-25 06:22:33] local.INFO: Processing buffer {"connection_id":143277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c1c488012d34c90006aa44e8000c00821f..."} 
[2026-07-25 06:22:33] local.INFO: Packet analysis {"connection_id":143277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c1"} 
[2026-07-25 06:22:33] local.INFO: Extracted packet for processing {"connection_id":143277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c1"} 
[2026-07-25 06:22:33] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111822056,"longitude_deg":75.8434048,"latitude_deg":11.1822056,"altitude":12,"angle":130,"satellites":31,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa44e8","is_valid_coordinates":true} 
[2026-07-25 06:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944760064001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784940709000,"timestamp_ms":1784940709000,"timestamp_seconds":1784940709,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c1c488"} 
[2026-07-25 06:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 06:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944760064001,"66":25462,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944760064001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:22:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:22:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944760064001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":143277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:22:33] local.INFO: GPS data processed {"connection_id":143277,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:22:33] local.INFO: Acknowledgment sent {"connection_id":143277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:22:56] local.INFO: TCP Data received {"connection_id":141924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:22:56] local.INFO: Processing buffer {"connection_id":141924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:22:56] local.INFO: IMEI packet received {"connection_id":141924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":141924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:23:02] local.INFO: TCP Data received {"connection_id":141924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:23:02] local.INFO: Processing buffer {"connection_id":141924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:23:02] local.INFO: IMEI packet received {"connection_id":141924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":141924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:23:03] local.INFO: TCP Data received {"connection_id":141924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c1d810012d34c50006aa4620000c005122..."} 
[2026-07-25 06:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c1d810012d34c50006aa4620000c005122..."} 
[2026-07-25 06:23:03] local.INFO: Processing buffer {"connection_id":141924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c1d810012d34c50006aa4620000c005122..."} 
[2026-07-25 06:23:03] local.INFO: Packet analysis {"connection_id":141924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c1"} 
[2026-07-25 06:23:03] local.INFO: Extracted packet for processing {"connection_id":141924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c1"} 
[2026-07-25 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822368,"longitude_deg":75.8433024,"latitude_deg":11.1822368,"altitude":12,"angle":81,"satellites":34,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4620","is_valid_coordinates":true} 
[2026-07-25 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944821504001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917540864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784940714000,"timestamp_ms":1784940714000,"timestamp_seconds":1784940714,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c1d810"} 
[2026-07-25 06:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 06:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944821504001,"66":25212,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3803571388917540864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944821504001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917540864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944821504001,"power":25212,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803571388917540864}} 
[2026-07-25 06:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":141924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:23:03] local.INFO: GPS data processed {"connection_id":141924,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:23:03] local.INFO: Acknowledgment sent {"connection_id":141924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:23:34] local.INFO: TCP Data received {"connection_id":141924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c22a18012d34c50006aa4620000c005126..."} 
[2026-07-25 06:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c22a18012d34c50006aa4620000c005126..."} 
[2026-07-25 06:23:34] local.INFO: Processing buffer {"connection_id":141924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c22a18012d34c50006aa4620000c005126..."} 
[2026-07-25 06:23:34] local.INFO: Packet analysis {"connection_id":141924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:23:34] local.INFO: Extracted packet for processing {"connection_id":141924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822368,"longitude_deg":75.8433024,"latitude_deg":11.1822368,"altitude":12,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4620","is_valid_coordinates":true} 
[2026-07-25 06:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944822784001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010778112,"note":"Value kept but may cause issues"} 
[2026-07-25 06:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940735000,"timestamp_ms":1784940735000,"timestamp_seconds":1784940735,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c22a18"} 
[2026-07-25 06:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 06:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944822784001,"66":27647,"32":206,"81":23296,"24":0,"16":356846812327313408,"45":3802445489010778112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-07-25 06:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944822784001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:23:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-07-25 06:23:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010778112,"description":"Unknown IO ID 45"} 
[2026-07-25 06:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944822784001,"power":27647,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010778112}} 
[2026-07-25 06:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":141924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:23:34] local.INFO: GPS data processed {"connection_id":141924,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:23:34] local.INFO: Acknowledgment sent {"connection_id":141924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:23:56] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:23:56] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:23:56] local.INFO: IMEI packet received {"connection_id":140882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":140882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:24:01] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:24:01] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:24:01] local.INFO: IMEI packet received {"connection_id":140882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":140882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:24:02] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c27c20012d34c50006aa4620000c005126..."} 
[2026-07-25 06:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c27c20012d34c50006aa4620000c005126..."} 
[2026-07-25 06:24:02] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c27c20012d34c50006aa4620000c005126..."} 
[2026-07-25 06:24:02] local.INFO: Packet analysis {"connection_id":140882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:24:02] local.INFO: Extracted packet for processing {"connection_id":140882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111822368,"longitude_deg":75.8433024,"latitude_deg":11.1822368,"altitude":12,"angle":81,"satellites":38,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4620","is_valid_coordinates":true} 
[2026-07-25 06:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944828160001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846812327313408,"note":"Value kept but may cause issues"} 
[2026-07-25 06:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010778112,"note":"Value kept but may cause issues"} 
[2026-07-25 06:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940756000,"timestamp_ms":1784940756000,"timestamp_seconds":1784940756,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c27c20"} 
[2026-07-25 06:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 06:24:02] 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-07-25 06:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944828160001,"66":27832,"97":206,"81":23296,"24":0,"16":356846812327313408,"45":3802445489010778112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944828160001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:24:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:24:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846812327313408,"km_value":356846812327313.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010778112,"description":"Unknown IO ID 45"} 
[2026-07-25 06:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944828160001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489010778112}} 
[2026-07-25 06:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":140882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:24:02] local.INFO: GPS data processed {"connection_id":140882,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:24:02] local.INFO: Acknowledgment sent {"connection_id":140882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:24:34] local.INFO: TCP Data received {"connection_id":140882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c2ce28012d34c58006aa4620000e012525..."} 
[2026-07-25 06:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c2ce28012d34c58006aa4620000e012525..."} 
[2026-07-25 06:24:34] local.INFO: Processing buffer {"connection_id":140882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c2ce28012d34c58006aa4620000e012525..."} 
[2026-07-25 06:24:34] local.INFO: Packet analysis {"connection_id":140882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:24:34] local.INFO: Extracted packet for processing {"connection_id":140882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822368,"longitude_deg":75.8433152,"latitude_deg":11.1822368,"altitude":14,"angle":293,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa4620","is_valid_coordinates":true} 
[2026-07-25 06:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944833536001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846820917248000,"note":"Value kept but may cause issues"} 
[2026-07-25 06:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010778112,"note":"Value kept but may cause issues"} 
[2026-07-25 06:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784940777000,"timestamp_ms":1784940777000,"timestamp_seconds":1784940777,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c2ce28"} 
[2026-07-25 06:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 06:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944833536001,"66":27604,"97":206,"81":23296,"24":3,"16":356846820917248000,"45":3802445489010778112},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944833536001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:24:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:24:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846820917248000,"km_value":356846820917248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010778112,"description":"Unknown IO ID 45"} 
[2026-07-25 06:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944833536001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802445489010778112}} 
[2026-07-25 06:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":140882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:24:34] local.INFO: GPS data processed {"connection_id":140882,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:24:34] local.INFO: Acknowledgment sent {"connection_id":140882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:25:01] local.INFO: TCP Data received {"connection_id":143278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:01] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:01] local.INFO: IMEI packet received {"connection_id":143278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":143278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:25:06] local.INFO: TCP Data received {"connection_id":143278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:06] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:06] local.INFO: IMEI packet received {"connection_id":143278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":143278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:25:07] local.INFO: TCP Data received {"connection_id":143278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c2ce28012d34c58006aa4620000e012525..."} 
[2026-07-25 06:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c2ce28012d34c58006aa4620000e012525..."} 
[2026-07-25 06:25:07] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c2ce28012d34c58006aa4620000e012525..."} 
[2026-07-25 06:25:07] local.INFO: Packet analysis {"connection_id":143278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:25:07] local.INFO: Extracted packet for processing {"connection_id":143278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111822368,"longitude_deg":75.8433152,"latitude_deg":11.1822368,"altitude":14,"angle":293,"satellites":37,"speed":3,"hex_longitude":"2d34c580","hex_latitude":"06aa4620","is_valid_coordinates":true} 
[2026-07-25 06:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944838912001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846820917248000,"note":"Value kept but may cause issues"} 
[2026-07-25 06:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499133440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784940777000,"timestamp_ms":1784940777000,"timestamp_seconds":1784940777,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c2ce28"} 
[2026-07-25 06:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-25 06:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944838912001,"66":27604,"97":206,"81":23296,"24":3,"16":356846820917248000,"45":3802586226499133440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944838912001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:25:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:25:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846820917248000,"km_value":356846820917248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499133440,"description":"Unknown IO ID 45"} 
[2026-07-25 06:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944838912001,"power":27604,"unknown_97":206,"unknown_81":23296,"ignition":3,"odometer":null,"unknown_45":3802586226499133440}} 
[2026-07-25 06:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":143278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:25:07] local.INFO: GPS data processed {"connection_id":143278,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:25:07] local.INFO: Acknowledgment sent {"connection_id":143278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:25:12] local.INFO: TCP Data received {"connection_id":143278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c2d5f8012d34c44006aa46a8000e013327..."} 
[2026-07-25 06:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c2d5f8012d34c44006aa46a8000e013327..."} 
[2026-07-25 06:25:12] local.INFO: Processing buffer {"connection_id":143278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c2d5f8012d34c44006aa46a8000e013327..."} 
[2026-07-25 06:25:12] local.INFO: Packet analysis {"connection_id":143278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:25:12] local.INFO: Extracted packet for processing {"connection_id":143278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c2"} 
[2026-07-25 06:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111822504,"longitude_deg":75.8432832,"latitude_deg":11.1822504,"altitude":14,"angle":307,"satellites":39,"speed":5,"hex_longitude":"2d34c440","hex_latitude":"06aa46a8","is_valid_coordinates":true} 
[2026-07-25 06:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944838912001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846833802149888,"note":"Value kept but may cause issues"} 
[2026-07-25 06:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499133440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784940779000,"timestamp_ms":1784940779000,"timestamp_seconds":1784940779,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c2d5f8"} 
[2026-07-25 06:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:25: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-07-25 06:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-25 06:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944838912001,"66":27832,"97":206,"81":23296,"24":5,"16":356846833802149888,"45":3802586226499133440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944838912001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:25:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846833802149888,"km_value":356846833802149.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499133440,"description":"Unknown IO ID 45"} 
[2026-07-25 06:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944838912001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802586226499133440}} 
[2026-07-25 06:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":143278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:25:12] local.INFO: GPS data processed {"connection_id":143278,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:25:12] local.INFO: Acknowledgment sent {"connection_id":143278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:25:56] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:56] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:25:56] local.INFO: IMEI packet received {"connection_id":140928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":140928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:26:01] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:01] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:01] local.INFO: IMEI packet received {"connection_id":140928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":140928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:26:02] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c454c8012d34c50006aa4f38000c015a28..."} 
[2026-07-25 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c454c8012d34c50006aa4f38000c015a28..."} 
[2026-07-25 06:26:02] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c454c8012d34c50006aa4f38000c015a28..."} 
[2026-07-25 06:26:02] local.INFO: Packet analysis {"connection_id":140928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c4"} 
[2026-07-25 06:26:02] local.INFO: Extracted packet for processing {"connection_id":140928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c4"} 
[2026-07-25 06:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111824696,"longitude_deg":75.8433024,"latitude_deg":11.1824696,"altitude":12,"angle":346,"satellites":40,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa4f38","is_valid_coordinates":true} 
[2026-07-25 06:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944859136001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356846954061234176,"note":"Value kept but may cause issues"} 
[2026-07-25 06:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011374080,"note":"Value kept but may cause issues"} 
[2026-07-25 06:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940877000,"timestamp_ms":1784940877000,"timestamp_seconds":1784940877,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c454c8"} 
[2026-07-25 06:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944859136001,"66":27832,"97":206,"81":23296,"24":0,"16":356846954061234176,"45":3802445489011374080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944859136001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356846954061234176,"km_value":356846954061234.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011374080,"description":"Unknown IO ID 45"} 
[2026-07-25 06:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944859136001,"power":27832,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011374080}} 
[2026-07-25 06:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":140928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:26:02] local.INFO: GPS data processed {"connection_id":140928,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:26:02] local.INFO: Acknowledgment sent {"connection_id":140928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:26:33] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c56250012d350e8006aa65b00009016728..."} 
[2026-07-25 06:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c56250012d350e8006aa65b00009016728..."} 
[2026-07-25 06:26:33] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c56250012d350e8006aa65b00009016728..."} 
[2026-07-25 06:26:33] local.INFO: Packet analysis {"connection_id":140928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:26:33] local.INFO: Extracted packet for processing {"connection_id":140928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:26:33] local.INFO: GPS Element Parsed {"raw_longitude":758451840,"raw_latitude":111830448,"longitude_deg":75.845184,"latitude_deg":11.1830448,"altitude":9,"angle":359,"satellites":40,"speed":7,"hex_longitude":"2d350e80","hex_latitude":"06aa65b0","is_valid_coordinates":true} 
[2026-07-25 06:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944881920001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356847946198679552,"note":"Value kept but may cause issues"} 
[2026-07-25 06:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823063531056842752,"note":"Value kept but may cause issues"} 
[2026-07-25 06:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784940946000,"timestamp_ms":1784940946000,"timestamp_seconds":1784940946,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c56250"} 
[2026-07-25 06:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:26: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-07-25 06:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944881920001,"66":27745,"97":206,"81":23296,"24":7,"16":356847946198679552,"45":3823063531056842752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944881920001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:26:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:26:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356847946198679552,"km_value":356847946198679.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823063531056842752,"description":"Unknown IO ID 45"} 
[2026-07-25 06:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944881920001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3823063531056842752}} 
[2026-07-25 06:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":140928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:26:33] local.INFO: GPS data processed {"connection_id":140928,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:26:33] local.INFO: Acknowledgment sent {"connection_id":140928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:26:54] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:54] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:54] local.INFO: IMEI packet received {"connection_id":140883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":140883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:26:56] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:56] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:26:56] local.INFO: IMEI packet received {"connection_id":140883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":140883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:27:01] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:01] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:01] local.INFO: IMEI packet received {"connection_id":140883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":140883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:27:07] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c56638012d350e8006aa66680009015728..."} 
[2026-07-25 06:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c56638012d350e8006aa66680009015728..."} 
[2026-07-25 06:27:07] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c56638012d350e8006aa66680009015728..."} 
[2026-07-25 06:27:07] local.INFO: Packet analysis {"connection_id":140883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:27:07] local.INFO: Extracted packet for processing {"connection_id":140883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:27:07] local.INFO: GPS Element Parsed {"raw_longitude":758451840,"raw_latitude":111830632,"longitude_deg":75.845184,"latitude_deg":11.1830632,"altitude":9,"angle":343,"satellites":40,"speed":6,"hex_longitude":"2d350e80","hex_latitude":"06aa6668","is_valid_coordinates":true} 
[2026-07-25 06:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944882176001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356847954788614144,"note":"Value kept but may cause issues"} 
[2026-07-25 06:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823133899801079808,"note":"Value kept but may cause issues"} 
[2026-07-25 06:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784940947000,"timestamp_ms":1784940947000,"timestamp_seconds":1784940947,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c56638"} 
[2026-07-25 06:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944882176001,"66":27843,"97":206,"81":23296,"24":6,"16":356847954788614144,"45":3823133899801079808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944882176001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:27:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:27:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356847954788614144,"km_value":356847954788614.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823133899801079808,"description":"Unknown IO ID 45"} 
[2026-07-25 06:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944882176001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3823133899801079808}} 
[2026-07-25 06:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":140883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:27:07] local.INFO: GPS data processed {"connection_id":140883,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:27:07] local.INFO: Acknowledgment sent {"connection_id":140883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:27:38] local.INFO: TCP Data received {"connection_id":140883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c56e08012d350e0006aa67b00009013c29..."} 
[2026-07-25 06:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c56e08012d350e0006aa67b00009013c29..."} 
[2026-07-25 06:27:38] local.INFO: Processing buffer {"connection_id":140883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c56e08012d350e0006aa67b00009013c29..."} 
[2026-07-25 06:27:38] local.INFO: Packet analysis {"connection_id":140883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:27:38] local.INFO: Extracted packet for processing {"connection_id":140883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758451712,"raw_latitude":111830960,"longitude_deg":75.8451712,"latitude_deg":11.183096,"altitude":9,"angle":316,"satellites":41,"speed":6,"hex_longitude":"2d350e00","hex_latitude":"06aa67b0","is_valid_coordinates":true} 
[2026-07-25 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944882432001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356847971968483328,"note":"Value kept but may cause issues"} 
[2026-07-25 06:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823133899801126912,"note":"Value kept but may cause issues"} 
[2026-07-25 06:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784940949000,"timestamp_ms":1784940949000,"timestamp_seconds":1784940949,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c56e08"} 
[2026-07-25 06:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 06:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944882432001,"66":27745,"97":206,"81":23296,"24":6,"16":356847971968483328,"45":3823133899801126912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944882432001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356847971968483328,"km_value":356847971968483.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823133899801126912,"description":"Unknown IO ID 45"} 
[2026-07-25 06:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944882432001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3823133899801126912}} 
[2026-07-25 06:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":140883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:27:38] local.INFO: GPS data processed {"connection_id":140883,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:27:38] local.INFO: Acknowledgment sent {"connection_id":140883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:27:56] local.INFO: TCP Data received {"connection_id":141925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:56] local.INFO: Processing buffer {"connection_id":141925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:56] local.INFO: IMEI packet received {"connection_id":141925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":141925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:27:59] local.INFO: TCP Data received {"connection_id":141925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:59] local.INFO: Processing buffer {"connection_id":141925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:27:59] local.INFO: IMEI packet received {"connection_id":141925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":141925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:28:01] local.INFO: TCP Data received {"connection_id":141925,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:28:01] local.INFO: Processing buffer {"connection_id":141925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:28:01] local.INFO: IMEI packet received {"connection_id":141925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":141925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:28:02] local.INFO: TCP Data received {"connection_id":141925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c59130012d350b8006aa69f8000c012029..."} 
[2026-07-25 06:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c59130012d350b8006aa69f8000c012029..."} 
[2026-07-25 06:28:02] local.INFO: Processing buffer {"connection_id":141925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c59130012d350b8006aa69f8000c012029..."} 
[2026-07-25 06:28:02] local.INFO: Packet analysis {"connection_id":141925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:28:02] local.INFO: Extracted packet for processing {"connection_id":141925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758451072,"raw_latitude":111831544,"longitude_deg":75.8451072,"latitude_deg":11.1831544,"altitude":12,"angle":288,"satellites":41,"speed":6,"hex_longitude":"2d350b80","hex_latitude":"06aa69f8","is_valid_coordinates":true} 
[2026-07-25 06:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944882944001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356848014918156288,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822993162312855552,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940958000,"timestamp_ms":1784940958000,"timestamp_seconds":1784940958,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c59130"} 
[2026-07-25 06:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:28: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-07-25 06:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944882944001,"66":27800,"97":206,"81":23296,"24":6,"16":356848014918156288,"45":3822993162312855552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944882944001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:28:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:28:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356848014918156288,"km_value":356848014918156.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822993162312855552,"description":"Unknown IO ID 45"} 
[2026-07-25 06:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944882944001,"power":27800,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3822993162312855552}} 
[2026-07-25 06:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":141925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:28:02] local.INFO: GPS data processed {"connection_id":141925,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:28:02] local.INFO: Acknowledgment sent {"connection_id":141925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:28:06] local.INFO: TCP Data received {"connection_id":141925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c5d780012d34e8c006aa7668000c012029..."} 
[2026-07-25 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c5d780012d34e8c006aa7668000c012029..."} 
[2026-07-25 06:28:06] local.INFO: Processing buffer {"connection_id":141925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c5d780012d34e8c006aa7668000c012029..."} 
[2026-07-25 06:28:06] local.INFO: Packet analysis {"connection_id":141925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:28:06] local.INFO: Extracted packet for processing {"connection_id":141925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c5"} 
[2026-07-25 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":758442176,"raw_latitude":111834728,"longitude_deg":75.8442176,"latitude_deg":11.1834728,"altitude":12,"angle":288,"satellites":41,"speed":30,"hex_longitude":"2d34e8c0","hex_latitude":"06aa7668","is_valid_coordinates":true} 
[2026-07-25 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944885248001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356848465889722368,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3822289474871228416,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784940976000,"timestamp_ms":1784940976000,"timestamp_seconds":1784940976,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c5d780"} 
[2026-07-25 06:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 06:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944885248001,"66":27843,"97":206,"81":23296,"24":30,"16":356848465889722368,"45":3822289474871228416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944885248001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:28:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:28:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356848465889722368,"km_value":356848465889722.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3822289474871228416,"description":"Unknown IO ID 45"} 
[2026-07-25 06:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944885248001,"power":27843,"unknown_97":206,"unknown_81":23296,"ignition":30,"odometer":null,"unknown_45":3822289474871228416}} 
[2026-07-25 06:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":141925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:28:06] local.INFO: GPS data processed {"connection_id":141925,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:28:06] local.INFO: Acknowledgment sent {"connection_id":141925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:28:37] local.INFO: TCP Data received {"connection_id":141925,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c60278012d34c48006aa8368000a012229..."} 
[2026-07-25 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c60278012d34c48006aa8368000a012229..."} 
[2026-07-25 06:28:37] local.INFO: Processing buffer {"connection_id":141925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c60278012d34c48006aa8368000a012229..."} 
[2026-07-25 06:28:37] local.INFO: Packet analysis {"connection_id":141925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:28:37] local.INFO: Extracted packet for processing {"connection_id":141925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111838056,"longitude_deg":75.8432896,"latitude_deg":11.1838056,"altitude":10,"angle":290,"satellites":41,"speed":38,"hex_longitude":"2d34c480","hex_latitude":"06aa8368","is_valid_coordinates":true} 
[2026-07-25 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944889856001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356848934041157632,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3812508219431348224,"note":"Value kept but may cause issues"} 
[2026-07-25 06:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784940987000,"timestamp_ms":1784940987000,"timestamp_seconds":1784940987,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c60278"} 
[2026-07-25 06:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 06:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944889856001,"66":27517,"97":206,"81":23296,"24":38,"16":356848934041157632,"45":3812508219431348224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944889856001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356848934041157632,"km_value":356848934041157.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3812508219431348224,"description":"Unknown IO ID 45"} 
[2026-07-25 06:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944889856001,"power":27517,"unknown_97":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3812508219431348224}} 
[2026-07-25 06:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":141925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:28:37] local.INFO: GPS data processed {"connection_id":141925,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:28:37] local.INFO: Acknowledgment sent {"connection_id":141925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:28:56] local.INFO: TCP Data received {"connection_id":141926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:28:56] local.INFO: Processing buffer {"connection_id":141926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:28:56] local.INFO: IMEI packet received {"connection_id":141926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":141926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:29:01] local.INFO: TCP Data received {"connection_id":141926,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:29:01] local.INFO: Processing buffer {"connection_id":141926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:29:01] local.INFO: IMEI packet received {"connection_id":141926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":141926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:29:02] local.INFO: TCP Data received {"connection_id":141926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c625a0012d34a24006aa9008000c012028..."} 
[2026-07-25 06:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c625a0012d34a24006aa9008000c012028..."} 
[2026-07-25 06:29:02] local.INFO: Processing buffer {"connection_id":141926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c625a0012d34a24006aa9008000c012028..."} 
[2026-07-25 06:29:02] local.INFO: Packet analysis {"connection_id":141926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:29:02] local.INFO: Extracted packet for processing {"connection_id":141926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758424128,"raw_latitude":111841288,"longitude_deg":75.8424128,"latitude_deg":11.1841288,"altitude":12,"angle":288,"satellites":40,"speed":41,"hex_longitude":"2d34a240","hex_latitude":"06aa9008","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944892672001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356849380717756416,"note":"Value kept but may cause issues"} 
[2026-07-25 06:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751526438912,"note":"Value kept but may cause issues"} 
[2026-07-25 06:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784940996000,"timestamp_ms":1784940996000,"timestamp_seconds":1784940996,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c625a0"} 
[2026-07-25 06:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":125,"data_length":795,"current_offset":136} 
[2026-07-25 06:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944892672001,"66":27745,"97":206,"81":23296,"24":41,"16":356849380717756416,"45":3802304751526438912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-25 06:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944892672001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:29:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 06:29:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356849380717756416,"km_value":356849380717756.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751526438912,"description":"Unknown IO ID 45"} 
[2026-07-25 06:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944892672001,"power":27745,"unknown_97":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3802304751526438912}} 
[2026-07-25 06:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":141926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:29:02] local.INFO: GPS data processed {"connection_id":141926,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:29:02] local.INFO: Acknowledgment sent {"connection_id":141926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:29:33] local.INFO: TCP Data received {"connection_id":141926,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c648c8012d3480c006aa97f8000f011329..."} 
[2026-07-25 06:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c648c8012d3480c006aa97f8000f011329..."} 
[2026-07-25 06:29:33] local.INFO: Processing buffer {"connection_id":141926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c648c8012d3480c006aa97f8000f011329..."} 
[2026-07-25 06:29:33] local.INFO: Packet analysis {"connection_id":141926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:29:33] local.INFO: Extracted packet for processing {"connection_id":141926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:29:33] local.INFO: GPS Element Parsed {"raw_longitude":758415552,"raw_latitude":111843320,"longitude_deg":75.8415552,"latitude_deg":11.184332,"altitude":15,"angle":275,"satellites":41,"speed":36,"hex_longitude":"2d3480c0","hex_latitude":"06aa97f8","is_valid_coordinates":true} 
[2026-07-25 06:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944894976001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356849801624551424,"note":"Value kept but may cause issues"} 
[2026-07-25 06:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3792664233574926336,"note":"Value kept but may cause issues"} 
[2026-07-25 06:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784941005000,"timestamp_ms":1784941005000,"timestamp_seconds":1784941005,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c648c8"} 
[2026-07-25 06:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:29: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-07-25 06:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944894976001,"66":27800,"75":206,"81":23296,"24":36,"16":356849801624551424,"45":3792664233574926336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944894976001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:29:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:29:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356849801624551424,"km_value":356849801624551.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3792664233574926336,"description":"Unknown IO ID 45"} 
[2026-07-25 06:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944894976001,"power":27800,"unknown_75":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3792664233574926336}} 
[2026-07-25 06:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":141926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:29:33] local.INFO: GPS data processed {"connection_id":141926,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:29:33] local.INFO: Acknowledgment sent {"connection_id":141926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:29:56] local.INFO: TCP Data received {"connection_id":141927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:29:56] local.INFO: Processing buffer {"connection_id":141927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:29:56] local.INFO: IMEI packet received {"connection_id":141927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":141927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:30:01] local.INFO: TCP Data received {"connection_id":141927,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:30:01] local.INFO: Processing buffer {"connection_id":141927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:30:01] local.INFO: IMEI packet received {"connection_id":141927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":141927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:30:02] local.INFO: TCP Data received {"connection_id":141927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c66420012d34668006aa98500010010627..."} 
[2026-07-25 06:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c66420012d34668006aa98500010010627..."} 
[2026-07-25 06:30:02] local.INFO: Processing buffer {"connection_id":141927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c66420012d34668006aa98500010010627..."} 
[2026-07-25 06:30:02] local.INFO: Packet analysis {"connection_id":141927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:30:02] local.INFO: Extracted packet for processing {"connection_id":141927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758408832,"raw_latitude":111843408,"longitude_deg":75.8408832,"latitude_deg":11.1843408,"altitude":16,"angle":262,"satellites":39,"speed":38,"hex_longitude":"2d346680","hex_latitude":"06aa9850","is_valid_coordinates":true} 
[2026-07-25 06:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944897280001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356850119452131328,"note":"Value kept but may cause issues"} 
[2026-07-25 06:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3783234821855639552,"note":"Value kept but may cause issues"} 
[2026-07-25 06:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784941012000,"timestamp_ms":1784941012000,"timestamp_seconds":1784941012,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c66420"} 
[2026-07-25 06:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 06:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944897280001,"66":27767,"75":206,"81":23296,"24":38,"16":356850119452131328,"45":3783234821855639552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944897280001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:30:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356850119452131328,"km_value":356850119452131.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3783234821855639552,"description":"Unknown IO ID 45"} 
[2026-07-25 06:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944897280001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3783234821855639552}} 
[2026-07-25 06:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":141927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:30:02] local.INFO: GPS data processed {"connection_id":141927,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:30:02] local.INFO: Acknowledgment sent {"connection_id":141927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:30:33] local.INFO: TCP Data received {"connection_id":141927,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c67b90012d344f4006aa9270001000fa26..."} 
[2026-07-25 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c67b90012d344f4006aa9270001000fa26..."} 
[2026-07-25 06:30:33] local.INFO: Processing buffer {"connection_id":141927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c67b90012d344f4006aa9270001000fa26..."} 
[2026-07-25 06:30:33] local.INFO: Packet analysis {"connection_id":141927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:30:33] local.INFO: Extracted packet for processing {"connection_id":141927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":758402880,"raw_latitude":111841904,"longitude_deg":75.840288,"latitude_deg":11.1841904,"altitude":16,"angle":250,"satellites":38,"speed":41,"hex_longitude":"2d344f40","hex_latitude":"06aa9270","is_valid_coordinates":true} 
[2026-07-25 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-07-25 06:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944899072001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356850415804874752,"note":"Value kept but may cause issues"} 
[2026-07-25 06:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3775846103717007360,"note":"Value kept but may cause issues"} 
[2026-07-25 06:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784941018000,"timestamp_ms":1784941018000,"timestamp_seconds":1784941018,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c67b90"} 
[2026-07-25 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-07-25 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 06:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944899072001,"66":26723,"75":206,"81":23296,"24":41,"16":356850415804874752,"45":3775846103717007360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944899072001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:30:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:30:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356850415804874752,"km_value":356850415804874.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3775846103717007360,"description":"Unknown IO ID 45"} 
[2026-07-25 06:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944899072001,"power":26723,"unknown_75":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3775846103717007360}} 
[2026-07-25 06:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":141927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:30:33] local.INFO: GPS data processed {"connection_id":141927,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:30:33] local.INFO: Acknowledgment sent {"connection_id":141927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:31:01] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:01] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:01] local.INFO: IMEI packet received {"connection_id":140929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":140929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:31:07] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:07] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:07] local.INFO: IMEI packet received {"connection_id":140929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":140929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:31:09] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c69eb8012d342a0006aa8740000e010127..."} 
[2026-07-25 06:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c69eb8012d342a0006aa8740000e010127..."} 
[2026-07-25 06:31:09] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c69eb8012d342a0006aa8740000e010127..."} 
[2026-07-25 06:31:09] local.INFO: Packet analysis {"connection_id":140929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:31:09] local.INFO: Extracted packet for processing {"connection_id":140929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758393344,"raw_latitude":111839040,"longitude_deg":75.8393344,"latitude_deg":11.183904,"altitude":14,"angle":257,"satellites":39,"speed":44,"hex_longitude":"2d342a00","hex_latitude":"06aa8740","is_valid_coordinates":true} 
[2026-07-25 06:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944900608001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356850888251277312,"note":"Value kept but may cause issues"} 
[2026-07-25 06:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3769301810508099584,"note":"Value kept but may cause issues"} 
[2026-07-25 06:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784941027000,"timestamp_ms":1784941027000,"timestamp_seconds":1784941027,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c69eb8"} 
[2026-07-25 06:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-07-25 06:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944900608001,"66":27691,"75":206,"81":23296,"24":44,"16":356850888251277312,"45":3769301810508099584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944900608001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:31:09] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356850888251277312,"km_value":356850888251277.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3769301810508099584,"description":"Unknown IO ID 45"} 
[2026-07-25 06:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944900608001,"power":27691,"unknown_75":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":3769301810508099584}} 
[2026-07-25 06:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":140929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:31:09] local.INFO: GPS data processed {"connection_id":140929,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:31:09] local.INFO: Acknowledgment sent {"connection_id":140929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:31:11] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c6c1e0012d34040006aa7c78000f00fa27..."} 
[2026-07-25 06:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c6c1e0012d34040006aa7c78000f00fa27..."} 
[2026-07-25 06:31:11] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c6c1e0012d34040006aa7c78000f00fa27..."} 
[2026-07-25 06:31:11] local.INFO: Packet analysis {"connection_id":140929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:31:11] local.INFO: Extracted packet for processing {"connection_id":140929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758383616,"raw_latitude":111836280,"longitude_deg":75.8383616,"latitude_deg":11.183628,"altitude":15,"angle":250,"satellites":39,"speed":43,"hex_longitude":"2d340400","hex_latitude":"06aa7c78","is_valid_coordinates":true} 
[2026-07-25 06:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944902912001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356851369287614464,"note":"Value kept but may cause issues"} 
[2026-07-25 06:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3758816867624894464,"note":"Value kept but may cause issues"} 
[2026-07-25 06:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784941036000,"timestamp_ms":1784941036000,"timestamp_seconds":1784941036,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c6c1e0"} 
[2026-07-25 06:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06: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-07-25 06:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-25 06:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944902912001,"66":27876,"75":206,"81":23296,"24":43,"16":356851369287614464,"45":3758816867624894464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944902912001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:31:11] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356851369287614464,"km_value":356851369287614.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3758816867624894464,"description":"Unknown IO ID 45"} 
[2026-07-25 06:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944902912001,"power":27876,"unknown_75":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3758816867624894464}} 
[2026-07-25 06:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":140929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:31:11] local.INFO: GPS data processed {"connection_id":140929,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:31:11] local.INFO: Acknowledgment sent {"connection_id":140929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:31:56] local.INFO: TCP Data received {"connection_id":141928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:56] local.INFO: Processing buffer {"connection_id":141928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:31:56] local.INFO: IMEI packet received {"connection_id":141928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":141928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:32:02] local.INFO: TCP Data received {"connection_id":141928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:32:02] local.INFO: Processing buffer {"connection_id":141928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:32:02] local.INFO: IMEI packet received {"connection_id":141928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":141928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:32:03] local.INFO: TCP Data received {"connection_id":141928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c6d568012d33f18006aa73b8000f00ea27..."} 
[2026-07-25 06:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c6d568012d33f18006aa73b8000f00ea27..."} 
[2026-07-25 06:32:03] local.INFO: Processing buffer {"connection_id":141928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c6d568012d33f18006aa73b8000f00ea27..."} 
[2026-07-25 06:32:03] local.INFO: Packet analysis {"connection_id":141928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:32:03] local.INFO: Extracted packet for processing {"connection_id":141928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758378880,"raw_latitude":111834040,"longitude_deg":75.837888,"latitude_deg":11.183404,"altitude":15,"angle":234,"satellites":39,"speed":39,"hex_longitude":"2d33f180","hex_latitude":"06aa73b8","is_valid_coordinates":true} 
[2026-07-25 06:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944905216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356851618395717632,"note":"Value kept but may cause issues"} 
[2026-07-25 06:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3748120818509182976,"note":"Value kept but may cause issues"} 
[2026-07-25 06:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784941041000,"timestamp_ms":1784941041000,"timestamp_seconds":1784941041,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c6d568"} 
[2026-07-25 06:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 06:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944905216001,"66":27767,"75":206,"81":23296,"24":39,"16":356851618395717632,"45":3748120818509182976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944905216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:32:04] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:32:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356851618395717632,"km_value":356851618395717.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3748120818509182976,"description":"Unknown IO ID 45"} 
[2026-07-25 06:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944905216001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":3748120818509182976}} 
[2026-07-25 06:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":141928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:32:04] local.INFO: GPS data processed {"connection_id":141928,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:32:04] local.INFO: Acknowledgment sent {"connection_id":141928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:32:35] local.INFO: TCP Data received {"connection_id":141928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c6f890012d33d8c006aa5e50000c00df28..."} 
[2026-07-25 06:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c6f890012d33d8c006aa5e50000c00df28..."} 
[2026-07-25 06:32:35] local.INFO: Processing buffer {"connection_id":141928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c6f890012d33d8c006aa5e50000c00df28..."} 
[2026-07-25 06:32:35] local.INFO: Packet analysis {"connection_id":141928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:32:35] local.INFO: Extracted packet for processing {"connection_id":141928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c6"} 
[2026-07-25 06:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758372544,"raw_latitude":111828560,"longitude_deg":75.8372544,"latitude_deg":11.182856,"altitude":12,"angle":223,"satellites":40,"speed":33,"hex_longitude":"2d33d8c0","hex_latitude":"06aa5e50","is_valid_coordinates":true} 
[2026-07-25 06:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944906496001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852022122643456,"note":"Value kept but may cause issues"} 
[2026-07-25 06:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3742913531439462400,"note":"Value kept but may cause issues"} 
[2026-07-25 06:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784941050000,"timestamp_ms":1784941050000,"timestamp_seconds":1784941050,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c6f890"} 
[2026-07-25 06:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:32: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-07-25 06:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944906496001,"66":27658,"75":206,"81":23296,"24":33,"16":356852022122643456,"45":3742913531439462400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944906496001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:32:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:32:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852022122643456,"km_value":356852022122643.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3742913531439462400,"description":"Unknown IO ID 45"} 
[2026-07-25 06:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944906496001,"power":27658,"unknown_75":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3742913531439462400}} 
[2026-07-25 06:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":141928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:32:35] local.INFO: GPS data processed {"connection_id":141928,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:32:35] local.INFO: Acknowledgment sent {"connection_id":141928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:32:57] local.INFO: TCP Data received {"connection_id":140930,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:32:57] local.INFO: Processing buffer {"connection_id":140930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:32:57] local.INFO: IMEI packet received {"connection_id":140930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":140930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:33:01] local.INFO: TCP Data received {"connection_id":140930,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:33:01] local.INFO: Processing buffer {"connection_id":140930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:33:01] local.INFO: IMEI packet received {"connection_id":140930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":140930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:33:03] local.INFO: TCP Data received {"connection_id":140930,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c717d0012d33c58006aa4bc0000900de26..."} 
[2026-07-25 06:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c717d0012d33c58006aa4bc0000900de26..."} 
[2026-07-25 06:33:03] local.INFO: Processing buffer {"connection_id":140930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c717d0012d33c58006aa4bc0000900de26..."} 
[2026-07-25 06:33:03] local.INFO: Packet analysis {"connection_id":140930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c7"} 
[2026-07-25 06:33:03] local.INFO: Extracted packet for processing {"connection_id":140930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c7"} 
[2026-07-25 06:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758367616,"raw_latitude":111823808,"longitude_deg":75.8367616,"latitude_deg":11.1823808,"altitude":9,"angle":222,"satellites":38,"speed":36,"hex_longitude":"2d33c580","hex_latitude":"06aa4bc0","is_valid_coordinates":true} 
[2026-07-25 06:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944908800001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852352835125248,"note":"Value kept but may cause issues"} 
[2026-07-25 06:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3735947025764470784,"note":"Value kept but may cause issues"} 
[2026-07-25 06:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784941058000,"timestamp_ms":1784941058000,"timestamp_seconds":1784941058,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c717d0"} 
[2026-07-25 06:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 06:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944908800001,"66":27789,"75":206,"81":23296,"24":36,"16":356852352835125248,"45":3735947025764470784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944908800001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:33:03] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:33:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852352835125248,"km_value":356852352835125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3735947025764470784,"description":"Unknown IO ID 45"} 
[2026-07-25 06:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944908800001,"power":27789,"unknown_75":206,"unknown_81":23296,"ignition":36,"odometer":null,"unknown_45":3735947025764470784}} 
[2026-07-25 06:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":140930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:33:03] local.INFO: GPS data processed {"connection_id":140930,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:33:03] local.INFO: Acknowledgment sent {"connection_id":140930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:33:34] local.INFO: TCP Data received {"connection_id":140930,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96c72770012d33bcc006aa3fa0000800d222..."} 
[2026-07-25 06:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96c72770012d33bcc006aa3fa0000800d222..."} 
[2026-07-25 06:33:34] local.INFO: Processing buffer {"connection_id":140930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96c72770012d33bcc006aa3fa0000800d222..."} 
[2026-07-25 06:33:34] local.INFO: Packet analysis {"connection_id":140930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96c7"} 
[2026-07-25 06:33:34] local.INFO: Extracted packet for processing {"connection_id":140930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96c7"} 
[2026-07-25 06:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758365376,"raw_latitude":111820704,"longitude_deg":75.8365376,"latitude_deg":11.1820704,"altitude":8,"angle":210,"satellites":34,"speed":37,"hex_longitude":"2d33bcc0","hex_latitude":"06aa3fa0","is_valid_coordinates":true} 
[2026-07-25 06:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944910848001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852352835125248,"note":"Value kept but may cause issues"} 
[2026-07-25 06:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3730528632461574144,"note":"Value kept but may cause issues"} 
[2026-07-25 06:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784941062000,"timestamp_ms":1784941062000,"timestamp_seconds":1784941062,"priority":1,"record_length":96,"hex_timestamp":"0000019f96c72770"} 
[2026-07-25 06:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 06:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944910848001,"66":27376,"75":206,"81":23296,"24":37,"16":356852352835125248,"45":3730528632461574144},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944910848001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:33:34] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:33:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852352835125248,"km_value":356852352835125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3730528632461574144,"description":"Unknown IO ID 45"} 
[2026-07-25 06:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944910848001,"power":27376,"unknown_75":206,"unknown_81":23296,"ignition":37,"odometer":null,"unknown_45":3730528632461574144}} 
[2026-07-25 06:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":140930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:33:34] local.INFO: GPS data processed {"connection_id":140930,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:33:34] local.INFO: Acknowledgment sent {"connection_id":140930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:34:01] local.INFO: TCP Data received {"connection_id":143279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:01] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:01] local.INFO: IMEI packet received {"connection_id":143279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":143279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:34:06] local.INFO: TCP Data received {"connection_id":143279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:06] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:06] local.INFO: IMEI packet received {"connection_id":143279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":143279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:34:08] local.INFO: TCP Data received {"connection_id":143279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cbc320012d33af4006aa1f40000400cf24..."} 
[2026-07-25 06:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cbc320012d33af4006aa1f40000400cf24..."} 
[2026-07-25 06:34:08] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cbc320012d33af4006aa1f40000400cf24..."} 
[2026-07-25 06:34:08] local.INFO: Packet analysis {"connection_id":143279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cb"} 
[2026-07-25 06:34:08] local.INFO: Extracted packet for processing {"connection_id":143279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cb"} 
[2026-07-25 06:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758361920,"raw_latitude":111812416,"longitude_deg":75.836192,"latitude_deg":11.1812416,"altitude":4,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2d33af40","hex_latitude":"06aa1f40","is_valid_coordinates":true} 
[2026-07-25 06:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944911872001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852352835125248,"note":"Value kept but may cause issues"} 
[2026-07-25 06:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728065726414561280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784941364000,"timestamp_ms":1784941364000,"timestamp_seconds":1784941364,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cbc320"} 
[2026-07-25 06:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 06:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944911872001,"66":26082,"75":206,"81":23296,"24":0,"16":356852352835125248,"45":3728065726414561280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944911872001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:34:08] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852352835125248,"km_value":356852352835125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728065726414561280,"description":"Unknown IO ID 45"} 
[2026-07-25 06:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944911872001,"power":26082,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3728065726414561280}} 
[2026-07-25 06:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":143279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:34:08] local.INFO: GPS data processed {"connection_id":143279,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:34:08] local.INFO: Acknowledgment sent {"connection_id":143279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:34:12] local.INFO: TCP Data received {"connection_id":143279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cbc320012d33af4006aa1f40000400cf24..."} 
[2026-07-25 06:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cbc320012d33af4006aa1f40000400cf24..."} 
[2026-07-25 06:34:12] local.INFO: Processing buffer {"connection_id":143279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cbc320012d33af4006aa1f40000400cf24..."} 
[2026-07-25 06:34:12] local.INFO: Packet analysis {"connection_id":143279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cb"} 
[2026-07-25 06:34:12] local.INFO: Extracted packet for processing {"connection_id":143279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cb"} 
[2026-07-25 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758361920,"raw_latitude":111812416,"longitude_deg":75.836192,"latitude_deg":11.1812416,"altitude":4,"angle":207,"satellites":36,"speed":0,"hex_longitude":"2d33af40","hex_latitude":"06aa1f40","is_valid_coordinates":true} 
[2026-07-25 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944911872001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852352835125248,"note":"Value kept but may cause issues"} 
[2026-07-25 06:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3728065726414561280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784941364000,"timestamp_ms":1784941364000,"timestamp_seconds":1784941364,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cbc320"} 
[2026-07-25 06:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 06:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944911872001,"66":26082,"75":206,"81":23296,"24":0,"16":356852352835125248,"45":3728065726414561280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944911872001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:34:12] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:34:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852352835125248,"km_value":356852352835125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3728065726414561280,"description":"Unknown IO ID 45"} 
[2026-07-25 06:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944911872001,"power":26082,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3728065726414561280}} 
[2026-07-25 06:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":143279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:34:12] local.INFO: GPS data processed {"connection_id":143279,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:34:12] local.INFO: Acknowledgment sent {"connection_id":143279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:34:53] local.INFO: TCP Data received {"connection_id":141929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:53] local.INFO: Processing buffer {"connection_id":141929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:53] local.INFO: IMEI packet received {"connection_id":141929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":141929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:34:56] local.INFO: TCP Data received {"connection_id":141929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:56] local.INFO: Processing buffer {"connection_id":141929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:34:56] local.INFO: IMEI packet received {"connection_id":141929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":141929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:35:05] local.INFO: TCP Data received {"connection_id":141929,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:35:05] local.INFO: Processing buffer {"connection_id":141929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:35:05] local.INFO: IMEI packet received {"connection_id":141929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":141929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:35:15] local.INFO: TCP Data received {"connection_id":141929,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ccc4f0012d33af4006aa1f40000400cf26..."} 
[2026-07-25 06:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ccc4f0012d33af4006aa1f40000400cf26..."} 
[2026-07-25 06:35:15] local.INFO: Processing buffer {"connection_id":141929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ccc4f0012d33af4006aa1f40000400cf26..."} 
[2026-07-25 06:35:15] local.INFO: Packet analysis {"connection_id":141929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cc"} 
[2026-07-25 06:35:15] local.INFO: Extracted packet for processing {"connection_id":141929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cc"} 
[2026-07-25 06:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758361920,"raw_latitude":111812416,"longitude_deg":75.836192,"latitude_deg":11.1812416,"altitude":4,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d33af40","hex_latitude":"06aa1f40","is_valid_coordinates":true} 
[2026-07-25 06:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456944989184001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852352835125248,"note":"Value kept but may cause issues"} 
[2026-07-25 06:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724265814226845696,"note":"Value kept but may cause issues"} 
[2026-07-25 06:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784941430000,"timestamp_ms":1784941430000,"timestamp_seconds":1784941430,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ccc4f0"} 
[2026-07-25 06:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 06:35: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-07-25 06:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456944989184001,"66":26006,"75":206,"81":23296,"24":0,"16":356852352835125248,"45":3724265814226845696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456944989184001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:35:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852352835125248,"km_value":356852352835125.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724265814226845696,"description":"Unknown IO ID 45"} 
[2026-07-25 06:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456944989184001,"power":26006,"unknown_75":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3724265814226845696}} 
[2026-07-25 06:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":141929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:35:15] local.INFO: GPS data processed {"connection_id":141929,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:35:15] local.INFO: Acknowledgment sent {"connection_id":141929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:36:11] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:11] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:11] local.INFO: IMEI packet received {"connection_id":140884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":140884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:36:12] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:12] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:12] local.INFO: IMEI packet received {"connection_id":140884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":140884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:36:16] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:16] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:36:16] local.INFO: IMEI packet received {"connection_id":140884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":140884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:36:17] local.INFO: TCP Data received {"connection_id":140884,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cdda48012d33bc4006aa40b00003002129..."} 
[2026-07-25 06:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cdda48012d33bc4006aa40b00003002129..."} 
[2026-07-25 06:36:17] local.INFO: Processing buffer {"connection_id":140884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cdda48012d33bc4006aa40b00003002129..."} 
[2026-07-25 06:36:17] local.INFO: Packet analysis {"connection_id":140884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cd"} 
[2026-07-25 06:36:17] local.INFO: Extracted packet for processing {"connection_id":140884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cd"} 
[2026-07-25 06:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758365248,"raw_latitude":111820976,"longitude_deg":75.8365248,"latitude_deg":11.1820976,"altitude":3,"angle":33,"satellites":41,"speed":33,"hex_longitude":"2d33bc40","hex_latitude":"06aa40b0","is_valid_coordinates":true} 
[2026-07-25 06:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945020672001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356852911180873728,"note":"Value kept but may cause issues"} 
[2026-07-25 06:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722788070599352320,"note":"Value kept but may cause issues"} 
[2026-07-25 06:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784941501000,"timestamp_ms":1784941501000,"timestamp_seconds":1784941501,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cdda48"} 
[2026-07-25 06:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:36: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":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":140884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":140884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":140884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945020672001,"66":27767,"75":206,"81":23296,"24":33,"16":356852911180873728,"45":3722788070599352320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945020672001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:36:17] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:36:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356852911180873728,"km_value":356852911180873.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722788070599352320,"description":"Unknown IO ID 45"} 
[2026-07-25 06:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945020672001,"power":27767,"unknown_75":206,"unknown_81":23296,"ignition":33,"odometer":null,"unknown_45":3722788070599352320}} 
[2026-07-25 06:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":140884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:36:17] local.INFO: GPS data processed {"connection_id":140884,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:36:17] local.INFO: Acknowledgment sent {"connection_id":140884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:37:04] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:04] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:04] local.INFO: IMEI packet received {"connection_id":140931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":140931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:37:05] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:05] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:05] local.INFO: IMEI packet received {"connection_id":140931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":140931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:37:06] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:06] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:06] local.INFO: IMEI packet received {"connection_id":140931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":140931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:37:07] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cdedd0012d33c70006aa4e580006002c28..."} 
[2026-07-25 06:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cdedd0012d33c70006aa4e580006002c28..."} 
[2026-07-25 06:37:07] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cdedd0012d33c70006aa4e580006002c28..."} 
[2026-07-25 06:37:07] local.INFO: Packet analysis {"connection_id":140931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cd"} 
[2026-07-25 06:37:07] local.INFO: Extracted packet for processing {"connection_id":140931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cd"} 
[2026-07-25 06:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758368000,"raw_latitude":111824472,"longitude_deg":75.8368,"latitude_deg":11.1824472,"altitude":6,"angle":44,"satellites":40,"speed":35,"hex_longitude":"2d33c700","hex_latitude":"06aa4e58","is_valid_coordinates":true} 
[2026-07-25 06:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945024256001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356853125929238528,"note":"Value kept but may cause issues"} 
[2026-07-25 06:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727924988926275584,"note":"Value kept but may cause issues"} 
[2026-07-25 06:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784941506000,"timestamp_ms":1784941506000,"timestamp_seconds":1784941506,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cdedd0"} 
[2026-07-25 06:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945024256001,"66":27821,"75":206,"81":23296,"24":35,"16":356853125929238528,"45":3727924988926275584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,81,24,16,45]} 
[2026-07-25 06:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945024256001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:37:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 06:37:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356853125929238528,"km_value":356853125929238.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727924988926275584,"description":"Unknown IO ID 45"} 
[2026-07-25 06:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945024256001,"power":27821,"unknown_75":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3727924988926275584}} 
[2026-07-25 06:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":140931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:37:07] local.INFO: GPS data processed {"connection_id":140931,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:37:07] local.INFO: Acknowledgment sent {"connection_id":140931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:37:38] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cf60e8012d35284006aa5ca0000b007128..."} 
[2026-07-25 06:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cf60e8012d35284006aa5ca0000b007128..."} 
[2026-07-25 06:37:38] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cf60e8012d35284006aa5ca0000b007128..."} 
[2026-07-25 06:37:38] local.INFO: Packet analysis {"connection_id":140931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cf"} 
[2026-07-25 06:37:38] local.INFO: Extracted packet for processing {"connection_id":140931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cf"} 
[2026-07-25 06:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758458432,"raw_latitude":111828128,"longitude_deg":75.8458432,"latitude_deg":11.1828128,"altitude":11,"angle":113,"satellites":40,"speed":48,"hex_longitude":"2d352840","hex_latitude":"06aa5ca0","is_valid_coordinates":true} 
[2026-07-25 06:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945047808001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356857820328493056,"note":"Value kept but may cause issues"} 
[2026-07-25 06:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3820530256266881024,"note":"Value kept but may cause issues"} 
[2026-07-25 06:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784941601000,"timestamp_ms":1784941601000,"timestamp_seconds":1784941601,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cf60e8"} 
[2026-07-25 06:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 06:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945047808001,"66":27865,"96":206,"81":23296,"24":48,"16":356857820328493056,"45":3820530256266881024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-25 06:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945047808001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:37:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 06:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356857820328493056,"km_value":356857820328493.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3820530256266881024,"description":"Unknown IO ID 45"} 
[2026-07-25 06:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945047808001,"power":27865,"unknown_96":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3820530256266881024}} 
[2026-07-25 06:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":140931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:37:38] local.INFO: GPS data processed {"connection_id":140931,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:37:38] local.INFO: Acknowledgment sent {"connection_id":140931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:37:56] local.INFO: TCP Data received {"connection_id":143280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:56] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:37:56] local.INFO: IMEI packet received {"connection_id":143280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":143280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:38:00] local.INFO: TCP Data received {"connection_id":143280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:38:00] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:38:00] local.INFO: IMEI packet received {"connection_id":143280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":143280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:38:01] local.INFO: TCP Data received {"connection_id":143280,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:38:01] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:38:01] local.INFO: IMEI packet received {"connection_id":143280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:38:01] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:38:01] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:38:01] local.INFO: IMEI packet received {"connection_id":143281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:38:02] local.INFO: TCP Data received {"connection_id":143280,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cf8028012d354c4006aa4d90000b007129..."} 
[2026-07-25 06:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cf8028012d354c4006aa4d90000b007129..."} 
[2026-07-25 06:38:02] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cf8028012d354c4006aa4d90000b007129..."} 
[2026-07-25 06:38:02] local.INFO: Packet analysis {"connection_id":143280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cf"} 
[2026-07-25 06:38:02] local.INFO: Extracted packet for processing {"connection_id":143280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cf"} 
[2026-07-25 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758467648,"raw_latitude":111824272,"longitude_deg":75.8467648,"latitude_deg":11.1824272,"altitude":11,"angle":113,"satellites":41,"speed":49,"hex_longitude":"2d354c40","hex_latitude":"06aa4d90","is_valid_coordinates":true} 
[2026-07-25 06:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945049856001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356858297069862912,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3830381880450785280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784941609000,"timestamp_ms":1784941609000,"timestamp_seconds":1784941609,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cf8028"} 
[2026-07-25 06:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945049856001,"66":27745,"96":206,"81":23296,"24":49,"16":356858297069862912,"45":3830381880450785280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-25 06:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945049856001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:38:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 06:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356858297069862912,"km_value":356858297069862.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3830381880450785280,"description":"Unknown IO ID 45"} 
[2026-07-25 06:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945049856001,"power":27745,"unknown_96":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":3830381880450785280}} 
[2026-07-25 06:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":143280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:38:02] local.INFO: GPS data processed {"connection_id":143280,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:38:02] local.INFO: Acknowledgment sent {"connection_id":143280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:38:06] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:38:06] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:38:06] local.INFO: IMEI packet received {"connection_id":143281,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":143281,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:38:07] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a00000000000075300100000000000000000000000000..."} 
[2026-07-25 06:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000075300100000000000000000000000000..."} 
[2026-07-25 06:38:07] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000075300100000000000000000000000000..."} 
[2026-07-25 06:38:07] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 06:38:07] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 06:38: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-07-25 06:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018688253427712,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 06:38:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":30000,"timestamp_seconds":30,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 06:38:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 06:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 06:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 06:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 06:38:07] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 06:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 06:38:07] local.ERROR: GPS data processing failed {"connection_id":143281,"error":"No valid data to process"} 
[2026-07-25 06:38:07] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 06:38:33] local.INFO: TCP Data received {"connection_id":143280,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96cf9f68012d35708006aa3e30000b007228..."} 
[2026-07-25 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96cf9f68012d35708006aa3e30000b007228..."} 
[2026-07-25 06:38:33] local.INFO: Processing buffer {"connection_id":143280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96cf9f68012d35708006aa3e30000b007228..."} 
[2026-07-25 06:38:33] local.INFO: Packet analysis {"connection_id":143280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96cf"} 
[2026-07-25 06:38:33] local.INFO: Extracted packet for processing {"connection_id":143280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96cf"} 
[2026-07-25 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":758476928,"raw_latitude":111820336,"longitude_deg":75.8476928,"latitude_deg":11.1820336,"altitude":11,"angle":114,"satellites":40,"speed":49,"hex_longitude":"2d357080","hex_latitude":"06aa3e30","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945051904001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356858778106200064,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3840514979611381760,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784941617000,"timestamp_ms":1784941617000,"timestamp_seconds":1784941617,"priority":1,"record_length":96,"hex_timestamp":"0000019f96cf9f68"} 
[2026-07-25 06:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:38: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-07-25 06: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-07-25 06:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945051904001,"66":27745,"142":206,"81":23296,"24":49,"16":356858778106200064,"45":3840514979611381760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-07-25 06:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945051904001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:38:33] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-25 06:38:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356858778106200064,"km_value":356858778106200.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3840514979611381760,"description":"Unknown IO ID 45"} 
[2026-07-25 06:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945051904001,"power":27745,"unknown_142":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":3840514979611381760}} 
[2026-07-25 06:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":143280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:38:33] local.INFO: GPS data processed {"connection_id":143280,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:38:33] local.INFO: Acknowledgment sent {"connection_id":143280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:38:38] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-07-25 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-07-25 06:38:38] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000007d000100000000000000000000000000..."} 
[2026-07-25 06:38:38] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 06:38:38] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 06:38: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-07-25 06:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018688253427712,"note":"Value kept but may cause issues"} 
[2026-07-25 06:38:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 06:38:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":32000,"timestamp_seconds":32,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 06:38:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 06:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 06:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 06:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 06:38:38] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 06:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 06:38:38] local.ERROR: GPS data processing failed {"connection_id":143281,"error":"No valid data to process"} 
[2026-07-25 06:38:38] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 06:39:01] local.INFO: TCP Data received {"connection_id":141930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:01] local.INFO: Processing buffer {"connection_id":141930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:01] local.INFO: IMEI packet received {"connection_id":141930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":141930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:39:03] local.INFO: TCP Data received {"connection_id":141930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:03] local.INFO: Processing buffer {"connection_id":141930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:03] local.INFO: IMEI packet received {"connection_id":141930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":141930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:39:07] local.INFO: TCP Data received {"connection_id":141930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:07] local.INFO: Processing buffer {"connection_id":141930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:07] local.INFO: IMEI packet received {"connection_id":141930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":141930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:39:08] local.INFO: TCP Data received {"connection_id":141930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d0d018012d36c2c006a9af280009007727..."} 
[2026-07-25 06:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d0d018012d36c2c006a9af280009007727..."} 
[2026-07-25 06:39:08] local.INFO: Processing buffer {"connection_id":141930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d0d018012d36c2c006a9af280009007727..."} 
[2026-07-25 06:39:08] local.INFO: Packet analysis {"connection_id":141930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d0"} 
[2026-07-25 06:39:08] local.INFO: Extracted packet for processing {"connection_id":141930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d0"} 
[2026-07-25 06:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758563520,"raw_latitude":111783720,"longitude_deg":75.856352,"latitude_deg":11.178372,"altitude":9,"angle":119,"satellites":39,"speed":43,"hex_longitude":"2d36c2c0","hex_latitude":"06a9af28","is_valid_coordinates":true} 
[2026-07-25 06:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945071616001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356863300706762752,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3937834952800329728,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784941695000,"timestamp_ms":1784941695000,"timestamp_seconds":1784941695,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d0d018"} 
[2026-07-25 06:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945071616001,"66":27767,"77":206,"81":23296,"24":43,"16":356863300706762752,"45":3937834952800329728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-07-25 06:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945071616001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:39:08] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-25 06:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356863300706762752,"km_value":356863300706762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3937834952800329728,"description":"Unknown IO ID 45"} 
[2026-07-25 06:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945071616001,"power":27767,"unknown_77":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3937834952800329728}} 
[2026-07-25 06:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":141930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:39:08] local.INFO: GPS data processed {"connection_id":141930,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:39:08] local.INFO: Acknowledgment sent {"connection_id":141930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:39:09] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d187b0012d7e30c005d357480006001d0f..."} 
[2026-07-25 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d187b0012d7e30c005d357480006001d0f..."} 
[2026-07-25 06:39:09] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d187b0012d7e30c005d357480006001d0f..."} 
[2026-07-25 06:39:09] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:39:09] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":763244736,"raw_latitude":97736520,"longitude_deg":76.3244736,"latitude_deg":9.773652,"altitude":6,"angle":29,"satellites":15,"speed":6,"hex_longitude":"2d7e30c0","hex_latitude":"05d35748","is_valid_coordinates":true} 
[2026-07-25 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945085440001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018872937021440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041425690624,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784941742000,"timestamp_ms":1784941742000,"timestamp_seconds":1784941742,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d187b0"} 
[2026-07-25 06:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 06:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945085440001,"66":11547,"109":206,"85":15104,"24":6,"16":110018872937021440,"45":9092838041425690624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945085440001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110018872937021440,"km_value":110018872937021.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041425690624,"description":"Unknown IO ID 45"} 
[2026-07-25 06:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945085440001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092838041425690624}} 
[2026-07-25 06:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:39:09] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:39:09] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:39:09] local.INFO: TCP Data received {"connection_id":141930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d0d018012d36c2c006a9af280009007727..."} 
[2026-07-25 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d0d018012d36c2c006a9af280009007727..."} 
[2026-07-25 06:39:09] local.INFO: Processing buffer {"connection_id":141930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d0d018012d36c2c006a9af280009007727..."} 
[2026-07-25 06:39:09] local.INFO: Packet analysis {"connection_id":141930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d0"} 
[2026-07-25 06:39:09] local.INFO: Extracted packet for processing {"connection_id":141930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d0"} 
[2026-07-25 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758563520,"raw_latitude":111783720,"longitude_deg":75.856352,"latitude_deg":11.178372,"altitude":9,"angle":119,"satellites":39,"speed":43,"hex_longitude":"2d36c2c0","hex_latitude":"06a9af28","is_valid_coordinates":true} 
[2026-07-25 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945073920001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356863300706762752,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945927358379141120,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784941695000,"timestamp_ms":1784941695000,"timestamp_seconds":1784941695,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d0d018"} 
[2026-07-25 06:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945073920001,"66":27767,"77":206,"81":23296,"24":43,"16":356863300706762752,"45":3945927358379141120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-07-25 06:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945073920001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356863300706762752,"km_value":356863300706762.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945927358379141120,"description":"Unknown IO ID 45"} 
[2026-07-25 06:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945073920001,"power":27767,"unknown_77":206,"unknown_81":23296,"ignition":43,"odometer":null,"unknown_45":3945927358379141120}} 
[2026-07-25 06:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":141930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:39:09] local.INFO: GPS data processed {"connection_id":141930,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:39:09] local.INFO: Acknowledgment sent {"connection_id":141930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:39:12] local.INFO: TCP Data received {"connection_id":141930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d0eb70012d36dec006a9a268000a006b29..."} 
[2026-07-25 06:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d0eb70012d36dec006a9a268000a006b29..."} 
[2026-07-25 06:39:12] local.INFO: Processing buffer {"connection_id":141930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d0eb70012d36dec006a9a268000a006b29..."} 
[2026-07-25 06:39:12] local.INFO: Packet analysis {"connection_id":141930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d0"} 
[2026-07-25 06:39:12] local.INFO: Extracted packet for processing {"connection_id":141930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d0"} 
[2026-07-25 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758570688,"raw_latitude":111780456,"longitude_deg":75.8570688,"latitude_deg":11.1780456,"altitude":10,"angle":107,"satellites":41,"speed":45,"hex_longitude":"2d36dec0","hex_latitude":"06a9a268","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945073920001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356863674368917504,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945927358379141120,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784941702000,"timestamp_ms":1784941702000,"timestamp_seconds":1784941702,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d0eb70"} 
[2026-07-25 06:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:39: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-07-25 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945073920001,"66":27713,"77":206,"81":23296,"24":45,"16":356863674368917504,"45":3945927358379141120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-07-25 06:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945073920001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:39:12] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-25 06:39:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356863674368917504,"km_value":356863674368917.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945927358379141120,"description":"Unknown IO ID 45"} 
[2026-07-25 06:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945073920001,"power":27713,"unknown_77":206,"unknown_81":23296,"ignition":45,"odometer":null,"unknown_45":3945927358379141120}} 
[2026-07-25 06:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":141930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:39:12] local.INFO: GPS data processed {"connection_id":141930,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:39:12] local.INFO: Acknowledgment sent {"connection_id":141930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:39:40] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d18b98012d7e314005d357b80006003b0f..."} 
[2026-07-25 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d18b98012d7e314005d357b80006003b0f..."} 
[2026-07-25 06:39:40] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d18b98012d7e314005d357b80006003b0f..."} 
[2026-07-25 06:39:40] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:39:40] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97736632,"longitude_deg":76.3244864,"latitude_deg":9.7736632,"altitude":6,"angle":59,"satellites":15,"speed":5,"hex_longitude":"2d7e3140","hex_latitude":"05d357b8","is_valid_coordinates":true} 
[2026-07-25 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945085952001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018881526956032,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914113536,"note":"Value kept but may cause issues"} 
[2026-07-25 06:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784941743000,"timestamp_ms":1784941743000,"timestamp_seconds":1784941743,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d18b98"} 
[2026-07-25 06:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 06:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945085952001,"66":11547,"109":206,"85":15104,"24":5,"16":110018881526956032,"45":9092978778914113536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945085952001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:39:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110018881526956032,"km_value":110018881526956.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914113536,"description":"Unknown IO ID 45"} 
[2026-07-25 06:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945085952001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9092978778914113536}} 
[2026-07-25 06:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:39:40] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:39:40] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:39:55] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:55] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:55] local.INFO: IMEI packet received {"connection_id":140885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":140885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:39:56] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:56] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:39:56] local.INFO: IMEI packet received {"connection_id":140885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":140885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:40:01] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:40:01] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:40:01] local.INFO: IMEI packet received {"connection_id":140885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":140885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:40:02] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d10ab0012d3703c006a99a28000a00642b..."} 
[2026-07-25 06:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d10ab0012d3703c006a99a28000a00642b..."} 
[2026-07-25 06:40:02] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d10ab0012d3703c006a99a28000a00642b..."} 
[2026-07-25 06:40:02] local.INFO: Packet analysis {"connection_id":140885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:02] local.INFO: Extracted packet for processing {"connection_id":140885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758580160,"raw_latitude":111778344,"longitude_deg":75.858016,"latitude_deg":11.1778344,"altitude":10,"angle":100,"satellites":43,"speed":48,"hex_longitude":"2d3703c0","hex_latitude":"06a99a28","is_valid_coordinates":true} 
[2026-07-25 06:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945075712001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356864138225385472,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3953808657726203904,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784941710000,"timestamp_ms":1784941710000,"timestamp_seconds":1784941710,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d10ab0"} 
[2026-07-25 06:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-25 06:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945075712001,"66":27865,"50":206,"81":23296,"24":48,"16":356864138225385472,"45":3953808657726203904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-07-25 06:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945075712001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:40:02] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-25 06:40:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356864138225385472,"km_value":356864138225385.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3953808657726203904,"description":"Unknown IO ID 45"} 
[2026-07-25 06:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945075712001,"power":27865,"unknown_50":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3953808657726203904}} 
[2026-07-25 06:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":140885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:40:02] local.INFO: GPS data processed {"connection_id":140885,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:40:02] local.INFO: Acknowledgment sent {"connection_id":140885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:40:10] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d19368012d7e320005d35838000600460f..."} 
[2026-07-25 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d19368012d7e320005d35838000600460f..."} 
[2026-07-25 06:40:10] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d19368012d7e320005d35838000600460f..."} 
[2026-07-25 06:40:10] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:10] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763245056,"raw_latitude":97736760,"longitude_deg":76.3245056,"latitude_deg":9.773676,"altitude":6,"angle":70,"satellites":15,"speed":5,"hex_longitude":"2d7e3200","hex_latitude":"05d35838","is_valid_coordinates":true} 
[2026-07-25 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945086208001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018894411857920,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402497536,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784941745000,"timestamp_ms":1784941745000,"timestamp_seconds":1784941745,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d19368"} 
[2026-07-25 06:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 06:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945086208001,"66":11461,"109":206,"85":15104,"24":5,"16":110018894411857920,"45":9093119516402497536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945086208001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:40:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110018894411857920,"km_value":110018894411857.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402497536,"description":"Unknown IO ID 45"} 
[2026-07-25 06:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945086208001,"power":11461,"unknown_109":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9093119516402497536}} 
[2026-07-25 06:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:40:10] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:40:10] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:40:34] local.INFO: TCP Data received {"connection_id":140885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d129f0012d372a8006a992f8000900642b..."} 
[2026-07-25 06:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d129f0012d372a8006a992f8000900642b..."} 
[2026-07-25 06:40:34] local.INFO: Processing buffer {"connection_id":140885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d129f0012d372a8006a992f8000900642b..."} 
[2026-07-25 06:40:34] local.INFO: Packet analysis {"connection_id":140885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:34] local.INFO: Extracted packet for processing {"connection_id":140885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758590080,"raw_latitude":111776504,"longitude_deg":75.859008,"latitude_deg":11.1776504,"altitude":9,"angle":100,"satellites":43,"speed":50,"hex_longitude":"2d372a80","hex_latitude":"06a992f8","is_valid_coordinates":true} 
[2026-07-25 06:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945077760001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356864614966755328,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3964223231863957504,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784941718000,"timestamp_ms":1784941718000,"timestamp_seconds":1784941718,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d129f0"} 
[2026-07-25 06:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945077760001,"66":27669,"50":206,"81":23296,"24":50,"16":356864614966755328,"45":3964223231863957504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-07-25 06:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945077760001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:40:34] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-25 06:40:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356864614966755328,"km_value":356864614966755.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3964223231863957504,"description":"Unknown IO ID 45"} 
[2026-07-25 06:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945077760001,"power":27669,"unknown_50":206,"unknown_81":23296,"ignition":50,"odometer":null,"unknown_45":3964223231863957504}} 
[2026-07-25 06:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":140885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:40:34] local.INFO: GPS data processed {"connection_id":140885,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:40:34] local.INFO: Acknowledgment sent {"connection_id":140885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:40:41] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d1d9b8012d7e358005d359b80007005210..."} 
[2026-07-25 06:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d1d9b8012d7e358005d359b80007005210..."} 
[2026-07-25 06:40:41] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d1d9b8012d7e358005d359b80007005210..."} 
[2026-07-25 06:40:41] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:41] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97737144,"longitude_deg":76.3245952,"latitude_deg":9.7737144,"altitude":7,"angle":82,"satellites":16,"speed":3,"hex_longitude":"2d7e3580","hex_latitude":"05d359b8","is_valid_coordinates":true} 
[2026-07-25 06:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945086720001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018950246432768,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093330622635063296,"note":"Value kept but may cause issues"} 
[2026-07-25 06:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784941763000,"timestamp_ms":1784941763000,"timestamp_seconds":1784941763,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d1d9b8"} 
[2026-07-25 06:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-25 06:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945086720001,"66":11678,"109":206,"85":15104,"24":3,"16":110018950246432768,"45":9093330622635063296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945086720001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:40:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110018950246432768,"km_value":110018950246432.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093330622635063296,"description":"Unknown IO ID 45"} 
[2026-07-25 06:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945086720001,"power":11678,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9093330622635063296}} 
[2026-07-25 06:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:40:41] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:40:41] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:40:56] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:40:56] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:40:56] local.INFO: IMEI packet received {"connection_id":143282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":143282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:41:01] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:41:01] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:41:01] local.INFO: IMEI packet received {"connection_id":143282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":143282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:41:03] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d14930012d37514006a98c00000a00622b..."} 
[2026-07-25 06:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d14930012d37514006a98c00000a00622b..."} 
[2026-07-25 06:41:03] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d14930012d37514006a98c00000a00622b..."} 
[2026-07-25 06:41:03] local.INFO: Packet analysis {"connection_id":143282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:41:03] local.INFO: Extracted packet for processing {"connection_id":143282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758600000,"raw_latitude":111774720,"longitude_deg":75.86,"latitude_deg":11.177472,"altitude":10,"angle":98,"satellites":43,"speed":49,"hex_longitude":"2d375140","hex_latitude":"06a98c00","is_valid_coordinates":true} 
[2026-07-25 06:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945079808001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356865096003092480,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3975130387211024384,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784941726000,"timestamp_ms":1784941726000,"timestamp_seconds":1784941726,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d14930"} 
[2026-07-25 06:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-07-25 06:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945079808001,"66":27713,"50":206,"81":23296,"24":49,"16":356865096003092480,"45":3975130387211024384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-07-25 06:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945079808001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356865096003092480,"km_value":356865096003092.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3975130387211024384,"description":"Unknown IO ID 45"} 
[2026-07-25 06:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945079808001,"power":27713,"unknown_50":206,"unknown_81":23296,"ignition":49,"odometer":null,"unknown_45":3975130387211024384}} 
[2026-07-25 06:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":143282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:41:03] local.INFO: GPS data processed {"connection_id":143282,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:41:03] local.INFO: Acknowledgment sent {"connection_id":143282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:41:12] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d1f128012d7e394005d359f80007006410..."} 
[2026-07-25 06:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d1f128012d7e394005d359f80007006410..."} 
[2026-07-25 06:41:12] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d1f128012d7e394005d359f80007006410..."} 
[2026-07-25 06:41:12] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:41:12] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97737208,"longitude_deg":76.3246912,"latitude_deg":9.7737208,"altitude":7,"angle":100,"satellites":16,"speed":8,"hex_longitude":"2d7e3940","hex_latitude":"05d359f8","is_valid_coordinates":true} 
[2026-07-25 06:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945091328001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110018997491073024,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785053648896,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784941769000,"timestamp_ms":1784941769000,"timestamp_seconds":1784941769,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d1f128"} 
[2026-07-25 06:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-25 06:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945091328001,"66":11602,"109":206,"85":15104,"24":8,"16":110018997491073024,"45":9094315785053648896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945091328001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:41:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110018997491073024,"km_value":110018997491073.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785053648896,"description":"Unknown IO ID 45"} 
[2026-07-25 06:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945091328001,"power":11602,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9094315785053648896}} 
[2026-07-25 06:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:41:12] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:41:12] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:41:43] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d1fce0012d7e3b4005d359700007007310..."} 
[2026-07-25 06:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d1fce0012d7e3b4005d359700007007310..."} 
[2026-07-25 06:41:43] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d1fce0012d7e3b4005d359700007007310..."} 
[2026-07-25 06:41:43] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:41:43] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d1"} 
[2026-07-25 06:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97737072,"longitude_deg":76.3247424,"latitude_deg":9.7737072,"altitude":7,"angle":115,"satellites":16,"speed":8,"hex_longitude":"2d7e3b40","hex_latitude":"05d35970","is_valid_coordinates":true} 
[2026-07-25 06:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945092864001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019023260876800,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316216330240,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784941772000,"timestamp_ms":1784941772000,"timestamp_seconds":1784941772,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d1fce0"} 
[2026-07-25 06:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-25 06:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945092864001,"66":11547,"109":206,"85":15104,"24":8,"16":110019023260876800,"45":9095371316216330240},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945092864001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:41:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019023260876800,"km_value":110019023260876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316216330240,"description":"Unknown IO ID 45"} 
[2026-07-25 06:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945092864001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9095371316216330240}} 
[2026-07-25 06:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:41:43] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:41:43] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:41:50] local.INFO: TCP Data received {"connection_id":143282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d2ef10012d39048006a96918001000622a..."} 
[2026-07-25 06:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d2ef10012d39048006a96918001000622a..."} 
[2026-07-25 06:41:50] local.INFO: Processing buffer {"connection_id":143282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d2ef10012d39048006a96918001000622a..."} 
[2026-07-25 06:41:50] local.INFO: Packet analysis {"connection_id":143282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:41:50] local.INFO: Extracted packet for processing {"connection_id":143282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758711424,"raw_latitude":111765784,"longitude_deg":75.8711424,"latitude_deg":11.1765784,"altitude":16,"angle":98,"satellites":42,"speed":40,"hex_longitude":"2d390480","hex_latitude":"06a96918","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945106944001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356870473302147072,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097853477054660608,"note":"Value kept but may cause issues"} 
[2026-07-25 06:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784941834000,"timestamp_ms":1784941834000,"timestamp_seconds":1784941834,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d2ef10"} 
[2026-07-25 06:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945106944001,"66":27691,"91":206,"81":23296,"24":40,"16":356870473302147072,"45":4097853477054660608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-07-25 06:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945106944001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:41:50] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 06:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356870473302147072,"km_value":356870473302147.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097853477054660608,"description":"Unknown IO ID 45"} 
[2026-07-25 06:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945106944001,"power":27691,"unknown_91":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":4097853477054660608}} 
[2026-07-25 06:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":143282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:41:50] local.INFO: GPS data processed {"connection_id":143282,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:41:50] local.INFO: Acknowledgment sent {"connection_id":143282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:41:57] local.INFO: TCP Data received {"connection_id":143283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:41:57] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:41:57] local.INFO: IMEI packet received {"connection_id":143283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":143283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:42:01] local.INFO: TCP Data received {"connection_id":143283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:01] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:01] local.INFO: IMEI packet received {"connection_id":143283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":143283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:42:06] local.INFO: TCP Data received {"connection_id":143283,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:06] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:06] local.INFO: IMEI packet received {"connection_id":143283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":143283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:42:08] local.INFO: TCP Data received {"connection_id":143283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d31238012d39274006a96288000f00682b..."} 
[2026-07-25 06:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d31238012d39274006a96288000f00682b..."} 
[2026-07-25 06:42:08] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d31238012d39274006a96288000f00682b..."} 
[2026-07-25 06:42:08] local.INFO: Packet analysis {"connection_id":143283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:42:08] local.INFO: Extracted packet for processing {"connection_id":143283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758720320,"raw_latitude":111764104,"longitude_deg":75.872032,"latitude_deg":11.1764104,"altitude":15,"angle":104,"satellites":43,"speed":41,"hex_longitude":"2d392740","hex_latitude":"06a96288","is_valid_coordinates":true} 
[2026-07-25 06:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945109504001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356870907093843968,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4108549526169131008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784941843000,"timestamp_ms":1784941843000,"timestamp_seconds":1784941843,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d31238"} 
[2026-07-25 06:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-25 06:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945109504001,"66":27745,"91":206,"81":23296,"24":41,"16":356870907093843968,"45":4108549526169131008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-07-25 06:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945109504001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:42:08] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 06:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356870907093843968,"km_value":356870907093843.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4108549526169131008,"description":"Unknown IO ID 45"} 
[2026-07-25 06:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945109504001,"power":27745,"unknown_91":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":4108549526169131008}} 
[2026-07-25 06:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":143283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:42:08] local.INFO: GPS data processed {"connection_id":143283,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:42:08] local.INFO: Acknowledgment sent {"connection_id":143283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:42:10] local.INFO: TCP Data received {"connection_id":143283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d33560012d394b0006a958a0000f006d2c..."} 
[2026-07-25 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d33560012d394b0006a958a0000f006d2c..."} 
[2026-07-25 06:42:10] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d33560012d394b0006a958a0000f006d2c..."} 
[2026-07-25 06:42:10] local.INFO: Packet analysis {"connection_id":143283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:42:10] local.INFO: Extracted packet for processing {"connection_id":143283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758729472,"raw_latitude":111761568,"longitude_deg":75.8729472,"latitude_deg":11.1761568,"altitude":15,"angle":109,"satellites":44,"speed":35,"hex_longitude":"2d394b00","hex_latitude":"06a958a0","is_valid_coordinates":true} 
[2026-07-25 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945111808001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356871358065410048,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118330781609396224,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784941852000,"timestamp_ms":1784941852000,"timestamp_seconds":1784941852,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d33560"} 
[2026-07-25 06:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945111808001,"66":27767,"91":206,"81":23296,"24":35,"16":356871358065410048,"45":4118330781609396224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-07-25 06:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945111808001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:42:10] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 06:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356871358065410048,"km_value":356871358065410.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118330781609396224,"description":"Unknown IO ID 45"} 
[2026-07-25 06:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945111808001,"power":27767,"unknown_91":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":4118330781609396224}} 
[2026-07-25 06:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":143283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:42:10] local.INFO: GPS data processed {"connection_id":143283,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:42:10] local.INFO: Acknowledgment sent {"connection_id":143283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:42:14] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d200c8012d7e3c0005d359400007006710..."} 
[2026-07-25 06:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d200c8012d7e3c0005d359400007006710..."} 
[2026-07-25 06:42:14] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d200c8012d7e3c0005d359400007006710..."} 
[2026-07-25 06:42:14] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:42:14] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763247616,"raw_latitude":97737024,"longitude_deg":76.3247616,"latitude_deg":9.7737024,"altitude":7,"angle":103,"satellites":16,"speed":7,"hex_longitude":"2d7e3c00","hex_latitude":"05d35940","is_valid_coordinates":true} 
[2026-07-25 06:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945093632001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019031850811392,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266169716736,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784941773000,"timestamp_ms":1784941773000,"timestamp_seconds":1784941773,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d200c8"} 
[2026-07-25 06:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 06:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945093632001,"66":11547,"109":206,"85":15104,"24":7,"16":110019031850811392,"45":9095934266169716736},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945093632001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:42:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019031850811392,"km_value":110019031850811.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266169716736,"description":"Unknown IO ID 45"} 
[2026-07-25 06:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945093632001,"power":11547,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9095934266169716736}} 
[2026-07-25 06:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:42:14] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:42:14] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:42:41] local.INFO: TCP Data received {"connection_id":143283,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d354a0012d39574006a95518000e005f2d..."} 
[2026-07-25 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d354a0012d39574006a95518000e005f2d..."} 
[2026-07-25 06:42:41] local.INFO: Processing buffer {"connection_id":143283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d354a0012d39574006a95518000e005f2d..."} 
[2026-07-25 06:42:41] local.INFO: Packet analysis {"connection_id":143283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:42:41] local.INFO: Extracted packet for processing {"connection_id":143283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758732608,"raw_latitude":111760664,"longitude_deg":75.8732608,"latitude_deg":11.1760664,"altitude":14,"angle":95,"satellites":45,"speed":6,"hex_longitude":"2d395740","hex_latitude":"06a95518","is_valid_coordinates":true} 
[2026-07-25 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945114112001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356871516979200000,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4128393512026152960,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784941860000,"timestamp_ms":1784941860000,"timestamp_seconds":1784941860,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d354a0"} 
[2026-07-25 06:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:42: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-07-25 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945114112001,"66":27745,"91":206,"81":23296,"24":6,"16":356871516979200000,"45":4128393512026152960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-07-25 06:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945114112001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:42:41] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 06:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-25 06:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356871516979200000,"km_value":356871516979200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4128393512026152960,"description":"Unknown IO ID 45"} 
[2026-07-25 06:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945114112001,"power":27745,"unknown_91":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":4128393512026152960}} 
[2026-07-25 06:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":143283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:42:41] local.INFO: GPS data processed {"connection_id":143283,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:42:41] local.INFO: Acknowledgment sent {"connection_id":143283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:42:45] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d20898012d7e3d4005d359280007005910..."} 
[2026-07-25 06:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d20898012d7e3d4005d359280007005910..."} 
[2026-07-25 06:42:45] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d20898012d7e3d4005d359280007005910..."} 
[2026-07-25 06:42:45] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:42:45] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763247936,"raw_latitude":97737000,"longitude_deg":76.3247936,"latitude_deg":9.7737,"altitude":7,"angle":89,"satellites":16,"speed":4,"hex_longitude":"2d7e3d40","hex_latitude":"05d35928","is_valid_coordinates":true} 
[2026-07-25 06:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945093888001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096145372402237440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784941775000,"timestamp_ms":1784941775000,"timestamp_seconds":1784941775,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d20898"} 
[2026-07-25 06:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 06:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945093888001,"66":11461,"109":206,"85":15104,"24":4,"16":110019044735713280,"45":9096145372402237440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945093888001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:42:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:42:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096145372402237440,"description":"Unknown IO ID 45"} 
[2026-07-25 06:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945093888001,"power":11461,"unknown_109":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9096145372402237440}} 
[2026-07-25 06:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:42:45] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:42:45] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:42:53] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:53] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:53] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:42:56] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:56] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:42:56] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:43:01] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:43:01] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:43:01] local.INFO: IMEI packet received {"connection_id":143284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":143284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:43:03] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d37bb0012d39610006a95490000e006c2b..."} 
[2026-07-25 06:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d37bb0012d39610006a95490000e006c2b..."} 
[2026-07-25 06:43:03] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d37bb0012d39610006a95490000e006c2b..."} 
[2026-07-25 06:43:03] local.INFO: Packet analysis {"connection_id":143284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:43:03] local.INFO: Extracted packet for processing {"connection_id":143284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758735104,"raw_latitude":111760528,"longitude_deg":75.8735104,"latitude_deg":11.1760528,"altitude":14,"angle":108,"satellites":43,"speed":14,"hex_longitude":"2d396100","hex_latitude":"06a95490","is_valid_coordinates":true} 
[2026-07-25 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945116160001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356871637238284288,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131841580490627072,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784941870000,"timestamp_ms":1784941870000,"timestamp_seconds":1784941870,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d37bb0"} 
[2026-07-25 06:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945116160001,"66":27767,"239":206,"81":49664,"24":14,"16":356871637238284288,"45":4131841580490627072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-07-25 06:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945116160001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356871637238284288,"km_value":356871637238284.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131841580490627072,"description":"Unknown IO ID 45"} 
[2026-07-25 06:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945116160001,"power":27767,"unknown_239":206,"unknown_81":49664,"ignition":14,"odometer":null,"unknown_45":4131841580490627072}} 
[2026-07-25 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":143284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:43:03] local.INFO: GPS data processed {"connection_id":143284,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:43:03] local.INFO: Acknowledgment sent {"connection_id":143284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:43:16] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:43:16] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:43:16] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:43:16] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:43:16] local.INFO: GPS Element Parsed {"raw_longitude":763247936,"raw_latitude":97736992,"longitude_deg":76.3247936,"latitude_deg":9.7736992,"altitude":6,"angle":89,"satellites":16,"speed":0,"hex_longitude":"2d7e3d40","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-07-25 06:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945094400001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497216123119616,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784941776000,"timestamp_ms":1784941776000,"timestamp_seconds":1784941776,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d20c80"} 
[2026-07-25 06:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-25 06:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945094400001,"66":11471,"109":206,"85":15104,"24":0,"16":110019044735713280,"45":9096497216123119616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945094400001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:43:16] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:43:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497216123119616,"description":"Unknown IO ID 45"} 
[2026-07-25 06:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945094400001,"power":11471,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096497216123119616}} 
[2026-07-25 06:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:43:16] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:43:16] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:43:21] local.INFO: TCP Data received {"connection_id":143284,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d37f98012d39624006a953f0000e007b2a..."} 
[2026-07-25 06:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d37f98012d39624006a953f0000e007b2a..."} 
[2026-07-25 06:43:21] local.INFO: Processing buffer {"connection_id":143284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d37f98012d39624006a953f0000e007b2a..."} 
[2026-07-25 06:43:21] local.INFO: Packet analysis {"connection_id":143284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:43:21] local.INFO: Extracted packet for processing {"connection_id":143284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d3"} 
[2026-07-25 06:43:21] local.INFO: GPS Element Parsed {"raw_longitude":758735424,"raw_latitude":111760368,"longitude_deg":75.8735424,"latitude_deg":11.1760368,"altitude":14,"angle":123,"satellites":42,"speed":15,"hex_longitude":"2d396240","hex_latitude":"06a953f0","is_valid_coordinates":true} 
[2026-07-25 06:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945118720001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356871650123186176,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134585961513521152,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784941871000,"timestamp_ms":1784941871000,"timestamp_seconds":1784941871,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d37f98"} 
[2026-07-25 06:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945118720001,"66":27604,"239":206,"81":49664,"24":15,"16":356871650123186176,"45":4134585961513521152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-07-25 06:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945118720001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:43:21] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 06:43:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356871650123186176,"km_value":356871650123186.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134585961513521152,"description":"Unknown IO ID 45"} 
[2026-07-25 06:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945118720001,"power":27604,"unknown_239":206,"unknown_81":49664,"ignition":15,"odometer":null,"unknown_45":4134585961513521152}} 
[2026-07-25 06:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":143284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:43:21] local.INFO: GPS data processed {"connection_id":143284,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:43:21] local.INFO: Acknowledgment sent {"connection_id":143284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:43:47] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:43:47] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:43:47] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:43:47] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:43:47] local.INFO: GPS Element Parsed {"raw_longitude":763247936,"raw_latitude":97736992,"longitude_deg":76.3247936,"latitude_deg":9.7736992,"altitude":6,"angle":89,"satellites":16,"speed":0,"hex_longitude":"2d7e3d40","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-07-25 06:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945094656001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497216123117568,"note":"Value kept but may cause issues"} 
[2026-07-25 06:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784941776000,"timestamp_ms":1784941776000,"timestamp_seconds":1784941776,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d20c80"} 
[2026-07-25 06:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 06:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945094656001,"66":11471,"109":206,"85":15104,"24":0,"16":110019044735713280,"45":9096497216123117568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945094656001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497216123117568,"description":"Unknown IO ID 45"} 
[2026-07-25 06:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945094656001,"power":11471,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096497216123117568}} 
[2026-07-25 06:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:43:47] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:43:47] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:44:02] local.INFO: TCP Data received {"connection_id":143285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:02] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:02] local.INFO: IMEI packet received {"connection_id":143285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":143285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:44:03] local.INFO: TCP Data received {"connection_id":143285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:03] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:03] local.INFO: IMEI packet received {"connection_id":143285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":143285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:44:06] local.INFO: TCP Data received {"connection_id":143285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:06] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:06] local.INFO: IMEI packet received {"connection_id":143285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":143285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:44:07] local.INFO: TCP Data received {"connection_id":143285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d4e6f8012d39b2c006a82c40001000b12b..."} 
[2026-07-25 06:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d4e6f8012d39b2c006a82c40001000b12b..."} 
[2026-07-25 06:44:07] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d4e6f8012d39b2c006a82c40001000b12b..."} 
[2026-07-25 06:44:07] local.INFO: Packet analysis {"connection_id":143285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d4"} 
[2026-07-25 06:44:07] local.INFO: Extracted packet for processing {"connection_id":143285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d4"} 
[2026-07-25 06:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758756032,"raw_latitude":111684672,"longitude_deg":75.8756032,"latitude_deg":11.1684672,"altitude":16,"angle":177,"satellites":43,"speed":17,"hex_longitude":"2d39b2c0","hex_latitude":"06a82c40","is_valid_coordinates":true} 
[2026-07-25 06:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945137664001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356875459759177728,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4155415109772861440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784941963000,"timestamp_ms":1784941963000,"timestamp_seconds":1784941963,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d4e6f8"} 
[2026-07-25 06:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 06:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945137664001,"66":27821,"239":206,"81":49664,"24":17,"16":356875459759177728,"45":4155415109772861440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-07-25 06:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945137664001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:44:07] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 06:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356875459759177728,"km_value":356875459759177.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4155415109772861440,"description":"Unknown IO ID 45"} 
[2026-07-25 06:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945137664001,"power":27821,"unknown_239":206,"unknown_81":49664,"ignition":17,"odometer":null,"unknown_45":4155415109772861440}} 
[2026-07-25 06:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":143285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:44:07] local.INFO: GPS data processed {"connection_id":143285,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:44:07] local.INFO: Acknowledgment sent {"connection_id":143285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:44:19] local.INFO: TCP Data received {"connection_id":143281,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:44:19] local.INFO: Processing buffer {"connection_id":143281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d20c80012d7e3d4005d359200006005910..."} 
[2026-07-25 06:44:19] local.INFO: Packet analysis {"connection_id":143281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:44:19] local.INFO: Extracted packet for processing {"connection_id":143281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d2"} 
[2026-07-25 06:44:19] local.INFO: GPS Element Parsed {"raw_longitude":763247936,"raw_latitude":97736992,"longitude_deg":76.3247936,"latitude_deg":9.7736992,"altitude":6,"angle":89,"satellites":16,"speed":0,"hex_longitude":"2d7e3d40","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-07-25 06:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945094656001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497216123117568,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784941776000,"timestamp_ms":1784941776000,"timestamp_seconds":1784941776,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d20c80"} 
[2026-07-25 06:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 06:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143281,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945094656001,"66":11471,"109":206,"85":15104,"24":0,"16":110019044735713280,"45":9096497216123117568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945094656001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:44:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497216123117568,"description":"Unknown IO ID 45"} 
[2026-07-25 06:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945094656001,"power":11471,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096497216123117568}} 
[2026-07-25 06:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":143281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:44:19] local.INFO: GPS data processed {"connection_id":143281,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:44:19] local.INFO: Acknowledgment sent {"connection_id":143281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:44:39] local.INFO: TCP Data received {"connection_id":143285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d4fe68012d39b40006a82090001000a62a..."} 
[2026-07-25 06:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d4fe68012d39b40006a82090001000a62a..."} 
[2026-07-25 06:44:39] local.INFO: Processing buffer {"connection_id":143285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d4fe68012d39b40006a82090001000a62a..."} 
[2026-07-25 06:44:39] local.INFO: Packet analysis {"connection_id":143285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d4"} 
[2026-07-25 06:44:39] local.INFO: Extracted packet for processing {"connection_id":143285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d4"} 
[2026-07-25 06:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758756352,"raw_latitude":111681680,"longitude_deg":75.8756352,"latitude_deg":11.168168,"altitude":16,"angle":166,"satellites":42,"speed":23,"hex_longitude":"2d39b400","hex_latitude":"06a82090","is_valid_coordinates":true} 
[2026-07-25 06:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945142528001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356875605788065792,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157596540840198144,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784941969000,"timestamp_ms":1784941969000,"timestamp_seconds":1784941969,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d4fe68"} 
[2026-07-25 06:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 06:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945142528001,"66":27800,"238":206,"81":49664,"24":23,"16":356875605788065792,"45":4157596540840198144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-25 06:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945142528001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:44:39] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-25 06:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356875605788065792,"km_value":356875605788065.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157596540840198144,"description":"Unknown IO ID 45"} 
[2026-07-25 06:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945142528001,"power":27800,"unknown_238":206,"unknown_81":49664,"ignition":23,"odometer":null,"unknown_45":4157596540840198144}} 
[2026-07-25 06:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":143285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:44:39] local.INFO: GPS data processed {"connection_id":143285,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:44:39] local.INFO: Acknowledgment sent {"connection_id":143285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:44:41] local.INFO: TCP Data received {"connection_id":143286,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:41] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:41] local.INFO: IMEI packet received {"connection_id":143286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":143286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:44:41] local.INFO: TCP Data received {"connection_id":143286,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:41] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:41] local.INFO: IMEI packet received {"connection_id":143286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":143286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:44:46] local.INFO: TCP Data received {"connection_id":143286,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:46] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:44:46] local.INFO: IMEI packet received {"connection_id":143286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":143286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:44:47] local.INFO: TCP Data received {"connection_id":143286,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d6b000012d7e3b4005d359300000005920..."} 
[2026-07-25 06:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d6b000012d7e3b4005d359300000005920..."} 
[2026-07-25 06:44:47] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d6b000012d7e3b4005d359300000005920..."} 
[2026-07-25 06:44:47] local.INFO: Packet analysis {"connection_id":143286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:44:47] local.INFO: Extracted packet for processing {"connection_id":143286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:44:47] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97737008,"longitude_deg":76.3247424,"latitude_deg":9.7737008,"altitude":0,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d7e3b40","hex_latitude":"05d35930","is_valid_coordinates":true} 
[2026-07-25 06:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945094656001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096497216123117568,"note":"Value kept but may cause issues"} 
[2026-07-25 06:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942080000,"timestamp_ms":1784942080000,"timestamp_seconds":1784942080,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d6b000"} 
[2026-07-25 06:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 06:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945094656001,"66":12385,"109":206,"85":15104,"24":0,"16":110019044735713280,"45":9096497216123117568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945094656001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:44:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:44:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096497216123117568,"description":"Unknown IO ID 45"} 
[2026-07-25 06:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945094656001,"power":12385,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096497216123117568}} 
[2026-07-25 06:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":143286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:44:47] local.INFO: GPS data processed {"connection_id":143286,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:44:47] local.INFO: Acknowledgment sent {"connection_id":143286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:44:56] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:56] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:44:56] local.INFO: IMEI packet received {"connection_id":140932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":140932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:45:01] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:45:01] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:45:01] local.INFO: IMEI packet received {"connection_id":140932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":140932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:45:02] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d53130012d39bd8006a7ff30001100a12c..."} 
[2026-07-25 06:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d53130012d39bd8006a7ff30001100a12c..."} 
[2026-07-25 06:45:02] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d53130012d39bd8006a7ff30001100a12c..."} 
[2026-07-25 06:45:02] local.INFO: Packet analysis {"connection_id":140932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d5"} 
[2026-07-25 06:45:02] local.INFO: Extracted packet for processing {"connection_id":140932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d5"} 
[2026-07-25 06:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758758784,"raw_latitude":111673136,"longitude_deg":75.8758784,"latitude_deg":11.1673136,"altitude":17,"angle":161,"satellites":44,"speed":30,"hex_longitude":"2d39bd80","hex_latitude":"06a7ff30","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945144064001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356876035284795392,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157948384560320512,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784941982000,"timestamp_ms":1784941982000,"timestamp_seconds":1784941982,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d53130"} 
[2026-07-25 06:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 06:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945144064001,"66":27843,"238":206,"81":49664,"24":30,"16":356876035284795392,"45":4157948384560320512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-25 06:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945144064001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:45:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-25 06:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356876035284795392,"km_value":356876035284795.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157948384560320512,"description":"Unknown IO ID 45"} 
[2026-07-25 06:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945144064001,"power":27843,"unknown_238":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4157948384560320512}} 
[2026-07-25 06:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":140932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:45:02] local.INFO: GPS data processed {"connection_id":140932,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:45:02] local.INFO: Acknowledgment sent {"connection_id":140932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:45:18] local.INFO: TCP Data received {"connection_id":143286,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d6ee80012d7e3b4005d359300001005920..."} 
[2026-07-25 06:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d6ee80012d7e3b4005d359300001005920..."} 
[2026-07-25 06:45:18] local.INFO: Processing buffer {"connection_id":143286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d6ee80012d7e3b4005d359300001005920..."} 
[2026-07-25 06:45:18] local.INFO: Packet analysis {"connection_id":143286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:45:18] local.INFO: Extracted packet for processing {"connection_id":143286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:45:18] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97737008,"longitude_deg":76.3247424,"latitude_deg":9.7737008,"altitude":1,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d7e3b40","hex_latitude":"05d35930","is_valid_coordinates":true} 
[2026-07-25 06:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945172480001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266169700352,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942096000,"timestamp_ms":1784942096000,"timestamp_seconds":1784942096,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d6ee80"} 
[2026-07-25 06:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1024,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:45: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-07-25 06:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945172480001,"66":12439,"109":206,"85":15104,"24":0,"16":110019044735713280,"45":9095934266169700352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945172480001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:45:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:45:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266169700352,"description":"Unknown IO ID 45"} 
[2026-07-25 06:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945172480001,"power":12439,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095934266169700352}} 
[2026-07-25 06:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":143286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:45:18] local.INFO: GPS data processed {"connection_id":143286,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:45:18] local.INFO: Acknowledgment sent {"connection_id":143286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:45:33] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d55c28012d39c98006a7dd780012009f2d..."} 
[2026-07-25 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d55c28012d39c98006a7dd780012009f2d..."} 
[2026-07-25 06:45:33] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d55c28012d39c98006a7dd780012009f2d..."} 
[2026-07-25 06:45:33] local.INFO: Packet analysis {"connection_id":140932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d5"} 
[2026-07-25 06:45:33] local.INFO: Extracted packet for processing {"connection_id":140932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d5"} 
[2026-07-25 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":758761856,"raw_latitude":111664504,"longitude_deg":75.8761856,"latitude_deg":11.1664504,"altitude":18,"angle":159,"satellites":45,"speed":35,"hex_longitude":"2d39c980","hex_latitude":"06a7dd78","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945147392001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356876477666426880,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4160622396836884480,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784941993000,"timestamp_ms":1784941993000,"timestamp_seconds":1784941993,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d55c28"} 
[2026-07-25 06:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 06:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945147392001,"66":27821,"238":206,"81":49664,"24":35,"16":356876477666426880,"45":4160622396836884480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-25 06:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945147392001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:45:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-25 06:45:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356876477666426880,"km_value":356876477666426.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4160622396836884480,"description":"Unknown IO ID 45"} 
[2026-07-25 06:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945147392001,"power":27821,"unknown_238":206,"unknown_81":49664,"ignition":35,"odometer":null,"unknown_45":4160622396836884480}} 
[2026-07-25 06:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":140932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:45:33] local.INFO: GPS data processed {"connection_id":140932,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:45:33] local.INFO: Acknowledgment sent {"connection_id":140932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:45:41] local.INFO: TCP Data received {"connection_id":141931,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:45:41] local.INFO: Processing buffer {"connection_id":141931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:45:41] local.INFO: IMEI packet received {"connection_id":141931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":141931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:45:46] local.INFO: TCP Data received {"connection_id":141931,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:45:46] local.INFO: Processing buffer {"connection_id":141931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:45:46] local.INFO: IMEI packet received {"connection_id":141931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":141931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:45:47] local.INFO: TCP Data received {"connection_id":141931,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d6ee80012d7e3b4005d359300001005920..."} 
[2026-07-25 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d6ee80012d7e3b4005d359300001005920..."} 
[2026-07-25 06:45:47] local.INFO: Processing buffer {"connection_id":141931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d6ee80012d7e3b4005d359300001005920..."} 
[2026-07-25 06:45:47] local.INFO: Packet analysis {"connection_id":141931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:45:47] local.INFO: Extracted packet for processing {"connection_id":141931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97737008,"longitude_deg":76.3247424,"latitude_deg":9.7737008,"altitude":1,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d7e3b40","hex_latitude":"05d35930","is_valid_coordinates":true} 
[2026-07-25 06:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945176576001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019044735713280,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266169700352,"note":"Value kept but may cause issues"} 
[2026-07-25 06:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942096000,"timestamp_ms":1784942096000,"timestamp_seconds":1784942096,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d6ee80"} 
[2026-07-25 06:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 06:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945176576001,"66":12439,"109":206,"85":15104,"24":0,"16":110019044735713280,"45":9095934266169700352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945176576001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019044735713280,"km_value":110019044735713.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266169700352,"description":"Unknown IO ID 45"} 
[2026-07-25 06:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945176576001,"power":12439,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095934266169700352}} 
[2026-07-25 06:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":141931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:45:47] local.INFO: GPS data processed {"connection_id":141931,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:45:47] local.INFO: Acknowledgment sent {"connection_id":141931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:46:01] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:01] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:01] local.INFO: IMEI packet received {"connection_id":140886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":140886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:46:02] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:02] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:02] local.INFO: IMEI packet received {"connection_id":140886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":140886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:46:04] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d6cb58012d3ad1c006a73ca8002a00642d..."} 
[2026-07-25 06:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d6cb58012d3ad1c006a73ca8002a00642d..."} 
[2026-07-25 06:46:04] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d6cb58012d3ad1c006a73ca8002a00642d..."} 
[2026-07-25 06:46:04] local.INFO: Packet analysis {"connection_id":140886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:46:04] local.INFO: Extracted packet for processing {"connection_id":140886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758829504,"raw_latitude":111623336,"longitude_deg":75.8829504,"latitude_deg":11.1623336,"altitude":42,"angle":100,"satellites":45,"speed":31,"hex_longitude":"2d3ad1c0","hex_latitude":"06a73ca8","is_valid_coordinates":true} 
[2026-07-25 06:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945171200001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356880682439409664,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4227754178770098176,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784942087000,"timestamp_ms":1784942087000,"timestamp_seconds":1784942087,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d6cb58"} 
[2026-07-25 06:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945171200001,"66":27767,"102":206,"81":49664,"24":31,"16":356880682439409664,"45":4227754178770098176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,81,24,16,45]} 
[2026-07-25 06:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945171200001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:46:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 06:46:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356880682439409664,"km_value":356880682439409.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4227754178770098176,"description":"Unknown IO ID 45"} 
[2026-07-25 06:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945171200001,"power":27767,"unknown_102":206,"unknown_81":49664,"ignition":31,"odometer":null,"unknown_45":4227754178770098176}} 
[2026-07-25 06:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":140886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:46:04] local.INFO: GPS data processed {"connection_id":140886,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:46:04] local.INFO: Acknowledgment sent {"connection_id":140886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:46:07] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d6fa38012d3af58006a735a8002f00642d..."} 
[2026-07-25 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d6fa38012d3af58006a735a8002f00642d..."} 
[2026-07-25 06:46:07] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d6fa38012d3af58006a735a8002f00642d..."} 
[2026-07-25 06:46:07] local.INFO: Packet analysis {"connection_id":140886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:46:07] local.INFO: Extracted packet for processing {"connection_id":140886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d6"} 
[2026-07-25 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758838656,"raw_latitude":111621544,"longitude_deg":75.8838656,"latitude_deg":11.1621544,"altitude":47,"angle":100,"satellites":45,"speed":29,"hex_longitude":"2d3af580","hex_latitude":"06a735a8","is_valid_coordinates":true} 
[2026-07-25 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945174272001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356881124821041152,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4238379859140454400,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784942099000,"timestamp_ms":1784942099000,"timestamp_seconds":1784942099,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d6fa38"} 
[2026-07-25 06:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945174272001,"66":27484,"101":206,"81":49664,"24":29,"16":356881124821041152,"45":4238379859140454400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-07-25 06:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945174272001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:46:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 06:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356881124821041152,"km_value":356881124821041.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4238379859140454400,"description":"Unknown IO ID 45"} 
[2026-07-25 06:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945174272001,"power":27484,"unknown_101":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4238379859140454400}} 
[2026-07-25 06:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":140886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:46:07] local.INFO: GPS data processed {"connection_id":140886,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:46:07] local.INFO: Acknowledgment sent {"connection_id":140886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:46:17] local.INFO: TCP Data received {"connection_id":141931,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d74c40012d7e3c8005d359200001005920..."} 
[2026-07-25 06:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d74c40012d7e3c8005d359200001005920..."} 
[2026-07-25 06:46:17] local.INFO: Processing buffer {"connection_id":141931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d74c40012d7e3c8005d359200001005920..."} 
[2026-07-25 06:46:17] local.INFO: Packet analysis {"connection_id":141931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:46:17] local.INFO: Extracted packet for processing {"connection_id":141931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:46:17] local.INFO: GPS Element Parsed {"raw_longitude":763247744,"raw_latitude":97736992,"longitude_deg":76.3247744,"latitude_deg":9.7736992,"altitude":1,"angle":89,"satellites":32,"speed":0,"hex_longitude":"2d7e3c80","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-07-25 06:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945176576001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110019061915582464,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266169700352,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784942120000,"timestamp_ms":1784942120000,"timestamp_seconds":1784942120,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d74c40"} 
[2026-07-25 06:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 06:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945176576001,"66":11602,"109":206,"85":15104,"24":0,"16":110019061915582464,"45":9095934266169700352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945176576001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:46:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110019061915582464,"km_value":110019061915582.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266169700352,"description":"Unknown IO ID 45"} 
[2026-07-25 06:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945176576001,"power":11602,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095934266169700352}} 
[2026-07-25 06:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":141931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:46:18] local.INFO: GPS data processed {"connection_id":141931,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:46:18] local.INFO: Acknowledgment sent {"connection_id":141931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:46:39] local.INFO: TCP Data received {"connection_id":140886,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d72d00012d3b1ac006a72e48003600632c..."} 
[2026-07-25 06:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d72d00012d3b1ac006a72e48003600632c..."} 
[2026-07-25 06:46:39] local.INFO: Processing buffer {"connection_id":140886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d72d00012d3b1ac006a72e48003600632c..."} 
[2026-07-25 06:46:39] local.INFO: Packet analysis {"connection_id":140886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:46:39] local.INFO: Extracted packet for processing {"connection_id":140886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758848192,"raw_latitude":111619656,"longitude_deg":75.8848192,"latitude_deg":11.1619656,"altitude":54,"angle":99,"satellites":44,"speed":29,"hex_longitude":"2d3b1ac0","hex_latitude":"06a72e48","is_valid_coordinates":true} 
[2026-07-25 06:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945177344001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356881588677509120,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4248442589557401600,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784942112000,"timestamp_ms":1784942112000,"timestamp_seconds":1784942112,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d72d00"} 
[2026-07-25 06:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 06:46: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-07-25 06:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945177344001,"66":27876,"101":206,"81":49664,"24":29,"16":356881588677509120,"45":4248442589557401600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-07-25 06:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945177344001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:46:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 06:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356881588677509120,"km_value":356881588677509.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4248442589557401600,"description":"Unknown IO ID 45"} 
[2026-07-25 06:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945177344001,"power":27876,"unknown_101":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4248442589557401600}} 
[2026-07-25 06:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":140886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:46:39] local.INFO: GPS data processed {"connection_id":140886,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:46:39] local.INFO: Acknowledgment sent {"connection_id":140886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:46:41] local.INFO: TCP Data received {"connection_id":141932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:41] local.INFO: Processing buffer {"connection_id":141932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:41] local.INFO: IMEI packet received {"connection_id":141932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":141932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:46:44] local.INFO: TCP Data received {"connection_id":141932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:44] local.INFO: Processing buffer {"connection_id":141932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:44] local.INFO: IMEI packet received {"connection_id":141932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":141932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:46:45] local.INFO: TCP Data received {"connection_id":141932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:45] local.INFO: Processing buffer {"connection_id":141932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:45] local.INFO: IMEI packet received {"connection_id":141932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":141932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:46:46] local.INFO: TCP Data received {"connection_id":141932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:46] local.INFO: Processing buffer {"connection_id":141932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:46:46] local.INFO: IMEI packet received {"connection_id":141932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":141932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:46:47] local.INFO: TCP Data received {"connection_id":141932,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d87138012d7e65c005d30450000700d020..."} 
[2026-07-25 06:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d87138012d7e65c005d30450000700d020..."} 
[2026-07-25 06:46:47] local.INFO: Processing buffer {"connection_id":141932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d87138012d7e65c005d30450000700d020..."} 
[2026-07-25 06:46:47] local.INFO: Packet analysis {"connection_id":141932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:46:47] local.INFO: Extracted packet for processing {"connection_id":141932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:46:47] local.INFO: GPS Element Parsed {"raw_longitude":763258304,"raw_latitude":97715280,"longitude_deg":76.3258304,"latitude_deg":9.771528,"altitude":7,"angle":208,"satellites":32,"speed":6,"hex_longitude":"2d7e65c0","hex_latitude":"05d30450","is_valid_coordinates":true} 
[2026-07-25 06:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945200896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110020462074920960,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037690162847744,"note":"Value kept but may cause issues"} 
[2026-07-25 06:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942195000,"timestamp_ms":1784942195000,"timestamp_seconds":1784942195,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d87138"} 
[2026-07-25 06:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 06:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945200896001,"66":12961,"109":206,"85":15104,"24":6,"16":110020462074920960,"45":9108037690162847744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945200896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110020462074920960,"km_value":110020462074920.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037690162847744,"description":"Unknown IO ID 45"} 
[2026-07-25 06:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945200896001,"power":12961,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9108037690162847744}} 
[2026-07-25 06:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":141932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:46:47] local.INFO: GPS data processed {"connection_id":141932,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:46:47] local.INFO: Acknowledgment sent {"connection_id":141932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:46:59] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:59] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:46:59] local.INFO: IMEI packet received {"connection_id":140933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":140933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:47:03] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:47:03] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:47:03] local.INFO: IMEI packet received {"connection_id":140933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":140933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:47:09] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d75be0012d3b3e0006a72798003a00632a..."} 
[2026-07-25 06:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d75be0012d3b3e0006a72798003a00632a..."} 
[2026-07-25 06:47:09] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d75be0012d3b3e0006a72798003a00632a..."} 
[2026-07-25 06:47:09] local.INFO: Packet analysis {"connection_id":140933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:47:09] local.INFO: Extracted packet for processing {"connection_id":140933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758857216,"raw_latitude":111617944,"longitude_deg":75.8857216,"latitude_deg":11.1617944,"altitude":58,"angle":99,"satellites":42,"speed":30,"hex_longitude":"2d3b3e00","hex_latitude":"06a72798","is_valid_coordinates":true} 
[2026-07-25 06:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945180672001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356882022469206016,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4258927532439390208,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784942124000,"timestamp_ms":1784942124000,"timestamp_seconds":1784942124,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d75be0"} 
[2026-07-25 06:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 06:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":140933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945180672001,"66":27691,"41":206,"81":49664,"24":30,"16":356882022469206016,"45":4258927532439390208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-07-25 06:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945180672001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:47:09] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-25 06:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356882022469206016,"km_value":356882022469206.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4258927532439390208,"description":"Unknown IO ID 45"} 
[2026-07-25 06:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945180672001,"power":27691,"unknown_41":206,"unknown_81":49664,"ignition":30,"odometer":null,"unknown_45":4258927532439390208}} 
[2026-07-25 06:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":140933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:47:09] local.INFO: GPS data processed {"connection_id":140933,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:47:09] local.INFO: Acknowledgment sent {"connection_id":140933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:47:11] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d78ac0012d3b634006a72050003e00652b..."} 
[2026-07-25 06:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d78ac0012d3b634006a72050003e00652b..."} 
[2026-07-25 06:47:11] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d78ac0012d3b634006a72050003e00652b..."} 
[2026-07-25 06:47:11] local.INFO: Packet analysis {"connection_id":140933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:47:11] local.INFO: Extracted packet for processing {"connection_id":140933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d7"} 
[2026-07-25 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758866752,"raw_latitude":111616080,"longitude_deg":75.8866752,"latitude_deg":11.161608,"altitude":62,"angle":101,"satellites":43,"speed":33,"hex_longitude":"2d3b6340","hex_latitude":"06a72050","is_valid_coordinates":true} 
[2026-07-25 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945183744001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356882486325673984,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4268849525368002560,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784942136000,"timestamp_ms":1784942136000,"timestamp_seconds":1784942136,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d78ac0"} 
[2026-07-25 06:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-25 06:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945183744001,"66":27800,"41":206,"81":49664,"24":33,"16":356882486325673984,"45":4268849525368002560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-07-25 06:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945183744001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:47:11] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-25 06:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356882486325673984,"km_value":356882486325674.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4268849525368002560,"description":"Unknown IO ID 45"} 
[2026-07-25 06:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945183744001,"power":27800,"unknown_41":206,"unknown_81":49664,"ignition":33,"odometer":null,"unknown_45":4268849525368002560}} 
[2026-07-25 06:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":140933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:47:11] local.INFO: GPS data processed {"connection_id":140933,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:47:11] local.INFO: Acknowledgment sent {"connection_id":140933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:47:18] local.INFO: TCP Data received {"connection_id":141932,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d87520012d7e658005d303b8000600dd20..."} 
[2026-07-25 06:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d87520012d7e658005d303b8000600dd20..."} 
[2026-07-25 06:47:18] local.INFO: Processing buffer {"connection_id":141932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d87520012d7e658005d303b8000600dd20..."} 
[2026-07-25 06:47:18] local.INFO: Packet analysis {"connection_id":141932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:47:18] local.INFO: Extracted packet for processing {"connection_id":141932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:47:18] local.INFO: GPS Element Parsed {"raw_longitude":763258240,"raw_latitude":97715128,"longitude_deg":76.325824,"latitude_deg":9.7715128,"altitude":6,"angle":221,"satellites":32,"speed":8,"hex_longitude":"2d7e6580","hex_latitude":"05d303b8","is_valid_coordinates":true} 
[2026-07-25 06:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945201920001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110020470664855552,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107896952674340864,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942196000,"timestamp_ms":1784942196000,"timestamp_seconds":1784942196,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d87520"} 
[2026-07-25 06:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-25 06:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945201920001,"66":13417,"109":206,"85":15104,"24":8,"16":110020470664855552,"45":9107896952674340864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945201920001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110020470664855552,"km_value":110020470664855.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107896952674340864,"description":"Unknown IO ID 45"} 
[2026-07-25 06:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945201920001,"power":13417,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9107896952674340864}} 
[2026-07-25 06:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":141932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:47:18] local.INFO: GPS data processed {"connection_id":141932,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:47:18] local.INFO: Acknowledgment sent {"connection_id":141932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:47:46] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:47:46] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:47:46] local.INFO: IMEI packet received {"connection_id":140887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":140887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:47:51] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:47:51] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:47:51] local.INFO: IMEI packet received {"connection_id":140887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":140887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:47:52] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d87908012d7e648005d30320000700ec20..."} 
[2026-07-25 06:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d87908012d7e648005d30320000700ec20..."} 
[2026-07-25 06:47:52] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d87908012d7e648005d30320000700ec20..."} 
[2026-07-25 06:47:52] local.INFO: Packet analysis {"connection_id":140887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:47:52] local.INFO: Extracted packet for processing {"connection_id":140887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:47:52] local.INFO: GPS Element Parsed {"raw_longitude":763257984,"raw_latitude":97714976,"longitude_deg":76.3257984,"latitude_deg":9.7714976,"altitude":7,"angle":236,"satellites":32,"speed":10,"hex_longitude":"2d7e6480","hex_latitude":"05d30320","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945202176001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110020483549757440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107826583930124288,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784942197000,"timestamp_ms":1784942197000,"timestamp_seconds":1784942197,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d87908"} 
[2026-07-25 06:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 06:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":140887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":140887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":140887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945202176001,"66":13417,"109":206,"85":15104,"24":10,"16":110020483549757440,"45":9107826583930124288},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945202176001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:47:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110020483549757440,"km_value":110020483549757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107826583930124288,"description":"Unknown IO ID 45"} 
[2026-07-25 06:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945202176001,"power":13417,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9107826583930124288}} 
[2026-07-25 06:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":140887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:47:52] local.INFO: GPS data processed {"connection_id":140887,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:47:52] local.INFO: Acknowledgment sent {"connection_id":140887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:47:53] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d87cf0012d7e638005d30290000700f820..."} 
[2026-07-25 06:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d87cf0012d7e638005d30290000700f820..."} 
[2026-07-25 06:47:53] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d87cf0012d7e638005d30290000700f820..."} 
[2026-07-25 06:47:53] local.INFO: Packet analysis {"connection_id":140887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:47:53] local.INFO: Extracted packet for processing {"connection_id":140887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d8"} 
[2026-07-25 06:47:53] local.INFO: GPS Element Parsed {"raw_longitude":763257728,"raw_latitude":97714832,"longitude_deg":76.3257728,"latitude_deg":9.7714832,"altitude":7,"angle":248,"satellites":32,"speed":13,"hex_longitude":"2d7e6380","hex_latitude":"05d30290","is_valid_coordinates":true} 
[2026-07-25 06:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945202432001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110020496434659328,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107545108953374720,"note":"Value kept but may cause issues"} 
[2026-07-25 06:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784942198000,"timestamp_ms":1784942198000,"timestamp_seconds":1784942198,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d87cf0"} 
[2026-07-25 06:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 06:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":140887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":140887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":140887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945202432001,"66":13493,"109":206,"85":15104,"24":13,"16":110020496434659328,"45":9107545108953374720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 06:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945202432001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:47:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110020496434659328,"km_value":110020496434659.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107545108953374720,"description":"Unknown IO ID 45"} 
[2026-07-25 06:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945202432001,"power":13493,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9107545108953374720}} 
[2026-07-25 06:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":140887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:47:53] local.INFO: GPS data processed {"connection_id":140887,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:47:53] local.INFO: Acknowledgment sent {"connection_id":140887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:48:11] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:11] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:11] local.INFO: IMEI packet received {"connection_id":140934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":140934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:48:14] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:14] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:14] local.INFO: IMEI packet received {"connection_id":140934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":140934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:48:16] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:16] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:16] local.INFO: IMEI packet received {"connection_id":140934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":140934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:48:18] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d91548012d3c2f4006a61400004b008d26..."} 
[2026-07-25 06:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d91548012d3c2f4006a61400004b008d26..."} 
[2026-07-25 06:48:18] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d91548012d3c2f4006a61400004b008d26..."} 
[2026-07-25 06:48:18] local.INFO: Packet analysis {"connection_id":140934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:18] local.INFO: Extracted packet for processing {"connection_id":140934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758918976,"raw_latitude":111547392,"longitude_deg":75.8918976,"latitude_deg":11.1547392,"altitude":75,"angle":141,"satellites":38,"speed":40,"hex_longitude":"2d3c2f40","hex_latitude":"06a61400","is_valid_coordinates":true} 
[2026-07-25 06:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945210112001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356886764113100800,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4330140701530669056,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942237000,"timestamp_ms":1784942237000,"timestamp_seconds":1784942237,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d91548"} 
[2026-07-25 06:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 06:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945210112001,"66":27865,"40":206,"81":49664,"24":40,"16":356886764113100800,"45":4330140701530669056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-25 06:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945210112001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356886764113100800,"km_value":356886764113100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4330140701530669056,"description":"Unknown IO ID 45"} 
[2026-07-25 06:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945210112001,"power":27865,"unknown_40":206,"unknown_81":49664,"ignition":40,"odometer":null,"unknown_45":4330140701530669056}} 
[2026-07-25 06:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":140934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:48:18] local.INFO: GPS data processed {"connection_id":140934,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:48:18] local.INFO: Acknowledgment sent {"connection_id":140934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:48:20] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d93870012d3c464006a5f6c0004f008d29..."} 
[2026-07-25 06:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d93870012d3c464006a5f6c0004f008d29..."} 
[2026-07-25 06:48:20] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d93870012d3c464006a5f6c0004f008d29..."} 
[2026-07-25 06:48:20] local.INFO: Packet analysis {"connection_id":140934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:20] local.INFO: Extracted packet for processing {"connection_id":140934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758924864,"raw_latitude":111539904,"longitude_deg":75.8924864,"latitude_deg":11.1539904,"altitude":79,"angle":141,"satellites":41,"speed":42,"hex_longitude":"2d3c4640","hex_latitude":"06a5f6c0","is_valid_coordinates":true} 
[2026-07-25 06:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945212672001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356887223674601472,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4336755363481387008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784942246000,"timestamp_ms":1784942246000,"timestamp_seconds":1784942246,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d93870"} 
[2026-07-25 06:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:48: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-07-25 06:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":140934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945212672001,"66":27843,"40":206,"81":49664,"24":42,"16":356887223674601472,"45":4336755363481387008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-25 06:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945212672001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:48:20] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-25 06:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356887223674601472,"km_value":356887223674601.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4336755363481387008,"description":"Unknown IO ID 45"} 
[2026-07-25 06:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945212672001,"power":27843,"unknown_40":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4336755363481387008}} 
[2026-07-25 06:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":140934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:48:20] local.INFO: GPS data processed {"connection_id":140934,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:48:20] local.INFO: Acknowledgment sent {"connection_id":140934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:48:24] local.INFO: TCP Data received {"connection_id":140887,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d9fbc0012d7e73c005d23df00004008e20..."} 
[2026-07-25 06:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d9fbc0012d7e73c005d23df00004008e20..."} 
[2026-07-25 06:48:24] local.INFO: Processing buffer {"connection_id":140887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d9fbc0012d7e73c005d23df00004008e20..."} 
[2026-07-25 06:48:24] local.INFO: Packet analysis {"connection_id":140887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:24] local.INFO: Extracted packet for processing {"connection_id":140887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:24] local.INFO: GPS Element Parsed {"raw_longitude":763261888,"raw_latitude":97664496,"longitude_deg":76.3261888,"latitude_deg":9.7664496,"altitude":4,"angle":142,"satellites":32,"speed":13,"hex_longitude":"2d7e73c0","hex_latitude":"05d23df0","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945224192001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110023142134513664,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108319165126983680,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784942296000,"timestamp_ms":1784942296000,"timestamp_seconds":1784942296,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d9fbc0"} 
[2026-07-25 06:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 06:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":140887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":140887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":140887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945224192001,"66":13765,"116":206,"85":15104,"24":13,"16":110023142134513664,"45":9108319165126983680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945224192001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110023142134513664,"km_value":110023142134513.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108319165126983680,"description":"Unknown IO ID 45"} 
[2026-07-25 06:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945224192001,"power":13765,"unknown_116":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9108319165126983680}} 
[2026-07-25 06:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":140887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:48:24] local.INFO: GPS data processed {"connection_id":140887,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:48:24] local.INFO: Acknowledgment sent {"connection_id":140887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:48:41] local.INFO: TCP Data received {"connection_id":143287,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:48:41] local.INFO: Processing buffer {"connection_id":143287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:48:41] local.INFO: IMEI packet received {"connection_id":143287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":143287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:48:46] local.INFO: TCP Data received {"connection_id":143287,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:48:46] local.INFO: Processing buffer {"connection_id":143287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:48:46] local.INFO: IMEI packet received {"connection_id":143287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":143287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:48:47] local.INFO: TCP Data received {"connection_id":143287,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d9ffa8012d7e744005d23cf80004009c20..."} 
[2026-07-25 06:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d9ffa8012d7e744005d23cf80004009c20..."} 
[2026-07-25 06:48:47] local.INFO: Processing buffer {"connection_id":143287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d9ffa8012d7e744005d23cf80004009c20..."} 
[2026-07-25 06:48:47] local.INFO: Packet analysis {"connection_id":143287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:47] local.INFO: Extracted packet for processing {"connection_id":143287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763262016,"raw_latitude":97664248,"longitude_deg":76.3262016,"latitude_deg":9.7664248,"altitude":4,"angle":156,"satellites":32,"speed":11,"hex_longitude":"2d7e7440","hex_latitude":"05d23cf8","is_valid_coordinates":true} 
[2026-07-25 06:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945227776001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110023159314382848,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111837602335289344,"note":"Value kept but may cause issues"} 
[2026-07-25 06:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942297000,"timestamp_ms":1784942297000,"timestamp_seconds":1784942297,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d9ffa8"} 
[2026-07-25 06:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-25 06:48:47] 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-07-25 06:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945227776001,"66":13765,"116":206,"85":15104,"24":11,"16":110023159314382848,"45":9111837602335289344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945227776001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110023159314382848,"km_value":110023159314382.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111837602335289344,"description":"Unknown IO ID 45"} 
[2026-07-25 06:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945227776001,"power":13765,"unknown_116":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9111837602335289344}} 
[2026-07-25 06:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":143287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:48:48] local.INFO: GPS data processed {"connection_id":143287,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:48:48] local.INFO: Acknowledgment sent {"connection_id":143287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:48:56] local.INFO: TCP Data received {"connection_id":140935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:56] local.INFO: Processing buffer {"connection_id":140935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:56] local.INFO: IMEI packet received {"connection_id":140935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":140935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:48:58] local.INFO: TCP Data received {"connection_id":140935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:58] local.INFO: Processing buffer {"connection_id":140935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:48:58] local.INFO: IMEI packet received {"connection_id":140935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":140935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:49:01] local.INFO: TCP Data received {"connection_id":140935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:49:01] local.INFO: Processing buffer {"connection_id":140935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:49:01] local.INFO: IMEI packet received {"connection_id":140935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":140935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:49:04] local.INFO: TCP Data received {"connection_id":140935,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96d957b0012d3c5c8006a5da800051008d2a..."} 
[2026-07-25 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96d957b0012d3c5c8006a5da800051008d2a..."} 
[2026-07-25 06:49:04] local.INFO: Processing buffer {"connection_id":140935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96d957b0012d3c5c8006a5da800051008d2a..."} 
[2026-07-25 06:49:04] local.INFO: Packet analysis {"connection_id":140935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:49:04] local.INFO: Extracted packet for processing {"connection_id":140935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96d9"} 
[2026-07-25 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758930560,"raw_latitude":111532672,"longitude_deg":75.893056,"latitude_deg":11.1532672,"altitude":81,"angle":141,"satellites":42,"speed":48,"hex_longitude":"2d3c5c80","hex_latitude":"06a5da80","is_valid_coordinates":true} 
[2026-07-25 06:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945214976001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343229287943815168,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356887666056232960,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 06:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784942254000,"timestamp_ms":1784942254000,"timestamp_seconds":1784942254,"priority":1,"record_length":96,"hex_timestamp":"0000019f96d957b0"} 
[2026-07-25 06:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 06:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945214976001,"66":27517,"45":4343229287943815168,"81":49664,"24":48,"16":356887666056232960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-25 06:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945214976001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343229287943815168,"description":"Unknown IO ID 45"} 
[2026-07-25 06:49:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356887666056232960,"km_value":356887666056232.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:49:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456945214976001,"power":27517,"unknown_45":4343229287943815168,"unknown_81":49664,"ignition":48,"odometer":null}} 
[2026-07-25 06:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":140935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:49:04] local.INFO: GPS data processed {"connection_id":140935,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:49:04] local.INFO: Acknowledgment sent {"connection_id":140935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:49:19] local.INFO: TCP Data received {"connection_id":143287,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96da0778012d7e750005d23b08000500af20..."} 
[2026-07-25 06:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96da0778012d7e750005d23b08000500af20..."} 
[2026-07-25 06:49:19] local.INFO: Processing buffer {"connection_id":143287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96da0778012d7e750005d23b08000500af20..."} 
[2026-07-25 06:49:19] local.INFO: Packet analysis {"connection_id":143287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:19] local.INFO: Extracted packet for processing {"connection_id":143287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763262208,"raw_latitude":97663752,"longitude_deg":76.3262208,"latitude_deg":9.7663752,"altitude":5,"angle":175,"satellites":32,"speed":10,"hex_longitude":"2d7e7500","hex_latitude":"05d23b08","is_valid_coordinates":true} 
[2026-07-25 06:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945228032001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110023185084186624,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111978339823581184,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784942299000,"timestamp_ms":1784942299000,"timestamp_seconds":1784942299,"priority":1,"record_length":96,"hex_timestamp":"0000019f96da0778"} 
[2026-07-25 06:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-25 06:49:19] 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-07-25 06:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945228032001,"66":13798,"116":206,"85":15104,"24":10,"16":110023185084186624,"45":9111978339823581184},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945228032001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:49:19] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110023185084186624,"km_value":110023185084186.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111978339823581184,"description":"Unknown IO ID 45"} 
[2026-07-25 06:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945228032001,"power":13798,"unknown_116":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9111978339823581184}} 
[2026-07-25 06:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":143287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:49:19] local.INFO: GPS data processed {"connection_id":143287,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:49:19] local.INFO: Acknowledgment sent {"connection_id":143287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:49:36] local.INFO: TCP Data received {"connection_id":140935,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96da6d08012d3ca3c006a44510003a00c42e..."} 
[2026-07-25 06:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96da6d08012d3ca3c006a44510003a00c42e..."} 
[2026-07-25 06:49:36] local.INFO: Processing buffer {"connection_id":140935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96da6d08012d3ca3c006a44510003a00c42e..."} 
[2026-07-25 06:49:36] local.INFO: Packet analysis {"connection_id":140935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:36] local.INFO: Extracted packet for processing {"connection_id":140935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758948800,"raw_latitude":111428880,"longitude_deg":75.89488,"latitude_deg":11.142888,"altitude":58,"angle":196,"satellites":46,"speed":48,"hex_longitude":"2d3ca3c0","hex_latitude":"06a44510","is_valid_coordinates":true} 
[2026-07-25 06:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945233408001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356893180794241024,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373698954146414592,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784942325000,"timestamp_ms":1784942325000,"timestamp_seconds":1784942325,"priority":1,"record_length":96,"hex_timestamp":"0000019f96da6d08"} 
[2026-07-25 06:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:49: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-07-25 06:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 06:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945233408001,"66":27865,"133":206,"81":49664,"24":48,"16":356893180794241024,"45":4373698954146414592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-25 06:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945233408001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:49:36] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 06:49:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356893180794241024,"km_value":356893180794241.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373698954146414592,"description":"Unknown IO ID 45"} 
[2026-07-25 06:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945233408001,"power":27865,"unknown_133":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4373698954146414592}} 
[2026-07-25 06:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":140935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:49:36] local.INFO: GPS data processed {"connection_id":140935,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:49:36] local.INFO: Acknowledgment sent {"connection_id":140935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:49:41] local.INFO: TCP Data received {"connection_id":141933,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:41] local.INFO: Processing buffer {"connection_id":141933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:41] local.INFO: IMEI packet received {"connection_id":141933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":141933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:49:43] local.INFO: TCP Data received {"connection_id":141933,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:43] local.INFO: Processing buffer {"connection_id":141933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:43] local.INFO: IMEI packet received {"connection_id":141933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":141933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:49:46] local.INFO: TCP Data received {"connection_id":141933,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:46] local.INFO: Processing buffer {"connection_id":141933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:49:46] local.INFO: IMEI packet received {"connection_id":141933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":141933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:49:47] local.INFO: TCP Data received {"connection_id":141933,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96da49e0012d7e774005d217a0000700ad20..."} 
[2026-07-25 06:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96da49e0012d7e774005d217a0000700ad20..."} 
[2026-07-25 06:49:47] local.INFO: Processing buffer {"connection_id":141933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96da49e0012d7e774005d217a0000700ad20..."} 
[2026-07-25 06:49:47] local.INFO: Packet analysis {"connection_id":141933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:47] local.INFO: Extracted packet for processing {"connection_id":141933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:47] local.INFO: GPS Element Parsed {"raw_longitude":763262784,"raw_latitude":97654688,"longitude_deg":76.3262784,"latitude_deg":9.7654688,"altitude":7,"angle":173,"satellites":32,"speed":29,"hex_longitude":"2d7e7740","hex_latitude":"05d217a0","is_valid_coordinates":true} 
[2026-07-25 06:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945228544001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110023627465818112,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112189446055987200,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942316000,"timestamp_ms":1784942316000,"timestamp_seconds":1784942316,"priority":1,"record_length":96,"hex_timestamp":"0000019f96da49e0"} 
[2026-07-25 06:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-25 06:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945228544001,"66":13787,"116":206,"85":15104,"24":29,"16":110023627465818112,"45":9112189446055987200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945228544001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110023627465818112,"km_value":110023627465818.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112189446055987200,"description":"Unknown IO ID 45"} 
[2026-07-25 06:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945228544001,"power":13787,"unknown_116":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9112189446055987200}} 
[2026-07-25 06:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":141933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:49:47] local.INFO: GPS data processed {"connection_id":141933,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:49:47] local.INFO: Acknowledgment sent {"connection_id":141933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:49:51] local.INFO: TCP Data received {"connection_id":141933,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96da8c48012d7e788005d1f640000600bf1f..."} 
[2026-07-25 06:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96da8c48012d7e788005d1f640000600bf1f..."} 
[2026-07-25 06:49:51] local.INFO: Processing buffer {"connection_id":141933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96da8c48012d7e788005d1f640000600bf1f..."} 
[2026-07-25 06:49:51] local.INFO: Packet analysis {"connection_id":141933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:51] local.INFO: Extracted packet for processing {"connection_id":141933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:49:51] local.INFO: GPS Element Parsed {"raw_longitude":763263104,"raw_latitude":97646144,"longitude_deg":76.3263104,"latitude_deg":9.7646144,"altitude":6,"angle":191,"satellites":31,"speed":5,"hex_longitude":"2d7e7880","hex_latitude":"05d1f640","is_valid_coordinates":true} 
[2026-07-25 06:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945232896001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110024039782678528,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112822764751265792,"note":"Value kept but may cause issues"} 
[2026-07-25 06:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784942333000,"timestamp_ms":1784942333000,"timestamp_seconds":1784942333,"priority":1,"record_length":96,"hex_timestamp":"0000019f96da8c48"} 
[2026-07-25 06:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-07-25 06:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945232896001,"66":13689,"116":206,"85":15104,"24":5,"16":110024039782678528,"45":9112822764751265792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945232896001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:49:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110024039782678528,"km_value":110024039782678.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112822764751265792,"description":"Unknown IO ID 45"} 
[2026-07-25 06:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945232896001,"power":13689,"unknown_116":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9112822764751265792}} 
[2026-07-25 06:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":141933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:49:51] local.INFO: GPS data processed {"connection_id":141933,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:49:51] local.INFO: Acknowledgment sent {"connection_id":141933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:49:56] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:49:56] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:49:56] local.INFO: IMEI packet received {"connection_id":140936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":140936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:50:01] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:01] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:01] local.INFO: IMEI packet received {"connection_id":140936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":140936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:50:03] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96da6d08012d3ca3c006a44510003a00c42e..."} 
[2026-07-25 06:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96da6d08012d3ca3c006a44510003a00c42e..."} 
[2026-07-25 06:50:03] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96da6d08012d3ca3c006a44510003a00c42e..."} 
[2026-07-25 06:50:03] local.INFO: Packet analysis {"connection_id":140936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:50:03] local.INFO: Extracted packet for processing {"connection_id":140936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758948800,"raw_latitude":111428880,"longitude_deg":75.89488,"latitude_deg":11.142888,"altitude":58,"angle":196,"satellites":46,"speed":48,"hex_longitude":"2d3ca3c0","hex_latitude":"06a44510","is_valid_coordinates":true} 
[2026-07-25 06:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945235200001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356893180794241024,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369547198237839360,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784942325000,"timestamp_ms":1784942325000,"timestamp_seconds":1784942325,"priority":1,"record_length":96,"hex_timestamp":"0000019f96da6d08"} 
[2026-07-25 06:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945235200001,"66":27865,"133":206,"81":49664,"24":48,"16":356893180794241024,"45":4369547198237839360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-25 06:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945235200001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:50:03] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 06:50:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356893180794241024,"km_value":356893180794241.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369547198237839360,"description":"Unknown IO ID 45"} 
[2026-07-25 06:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945235200001,"power":27865,"unknown_133":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4369547198237839360}} 
[2026-07-25 06:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":140936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:50:03] local.INFO: GPS data processed {"connection_id":140936,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:50:03] local.INFO: Acknowledgment sent {"connection_id":140936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:50:23] local.INFO: TCP Data received {"connection_id":141933,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dab740012d7e784005d1f4980004000021..."} 
[2026-07-25 06:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dab740012d7e784005d1f4980004000021..."} 
[2026-07-25 06:50:23] local.INFO: Processing buffer {"connection_id":141933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dab740012d7e784005d1f4980004000021..."} 
[2026-07-25 06:50:23] local.INFO: Packet analysis {"connection_id":141933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:50:23] local.INFO: Extracted packet for processing {"connection_id":141933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:50:23] local.INFO: GPS Element Parsed {"raw_longitude":763263040,"raw_latitude":97645720,"longitude_deg":76.326304,"latitude_deg":9.764572,"altitude":4,"angle":0,"satellites":33,"speed":1,"hex_longitude":"2d7e7840","hex_latitude":"05d1f498","is_valid_coordinates":true} 
[2026-07-25 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-07-25 06:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945237248001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110024069847449600,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113174608469966848,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784942344000,"timestamp_ms":1784942344000,"timestamp_seconds":1784942344,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dab740"} 
[2026-07-25 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-07-25 06:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-25 06:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 06:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":141933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":141933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":141933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945237248001,"66":13580,"116":206,"85":15104,"24":1,"16":110024069847449600,"45":9113174608469966848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945237248001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:50:23] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:50:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110024069847449600,"km_value":110024069847449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113174608469966848,"description":"Unknown IO ID 45"} 
[2026-07-25 06:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945237248001,"power":13580,"unknown_116":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9113174608469966848}} 
[2026-07-25 06:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":141933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:50:23] local.INFO: GPS data processed {"connection_id":141933,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:50:23] local.INFO: Acknowledgment sent {"connection_id":141933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:50:37] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96da8090012d3c9fc006a42e68003c00b92f..."} 
[2026-07-25 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96da8090012d3c9fc006a42e68003c00b92f..."} 
[2026-07-25 06:50:37] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96da8090012d3c9fc006a42e68003c00b92f..."} 
[2026-07-25 06:50:37] local.INFO: Packet analysis {"connection_id":140936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:50:37] local.INFO: Extracted packet for processing {"connection_id":140936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758947776,"raw_latitude":111423080,"longitude_deg":75.8947776,"latitude_deg":11.142308,"altitude":60,"angle":185,"satellites":47,"speed":45,"hex_longitude":"2d3c9fc0","hex_latitude":"06a42e68","is_valid_coordinates":true} 
[2026-07-25 06:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945235200001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356893464262082560,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369547198237839360,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784942330000,"timestamp_ms":1784942330000,"timestamp_seconds":1784942330,"priority":1,"record_length":96,"hex_timestamp":"0000019f96da8090"} 
[2026-07-25 06:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945235200001,"66":27821,"133":206,"81":49664,"24":45,"16":356893464262082560,"45":4369547198237839360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-25 06:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945235200001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:50:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 06:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356893464262082560,"km_value":356893464262082.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369547198237839360,"description":"Unknown IO ID 45"} 
[2026-07-25 06:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945235200001,"power":27821,"unknown_133":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4369547198237839360}} 
[2026-07-25 06:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":140936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:50:37] local.INFO: GPS data processed {"connection_id":140936,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:50:37] local.INFO: Acknowledgment sent {"connection_id":140936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:50:41] local.INFO: TCP Data received {"connection_id":141934,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:50:41] local.INFO: Processing buffer {"connection_id":141934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:50:41] local.INFO: IMEI packet received {"connection_id":141934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":141934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:50:45] local.INFO: TCP Data received {"connection_id":141934,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:50:45] local.INFO: Processing buffer {"connection_id":141934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:50:45] local.INFO: IMEI packet received {"connection_id":141934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":141934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:50:46] local.INFO: TCP Data received {"connection_id":141934,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96db99d0012d7e758005d237400002016021..."} 
[2026-07-25 06:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96db99d0012d7e758005d237400002016021..."} 
[2026-07-25 06:50:46] local.INFO: Processing buffer {"connection_id":141934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96db99d0012d7e758005d237400002016021..."} 
[2026-07-25 06:50:46] local.INFO: Packet analysis {"connection_id":141934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96db"} 
[2026-07-25 06:50:46] local.INFO: Extracted packet for processing {"connection_id":141934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96db"} 
[2026-07-25 06:50:46] local.INFO: GPS Element Parsed {"raw_longitude":763262336,"raw_latitude":97662784,"longitude_deg":76.3262336,"latitude_deg":9.7662784,"altitude":2,"angle":352,"satellites":33,"speed":10,"hex_longitude":"2d7e7580","hex_latitude":"05d23740","is_valid_coordinates":true} 
[2026-07-25 06:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945252864001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110024915956006912,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112400552287334400,"note":"Value kept but may cause issues"} 
[2026-07-25 06:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784942402000,"timestamp_ms":1784942402000,"timestamp_seconds":1784942402,"priority":1,"record_length":96,"hex_timestamp":"0000019f96db99d0"} 
[2026-07-25 06:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 06:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945252864001,"66":13602,"116":206,"85":15104,"24":10,"16":110024915956006912,"45":9112400552287334400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945252864001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:50:46] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:50:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110024915956006912,"km_value":110024915956006.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112400552287334400,"description":"Unknown IO ID 45"} 
[2026-07-25 06:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945252864001,"power":13602,"unknown_116":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9112400552287334400}} 
[2026-07-25 06:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":141934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:50:46] local.INFO: GPS data processed {"connection_id":141934,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:50:46] local.INFO: Acknowledgment sent {"connection_id":141934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:50:56] local.INFO: TCP Data received {"connection_id":141935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:56] local.INFO: Processing buffer {"connection_id":141935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:56] local.INFO: IMEI packet received {"connection_id":141935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":141935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:50:59] local.INFO: TCP Data received {"connection_id":141935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:59] local.INFO: Processing buffer {"connection_id":141935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:50:59] local.INFO: IMEI packet received {"connection_id":141935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":141935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:51:01] local.INFO: TCP Data received {"connection_id":141935,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:51:01] local.INFO: Processing buffer {"connection_id":141935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:51:01] local.INFO: IMEI packet received {"connection_id":141935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":141935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:51:02] local.INFO: TCP Data received {"connection_id":141935,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96daa3b8012d3c9f4006a407f0003f00b32f..."} 
[2026-07-25 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96daa3b8012d3c9f4006a407f0003f00b32f..."} 
[2026-07-25 06:51:02] local.INFO: Processing buffer {"connection_id":141935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96daa3b8012d3c9f4006a407f0003f00b32f..."} 
[2026-07-25 06:51:02] local.INFO: Packet analysis {"connection_id":141935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:51:02] local.INFO: Extracted packet for processing {"connection_id":141935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96da"} 
[2026-07-25 06:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758947648,"raw_latitude":111413232,"longitude_deg":75.8947648,"latitude_deg":11.1413232,"altitude":63,"angle":179,"satellites":47,"speed":42,"hex_longitude":"2d3c9f40","hex_latitude":"06a407f0","is_valid_coordinates":true} 
[2026-07-25 06:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945236480001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356893945298419712,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368421298329511936,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784942339000,"timestamp_ms":1784942339000,"timestamp_seconds":1784942339,"priority":1,"record_length":96,"hex_timestamp":"0000019f96daa3b8"} 
[2026-07-25 06:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 06:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945236480001,"66":27767,"133":206,"81":49664,"24":42,"16":356893945298419712,"45":4368421298329511936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-25 06:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945236480001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:51:02] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 06:51:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-25 06:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356893945298419712,"km_value":356893945298419.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368421298329511936,"description":"Unknown IO ID 45"} 
[2026-07-25 06:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945236480001,"power":27767,"unknown_133":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4368421298329511936}} 
[2026-07-25 06:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":141935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:51:02] local.INFO: GPS data processed {"connection_id":141935,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:51:02] local.INFO: Acknowledgment sent {"connection_id":141935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:51:17] local.INFO: TCP Data received {"connection_id":141934,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dbebd8012d7e750005d23b30000301591e..."} 
[2026-07-25 06:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dbebd8012d7e750005d23b30000301591e..."} 
[2026-07-25 06:51:17] local.INFO: Processing buffer {"connection_id":141934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dbebd8012d7e750005d23b30000301591e..."} 
[2026-07-25 06:51:17] local.INFO: Packet analysis {"connection_id":141934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96db"} 
[2026-07-25 06:51:17] local.INFO: Extracted packet for processing {"connection_id":141934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96db"} 
[2026-07-25 06:51:17] local.INFO: GPS Element Parsed {"raw_longitude":763262208,"raw_latitude":97663792,"longitude_deg":76.3262208,"latitude_deg":9.7663792,"altitude":3,"angle":345,"satellites":30,"speed":0,"hex_longitude":"2d7e7500","hex_latitude":"05d23b30","is_valid_coordinates":true} 
[2026-07-25 06:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945254912001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110024967495614464,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112330183544094720,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784942423000,"timestamp_ms":1784942423000,"timestamp_seconds":1784942423,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dbebd8"} 
[2026-07-25 06:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-25 06:51:17] 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-07-25 06:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945254912001,"66":13559,"116":206,"85":15104,"24":0,"16":110024967495614464,"45":9112330183544094720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945254912001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:51:17] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:51:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110024967495614464,"km_value":110024967495614.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112330183544094720,"description":"Unknown IO ID 45"} 
[2026-07-25 06:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945254912001,"power":13559,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112330183544094720}} 
[2026-07-25 06:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":141934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:51:17] local.INFO: GPS data processed {"connection_id":141934,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:51:17] local.INFO: Acknowledgment sent {"connection_id":141934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:51:33] local.INFO: TCP Data received {"connection_id":141935,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dc2670012d3c9a0006a255b8004f00a42c..."} 
[2026-07-25 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dc2670012d3c9a0006a255b8004f00a42c..."} 
[2026-07-25 06:51:33] local.INFO: Processing buffer {"connection_id":141935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dc2670012d3c9a0006a255b8004f00a42c..."} 
[2026-07-25 06:51:33] local.INFO: Packet analysis {"connection_id":141935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:51:33] local.INFO: Extracted packet for processing {"connection_id":141935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":758946304,"raw_latitude":111302072,"longitude_deg":75.8946304,"latitude_deg":11.1302072,"altitude":79,"angle":164,"satellites":44,"speed":47,"hex_longitude":"2d3c9a00","hex_latitude":"06a255b8","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945262080001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356899399906885632,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363776961185050624,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784942438000,"timestamp_ms":1784942438000,"timestamp_seconds":1784942438,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dc2670"} 
[2026-07-25 06:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:51: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-07-25 06: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-07-25 06:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945262080001,"66":27995,"221":206,"81":47616,"24":47,"16":356899399906885632,"45":4363776961185050624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-25 06:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945262080001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:51:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-25 06:51:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356899399906885632,"km_value":356899399906885.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363776961185050624,"description":"Unknown IO ID 45"} 
[2026-07-25 06:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945262080001,"power":27995,"unknown_221":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4363776961185050624}} 
[2026-07-25 06:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":141935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:51:33] local.INFO: GPS data processed {"connection_id":141935,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:51:33] local.INFO: Acknowledgment sent {"connection_id":141935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:51:41] local.INFO: TCP Data received {"connection_id":143288,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:51:41] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:51:41] local.INFO: IMEI packet received {"connection_id":143288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":143288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:51:46] local.INFO: TCP Data received {"connection_id":143288,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:51:46] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:51:46] local.INFO: IMEI packet received {"connection_id":143288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":143288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:51:47] local.INFO: TCP Data received {"connection_id":143288,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dc3de0012d7e750005d23b300003015922..."} 
[2026-07-25 06:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dc3de0012d7e750005d23b300003015922..."} 
[2026-07-25 06:51:47] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dc3de0012d7e750005d23b300003015922..."} 
[2026-07-25 06:51:47] local.INFO: Packet analysis {"connection_id":143288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:51:47] local.INFO: Extracted packet for processing {"connection_id":143288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":763262208,"raw_latitude":97663792,"longitude_deg":76.3262208,"latitude_deg":9.7663792,"altitude":3,"angle":345,"satellites":34,"speed":0,"hex_longitude":"2d7e7500","hex_latitude":"05d23b30","is_valid_coordinates":true} 
[2026-07-25 06:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945260288001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110024967495614464,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112189446055997440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942444000,"timestamp_ms":1784942444000,"timestamp_seconds":1784942444,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dc3de0"} 
[2026-07-25 06:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 06:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945260288001,"66":13374,"116":206,"85":15104,"24":0,"16":110024967495614464,"45":9112189446055997440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945260288001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110024967495614464,"km_value":110024967495614.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112189446055997440,"description":"Unknown IO ID 45"} 
[2026-07-25 06:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945260288001,"power":13374,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112189446055997440}} 
[2026-07-25 06:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":143288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:51:47] local.INFO: GPS data processed {"connection_id":143288,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:51:47] local.INFO: Acknowledgment sent {"connection_id":143288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:52:01] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:01] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:01] local.INFO: IMEI packet received {"connection_id":140888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":140888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:52:02] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:02] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:02] local.INFO: IMEI packet received {"connection_id":140888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":140888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:52:06] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:06] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:06] local.INFO: IMEI packet received {"connection_id":140888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":140888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:52:07] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dc45b0012d3ca24006a22f58005100ac2d..."} 
[2026-07-25 06:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dc45b0012d3ca24006a22f58005100ac2d..."} 
[2026-07-25 06:52:07] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dc45b0012d3ca24006a22f58005100ac2d..."} 
[2026-07-25 06:52:07] local.INFO: Packet analysis {"connection_id":140888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:07] local.INFO: Extracted packet for processing {"connection_id":140888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758948416,"raw_latitude":111292248,"longitude_deg":75.8948416,"latitude_deg":11.1292248,"altitude":81,"angle":172,"satellites":45,"speed":52,"hex_longitude":"2d3ca240","hex_latitude":"06a22f58","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945264128001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356899889533157376,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366802817182447616,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784942446000,"timestamp_ms":1784942446000,"timestamp_seconds":1784942446,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dc45b0"} 
[2026-07-25 06:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 06:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945264128001,"66":27930,"221":206,"81":47616,"24":52,"16":356899889533157376,"45":4366802817182447616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-25 06:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945264128001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:52:07] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-25 06:52:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356899889533157376,"km_value":356899889533157.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366802817182447616,"description":"Unknown IO ID 45"} 
[2026-07-25 06:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945264128001,"power":27930,"unknown_221":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4366802817182447616}} 
[2026-07-25 06:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":140888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:52:07] local.INFO: GPS data processed {"connection_id":140888,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:52:07] local.INFO: Acknowledgment sent {"connection_id":140888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:52:08] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dc6108012d3ca50006a20ab0004c00b12e..."} 
[2026-07-25 06:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dc6108012d3ca50006a20ab0004c00b12e..."} 
[2026-07-25 06:52:08] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dc6108012d3ca50006a20ab0004c00b12e..."} 
[2026-07-25 06:52:08] local.INFO: Packet analysis {"connection_id":140888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:08] local.INFO: Extracted packet for processing {"connection_id":140888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758949120,"raw_latitude":111282864,"longitude_deg":75.894912,"latitude_deg":11.1282864,"altitude":76,"angle":177,"satellites":46,"speed":55,"hex_longitude":"2d3ca500","hex_latitude":"06a20ab0","is_valid_coordinates":true} 
[2026-07-25 06:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945266176001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356900344799690752,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369124985737795584,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784942453000,"timestamp_ms":1784942453000,"timestamp_seconds":1784942453,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dc6108"} 
[2026-07-25 06:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 06:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945266176001,"66":27865,"221":206,"81":47616,"24":55,"16":356900344799690752,"45":4369124985737795584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-25 06:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945266176001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:52:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-25 06:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356900344799690752,"km_value":356900344799690.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369124985737795584,"description":"Unknown IO ID 45"} 
[2026-07-25 06:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945266176001,"power":27865,"unknown_221":206,"unknown_81":47616,"ignition":55,"odometer":null,"unknown_45":4369124985737795584}} 
[2026-07-25 06:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":140888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:52:08] local.INFO: GPS data processed {"connection_id":140888,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:52:08] local.INFO: Acknowledgment sent {"connection_id":140888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:52:11] local.INFO: TCP Data received {"connection_id":140888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dc7c60012d3ca6c006a1e350004700b12f..."} 
[2026-07-25 06:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dc7c60012d3ca6c006a1e350004700b12f..."} 
[2026-07-25 06:52:11] local.INFO: Processing buffer {"connection_id":140888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dc7c60012d3ca6c006a1e350004700b12f..."} 
[2026-07-25 06:52:11] local.INFO: Packet analysis {"connection_id":140888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:11] local.INFO: Extracted packet for processing {"connection_id":140888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758949568,"raw_latitude":111272784,"longitude_deg":75.8949568,"latitude_deg":11.1272784,"altitude":71,"angle":177,"satellites":47,"speed":59,"hex_longitude":"2d3ca6c0","hex_latitude":"06a1e350","is_valid_coordinates":true} 
[2026-07-25 06:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945267968001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356900834425962496,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369899041921347584,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784942460000,"timestamp_ms":1784942460000,"timestamp_seconds":1784942460,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dc7c60"} 
[2026-07-25 06:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945267968001,"66":27865,"221":206,"81":47616,"24":59,"16":356900834425962496,"45":4369899041921347584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-25 06:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945267968001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:52:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-25 06:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356900834425962496,"km_value":356900834425962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369899041921347584,"description":"Unknown IO ID 45"} 
[2026-07-25 06:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945267968001,"power":27865,"unknown_221":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4369899041921347584}} 
[2026-07-25 06:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":140888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:52:11] local.INFO: GPS data processed {"connection_id":140888,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:52:11] local.INFO: Acknowledgment sent {"connection_id":140888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:52:18] local.INFO: TCP Data received {"connection_id":143288,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dc5d20012d7e750005d23a800004009f23..."} 
[2026-07-25 06:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dc5d20012d7e750005d23a800004009f23..."} 
[2026-07-25 06:52:18] local.INFO: Processing buffer {"connection_id":143288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dc5d20012d7e750005d23a800004009f23..."} 
[2026-07-25 06:52:18] local.INFO: Packet analysis {"connection_id":143288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:18] local.INFO: Extracted packet for processing {"connection_id":143288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763262208,"raw_latitude":97663616,"longitude_deg":76.3262208,"latitude_deg":9.7663616,"altitude":4,"angle":159,"satellites":35,"speed":1,"hex_longitude":"2d7e7500","hex_latitude":"05d23a80","is_valid_coordinates":true} 
[2026-07-25 06:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945265664001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110024976085549056,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112189446055997440,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942452000,"timestamp_ms":1784942452000,"timestamp_seconds":1784942452,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dc5d20"} 
[2026-07-25 06:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 06:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945265664001,"66":13450,"116":206,"85":15104,"24":1,"16":110024976085549056,"45":9112189446055997440},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945265664001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110024976085549056,"km_value":110024976085549.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112189446055997440,"description":"Unknown IO ID 45"} 
[2026-07-25 06:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945265664001,"power":13450,"unknown_116":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9112189446055997440}} 
[2026-07-25 06:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":143288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541721,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:52:18] local.INFO: GPS data processed {"connection_id":143288,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:52:18] local.INFO: Acknowledgment sent {"connection_id":143288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:52:46] local.INFO: TCP Data received {"connection_id":141936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:52:46] local.INFO: Processing buffer {"connection_id":141936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:52:46] local.INFO: IMEI packet received {"connection_id":141936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":141936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:52:51] local.INFO: TCP Data received {"connection_id":141936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:52:51] local.INFO: Processing buffer {"connection_id":141936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:52:51] local.INFO: IMEI packet received {"connection_id":141936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":141936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:52:52] local.INFO: TCP Data received {"connection_id":141936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dcaf28012d7e758005d236e0000400ac24..."} 
[2026-07-25 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dcaf28012d7e758005d236e0000400ac24..."} 
[2026-07-25 06:52:52] local.INFO: Processing buffer {"connection_id":141936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dcaf28012d7e758005d236e0000400ac24..."} 
[2026-07-25 06:52:52] local.INFO: Packet analysis {"connection_id":141936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:52] local.INFO: Extracted packet for processing {"connection_id":141936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763262336,"raw_latitude":97662688,"longitude_deg":76.3262336,"latitude_deg":9.7662688,"altitude":4,"angle":172,"satellites":36,"speed":0,"hex_longitude":"2d7e7580","hex_latitude":"05d236e0","is_valid_coordinates":true} 
[2026-07-25 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945267712001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025031920123904,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112189446055952384,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784942473000,"timestamp_ms":1784942473000,"timestamp_seconds":1784942473,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dcaf28"} 
[2026-07-25 06:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-25 06:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945267712001,"66":13689,"116":206,"85":15104,"24":0,"16":110025031920123904,"45":9112189446055952384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945267712001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:52:52] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025031920123904,"km_value":110025031920123.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112189446055952384,"description":"Unknown IO ID 45"} 
[2026-07-25 06:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945267712001,"power":13689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112189446055952384}} 
[2026-07-25 06:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":141936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:52:52] local.INFO: GPS data processed {"connection_id":141936,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:52:52] local.INFO: Acknowledgment sent {"connection_id":141936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:52:56] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:56] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:52:56] local.INFO: IMEI packet received {"connection_id":140889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":140889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:52:56] local.INFO: TCP Data received {"connection_id":141936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dcfd48012d7e760005d23050000300a724..."} 
[2026-07-25 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dcfd48012d7e760005d23050000300a724..."} 
[2026-07-25 06:52:57] local.INFO: Processing buffer {"connection_id":141936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dcfd48012d7e760005d23050000300a724..."} 
[2026-07-25 06:52:57] local.INFO: Packet analysis {"connection_id":141936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:57] local.INFO: Extracted packet for processing {"connection_id":141936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dc"} 
[2026-07-25 06:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97661008,"longitude_deg":76.3262464,"latitude_deg":9.7661008,"altitude":3,"angle":167,"satellites":36,"speed":1,"hex_longitude":"2d7e7600","hex_latitude":"05d23050","is_valid_coordinates":true} 
[2026-07-25 06:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945273088001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025117819469824,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112330183544070144,"note":"Value kept but may cause issues"} 
[2026-07-25 06:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784942493000,"timestamp_ms":1784942493000,"timestamp_seconds":1784942493,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dcfd48"} 
[2026-07-25 06:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-25 06:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945273088001,"66":13493,"116":206,"85":15104,"24":1,"16":110025117819469824,"45":9112330183544070144},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945273088001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025117819469824,"km_value":110025117819469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112330183544070144,"description":"Unknown IO ID 45"} 
[2026-07-25 06:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945273088001,"power":13493,"unknown_116":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9112330183544070144}} 
[2026-07-25 06:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":141936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:52:57] local.INFO: GPS data processed {"connection_id":141936,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:52:57] local.INFO: Acknowledgment sent {"connection_id":141936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:53:00] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:53:00] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:53:00] local.INFO: IMEI packet received {"connection_id":140889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":140889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:53:04] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dd62d8012d3c528006a05f70002f00d42d..."} 
[2026-07-25 06:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dd62d8012d3c528006a05f70002f00d42d..."} 
[2026-07-25 06:53:04] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dd62d8012d3c528006a05f70002f00d42d..."} 
[2026-07-25 06:53:04] local.INFO: Packet analysis {"connection_id":140889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:04] local.INFO: Extracted packet for processing {"connection_id":140889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758928000,"raw_latitude":111173488,"longitude_deg":75.8928,"latitude_deg":11.1173488,"altitude":47,"angle":212,"satellites":45,"speed":60,"hex_longitude":"2d3c5280","hex_latitude":"06a05f70","is_valid_coordinates":true} 
[2026-07-25 06:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945283584001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356905820882993152,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350477268502198272,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784942519000,"timestamp_ms":1784942519000,"timestamp_seconds":1784942519,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dd62d8"} 
[2026-07-25 06:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:53: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-07-25 06:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945283584001,"66":27767,"107":206,"81":47616,"24":60,"16":356905820882993152,"45":4350477268502198272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-25 06:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945283584001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:53:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 06:53:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356905820882993152,"km_value":356905820882993.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350477268502198272,"description":"Unknown IO ID 45"} 
[2026-07-25 06:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945283584001,"power":27767,"unknown_107":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4350477268502198272}} 
[2026-07-25 06:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":140889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:53:04] local.INFO: GPS data processed {"connection_id":140889,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:53:04] local.INFO: Acknowledgment sent {"connection_id":140889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:53:05] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dd7e30012d3c3b4006a040b0003300d92d..."} 
[2026-07-25 06:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dd7e30012d3c3b4006a040b0003300d92d..."} 
[2026-07-25 06:53:05] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dd7e30012d3c3b4006a040b0003300d92d..."} 
[2026-07-25 06:53:05] local.INFO: Packet analysis {"connection_id":140889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:05] local.INFO: Extracted packet for processing {"connection_id":140889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758922048,"raw_latitude":111165616,"longitude_deg":75.8922048,"latitude_deg":11.1165616,"altitude":51,"angle":217,"satellites":45,"speed":50,"hex_longitude":"2d3c3b40","hex_latitude":"06a040b0","is_valid_coordinates":true} 
[2026-07-25 06:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945284864001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356906297624363008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4346677356314718208,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784942526000,"timestamp_ms":1784942526000,"timestamp_seconds":1784942526,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dd7e30"} 
[2026-07-25 06:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:53: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-07-25 06:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945284864001,"66":27767,"107":206,"81":47616,"24":50,"16":356906297624363008,"45":4346677356314718208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-25 06:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945284864001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:53:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 06:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356906297624363008,"km_value":356906297624363.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4346677356314718208,"description":"Unknown IO ID 45"} 
[2026-07-25 06:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945284864001,"power":27767,"unknown_107":206,"unknown_81":47616,"ignition":50,"odometer":null,"unknown_45":4346677356314718208}} 
[2026-07-25 06:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":140889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:53:05] local.INFO: GPS data processed {"connection_id":140889,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:53:05] local.INFO: Acknowledgment sent {"connection_id":140889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:53:36] local.INFO: TCP Data received {"connection_id":140889,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dd9d70012d3c244006a022c0003800d82b..."} 
[2026-07-25 06:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dd9d70012d3c244006a022c0003800d82b..."} 
[2026-07-25 06:53:36] local.INFO: Processing buffer {"connection_id":140889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dd9d70012d3c244006a022c0003800d82b..."} 
[2026-07-25 06:53:36] local.INFO: Packet analysis {"connection_id":140889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:36] local.INFO: Extracted packet for processing {"connection_id":140889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758916160,"raw_latitude":111157952,"longitude_deg":75.891616,"latitude_deg":11.1157952,"altitude":56,"angle":216,"satellites":43,"speed":45,"hex_longitude":"2d3c2440","hex_latitude":"06a022c0","is_valid_coordinates":true} 
[2026-07-25 06:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945286656001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356906761480830976,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4340133063104180224,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784942534000,"timestamp_ms":1784942534000,"timestamp_seconds":1784942534,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dd9d70"} 
[2026-07-25 06:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 06:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945286656001,"66":27865,"107":206,"81":47616,"24":45,"16":356906761480830976,"45":4340133063104180224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-25 06:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945286656001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:53:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 06:53:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356906761480830976,"km_value":356906761480831.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4340133063104180224,"description":"Unknown IO ID 45"} 
[2026-07-25 06:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945286656001,"power":27865,"unknown_107":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4340133063104180224}} 
[2026-07-25 06:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":140889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:53:36] local.INFO: GPS data processed {"connection_id":140889,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:53:36] local.INFO: Acknowledgment sent {"connection_id":140889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:53:41] local.INFO: TCP Data received {"connection_id":141937,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:53:41] local.INFO: Processing buffer {"connection_id":141937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:53:41] local.INFO: IMEI packet received {"connection_id":141937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":141937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:53:46] local.INFO: TCP Data received {"connection_id":141937,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:53:46] local.INFO: Processing buffer {"connection_id":141937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:53:46] local.INFO: IMEI packet received {"connection_id":141937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":141937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:53:47] local.INFO: TCP Data received {"connection_id":141937,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dd4f50012d7e760005d23038000300a724..."} 
[2026-07-25 06:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dd4f50012d7e760005d23038000300a724..."} 
[2026-07-25 06:53:47] local.INFO: Processing buffer {"connection_id":141937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dd4f50012d7e760005d23038000300a724..."} 
[2026-07-25 06:53:47] local.INFO: Packet analysis {"connection_id":141937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:47] local.INFO: Extracted packet for processing {"connection_id":141937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660984,"longitude_deg":76.3262464,"latitude_deg":9.7660984,"altitude":3,"angle":167,"satellites":36,"speed":0,"hex_longitude":"2d7e7600","hex_latitude":"05d23038","is_valid_coordinates":true} 
[2026-07-25 06:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945278208001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025117819469824,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031995392,"note":"Value kept but may cause issues"} 
[2026-07-25 06:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942514000,"timestamp_ms":1784942514000,"timestamp_seconds":1784942514,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dd4f50"} 
[2026-07-25 06:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-25 06:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945278208001,"66":13135,"116":206,"85":15104,"24":0,"16":110025117819469824,"45":9112470921031995392},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945278208001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025117819469824,"km_value":110025117819469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031995392,"description":"Unknown IO ID 45"} 
[2026-07-25 06:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945278208001,"power":13135,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031995392}} 
[2026-07-25 06:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":141937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:53:47] local.INFO: GPS data processed {"connection_id":141937,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:53:47] local.INFO: Acknowledgment sent {"connection_id":141937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:53:57] local.INFO: TCP Data received {"connection_id":143289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:53:57] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:53:57] local.INFO: IMEI packet received {"connection_id":143289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":143289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:54:02] local.INFO: TCP Data received {"connection_id":143289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:54:02] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:54:02] local.INFO: IMEI packet received {"connection_id":143289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":143289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:54:03] local.INFO: TCP Data received {"connection_id":143289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ddbcb0012d3c12c006a00670003b00cb2e..."} 
[2026-07-25 06:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ddbcb0012d3c12c006a00670003b00cb2e..."} 
[2026-07-25 06:54:03] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ddbcb0012d3c12c006a00670003b00cb2e..."} 
[2026-07-25 06:54:03] local.INFO: Packet analysis {"connection_id":143289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:03] local.INFO: Extracted packet for processing {"connection_id":143289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758911680,"raw_latitude":111150704,"longitude_deg":75.891168,"latitude_deg":11.1150704,"altitude":59,"angle":203,"satellites":46,"speed":39,"hex_longitude":"2d3c12c0","hex_latitude":"06a00670","is_valid_coordinates":true} 
[2026-07-25 06:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945288704001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356907173797691392,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4333659138637873152,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784942542000,"timestamp_ms":1784942542000,"timestamp_seconds":1784942542,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ddbcb0"} 
[2026-07-25 06:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 06:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945288704001,"66":27745,"107":206,"81":47616,"24":39,"16":356907173797691392,"45":4333659138637873152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-07-25 06:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945288704001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356907173797691392,"km_value":356907173797691.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4333659138637873152,"description":"Unknown IO ID 45"} 
[2026-07-25 06:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945288704001,"power":27745,"unknown_107":206,"unknown_81":47616,"ignition":39,"odometer":null,"unknown_45":4333659138637873152}} 
[2026-07-25 06:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":143289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:54:03] local.INFO: GPS data processed {"connection_id":143289,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:54:03] local.INFO: Acknowledgment sent {"connection_id":143289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:54:18] local.INFO: TCP Data received {"connection_id":141937,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dd7e30012d7e760005d22fe0000100b425..."} 
[2026-07-25 06:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dd7e30012d7e760005d22fe0000100b425..."} 
[2026-07-25 06:54:18] local.INFO: Processing buffer {"connection_id":141937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dd7e30012d7e760005d22fe0000100b425..."} 
[2026-07-25 06:54:18] local.INFO: Packet analysis {"connection_id":141937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:18] local.INFO: Extracted packet for processing {"connection_id":141937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660896,"longitude_deg":76.3262464,"latitude_deg":9.7660896,"altitude":1,"angle":180,"satellites":37,"speed":2,"hex_longitude":"2d7e7600","hex_latitude":"05d22fe0","is_valid_coordinates":true} 
[2026-07-25 06:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945283584001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025122114437120,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031989248,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942526000,"timestamp_ms":1784942526000,"timestamp_seconds":1784942526,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dd7e30"} 
[2026-07-25 06:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 06:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945283584001,"66":13526,"116":206,"85":15104,"24":2,"16":110025122114437120,"45":9112470921031989248},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945283584001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025122114437120,"km_value":110025122114437.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031989248,"description":"Unknown IO ID 45"} 
[2026-07-25 06:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945283584001,"power":13526,"unknown_116":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9112470921031989248}} 
[2026-07-25 06:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":141937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:54:18] local.INFO: GPS data processed {"connection_id":141937,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:54:18] local.INFO: Acknowledgment sent {"connection_id":141937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:54:36] local.INFO: TCP Data received {"connection_id":143289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dde3c0012d3c0940069fe508003e00c12e..."} 
[2026-07-25 06:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dde3c0012d3c0940069fe508003e00c12e..."} 
[2026-07-25 06:54:36] local.INFO: Processing buffer {"connection_id":143289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dde3c0012d3c0940069fe508003e00c12e..."} 
[2026-07-25 06:54:36] local.INFO: Packet analysis {"connection_id":143289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:36] local.INFO: Extracted packet for processing {"connection_id":143289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758909248,"raw_latitude":111142152,"longitude_deg":75.8909248,"latitude_deg":11.1142152,"altitude":62,"angle":193,"satellites":46,"speed":32,"hex_longitude":"2d3c0940","hex_latitude":"069fe508","is_valid_coordinates":true} 
[2026-07-25 06:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945290752001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356907607589388288,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4328733326543581184,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784942552000,"timestamp_ms":1784942552000,"timestamp_seconds":1784942552,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dde3c0"} 
[2026-07-25 06:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:54: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-07-25 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 06:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 06:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 06:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 06:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945290752001,"66":27767,"109":206,"81":47616,"24":32,"16":356907607589388288,"45":4328733326543581184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-07-25 06:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 06:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 06:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945290752001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:54:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 06:54:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 06:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356907607589388288,"km_value":356907607589388.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4328733326543581184,"description":"Unknown IO ID 45"} 
[2026-07-25 06:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945290752001,"power":27767,"unknown_109":206,"unknown_81":47616,"ignition":32,"odometer":null,"unknown_45":4328733326543581184}} 
[2026-07-25 06:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":143289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:54:36] local.INFO: GPS data processed {"connection_id":143289,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:54:36] local.INFO: Acknowledgment sent {"connection_id":143289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:54:41] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:54:41] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:54:41] local.INFO: IMEI packet received {"connection_id":140890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":140890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:54:46] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:54:46] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:54:46] local.INFO: IMEI packet received {"connection_id":140890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":140890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:54:47] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dd89e8012d7e760005d22f30000100a825..."} 
[2026-07-25 06:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dd89e8012d7e760005d22f30000100a825..."} 
[2026-07-25 06:54:47] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dd89e8012d7e760005d22f30000100a825..."} 
[2026-07-25 06:54:47] local.INFO: Packet analysis {"connection_id":140890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:47] local.INFO: Extracted packet for processing {"connection_id":140890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660720,"longitude_deg":76.3262464,"latitude_deg":9.766072,"altitude":1,"angle":168,"satellites":37,"speed":2,"hex_longitude":"2d7e7600","hex_latitude":"05d22f30","is_valid_coordinates":true} 
[2026-07-25 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945286656001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025130704371712,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031966720,"note":"Value kept but may cause issues"} 
[2026-07-25 06:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942529000,"timestamp_ms":1784942529000,"timestamp_seconds":1784942529,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dd89e8"} 
[2026-07-25 06:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 06:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945286656001,"66":12613,"116":206,"85":15104,"24":2,"16":110025130704371712,"45":9112470921031966720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945286656001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025130704371712,"km_value":110025130704371.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031966720,"description":"Unknown IO ID 45"} 
[2026-07-25 06:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945286656001,"power":12613,"unknown_116":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9112470921031966720}} 
[2026-07-25 06:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":140890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:54:47] local.INFO: GPS data processed {"connection_id":140890,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:54:47] local.INFO: Acknowledgment sent {"connection_id":140890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:55:04] local.INFO: TCP Data received {"connection_id":141938,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:55:04] local.INFO: Processing buffer {"connection_id":141938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:55:04] local.INFO: IMEI packet received {"connection_id":141938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 06:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":141938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:55:05] local.INFO: TCP Data received {"connection_id":141938,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141938,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 06:55:05] local.INFO: Processing buffer {"connection_id":141938,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 06:55:05] local.INFO: IMEI packet received {"connection_id":141938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":141938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:55:06] local.INFO: TCP Data received {"connection_id":141938,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 06:55:06] local.INFO: Processing buffer {"connection_id":141938,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 06:55:06] local.INFO: IMEI packet received {"connection_id":141938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 06:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":141938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:55:18] local.INFO: TCP Data received {"connection_id":140890,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:55:18] local.INFO: Processing buffer {"connection_id":140890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:55:18] local.INFO: Packet analysis {"connection_id":140890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:55:18] local.INFO: Extracted packet for processing {"connection_id":140890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660616,"longitude_deg":76.3262464,"latitude_deg":9.7660616,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7600","hex_latitude":"05d22ec8","is_valid_coordinates":true} 
[2026-07-25 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945287424001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031921664,"note":"Value kept but may cause issues"} 
[2026-07-25 06:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942536000,"timestamp_ms":1784942536000,"timestamp_seconds":1784942536,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dda540"} 
[2026-07-25 06:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 06:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 06:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945287424001,"66":13646,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031921664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945287424001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031921664,"description":"Unknown IO ID 45"} 
[2026-07-25 06:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945287424001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031921664}} 
[2026-07-25 06:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":140890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:55:18] local.INFO: GPS data processed {"connection_id":140890,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:55:18] local.INFO: Acknowledgment sent {"connection_id":140890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:55:41] local.INFO: TCP Data received {"connection_id":141939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:55:41] local.INFO: Processing buffer {"connection_id":141939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:55:41] local.INFO: IMEI packet received {"connection_id":141939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":141939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:55:46] local.INFO: TCP Data received {"connection_id":141939,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:55:46] local.INFO: Processing buffer {"connection_id":141939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:55:46] local.INFO: IMEI packet received {"connection_id":141939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":141939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:55:47] local.INFO: TCP Data received {"connection_id":141939,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:55:47] local.INFO: Processing buffer {"connection_id":141939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:55:47] local.INFO: Packet analysis {"connection_id":141939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:55:47] local.INFO: Extracted packet for processing {"connection_id":141939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660616,"longitude_deg":76.3262464,"latitude_deg":9.7660616,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7600","hex_latitude":"05d22ec8","is_valid_coordinates":true} 
[2026-07-25 06:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942536000,"timestamp_ms":1784942536000,"timestamp_seconds":1784942536,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dda540"} 
[2026-07-25 06:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":13646,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:55:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":141939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:55:47] local.INFO: GPS data processed {"connection_id":141939,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:55:47] local.INFO: Acknowledgment sent {"connection_id":141939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:56:18] local.INFO: TCP Data received {"connection_id":141939,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:56:18] local.INFO: Processing buffer {"connection_id":141939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:56:18] local.INFO: Packet analysis {"connection_id":141939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:56:18] local.INFO: Extracted packet for processing {"connection_id":141939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:56:18] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660616,"longitude_deg":76.3262464,"latitude_deg":9.7660616,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7600","hex_latitude":"05d22ec8","is_valid_coordinates":true} 
[2026-07-25 06:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942536000,"timestamp_ms":1784942536000,"timestamp_seconds":1784942536,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dda540"} 
[2026-07-25 06:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":13646,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:56:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:56:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":141939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:56:18] local.INFO: GPS data processed {"connection_id":141939,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:56:18] local.INFO: Acknowledgment sent {"connection_id":141939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:56:42] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:56:42] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:56:42] local.INFO: IMEI packet received {"connection_id":140892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":140892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:56:46] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:56:46] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:56:46] local.INFO: IMEI packet received {"connection_id":140892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":140892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:56:47] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:56:47] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:56:47] local.INFO: Packet analysis {"connection_id":140892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:56:47] local.INFO: Extracted packet for processing {"connection_id":140892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660616,"longitude_deg":76.3262464,"latitude_deg":9.7660616,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7600","hex_latitude":"05d22ec8","is_valid_coordinates":true} 
[2026-07-25 06:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942536000,"timestamp_ms":1784942536000,"timestamp_seconds":1784942536,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dda540"} 
[2026-07-25 06:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":13646,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":140892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:56:47] local.INFO: GPS data processed {"connection_id":140892,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:56:47] local.INFO: Acknowledgment sent {"connection_id":140892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:57:18] local.INFO: TCP Data received {"connection_id":140892,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:57:18] local.INFO: Processing buffer {"connection_id":140892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96dda540012d7e760005d22ec8000100ad26..."} 
[2026-07-25 06:57:18] local.INFO: Packet analysis {"connection_id":140892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:57:18] local.INFO: Extracted packet for processing {"connection_id":140892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96dd"} 
[2026-07-25 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":763262464,"raw_latitude":97660616,"longitude_deg":76.3262464,"latitude_deg":9.7660616,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7600","hex_latitude":"05d22ec8","is_valid_coordinates":true} 
[2026-07-25 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942536000,"timestamp_ms":1784942536000,"timestamp_seconds":1784942536,"priority":1,"record_length":96,"hex_timestamp":"0000019f96dda540"} 
[2026-07-25 06:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":13646,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":140892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:57:18] local.INFO: GPS data processed {"connection_id":140892,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:57:18] local.INFO: Acknowledgment sent {"connection_id":140892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:57:46] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:57:46] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:57:46] local.INFO: IMEI packet received {"connection_id":140938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":140938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:57:51] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:57:51] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:57:51] local.INFO: IMEI packet received {"connection_id":140938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":140938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:57:52] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:57:52] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:57:52] local.INFO: Packet analysis {"connection_id":140938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:57:52] local.INFO: Extracted packet for processing {"connection_id":140938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:57:52] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 06:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784942840000,"timestamp_ms":1784942840000,"timestamp_seconds":1784942840,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e248c0"} 
[2026-07-25 06:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":140938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":12689,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:57:52] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":12689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":140938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:57:52] local.INFO: GPS data processed {"connection_id":140938,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:57:52] local.INFO: Acknowledgment sent {"connection_id":140938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:57:57] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:57:57] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:57:57] local.INFO: Packet analysis {"connection_id":140938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:57:57] local.INFO: Extracted packet for processing {"connection_id":140938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784942840000,"timestamp_ms":1784942840000,"timestamp_seconds":1784942840,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e248c0"} 
[2026-07-25 06:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":140938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":12689,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:57:57] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":12689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":140938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:57:57] local.INFO: GPS data processed {"connection_id":140938,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:57:57] local.INFO: Acknowledgment sent {"connection_id":140938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:58:41] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:58:41] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:58:41] local.INFO: IMEI packet received {"connection_id":140894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":140894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:58:46] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:58:46] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:58:46] local.INFO: IMEI packet received {"connection_id":140894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":140894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:58:47] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:58:47] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:58:47] local.INFO: Packet analysis {"connection_id":140894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:58:47] local.INFO: Extracted packet for processing {"connection_id":140894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:58:47] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 06:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942840000,"timestamp_ms":1784942840000,"timestamp_seconds":1784942840,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e248c0"} 
[2026-07-25 06:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":12689,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":12689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":140894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:58:47] local.INFO: GPS data processed {"connection_id":140894,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:58:47] local.INFO: Acknowledgment sent {"connection_id":140894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:58:52] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:58:52] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:58:52] local.INFO: Packet analysis {"connection_id":140894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:58:52] local.INFO: Extracted packet for processing {"connection_id":140894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784942840000,"timestamp_ms":1784942840000,"timestamp_seconds":1784942840,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e248c0"} 
[2026-07-25 06:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":140894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":140894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":140894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":12689,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:58:52] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":12689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":140894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:58:52] local.INFO: GPS data processed {"connection_id":140894,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:58:52] local.INFO: Acknowledgment sent {"connection_id":140894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:59:23] local.INFO: TCP Data received {"connection_id":140894,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:59:23] local.INFO: Processing buffer {"connection_id":140894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:59:23] local.INFO: Packet analysis {"connection_id":140894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:59:23] local.INFO: Extracted packet for processing {"connection_id":140894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 06: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-07-25 06:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784942840000,"timestamp_ms":1784942840000,"timestamp_seconds":1784942840,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e248c0"} 
[2026-07-25 06:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06: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-07-25 06:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":12689,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:59:23] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":12689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":140894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:59:23] local.INFO: GPS data processed {"connection_id":140894,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:59:23] local.INFO: Acknowledgment sent {"connection_id":140894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 06:59:41] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:59:41] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:59:41] local.INFO: IMEI packet received {"connection_id":140939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 06:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":140939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 06:59:46] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:59:46] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 06:59:46] local.INFO: IMEI packet received {"connection_id":140939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 06:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":140939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 06:59:47] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:59:47] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e248c0012d7e748005d22e98000100ad25..."} 
[2026-07-25 06:59:47] local.INFO: Packet analysis {"connection_id":140939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:59:47] local.INFO: Extracted packet for processing {"connection_id":140939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e2"} 
[2026-07-25 06:59:47] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":37,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 06:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 06:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945289216001,"note":"Value kept but may cause issues"} 
[2026-07-25 06:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 06:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112470921031895040,"note":"Value kept but may cause issues"} 
[2026-07-25 06:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 06:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942840000,"timestamp_ms":1784942840000,"timestamp_seconds":1784942840,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e248c0"} 
[2026-07-25 06:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 06:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 06: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 06:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 06:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 06:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 06:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 06:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 06:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 06:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 06:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 06:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 06:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945289216001,"66":12689,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112470921031895040},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 06:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 06:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945289216001,"description":"Unknown IO ID 0"} 
[2026-07-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 06:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 06:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112470921031895040,"description":"Unknown IO ID 45"} 
[2026-07-25 06:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945289216001,"power":12689,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112470921031895040}} 
[2026-07-25 06:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":140939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 06:59:47] local.INFO: GPS data processed {"connection_id":140939,"processed":1,"errors":0,"total":1} 
[2026-07-25 06:59:47] local.INFO: Acknowledgment sent {"connection_id":140939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:00:11] local.INFO: TCP Data received {"connection_id":140895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:11] local.INFO: Processing buffer {"connection_id":140895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:11] local.INFO: IMEI packet received {"connection_id":140895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":140895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:00:13] local.INFO: TCP Data received {"connection_id":140895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e40228012d3f3480069929f80018004c2e..."} 
[2026-07-25 07:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e40228012d3f3480069929f80018004c2e..."} 
[2026-07-25 07:00:13] local.INFO: Processing buffer {"connection_id":140895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e40228012d3f3480069929f80018004c2e..."} 
[2026-07-25 07:00:13] local.INFO: Packet analysis {"connection_id":140895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:00:13] local.INFO: Extracted packet for processing {"connection_id":140895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":759116928,"raw_latitude":110701048,"longitude_deg":75.9116928,"latitude_deg":11.0701048,"altitude":24,"angle":76,"satellites":46,"speed":45,"hex_longitude":"2d3f3480","hex_latitude":"069929f8","is_valid_coordinates":true} 
[2026-07-25 07:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945395968001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356933815479828480,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4554405889006237696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784942953000,"timestamp_ms":1784942953000,"timestamp_seconds":1784942953,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e40228"} 
[2026-07-25 07:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07: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-07-25 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 07:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945395968001,"66":27995,"232":206,"81":47616,"24":45,"16":356933815479828480,"45":4554405889006237696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-25 07:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945395968001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:00:13] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-25 07:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356933815479828480,"km_value":356933815479828.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4554405889006237696,"description":"Unknown IO ID 45"} 
[2026-07-25 07:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945395968001,"power":27995,"unknown_232":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4554405889006237696}} 
[2026-07-25 07:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":140895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:00:13] local.INFO: GPS data processed {"connection_id":140895,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:00:13] local.INFO: Acknowledgment sent {"connection_id":140895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:00:18] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e4aa20012d7e748005d22e98000100ad26..."} 
[2026-07-25 07:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e4aa20012d7e748005d22e98000100ad26..."} 
[2026-07-25 07:00:18] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e4aa20012d7e748005d22e98000100ad26..."} 
[2026-07-25 07:00:18] local.INFO: Packet analysis {"connection_id":140939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:00:18] local.INFO: Extracted packet for processing {"connection_id":140939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 07:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112048708566816768,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784942996000,"timestamp_ms":1784942996000,"timestamp_seconds":1784942996,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e4aa20"} 
[2026-07-25 07:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 07: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 07:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945367040001,"66":12624,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112048708566816768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112048708566816768,"description":"Unknown IO ID 45"} 
[2026-07-25 07:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945367040001,"power":12624,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112048708566816768}} 
[2026-07-25 07:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":140939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:00:18] local.INFO: GPS data processed {"connection_id":140939,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:00:18] local.INFO: Acknowledgment sent {"connection_id":140939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:00:40] local.INFO: TCP Data received {"connection_id":143291,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:40] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:40] local.INFO: IMEI packet received {"connection_id":143291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":143291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:00:41] local.INFO: TCP Data received {"connection_id":143291,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:41] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:41] local.INFO: IMEI packet received {"connection_id":143291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":143291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:00:46] local.INFO: TCP Data received {"connection_id":143291,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:46] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:00:46] local.INFO: IMEI packet received {"connection_id":143291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":143291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:00:47] local.INFO: TCP Data received {"connection_id":143291,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e4aa20012d7e748005d22e98000100ad26..."} 
[2026-07-25 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e4aa20012d7e748005d22e98000100ad26..."} 
[2026-07-25 07:00:47] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e4aa20012d7e748005d22e98000100ad26..."} 
[2026-07-25 07:00:47] local.INFO: Packet analysis {"connection_id":143291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:00:47] local.INFO: Extracted packet for processing {"connection_id":143291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":763262080,"raw_latitude":97660568,"longitude_deg":76.326208,"latitude_deg":9.7660568,"altitude":1,"angle":173,"satellites":38,"speed":0,"hex_longitude":"2d7e7480","hex_latitude":"05d22e98","is_valid_coordinates":true} 
[2026-07-25 07:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945406976001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110025134999339008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112048708566816768,"note":"Value kept but may cause issues"} 
[2026-07-25 07:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784942996000,"timestamp_ms":1784942996000,"timestamp_seconds":1784942996,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e4aa20"} 
[2026-07-25 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 07:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945406976001,"66":12624,"116":206,"85":15104,"24":0,"16":110025134999339008,"45":9112048708566816768},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945406976001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110025134999339008,"km_value":110025134999339.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112048708566816768,"description":"Unknown IO ID 45"} 
[2026-07-25 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945406976001,"power":12624,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9112048708566816768}} 
[2026-07-25 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":143291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:00:47] local.INFO: GPS data processed {"connection_id":143291,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:00:47] local.INFO: Acknowledgment sent {"connection_id":143291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:00:56] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:56] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:56] local.INFO: IMEI packet received {"connection_id":140896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":140896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:00:57] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:57] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:00:57] local.INFO: IMEI packet received {"connection_id":140896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":140896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:01:01] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:01:01] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:01:01] local.INFO: IMEI packet received {"connection_id":140896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":140896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:01:03] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e41d80012d3f5300069933e0001800412f..."} 
[2026-07-25 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e41d80012d3f5300069933e0001800412f..."} 
[2026-07-25 07:01:03] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e41d80012d3f5300069933e0001800412f..."} 
[2026-07-25 07:01:03] local.INFO: Packet analysis {"connection_id":140896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:01:03] local.INFO: Extracted packet for processing {"connection_id":140896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":759124736,"raw_latitude":110703584,"longitude_deg":75.9124736,"latitude_deg":11.0703584,"altitude":24,"angle":65,"satellites":47,"speed":46,"hex_longitude":"2d3f5300","hex_latitude":"069933e0","is_valid_coordinates":true} 
[2026-07-25 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945395968001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356934210616819712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4554405889006237696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784942960000,"timestamp_ms":1784942960000,"timestamp_seconds":1784942960,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e41d80"} 
[2026-07-25 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 07: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-07-25 07:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945395968001,"66":27593,"232":206,"81":47616,"24":46,"16":356934210616819712,"45":4554405889006237696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-25 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945395968001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:01:03] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-25 07:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356934210616819712,"km_value":356934210616819.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4554405889006237696,"description":"Unknown IO ID 45"} 
[2026-07-25 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945395968001,"power":27593,"unknown_232":206,"unknown_81":47616,"ignition":46,"odometer":null,"unknown_45":4554405889006237696}} 
[2026-07-25 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":140896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:01:03] local.INFO: GPS data processed {"connection_id":140896,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:01:03] local.INFO: Acknowledgment sent {"connection_id":140896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:01:07] local.INFO: TCP Data received {"connection_id":140896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e43cc0012d3f768006994300001800432f..."} 
[2026-07-25 07:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e43cc0012d3f768006994300001800432f..."} 
[2026-07-25 07:01:07] local.INFO: Processing buffer {"connection_id":140896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e43cc0012d3f768006994300001800432f..."} 
[2026-07-25 07:01:07] local.INFO: Packet analysis {"connection_id":140896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:01:07] local.INFO: Extracted packet for processing {"connection_id":140896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e4"} 
[2026-07-25 07:01:07] local.INFO: GPS Element Parsed {"raw_longitude":759133824,"raw_latitude":110707456,"longitude_deg":75.9133824,"latitude_deg":11.0707456,"altitude":24,"angle":67,"satellites":47,"speed":51,"hex_longitude":"2d3f7680","hex_latitude":"06994300","is_valid_coordinates":true} 
[2026-07-25 07:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945397760001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356934678768254976,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4562990875796561920,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784942968000,"timestamp_ms":1784942968000,"timestamp_seconds":1784942968,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e43cc0"} 
[2026-07-25 07:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 07:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945397760001,"66":27800,"232":206,"81":47616,"24":51,"16":356934678768254976,"45":4562990875796561920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-25 07:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945397760001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:01:07] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-25 07:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356934678768254976,"km_value":356934678768255.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4562990875796561920,"description":"Unknown IO ID 45"} 
[2026-07-25 07:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945397760001,"power":27800,"unknown_232":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4562990875796561920}} 
[2026-07-25 07:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":140896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:01:07] local.INFO: GPS data processed {"connection_id":140896,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:01:07] local.INFO: Acknowledgment sent {"connection_id":140896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:01:18] local.INFO: TCP Data received {"connection_id":143291,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e588c8012d7e570005d271180000015b27..."} 
[2026-07-25 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e588c8012d7e570005d271180000015b27..."} 
[2026-07-25 07:01:18] local.INFO: Processing buffer {"connection_id":143291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e588c8012d7e570005d271180000015b27..."} 
[2026-07-25 07:01:18] local.INFO: Packet analysis {"connection_id":143291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:01:18] local.INFO: Extracted packet for processing {"connection_id":143291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763254528,"raw_latitude":97677592,"longitude_deg":76.3254528,"latitude_deg":9.7677592,"altitude":0,"angle":347,"satellites":39,"speed":28,"hex_longitude":"2d7e5700","hex_latitude":"05d27118","is_valid_coordinates":true} 
[2026-07-25 07:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945420288001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110026092777046016,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104871096664246272,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943053000,"timestamp_ms":1784943053000,"timestamp_seconds":1784943053,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e588c8"} 
[2026-07-25 07:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-25 07:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945420288001,"66":13678,"116":206,"85":15104,"24":28,"16":110026092777046016,"45":9104871096664246272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945420288001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110026092777046016,"km_value":110026092777046.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104871096664246272,"description":"Unknown IO ID 45"} 
[2026-07-25 07:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945420288001,"power":13678,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9104871096664246272}} 
[2026-07-25 07:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":143291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:01:18] local.INFO: GPS data processed {"connection_id":143291,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:01:18] local.INFO: Acknowledgment sent {"connection_id":143291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:01:41] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:41] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:41] local.INFO: IMEI packet received {"connection_id":140940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":140940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:01:42] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:42] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:42] local.INFO: IMEI packet received {"connection_id":140940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":140940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:01:46] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:46] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:01:46] local.INFO: IMEI packet received {"connection_id":140940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":140940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:01:47] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e5b3c0012d7e530005d28fb80004000126..."} 
[2026-07-25 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e5b3c0012d7e530005d28fb80004000126..."} 
[2026-07-25 07:01:47] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e5b3c0012d7e530005d28fb80004000126..."} 
[2026-07-25 07:01:47] local.INFO: Packet analysis {"connection_id":140940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:01:47] local.INFO: Extracted packet for processing {"connection_id":140940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":763253504,"raw_latitude":97685432,"longitude_deg":76.3253504,"latitude_deg":9.7685432,"altitude":4,"angle":1,"satellites":38,"speed":26,"hex_longitude":"2d7e5300","hex_latitude":"05d28fb8","is_valid_coordinates":true} 
[2026-07-25 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945421568001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110026475029135360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103745196758210560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943064000,"timestamp_ms":1784943064000,"timestamp_seconds":1784943064,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e5b3c0"} 
[2026-07-25 07:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 07:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945421568001,"66":13678,"116":206,"85":15104,"24":26,"16":110026475029135360,"45":9103745196758210560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945421568001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:01:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:01:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110026475029135360,"km_value":110026475029135.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103745196758210560,"description":"Unknown IO ID 45"} 
[2026-07-25 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945421568001,"power":13678,"unknown_116":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9103745196758210560}} 
[2026-07-25 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":140940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:01:47] local.INFO: GPS data processed {"connection_id":140940,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:01:47] local.INFO: Acknowledgment sent {"connection_id":140940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:01:56] local.INFO: TCP Data received {"connection_id":143292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:01:56] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:01:56] local.INFO: IMEI packet received {"connection_id":143292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":143292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:02:00] local.INFO: TCP Data received {"connection_id":143292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:00] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:00] local.INFO: IMEI packet received {"connection_id":143292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:02:01] local.INFO: TCP Data received {"connection_id":143292,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:01] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:01] local.INFO: IMEI packet received {"connection_id":143292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":143292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:02:03] local.INFO: TCP Data received {"connection_id":143292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e57158012d40b7800698e7700022007c32..."} 
[2026-07-25 07:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e57158012d40b7800698e7700022007c32..."} 
[2026-07-25 07:02:03] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e57158012d40b7800698e7700022007c32..."} 
[2026-07-25 07:02:03] local.INFO: Packet analysis {"connection_id":143292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:03] local.INFO: Extracted packet for processing {"connection_id":143292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:03] local.INFO: GPS Element Parsed {"raw_longitude":759216000,"raw_latitude":110684016,"longitude_deg":75.9216,"latitude_deg":11.0684016,"altitude":34,"angle":124,"satellites":50,"speed":37,"hex_longitude":"2d40b780","hex_latitude":"0698e770","is_valid_coordinates":true} 
[2026-07-25 07:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945417472001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356939102584569856,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4654751718200694784,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784943047000,"timestamp_ms":1784943047000,"timestamp_seconds":1784943047,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e57158"} 
[2026-07-25 07:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945417472001,"66":27800,"71":206,"81":47616,"24":37,"16":356939102584569856,"45":4654751718200694784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-25 07:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945417472001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:02:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 07:02:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356939102584569856,"km_value":356939102584569.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4654751718200694784,"description":"Unknown IO ID 45"} 
[2026-07-25 07:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945417472001,"power":27800,"unknown_71":206,"unknown_81":47616,"ignition":37,"odometer":null,"unknown_45":4654751718200694784}} 
[2026-07-25 07:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":143292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:02:03] local.INFO: GPS data processed {"connection_id":143292,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:02:03] local.INFO: Acknowledgment sent {"connection_id":143292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:02:07] local.INFO: TCP Data received {"connection_id":143292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e59868012d40d7c00698d2580023007a32..."} 
[2026-07-25 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e59868012d40d7c00698d2580023007a32..."} 
[2026-07-25 07:02:07] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e59868012d40d7c00698d2580023007a32..."} 
[2026-07-25 07:02:07] local.INFO: Packet analysis {"connection_id":143292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:07] local.INFO: Extracted packet for processing {"connection_id":143292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:07] local.INFO: GPS Element Parsed {"raw_longitude":759224256,"raw_latitude":110678616,"longitude_deg":75.9224256,"latitude_deg":11.0678616,"altitude":35,"angle":122,"satellites":50,"speed":40,"hex_longitude":"2d40d7c0","hex_latitude":"0698d258","is_valid_coordinates":true} 
[2026-07-25 07:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945420032001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356939575030972416,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4663336704988901376,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784943057000,"timestamp_ms":1784943057000,"timestamp_seconds":1784943057,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e59868"} 
[2026-07-25 07:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945420032001,"66":27974,"71":206,"81":47616,"24":40,"16":356939575030972416,"45":4663336704988901376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-25 07:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945420032001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:02:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 07:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356939575030972416,"km_value":356939575030972.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4663336704988901376,"description":"Unknown IO ID 45"} 
[2026-07-25 07:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945420032001,"power":27974,"unknown_71":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4663336704988901376}} 
[2026-07-25 07:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":143292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:02:07] local.INFO: GPS data processed {"connection_id":143292,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:02:07] local.INFO: Acknowledgment sent {"connection_id":143292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:02:18] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e5bb90012d7e53c005d294b00005000c26..."} 
[2026-07-25 07:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e5bb90012d7e53c005d294b00005000c26..."} 
[2026-07-25 07:02:18] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e5bb90012d7e53c005d294b00005000c26..."} 
[2026-07-25 07:02:18] local.INFO: Packet analysis {"connection_id":140940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:18] local.INFO: Extracted packet for processing {"connection_id":140940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763253696,"raw_latitude":97686704,"longitude_deg":76.3253696,"latitude_deg":9.7686704,"altitude":5,"angle":12,"satellites":38,"speed":25,"hex_longitude":"2d7e53c0","hex_latitude":"05d294b0","is_valid_coordinates":true} 
[2026-07-25 07:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945424384001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110026539453644800,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102619296853374976,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943066000,"timestamp_ms":1784943066000,"timestamp_seconds":1784943066,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e5bb90"} 
[2026-07-25 07:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:02: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-07-25 07:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 07:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945424384001,"66":13678,"116":206,"85":15104,"24":25,"16":110026539453644800,"45":9102619296853374976},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945424384001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:02:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:02:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110026539453644800,"km_value":110026539453644.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102619296853374976,"description":"Unknown IO ID 45"} 
[2026-07-25 07:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945424384001,"power":13678,"unknown_116":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9102619296853374976}} 
[2026-07-25 07:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":140940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541752,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:02:18] local.INFO: GPS data processed {"connection_id":140940,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:02:18] local.INFO: Acknowledgment sent {"connection_id":140940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:02:38] local.INFO: TCP Data received {"connection_id":143292,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e5bb90012d40f7400698be100025007b30..."} 
[2026-07-25 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e5bb90012d40f7400698be100025007b30..."} 
[2026-07-25 07:02:38] local.INFO: Processing buffer {"connection_id":143292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e5bb90012d40f7400698be100025007b30..."} 
[2026-07-25 07:02:38] local.INFO: Packet analysis {"connection_id":143292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:38] local.INFO: Extracted packet for processing {"connection_id":143292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":759232320,"raw_latitude":110673424,"longitude_deg":75.923232,"latitude_deg":11.0673424,"altitude":37,"angle":123,"satellites":48,"speed":44,"hex_longitude":"2d40f740","hex_latitude":"0698be10","is_valid_coordinates":true} 
[2026-07-25 07:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945422592001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356940034592473088,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4672414272986437632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784943066000,"timestamp_ms":1784943066000,"timestamp_seconds":1784943066,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e5bb90"} 
[2026-07-25 07:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 07:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945422592001,"66":28006,"71":206,"81":47616,"24":44,"16":356940034592473088,"45":4672414272986437632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-25 07:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945422592001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:02:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 07:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356940034592473088,"km_value":356940034592473.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4672414272986437632,"description":"Unknown IO ID 45"} 
[2026-07-25 07:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945422592001,"power":28006,"unknown_71":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4672414272986437632}} 
[2026-07-25 07:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":143292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:02:38] local.INFO: GPS data processed {"connection_id":143292,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:02:38] local.INFO: Acknowledgment sent {"connection_id":143292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:02:46] local.INFO: TCP Data received {"connection_id":141940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:02:46] local.INFO: Processing buffer {"connection_id":141940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:02:46] local.INFO: IMEI packet received {"connection_id":141940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":141940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:02:53] local.INFO: TCP Data received {"connection_id":141940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:02:53] local.INFO: Processing buffer {"connection_id":141940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:02:53] local.INFO: IMEI packet received {"connection_id":141940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":141940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:02:53] local.INFO: TCP Data received {"connection_id":141940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e5f628012d7e5a0005d2b7b80003000326..."} 
[2026-07-25 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e5f628012d7e5a0005d2b7b80003000326..."} 
[2026-07-25 07:02:53] local.INFO: Processing buffer {"connection_id":141940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e5f628012d7e5a0005d2b7b80003000326..."} 
[2026-07-25 07:02:53] local.INFO: Packet analysis {"connection_id":141940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:53] local.INFO: Extracted packet for processing {"connection_id":141940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763255296,"raw_latitude":97695672,"longitude_deg":76.3255296,"latitude_deg":9.7695672,"altitude":3,"angle":3,"satellites":38,"speed":16,"hex_longitude":"2d7e5a00","hex_latitude":"05d2b7b8","is_valid_coordinates":true} 
[2026-07-25 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945424896001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110026986130243584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102830403086233600,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784943081000,"timestamp_ms":1784943081000,"timestamp_seconds":1784943081,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e5f628"} 
[2026-07-25 07:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 07:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":141940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":141940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":141940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945424896001,"66":13559,"116":206,"85":15104,"24":16,"16":110026986130243584,"45":9102830403086233600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945424896001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:02:53] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110026986130243584,"km_value":110026986130243.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102830403086233600,"description":"Unknown IO ID 45"} 
[2026-07-25 07:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945424896001,"power":13559,"unknown_116":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9102830403086233600}} 
[2026-07-25 07:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":141940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:02:53] local.INFO: GPS data processed {"connection_id":141940,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:02:53] local.INFO: Acknowledgment sent {"connection_id":141940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:02:56] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:56] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:56] local.INFO: IMEI packet received {"connection_id":140941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":140941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:02:56] local.INFO: TCP Data received {"connection_id":141940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e64448012d7e598005d2cc300005016526..."} 
[2026-07-25 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e64448012d7e598005d2cc300005016526..."} 
[2026-07-25 07:02:56] local.INFO: Processing buffer {"connection_id":141940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e64448012d7e598005d2cc300005016526..."} 
[2026-07-25 07:02:56] local.INFO: Packet analysis {"connection_id":141940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:02:56] local.INFO: Extracted packet for processing {"connection_id":141940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763255168,"raw_latitude":97700912,"longitude_deg":76.3255168,"latitude_deg":9.7700912,"altitude":5,"angle":357,"satellites":38,"speed":11,"hex_longitude":"2d7e5980","hex_latitude":"05d2cc30","is_valid_coordinates":true} 
[2026-07-25 07:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945428736001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110027239533314048,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104589621692971008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784943101000,"timestamp_ms":1784943101000,"timestamp_seconds":1784943101,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e64448"} 
[2026-07-25 07:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 07:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945428736001,"66":13917,"116":206,"85":15104,"24":11,"16":110027239533314048,"45":9104589621692971008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945428736001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:02:56] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110027239533314048,"km_value":110027239533314.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104589621692971008,"description":"Unknown IO ID 45"} 
[2026-07-25 07:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945428736001,"power":13917,"unknown_116":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9104589621692971008}} 
[2026-07-25 07:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":141940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:02:57] local.INFO: GPS data processed {"connection_id":141940,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:02:57] local.INFO: Acknowledgment sent {"connection_id":141940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:02:59] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:59] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:02:59] local.INFO: IMEI packet received {"connection_id":140941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":140941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:03:01] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:01] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:01] local.INFO: IMEI packet received {"connection_id":140941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":140941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:03:02] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e5dad0012d4116400698aa480025007a32..."} 
[2026-07-25 07:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e5dad0012d4116400698aa480025007a32..."} 
[2026-07-25 07:03:02] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e5dad0012d4116400698aa480025007a32..."} 
[2026-07-25 07:03:02] local.INFO: Packet analysis {"connection_id":140941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:03:02] local.INFO: Extracted packet for processing {"connection_id":140941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:03:02] local.INFO: GPS Element Parsed {"raw_longitude":759240256,"raw_latitude":110668360,"longitude_deg":75.9240256,"latitude_deg":11.066836,"altitude":37,"angle":122,"satellites":50,"speed":49,"hex_longitude":"2d411640","hex_latitude":"0698aa48","is_valid_coordinates":true} 
[2026-07-25 07:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945424896001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356940485564039168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4681280734751494144,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784943074000,"timestamp_ms":1784943074000,"timestamp_seconds":1784943074,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e5dad0"} 
[2026-07-25 07:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 07:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945424896001,"66":27767,"71":206,"81":47616,"24":49,"16":356940485564039168,"45":4681280734751494144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-25 07:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945424896001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:03:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 07:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356940485564039168,"km_value":356940485564039.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4681280734751494144,"description":"Unknown IO ID 45"} 
[2026-07-25 07:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945424896001,"power":27767,"unknown_71":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4681280734751494144}} 
[2026-07-25 07:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":140941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:03:02] local.INFO: GPS data processed {"connection_id":140941,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:03:02] local.INFO: Acknowledgment sent {"connection_id":140941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:03:33] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e5f628012d413480069896a00024007c32..."} 
[2026-07-25 07:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e5f628012d413480069896a00024007c32..."} 
[2026-07-25 07:03:33] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e5f628012d413480069896a00024007c32..."} 
[2026-07-25 07:03:33] local.INFO: Packet analysis {"connection_id":140941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:03:33] local.INFO: Extracted packet for processing {"connection_id":140941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e5"} 
[2026-07-25 07:03:33] local.INFO: GPS Element Parsed {"raw_longitude":759248000,"raw_latitude":110663328,"longitude_deg":75.9248,"latitude_deg":11.0663328,"altitude":36,"angle":124,"satellites":50,"speed":54,"hex_longitude":"2d413480","hex_latitude":"069896a0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945426944001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356940927945670656,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4690006459028228096,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784943081000,"timestamp_ms":1784943081000,"timestamp_seconds":1784943081,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e5f628"} 
[2026-07-25 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-07-25 07:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945426944001,"66":27821,"71":206,"81":47616,"24":54,"16":356940927945670656,"45":4690006459028228096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-25 07:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945426944001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:03:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 07:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356940927945670656,"km_value":356940927945670.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4690006459028228096,"description":"Unknown IO ID 45"} 
[2026-07-25 07:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945426944001,"power":27821,"unknown_71":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4690006459028228096}} 
[2026-07-25 07:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":140941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:03:33] local.INFO: GPS data processed {"connection_id":140941,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:03:33] local.INFO: Acknowledgment sent {"connection_id":140941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:03:41] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:03:41] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:03:41] local.INFO: IMEI packet received {"connection_id":140897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":140897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:03:46] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:03:46] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:03:46] local.INFO: IMEI packet received {"connection_id":140897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":140897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:03:47] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e653e8012d7e58c005d2cfb00005015126..."} 
[2026-07-25 07:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e653e8012d7e58c005d2cfb00005015126..."} 
[2026-07-25 07:03:47] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e653e8012d7e58c005d2cfb00005015126..."} 
[2026-07-25 07:03:47] local.INFO: Packet analysis {"connection_id":140897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:03:47] local.INFO: Extracted packet for processing {"connection_id":140897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763254976,"raw_latitude":97701808,"longitude_deg":76.3254976,"latitude_deg":9.7701808,"altitude":5,"angle":337,"satellites":38,"speed":6,"hex_longitude":"2d7e58c0","hex_latitude":"05d2cfb0","is_valid_coordinates":true} 
[2026-07-25 07:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945433856001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110027282482987008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104448884205957120,"note":"Value kept but may cause issues"} 
[2026-07-25 07:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943105000,"timestamp_ms":1784943105000,"timestamp_seconds":1784943105,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e653e8"} 
[2026-07-25 07:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:03: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-07-25 07: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":93,"data_length":795,"current_offset":136} 
[2026-07-25 07:03:47] 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-07-25 07:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945433856001,"66":13059,"116":206,"85":15104,"24":6,"16":110027282482987008,"45":9104448884205957120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945433856001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110027282482987008,"km_value":110027282482987.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104448884205957120,"description":"Unknown IO ID 45"} 
[2026-07-25 07:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945433856001,"power":13059,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9104448884205957120}} 
[2026-07-25 07:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":140897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:03:47] local.INFO: GPS data processed {"connection_id":140897,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:03:47] local.INFO: Acknowledgment sent {"connection_id":140897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:03:56] local.INFO: TCP Data received {"connection_id":141941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:56] local.INFO: Processing buffer {"connection_id":141941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:56] local.INFO: IMEI packet received {"connection_id":141941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":141941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:03:57] local.INFO: TCP Data received {"connection_id":141941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:57] local.INFO: Processing buffer {"connection_id":141941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:03:57] local.INFO: IMEI packet received {"connection_id":141941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":141941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:04:01] local.INFO: TCP Data received {"connection_id":141941,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:04:01] local.INFO: Processing buffer {"connection_id":141941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:04:01] local.INFO: IMEI packet received {"connection_id":141941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":141941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:04:03] local.INFO: TCP Data received {"connection_id":141941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e75d88012d42a1c00697dc900033007731..."} 
[2026-07-25 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e75d88012d42a1c00697dc900033007731..."} 
[2026-07-25 07:04:03] local.INFO: Processing buffer {"connection_id":141941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e75d88012d42a1c00697dc900033007731..."} 
[2026-07-25 07:04:03] local.INFO: Packet analysis {"connection_id":141941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e7"} 
[2026-07-25 07:04:03] local.INFO: Extracted packet for processing {"connection_id":141941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e7"} 
[2026-07-25 07:04:03] local.INFO: GPS Element Parsed {"raw_longitude":759341504,"raw_latitude":110615696,"longitude_deg":75.9341504,"latitude_deg":11.0615696,"altitude":51,"angle":119,"satellites":49,"speed":41,"hex_longitude":"2d42a1c0","hex_latitude":"0697dc90","is_valid_coordinates":true} 
[2026-07-25 07:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945449728001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356945970237276160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4791407819375726592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784943173000,"timestamp_ms":1784943173000,"timestamp_seconds":1784943173,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e75d88"} 
[2026-07-25 07:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 07:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945449728001,"66":28028,"29":206,"81":47616,"24":41,"16":356945970237276160,"45":4791407819375726592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-07-25 07:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945449728001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-25 07:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356945970237276160,"km_value":356945970237276.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4791407819375726592,"description":"Unknown IO ID 45"} 
[2026-07-25 07:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945449728001,"power":28028,"unknown_29":206,"unknown_81":47616,"ignition":41,"odometer":null,"unknown_45":4791407819375726592}} 
[2026-07-25 07:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":141941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:04:03] local.INFO: GPS data processed {"connection_id":141941,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:04:03] local.INFO: Acknowledgment sent {"connection_id":141941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:04:18] local.INFO: TCP Data received {"connection_id":140897,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e6a208012d7e568005d2d1080005015127..."} 
[2026-07-25 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e6a208012d7e568005d2d1080005015127..."} 
[2026-07-25 07:04:18] local.INFO: Processing buffer {"connection_id":140897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e6a208012d7e568005d2d1080005015127..."} 
[2026-07-25 07:04:18] local.INFO: Packet analysis {"connection_id":140897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:04:18] local.INFO: Extracted packet for processing {"connection_id":140897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:04:18] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":97702152,"longitude_deg":76.32544,"latitude_deg":9.7702152,"altitude":5,"angle":337,"satellites":39,"speed":3,"hex_longitude":"2d7e5680","hex_latitude":"05d2d108","is_valid_coordinates":true} 
[2026-07-25 07:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945434880001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110027321137692672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104237777973653504,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943125000,"timestamp_ms":1784943125000,"timestamp_seconds":1784943125,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e6a208"} 
[2026-07-25 07:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:04: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-07-25 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303171032370598,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":116,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2531620160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3529820160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":10241,"corrected_to":0} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":228,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3853762561,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2411200516,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3355520382,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3827695616,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,116,85,24,241,157,16,229,159,68,45,128,204,5,38,10,66,246,183,3,228,187,192,1,240,110,227,150,210,4,113,205,26,136,87,39,239,53,2,134,25],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":246,"original":10241,"validated":0},{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-07-25 07:04:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360658668817350656,"timestamp_seconds":360658668817350.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945434880001,"66":13656,"116":206,"85":15104,"24":3,"16":110027321137692672,"45":9104237777973653504},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945434880001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:04:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:04:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110027321137692672,"km_value":110027321137692.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104237777973653504,"description":"Unknown IO ID 45"} 
[2026-07-25 07:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945434880001,"power":13656,"unknown_116":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9104237777973653504}} 
[2026-07-25 07:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":140897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:04:18] local.INFO: GPS data processed {"connection_id":140897,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:04:18] local.INFO: Acknowledgment sent {"connection_id":140897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:04:34] local.INFO: TCP Data received {"connection_id":141941,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e774f8012d42b6000697cdd80033008530..."} 
[2026-07-25 07:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e774f8012d42b6000697cdd80033008530..."} 
[2026-07-25 07:04:34] local.INFO: Processing buffer {"connection_id":141941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e774f8012d42b6000697cdd80033008530..."} 
[2026-07-25 07:04:34] local.INFO: Packet analysis {"connection_id":141941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e7"} 
[2026-07-25 07:04:34] local.INFO: Extracted packet for processing {"connection_id":141941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e7"} 
[2026-07-25 07:04:34] local.INFO: GPS Element Parsed {"raw_longitude":759346688,"raw_latitude":110611928,"longitude_deg":75.9346688,"latitude_deg":11.0611928,"altitude":51,"angle":133,"satellites":48,"speed":44,"hex_longitude":"2d42b600","hex_latitude":"0697cdd8","is_valid_coordinates":true} 
[2026-07-25 07:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945452288001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356946279474921472,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4801329812303810560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784943179000,"timestamp_ms":1784943179000,"timestamp_seconds":1784943179,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e774f8"} 
[2026-07-25 07:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 07:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945452288001,"66":27995,"211":206,"86":48640,"24":44,"16":356946279474921472,"45":4801329812303810560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-07-25 07:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945452288001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:04:34] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-25 07:04:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356946279474921472,"km_value":356946279474921.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4801329812303810560,"description":"Unknown IO ID 45"} 
[2026-07-25 07:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945452288001,"power":27995,"unknown_211":206,"unknown_86":48640,"ignition":44,"odometer":null,"unknown_45":4801329812303810560}} 
[2026-07-25 07:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":141941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:04:34] local.INFO: GPS data processed {"connection_id":141941,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:04:34] local.INFO: Acknowledgment sent {"connection_id":141941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:04:39] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:39] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:39] local.INFO: IMEI packet received {"connection_id":143293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":143293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:04:41] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:41] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:41] local.INFO: IMEI packet received {"connection_id":143293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":143293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:04:46] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:46] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:04:46] local.INFO: IMEI packet received {"connection_id":143293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":143293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:04:47] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e6adc0012d7e554005d2d020000500d527..."} 
[2026-07-25 07:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e6adc0012d7e554005d2d020000500d527..."} 
[2026-07-25 07:04:47] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e6adc0012d7e554005d2d020000500d527..."} 
[2026-07-25 07:04:47] local.INFO: Packet analysis {"connection_id":143293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:04:47] local.INFO: Extracted packet for processing {"connection_id":143293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":763254080,"raw_latitude":97701920,"longitude_deg":76.325408,"latitude_deg":9.770192,"altitude":5,"angle":213,"satellites":39,"speed":5,"hex_longitude":"2d7e5540","hex_latitude":"05d2d020","is_valid_coordinates":true} 
[2026-07-25 07:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945440000001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110027342612529152,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459276142592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943128000,"timestamp_ms":1784943128000,"timestamp_seconds":1784943128,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e6adc0"} 
[2026-07-25 07:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 07:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945440000001,"66":13656,"116":206,"85":15104,"24":5,"16":110027342612529152,"45":9103604459276142592},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945440000001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110027342612529152,"km_value":110027342612529.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459276142592,"description":"Unknown IO ID 45"} 
[2026-07-25 07:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945440000001,"power":13656,"unknown_116":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9103604459276142592}} 
[2026-07-25 07:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":143293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:04:47] local.INFO: GPS data processed {"connection_id":143293,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:04:47] local.INFO: Acknowledgment sent {"connection_id":143293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:05:01] local.INFO: TCP Data received {"connection_id":141942,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:01] local.INFO: Processing buffer {"connection_id":141942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:01] local.INFO: IMEI packet received {"connection_id":141942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":141942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:05:04] local.INFO: TCP Data received {"connection_id":141942,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:04] local.INFO: Processing buffer {"connection_id":141942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:04] local.INFO: IMEI packet received {"connection_id":141942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":141942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:05:05] local.INFO: TCP Data received {"connection_id":141942,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e85788012d42ffc0069669480011009f31..."} 
[2026-07-25 07:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e85788012d42ffc0069669480011009f31..."} 
[2026-07-25 07:05:05] local.INFO: Processing buffer {"connection_id":141942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e85788012d42ffc0069669480011009f31..."} 
[2026-07-25 07:05:05] local.INFO: Packet analysis {"connection_id":141942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e8"} 
[2026-07-25 07:05:05] local.INFO: Extracted packet for processing {"connection_id":141942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e8"} 
[2026-07-25 07:05:05] local.INFO: GPS Element Parsed {"raw_longitude":759365568,"raw_latitude":110520648,"longitude_deg":75.9365568,"latitude_deg":11.0520648,"altitude":17,"angle":159,"satellites":49,"speed":79,"hex_longitude":"2d42ffc0","hex_latitude":"06966948","is_valid_coordinates":true} 
[2026-07-25 07:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945467392001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356950853615091712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4824762604093063168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784943237000,"timestamp_ms":1784943237000,"timestamp_seconds":1784943237,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e85788"} 
[2026-07-25 07:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:05: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-07-25 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945467392001,"66":27843,"195":206,"86":48640,"24":79,"16":356950853615091712,"45":4824762604093063168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-07-25 07:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945467392001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:05:05] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 07:05:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356950853615091712,"km_value":356950853615091.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4824762604093063168,"description":"Unknown IO ID 45"} 
[2026-07-25 07:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945467392001,"power":27843,"unknown_195":206,"unknown_86":48640,"ignition":79,"odometer":null,"unknown_45":4824762604093063168}} 
[2026-07-25 07:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":141942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:05:05] local.INFO: GPS data processed {"connection_id":141942,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:05:05] local.INFO: Acknowledgment sent {"connection_id":141942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:05:18] local.INFO: TCP Data received {"connection_id":143293,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e6b1a8012d7e550005d2cf98000500c527..."} 
[2026-07-25 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e6b1a8012d7e550005d2cf98000500c527..."} 
[2026-07-25 07:05:18] local.INFO: Processing buffer {"connection_id":143293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e6b1a8012d7e550005d2cf98000500c527..."} 
[2026-07-25 07:05:18] local.INFO: Packet analysis {"connection_id":143293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:05:18] local.INFO: Extracted packet for processing {"connection_id":143293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e6"} 
[2026-07-25 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":763254016,"raw_latitude":97701784,"longitude_deg":76.3254016,"latitude_deg":9.7701784,"altitude":5,"angle":197,"satellites":39,"speed":6,"hex_longitude":"2d7e5500","hex_latitude":"05d2cf98","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945440768001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110027351202463744,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103252615555194880,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943129000,"timestamp_ms":1784943129000,"timestamp_seconds":1784943129,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e6b1a8"} 
[2026-07-25 07:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 07:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945440768001,"66":13656,"116":206,"85":15104,"24":6,"16":110027351202463744,"45":9103252615555194880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945440768001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110027351202463744,"km_value":110027351202463.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103252615555194880,"description":"Unknown IO ID 45"} 
[2026-07-25 07:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945440768001,"power":13656,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9103252615555194880}} 
[2026-07-25 07:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":143293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:05:18] local.INFO: GPS data processed {"connection_id":143293,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:05:18] local.INFO: Acknowledgment sent {"connection_id":143293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:05:36] local.INFO: TCP Data received {"connection_id":141942,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e86b10012d431140069646b80011009332..."} 
[2026-07-25 07:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e86b10012d431140069646b80011009332..."} 
[2026-07-25 07:05:36] local.INFO: Processing buffer {"connection_id":141942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e86b10012d431140069646b80011009332..."} 
[2026-07-25 07:05:36] local.INFO: Packet analysis {"connection_id":141942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e8"} 
[2026-07-25 07:05:36] local.INFO: Extracted packet for processing {"connection_id":141942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e8"} 
[2026-07-25 07:05:36] local.INFO: GPS Element Parsed {"raw_longitude":759370048,"raw_latitude":110511800,"longitude_deg":75.9370048,"latitude_deg":11.05118,"altitude":17,"angle":147,"satellites":50,"speed":77,"hex_longitude":"2d431140","hex_latitude":"069646b8","is_valid_coordinates":true} 
[2026-07-25 07:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945468672001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356951334651428864,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827788460090279936,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784943242000,"timestamp_ms":1784943242000,"timestamp_seconds":1784943242,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e86b10"} 
[2026-07-25 07:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:05: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-07-25 07:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945468672001,"66":27821,"195":206,"86":48640,"24":77,"16":356951334651428864,"45":4827788460090279936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-07-25 07:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945468672001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:05:36] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 07:05:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356951334651428864,"km_value":356951334651428.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827788460090279936,"description":"Unknown IO ID 45"} 
[2026-07-25 07:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945468672001,"power":27821,"unknown_195":206,"unknown_86":48640,"ignition":77,"odometer":null,"unknown_45":4827788460090279936}} 
[2026-07-25 07:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":141942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:05:36] local.INFO: GPS data processed {"connection_id":141942,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:05:36] local.INFO: Acknowledgment sent {"connection_id":141942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:05:41] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:05:41] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:05:41] local.INFO: IMEI packet received {"connection_id":140898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":140898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:05:46] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:05:46] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:05:46] local.INFO: IMEI packet received {"connection_id":140898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":140898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:05:47] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e970c8012d7e0d8005d291080002011227..."} 
[2026-07-25 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e970c8012d7e0d8005d291080002011227..."} 
[2026-07-25 07:05:47] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e970c8012d7e0d8005d291080002011227..."} 
[2026-07-25 07:05:47] local.INFO: Packet analysis {"connection_id":140898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:05:47] local.INFO: Extracted packet for processing {"connection_id":140898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":763235712,"raw_latitude":97685768,"longitude_deg":76.3235712,"latitude_deg":9.7685768,"altitude":2,"angle":274,"satellites":39,"speed":24,"hex_longitude":"2d7e0d80","hex_latitude":"05d29108","is_valid_coordinates":true} 
[2026-07-25 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945486592001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110028553793306624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084393792111443968,"note":"Value kept but may cause issues"} 
[2026-07-25 07:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943309000,"timestamp_ms":1784943309000,"timestamp_seconds":1784943309,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e970c8"} 
[2026-07-25 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:05: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-07-25 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-25 07:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945486592001,"66":13646,"116":206,"85":15104,"24":24,"16":110028553793306624,"45":9084393792111443968},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945486592001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:05:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:05:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110028553793306624,"km_value":110028553793306.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084393792111443968,"description":"Unknown IO ID 45"} 
[2026-07-25 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945486592001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9084393792111443968}} 
[2026-07-25 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":140898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:05:47] local.INFO: GPS data processed {"connection_id":140898,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:05:47] local.INFO: Acknowledgment sent {"connection_id":140898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:05:56] local.INFO: TCP Data received {"connection_id":141943,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:56] local.INFO: Processing buffer {"connection_id":141943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:56] local.INFO: IMEI packet received {"connection_id":141943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":141943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:05:57] local.INFO: TCP Data received {"connection_id":141943,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:57] local.INFO: Processing buffer {"connection_id":141943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:05:57] local.INFO: IMEI packet received {"connection_id":141943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":141943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:06:01] local.INFO: TCP Data received {"connection_id":141943,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:01] local.INFO: Processing buffer {"connection_id":141943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:01] local.INFO: IMEI packet received {"connection_id":141943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":141943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:06:03] local.INFO: TCP Data received {"connection_id":141943,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e945d0012d438c0006952cf0001000c430..."} 
[2026-07-25 07:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e945d0012d438c0006952cf0001000c430..."} 
[2026-07-25 07:06:03] local.INFO: Processing buffer {"connection_id":141943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e945d0012d438c0006952cf0001000c430..."} 
[2026-07-25 07:06:03] local.INFO: Packet analysis {"connection_id":141943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:03] local.INFO: Extracted packet for processing {"connection_id":141943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:03] local.INFO: GPS Element Parsed {"raw_longitude":759401472,"raw_latitude":110439664,"longitude_deg":75.9401472,"latitude_deg":11.0439664,"altitude":16,"angle":196,"satellites":48,"speed":59,"hex_longitude":"2d438c00","hex_latitude":"06952cf0","is_valid_coordinates":true} 
[2026-07-25 07:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945482752001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356955328971014144,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869517125369126912,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784943298000,"timestamp_ms":1784943298000,"timestamp_seconds":1784943298,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e945d0"} 
[2026-07-25 07:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945482752001,"66":27865,"211":206,"86":48640,"24":59,"16":356955328971014144,"45":4869517125369126912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-07-25 07:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945482752001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356955328971014144,"km_value":356955328971014.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869517125369126912,"description":"Unknown IO ID 45"} 
[2026-07-25 07:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945482752001,"power":27865,"unknown_211":206,"unknown_86":48640,"ignition":59,"odometer":null,"unknown_45":4869517125369126912}} 
[2026-07-25 07:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":141943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:06:03] local.INFO: GPS data processed {"connection_id":141943,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:06:03] local.INFO: Acknowledgment sent {"connection_id":141943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:06:19] local.INFO: TCP Data received {"connection_id":140898,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e9a390012d7de90005d291680006010f28..."} 
[2026-07-25 07:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e9a390012d7de90005d291680006010f28..."} 
[2026-07-25 07:06:19] local.INFO: Processing buffer {"connection_id":140898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e9a390012d7de90005d291680006010f28..."} 
[2026-07-25 07:06:19] local.INFO: Packet analysis {"connection_id":140898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:19] local.INFO: Extracted packet for processing {"connection_id":140898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:19] local.INFO: GPS Element Parsed {"raw_longitude":763226368,"raw_latitude":97685864,"longitude_deg":76.3226368,"latitude_deg":9.7685864,"altitude":6,"angle":271,"satellites":40,"speed":31,"hex_longitude":"2d7de900","hex_latitude":"05d29168","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945487104001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110028996174938112,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083056785972070400,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784943322000,"timestamp_ms":1784943322000,"timestamp_seconds":1784943322,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e9a390"} 
[2026-07-25 07:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 07:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945487104001,"66":13580,"116":206,"85":15104,"24":31,"16":110028996174938112,"45":9083056785972070400},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945487104001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:06:19] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110028996174938112,"km_value":110028996174938.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083056785972070400,"description":"Unknown IO ID 45"} 
[2026-07-25 07:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945487104001,"power":13580,"unknown_116":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9083056785972070400}} 
[2026-07-25 07:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":140898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:06:19] local.INFO: GPS data processed {"connection_id":140898,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:06:19] local.INFO: Acknowledgment sent {"connection_id":140898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:06:35] local.INFO: TCP Data received {"connection_id":141943,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e96128012d43800006950768001000c530..."} 
[2026-07-25 07:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e96128012d43800006950768001000c530..."} 
[2026-07-25 07:06:35] local.INFO: Processing buffer {"connection_id":141943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e96128012d43800006950768001000c530..."} 
[2026-07-25 07:06:35] local.INFO: Packet analysis {"connection_id":141943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:35] local.INFO: Extracted packet for processing {"connection_id":141943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:35] local.INFO: GPS Element Parsed {"raw_longitude":759398400,"raw_latitude":110430056,"longitude_deg":75.93984,"latitude_deg":11.0430056,"altitude":16,"angle":197,"satellites":48,"speed":55,"hex_longitude":"2d438000","hex_latitude":"06950768","is_valid_coordinates":true} 
[2026-07-25 07:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945484288001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356955818597285888,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4867265325553217536,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784943305000,"timestamp_ms":1784943305000,"timestamp_seconds":1784943305,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e96128"} 
[2026-07-25 07:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:06: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-07-25 07:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945484288001,"66":27800,"211":206,"86":48640,"24":55,"16":356955818597285888,"45":4867265325553217536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-07-25 07:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945484288001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:06:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-25 07:06:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356955818597285888,"km_value":356955818597285.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4867265325553217536,"description":"Unknown IO ID 45"} 
[2026-07-25 07:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945484288001,"power":27800,"unknown_211":206,"unknown_86":48640,"ignition":55,"odometer":null,"unknown_45":4867265325553217536}} 
[2026-07-25 07:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":141943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:06:35] local.INFO: GPS data processed {"connection_id":141943,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:06:35] local.INFO: Acknowledgment sent {"connection_id":141943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:06:42] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:06:42] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:06:42] local.INFO: IMEI packet received {"connection_id":140899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":140899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:06:46] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:06:46] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:06:46] local.INFO: IMEI packet received {"connection_id":140899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":140899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:06:47] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e9d658012d7dc60005d290100006010927..."} 
[2026-07-25 07:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e9d658012d7dc60005d290100006010927..."} 
[2026-07-25 07:06:47] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e9d658012d7dc60005d290100006010927..."} 
[2026-07-25 07:06:47] local.INFO: Packet analysis {"connection_id":140899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:47] local.INFO: Extracted packet for processing {"connection_id":140899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763217408,"raw_latitude":97685520,"longitude_deg":76.3217408,"latitude_deg":9.768552,"altitude":6,"angle":265,"satellites":39,"speed":25,"hex_longitude":"2d7dc600","hex_latitude":"05d29010","is_valid_coordinates":true} 
[2026-07-25 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945490432001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110029429966635008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072782949322156032,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943335000,"timestamp_ms":1784943335000,"timestamp_seconds":1784943335,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e9d658"} 
[2026-07-25 07:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613669,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2531830160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8726475244472107008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3912898561,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2709520388,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627878766618228,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-07-25 07:06:47] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2952867198,"corrected_to":0} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147865272,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376870,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3852664832,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3536664576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":126,"raw_value":6034829903621259269,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":8575079805307899477,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 07:06:47] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,116,85,24,241,157,16,230,159,112,45,128,145,2,39,10,66,104,64,97,1,240,219,227,150,210,4,113,205,247,65,120,38,239,52,134,5,126,46,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0},{"io_id":247,"original":2952867198,"validated":0}]} 
[2026-07-25 07:06:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432643703679418368,"timestamp_seconds":432643703679418.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945490432001,"66":13820,"116":206,"85":15104,"24":25,"16":110029429966635008,"45":9072782949322156032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945490432001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:06:47] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110029429966635008,"km_value":110029429966635.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072782949322156032,"description":"Unknown IO ID 45"} 
[2026-07-25 07:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945490432001,"power":13820,"unknown_116":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9072782949322156032}} 
[2026-07-25 07:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":140899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:06:48] local.INFO: GPS data processed {"connection_id":140899,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:06:48] local.INFO: Acknowledgment sent {"connection_id":140899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:06:56] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:56] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:56] local.INFO: IMEI packet received {"connection_id":143294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":143294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:06:57] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:57] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:06:57] local.INFO: IMEI packet received {"connection_id":143294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":143294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:07:01] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:07:01] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:07:01] local.INFO: IMEI packet received {"connection_id":143294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":143294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:07:04] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96e97c80012d4373c00694e3f8001100c62f..."} 
[2026-07-25 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96e97c80012d4373c00694e3f8001100c62f..."} 
[2026-07-25 07:07:04] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96e97c80012d4373c00694e3f8001100c62f..."} 
[2026-07-25 07:07:04] local.INFO: Packet analysis {"connection_id":143294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:07:04] local.INFO: Extracted packet for processing {"connection_id":143294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96e9"} 
[2026-07-25 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":759395264,"raw_latitude":110420984,"longitude_deg":75.9395264,"latitude_deg":11.0420984,"altitude":17,"angle":198,"satellites":47,"speed":53,"hex_longitude":"2d4373c0","hex_latitude":"0694e3f8","is_valid_coordinates":true} 
[2026-07-25 07:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945486080001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356956282453753856,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4863887625830230016,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784943312000,"timestamp_ms":1784943312000,"timestamp_seconds":1784943312,"priority":1,"record_length":96,"hex_timestamp":"0000019f96e97c80"} 
[2026-07-25 07:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945486080001,"66":27800,"211":206,"86":48640,"24":53,"16":356956282453753856,"45":4863887625830230016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,86,24,16,45]} 
[2026-07-25 07:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945486080001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:07:04] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-25 07:07:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356956282453753856,"km_value":356956282453753.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4863887625830230016,"description":"Unknown IO ID 45"} 
[2026-07-25 07:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945486080001,"power":27800,"unknown_211":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4863887625830230016}} 
[2026-07-25 07:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":143294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:07:04] local.INFO: GPS data processed {"connection_id":143294,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:07:04] local.INFO: Acknowledgment sent {"connection_id":143294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:07:20] local.INFO: TCP Data received {"connection_id":140899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ea0d08012d7da08005d28ea00007010e28..."} 
[2026-07-25 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ea0d08012d7da08005d28ea00007010e28..."} 
[2026-07-25 07:07:20] local.INFO: Processing buffer {"connection_id":140899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ea0d08012d7da08005d28ea00007010e28..."} 
[2026-07-25 07:07:20] local.INFO: Packet analysis {"connection_id":140899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:07:20] local.INFO: Extracted packet for processing {"connection_id":140899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:07:20] local.INFO: GPS Element Parsed {"raw_longitude":763207808,"raw_latitude":97685152,"longitude_deg":76.3207808,"latitude_deg":9.7685152,"altitude":7,"angle":270,"satellites":40,"speed":28,"hex_longitude":"2d7da080","hex_latitude":"05d28ea0","is_valid_coordinates":true} 
[2026-07-25 07:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945493760001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110029889528135680,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062931325137195008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784943349000,"timestamp_ms":1784943349000,"timestamp_seconds":1784943349,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ea0d08"} 
[2026-07-25 07:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-07-25 07:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":140899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":140899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":140899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945493760001,"66":13798,"116":206,"85":15104,"24":28,"16":110029889528135680,"45":9062931325137195008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945493760001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:07:20] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110029889528135680,"km_value":110029889528135.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062931325137195008,"description":"Unknown IO ID 45"} 
[2026-07-25 07:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945493760001,"power":13798,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9062931325137195008}} 
[2026-07-25 07:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":140899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:07:20] local.INFO: GPS data processed {"connection_id":140899,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:07:20] local.INFO: Acknowledgment sent {"connection_id":140899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:07:36] local.INFO: TCP Data received {"connection_id":143294,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96eaa948012d435ac00693aad8002600902e..."} 
[2026-07-25 07:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96eaa948012d435ac00693aad8002600902e..."} 
[2026-07-25 07:07:36] local.INFO: Processing buffer {"connection_id":143294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96eaa948012d435ac00693aad8002600902e..."} 
[2026-07-25 07:07:36] local.INFO: Packet analysis {"connection_id":143294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:07:36] local.INFO: Extracted packet for processing {"connection_id":143294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:07:36] local.INFO: GPS Element Parsed {"raw_longitude":759388864,"raw_latitude":110340824,"longitude_deg":75.9388864,"latitude_deg":11.0340824,"altitude":38,"angle":144,"satellites":46,"speed":36,"hex_longitude":"2d435ac0","hex_latitude":"0693aad8","is_valid_coordinates":true} 
[2026-07-25 07:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945505024001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356960521586475008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4847139864695107584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784943389000,"timestamp_ms":1784943389000,"timestamp_seconds":1784943389,"priority":1,"record_length":96,"hex_timestamp":"0000019f96eaa948"} 
[2026-07-25 07:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:07: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-07-25 07:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945505024001,"66":27843,"143":206,"86":48640,"24":36,"16":356960521586475008,"45":4847139864695107584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,86,24,16,45]} 
[2026-07-25 07:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945505024001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:07:36] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-25 07:07:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356960521586475008,"km_value":356960521586475.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4847139864695107584,"description":"Unknown IO ID 45"} 
[2026-07-25 07:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945505024001,"power":27843,"unknown_143":206,"unknown_86":48640,"ignition":36,"odometer":null,"unknown_45":4847139864695107584}} 
[2026-07-25 07:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":143294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:07:36] local.INFO: GPS data processed {"connection_id":143294,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:07:36] local.INFO: Acknowledgment sent {"connection_id":143294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:07:51] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:51] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:51] local.INFO: IMEI packet received {"connection_id":140942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":140942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:07:52] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:52] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:52] local.INFO: IMEI packet received {"connection_id":140942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":140942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:07:58] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:58] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:07:58] local.INFO: IMEI packet received {"connection_id":140942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":140942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:08:00] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ea3fd0012d7d7c0005d28f100009011028..."} 
[2026-07-25 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ea3fd0012d7d7c0005d28f100009011028..."} 
[2026-07-25 07:08:00] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ea3fd0012d7d7c0005d28f100009011028..."} 
[2026-07-25 07:08:00] local.INFO: Packet analysis {"connection_id":140942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:00] local.INFO: Extracted packet for processing {"connection_id":140942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763198464,"raw_latitude":97685264,"longitude_deg":76.3198464,"latitude_deg":9.7685264,"altitude":9,"angle":272,"satellites":40,"speed":24,"hex_longitude":"2d7d7c00","hex_latitude":"05d28f10","is_valid_coordinates":true} 
[2026-07-25 07:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945497344001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110030331909767168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052376013510451200,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784943362000,"timestamp_ms":1784943362000,"timestamp_seconds":1784943362,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ea3fd0"} 
[2026-07-25 07:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":230,"data_length":795,"current_offset":136} 
[2026-07-25 07:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":140942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945497344001,"66":13678,"116":206,"85":15104,"24":24,"16":110030331909767168,"45":9052376013510451200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 07:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945497344001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110030331909767168,"km_value":110030331909767.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052376013510451200,"description":"Unknown IO ID 45"} 
[2026-07-25 07:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945497344001,"power":13678,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9052376013510451200}} 
[2026-07-25 07:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":140942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:08:00] local.INFO: GPS data processed {"connection_id":140942,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:08:00] local.INFO: Acknowledgment sent {"connection_id":140942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:08:00] local.INFO: TCP Data received {"connection_id":141944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:00] local.INFO: Processing buffer {"connection_id":141944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:00] local.INFO: IMEI packet received {"connection_id":141944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":141944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:08:01] local.INFO: TCP Data received {"connection_id":141944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:01] local.INFO: Processing buffer {"connection_id":141944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:01] local.INFO: IMEI packet received {"connection_id":141944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":141944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:08:02] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ea7e50012d7d570005d28f10000d010e28..."} 
[2026-07-25 07:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ea7e50012d7d570005d28f10000d010e28..."} 
[2026-07-25 07:08:02] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ea7e50012d7d570005d28f10000d010e28..."} 
[2026-07-25 07:08:02] local.INFO: Packet analysis {"connection_id":140942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:02] local.INFO: Extracted packet for processing {"connection_id":140942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763188992,"raw_latitude":97685264,"longitude_deg":76.3188992,"latitude_deg":9.7685264,"altitude":13,"angle":270,"satellites":40,"speed":22,"hex_longitude":"2d7d5700","hex_latitude":"05d28f10","is_valid_coordinates":true} 
[2026-07-25 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945500672001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110030787176300544,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9042102176860540928,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784943378000,"timestamp_ms":1784943378000,"timestamp_seconds":1784943378,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ea7e50"} 
[2026-07-25 07:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 07:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945500672001,"66":13678,"117":206,"85":15104,"24":22,"16":110030787176300544,"45":9042102176860540928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 07:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945500672001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:08:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 07:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110030787176300544,"km_value":110030787176300.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9042102176860540928,"description":"Unknown IO ID 45"} 
[2026-07-25 07:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945500672001,"power":13678,"unknown_117":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9042102176860540928}} 
[2026-07-25 07:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":140942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:08:02] local.INFO: GPS data processed {"connection_id":140942,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:08:02] local.INFO: Acknowledgment sent {"connection_id":140942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:08:06] local.INFO: TCP Data received {"connection_id":141944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:06] local.INFO: Processing buffer {"connection_id":141944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:06] local.INFO: IMEI packet received {"connection_id":141944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":141944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:08:08] local.INFO: TCP Data received {"connection_id":141944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ead440012d43704006938d98002800912f..."} 
[2026-07-25 07:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ead440012d43704006938d98002800912f..."} 
[2026-07-25 07:08:08] local.INFO: Processing buffer {"connection_id":141944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ead440012d43704006938d98002800912f..."} 
[2026-07-25 07:08:08] local.INFO: Packet analysis {"connection_id":141944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:08] local.INFO: Extracted packet for processing {"connection_id":141944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":759394368,"raw_latitude":110333336,"longitude_deg":75.9394368,"latitude_deg":11.0333336,"altitude":40,"angle":145,"satellites":47,"speed":31,"hex_longitude":"2d437040","hex_latitude":"06938d98","is_valid_coordinates":true} 
[2026-07-25 07:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945507584001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356960968263073792,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4853402682924914688,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784943400000,"timestamp_ms":1784943400000,"timestamp_seconds":1784943400,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ead440"} 
[2026-07-25 07:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945507584001,"66":27843,"143":206,"86":48640,"24":31,"16":356960968263073792,"45":4853402682924914688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,86,24,16,45]} 
[2026-07-25 07:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945507584001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:08:08] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-25 07:08:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356960968263073792,"km_value":356960968263073.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4853402682924914688,"description":"Unknown IO ID 45"} 
[2026-07-25 07:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945507584001,"power":27843,"unknown_143":206,"unknown_86":48640,"ignition":31,"odometer":null,"unknown_45":4853402682924914688}} 
[2026-07-25 07:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":141944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:08:08] local.INFO: GPS data processed {"connection_id":141944,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:08:08] local.INFO: Acknowledgment sent {"connection_id":141944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:08:40] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:40] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:40] local.INFO: IMEI packet received {"connection_id":140900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":140900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:08:41] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:41] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:41] local.INFO: IMEI packet received {"connection_id":140900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":140900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:08:46] local.INFO: TCP Data received {"connection_id":141944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96eaff38012d43848006937110002b00902f..."} 
[2026-07-25 07:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96eaff38012d43848006937110002b00902f..."} 
[2026-07-25 07:08:46] local.INFO: Processing buffer {"connection_id":141944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96eaff38012d43848006937110002b00902f..."} 
[2026-07-25 07:08:46] local.INFO: Packet analysis {"connection_id":141944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:46] local.INFO: Extracted packet for processing {"connection_id":141944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ea"} 
[2026-07-25 07:08:46] local.INFO: GPS Element Parsed {"raw_longitude":759399552,"raw_latitude":110326032,"longitude_deg":75.9399552,"latitude_deg":11.0326032,"altitude":43,"angle":144,"satellites":47,"speed":32,"hex_longitude":"2d438480","hex_latitude":"06937110","is_valid_coordinates":true} 
[2026-07-25 07:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945510400001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356961402054770688,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4859454394922276864,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784943411000,"timestamp_ms":1784943411000,"timestamp_seconds":1784943411,"priority":1,"record_length":96,"hex_timestamp":"0000019f96eaff38"} 
[2026-07-25 07:08:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:08:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:08:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:08:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:08:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945510400001,"66":27800,"141":206,"86":48640,"24":32,"16":356961402054770688,"45":4859454394922276864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,86,24,16,45]} 
[2026-07-25 07:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945510400001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:08:46] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-25 07:08:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-25 07:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356961402054770688,"km_value":356961402054770.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4859454394922276864,"description":"Unknown IO ID 45"} 
[2026-07-25 07:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945510400001,"power":27800,"unknown_141":206,"unknown_86":48640,"ignition":32,"odometer":null,"unknown_45":4859454394922276864}} 
[2026-07-25 07:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":141944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:08:46] local.INFO: GPS data processed {"connection_id":141944,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:08:46] local.INFO: Acknowledgment sent {"connection_id":141944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:08:46] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:46] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:08:46] local.INFO: IMEI packet received {"connection_id":140900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":140900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:08:47] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec5ae0012d7d2b8005d1a6b8000801352a..."} 
[2026-07-25 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec5ae0012d7d2b8005d1a6b8000801352a..."} 
[2026-07-25 07:08:47] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec5ae0012d7d2b8005d1a6b8000801352a..."} 
[2026-07-25 07:08:47] local.INFO: Packet analysis {"connection_id":140900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:08:47] local.INFO: Extracted packet for processing {"connection_id":140900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":763177856,"raw_latitude":97625784,"longitude_deg":76.3177856,"latitude_deg":9.7625784,"altitude":8,"angle":309,"satellites":42,"speed":14,"hex_longitude":"2d7d2b80","hex_latitude":"05d1a6b8","is_valid_coordinates":true} 
[2026-07-25 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945535744001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110033991221903360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284940947456,"note":"Value kept but may cause issues"} 
[2026-07-25 07:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943500000,"timestamp_ms":1784943500000,"timestamp_seconds":1784943500,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec5ae0"} 
[2026-07-25 07:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 07:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945535744001,"66":13624,"23":206,"85":15104,"24":14,"16":110033991221903360,"45":9019795284940947456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-25 07:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945535744001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:08:47] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 07:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110033991221903360,"km_value":110033991221903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284940947456,"description":"Unknown IO ID 45"} 
[2026-07-25 07:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945535744001,"power":13624,"unknown_23":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9019795284940947456}} 
[2026-07-25 07:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":140900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:08:47] local.INFO: GPS data processed {"connection_id":140900,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:08:47] local.INFO: Acknowledgment sent {"connection_id":140900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:08:55] local.INFO: TCP Data received {"connection_id":141945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:55] local.INFO: Processing buffer {"connection_id":141945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:55] local.INFO: IMEI packet received {"connection_id":141945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":141945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:08:56] local.INFO: TCP Data received {"connection_id":141945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:56] local.INFO: Processing buffer {"connection_id":141945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:56] local.INFO: IMEI packet received {"connection_id":141945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":141945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:08:59] local.INFO: TCP Data received {"connection_id":141945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:59] local.INFO: Processing buffer {"connection_id":141945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:08:59] local.INFO: IMEI packet received {"connection_id":141945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":141945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:09:00] local.INFO: TCP Data received {"connection_id":141945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec37b8012d44820006929170002b007b32..."} 
[2026-07-25 07:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec37b8012d44820006929170002b007b32..."} 
[2026-07-25 07:09:00] local.INFO: Processing buffer {"connection_id":141945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec37b8012d44820006929170002b007b32..."} 
[2026-07-25 07:09:00] local.INFO: Packet analysis {"connection_id":141945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:00] local.INFO: Extracted packet for processing {"connection_id":141945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:00] local.INFO: GPS Element Parsed {"raw_longitude":759464448,"raw_latitude":110268784,"longitude_deg":75.9464448,"latitude_deg":11.0268784,"altitude":43,"angle":123,"satellites":50,"speed":46,"hex_longitude":"2d448200","hex_latitude":"06929170","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945533696001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356965722791870464,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4936508169780293632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784943491000,"timestamp_ms":1784943491000,"timestamp_seconds":1784943491,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec37b8"} 
[2026-07-25 07:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945533696001,"66":27800,"253":206,"86":48896,"24":46,"16":356965722791870464,"45":4936508169780293632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-07-25 07:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945533696001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:09:00] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-25 07:09:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356965722791870464,"km_value":356965722791870.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4936508169780293632,"description":"Unknown IO ID 45"} 
[2026-07-25 07:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945533696001,"power":27800,"unknown_253":206,"unknown_86":48896,"ignition":46,"odometer":null,"unknown_45":4936508169780293632}} 
[2026-07-25 07:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":141945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:09:00] local.INFO: GPS data processed {"connection_id":141945,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:09:00] local.INFO: Acknowledgment sent {"connection_id":141945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:09:18] local.INFO: TCP Data received {"connection_id":140900,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec62b0012d7d298005d1a900000701482a..."} 
[2026-07-25 07:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec62b0012d7d298005d1a900000701482a..."} 
[2026-07-25 07:09:18] local.INFO: Processing buffer {"connection_id":140900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec62b0012d7d298005d1a900000701482a..."} 
[2026-07-25 07:09:18] local.INFO: Packet analysis {"connection_id":140900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:18] local.INFO: Extracted packet for processing {"connection_id":140900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":97626368,"longitude_deg":76.3177344,"latitude_deg":9.7626368,"altitude":7,"angle":328,"satellites":42,"speed":16,"hex_longitude":"2d7d2980","hex_latitude":"05d1a900","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945536000001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110034029876609024,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019443441220106240,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943502000,"timestamp_ms":1784943502000,"timestamp_seconds":1784943502,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec62b0"} 
[2026-07-25 07:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 07:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945536000001,"66":13906,"23":206,"85":15104,"24":16,"16":110034029876609024,"45":9019443441220106240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-25 07:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945536000001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:09:18] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 07:09:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110034029876609024,"km_value":110034029876609.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019443441220106240,"description":"Unknown IO ID 45"} 
[2026-07-25 07:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945536000001,"power":13906,"unknown_23":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9019443441220106240}} 
[2026-07-25 07:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":140900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:09:18] local.INFO: GPS data processed {"connection_id":140900,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:09:19] local.INFO: Acknowledgment sent {"connection_id":140900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:09:31] local.INFO: TCP Data received {"connection_id":141945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec4f28012d44968006928028002a00872f..."} 
[2026-07-25 07:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec4f28012d44968006928028002a00872f..."} 
[2026-07-25 07:09:31] local.INFO: Processing buffer {"connection_id":141945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec4f28012d44968006928028002a00872f..."} 
[2026-07-25 07:09:31] local.INFO: Packet analysis {"connection_id":141945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:31] local.INFO: Extracted packet for processing {"connection_id":141945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:31] local.INFO: GPS Element Parsed {"raw_longitude":759469696,"raw_latitude":110264360,"longitude_deg":75.9469696,"latitude_deg":11.026436,"altitude":42,"angle":135,"satellites":47,"speed":43,"hex_longitude":"2d449680","hex_latitude":"06928028","is_valid_coordinates":true} 
[2026-07-25 07:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945533696001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356966053504352256,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4936508169780293632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784943497000,"timestamp_ms":1784943497000,"timestamp_seconds":1784943497,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec4f28"} 
[2026-07-25 07:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945533696001,"66":27821,"253":206,"86":48896,"24":43,"16":356966053504352256,"45":4936508169780293632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-07-25 07:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945533696001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:09:31] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-25 07:09:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356966053504352256,"km_value":356966053504352.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4936508169780293632,"description":"Unknown IO ID 45"} 
[2026-07-25 07:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945533696001,"power":27821,"unknown_253":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":4936508169780293632}} 
[2026-07-25 07:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":141945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:09:31] local.INFO: GPS data processed {"connection_id":141945,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:09:31] local.INFO: Acknowledgment sent {"connection_id":141945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:09:46] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:09:46] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:09:46] local.INFO: IMEI packet received {"connection_id":140943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":140943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:09:51] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:09:51] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:09:51] local.INFO: IMEI packet received {"connection_id":140943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":140943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:09:52] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec6a80012d7d284005d1abe80007015d2a..."} 
[2026-07-25 07:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec6a80012d7d284005d1abe80007015d2a..."} 
[2026-07-25 07:09:52] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec6a80012d7d284005d1abe80007015d2a..."} 
[2026-07-25 07:09:52] local.INFO: Packet analysis {"connection_id":140943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:52] local.INFO: Extracted packet for processing {"connection_id":140943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:09:52] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97627112,"longitude_deg":76.3177024,"latitude_deg":9.7627112,"altitude":7,"angle":349,"satellites":42,"speed":16,"hex_longitude":"2d7d2840","hex_latitude":"05d1abe8","is_valid_coordinates":true} 
[2026-07-25 07:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945536512001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110034068531314688,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491266834432,"note":"Value kept but may cause issues"} 
[2026-07-25 07:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784943504000,"timestamp_ms":1784943504000,"timestamp_seconds":1784943504,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec6a80"} 
[2026-07-25 07:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-25 07:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:09:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":140943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945536512001,"66":13798,"23":206,"85":15104,"24":16,"16":110034068531314688,"45":9018880491266834432},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-25 07:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945536512001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:09:52] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 07:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110034068531314688,"km_value":110034068531314.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491266834432,"description":"Unknown IO ID 45"} 
[2026-07-25 07:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945536512001,"power":13798,"unknown_23":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9018880491266834432}} 
[2026-07-25 07:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":140943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:09:52] local.INFO: GPS data processed {"connection_id":140943,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:09:52] local.INFO: Acknowledgment sent {"connection_id":140943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:09:56] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:09:56] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:09:56] local.INFO: IMEI packet received {"connection_id":140944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":140944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:10:01] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:10:01] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:10:01] local.INFO: IMEI packet received {"connection_id":140944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":140944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:10:08] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec5ec8012d44a140069272c0002b009232..."} 
[2026-07-25 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec5ec8012d44a140069272c0002b009232..."} 
[2026-07-25 07:10:08] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec5ec8012d44a140069272c0002b009232..."} 
[2026-07-25 07:10:08] local.INFO: Packet analysis {"connection_id":140944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:08] local.INFO: Extracted packet for processing {"connection_id":140944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:08] local.INFO: GPS Element Parsed {"raw_longitude":759472448,"raw_latitude":110260928,"longitude_deg":75.9472448,"latitude_deg":11.0260928,"altitude":43,"angle":146,"satellites":50,"speed":44,"hex_longitude":"2d44a140","hex_latitude":"069272c0","is_valid_coordinates":true} 
[2026-07-25 07:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945535232001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356966263957749760,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4942278406801729536,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784943501000,"timestamp_ms":1784943501000,"timestamp_seconds":1784943501,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec5ec8"} 
[2026-07-25 07:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945535232001,"66":27800,"253":206,"86":48896,"24":44,"16":356966263957749760,"45":4942278406801729536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-07-25 07:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945535232001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:10:08] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-25 07:10:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356966263957749760,"km_value":356966263957749.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4942278406801729536,"description":"Unknown IO ID 45"} 
[2026-07-25 07:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945535232001,"power":27800,"unknown_253":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":4942278406801729536}} 
[2026-07-25 07:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":140944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:10:08] local.INFO: GPS data processed {"connection_id":140944,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:10:08] local.INFO: Acknowledgment sent {"connection_id":140944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:10:23] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96eca518012d7d250005d1d168000501642a..."} 
[2026-07-25 07:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96eca518012d7d250005d1d168000501642a..."} 
[2026-07-25 07:10:23] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96eca518012d7d250005d1d168000501642a..."} 
[2026-07-25 07:10:23] local.INFO: Packet analysis {"connection_id":140943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:23] local.INFO: Extracted packet for processing {"connection_id":140943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97636712,"longitude_deg":76.3176192,"latitude_deg":9.7636712,"altitude":5,"angle":356,"satellites":42,"speed":31,"hex_longitude":"2d7d2500","hex_latitude":"05d1d168","is_valid_coordinates":true} 
[2026-07-25 07:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945537024001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110034536682749952,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647546136576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784943519000,"timestamp_ms":1784943519000,"timestamp_seconds":1784943519,"priority":1,"record_length":96,"hex_timestamp":"0000019f96eca518"} 
[2026-07-25 07:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:10: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-07-25 07:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-25 07:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945537024001,"66":13472,"23":206,"85":15104,"24":31,"16":110034536682749952,"45":9018528647546136576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-25 07:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945537024001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:10:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 07:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110034536682749952,"km_value":110034536682749.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647546136576,"description":"Unknown IO ID 45"} 
[2026-07-25 07:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945537024001,"power":13472,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9018528647546136576}} 
[2026-07-25 07:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":140943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:10:23] local.INFO: GPS data processed {"connection_id":140943,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:10:23] local.INFO: Acknowledgment sent {"connection_id":140943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:10:40] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ec7250012d44ab4006925f68002c009e32..."} 
[2026-07-25 07:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ec7250012d44ab4006925f68002c009e32..."} 
[2026-07-25 07:10:40] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ec7250012d44ab4006925f68002c009e32..."} 
[2026-07-25 07:10:40] local.INFO: Packet analysis {"connection_id":140944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:40] local.INFO: Extracted packet for processing {"connection_id":140944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:40] local.INFO: GPS Element Parsed {"raw_longitude":759475008,"raw_latitude":110255976,"longitude_deg":75.9475008,"latitude_deg":11.0255976,"altitude":44,"angle":158,"satellites":50,"speed":44,"hex_longitude":"2d44ab40","hex_latitude":"06925f68","is_valid_coordinates":true} 
[2026-07-25 07:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945536256001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356966534540689408,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4945304262800490496,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784943506000,"timestamp_ms":1784943506000,"timestamp_seconds":1784943506,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ec7250"} 
[2026-07-25 07:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945536256001,"66":27821,"253":206,"86":48896,"24":44,"16":356966534540689408,"45":4945304262800490496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-07-25 07:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945536256001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:10:40] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-25 07:10:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356966534540689408,"km_value":356966534540689.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4945304262800490496,"description":"Unknown IO ID 45"} 
[2026-07-25 07:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945536256001,"power":27821,"unknown_253":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":4945304262800490496}} 
[2026-07-25 07:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":140944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:10:40] local.INFO: GPS data processed {"connection_id":140944,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:10:40] local.INFO: Acknowledgment sent {"connection_id":140944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:10:41] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:10:41] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:10:41] local.INFO: IMEI packet received {"connection_id":140945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":140945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:10:46] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:10:46] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:10:46] local.INFO: IMEI packet received {"connection_id":140945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":140945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:10:47] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ecc840012d7d238005d1f4080005000029..."} 
[2026-07-25 07:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ecc840012d7d238005d1f4080005000029..."} 
[2026-07-25 07:10:47] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ecc840012d7d238005d1f4080005000029..."} 
[2026-07-25 07:10:47] local.INFO: Packet analysis {"connection_id":140945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:47] local.INFO: Extracted packet for processing {"connection_id":140945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ec"} 
[2026-07-25 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97645576,"longitude_deg":76.3175808,"latitude_deg":9.7645576,"altitude":5,"angle":0,"satellites":41,"speed":44,"hex_longitude":"2d7d2380","hex_latitude":"05d1f408","is_valid_coordinates":true} 
[2026-07-25 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945540864001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110034966179479552,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613853874284544,"note":"Value kept but may cause issues"} 
[2026-07-25 07:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943528000,"timestamp_ms":1784943528000,"timestamp_seconds":1784943528,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ecc840"} 
[2026-07-25 07:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 07:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945540864001,"66":13678,"23":206,"85":15104,"24":44,"16":110034966179479552,"45":9017613853874284544},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-07-25 07:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945540864001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110034966179479552,"km_value":110034966179479.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613853874284544,"description":"Unknown IO ID 45"} 
[2026-07-25 07:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945540864001,"power":13678,"unknown_23":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9017613853874284544}} 
[2026-07-25 07:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":140945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:10:47] local.INFO: GPS data processed {"connection_id":140945,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:10:47] local.INFO: Acknowledgment sent {"connection_id":140945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:10:56] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:10:56] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:10:56] local.INFO: IMEI packet received {"connection_id":140901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":140901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:11:00] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:00] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:00] local.INFO: IMEI packet received {"connection_id":140901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":140901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:11:01] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ede180012d4509000690ed88003c00962f..."} 
[2026-07-25 07:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ede180012d4509000690ed88003c00962f..."} 
[2026-07-25 07:11:01] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ede180012d4509000690ed88003c00962f..."} 
[2026-07-25 07:11:01] local.INFO: Packet analysis {"connection_id":140901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ed"} 
[2026-07-25 07:11:01] local.INFO: Extracted packet for processing {"connection_id":140901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ed"} 
[2026-07-25 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":759499008,"raw_latitude":110161288,"longitude_deg":75.9499008,"latitude_deg":11.0161288,"altitude":60,"angle":150,"satellites":47,"speed":47,"hex_longitude":"2d450900","hex_latitude":"0690ed88","is_valid_coordinates":true} 
[2026-07-25 07:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945559552001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356971353493995520,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4969370373285738496,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784943600000,"timestamp_ms":1784943600000,"timestamp_seconds":1784943600,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ede180"} 
[2026-07-25 07:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 07:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945559552001,"66":27800,"171":206,"86":48896,"24":47,"16":356971353493995520,"45":4969370373285738496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-25 07:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945559552001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:11:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-25 07:11:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356971353493995520,"km_value":356971353493995.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4969370373285738496,"description":"Unknown IO ID 45"} 
[2026-07-25 07:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945559552001,"power":27800,"unknown_171":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":4969370373285738496}} 
[2026-07-25 07:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":140901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:11:01] local.INFO: GPS data processed {"connection_id":140901,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:11:01] local.INFO: Acknowledgment sent {"connection_id":140901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:11:18] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ee6650012d7d344005d29330000900222b..."} 
[2026-07-25 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ee6650012d7d344005d29330000900222b..."} 
[2026-07-25 07:11:18] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ee6650012d7d344005d29330000900222b..."} 
[2026-07-25 07:11:18] local.INFO: Packet analysis {"connection_id":140945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:11:18] local.INFO: Extracted packet for processing {"connection_id":140945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":97686320,"longitude_deg":76.3180096,"latitude_deg":9.768632,"altitude":9,"angle":34,"satellites":43,"speed":6,"hex_longitude":"2d7d3440","hex_latitude":"05d29330","is_valid_coordinates":true} 
[2026-07-25 07:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945570048001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110036976224174080,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978537607168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943634000,"timestamp_ms":1784943634000,"timestamp_seconds":1784943634,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ee6650"} 
[2026-07-25 07:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 07:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945570048001,"66":13428,"117":206,"85":15104,"24":6,"16":110036976224174080,"45":9021835978537607168},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 07:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945570048001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110036976224174080,"km_value":110036976224174.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978537607168,"description":"Unknown IO ID 45"} 
[2026-07-25 07:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945570048001,"power":13428,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9021835978537607168}} 
[2026-07-25 07:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":140945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:11:18] local.INFO: GPS data processed {"connection_id":140945,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:11:18] local.INFO: Acknowledgment sent {"connection_id":140945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:11:32] local.INFO: TCP Data received {"connection_id":140901,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ee00c0012d451c800690cbd0003c00952e..."} 
[2026-07-25 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ee00c0012d451c800690cbd0003c00952e..."} 
[2026-07-25 07:11:32] local.INFO: Processing buffer {"connection_id":140901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ee00c0012d451c800690cbd0003c00952e..."} 
[2026-07-25 07:11:32] local.INFO: Packet analysis {"connection_id":140901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:11:32] local.INFO: Extracted packet for processing {"connection_id":140901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":759504000,"raw_latitude":110152656,"longitude_deg":75.9504,"latitude_deg":11.0152656,"altitude":60,"angle":149,"satellites":46,"speed":51,"hex_longitude":"2d451c80","hex_latitude":"0690cbd0","is_valid_coordinates":true} 
[2026-07-25 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945561600001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356971834530332672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4974507291608713216,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784943608000,"timestamp_ms":1784943608000,"timestamp_seconds":1784943608,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ee00c0"} 
[2026-07-25 07:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":140901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":140901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945561600001,"66":27843,"47":206,"86":48896,"24":51,"16":356971834530332672,"45":4974507291608713216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-07-25 07:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945561600001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356971834530332672,"km_value":356971834530332.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4974507291608713216,"description":"Unknown IO ID 45"} 
[2026-07-25 07:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945561600001,"power":27843,"unknown_47":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":4974507291608713216}} 
[2026-07-25 07:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":140901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:11:32] local.INFO: GPS data processed {"connection_id":140901,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:11:32] local.INFO: Acknowledgment sent {"connection_id":140901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:11:41] local.INFO: TCP Data received {"connection_id":141946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:11:41] local.INFO: Processing buffer {"connection_id":141946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:11:41] local.INFO: IMEI packet received {"connection_id":141946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":141946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:11:46] local.INFO: TCP Data received {"connection_id":141946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:11:46] local.INFO: Processing buffer {"connection_id":141946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:11:46] local.INFO: IMEI packet received {"connection_id":141946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":141946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:11:47] local.INFO: TCP Data received {"connection_id":141946,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96eeb470012d7d350005d29468000900222b..."} 
[2026-07-25 07:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96eeb470012d7d350005d29468000900222b..."} 
[2026-07-25 07:11:47] local.INFO: Processing buffer {"connection_id":141946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96eeb470012d7d350005d29468000900222b..."} 
[2026-07-25 07:11:47] local.INFO: Packet analysis {"connection_id":141946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:11:47] local.INFO: Extracted packet for processing {"connection_id":141946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:11:47] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97686632,"longitude_deg":76.3180288,"latitude_deg":9.7686632,"altitude":9,"angle":34,"satellites":43,"speed":0,"hex_longitude":"2d7d3500","hex_latitude":"05d29468","is_valid_coordinates":true} 
[2026-07-25 07:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945570304001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110036997699010560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347281821696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943654000,"timestamp_ms":1784943654000,"timestamp_seconds":1784943654,"priority":1,"record_length":96,"hex_timestamp":"0000019f96eeb470"} 
[2026-07-25 07:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:11: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-07-25 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 07:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945570304001,"66":13374,"117":206,"85":15104,"24":0,"16":110036997699010560,"45":9021906347281821696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 07:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945570304001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:11:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 07:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110036997699010560,"km_value":110036997699010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347281821696,"description":"Unknown IO ID 45"} 
[2026-07-25 07:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945570304001,"power":13374,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9021906347281821696}} 
[2026-07-25 07:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":141946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:11:47] local.INFO: GPS data processed {"connection_id":141946,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:11:47] local.INFO: Acknowledgment sent {"connection_id":141946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:11:56] local.INFO: TCP Data received {"connection_id":141947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:56] local.INFO: Processing buffer {"connection_id":141947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:56] local.INFO: IMEI packet received {"connection_id":141947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":141947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:11:59] local.INFO: TCP Data received {"connection_id":141947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:59] local.INFO: Processing buffer {"connection_id":141947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:59] local.INFO: IMEI packet received {"connection_id":141947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":141947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:11:59] local.INFO: TCP Data received {"connection_id":141947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:59] local.INFO: Processing buffer {"connection_id":141947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:11:59] local.INFO: IMEI packet received {"connection_id":141947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":141947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:12:01] local.INFO: TCP Data received {"connection_id":141947,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:12:01] local.INFO: Processing buffer {"connection_id":141947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:12:01] local.INFO: IMEI packet received {"connection_id":141947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":141947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:12:02] local.INFO: TCP Data received {"connection_id":141947,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ee1c18012d452f000690acd8003d009430..."} 
[2026-07-25 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ee1c18012d452f000690acd8003d009430..."} 
[2026-07-25 07:12:02] local.INFO: Processing buffer {"connection_id":141947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ee1c18012d452f000690acd8003d009430..."} 
[2026-07-25 07:12:02] local.INFO: Packet analysis {"connection_id":141947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:12:02] local.INFO: Extracted packet for processing {"connection_id":141947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ee"} 
[2026-07-25 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":759508736,"raw_latitude":110144728,"longitude_deg":75.9508736,"latitude_deg":11.0144728,"altitude":61,"angle":148,"satellites":48,"speed":52,"hex_longitude":"2d452f00","hex_latitude":"0690acd8","is_valid_coordinates":true} 
[2026-07-25 07:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945563648001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356972281206931456,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4979996053652361216,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784943615000,"timestamp_ms":1784943615000,"timestamp_seconds":1784943615,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ee1c18"} 
[2026-07-25 07:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945563648001,"66":27767,"47":206,"86":48896,"24":52,"16":356972281206931456,"45":4979996053652361216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,86,24,16,45]} 
[2026-07-25 07:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945563648001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:12:02] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 07:12:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356972281206931456,"km_value":356972281206931.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4979996053652361216,"description":"Unknown IO ID 45"} 
[2026-07-25 07:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945563648001,"power":27767,"unknown_47":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":4979996053652361216}} 
[2026-07-25 07:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":141947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:12:02] local.INFO: GPS data processed {"connection_id":141947,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:12:02] local.INFO: Acknowledgment sent {"connection_id":141947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:12:18] local.INFO: TCP Data received {"connection_id":141946,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ef0678012d7d390005d299d0000900222b..."} 
[2026-07-25 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ef0678012d7d390005d299d0000900222b..."} 
[2026-07-25 07:12:18] local.INFO: Processing buffer {"connection_id":141946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ef0678012d7d390005d299d0000900222b..."} 
[2026-07-25 07:12:18] local.INFO: Packet analysis {"connection_id":141946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:12:18] local.INFO: Extracted packet for processing {"connection_id":141946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97688016,"longitude_deg":76.3181312,"latitude_deg":9.7688016,"altitude":9,"angle":34,"satellites":43,"speed":3,"hex_longitude":"2d7d3900","hex_latitude":"05d299d0","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945575424001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110037079303389184,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453514434560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943675000,"timestamp_ms":1784943675000,"timestamp_seconds":1784943675,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ef0678"} 
[2026-07-25 07:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 07:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945575424001,"66":13450,"117":206,"85":15104,"24":3,"16":110037079303389184,"45":9022117453514434560},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 07:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945575424001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:12:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 07:12:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110037079303389184,"km_value":110037079303389.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453514434560,"description":"Unknown IO ID 45"} 
[2026-07-25 07:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945575424001,"power":13450,"unknown_117":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9022117453514434560}} 
[2026-07-25 07:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":141946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:12:18] local.INFO: GPS data processed {"connection_id":141946,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:12:18] local.INFO: Acknowledgment sent {"connection_id":141946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:12:33] local.INFO: TCP Data received {"connection_id":141947,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ef6c08012d462480068f43b8004600a430..."} 
[2026-07-25 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ef6c08012d462480068f43b8004600a430..."} 
[2026-07-25 07:12:33] local.INFO: Processing buffer {"connection_id":141947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ef6c08012d462480068f43b8004600a430..."} 
[2026-07-25 07:12:33] local.INFO: Packet analysis {"connection_id":141947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:12:33] local.INFO: Extracted packet for processing {"connection_id":141947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":759571584,"raw_latitude":110052280,"longitude_deg":75.9571584,"latitude_deg":11.005228,"altitude":70,"angle":164,"satellites":48,"speed":59,"hex_longitude":"2d462480","hex_latitude":"068f43b8","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945585664001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356977783060037632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5051279591481116672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784943701000,"timestamp_ms":1784943701000,"timestamp_seconds":1784943701,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ef6c08"} 
[2026-07-25 07:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945585664001,"66":27843,"48":206,"86":48896,"24":59,"16":356977783060037632,"45":5051279591481116672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-25 07:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945585664001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:12:33] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:12:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356977783060037632,"km_value":356977783060037.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5051279591481116672,"description":"Unknown IO ID 45"} 
[2026-07-25 07:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945585664001,"power":27843,"unknown_48":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5051279591481116672}} 
[2026-07-25 07:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":141947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:12:33] local.INFO: GPS data processed {"connection_id":141947,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:12:33] local.INFO: Acknowledgment sent {"connection_id":141947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:12:41] local.INFO: TCP Data received {"connection_id":140946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:41] local.INFO: Processing buffer {"connection_id":140946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:41] local.INFO: IMEI packet received {"connection_id":140946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":140946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:12:42] local.INFO: TCP Data received {"connection_id":140946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:42] local.INFO: Processing buffer {"connection_id":140946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:42] local.INFO: IMEI packet received {"connection_id":140946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":140946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:12:46] local.INFO: TCP Data received {"connection_id":140946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140946,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:46] local.INFO: Processing buffer {"connection_id":140946,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:12:46] local.INFO: IMEI packet received {"connection_id":140946,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":140946,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:12:47] local.INFO: TCP Data received {"connection_id":140946,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ef1618012d7d398005d29b78000900052a..."} 
[2026-07-25 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ef1618012d7d398005d29b78000900052a..."} 
[2026-07-25 07:12:47] local.INFO: Processing buffer {"connection_id":140946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ef1618012d7d398005d29b78000900052a..."} 
[2026-07-25 07:12:47] local.INFO: Packet analysis {"connection_id":140946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:12:47] local.INFO: Extracted packet for processing {"connection_id":140946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97688440,"longitude_deg":76.318144,"latitude_deg":9.768844,"altitude":9,"angle":5,"satellites":42,"speed":5,"hex_longitude":"2d7d3980","hex_latitude":"05d29b78","is_valid_coordinates":true} 
[2026-07-25 07:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945580800001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110037100778225664,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353421631488,"note":"Value kept but may cause issues"} 
[2026-07-25 07:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943679000,"timestamp_ms":1784943679000,"timestamp_seconds":1784943679,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ef1618"} 
[2026-07-25 07:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:12: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-07-25 07:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-25 07:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945580800001,"66":13374,"117":206,"85":15104,"24":5,"16":110037100778225664,"45":9023243353421631488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 07:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945580800001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110037100778225664,"km_value":110037100778225.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353421631488,"description":"Unknown IO ID 45"} 
[2026-07-25 07:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945580800001,"power":13374,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9023243353421631488}} 
[2026-07-25 07:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":140946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:12:47] local.INFO: GPS data processed {"connection_id":140946,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:12:47] local.INFO: Acknowledgment sent {"connection_id":140946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:13:06] local.INFO: TCP Data received {"connection_id":141948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:06] local.INFO: Processing buffer {"connection_id":141948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:06] local.INFO: IMEI packet received {"connection_id":141948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":141948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:13:11] local.INFO: TCP Data received {"connection_id":141948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:11] local.INFO: Processing buffer {"connection_id":141948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:11] local.INFO: IMEI packet received {"connection_id":141948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":141948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:13:11] local.INFO: TCP Data received {"connection_id":141948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:11] local.INFO: Processing buffer {"connection_id":141948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:13:11] local.INFO: IMEI packet received {"connection_id":141948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":141948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:13:12] local.INFO: TCP Data received {"connection_id":141948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ef8378012d462e40068f2160004500a331..."} 
[2026-07-25 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ef8378012d462e40068f2160004500a331..."} 
[2026-07-25 07:13:12] local.INFO: Processing buffer {"connection_id":141948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ef8378012d462e40068f2160004500a331..."} 
[2026-07-25 07:13:12] local.INFO: Packet analysis {"connection_id":141948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:13:12] local.INFO: Extracted packet for processing {"connection_id":141948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:13:12] local.INFO: GPS Element Parsed {"raw_longitude":759574080,"raw_latitude":110043488,"longitude_deg":75.957408,"latitude_deg":11.0043488,"altitude":69,"angle":163,"satellites":49,"speed":61,"hex_longitude":"2d462e40","hex_latitude":"068f2160","is_valid_coordinates":true} 
[2026-07-25 07:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945587456001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356978225441669120,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5054305447478278144,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784943707000,"timestamp_ms":1784943707000,"timestamp_seconds":1784943707,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ef8378"} 
[2026-07-25 07:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:13: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-07-25 07:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945587456001,"66":27821,"48":206,"86":48896,"24":61,"16":356978225441669120,"45":5054305447478278144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-25 07:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945587456001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:13:12] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:13:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356978225441669120,"km_value":356978225441669.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5054305447478278144,"description":"Unknown IO ID 45"} 
[2026-07-25 07:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945587456001,"power":27821,"unknown_48":206,"unknown_86":48896,"ignition":61,"odometer":null,"unknown_45":5054305447478278144}} 
[2026-07-25 07:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":141948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:13:12] local.INFO: GPS data processed {"connection_id":141948,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:13:12] local.INFO: Acknowledgment sent {"connection_id":141948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:13:17] local.INFO: TCP Data received {"connection_id":141948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ef9ae8012d463800068eff30004400a531..."} 
[2026-07-25 07:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ef9ae8012d463800068eff30004400a531..."} 
[2026-07-25 07:13:17] local.INFO: Processing buffer {"connection_id":141948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ef9ae8012d463800068eff30004400a531..."} 
[2026-07-25 07:13:17] local.INFO: Packet analysis {"connection_id":141948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:13:17] local.INFO: Extracted packet for processing {"connection_id":141948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:13:17] local.INFO: GPS Element Parsed {"raw_longitude":759576576,"raw_latitude":110034736,"longitude_deg":75.9576576,"latitude_deg":11.0034736,"altitude":68,"angle":165,"satellites":49,"speed":58,"hex_longitude":"2d463800","hex_latitude":"068eff30","is_valid_coordinates":true} 
[2026-07-25 07:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945588992001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356978663528333312,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5057049828498956288,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784943713000,"timestamp_ms":1784943713000,"timestamp_seconds":1784943713,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ef9ae8"} 
[2026-07-25 07:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945588992001,"66":27745,"48":206,"86":48896,"24":58,"16":356978663528333312,"45":5057049828498956288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-25 07:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945588992001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:13:17] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:13:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356978663528333312,"km_value":356978663528333.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5057049828498956288,"description":"Unknown IO ID 45"} 
[2026-07-25 07:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945588992001,"power":27745,"unknown_48":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":5057049828498956288}} 
[2026-07-25 07:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":141948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:13:17] local.INFO: GPS data processed {"connection_id":141948,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:13:17] local.INFO: Acknowledgment sent {"connection_id":141948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:13:18] local.INFO: TCP Data received {"connection_id":140946,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ef6050012d7d3a4005d2c0c80006016529..."} 
[2026-07-25 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ef6050012d7d3a4005d2c0c80006016529..."} 
[2026-07-25 07:13:18] local.INFO: Processing buffer {"connection_id":140946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ef6050012d7d3a4005d2c0c80006016529..."} 
[2026-07-25 07:13:18] local.INFO: Packet analysis {"connection_id":140946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:13:18] local.INFO: Extracted packet for processing {"connection_id":140946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97697992,"longitude_deg":76.3181632,"latitude_deg":9.7697992,"altitude":6,"angle":357,"satellites":41,"speed":33,"hex_longitude":"2d7d3a40","hex_latitude":"05d2c0c8","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945581824001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110037568929660928,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090910095360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943698000,"timestamp_ms":1784943698000,"timestamp_seconds":1784943698,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ef6050"} 
[2026-07-25 07:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:13: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-07-25 07:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 07:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140946,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945581824001,"66":13646,"117":206,"85":15104,"24":33,"16":110037568929660928,"45":9023384090910095360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 07:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945581824001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110037568929660928,"km_value":110037568929660.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090910095360,"description":"Unknown IO ID 45"} 
[2026-07-25 07:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945581824001,"power":13646,"unknown_117":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9023384090910095360}} 
[2026-07-25 07:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":140946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:13:18] local.INFO: GPS data processed {"connection_id":140946,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:13:18] local.INFO: Acknowledgment sent {"connection_id":140946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:13:45] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:45] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:45] local.INFO: IMEI packet received {"connection_id":140902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":140902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:13:46] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:46] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:46] local.INFO: IMEI packet received {"connection_id":140902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":140902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:13:51] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:51] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:13:51] local.INFO: IMEI packet received {"connection_id":140902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":140902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:13:52] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f0cb98012d7d3dc005d454200006016320..."} 
[2026-07-25 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f0cb98012d7d3dc005d454200006016320..."} 
[2026-07-25 07:13:52] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f0cb98012d7d3dc005d454200006016320..."} 
[2026-07-25 07:13:52] local.INFO: Packet analysis {"connection_id":140902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f0"} 
[2026-07-25 07:13:52] local.INFO: Extracted packet for processing {"connection_id":140902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f0"} 
[2026-07-25 07:13:52] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97801248,"longitude_deg":76.3182528,"latitude_deg":9.7801248,"altitude":6,"angle":355,"satellites":32,"speed":51,"hex_longitude":"2d7d3dc0","hex_latitude":"05d45420","is_valid_coordinates":true} 
[2026-07-25 07:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945608704001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110042581156495360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834564372480,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784943791000,"timestamp_ms":1784943791000,"timestamp_seconds":1784943791,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f0cb98"} 
[2026-07-25 07:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613679,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2532308160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":7360852313528860682,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4029890561,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2587885572,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055477,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-07-25 07:13:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262501,"corrected_to":0} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":134,"raw_value":4036886528,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3927145279579488262,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-1873271330174874027,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755597009682673,"note":"Value kept but may cause issues"} 
[2026-07-25 07:13:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,81,85,24,241,157,16,242,159,145,45,192,10,6,31,66,113,228,32,115,82,1,240,221,227,150,211,4,205,46,20,52,200,38,239,54,2,134,5,47,125,53,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0},{"io_id":200,"original":262501,"validated":0}]} 
[2026-07-25 07:13:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432347896398020608,"timestamp_seconds":432347896398020.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":140902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":140902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":140902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945608704001,"66":13798,"81":206,"85":15104,"24":51,"16":110042581156495360,"45":9024861834564372480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 07:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945608704001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110042581156495360,"km_value":110042581156495.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834564372480,"description":"Unknown IO ID 45"} 
[2026-07-25 07:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945608704001,"power":13798,"unknown_81":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9024861834564372480}} 
[2026-07-25 07:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":140902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:13:52] local.INFO: GPS data processed {"connection_id":140902,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:13:52] local.INFO: Acknowledgment sent {"connection_id":140902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:14:01] local.INFO: TCP Data received {"connection_id":143295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:01] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:01] local.INFO: IMEI packet received {"connection_id":143295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":143295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:14:02] local.INFO: TCP Data received {"connection_id":143295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:02] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:02] local.INFO: IMEI packet received {"connection_id":143295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":143295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:14:03] local.INFO: TCP Data received {"connection_id":143295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96efb640012d463e80068ed9e0004600ad30..."} 
[2026-07-25 07:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96efb640012d463e80068ed9e0004600ad30..."} 
[2026-07-25 07:14:03] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96efb640012d463e80068ed9e0004600ad30..."} 
[2026-07-25 07:14:03] local.INFO: Packet analysis {"connection_id":143295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:14:03] local.INFO: Extracted packet for processing {"connection_id":143295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":759578240,"raw_latitude":110025184,"longitude_deg":75.957824,"latitude_deg":11.0025184,"altitude":70,"angle":173,"satellites":48,"speed":51,"hex_longitude":"2d463e80","hex_latitude":"068ed9e0","is_valid_coordinates":true} 
[2026-07-25 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945590528001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356979135974735872,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5059794209519644672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784943720000,"timestamp_ms":1784943720000,"timestamp_seconds":1784943720,"priority":1,"record_length":96,"hex_timestamp":"0000019f96efb640"} 
[2026-07-25 07:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 07:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945590528001,"66":27800,"48":206,"86":48896,"24":51,"16":356979135974735872,"45":5059794209519644672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-25 07:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945590528001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356979135974735872,"km_value":356979135974735.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5059794209519644672,"description":"Unknown IO ID 45"} 
[2026-07-25 07:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945590528001,"power":27800,"unknown_48":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":5059794209519644672}} 
[2026-07-25 07:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":143295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:14:03] local.INFO: GPS data processed {"connection_id":143295,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:14:03] local.INFO: Acknowledgment sent {"connection_id":143295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:14:07] local.INFO: TCP Data received {"connection_id":143295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96efd580012d464140068eb498004900b131..."} 
[2026-07-25 07:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96efd580012d464140068eb498004900b131..."} 
[2026-07-25 07:14:07] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96efd580012d464140068eb498004900b131..."} 
[2026-07-25 07:14:07] local.INFO: Packet analysis {"connection_id":143295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:14:07] local.INFO: Extracted packet for processing {"connection_id":143295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ef"} 
[2026-07-25 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":759578944,"raw_latitude":110015640,"longitude_deg":75.9578944,"latitude_deg":11.001564,"altitude":73,"angle":177,"satellites":49,"speed":45,"hex_longitude":"2d464140","hex_latitude":"068eb498","is_valid_coordinates":true} 
[2026-07-25 07:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945592320001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356979599831203840,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5061623796865818624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784943728000,"timestamp_ms":1784943728000,"timestamp_seconds":1784943728,"priority":1,"record_length":96,"hex_timestamp":"0000019f96efd580"} 
[2026-07-25 07:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945592320001,"66":27843,"48":206,"86":48896,"24":45,"16":356979599831203840,"45":5061623796865818624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-25 07:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945592320001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:14:07] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:14:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356979599831203840,"km_value":356979599831203.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5061623796865818624,"description":"Unknown IO ID 45"} 
[2026-07-25 07:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945592320001,"power":27843,"unknown_48":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5061623796865818624}} 
[2026-07-25 07:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":143295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:14:07] local.INFO: GPS data processed {"connection_id":143295,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:14:07] local.INFO: Acknowledgment sent {"connection_id":143295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:14:23] local.INFO: TCP Data received {"connection_id":140902,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f0e6f0012d7d394005d476d00005015f21..."} 
[2026-07-25 07:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f0e6f0012d7d394005d476d00005015f21..."} 
[2026-07-25 07:14:23] local.INFO: Processing buffer {"connection_id":140902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f0e6f0012d7d394005d476d00005015f21..."} 
[2026-07-25 07:14:23] local.INFO: Packet analysis {"connection_id":140902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f0"} 
[2026-07-25 07:14:23] local.INFO: Extracted packet for processing {"connection_id":140902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f0"} 
[2026-07-25 07:14:23] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97810128,"longitude_deg":76.3181376,"latitude_deg":9.7810128,"altitude":5,"angle":351,"satellites":33,"speed":49,"hex_longitude":"2d7d3940","hex_latitude":"05d476d0","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945610496001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110043014948192256,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359589994496,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784943798000,"timestamp_ms":1784943798000,"timestamp_seconds":1784943798,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f0e6f0"} 
[2026-07-25 07:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-25 07:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945610496001,"66":13798,"81":206,"85":15104,"24":49,"16":110043014948192256,"45":9024580359589994496},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 07:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945610496001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:14:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110043014948192256,"km_value":110043014948192.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359589994496,"description":"Unknown IO ID 45"} 
[2026-07-25 07:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945610496001,"power":13798,"unknown_81":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9024580359589994496}} 
[2026-07-25 07:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":140902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:14:23] local.INFO: GPS data processed {"connection_id":140902,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:14:23] local.INFO: Acknowledgment sent {"connection_id":140902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:14:38] local.INFO: TCP Data received {"connection_id":143295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f15450012d476b00068de158004d00482c..."} 
[2026-07-25 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f15450012d476b00068de158004d00482c..."} 
[2026-07-25 07:14:38] local.INFO: Processing buffer {"connection_id":143295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f15450012d476b00068de158004d00482c..."} 
[2026-07-25 07:14:38] local.INFO: Packet analysis {"connection_id":143295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:14:38] local.INFO: Extracted packet for processing {"connection_id":143295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":759655168,"raw_latitude":109961560,"longitude_deg":75.9655168,"latitude_deg":10.996156,"altitude":77,"angle":72,"satellites":44,"speed":74,"hex_longitude":"2d476b00","hex_latitude":"068de158","is_valid_coordinates":true} 
[2026-07-25 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945618176001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356985041554767872,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5136355403165517824,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784943826000,"timestamp_ms":1784943826000,"timestamp_seconds":1784943826,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f15450"} 
[2026-07-25 07:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945618176001,"66":27865,"62":206,"86":48896,"24":74,"16":356985041554767872,"45":5136355403165517824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-25 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945618176001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:14:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-25 07:14:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356985041554767872,"km_value":356985041554767.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5136355403165517824,"description":"Unknown IO ID 45"} 
[2026-07-25 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945618176001,"power":27865,"unknown_62":206,"unknown_86":48896,"ignition":74,"odometer":null,"unknown_45":5136355403165517824}} 
[2026-07-25 07:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":143295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:14:38] local.INFO: GPS data processed {"connection_id":143295,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:14:38] local.INFO: Acknowledgment sent {"connection_id":143295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:14:41] local.INFO: TCP Data received {"connection_id":140947,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:41] local.INFO: Processing buffer {"connection_id":140947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:41] local.INFO: IMEI packet received {"connection_id":140947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":140947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:14:42] local.INFO: TCP Data received {"connection_id":140947,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:42] local.INFO: Processing buffer {"connection_id":140947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:42] local.INFO: IMEI packet received {"connection_id":140947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":140947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:14:46] local.INFO: TCP Data received {"connection_id":140947,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:46] local.INFO: Processing buffer {"connection_id":140947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:14:46] local.INFO: IMEI packet received {"connection_id":140947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":140947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:14:47] local.INFO: TCP Data received {"connection_id":140947,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f10630012d7d328005d49d000004015d20..."} 
[2026-07-25 07:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f10630012d7d328005d49d000004015d20..."} 
[2026-07-25 07:14:47] local.INFO: Processing buffer {"connection_id":140947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f10630012d7d328005d49d000004015d20..."} 
[2026-07-25 07:14:47] local.INFO: Packet analysis {"connection_id":140947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:14:47] local.INFO: Extracted packet for processing {"connection_id":140947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763179648,"raw_latitude":97819904,"longitude_deg":76.3179648,"latitude_deg":9.7819904,"altitude":4,"angle":349,"satellites":32,"speed":50,"hex_longitude":"2d7d3280","hex_latitude":"05d49d00","is_valid_coordinates":true} 
[2026-07-25 07:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945612288001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110043500279496704,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722197069824,"note":"Value kept but may cause issues"} 
[2026-07-25 07:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943806000,"timestamp_ms":1784943806000,"timestamp_seconds":1784943806,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f10630"} 
[2026-07-25 07:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-25 07:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945612288001,"66":13472,"81":206,"85":15104,"24":50,"16":110043500279496704,"45":9023313722197069824},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 07:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945612288001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:14:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110043500279496704,"km_value":110043500279496.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722197069824,"description":"Unknown IO ID 45"} 
[2026-07-25 07:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945612288001,"power":13472,"unknown_81":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9023313722197069824}} 
[2026-07-25 07:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":140947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:14:47] local.INFO: GPS data processed {"connection_id":140947,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:14:47] local.INFO: Acknowledgment sent {"connection_id":140947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:14:56] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:56] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:56] local.INFO: IMEI packet received {"connection_id":140903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":140903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:14:56] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:56] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:14:56] local.INFO: IMEI packet received {"connection_id":140903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":140903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:15:00] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:15:00] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:15:00] local.INFO: IMEI packet received {"connection_id":140903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":140903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:15:01] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f167d8012d479000068dec80004900492b..."} 
[2026-07-25 07:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f167d8012d479000068dec80004900492b..."} 
[2026-07-25 07:15:01] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f167d8012d479000068dec80004900492b..."} 
[2026-07-25 07:15:01] local.INFO: Packet analysis {"connection_id":140903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:15:01] local.INFO: Extracted packet for processing {"connection_id":140903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:15:01] local.INFO: GPS Element Parsed {"raw_longitude":759664640,"raw_latitude":109964416,"longitude_deg":75.966464,"latitude_deg":10.9964416,"altitude":73,"angle":73,"satellites":43,"speed":79,"hex_longitude":"2d479000","hex_latitude":"068dec80","is_valid_coordinates":true} 
[2026-07-25 07:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945619456001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356985514001170432,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5146207027351083008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784943831000,"timestamp_ms":1784943831000,"timestamp_seconds":1784943831,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f167d8"} 
[2026-07-25 07:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945619456001,"66":27821,"62":206,"86":48896,"24":79,"16":356985514001170432,"45":5146207027351083008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-25 07:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945619456001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:15:01] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-25 07:15:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356985514001170432,"km_value":356985514001170.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5146207027351083008,"description":"Unknown IO ID 45"} 
[2026-07-25 07:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945619456001,"power":27821,"unknown_62":206,"unknown_86":48896,"ignition":79,"odometer":null,"unknown_45":5146207027351083008}} 
[2026-07-25 07:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":140903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:15:01] local.INFO: GPS data processed {"connection_id":140903,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:15:01] local.INFO: Acknowledgment sent {"connection_id":140903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:15:22] local.INFO: TCP Data received {"connection_id":140947,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f12570012d7d2cc005d4c2f0000301601e..."} 
[2026-07-25 07:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f12570012d7d2cc005d4c2f0000301601e..."} 
[2026-07-25 07:15:22] local.INFO: Processing buffer {"connection_id":140947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f12570012d7d2cc005d4c2f0000301601e..."} 
[2026-07-25 07:15:22] local.INFO: Packet analysis {"connection_id":140947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:15:22] local.INFO: Extracted packet for processing {"connection_id":140947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f1"} 
[2026-07-25 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97829616,"longitude_deg":76.3178176,"latitude_deg":9.7829616,"altitude":3,"angle":352,"satellites":30,"speed":48,"hex_longitude":"2d7d2cc0","hex_latitude":"05d4c2f0","is_valid_coordinates":true} 
[2026-07-25 07:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945614336001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110043972725899264,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021413766106775552,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784943814000,"timestamp_ms":1784943814000,"timestamp_seconds":1784943814,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f12570"} 
[2026-07-25 07:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 07:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":140947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":140947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":140947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945614336001,"66":13787,"81":206,"85":15104,"24":48,"16":110043972725899264,"45":9021413766106775552},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 07:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945614336001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110043972725899264,"km_value":110043972725899.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021413766106775552,"description":"Unknown IO ID 45"} 
[2026-07-25 07:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945614336001,"power":13787,"unknown_81":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9021413766106775552}} 
[2026-07-25 07:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":140947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:15:22] local.INFO: GPS data processed {"connection_id":140947,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:15:22] local.INFO: Acknowledgment sent {"connection_id":140947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:15:32] local.INFO: TCP Data received {"connection_id":140903,"ip":"42.106.6.17","data_length":807,"data_hex":"000000000000031b8e0a0000019f96f23ac8012d48f040068d4ac80013009f30..."} 
[2026-07-25 07:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140903,"packet_length":807,"packet_hex":"000000000000031b8e0a0000019f96f23ac8012d48f040068d4ac80013009f30..."} 
[2026-07-25 07:15:32] local.INFO: Processing buffer {"connection_id":140903,"buffer_length":807,"buffer_hex":"000000000000031b8e0a0000019f96f23ac8012d48f040068d4ac80013009f30..."} 
[2026-07-25 07:15:32] local.INFO: Packet analysis {"connection_id":140903,"data_field_length":795,"total_packet_length":807,"buffer_length":807,"packet_hex_start":"000000000000031b8e0a0000019f96f2"} 
[2026-07-25 07:15:32] local.INFO: Extracted packet for processing {"connection_id":140903,"packet_length":807,"remaining_buffer_length":0,"packet_hex_start":"000000000000031b8e0a0000019f96f2"} 
[2026-07-25 07:15:32] local.INFO: GPS Element Parsed {"raw_longitude":759754816,"raw_latitude":109923016,"longitude_deg":75.9754816,"latitude_deg":10.9923016,"altitude":19,"angle":159,"satellites":48,"speed":90,"hex_longitude":"2d48f040","hex_latitude":"068d4ac8","is_valid_coordinates":true} 
[2026-07-25 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":807,"current_offset":40} 
[2026-07-25 07:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945633536000,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356990809695846400,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5251830512354037760,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784943885000,"timestamp_ms":1784943885000,"timestamp_seconds":1784943885,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f23ac8"} 
[2026-07-25 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-07-25 07:15:32] local.INFO: GPS Element Parsed {"raw_longitude":184550656,"raw_latitude":4009820273,"longitude_deg":18.4550656,"latitude_deg":-28.5147023,"altitude":19712,"angle":65373,"satellites":0,"speed":61441,"hex_longitude":"0b000500","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":1,"n2_two_byte":0,"n4_four_byte":4,"n8_eight_byte":0,"data_length":807,"current_offset":136} 
[2026-07-25 07:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4043309213,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:32] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[66,80,0,24],"length":28,"final_offset":158,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 07:15:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729551792160440575,"timestamp_seconds":1729551792160440.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 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-07-25 07:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":140903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":140903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945633536000,"66":27995,"106":206,"86":48896,"24":90,"16":356990809695846400,"45":5251830512354037760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,86,24,16,45]} 
[2026-07-25 07:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945633536000,"description":"Unknown IO ID 0"} 
[2026-07-25 07:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 07:15:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356990809695846400,"km_value":356990809695846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5251830512354037760,"description":"Unknown IO ID 45"} 
[2026-07-25 07:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945633536000,"power":27995,"unknown_106":206,"unknown_86":48896,"ignition":90,"odometer":null,"unknown_45":5251830512354037760}} 
[2026-07-25 07:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":140903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:15:32] local.INFO: GPS data processed {"connection_id":140903,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:15:32] local.INFO: Acknowledgment sent {"connection_id":140903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:15:41] local.INFO: TCP Data received {"connection_id":141949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:15:41] local.INFO: Processing buffer {"connection_id":141949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:15:41] local.INFO: IMEI packet received {"connection_id":141949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":141949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:15:45] local.INFO: TCP Data received {"connection_id":141949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:15:45] local.INFO: Processing buffer {"connection_id":141949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:15:45] local.INFO: IMEI packet received {"connection_id":141949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":141949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:15:46] local.INFO: TCP Data received {"connection_id":141949,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f2e6a8012d7cf34005d62508000001611a..."} 
[2026-07-25 07:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f2e6a8012d7cf34005d62508000001611a..."} 
[2026-07-25 07:15:46] local.INFO: Processing buffer {"connection_id":141949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f2e6a8012d7cf34005d62508000001611a..."} 
[2026-07-25 07:15:46] local.INFO: Packet analysis {"connection_id":141949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f2"} 
[2026-07-25 07:15:46] local.INFO: Extracted packet for processing {"connection_id":141949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f2"} 
[2026-07-25 07:15:46] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97920264,"longitude_deg":76.3163456,"latitude_deg":9.7920264,"altitude":0,"angle":353,"satellites":26,"speed":48,"hex_longitude":"2d7cf340","hex_latitude":"05d62508","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945643776001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110048469556658176,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004877111248334848,"note":"Value kept but may cause issues"} 
[2026-07-25 07:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784943929000,"timestamp_ms":1784943929000,"timestamp_seconds":1784943929,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f2e6a8"} 
[2026-07-25 07:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-25 07:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945643776001,"66":13646,"29":206,"85":15104,"24":48,"16":110048469556658176,"45":9004877111248334848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 07:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945643776001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110048469556658176,"km_value":110048469556658.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004877111248334848,"description":"Unknown IO ID 45"} 
[2026-07-25 07:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945643776001,"power":13646,"unknown_29":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9004877111248334848}} 
[2026-07-25 07:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":141949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:15:46] local.INFO: GPS data processed {"connection_id":141949,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:15:46] local.INFO: Acknowledgment sent {"connection_id":141949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:15:56] local.INFO: TCP Data received {"connection_id":141950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:15:56] local.INFO: Processing buffer {"connection_id":141950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:15:56] local.INFO: IMEI packet received {"connection_id":141950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":141950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:16:01] local.INFO: TCP Data received {"connection_id":141950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:01] local.INFO: Processing buffer {"connection_id":141950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:01] local.INFO: IMEI packet received {"connection_id":141950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":141950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:16:02] local.INFO: TCP Data received {"connection_id":141950,"ip":"42.106.6.17","data_length":827,"data_hex":"000f383632353637303734373733313135000000000000031e8e0a0000019f96..."} 
[2026-07-25 07:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141950,"packet_length":827,"packet_hex":"000f383632353637303734373733313135000000000000031e8e0a0000019f96..."} 
[2026-07-25 07:16:02] local.INFO: Processing buffer {"connection_id":141950,"buffer_length":827,"buffer_hex":"000f383632353637303734373733313135000000000000031e8e0a0000019f96..."} 
[2026-07-25 07:16:02] local.INFO: IMEI packet received {"connection_id":141950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":141950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:16:06] local.INFO: TCP Data received {"connection_id":141950,"ip":"42.106.6.17","data_length":810,"data_hex":"000000000000031e8e0a0000019f96f25238012d4903c0068d19180010009d2f..."} 
[2026-07-25 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141950,"packet_length":810,"packet_hex":"000000000000031e8e0a0000019f96f25238012d4903c0068d19180010009d2f..."} 
[2026-07-25 07:16:06] local.INFO: Processing buffer {"connection_id":141950,"buffer_length":1620,"buffer_hex":"000000000000031e8e0a0000019f96f24298002d48f680068d3a380012009f30..."} 
[2026-07-25 07:16:06] local.INFO: Packet analysis {"connection_id":141950,"data_field_length":798,"total_packet_length":810,"buffer_length":1620,"packet_hex_start":"000000000000031e8e0a0000019f96f2"} 
[2026-07-25 07:16:06] local.INFO: Extracted packet for processing {"connection_id":141950,"packet_length":810,"remaining_buffer_length":810,"packet_hex_start":"000000000000031e8e0a0000019f96f2"} 
[2026-07-25 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":759756416,"raw_latitude":109918776,"longitude_deg":75.9756416,"latitude_deg":10.9918776,"altitude":18,"angle":159,"satellites":48,"speed":91,"hex_longitude":"2d48f680","hex_latitude":"068d3a38","is_valid_coordinates":true} 
[2026-07-25 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":255,"n1_one_byte":0,"n2_two_byte":11,"n4_four_byte":0,"n8_eight_byte":5,"data_length":810,"current_offset":40} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945634560001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356991033034145792,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5255771162025838592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":19,"raw_value":44807299365076992,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.INFO: IO Element Parsed {"io_data_count":8,"io_data_keys":[0,66,106,86,24,16,45,19],"length":84,"final_offset":118,"validated_count":8,"validation_warnings":[]} 
[2026-07-25 07:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784943887000,"timestamp_ms":1784943887000,"timestamp_seconds":1784943887,"priority":0,"record_length":108,"hex_timestamp":"0000019f96f24298"} 
[2026-07-25 07:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":108,"new_offset":118} 
[2026-07-25 07:16:06] local.WARNING: Invalid latitude detected, setting to null {"latitude":115.7693444,"raw_latitude":1157693444,"hex_latitude":"45010004"} 
[2026-07-25 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":15728896,"raw_latitude":null,"longitude_deg":1.5728896,"latitude_deg":0.0,"altitude":66,"angle":27995,"satellites":0,"speed":52525,"hex_longitude":"00f00100","hex_latitude":"45010004","is_valid_coordinates":false} 
[2026-07-25 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":106,"total_io":0,"n1_one_byte":206,"n2_two_byte":86,"n4_four_byte":191,"n8_eight_byte":0,"data_length":810,"current_offset":148} 
[2026-07-25 07:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":148,"expected_size":1625,"max_length":810,"available_bytes":662,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":142,"data_length":810,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":118,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945634560001,"66":27995,"106":206,"86":48896,"24":91,"16":356991033034145792,"45":5255771162025838592,"19":44807299365076992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,86,24,16,45,19]} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945634560001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356991033034145792,"km_value":356991033034145.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5255771162025838592,"description":"Unknown IO ID 45"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":44807299365076992,"description":"Unknown IO ID 19"} 
[2026-07-25 07:16:06] local.INFO: IO Data Validated and Processed {"original_count":8,"validated_count":8,"validated_data":{"unknown_0":456945634560001,"power":27995,"unknown_106":206,"unknown_86":48896,"ignition":91,"odometer":null,"unknown_45":5255771162025838592,"unknown_19":44807299365076992}} 
[2026-07-25 07:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":141950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:16:06] local.INFO: GPS data processed {"connection_id":141950,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:16:06] local.INFO: Acknowledgment sent {"connection_id":141950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:16:06] local.INFO: Packet analysis {"connection_id":141950,"data_field_length":798,"total_packet_length":810,"buffer_length":810,"packet_hex_start":"000000000000031e8e0a0000019f96f2"} 
[2026-07-25 07:16:06] local.INFO: Extracted packet for processing {"connection_id":141950,"packet_length":810,"remaining_buffer_length":0,"packet_hex_start":"000000000000031e8e0a0000019f96f2"} 
[2026-07-25 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":759759808,"raw_latitude":109910296,"longitude_deg":75.9759808,"latitude_deg":10.9910296,"altitude":16,"angle":157,"satellites":47,"speed":90,"hex_longitude":"2d4903c0","hex_latitude":"068d1918","is_valid_coordinates":true} 
[2026-07-25 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":810,"current_offset":40} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945635072000,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356991471120809984,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5257530380629194752,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784943891000,"timestamp_ms":1784943891000,"timestamp_seconds":1784943891,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f25238"} 
[2026-07-25 07:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":184550656,"raw_latitude":4009820273,"longitude_deg":18.4550656,"latitude_deg":-28.5147023,"altitude":19968,"angle":65371,"satellites":0,"speed":61441,"hex_longitude":"0b000500","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":1,"n2_two_byte":0,"n4_four_byte":4,"n8_eight_byte":0,"data_length":810,"current_offset":136} 
[2026-07-25 07:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4043309213,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:06] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[66,91,0,24],"length":28,"final_offset":158,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 07:16:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297211721195913471,"timestamp_seconds":1297211721195913.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945635072000,"66":28006,"106":206,"86":48896,"24":90,"16":356991471120809984,"45":5257530380629194752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,86,24,16,45]} 
[2026-07-25 07:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945635072000,"description":"Unknown IO ID 0"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356991471120809984,"km_value":356991471120810.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5257530380629194752,"description":"Unknown IO ID 45"} 
[2026-07-25 07:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945635072000,"power":28006,"unknown_106":206,"unknown_86":48896,"ignition":90,"odometer":null,"unknown_45":5257530380629194752}} 
[2026-07-25 07:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":141950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:16:06] local.INFO: GPS data processed {"connection_id":141950,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:16:06] local.INFO: Acknowledgment sent {"connection_id":141950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:16:17] local.INFO: TCP Data received {"connection_id":141949,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f305e8012d7cef0005d64bc8000001621c..."} 
[2026-07-25 07:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f305e8012d7cef0005d64bc8000001621c..."} 
[2026-07-25 07:16:17] local.INFO: Processing buffer {"connection_id":141949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f305e8012d7cef0005d64bc8000001621c..."} 
[2026-07-25 07:16:17] local.INFO: Packet analysis {"connection_id":141949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:16:17] local.INFO: Extracted packet for processing {"connection_id":141949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:16:17] local.INFO: GPS Element Parsed {"raw_longitude":763162368,"raw_latitude":97930184,"longitude_deg":76.3162368,"latitude_deg":9.7930184,"altitude":0,"angle":354,"satellites":28,"speed":51,"hex_longitude":"2d7cef00","hex_latitude":"05d64bc8","is_valid_coordinates":true} 
[2026-07-25 07:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945645824001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110048954887962624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610473855518720,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784943937000,"timestamp_ms":1784943937000,"timestamp_seconds":1784943937,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f305e8"} 
[2026-07-25 07:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 07:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945645824001,"66":13787,"29":206,"85":15104,"24":51,"16":110048954887962624,"45":9003610473855518720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 07:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945645824001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:16:17] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 07:16:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110048954887962624,"km_value":110048954887962.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610473855518720,"description":"Unknown IO ID 45"} 
[2026-07-25 07:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945645824001,"power":13787,"unknown_29":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9003610473855518720}} 
[2026-07-25 07:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":141949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:16:17] local.INFO: GPS data processed {"connection_id":141949,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:16:17] local.INFO: Acknowledgment sent {"connection_id":141949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:16:38] local.INFO: TCP Data received {"connection_id":141950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f338b0012d4a1f80068bfe100010008d30..."} 
[2026-07-25 07:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f338b0012d4a1f80068bfe100010008d30..."} 
[2026-07-25 07:16:38] local.INFO: Processing buffer {"connection_id":141950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f338b0012d4a1f80068bfe100010008d30..."} 
[2026-07-25 07:16:38] local.INFO: Packet analysis {"connection_id":141950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:16:38] local.INFO: Extracted packet for processing {"connection_id":141950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:16:38] local.INFO: GPS Element Parsed {"raw_longitude":759832448,"raw_latitude":109837840,"longitude_deg":75.9832448,"latitude_deg":10.983784,"altitude":16,"angle":141,"satellites":48,"speed":58,"hex_longitude":"2d4a1f80","hex_latitude":"068bfe10","is_valid_coordinates":true} 
[2026-07-25 07:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945649664001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356996637966467072,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5333950836787068928,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784943950000,"timestamp_ms":1784943950000,"timestamp_seconds":1784943950,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f338b0"} 
[2026-07-25 07:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 07:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945649664001,"66":27800,"189":206,"86":48896,"24":58,"16":356996637966467072,"45":5333950836787068928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945649664001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:16:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:16:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356996637966467072,"km_value":356996637966467.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5333950836787068928,"description":"Unknown IO ID 45"} 
[2026-07-25 07:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945649664001,"power":27800,"unknown_189":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":5333950836787068928}} 
[2026-07-25 07:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":141950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:16:38] local.INFO: GPS data processed {"connection_id":141950,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:16:38] local.INFO: Acknowledgment sent {"connection_id":141950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:16:46] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:16:46] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:16:46] local.INFO: IMEI packet received {"connection_id":140904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":140904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:16:49] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:16:49] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:16:49] local.INFO: IMEI packet received {"connection_id":140904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":140904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:16:50] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f32140012d7ceb4005d66f78000001611a..."} 
[2026-07-25 07:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f32140012d7ceb4005d66f78000001611a..."} 
[2026-07-25 07:16:50] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f32140012d7ceb4005d66f78000001611a..."} 
[2026-07-25 07:16:50] local.INFO: Packet analysis {"connection_id":140904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:16:50] local.INFO: Extracted packet for processing {"connection_id":140904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:16:50] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":97939320,"longitude_deg":76.3161408,"latitude_deg":9.793932,"altitude":0,"angle":353,"satellites":26,"speed":49,"hex_longitude":"2d7ceb40","hex_latitude":"05d66f78","is_valid_coordinates":true} 
[2026-07-25 07:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945647872001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110049397269594112,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002414205207037952,"note":"Value kept but may cause issues"} 
[2026-07-25 07:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784943944000,"timestamp_ms":1784943944000,"timestamp_seconds":1784943944,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f32140"} 
[2026-07-25 07:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-07-25 07:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945647872001,"66":13656,"29":206,"85":15104,"24":49,"16":110049397269594112,"45":9002414205207037952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 07:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945647872001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:16:50] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 07:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110049397269594112,"km_value":110049397269594.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002414205207037952,"description":"Unknown IO ID 45"} 
[2026-07-25 07:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945647872001,"power":13656,"unknown_29":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9002414205207037952}} 
[2026-07-25 07:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":140904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:16:50] local.INFO: GPS data processed {"connection_id":140904,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:16:50] local.INFO: Acknowledgment sent {"connection_id":140904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:16:56] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:56] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:56] local.INFO: IMEI packet received {"connection_id":143296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":143296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:16:59] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:59] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:16:59] local.INFO: IMEI packet received {"connection_id":143296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":143296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:17:01] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:01] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:01] local.INFO: IMEI packet received {"connection_id":143296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":143296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:17:02] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f338b0012d4a1f80068bfe100010008d30..."} 
[2026-07-25 07:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f338b0012d4a1f80068bfe100010008d30..."} 
[2026-07-25 07:17:02] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f338b0012d4a1f80068bfe100010008d30..."} 
[2026-07-25 07:17:02] local.INFO: Packet analysis {"connection_id":143296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:02] local.INFO: Extracted packet for processing {"connection_id":143296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":759832448,"raw_latitude":109837840,"longitude_deg":75.9832448,"latitude_deg":10.983784,"altitude":16,"angle":141,"satellites":48,"speed":58,"hex_longitude":"2d4a1f80","hex_latitude":"068bfe10","is_valid_coordinates":true} 
[2026-07-25 07:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945651200001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356996637966467072,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5341128448691539968,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784943950000,"timestamp_ms":1784943950000,"timestamp_seconds":1784943950,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f338b0"} 
[2026-07-25 07:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945651200001,"66":27800,"189":206,"86":48896,"24":58,"16":356996637966467072,"45":5341128448691539968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945651200001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:17:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:17:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356996637966467072,"km_value":356996637966467.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5341128448691539968,"description":"Unknown IO ID 45"} 
[2026-07-25 07:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945651200001,"power":27800,"unknown_189":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":5341128448691539968}} 
[2026-07-25 07:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":143296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:17:02] local.INFO: GPS data processed {"connection_id":143296,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:17:02] local.INFO: Acknowledgment sent {"connection_id":143296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:17:03] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f35408012d4a3500068bde500012009530..."} 
[2026-07-25 07:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f35408012d4a3500068bde500012009530..."} 
[2026-07-25 07:17:03] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f35408012d4a3500068bde500012009530..."} 
[2026-07-25 07:17:03] local.INFO: Packet analysis {"connection_id":143296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:03] local.INFO: Extracted packet for processing {"connection_id":143296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:03] local.INFO: GPS Element Parsed {"raw_longitude":759837952,"raw_latitude":109829712,"longitude_deg":75.9837952,"latitude_deg":10.9829712,"altitude":18,"angle":149,"satellites":48,"speed":52,"hex_longitude":"2d4a3500","hex_latitude":"068bde50","is_valid_coordinates":true} 
[2026-07-25 07:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945651200001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356997110412869632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5341128448691539968,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784943957000,"timestamp_ms":1784943957000,"timestamp_seconds":1784943957,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f35408"} 
[2026-07-25 07:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945651200001,"66":27821,"189":206,"86":48896,"24":52,"16":356997110412869632,"45":5341128448691539968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945651200001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356997110412869632,"km_value":356997110412869.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5341128448691539968,"description":"Unknown IO ID 45"} 
[2026-07-25 07:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945651200001,"power":27821,"unknown_189":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5341128448691539968}} 
[2026-07-25 07:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":143296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:17:03] local.INFO: GPS data processed {"connection_id":143296,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:17:03] local.INFO: Acknowledgment sent {"connection_id":143296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:17:21] local.INFO: TCP Data received {"connection_id":140904,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f34080012d7ce70005d69470000001611b..."} 
[2026-07-25 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f34080012d7ce70005d69470000001611b..."} 
[2026-07-25 07:17:21] local.INFO: Processing buffer {"connection_id":140904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f34080012d7ce70005d69470000001611b..."} 
[2026-07-25 07:17:21] local.INFO: Packet analysis {"connection_id":140904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:21] local.INFO: Extracted packet for processing {"connection_id":140904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763160320,"raw_latitude":97948784,"longitude_deg":76.316032,"latitude_deg":9.7948784,"altitude":0,"angle":353,"satellites":27,"speed":44,"hex_longitude":"2d7ce700","hex_latitude":"05d69470","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945649664001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110049861126062080,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674046711808,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784943952000,"timestamp_ms":1784943952000,"timestamp_seconds":1784943952,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f34080"} 
[2026-07-25 07:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 07:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":140904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":140904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":140904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945649664001,"66":13678,"29":206,"85":15104,"24":44,"16":110049861126062080,"45":9001358674046711808},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 07:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945649664001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:17:21] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 07:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110049861126062080,"km_value":110049861126062.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674046711808,"description":"Unknown IO ID 45"} 
[2026-07-25 07:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945649664001,"power":13678,"unknown_29":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9001358674046711808}} 
[2026-07-25 07:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":140904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:17:21] local.INFO: GPS data processed {"connection_id":140904,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:17:21] local.INFO: Acknowledgment sent {"connection_id":140904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:17:34] local.INFO: TCP Data received {"connection_id":143296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f36f60012d4a4700068bc0400013009530..."} 
[2026-07-25 07:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f36f60012d4a4700068bc0400013009530..."} 
[2026-07-25 07:17:34] local.INFO: Processing buffer {"connection_id":143296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f36f60012d4a4700068bc0400013009530..."} 
[2026-07-25 07:17:34] local.INFO: Packet analysis {"connection_id":143296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:34] local.INFO: Extracted packet for processing {"connection_id":143296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:34] local.INFO: GPS Element Parsed {"raw_longitude":759842560,"raw_latitude":109822016,"longitude_deg":75.984256,"latitude_deg":10.9822016,"altitude":19,"angle":149,"satellites":48,"speed":48,"hex_longitude":"2d4a4700","hex_latitude":"068bc040","is_valid_coordinates":true} 
[2026-07-25 07:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945652992001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356997544204566528,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5347180160688738304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784943964000,"timestamp_ms":1784943964000,"timestamp_seconds":1784943964,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f36f60"} 
[2026-07-25 07:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945652992001,"66":27843,"189":206,"86":48896,"24":48,"16":356997544204566528,"45":5347180160688738304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945652992001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:17:34] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:17:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356997544204566528,"km_value":356997544204566.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5347180160688738304,"description":"Unknown IO ID 45"} 
[2026-07-25 07:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945652992001,"power":27843,"unknown_189":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5347180160688738304}} 
[2026-07-25 07:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":143296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:17:34] local.INFO: GPS data processed {"connection_id":143296,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:17:34] local.INFO: Acknowledgment sent {"connection_id":143296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:17:41] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:17:41] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:17:41] local.INFO: IMEI packet received {"connection_id":143297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":143297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:17:46] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:17:46] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:17:46] local.INFO: IMEI packet received {"connection_id":143297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":143297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:17:47] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f35fc0012d7ce28005d6b7280000015d19..."} 
[2026-07-25 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f35fc0012d7ce28005d6b7280000015d19..."} 
[2026-07-25 07:17:47] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f35fc0012d7ce28005d6b7280000015d19..."} 
[2026-07-25 07:17:47] local.INFO: Packet analysis {"connection_id":143297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:47] local.INFO: Extracted packet for processing {"connection_id":143297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":763159168,"raw_latitude":97957672,"longitude_deg":76.3159168,"latitude_deg":9.7957672,"altitude":0,"angle":349,"satellites":25,"speed":48,"hex_longitude":"2d7ce280","hex_latitude":"05d6b728","is_valid_coordinates":true} 
[2026-07-25 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945651712001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110050294917758976,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000162405398114304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943960000,"timestamp_ms":1784943960000,"timestamp_seconds":1784943960,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f35fc0"} 
[2026-07-25 07:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 07:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945651712001,"66":13580,"29":206,"85":15104,"24":48,"16":110050294917758976,"45":9000162405398114304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 07:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945651712001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110050294917758976,"km_value":110050294917758.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000162405398114304,"description":"Unknown IO ID 45"} 
[2026-07-25 07:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945651712001,"power":13580,"unknown_29":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9000162405398114304}} 
[2026-07-25 07:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":143297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:17:47] local.INFO: GPS data processed {"connection_id":143297,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:17:47] local.INFO: Acknowledgment sent {"connection_id":143297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:17:56] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:56] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:56] local.INFO: IMEI packet received {"connection_id":140948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":140948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:17:58] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:58] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:17:58] local.INFO: IMEI packet received {"connection_id":140948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":140948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:18:01] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:18:01] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:18:01] local.INFO: IMEI packet received {"connection_id":140948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":140948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:18:02] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f38ea0012d4a58c0068ba1800015009530..."} 
[2026-07-25 07:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f38ea0012d4a58c0068ba1800015009530..."} 
[2026-07-25 07:18:02] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f38ea0012d4a58c0068ba1800015009530..."} 
[2026-07-25 07:18:02] local.INFO: Packet analysis {"connection_id":140948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:02] local.INFO: Extracted packet for processing {"connection_id":140948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:02] local.INFO: GPS Element Parsed {"raw_longitude":759847104,"raw_latitude":109814144,"longitude_deg":75.9847104,"latitude_deg":10.9814144,"altitude":21,"angle":149,"satellites":48,"speed":42,"hex_longitude":"2d4a58c0","hex_latitude":"068ba180","is_valid_coordinates":true} 
[2026-07-25 07:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945654784001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356997982291230720,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5352246710267559936,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784943972000,"timestamp_ms":1784943972000,"timestamp_seconds":1784943972,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f38ea0"} 
[2026-07-25 07:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945654784001,"66":27876,"189":206,"86":48896,"24":42,"16":356997982291230720,"45":5352246710267559936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945654784001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:18:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:18:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356997982291230720,"km_value":356997982291230.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5352246710267559936,"description":"Unknown IO ID 45"} 
[2026-07-25 07:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945654784001,"power":27876,"unknown_189":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5352246710267559936}} 
[2026-07-25 07:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":140948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:18:02] local.INFO: GPS data processed {"connection_id":140948,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:18:02] local.INFO: Acknowledgment sent {"connection_id":140948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:18:18] local.INFO: TCP Data received {"connection_id":143297,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f37f00012d7cd90005d6dd00000001571a..."} 
[2026-07-25 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f37f00012d7cd90005d6dd00000001571a..."} 
[2026-07-25 07:18:18] local.INFO: Processing buffer {"connection_id":143297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f37f00012d7cd90005d6dd00000001571a..."} 
[2026-07-25 07:18:18] local.INFO: Packet analysis {"connection_id":143297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:18] local.INFO: Extracted packet for processing {"connection_id":143297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:18] local.INFO: GPS Element Parsed {"raw_longitude":763156736,"raw_latitude":97967360,"longitude_deg":76.3156736,"latitude_deg":9.796736,"altitude":0,"angle":343,"satellites":26,"speed":52,"hex_longitude":"2d7cd900","hex_latitude":"05d6dd00","is_valid_coordinates":true} 
[2026-07-25 07:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945653760001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110050780249063424,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998895768005191680,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943968000,"timestamp_ms":1784943968000,"timestamp_seconds":1784943968,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f37f00"} 
[2026-07-25 07:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613687,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2532485160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3588044800,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5700431413027799050,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4075202561,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132261117,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-07-25 07:18:18] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221607936,"corrected_to":0} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3026192823910085035,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":134,"raw_value":4162191360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":125,"raw_value":900726341004951553,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,29,85,24,241,157,16,250,159,64,45,148,27,10,66,249,33,111,26,5,1,240,219,227,248,150,214,4,113,205,48,199,247,176,28,239,52,253,2,134,125,59],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0},{"io_id":247,"original":3221607936,"validated":0}]} 
[2026-07-25 07:18:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383836935421952,"timestamp_seconds":383836935421.952,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945653760001,"66":13559,"30":206,"85":15104,"24":52,"16":110050780249063424,"45":8998895768005191680},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-25 07:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945653760001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:18:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 07:18:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110050780249063424,"km_value":110050780249063.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998895768005191680,"description":"Unknown IO ID 45"} 
[2026-07-25 07:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945653760001,"power":13559,"unknown_30":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8998895768005191680}} 
[2026-07-25 07:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":143297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:18:18] local.INFO: GPS data processed {"connection_id":143297,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:18:18] local.INFO: Acknowledgment sent {"connection_id":143297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:18:32] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f3b1c8012d4a6b40068b83280015009230..."} 
[2026-07-25 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f3b1c8012d4a6b40068b83280015009230..."} 
[2026-07-25 07:18:32] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f3b1c8012d4a6b40068b83280015009230..."} 
[2026-07-25 07:18:32] local.INFO: Packet analysis {"connection_id":140948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:32] local.INFO: Extracted packet for processing {"connection_id":140948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":759851840,"raw_latitude":109806376,"longitude_deg":75.985184,"latitude_deg":10.9806376,"altitude":21,"angle":146,"satellites":48,"speed":38,"hex_longitude":"2d4a6b40","hex_latitude":"068b8328","is_valid_coordinates":true} 
[2026-07-25 07:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945656832001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356998420377894912,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5357242891102158848,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784943981000,"timestamp_ms":1784943981000,"timestamp_seconds":1784943981,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f3b1c8"} 
[2026-07-25 07:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:18: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-07-25 07: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-07-25 07:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":140948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":140948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":140948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945656832001,"66":27767,"212":206,"86":48896,"24":38,"16":356998420377894912,"45":5357242891102158848},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945656832001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:18:32] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:18:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356998420377894912,"km_value":356998420377894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5357242891102158848,"description":"Unknown IO ID 45"} 
[2026-07-25 07:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945656832001,"power":27767,"unknown_212":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5357242891102158848}} 
[2026-07-25 07:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":140948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:18:32] local.INFO: GPS data processed {"connection_id":140948,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:18:32] local.INFO: Acknowledgment sent {"connection_id":140948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:18:41] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:18:41] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:18:41] local.INFO: IMEI packet received {"connection_id":140949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":140949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:18:46] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:18:46] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:18:46] local.INFO: IMEI packet received {"connection_id":140949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":140949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:18:47] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f39a58012d7cce4005d6ff20000001561b..."} 
[2026-07-25 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f39a58012d7cce4005d6ff20000001561b..."} 
[2026-07-25 07:18:47] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f39a58012d7cce4005d6ff20000001561b..."} 
[2026-07-25 07:18:47] local.INFO: Packet analysis {"connection_id":140949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:47] local.INFO: Extracted packet for processing {"connection_id":140949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":763153984,"raw_latitude":97976096,"longitude_deg":76.3153984,"latitude_deg":9.7976096,"altitude":0,"angle":342,"satellites":27,"speed":52,"hex_longitude":"2d7cce40","hex_latitude":"05d6ff20","is_valid_coordinates":true} 
[2026-07-25 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945655808001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110051222630694912,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996221755728920576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784943975000,"timestamp_ms":1784943975000,"timestamp_seconds":1784943975,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f39a58"} 
[2026-07-25 07:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 07:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945655808001,"66":13526,"30":206,"85":15104,"24":52,"16":110051222630694912,"45":8996221755728920576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-25 07:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945655808001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110051222630694912,"km_value":110051222630694.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996221755728920576,"description":"Unknown IO ID 45"} 
[2026-07-25 07:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945655808001,"power":13526,"unknown_30":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8996221755728920576}} 
[2026-07-25 07:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":140949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:18:47] local.INFO: GPS data processed {"connection_id":140949,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:18:47] local.INFO: Acknowledgment sent {"connection_id":140949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:19:01] local.INFO: TCP Data received {"connection_id":141951,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:01] local.INFO: Processing buffer {"connection_id":141951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:01] local.INFO: IMEI packet received {"connection_id":141951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":141951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:19:05] local.INFO: TCP Data received {"connection_id":141951,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:05] local.INFO: Processing buffer {"connection_id":141951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:05] local.INFO: IMEI packet received {"connection_id":141951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":141951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:19:06] local.INFO: TCP Data received {"connection_id":141951,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f3c168012d4a74c0068b77780015008730..."} 
[2026-07-25 07:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f3c168012d4a74c0068b77780015008730..."} 
[2026-07-25 07:19:06] local.INFO: Processing buffer {"connection_id":141951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f3c168012d4a74c0068b77780015008730..."} 
[2026-07-25 07:19:06] local.INFO: Packet analysis {"connection_id":141951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:19:06] local.INFO: Extracted packet for processing {"connection_id":141951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":759854272,"raw_latitude":109803384,"longitude_deg":75.9854272,"latitude_deg":10.9803384,"altitude":21,"angle":135,"satellites":48,"speed":39,"hex_longitude":"2d4a74c0","hex_latitude":"068b7778","is_valid_coordinates":true} 
[2026-07-25 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945659136001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356998609356455936,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5362450178169317376,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784943985000,"timestamp_ms":1784943985000,"timestamp_seconds":1784943985,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f3c168"} 
[2026-07-25 07:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945659136001,"66":26854,"212":206,"86":48896,"24":39,"16":356998609356455936,"45":5362450178169317376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945659136001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:19:06] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:19:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356998609356455936,"km_value":356998609356455.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5362450178169317376,"description":"Unknown IO ID 45"} 
[2026-07-25 07:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945659136001,"power":26854,"unknown_212":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5362450178169317376}} 
[2026-07-25 07:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":141951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:19:06] local.INFO: GPS data processed {"connection_id":141951,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:19:06] local.INFO: Acknowledgment sent {"connection_id":141951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:19:07] local.INFO: TCP Data received {"connection_id":141951,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f3e490012d4a8e80068b5f10001500822e..."} 
[2026-07-25 07:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f3e490012d4a8e80068b5f10001500822e..."} 
[2026-07-25 07:19:07] local.INFO: Processing buffer {"connection_id":141951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f3e490012d4a8e80068b5f10001500822e..."} 
[2026-07-25 07:19:07] local.INFO: Packet analysis {"connection_id":141951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:19:07] local.INFO: Extracted packet for processing {"connection_id":141951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:19:07] local.INFO: GPS Element Parsed {"raw_longitude":759860864,"raw_latitude":109797136,"longitude_deg":75.9860864,"latitude_deg":10.9797136,"altitude":21,"angle":130,"satellites":46,"speed":39,"hex_longitude":"2d4a8e80","hex_latitude":"068b5f10","is_valid_coordinates":true} 
[2026-07-25 07:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945660160001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356999043148152832,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5365124190447302656,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784943994000,"timestamp_ms":1784943994000,"timestamp_seconds":1784943994,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f3e490"} 
[2026-07-25 07:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-25 07:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945660160001,"66":27821,"212":206,"86":48896,"24":39,"16":356999043148152832,"45":5365124190447302656},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945660160001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:19:07] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:19:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356999043148152832,"km_value":356999043148152.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5365124190447302656,"description":"Unknown IO ID 45"} 
[2026-07-25 07:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945660160001,"power":27821,"unknown_212":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5365124190447302656}} 
[2026-07-25 07:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":141951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:19:07] local.INFO: GPS data processed {"connection_id":141951,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:19:07] local.INFO: Acknowledgment sent {"connection_id":141951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:19:18] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f3b998012d7cc2c005d72468000001561b..."} 
[2026-07-25 07:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f3b998012d7cc2c005d72468000001561b..."} 
[2026-07-25 07:19:18] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f3b998012d7cc2c005d72468000001561b..."} 
[2026-07-25 07:19:18] local.INFO: Packet analysis {"connection_id":140949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:19:18] local.INFO: Extracted packet for processing {"connection_id":140949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f3"} 
[2026-07-25 07:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763151040,"raw_latitude":97985640,"longitude_deg":76.315104,"latitude_deg":9.798564,"altitude":0,"angle":342,"satellites":27,"speed":48,"hex_longitude":"2d7cc2c0","hex_latitude":"05d72468","is_valid_coordinates":true} 
[2026-07-25 07:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945657600001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110051707961999360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993195899731517440,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784943983000,"timestamp_ms":1784943983000,"timestamp_seconds":1784943983,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f3b998"} 
[2026-07-25 07:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 07:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945657600001,"66":13559,"30":206,"85":15104,"24":48,"16":110051707961999360,"45":8993195899731517440},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-25 07:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945657600001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:19:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 07:19:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110051707961999360,"km_value":110051707961999.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993195899731517440,"description":"Unknown IO ID 45"} 
[2026-07-25 07:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945657600001,"power":13559,"unknown_30":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8993195899731517440}} 
[2026-07-25 07:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":140949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:19:18] local.INFO: GPS data processed {"connection_id":140949,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:19:18] local.INFO: Acknowledgment sent {"connection_id":140949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:19:38] local.INFO: TCP Data received {"connection_id":141951,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f403d0012d4aa8c0068b4d100016007630..."} 
[2026-07-25 07:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f403d0012d4aa8c0068b4d100016007630..."} 
[2026-07-25 07:19:38] local.INFO: Processing buffer {"connection_id":141951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f403d0012d4aa8c0068b4d100016007630..."} 
[2026-07-25 07:19:38] local.INFO: Packet analysis {"connection_id":141951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:19:38] local.INFO: Extracted packet for processing {"connection_id":141951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":759867584,"raw_latitude":109792528,"longitude_deg":75.9867584,"latitude_deg":10.9792528,"altitude":22,"angle":118,"satellites":48,"speed":41,"hex_longitude":"2d4aa8c0","hex_latitude":"068b4d10","is_valid_coordinates":true} 
[2026-07-25 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945662464001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356999433990176768,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5372372171096002560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784944002000,"timestamp_ms":1784944002000,"timestamp_seconds":1784944002,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f403d0"} 
[2026-07-25 07:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945662464001,"66":27821,"212":206,"86":48896,"24":41,"16":356999433990176768,"45":5372372171096002560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945662464001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:19:38] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:19:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356999433990176768,"km_value":356999433990176.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5372372171096002560,"description":"Unknown IO ID 45"} 
[2026-07-25 07:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945662464001,"power":27821,"unknown_212":206,"unknown_86":48896,"ignition":41,"odometer":null,"unknown_45":5372372171096002560}} 
[2026-07-25 07:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":141951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:19:38] local.INFO: GPS data processed {"connection_id":141951,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:19:38] local.INFO: Acknowledgment sent {"connection_id":141951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:19:41] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:19:41] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:19:41] local.INFO: IMEI packet received {"connection_id":140905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":140905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:19:45] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:19:45] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:19:45] local.INFO: IMEI packet received {"connection_id":140905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":140905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:19:46] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f649d8012d7c964005d874800004016617..."} 
[2026-07-25 07:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f649d8012d7c964005d874800004016617..."} 
[2026-07-25 07:19:46] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f649d8012d7c964005d874800004016617..."} 
[2026-07-25 07:19:46] local.INFO: Packet analysis {"connection_id":140905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:19:46] local.INFO: Extracted packet for processing {"connection_id":140905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:19:46] local.INFO: GPS Element Parsed {"raw_longitude":763139648,"raw_latitude":98071680,"longitude_deg":76.3139648,"latitude_deg":9.807168,"altitude":4,"angle":358,"satellites":23,"speed":8,"hex_longitude":"2d7c9640","hex_latitude":"05d87480","is_valid_coordinates":true} 
[2026-07-25 07:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945697536001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110055977159491584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513523109888,"note":"Value kept but may cause issues"} 
[2026-07-25 07:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784944151000,"timestamp_ms":1784944151000,"timestamp_seconds":1784944151,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f649d8"} 
[2026-07-25 07:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 07:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":140905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":140905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":140905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945697536001,"66":13515,"196":206,"85":15104,"24":8,"16":110055977159491584,"45":8977855513523109888},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 07:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945697536001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110055977159491584,"km_value":110055977159491.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513523109888,"description":"Unknown IO ID 45"} 
[2026-07-25 07:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945697536001,"power":13515,"unknown_196":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8977855513523109888}} 
[2026-07-25 07:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":140905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:19:46] local.INFO: GPS data processed {"connection_id":140905,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:19:46] local.INFO: Acknowledgment sent {"connection_id":140905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:19:56] local.INFO: TCP Data received {"connection_id":141952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:56] local.INFO: Processing buffer {"connection_id":141952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:56] local.INFO: IMEI packet received {"connection_id":141952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":141952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:19:57] local.INFO: TCP Data received {"connection_id":141952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:57] local.INFO: Processing buffer {"connection_id":141952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:19:57] local.INFO: IMEI packet received {"connection_id":141952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":141952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:20:01] local.INFO: TCP Data received {"connection_id":141952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:20:01] local.INFO: Processing buffer {"connection_id":141952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:20:01] local.INFO: IMEI packet received {"connection_id":141952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":141952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:20:02] local.INFO: TCP Data received {"connection_id":141952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f426f8012d4accc0068b3e50001600692f..."} 
[2026-07-25 07:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f426f8012d4accc0068b3e50001600692f..."} 
[2026-07-25 07:20:02] local.INFO: Processing buffer {"connection_id":141952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f426f8012d4accc0068b3e50001600692f..."} 
[2026-07-25 07:20:02] local.INFO: Packet analysis {"connection_id":141952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:20:02] local.INFO: Extracted packet for processing {"connection_id":141952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:20:02] local.INFO: GPS Element Parsed {"raw_longitude":759876800,"raw_latitude":109788752,"longitude_deg":75.98768,"latitude_deg":10.9788752,"altitude":22,"angle":105,"satellites":47,"speed":44,"hex_longitude":"2d4accc0","hex_latitude":"068b3e50","is_valid_coordinates":true} 
[2026-07-25 07:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945664512001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356999910731546624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5379760889233477632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944011000,"timestamp_ms":1784944011000,"timestamp_seconds":1784944011,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f426f8"} 
[2026-07-25 07:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945664512001,"66":27843,"212":206,"86":48896,"24":44,"16":356999910731546624,"45":5379760889233477632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945664512001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:20:02] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:20:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356999910731546624,"km_value":356999910731546.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5379760889233477632,"description":"Unknown IO ID 45"} 
[2026-07-25 07:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945664512001,"power":27843,"unknown_212":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5379760889233477632}} 
[2026-07-25 07:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":141952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:20:02] local.INFO: GPS data processed {"connection_id":141952,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:20:02] local.INFO: Acknowledgment sent {"connection_id":141952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:20:06] local.INFO: TCP Data received {"connection_id":141952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f426f8012d4accc0068b3e50001600692f..."} 
[2026-07-25 07:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f426f8012d4accc0068b3e50001600692f..."} 
[2026-07-25 07:20:06] local.INFO: Processing buffer {"connection_id":141952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f426f8012d4accc0068b3e50001600692f..."} 
[2026-07-25 07:20:06] local.INFO: Packet analysis {"connection_id":141952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:20:06] local.INFO: Extracted packet for processing {"connection_id":141952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":759876800,"raw_latitude":109788752,"longitude_deg":75.98768,"latitude_deg":10.9788752,"altitude":22,"angle":105,"satellites":47,"speed":44,"hex_longitude":"2d4accc0","hex_latitude":"068b3e50","is_valid_coordinates":true} 
[2026-07-25 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945666816001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":356999910731546624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5389893988394094592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784944011000,"timestamp_ms":1784944011000,"timestamp_seconds":1784944011,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f426f8"} 
[2026-07-25 07:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945666816001,"66":27843,"212":206,"86":48896,"24":44,"16":356999910731546624,"45":5389893988394094592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945666816001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":356999910731546624,"km_value":356999910731546.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5389893988394094592,"description":"Unknown IO ID 45"} 
[2026-07-25 07:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945666816001,"power":27843,"unknown_212":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5389893988394094592}} 
[2026-07-25 07:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":141952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:20:07] local.INFO: GPS data processed {"connection_id":141952,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:20:07] local.INFO: Acknowledgment sent {"connection_id":141952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:20:20] local.INFO: TCP Data received {"connection_id":140905,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f69028012d7c954005d899000005016519..."} 
[2026-07-25 07:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f69028012d7c954005d899000005016519..."} 
[2026-07-25 07:20:20] local.INFO: Processing buffer {"connection_id":140905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f69028012d7c954005d899000005016519..."} 
[2026-07-25 07:20:20] local.INFO: Packet analysis {"connection_id":140905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:20:20] local.INFO: Extracted packet for processing {"connection_id":140905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:20:20] local.INFO: GPS Element Parsed {"raw_longitude":763139392,"raw_latitude":98081024,"longitude_deg":76.3139392,"latitude_deg":9.8081024,"altitude":5,"angle":357,"satellites":25,"speed":22,"hex_longitude":"2d7c9540","hex_latitude":"05d89900","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945702656001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110056432426024960,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977433301060190208,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784944169000,"timestamp_ms":1784944169000,"timestamp_seconds":1784944169,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f69028"} 
[2026-07-25 07:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-25 07:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":140905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":140905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":140905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945702656001,"66":13493,"196":206,"85":15104,"24":22,"16":110056432426024960,"45":8977433301060190208},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 07:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945702656001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:20:20] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 07:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110056432426024960,"km_value":110056432426024.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977433301060190208,"description":"Unknown IO ID 45"} 
[2026-07-25 07:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945702656001,"power":13493,"unknown_196":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8977433301060190208}} 
[2026-07-25 07:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":140905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:20:20] local.INFO: GPS data processed {"connection_id":140905,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:20:20] local.INFO: Acknowledgment sent {"connection_id":140905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:20:38] local.INFO: TCP Data received {"connection_id":141952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f44638012d4aef80068b3728001700622f..."} 
[2026-07-25 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f44638012d4aef80068b3728001700622f..."} 
[2026-07-25 07:20:38] local.INFO: Processing buffer {"connection_id":141952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f44638012d4aef80068b3728001700622f..."} 
[2026-07-25 07:20:38] local.INFO: Packet analysis {"connection_id":141952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:20:38] local.INFO: Extracted packet for processing {"connection_id":141952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":759885696,"raw_latitude":109786920,"longitude_deg":75.9885696,"latitude_deg":10.978692,"altitude":23,"angle":98,"satellites":47,"speed":42,"hex_longitude":"2d4aef80","hex_latitude":"068b3728","is_valid_coordinates":true} 
[2026-07-25 07:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945666816001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357000344523243520,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5389893988394094592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784944019000,"timestamp_ms":1784944019000,"timestamp_seconds":1784944019,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f44638"} 
[2026-07-25 07:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945666816001,"66":27865,"189":206,"86":48896,"24":42,"16":357000344523243520,"45":5389893988394094592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945666816001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:20:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:20:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357000344523243520,"km_value":357000344523243.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5389893988394094592,"description":"Unknown IO ID 45"} 
[2026-07-25 07:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945666816001,"power":27865,"unknown_189":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5389893988394094592}} 
[2026-07-25 07:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":141952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:20:38] local.INFO: GPS data processed {"connection_id":141952,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:20:38] local.INFO: Acknowledgment sent {"connection_id":141952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:20:41] local.INFO: TCP Data received {"connection_id":141953,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:20:41] local.INFO: Processing buffer {"connection_id":141953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:20:41] local.INFO: IMEI packet received {"connection_id":141953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":141953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:20:46] local.INFO: TCP Data received {"connection_id":141953,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:20:46] local.INFO: Processing buffer {"connection_id":141953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:20:46] local.INFO: IMEI packet received {"connection_id":141953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":141953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:20:47] local.INFO: TCP Data received {"connection_id":141953,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f6cac0012d7c920005d8bdf0000401631a..."} 
[2026-07-25 07:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f6cac0012d7c920005d8bdf0000401631a..."} 
[2026-07-25 07:20:47] local.INFO: Processing buffer {"connection_id":141953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f6cac0012d7c920005d8bdf0000401631a..."} 
[2026-07-25 07:20:47] local.INFO: Packet analysis {"connection_id":141953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:20:47] local.INFO: Extracted packet for processing {"connection_id":141953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:20:47] local.INFO: GPS Element Parsed {"raw_longitude":763138560,"raw_latitude":98090480,"longitude_deg":76.313856,"latitude_deg":9.809048,"altitude":4,"angle":355,"satellites":26,"speed":26,"hex_longitude":"2d7c9200","hex_latitude":"05d8bdf0","is_valid_coordinates":true} 
[2026-07-25 07:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945707264001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110056891987525632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977151826085871616,"note":"Value kept but may cause issues"} 
[2026-07-25 07:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944184000,"timestamp_ms":1784944184000,"timestamp_seconds":1784944184,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f6cac0"} 
[2026-07-25 07:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:20: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-07-25 07: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-25 07:20:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:20:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945707264001,"66":13656,"196":206,"85":15104,"24":26,"16":110056891987525632,"45":8977151826085871616},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 07:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945707264001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110056891987525632,"km_value":110056891987525.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977151826085871616,"description":"Unknown IO ID 45"} 
[2026-07-25 07:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945707264001,"power":13656,"unknown_196":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8977151826085871616}} 
[2026-07-25 07:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":141953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:20:47] local.INFO: GPS data processed {"connection_id":141953,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:20:47] local.INFO: Acknowledgment sent {"connection_id":141953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:20:56] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:20:56] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:20:56] local.INFO: IMEI packet received {"connection_id":143298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":143298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:21:01] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:21:01] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:21:01] local.INFO: IMEI packet received {"connection_id":143298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":143298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:21:02] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f46960012d4b1280068b3188001b00622f..."} 
[2026-07-25 07:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f46960012d4b1280068b3188001b00622f..."} 
[2026-07-25 07:21:02] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f46960012d4b1280068b3188001b00622f..."} 
[2026-07-25 07:21:02] local.INFO: Packet analysis {"connection_id":143298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:21:02] local.INFO: Extracted packet for processing {"connection_id":143298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f4"} 
[2026-07-25 07:21:02] local.INFO: GPS Element Parsed {"raw_longitude":759894656,"raw_latitude":109785480,"longitude_deg":75.9894656,"latitude_deg":10.978548,"altitude":27,"angle":98,"satellites":47,"speed":34,"hex_longitude":"2d4b1280","hex_latitude":"068b3188","is_valid_coordinates":true} 
[2026-07-25 07:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945668864001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357000774019973120,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5399675243834320896,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944028000,"timestamp_ms":1784944028000,"timestamp_seconds":1784944028,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f46960"} 
[2026-07-25 07:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945668864001,"66":27789,"189":206,"86":48896,"24":34,"16":357000774019973120,"45":5399675243834320896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,86,24,16,45]} 
[2026-07-25 07:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945668864001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:21:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 07:21:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357000774019973120,"km_value":357000774019973.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5399675243834320896,"description":"Unknown IO ID 45"} 
[2026-07-25 07:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945668864001,"power":27789,"unknown_189":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5399675243834320896}} 
[2026-07-25 07:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":143298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:21:02] local.INFO: GPS data processed {"connection_id":143298,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:21:02] local.INFO: Acknowledgment sent {"connection_id":143298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:21:18] local.INFO: TCP Data received {"connection_id":141953,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f6f9a0012d7c8e4005d8e2a8000401601a..."} 
[2026-07-25 07:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f6f9a0012d7c8e4005d8e2a8000401601a..."} 
[2026-07-25 07:21:18] local.INFO: Processing buffer {"connection_id":141953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f6f9a0012d7c8e4005d8e2a8000401601a..."} 
[2026-07-25 07:21:18] local.INFO: Packet analysis {"connection_id":141953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:21:18] local.INFO: Extracted packet for processing {"connection_id":141953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f6"} 
[2026-07-25 07:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763137600,"raw_latitude":98099880,"longitude_deg":76.31376,"latitude_deg":9.809988,"altitude":4,"angle":352,"satellites":26,"speed":36,"hex_longitude":"2d7c8e40","hex_latitude":"05d8e2a8","is_valid_coordinates":true} 
[2026-07-25 07:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945711104001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110057351549026304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976237032413982720,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784944196000,"timestamp_ms":1784944196000,"timestamp_seconds":1784944196,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f6f9a0"} 
[2026-07-25 07:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 07:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945711104001,"66":13222,"196":206,"85":15104,"24":36,"16":110057351549026304,"45":8976237032413982720},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 07:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945711104001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110057351549026304,"km_value":110057351549026.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976237032413982720,"description":"Unknown IO ID 45"} 
[2026-07-25 07:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945711104001,"power":13222,"unknown_196":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8976237032413982720}} 
[2026-07-25 07:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":141953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:21:18] local.INFO: GPS data processed {"connection_id":141953,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:21:18] local.INFO: Acknowledgment sent {"connection_id":141953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:21:33] local.INFO: TCP Data received {"connection_id":143298,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f72498012d4c9880068af270004600622b..."} 
[2026-07-25 07:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f72498012d4c9880068af270004600622b..."} 
[2026-07-25 07:21:33] local.INFO: Processing buffer {"connection_id":143298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f72498012d4c9880068af270004600622b..."} 
[2026-07-25 07:21:33] local.INFO: Packet analysis {"connection_id":143298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:21:33] local.INFO: Extracted packet for processing {"connection_id":143298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":759994496,"raw_latitude":109769328,"longitude_deg":75.9994496,"latitude_deg":10.9769328,"altitude":70,"angle":98,"satellites":43,"speed":22,"hex_longitude":"2d4c9880","hex_latitude":"068af270","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945712896001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357005592973279232,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509239378514776064,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784944207000,"timestamp_ms":1784944207000,"timestamp_seconds":1784944207,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f72498"} 
[2026-07-25 07:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945712896001,"66":27789,"187":206,"86":48896,"24":22,"16":357005592973279232,"45":5509239378514776064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-25 07:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945712896001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:21:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 07:21:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357005592973279232,"km_value":357005592973279.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509239378514776064,"description":"Unknown IO ID 45"} 
[2026-07-25 07:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945712896001,"power":27789,"unknown_187":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5509239378514776064}} 
[2026-07-25 07:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":143298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:21:33] local.INFO: GPS data processed {"connection_id":143298,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:21:33] local.INFO: Acknowledgment sent {"connection_id":143298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:21:46] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:21:46] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:21:46] local.INFO: IMEI packet received {"connection_id":140906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":140906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:21:51] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:21:51] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:21:51] local.INFO: IMEI packet received {"connection_id":140906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":140906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:21:52] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f71cc8012d7c89c005d908700004016216..."} 
[2026-07-25 07:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f71cc8012d7c89c005d908700004016216..."} 
[2026-07-25 07:21:52] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f71cc8012d7c89c005d908700004016216..."} 
[2026-07-25 07:21:52] local.INFO: Packet analysis {"connection_id":140906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:21:52] local.INFO: Extracted packet for processing {"connection_id":140906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:21:52] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":98109552,"longitude_deg":76.3136448,"latitude_deg":9.8109552,"altitude":4,"angle":354,"satellites":22,"speed":45,"hex_longitude":"2d7c89c0","hex_latitude":"05d90870","is_valid_coordinates":true} 
[2026-07-25 07:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945714176001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110057823995428864,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975181501253724160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784944205000,"timestamp_ms":1784944205000,"timestamp_seconds":1784944205,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f71cc8"} 
[2026-07-25 07:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:21:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 07:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:21:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":140906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":140906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":140906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945714176001,"66":13656,"196":206,"85":15104,"24":45,"16":110057823995428864,"45":8975181501253724160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 07:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945714176001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:21:52] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 07:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110057823995428864,"km_value":110057823995428.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975181501253724160,"description":"Unknown IO ID 45"} 
[2026-07-25 07:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945714176001,"power":13656,"unknown_196":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8975181501253724160}} 
[2026-07-25 07:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":140906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:21:52] local.INFO: GPS data processed {"connection_id":140906,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:21:52] local.INFO: Acknowledgment sent {"connection_id":140906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:21:56] local.INFO: TCP Data received {"connection_id":140906,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f73ff0012d7c868005d92ec00003016217..."} 
[2026-07-25 07:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f73ff0012d7c868005d92ec00003016217..."} 
[2026-07-25 07:21:56] local.INFO: Processing buffer {"connection_id":140906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f73ff0012d7c868005d92ec00003016217..."} 
[2026-07-25 07:21:56] local.INFO: Packet analysis {"connection_id":140906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:21:56] local.INFO: Extracted packet for processing {"connection_id":140906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":98119360,"longitude_deg":76.3135616,"latitude_deg":9.811936,"altitude":3,"angle":354,"satellites":23,"speed":41,"hex_longitude":"2d7c8680","hex_latitude":"05d92ec0","is_valid_coordinates":true} 
[2026-07-25 07:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945716480001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110058300736798720,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863861002240,"note":"Value kept but may cause issues"} 
[2026-07-25 07:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784944214000,"timestamp_ms":1784944214000,"timestamp_seconds":1784944214,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f73ff0"} 
[2026-07-25 07:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 07:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":140906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":140906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":140906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945716480001,"66":13613,"197":206,"85":15104,"24":41,"16":110058300736798720,"45":8973914863861002240},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-25 07:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945716480001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:21:56] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 07:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110058300736798720,"km_value":110058300736798.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863861002240,"description":"Unknown IO ID 45"} 
[2026-07-25 07:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945716480001,"power":13613,"unknown_197":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8973914863861002240}} 
[2026-07-25 07:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":140906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:21:56] local.INFO: GPS data processed {"connection_id":140906,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:21:56] local.INFO: Acknowledgment sent {"connection_id":140906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:22:01] local.INFO: TCP Data received {"connection_id":141954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:01] local.INFO: Processing buffer {"connection_id":141954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:01] local.INFO: IMEI packet received {"connection_id":141954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":141954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:22:06] local.INFO: TCP Data received {"connection_id":141954,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:06] local.INFO: Processing buffer {"connection_id":141954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:06] local.INFO: IMEI packet received {"connection_id":141954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":141954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:22:09] local.INFO: TCP Data received {"connection_id":141954,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f76700012d4cbd00068aec40004b006325..."} 
[2026-07-25 07:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f76700012d4cbd00068aec40004b006325..."} 
[2026-07-25 07:22:09] local.INFO: Processing buffer {"connection_id":141954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f76700012d4cbd00068aec40004b006325..."} 
[2026-07-25 07:22:09] local.INFO: Packet analysis {"connection_id":141954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:09] local.INFO: Extracted packet for processing {"connection_id":141954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":760003840,"raw_latitude":109767744,"longitude_deg":76.000384,"latitude_deg":10.9767744,"altitude":75,"angle":99,"satellites":37,"speed":21,"hex_longitude":"2d4cbd00","hex_latitude":"068aec40","is_valid_coordinates":true} 
[2026-07-25 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945716992001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357006043944845312,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5519302108931846144,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784944224000,"timestamp_ms":1784944224000,"timestamp_seconds":1784944224,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f76700"} 
[2026-07-25 07:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 07:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945716992001,"66":27865,"212":206,"86":48896,"24":21,"16":357006043944845312,"45":5519302108931846144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945716992001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:22:09] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:22:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357006043944845312,"km_value":357006043944845.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5519302108931846144,"description":"Unknown IO ID 45"} 
[2026-07-25 07:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945716992001,"power":27865,"unknown_212":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5519302108931846144}} 
[2026-07-25 07:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":141954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:22:09] local.INFO: GPS data processed {"connection_id":141954,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:22:09] local.INFO: Acknowledgment sent {"connection_id":141954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:22:10] local.INFO: TCP Data received {"connection_id":141954,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f7a580012d4ce000068ae6680052006429..."} 
[2026-07-25 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f7a580012d4ce000068ae6680052006429..."} 
[2026-07-25 07:22:10] local.INFO: Processing buffer {"connection_id":141954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f7a580012d4ce000068ae6680052006429..."} 
[2026-07-25 07:22:10] local.INFO: Packet analysis {"connection_id":141954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:10] local.INFO: Extracted packet for processing {"connection_id":141954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:10] local.INFO: GPS Element Parsed {"raw_longitude":760012800,"raw_latitude":109766248,"longitude_deg":76.00128,"latitude_deg":10.9766248,"altitude":82,"angle":100,"satellites":41,"speed":22,"hex_longitude":"2d4ce000","hex_latitude":"068ae668","is_valid_coordinates":true} 
[2026-07-25 07:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945721344001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357006477736542208,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529575945581379584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784944240000,"timestamp_ms":1784944240000,"timestamp_seconds":1784944240,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f7a580"} 
[2026-07-25 07:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07: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-07-25 07:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945721344001,"66":27832,"212":206,"86":48896,"24":22,"16":357006477736542208,"45":5529575945581379584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945721344001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:22:10] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:22:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357006477736542208,"km_value":357006477736542.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529575945581379584,"description":"Unknown IO ID 45"} 
[2026-07-25 07:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945721344001,"power":27832,"unknown_212":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5529575945581379584}} 
[2026-07-25 07:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":141954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:22:10] local.INFO: GPS data processed {"connection_id":141954,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:22:10] local.INFO: Acknowledgment sent {"connection_id":141954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:22:37] local.INFO: TCP Data received {"connection_id":141955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:37] local.INFO: Processing buffer {"connection_id":141955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:37] local.INFO: IMEI packet received {"connection_id":141955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":141955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:22:41] local.INFO: TCP Data received {"connection_id":141954,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f7e7e8012d4d04c0068ae0200058006427..."} 
[2026-07-25 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f7e7e8012d4d04c0068ae0200058006427..."} 
[2026-07-25 07:22:41] local.INFO: Processing buffer {"connection_id":141954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f7e7e8012d4d04c0068ae0200058006427..."} 
[2026-07-25 07:22:41] local.INFO: Packet analysis {"connection_id":141954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:41] local.INFO: Extracted packet for processing {"connection_id":141954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":760022208,"raw_latitude":109764640,"longitude_deg":76.0022208,"latitude_deg":10.976464,"altitude":88,"angle":100,"satellites":39,"speed":22,"hex_longitude":"2d4d04c0","hex_latitude":"068ae020","is_valid_coordinates":true} 
[2026-07-25 07:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945725440001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357006933003075584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539427569765869568,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784944257000,"timestamp_ms":1784944257000,"timestamp_seconds":1784944257,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f7e7e8"} 
[2026-07-25 07:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 07:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945725440001,"66":27843,"212":206,"86":48896,"24":22,"16":357006933003075584,"45":5539427569765869568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945725440001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:22:41] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:22:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357006933003075584,"km_value":357006933003075.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539427569765869568,"description":"Unknown IO ID 45"} 
[2026-07-25 07:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945725440001,"power":27843,"unknown_212":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5539427569765869568}} 
[2026-07-25 07:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":141954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:22:41] local.INFO: GPS data processed {"connection_id":141954,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:22:41] local.INFO: Acknowledgment sent {"connection_id":141954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:22:41] local.INFO: TCP Data received {"connection_id":141955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:41] local.INFO: Processing buffer {"connection_id":141955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:41] local.INFO: IMEI packet received {"connection_id":141955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":141955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:22:46] local.INFO: TCP Data received {"connection_id":141955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:46] local.INFO: Processing buffer {"connection_id":141955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:22:46] local.INFO: IMEI packet received {"connection_id":141955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":141955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:22:47] local.INFO: TCP Data received {"connection_id":141955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f76318012d7c830005d954900000016218..."} 
[2026-07-25 07:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f76318012d7c830005d954900000016218..."} 
[2026-07-25 07:22:47] local.INFO: Processing buffer {"connection_id":141955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f76318012d7c830005d954900000016218..."} 
[2026-07-25 07:22:47] local.INFO: Packet analysis {"connection_id":141955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:47] local.INFO: Extracted packet for processing {"connection_id":141955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f7"} 
[2026-07-25 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763134720,"raw_latitude":98129040,"longitude_deg":76.313472,"latitude_deg":9.812904,"altitude":0,"angle":354,"satellites":24,"speed":42,"hex_longitude":"2d7c8300","hex_latitude":"05d95490","is_valid_coordinates":true} 
[2026-07-25 07:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945718784001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110058773183201280,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000070189203456,"note":"Value kept but may cause issues"} 
[2026-07-25 07:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944223000,"timestamp_ms":1784944223000,"timestamp_seconds":1784944223,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f76318"} 
[2026-07-25 07:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:22: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-07-25 07:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-25 07:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945718784001,"66":13787,"197":206,"85":15104,"24":42,"16":110058773183201280,"45":8973000070189203456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-25 07:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945718784001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:22:47] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 07:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110058773183201280,"km_value":110058773183201.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000070189203456,"description":"Unknown IO ID 45"} 
[2026-07-25 07:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945718784001,"power":13787,"unknown_197":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8973000070189203456}} 
[2026-07-25 07:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":141955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:22:47] local.INFO: GPS data processed {"connection_id":141955,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:22:47] local.INFO: Acknowledgment sent {"connection_id":141955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:22:53] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:53] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:53] local.INFO: IMEI packet received {"connection_id":140950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":140950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:22:56] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:56] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:22:56] local.INFO: IMEI packet received {"connection_id":140950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":140950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:23:01] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:01] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:01] local.INFO: IMEI packet received {"connection_id":140950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":140950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:23:03] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f82a50012d4d2900068adad0005b00622e..."} 
[2026-07-25 07:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f82a50012d4d2900068adad0005b00622e..."} 
[2026-07-25 07:23:03] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f82a50012d4d2900068adad0005b00622e..."} 
[2026-07-25 07:23:03] local.INFO: Packet analysis {"connection_id":140950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f8"} 
[2026-07-25 07:23:03] local.INFO: Extracted packet for processing {"connection_id":140950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f8"} 
[2026-07-25 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":760031488,"raw_latitude":109763280,"longitude_deg":76.0031488,"latitude_deg":10.976328,"altitude":91,"angle":98,"satellites":46,"speed":21,"hex_longitude":"2d4d2900","hex_latitude":"068adad0","is_valid_coordinates":true} 
[2026-07-25 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945729792001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357007379679674368,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5549771775159574528,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784944274000,"timestamp_ms":1784944274000,"timestamp_seconds":1784944274,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f82a50"} 
[2026-07-25 07:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945729792001,"66":27843,"212":206,"86":48896,"24":21,"16":357007379679674368,"45":5549771775159574528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-25 07:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945729792001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357007379679674368,"km_value":357007379679674.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5549771775159574528,"description":"Unknown IO ID 45"} 
[2026-07-25 07:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945729792001,"power":27843,"unknown_212":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5549771775159574528}} 
[2026-07-25 07:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":140950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:23:03] local.INFO: GPS data processed {"connection_id":140950,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:23:03] local.INFO: Acknowledgment sent {"connection_id":140950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:23:18] local.INFO: TCP Data received {"connection_id":141955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f9b4d8012d7c75c005d9d9c0000001610f..."} 
[2026-07-25 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f9b4d8012d7c75c005d9d9c0000001610f..."} 
[2026-07-25 07:23:18] local.INFO: Processing buffer {"connection_id":141955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f9b4d8012d7c75c005d9d9c0000001610f..."} 
[2026-07-25 07:23:18] local.INFO: Packet analysis {"connection_id":141955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f9"} 
[2026-07-25 07:23:18] local.INFO: Extracted packet for processing {"connection_id":141955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f9"} 
[2026-07-25 07:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763131328,"raw_latitude":98163136,"longitude_deg":76.3131328,"latitude_deg":9.8163136,"altitude":0,"angle":353,"satellites":15,"speed":43,"hex_longitude":"2d7c75c0","hex_latitude":"05d9d9c0","is_valid_coordinates":true} 
[2026-07-25 07:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945757952001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110060452515414016,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370477555712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784944375000,"timestamp_ms":1784944375000,"timestamp_seconds":1784944375,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f9b4d8"} 
[2026-07-25 07:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 07:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945757952001,"66":13537,"245":206,"85":15104,"24":43,"16":110060452515414016,"45":8969622370477555712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 07:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945757952001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110060452515414016,"km_value":110060452515414.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370477555712,"description":"Unknown IO ID 45"} 
[2026-07-25 07:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945757952001,"power":13537,"geofence_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8969622370477555712}} 
[2026-07-25 07:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":141955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:23:18] local.INFO: GPS data processed {"connection_id":141955,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:23:18] local.INFO: Acknowledgment sent {"connection_id":141955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:23:34] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f86cb8012d4d4dc0068ad528005e00642f..."} 
[2026-07-25 07:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f86cb8012d4d4dc0068ad528005e00642f..."} 
[2026-07-25 07:23:34] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f86cb8012d4d4dc0068ad528005e00642f..."} 
[2026-07-25 07:23:34] local.INFO: Packet analysis {"connection_id":140950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f8"} 
[2026-07-25 07:23:34] local.INFO: Extracted packet for processing {"connection_id":140950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f8"} 
[2026-07-25 07:23:34] local.INFO: GPS Element Parsed {"raw_longitude":760040896,"raw_latitude":109761832,"longitude_deg":76.0040896,"latitude_deg":10.9761832,"altitude":94,"angle":100,"satellites":47,"speed":21,"hex_longitude":"2d4d4dc0","hex_latitude":"068ad528","is_valid_coordinates":true} 
[2026-07-25 07:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945734144001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357007830651240448,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5559975243064987648,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784944291000,"timestamp_ms":1784944291000,"timestamp_seconds":1784944291,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f86cb8"} 
[2026-07-25 07:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945734144001,"66":27843,"93":206,"86":48896,"24":21,"16":357007830651240448,"45":5559975243064987648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,86,24,16,45]} 
[2026-07-25 07:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945734144001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:23:34] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 07:23:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357007830651240448,"km_value":357007830651240.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5559975243064987648,"description":"Unknown IO ID 45"} 
[2026-07-25 07:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945734144001,"power":27843,"unknown_93":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5559975243064987648}} 
[2026-07-25 07:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":140950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:23:34] local.INFO: GPS data processed {"connection_id":140950,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:23:34] local.INFO: Acknowledgment sent {"connection_id":140950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:23:41] local.INFO: TCP Data received {"connection_id":141956,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:23:41] local.INFO: Processing buffer {"connection_id":141956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:23:41] local.INFO: IMEI packet received {"connection_id":141956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":141956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:23:46] local.INFO: TCP Data received {"connection_id":141956,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:23:46] local.INFO: Processing buffer {"connection_id":141956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:23:46] local.INFO: IMEI packet received {"connection_id":141956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":141956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:23:47] local.INFO: TCP Data received {"connection_id":141956,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f9d418012d7c708005d9fcf00000015c14..."} 
[2026-07-25 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f9d418012d7c708005d9fcf00000015c14..."} 
[2026-07-25 07:23:47] local.INFO: Processing buffer {"connection_id":141956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f9d418012d7c708005d9fcf00000015c14..."} 
[2026-07-25 07:23:47] local.INFO: Packet analysis {"connection_id":141956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f9"} 
[2026-07-25 07:23:47] local.INFO: Extracted packet for processing {"connection_id":141956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f9"} 
[2026-07-25 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":763129984,"raw_latitude":98172144,"longitude_deg":76.3129984,"latitude_deg":9.8172144,"altitude":0,"angle":348,"satellites":20,"speed":45,"hex_longitude":"2d7c7080","hex_latitude":"05d9fcf0","is_valid_coordinates":true} 
[2026-07-25 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945760000001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110060890602078208,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968285364340506624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944383000,"timestamp_ms":1784944383000,"timestamp_seconds":1784944383,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f9d418"} 
[2026-07-25 07:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:23: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-07-25 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-25 07:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945760000001,"66":13515,"245":206,"85":15104,"24":45,"16":110060890602078208,"45":8968285364340506624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 07:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945760000001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:23:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110060890602078208,"km_value":110060890602078.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968285364340506624,"description":"Unknown IO ID 45"} 
[2026-07-25 07:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945760000001,"power":13515,"geofence_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8968285364340506624}} 
[2026-07-25 07:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":141956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:23:47] local.INFO: GPS data processed {"connection_id":141956,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:23:47] local.INFO: Acknowledgment sent {"connection_id":141956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:23:57] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:57] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:57] local.INFO: IMEI packet received {"connection_id":140907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":140907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:23:57] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:57] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:23:57] local.INFO: IMEI packet received {"connection_id":140907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":140907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:24:02] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:02] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:02] local.INFO: IMEI packet received {"connection_id":140907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":140907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:24:03] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f8af20012d4d7100068acec80060006730..."} 
[2026-07-25 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f8af20012d4d7100068acec80060006730..."} 
[2026-07-25 07:24:03] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f8af20012d4d7100068acec80060006730..."} 
[2026-07-25 07:24:03] local.INFO: Packet analysis {"connection_id":140907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f8"} 
[2026-07-25 07:24:03] local.INFO: Extracted packet for processing {"connection_id":140907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f8"} 
[2026-07-25 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":760049920,"raw_latitude":109760200,"longitude_deg":76.004992,"latitude_deg":10.97602,"altitude":96,"angle":103,"satellites":48,"speed":20,"hex_longitude":"2d4d7100","hex_latitude":"068acec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945738496001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357008268737904640,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570319448458733568,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784944308000,"timestamp_ms":1784944308000,"timestamp_seconds":1784944308,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f8af20"} 
[2026-07-25 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-07-25 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945738496001,"66":27876,"94":206,"86":48896,"24":20,"16":357008268737904640,"45":5570319448458733568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-07-25 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945738496001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357008268737904640,"km_value":357008268737904.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570319448458733568,"description":"Unknown IO ID 45"} 
[2026-07-25 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945738496001,"power":27876,"unknown_94":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5570319448458733568}} 
[2026-07-25 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":140907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:24:03] local.INFO: GPS data processed {"connection_id":140907,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:24:03] local.INFO: Acknowledgment sent {"connection_id":140907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:24:18] local.INFO: TCP Data received {"connection_id":141956,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96f9f358012d7c68c005da20b80000015a18..."} 
[2026-07-25 07:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96f9f358012d7c68c005da20b80000015a18..."} 
[2026-07-25 07:24:18] local.INFO: Processing buffer {"connection_id":141956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96f9f358012d7c68c005da20b80000015a18..."} 
[2026-07-25 07:24:18] local.INFO: Packet analysis {"connection_id":141956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96f9"} 
[2026-07-25 07:24:18] local.INFO: Extracted packet for processing {"connection_id":141956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96f9"} 
[2026-07-25 07:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763128000,"raw_latitude":98181304,"longitude_deg":76.3128,"latitude_deg":9.8181304,"altitude":0,"angle":346,"satellites":24,"speed":46,"hex_longitude":"2d7c68c0","hex_latitude":"05da20b8","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945762048001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110061345868611584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966807620715081728,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784944391000,"timestamp_ms":1784944391000,"timestamp_seconds":1784944391,"priority":1,"record_length":96,"hex_timestamp":"0000019f96f9f358"} 
[2026-07-25 07:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-25 07:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945762048001,"66":13537,"245":206,"85":15104,"24":46,"16":110061345868611584,"45":8966807620715081728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 07:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945762048001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110061345868611584,"km_value":110061345868611.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966807620715081728,"description":"Unknown IO ID 45"} 
[2026-07-25 07:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945762048001,"power":13537,"geofence_id":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8966807620715081728}} 
[2026-07-25 07:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":141956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:24:18] local.INFO: GPS data processed {"connection_id":141956,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:24:18] local.INFO: Acknowledgment sent {"connection_id":141956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:24:34] local.INFO: TCP Data received {"connection_id":140907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fa87c8012d4deb00068951b8006000c12f..."} 
[2026-07-25 07:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fa87c8012d4deb00068951b8006000c12f..."} 
[2026-07-25 07:24:34] local.INFO: Processing buffer {"connection_id":140907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fa87c8012d4deb00068951b8006000c12f..."} 
[2026-07-25 07:24:34] local.INFO: Packet analysis {"connection_id":140907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:24:34] local.INFO: Extracted packet for processing {"connection_id":140907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:24:34] local.INFO: GPS Element Parsed {"raw_longitude":760081152,"raw_latitude":109662648,"longitude_deg":76.0081152,"latitude_deg":10.9662648,"altitude":96,"angle":193,"satellites":47,"speed":64,"hex_longitude":"2d4deb00","hex_latitude":"068951b8","is_valid_coordinates":true} 
[2026-07-25 07:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945772288001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357013998224277504,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617677613267361792,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784944429000,"timestamp_ms":1784944429000,"timestamp_seconds":1784944429,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fa87c8"} 
[2026-07-25 07:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 07:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945772288001,"66":27876,"237":206,"86":48896,"24":64,"16":357013998224277504,"45":5617677613267361792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-25 07:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945772288001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:24:34] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 07:24:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357013998224277504,"km_value":357013998224277.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617677613267361792,"description":"Unknown IO ID 45"} 
[2026-07-25 07:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945772288001,"power":27876,"unknown_237":206,"unknown_86":48896,"ignition":64,"odometer":null,"unknown_45":5617677613267361792}} 
[2026-07-25 07:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":140907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:24:34] local.INFO: GPS data processed {"connection_id":140907,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:24:34] local.INFO: Acknowledgment sent {"connection_id":140907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:24:41] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:24:41] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:24:41] local.INFO: IMEI packet received {"connection_id":140951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":140951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:24:46] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:24:46] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:24:46] local.INFO: IMEI packet received {"connection_id":140951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":140951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:24:47] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fa1298012d7c5e4005da44f0000001561a..."} 
[2026-07-25 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fa1298012d7c5e4005da44f0000001561a..."} 
[2026-07-25 07:24:47] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fa1298012d7c5e4005da44f0000001561a..."} 
[2026-07-25 07:24:47] local.INFO: Packet analysis {"connection_id":140951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:24:47] local.INFO: Extracted packet for processing {"connection_id":140951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:24:47] local.INFO: GPS Element Parsed {"raw_longitude":763125312,"raw_latitude":98190576,"longitude_deg":76.3125312,"latitude_deg":9.8190576,"altitude":0,"angle":342,"satellites":26,"speed":48,"hex_longitude":"2d7c5e40","hex_latitude":"05da44f0","is_valid_coordinates":true} 
[2026-07-25 07:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945764096001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110061814020046848,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964626189647919104,"note":"Value kept but may cause issues"} 
[2026-07-25 07:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944399000,"timestamp_ms":1784944399000,"timestamp_seconds":1784944399,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fa1298"} 
[2026-07-25 07:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:24: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-07-25 07:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-25 07:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945764096001,"66":13559,"245":206,"85":15104,"24":48,"16":110061814020046848,"45":8964626189647919104},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 07:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945764096001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110061814020046848,"km_value":110061814020046.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964626189647919104,"description":"Unknown IO ID 45"} 
[2026-07-25 07:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945764096001,"power":13559,"geofence_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8964626189647919104}} 
[2026-07-25 07:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":140951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:24:47] local.INFO: GPS data processed {"connection_id":140951,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:24:47] local.INFO: Acknowledgment sent {"connection_id":140951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:24:56] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:56] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:56] local.INFO: IMEI packet received {"connection_id":140952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":140952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:24:56] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:56] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:24:56] local.INFO: IMEI packet received {"connection_id":140952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":140952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:25:01] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:25:01] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:25:01] local.INFO: IMEI packet received {"connection_id":140952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":140952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:25:02] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fa9f38012d4de60006892b38005d00b52f..."} 
[2026-07-25 07:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fa9f38012d4de60006892b38005d00b52f..."} 
[2026-07-25 07:25:02] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fa9f38012d4de60006892b38005d00b52f..."} 
[2026-07-25 07:25:02] local.INFO: Packet analysis {"connection_id":140952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:02] local.INFO: Extracted packet for processing {"connection_id":140952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:02] local.INFO: GPS Element Parsed {"raw_longitude":760079872,"raw_latitude":109652792,"longitude_deg":76.0079872,"latitude_deg":10.9652792,"altitude":93,"angle":181,"satellites":47,"speed":67,"hex_longitude":"2d4de600","hex_latitude":"06892b38","is_valid_coordinates":true} 
[2026-07-25 07:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945773824001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357014479260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614581388521093120,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944435000,"timestamp_ms":1784944435000,"timestamp_seconds":1784944435,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fa9f38"} 
[2026-07-25 07:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945773824001,"66":27800,"237":206,"86":48896,"24":67,"16":357014479260614656,"45":5614581388521093120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-25 07:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945773824001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:25:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 07:25:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357014479260614656,"km_value":357014479260614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614581388521093120,"description":"Unknown IO ID 45"} 
[2026-07-25 07:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945773824001,"power":27800,"unknown_237":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5614581388521093120}} 
[2026-07-25 07:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":140952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:25:02] local.INFO: GPS data processed {"connection_id":140952,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:25:02] local.INFO: Acknowledgment sent {"connection_id":140952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:25:18] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fa31d8012d7c520005da68a00000015319..."} 
[2026-07-25 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fa31d8012d7c520005da68a00000015319..."} 
[2026-07-25 07:25:18] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fa31d8012d7c520005da68a00000015319..."} 
[2026-07-25 07:25:18] local.INFO: Packet analysis {"connection_id":140951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:18] local.INFO: Extracted packet for processing {"connection_id":140951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:18] local.INFO: GPS Element Parsed {"raw_longitude":763122176,"raw_latitude":98199712,"longitude_deg":76.3122176,"latitude_deg":9.8199712,"altitude":0,"angle":339,"satellites":25,"speed":47,"hex_longitude":"2d7c5200","hex_latitude":"05da68a0","is_valid_coordinates":true} 
[2026-07-25 07:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945766144001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110062282171482112,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961670702394830848,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784944407000,"timestamp_ms":1784944407000,"timestamp_seconds":1784944407,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fa31d8"} 
[2026-07-25 07:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 07:25: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-07-25 07:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945766144001,"66":13646,"187":206,"85":15104,"24":47,"16":110062282171482112,"45":8961670702394830848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 07:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945766144001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:25:18] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 07:25:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110062282171482112,"km_value":110062282171482.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961670702394830848,"description":"Unknown IO ID 45"} 
[2026-07-25 07:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945766144001,"power":13646,"unknown_187":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8961670702394830848}} 
[2026-07-25 07:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":140951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:25:18] local.INFO: GPS data processed {"connection_id":140951,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:25:18] local.INFO: Acknowledgment sent {"connection_id":140951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:25:33] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fa9f38012d4de60006892b38005d00b52f..."} 
[2026-07-25 07:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fa9f38012d4de60006892b38005d00b52f..."} 
[2026-07-25 07:25:33] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fa9f38012d4de60006892b38005d00b52f..."} 
[2026-07-25 07:25:33] local.INFO: Packet analysis {"connection_id":140952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:33] local.INFO: Extracted packet for processing {"connection_id":140952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":760079872,"raw_latitude":109652792,"longitude_deg":76.0079872,"latitude_deg":10.9652792,"altitude":93,"angle":181,"satellites":47,"speed":67,"hex_longitude":"2d4de600","hex_latitude":"06892b38","is_valid_coordinates":true} 
[2026-07-25 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945775360001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357014479260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613174013635016704,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784944435000,"timestamp_ms":1784944435000,"timestamp_seconds":1784944435,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fa9f38"} 
[2026-07-25 07:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945775360001,"66":27800,"237":206,"86":48896,"24":67,"16":357014479260614656,"45":5613174013635016704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-25 07:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945775360001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:25:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 07:25:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357014479260614656,"km_value":357014479260614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613174013635016704,"description":"Unknown IO ID 45"} 
[2026-07-25 07:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945775360001,"power":27800,"unknown_237":206,"unknown_86":48896,"ignition":67,"odometer":null,"unknown_45":5613174013635016704}} 
[2026-07-25 07:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":140952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:25:33] local.INFO: GPS data processed {"connection_id":140952,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:25:33] local.INFO: Acknowledgment sent {"connection_id":140952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:25:41] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:25:41] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:25:41] local.INFO: IMEI packet received {"connection_id":143299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":143299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:25:47] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:25:47] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:25:47] local.INFO: IMEI packet received {"connection_id":143299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":143299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:25:48] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fa5118012d7c458005da8aa80001015418..."} 
[2026-07-25 07:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fa5118012d7c458005da8aa80001015418..."} 
[2026-07-25 07:25:48] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fa5118012d7c458005da8aa80001015418..."} 
[2026-07-25 07:25:48] local.INFO: Packet analysis {"connection_id":143299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:48] local.INFO: Extracted packet for processing {"connection_id":143299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763118976,"raw_latitude":98208424,"longitude_deg":76.3118976,"latitude_deg":9.8208424,"altitude":1,"angle":340,"satellites":24,"speed":44,"hex_longitude":"2d7c4580","hex_latitude":"05da8aa8","is_valid_coordinates":true} 
[2026-07-25 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945768192001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110062733143048192,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958222633932464128,"note":"Value kept but may cause issues"} 
[2026-07-25 07:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784944415000,"timestamp_ms":1784944415000,"timestamp_seconds":1784944415,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fa5118"} 
[2026-07-25 07:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 07:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945768192001,"66":13059,"187":206,"85":15104,"24":44,"16":110062733143048192,"45":8958222633932464128},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 07:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945768192001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:25:48] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 07:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110062733143048192,"km_value":110062733143048.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958222633932464128,"description":"Unknown IO ID 45"} 
[2026-07-25 07:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945768192001,"power":13059,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8958222633932464128}} 
[2026-07-25 07:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":143299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:25:49] local.INFO: GPS data processed {"connection_id":143299,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:25:49] local.INFO: Acknowledgment sent {"connection_id":143299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:25:56] local.INFO: TCP Data received {"connection_id":141957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:25:56] local.INFO: Processing buffer {"connection_id":141957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:25:56] local.INFO: IMEI packet received {"connection_id":141957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":141957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:26:01] local.INFO: TCP Data received {"connection_id":141957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:01] local.INFO: Processing buffer {"connection_id":141957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:01] local.INFO: IMEI packet received {"connection_id":141957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":141957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:26:02] local.INFO: TCP Data received {"connection_id":141957,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fab6a8012d4de88006890300005900ac30..."} 
[2026-07-25 07:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fab6a8012d4de88006890300005900ac30..."} 
[2026-07-25 07:26:02] local.INFO: Processing buffer {"connection_id":141957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fab6a8012d4de88006890300005900ac30..."} 
[2026-07-25 07:26:02] local.INFO: Packet analysis {"connection_id":141957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:26:02] local.INFO: Extracted packet for processing {"connection_id":141957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:26:02] local.INFO: GPS Element Parsed {"raw_longitude":760080512,"raw_latitude":109642496,"longitude_deg":76.0080512,"latitude_deg":10.9642496,"altitude":89,"angle":172,"satellites":48,"speed":69,"hex_longitude":"2d4de880","hex_latitude":"06890300","is_valid_coordinates":true} 
[2026-07-25 07:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945775360001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357014981771788288,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613174013635016704,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944441000,"timestamp_ms":1784944441000,"timestamp_seconds":1784944441,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fab6a8"} 
[2026-07-25 07:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945775360001,"66":27876,"237":206,"86":48896,"24":69,"16":357014981771788288,"45":5613174013635016704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-07-25 07:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945775360001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:26:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 07:26:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357014981771788288,"km_value":357014981771788.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613174013635016704,"description":"Unknown IO ID 45"} 
[2026-07-25 07:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945775360001,"power":27876,"unknown_237":206,"unknown_86":48896,"ignition":69,"odometer":null,"unknown_45":5613174013635016704}} 
[2026-07-25 07:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":141957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:26:02] local.INFO: GPS data processed {"connection_id":141957,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:26:02] local.INFO: Acknowledgment sent {"connection_id":141957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:26:20] local.INFO: TCP Data received {"connection_id":143299,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96faa320012d7c3a8005daa8980006015c1e..."} 
[2026-07-25 07:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96faa320012d7c3a8005daa8980006015c1e..."} 
[2026-07-25 07:26:20] local.INFO: Processing buffer {"connection_id":143299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96faa320012d7c3a8005daa8980006015c1e..."} 
[2026-07-25 07:26:20] local.INFO: Packet analysis {"connection_id":143299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:26:20] local.INFO: Extracted packet for processing {"connection_id":143299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fa"} 
[2026-07-25 07:26:20] local.INFO: GPS Element Parsed {"raw_longitude":763116160,"raw_latitude":98216088,"longitude_deg":76.311616,"latitude_deg":9.8216088,"altitude":6,"angle":348,"satellites":30,"speed":0,"hex_longitude":"2d7c3a80","hex_latitude":"05daa898","is_valid_coordinates":true} 
[2026-07-25 07:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945770240001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110063132575006720,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954704196725811200,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784944436000,"timestamp_ms":1784944436000,"timestamp_seconds":1784944436,"priority":1,"record_length":96,"hex_timestamp":"0000019f96faa320"} 
[2026-07-25 07:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303172491988392,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3652599808,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2532939160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":245,"raw_value":58077557095399462,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4191426561,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":217,"raw_value":4243587072,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3221608921,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926248,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,187,85,24,241,157,16,5,159,49,45,104,25,10,66,18,64,68,26,245,4,243,192,1,240,225,227,150,217,113,205,180,117,15,239,52,2,135,38],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-25 07:26:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72431531073470464,"timestamp_seconds":72431531073470.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945770240001,"66":13319,"187":206,"85":15104,"24":0,"16":110063132575006720,"45":8954704196725811200},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 07:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945770240001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:26:20] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 07:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110063132575006720,"km_value":110063132575006.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954704196725811200,"description":"Unknown IO ID 45"} 
[2026-07-25 07:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945770240001,"power":13319,"unknown_187":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8954704196725811200}} 
[2026-07-25 07:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":143299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:26:20] local.INFO: GPS data processed {"connection_id":143299,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:26:20] local.INFO: Acknowledgment sent {"connection_id":143299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:26:33] local.INFO: TCP Data received {"connection_id":141957,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fbf6f8012d4dad0006874c90006400c22f..."} 
[2026-07-25 07:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fbf6f8012d4dad0006874c90006400c22f..."} 
[2026-07-25 07:26:33] local.INFO: Processing buffer {"connection_id":141957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fbf6f8012d4dad0006874c90006400c22f..."} 
[2026-07-25 07:26:33] local.INFO: Packet analysis {"connection_id":141957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fb"} 
[2026-07-25 07:26:33] local.INFO: Extracted packet for processing {"connection_id":141957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fb"} 
[2026-07-25 07:26:33] local.INFO: GPS Element Parsed {"raw_longitude":760065280,"raw_latitude":109530256,"longitude_deg":76.006528,"latitude_deg":10.9530256,"altitude":100,"angle":194,"satellites":47,"speed":37,"hex_longitude":"2d4dad00","hex_latitude":"06874c90","is_valid_coordinates":true} 
[2026-07-25 07:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945795584001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357020543754436608,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5599592845979557888,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784944523000,"timestamp_ms":1784944523000,"timestamp_seconds":1784944523,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fbf6f8"} 
[2026-07-25 07:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-25 07:26: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-07-25 07:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945795584001,"66":27767,"239":206,"86":48896,"24":37,"16":357020543754436608,"45":5599592845979557888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-25 07:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945795584001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:26:33] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 07:26:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357020543754436608,"km_value":357020543754436.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5599592845979557888,"description":"Unknown IO ID 45"} 
[2026-07-25 07:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945795584001,"power":27767,"unknown_239":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5599592845979557888}} 
[2026-07-25 07:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":141957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:26:33] local.INFO: GPS data processed {"connection_id":141957,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:26:33] local.INFO: Acknowledgment sent {"connection_id":141957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:26:41] local.INFO: TCP Data received {"connection_id":143300,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:41] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:41] local.INFO: IMEI packet received {"connection_id":143300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":143300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:26:42] local.INFO: TCP Data received {"connection_id":143300,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:42] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:42] local.INFO: IMEI packet received {"connection_id":143300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":143300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:26:46] local.INFO: TCP Data received {"connection_id":143300,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:46] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:26:46] local.INFO: IMEI packet received {"connection_id":143300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":143300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:26:47] local.INFO: TCP Data received {"connection_id":143300,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fcdd70012d7c02c005db77800009015b19..."} 
[2026-07-25 07:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fcdd70012d7c02c005db77800009015b19..."} 
[2026-07-25 07:26:47] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fcdd70012d7c02c005db77800009015b19..."} 
[2026-07-25 07:26:47] local.INFO: Packet analysis {"connection_id":143300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:26:47] local.INFO: Extracted packet for processing {"connection_id":143300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:26:47] local.INFO: GPS Element Parsed {"raw_longitude":763101888,"raw_latitude":98269056,"longitude_deg":76.3101888,"latitude_deg":9.8269056,"altitude":9,"angle":347,"satellites":25,"speed":35,"hex_longitude":"2d7c02c0","hex_latitude":"05db7780","is_valid_coordinates":true} 
[2026-07-25 07:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945809664001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110065804044664832,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815698136453120,"note":"Value kept but may cause issues"} 
[2026-07-25 07:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944582000,"timestamp_ms":1784944582000,"timestamp_seconds":1784944582,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fcdd70"} 
[2026-07-25 07:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-25 07:26:47] 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-07-25 07:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945809664001,"66":13276,"185":206,"85":15104,"24":35,"16":110065804044664832,"45":8937815698136453120},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 07:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945809664001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:26:47] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 07:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110065804044664832,"km_value":110065804044664.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815698136453120,"description":"Unknown IO ID 45"} 
[2026-07-25 07:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945809664001,"power":13276,"unknown_185":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8937815698136453120}} 
[2026-07-25 07:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":143300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:26:47] local.INFO: GPS data processed {"connection_id":143300,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:26:47] local.INFO: Acknowledgment sent {"connection_id":143300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:26:55] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:55] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:55] local.INFO: IMEI packet received {"connection_id":140953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":140953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:26:56] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:56] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:26:56] local.INFO: IMEI packet received {"connection_id":140953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":140953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:27:01] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:27:01] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:27:01] local.INFO: IMEI packet received {"connection_id":140953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":140953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:27:02] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fc1e08012d4da44006872a90006700c22a..."} 
[2026-07-25 07:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fc1e08012d4da44006872a90006700c22a..."} 
[2026-07-25 07:27:02] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fc1e08012d4da44006872a90006700c22a..."} 
[2026-07-25 07:27:02] local.INFO: Packet analysis {"connection_id":140953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:27:02] local.INFO: Extracted packet for processing {"connection_id":140953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:27:02] local.INFO: GPS Element Parsed {"raw_longitude":760063040,"raw_latitude":109521552,"longitude_deg":76.006304,"latitude_deg":10.9521552,"altitude":103,"angle":194,"satellites":42,"speed":33,"hex_longitude":"2d4da440","hex_latitude":"06872a90","is_valid_coordinates":true} 
[2026-07-25 07:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945797888001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357020981841100800,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597129939931140096,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944533000,"timestamp_ms":1784944533000,"timestamp_seconds":1784944533,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fc1e08"} 
[2026-07-25 07:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945797888001,"66":27593,"239":206,"86":48896,"24":33,"16":357020981841100800,"45":5597129939931140096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-25 07:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945797888001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:27:02] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 07:27:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357020981841100800,"km_value":357020981841100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597129939931140096,"description":"Unknown IO ID 45"} 
[2026-07-25 07:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945797888001,"power":27593,"unknown_239":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5597129939931140096}} 
[2026-07-25 07:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":140953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:27:02] local.INFO: GPS data processed {"connection_id":140953,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:27:02] local.INFO: Acknowledgment sent {"connection_id":140953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:27:19] local.INFO: TCP Data received {"connection_id":143300,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fd0098012d7bfc8005db99880009015c1b..."} 
[2026-07-25 07:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fd0098012d7bfc8005db99880009015c1b..."} 
[2026-07-25 07:27:19] local.INFO: Processing buffer {"connection_id":143300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fd0098012d7bfc8005db99880009015c1b..."} 
[2026-07-25 07:27:19] local.INFO: Packet analysis {"connection_id":143300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:27:19] local.INFO: Extracted packet for processing {"connection_id":143300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:27:19] local.INFO: GPS Element Parsed {"raw_longitude":763100288,"raw_latitude":98277768,"longitude_deg":76.3100288,"latitude_deg":9.8277768,"altitude":9,"angle":348,"satellites":27,"speed":39,"hex_longitude":"2d7bfc80","hex_latitude":"05db9988","is_valid_coordinates":true} 
[2026-07-25 07:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945812992001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110066233541394432,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935915742045896704,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784944591000,"timestamp_ms":1784944591000,"timestamp_seconds":1784944591,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fd0098"} 
[2026-07-25 07:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 07:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945812992001,"66":13580,"185":206,"85":15104,"24":39,"16":110066233541394432,"45":8935915742045896704},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 07:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945812992001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:27:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 07:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110066233541394432,"km_value":110066233541394.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935915742045896704,"description":"Unknown IO ID 45"} 
[2026-07-25 07:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945812992001,"power":13580,"unknown_185":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8935915742045896704}} 
[2026-07-25 07:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":143300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:27:19] local.INFO: GPS data processed {"connection_id":143300,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:27:19] local.INFO: Acknowledgment sent {"connection_id":143300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:27:34] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fc4900012d4d9b40068708e0006a00c22c..."} 
[2026-07-25 07:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fc4900012d4d9b40068708e0006a00c22c..."} 
[2026-07-25 07:27:34] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fc4900012d4d9b40068708e0006a00c22c..."} 
[2026-07-25 07:27:34] local.INFO: Packet analysis {"connection_id":140953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:27:34] local.INFO: Extracted packet for processing {"connection_id":140953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:27:34] local.INFO: GPS Element Parsed {"raw_longitude":760060736,"raw_latitude":109512928,"longitude_deg":76.0060736,"latitude_deg":10.9512928,"altitude":106,"angle":194,"satellites":44,"speed":32,"hex_longitude":"2d4d9b40","hex_latitude":"068708e0","is_valid_coordinates":true} 
[2026-07-25 07:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945800448001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357021411337830400,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5594667033882693632,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784944544000,"timestamp_ms":1784944544000,"timestamp_seconds":1784944544,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fc4900"} 
[2026-07-25 07:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 07:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945800448001,"66":27800,"239":206,"86":48896,"24":32,"16":357021411337830400,"45":5594667033882693632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-25 07:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945800448001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:27:34] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 07:27:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357021411337830400,"km_value":357021411337830.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5594667033882693632,"description":"Unknown IO ID 45"} 
[2026-07-25 07:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945800448001,"power":27800,"unknown_239":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5594667033882693632}} 
[2026-07-25 07:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":140953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:27:34] local.INFO: GPS data processed {"connection_id":140953,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:27:34] local.INFO: Acknowledgment sent {"connection_id":140953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:27:42] local.INFO: TCP Data received {"connection_id":141958,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:27:42] local.INFO: Processing buffer {"connection_id":141958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:27:42] local.INFO: IMEI packet received {"connection_id":141958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":141958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:27:46] local.INFO: TCP Data received {"connection_id":141958,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:27:46] local.INFO: Processing buffer {"connection_id":141958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:27:46] local.INFO: IMEI packet received {"connection_id":141958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":141958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:27:48] local.INFO: TCP Data received {"connection_id":141958,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fd23c0012d7bf4c005dbbce00009015b18..."} 
[2026-07-25 07:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fd23c0012d7bf4c005dbbce00009015b18..."} 
[2026-07-25 07:27:48] local.INFO: Processing buffer {"connection_id":141958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fd23c0012d7bf4c005dbbce00009015b18..."} 
[2026-07-25 07:27:48] local.INFO: Packet analysis {"connection_id":141958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:27:48] local.INFO: Extracted packet for processing {"connection_id":141958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763098304,"raw_latitude":98286816,"longitude_deg":76.3098304,"latitude_deg":9.8286816,"altitude":9,"angle":347,"satellites":24,"speed":43,"hex_longitude":"2d7bf4c0","hex_latitude":"05dbbce0","is_valid_coordinates":true} 
[2026-07-25 07:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945815296001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110066684512960512,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934156523443685376,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784944600000,"timestamp_ms":1784944600000,"timestamp_seconds":1784944600,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fd23c0"} 
[2026-07-25 07:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613703,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2533101160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5556034565291638794,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":150,"raw_value":4230338561,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633621137893051,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-25 07:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":459087,"corrected_to":0} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3675146240,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2071662266971848711,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957347427856811,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 07:27:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,185,85,24,241,157,16,8,159,221,45,192,119,9,25,10,66,170,128,28,186,7,115,1,240,181,227,150,219,4,113,205,18,200,239,53,187,2,135,5,124,51,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0},{"io_id":200,"original":459087,"validated":0}]} 
[2026-07-25 07:27:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648901092354490368,"timestamp_seconds":648901092354490.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945815296001,"66":13678,"185":206,"85":15104,"24":43,"16":110066684512960512,"45":8934156523443685376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 07:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945815296001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:27:48] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 07:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110066684512960512,"km_value":110066684512960.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934156523443685376,"description":"Unknown IO ID 45"} 
[2026-07-25 07:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945815296001,"power":13678,"unknown_185":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8934156523443685376}} 
[2026-07-25 07:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":141958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:27:48] local.INFO: GPS data processed {"connection_id":141958,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:27:48] local.INFO: Acknowledgment sent {"connection_id":141958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:27:56] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:27:56] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:27:56] local.INFO: IMEI packet received {"connection_id":140908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":140908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:28:01] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:28:01] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:28:01] local.INFO: IMEI packet received {"connection_id":140908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":140908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:28:02] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fc73f8012d4d92400686e550006e00bf29..."} 
[2026-07-25 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fc73f8012d4d92400686e550006e00bf29..."} 
[2026-07-25 07:28:02] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fc73f8012d4d92400686e550006e00bf29..."} 
[2026-07-25 07:28:02] local.INFO: Packet analysis {"connection_id":140908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:28:02] local.INFO: Extracted packet for processing {"connection_id":140908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fc"} 
[2026-07-25 07:28:02] local.INFO: GPS Element Parsed {"raw_longitude":760058432,"raw_latitude":109503824,"longitude_deg":76.0058432,"latitude_deg":10.9503824,"altitude":110,"angle":191,"satellites":41,"speed":34,"hex_longitude":"2d4d9240","hex_latitude":"0686e550","is_valid_coordinates":true} 
[2026-07-25 07:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945803264001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357021866604363776,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5592133759090089984,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944555000,"timestamp_ms":1784944555000,"timestamp_seconds":1784944555,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fc73f8"} 
[2026-07-25 07:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945803264001,"66":27745,"239":206,"86":48896,"24":34,"16":357021866604363776,"45":5592133759090089984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,86,24,16,45]} 
[2026-07-25 07:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945803264001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:28:02] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 07:28:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-25 07:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357021866604363776,"km_value":357021866604363.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5592133759090089984,"description":"Unknown IO ID 45"} 
[2026-07-25 07:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945803264001,"power":27745,"unknown_239":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5592133759090089984}} 
[2026-07-25 07:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":140908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:28:02] local.INFO: GPS data processed {"connection_id":140908,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:28:02] local.INFO: Acknowledgment sent {"connection_id":140908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:28:20] local.INFO: TCP Data received {"connection_id":141958,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fd46e8012d7bee4005dbdfd80009015b16..."} 
[2026-07-25 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fd46e8012d7bee4005dbdfd80009015b16..."} 
[2026-07-25 07:28:20] local.INFO: Processing buffer {"connection_id":141958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fd46e8012d7bee4005dbdfd80009015b16..."} 
[2026-07-25 07:28:20] local.INFO: Packet analysis {"connection_id":141958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:28:20] local.INFO: Extracted packet for processing {"connection_id":141958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763096640,"raw_latitude":98295768,"longitude_deg":76.309664,"latitude_deg":9.8295768,"altitude":9,"angle":347,"satellites":22,"speed":35,"hex_longitude":"2d7bee40","hex_latitude":"05dbdfd8","is_valid_coordinates":true} 
[2026-07-25 07:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945817600001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110067126894592000,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931975092376494080,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784944609000,"timestamp_ms":1784944609000,"timestamp_seconds":1784944609,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fd46e8"} 
[2026-07-25 07:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 07:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945817600001,"66":13472,"185":206,"85":15104,"24":35,"16":110067126894592000,"45":8931975092376494080},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 07:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945817600001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:28:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 07:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110067126894592000,"km_value":110067126894592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931975092376494080,"description":"Unknown IO ID 45"} 
[2026-07-25 07:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945817600001,"power":13472,"unknown_185":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8931975092376494080}} 
[2026-07-25 07:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":141958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:28:20] local.INFO: GPS data processed {"connection_id":141958,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:28:20] local.INFO: Acknowledgment sent {"connection_id":141958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:28:33] local.INFO: TCP Data received {"connection_id":140908,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fe15f0012d4cc540068562b8006e009c2f..."} 
[2026-07-25 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fe15f0012d4cc540068562b8006e009c2f..."} 
[2026-07-25 07:28:33] local.INFO: Processing buffer {"connection_id":140908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fe15f0012d4cc540068562b8006e009c2f..."} 
[2026-07-25 07:28:33] local.INFO: Packet analysis {"connection_id":140908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:28:33] local.INFO: Extracted packet for processing {"connection_id":140908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":760005952,"raw_latitude":109404856,"longitude_deg":76.0005952,"latitude_deg":10.9404856,"altitude":110,"angle":156,"satellites":47,"speed":65,"hex_longitude":"2d4cc540","hex_latitude":"068562b8","is_valid_coordinates":true} 
[2026-07-25 07:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945832448001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357027518781325312,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529575945490081792,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784944662000,"timestamp_ms":1784944662000,"timestamp_seconds":1784944662,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fe15f0"} 
[2026-07-25 07:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945832448001,"66":27887,"103":206,"80":60928,"24":65,"16":357027518781325312,"45":5529575945490081792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-25 07:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945832448001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:28:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 07:28:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357027518781325312,"km_value":357027518781325.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529575945490081792,"description":"Unknown IO ID 45"} 
[2026-07-25 07:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945832448001,"power":27887,"unknown_103":206,"unknown_80":60928,"ignition":65,"odometer":null,"unknown_45":5529575945490081792}} 
[2026-07-25 07:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":140908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:28:33] local.INFO: GPS data processed {"connection_id":140908,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:28:33] local.INFO: Acknowledgment sent {"connection_id":140908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:28:41] local.INFO: TCP Data received {"connection_id":141959,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:28:41] local.INFO: Processing buffer {"connection_id":141959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:28:41] local.INFO: IMEI packet received {"connection_id":141959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":141959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:28:46] local.INFO: TCP Data received {"connection_id":141959,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:28:46] local.INFO: Processing buffer {"connection_id":141959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:28:46] local.INFO: IMEI packet received {"connection_id":141959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":141959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:28:47] local.INFO: TCP Data received {"connection_id":141959,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fd79b0012d7be8c005dc05200009016017..."} 
[2026-07-25 07:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fd79b0012d7be8c005dc05200009016017..."} 
[2026-07-25 07:28:47] local.INFO: Processing buffer {"connection_id":141959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fd79b0012d7be8c005dc05200009016017..."} 
[2026-07-25 07:28:47] local.INFO: Packet analysis {"connection_id":141959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:28:47] local.INFO: Extracted packet for processing {"connection_id":141959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fd"} 
[2026-07-25 07:28:47] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98305312,"longitude_deg":76.3095232,"latitude_deg":9.8305312,"altitude":9,"angle":352,"satellites":23,"speed":37,"hex_longitude":"2d7be8c0","hex_latitude":"05dc0520","is_valid_coordinates":true} 
[2026-07-25 07:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945819904001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110067595046027264,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930145505030166528,"note":"Value kept but may cause issues"} 
[2026-07-25 07:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944622000,"timestamp_ms":1784944622000,"timestamp_seconds":1784944622,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fd79b0"} 
[2026-07-25 07:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 07:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945819904001,"66":13624,"185":206,"85":15104,"24":37,"16":110067595046027264,"45":8930145505030166528},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 07:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945819904001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110067595046027264,"km_value":110067595046027.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930145505030166528,"description":"Unknown IO ID 45"} 
[2026-07-25 07:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945819904001,"power":13624,"unknown_185":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8930145505030166528}} 
[2026-07-25 07:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":141959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:28:48] local.INFO: GPS data processed {"connection_id":141959,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:28:48] local.INFO: Acknowledgment sent {"connection_id":141959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:29:01] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:01] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:01] local.INFO: IMEI packet received {"connection_id":143301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":143301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:29:02] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:02] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:02] local.INFO: IMEI packet received {"connection_id":143301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":143301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:29:03] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fe2d60012d4cd5c006854000006d009a2f..."} 
[2026-07-25 07:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fe2d60012d4cd5c006854000006d009a2f..."} 
[2026-07-25 07:29:03] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fe2d60012d4cd5c006854000006d009a2f..."} 
[2026-07-25 07:29:03] local.INFO: Packet analysis {"connection_id":143301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:29:03] local.INFO: Extracted packet for processing {"connection_id":143301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:29:03] local.INFO: GPS Element Parsed {"raw_longitude":760010176,"raw_latitude":109395968,"longitude_deg":76.0010176,"latitude_deg":10.9395968,"altitude":109,"angle":154,"satellites":47,"speed":64,"hex_longitude":"2d4cd5c0","hex_latitude":"06854000","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945833472001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357027995522695168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5531898114046343168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784944668000,"timestamp_ms":1784944668000,"timestamp_seconds":1784944668,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fe2d60"} 
[2026-07-25 07:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 07:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945833472001,"66":27821,"183":206,"80":60928,"24":64,"16":357027995522695168,"45":5531898114046343168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-25 07:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945833472001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:29:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 07:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357027995522695168,"km_value":357027995522695.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5531898114046343168,"description":"Unknown IO ID 45"} 
[2026-07-25 07:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945833472001,"power":27821,"unknown_183":206,"unknown_80":60928,"ignition":64,"odometer":null,"unknown_45":5531898114046343168}} 
[2026-07-25 07:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":143301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:29:03] local.INFO: GPS data processed {"connection_id":143301,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:29:03] local.INFO: Acknowledgment sent {"connection_id":143301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:29:07] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fe44d0012d4ce58006851ed8006d009a2f..."} 
[2026-07-25 07:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fe44d0012d4ce58006851ed8006d009a2f..."} 
[2026-07-25 07:29:07] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fe44d0012d4ce58006851ed8006d009a2f..."} 
[2026-07-25 07:29:07] local.INFO: Packet analysis {"connection_id":143301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:29:07] local.INFO: Extracted packet for processing {"connection_id":143301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":760014208,"raw_latitude":109387480,"longitude_deg":76.0014208,"latitude_deg":10.938748,"altitude":109,"angle":154,"satellites":47,"speed":60,"hex_longitude":"2d4ce580","hex_latitude":"06851ed8","is_valid_coordinates":true} 
[2026-07-25 07:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945835008001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357028446494261248,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536542451159793664,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784944674000,"timestamp_ms":1784944674000,"timestamp_seconds":1784944674,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fe44d0"} 
[2026-07-25 07:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945835008001,"66":27800,"183":206,"80":60928,"24":60,"16":357028446494261248,"45":5536542451159793664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-25 07:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945835008001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:29:07] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 07:29:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357028446494261248,"km_value":357028446494261.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536542451159793664,"description":"Unknown IO ID 45"} 
[2026-07-25 07:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945835008001,"power":27800,"unknown_183":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":5536542451159793664}} 
[2026-07-25 07:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":143301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:29:07] local.INFO: GPS data processed {"connection_id":143301,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:29:07] local.INFO: Acknowledgment sent {"connection_id":143301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:29:19] local.INFO: TCP Data received {"connection_id":141959,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ff4a88012d7bd34005dd6c300000015e12..."} 
[2026-07-25 07:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ff4a88012d7bd34005dd6c300000015e12..."} 
[2026-07-25 07:29:19] local.INFO: Processing buffer {"connection_id":141959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ff4a88012d7bd34005dd6c300000015e12..."} 
[2026-07-25 07:29:19] local.INFO: Packet analysis {"connection_id":141959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:29:19] local.INFO: Extracted packet for processing {"connection_id":141959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:29:19] local.INFO: GPS Element Parsed {"raw_longitude":763089728,"raw_latitude":98397232,"longitude_deg":76.3089728,"latitude_deg":9.8397232,"altitude":0,"angle":350,"satellites":18,"speed":54,"hex_longitude":"2d7bd340","hex_latitude":"05dd6c30","is_valid_coordinates":true} 
[2026-07-25 07:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945851904001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110072074696916992,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924093793054531584,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784944741000,"timestamp_ms":1784944741000,"timestamp_seconds":1784944741,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ff4a88"} 
[2026-07-25 07:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:29: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-07-25 07:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 07:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945851904001,"66":13624,"169":206,"85":15104,"24":54,"16":110072074696916992,"45":8924093793054531584},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945851904001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110072074696916992,"km_value":110072074696916.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924093793054531584,"description":"Unknown IO ID 45"} 
[2026-07-25 07:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945851904001,"power":13624,"unknown_169":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8924093793054531584}} 
[2026-07-25 07:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":141959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:29:19] local.INFO: GPS data processed {"connection_id":141959,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:29:19] local.INFO: Acknowledgment sent {"connection_id":141959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:29:41] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:29:41] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:29:41] local.INFO: IMEI packet received {"connection_id":140909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":140909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:29:42] local.INFO: TCP Data received {"connection_id":143301,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fe6028012d4cf6800684fbb8006f00982f..."} 
[2026-07-25 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fe6028012d4cf6800684fbb8006f00982f..."} 
[2026-07-25 07:29:42] local.INFO: Processing buffer {"connection_id":143301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fe6028012d4cf6800684fbb8006f00982f..."} 
[2026-07-25 07:29:42] local.INFO: Packet analysis {"connection_id":143301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:29:42] local.INFO: Extracted packet for processing {"connection_id":143301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:29:42] local.INFO: GPS Element Parsed {"raw_longitude":760018560,"raw_latitude":109378488,"longitude_deg":76.001856,"latitude_deg":10.9378488,"altitude":111,"angle":152,"satellites":47,"speed":53,"hex_longitude":"2d4cf680","hex_latitude":"0684fbb8","is_valid_coordinates":true} 
[2026-07-25 07:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945836544001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357028931825565696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540975682040813568,"note":"Value kept but may cause issues"} 
[2026-07-25 07:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784944681000,"timestamp_ms":1784944681000,"timestamp_seconds":1784944681,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fe6028"} 
[2026-07-25 07:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:29: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-07-25 07:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945836544001,"66":27767,"183":206,"80":60928,"24":53,"16":357028931825565696,"45":5540975682040813568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-25 07:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945836544001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:29:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 07:29:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357028931825565696,"km_value":357028931825565.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540975682040813568,"description":"Unknown IO ID 45"} 
[2026-07-25 07:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945836544001,"power":27767,"unknown_183":206,"unknown_80":60928,"ignition":53,"odometer":null,"unknown_45":5540975682040813568}} 
[2026-07-25 07:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":143301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:29:42] local.INFO: GPS data processed {"connection_id":143301,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:29:42] local.INFO: Acknowledgment sent {"connection_id":143301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:29:46] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:29:46] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:29:46] local.INFO: IMEI packet received {"connection_id":140909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":140909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:29:52] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:52] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:52] local.INFO: IMEI packet received {"connection_id":140910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":140910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:29:56] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:56] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:29:56] local.INFO: IMEI packet received {"connection_id":140910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":140910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:30:00] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:30:00] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:30:00] local.INFO: IMEI packet received {"connection_id":140910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":140910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:30:01] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fe7b80012d4d09400684de800070008e2f..."} 
[2026-07-25 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fe7b80012d4d09400684de800070008e2f..."} 
[2026-07-25 07:30:01] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fe7b80012d4d09400684de800070008e2f..."} 
[2026-07-25 07:30:01] local.INFO: Packet analysis {"connection_id":140910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:30:01] local.INFO: Extracted packet for processing {"connection_id":140910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":760023360,"raw_latitude":109371008,"longitude_deg":76.002336,"latitude_deg":10.9371008,"altitude":112,"angle":142,"satellites":47,"speed":49,"hex_longitude":"2d4d0940","hex_latitude":"0684de80","is_valid_coordinates":true} 
[2026-07-25 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945838336001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357029361322295296,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545760756642592768,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784944688000,"timestamp_ms":1784944688000,"timestamp_seconds":1784944688,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fe7b80"} 
[2026-07-25 07:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945838336001,"66":27865,"183":206,"80":60928,"24":49,"16":357029361322295296,"45":5545760756642592768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945838336001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357029361322295296,"km_value":357029361322295.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545760756642592768,"description":"Unknown IO ID 45"} 
[2026-07-25 07:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945838336001,"power":27865,"unknown_183":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5545760756642592768}} 
[2026-07-25 07:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":140910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:30:01] local.INFO: GPS data processed {"connection_id":140910,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:30:01] local.INFO: Acknowledgment sent {"connection_id":140910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:30:01] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fe9ac0012d4d22800684c338007300872e..."} 
[2026-07-25 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fe9ac0012d4d22800684c338007300872e..."} 
[2026-07-25 07:30:01] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fe9ac0012d4d22800684c338007300872e..."} 
[2026-07-25 07:30:01] local.INFO: Packet analysis {"connection_id":140910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:30:01] local.INFO: Extracted packet for processing {"connection_id":140910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96fe"} 
[2026-07-25 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":760029824,"raw_latitude":109364024,"longitude_deg":76.0029824,"latitude_deg":10.9364024,"altitude":115,"angle":135,"satellites":46,"speed":46,"hex_longitude":"2d4d2280","hex_latitude":"0684c338","is_valid_coordinates":true} 
[2026-07-25 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945840128001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357029820883795968,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5551038412454002688,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784944696000,"timestamp_ms":1784944696000,"timestamp_seconds":1784944696,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fe9ac0"} 
[2026-07-25 07:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945840128001,"66":27865,"183":206,"80":60928,"24":46,"16":357029820883795968,"45":5551038412454002688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,80,24,16,45]} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945840128001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357029820883795968,"km_value":357029820883795.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5551038412454002688,"description":"Unknown IO ID 45"} 
[2026-07-25 07:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945840128001,"power":27865,"unknown_183":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":5551038412454002688}} 
[2026-07-25 07:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":140910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:30:01] local.INFO: GPS data processed {"connection_id":140910,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:30:01] local.INFO: Acknowledgment sent {"connection_id":140910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:30:01] local.INFO: TCP Data received {"connection_id":140909,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ff65e0012d7bce0005dd8e900000015e12..."} 
[2026-07-25 07:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ff65e0012d7bce0005dd8e900000015e12..."} 
[2026-07-25 07:30:01] local.INFO: Processing buffer {"connection_id":140909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ff65e0012d7bce0005dd8e900000015e12..."} 
[2026-07-25 07:30:01] local.INFO: Packet analysis {"connection_id":140909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:01] local.INFO: Extracted packet for processing {"connection_id":140909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763088384,"raw_latitude":98406032,"longitude_deg":76.3088384,"latitude_deg":9.8406032,"altitude":0,"angle":350,"satellites":18,"speed":46,"hex_longitude":"2d7bce00","hex_latitude":"05dd8e90","is_valid_coordinates":true} 
[2026-07-25 07:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945853696001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110072504193646592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922545680684953600,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784944748000,"timestamp_ms":1784944748000,"timestamp_seconds":1784944748,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ff65e0"} 
[2026-07-25 07:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 07:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945853696001,"66":13559,"169":206,"85":15104,"24":46,"16":110072504193646592,"45":8922545680684953600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945853696001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110072504193646592,"km_value":110072504193646.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922545680684953600,"description":"Unknown IO ID 45"} 
[2026-07-25 07:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945853696001,"power":13559,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8922545680684953600}} 
[2026-07-25 07:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":140909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:30:01] local.INFO: GPS data processed {"connection_id":140909,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:30:01] local.INFO: Acknowledgment sent {"connection_id":140909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:30:34] local.INFO: TCP Data received {"connection_id":140910,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fffe38012d4e7d400683f070007100872d..."} 
[2026-07-25 07:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fffe38012d4e7d400683f070007100872d..."} 
[2026-07-25 07:30:34] local.INFO: Processing buffer {"connection_id":140910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fffe38012d4e7d400683f070007100872d..."} 
[2026-07-25 07:30:34] local.INFO: Packet analysis {"connection_id":140910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:34] local.INFO: Extracted packet for processing {"connection_id":140910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:34] local.INFO: GPS Element Parsed {"raw_longitude":760118592,"raw_latitude":109310064,"longitude_deg":76.0118592,"latitude_deg":10.9310064,"altitude":113,"angle":135,"satellites":45,"speed":62,"hex_longitude":"2d4e7d40","hex_latitude":"0683f070","is_valid_coordinates":true} 
[2026-07-25 07:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945863936001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357035009204289536,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5649273179312291840,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784944787000,"timestamp_ms":1784944787000,"timestamp_seconds":1784944787,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fffe38"} 
[2026-07-25 07:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945863936001,"66":27876,"216":206,"80":60928,"24":62,"16":357035009204289536,"45":5649273179312291840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-25 07:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945863936001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357035009204289536,"km_value":357035009204289.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5649273179312291840,"description":"Unknown IO ID 45"} 
[2026-07-25 07:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945863936001,"power":27876,"unknown_216":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5649273179312291840}} 
[2026-07-25 07:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":140910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:30:35] local.INFO: GPS data processed {"connection_id":140910,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:30:35] local.INFO: Acknowledgment sent {"connection_id":140910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:30:46] local.INFO: TCP Data received {"connection_id":143302,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:30:46] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:30:46] local.INFO: IMEI packet received {"connection_id":143302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":143302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:30:49] local.INFO: TCP Data received {"connection_id":143302,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:30:49] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:30:49] local.INFO: IMEI packet received {"connection_id":143302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":143302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:30:50] local.INFO: TCP Data received {"connection_id":143302,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ff8908012d7bc7c005ddb3b80000015d12..."} 
[2026-07-25 07:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ff8908012d7bc7c005ddb3b80000015d12..."} 
[2026-07-25 07:30:50] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ff8908012d7bc7c005ddb3b80000015d12..."} 
[2026-07-25 07:30:50] local.INFO: Packet analysis {"connection_id":143302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:50] local.INFO: Extracted packet for processing {"connection_id":143302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763086784,"raw_latitude":98415544,"longitude_deg":76.3086784,"latitude_deg":9.8415544,"altitude":0,"angle":349,"satellites":18,"speed":41,"hex_longitude":"2d7bc7c0","hex_latitude":"05ddb3b8","is_valid_coordinates":true} 
[2026-07-25 07:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945855488001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110072972345081856,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921067937059475456,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784944757000,"timestamp_ms":1784944757000,"timestamp_seconds":1784944757,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ff8908"} 
[2026-07-25 07:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 07:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945855488001,"66":13526,"169":206,"85":15104,"24":41,"16":110072972345081856,"45":8921067937059475456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945855488001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:30:50] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110072972345081856,"km_value":110072972345081.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921067937059475456,"description":"Unknown IO ID 45"} 
[2026-07-25 07:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945855488001,"power":13526,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8921067937059475456}} 
[2026-07-25 07:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":143302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:30:50] local.INFO: GPS data processed {"connection_id":143302,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:30:50] local.INFO: Acknowledgment sent {"connection_id":143302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:30:52] local.INFO: TCP Data received {"connection_id":143302,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96ffac30012d7bc04005ddd8000000015a16..."} 
[2026-07-25 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96ffac30012d7bc04005ddd8000000015a16..."} 
[2026-07-25 07:30:52] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96ffac30012d7bc04005ddd8000000015a16..."} 
[2026-07-25 07:30:52] local.INFO: Packet analysis {"connection_id":143302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:52] local.INFO: Extracted packet for processing {"connection_id":143302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763084864,"raw_latitude":98424832,"longitude_deg":76.3084864,"latitude_deg":9.8424832,"altitude":0,"angle":346,"satellites":22,"speed":40,"hex_longitude":"2d7bc040","hex_latitude":"05ddd800","is_valid_coordinates":true} 
[2026-07-25 07:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945857792001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110073431906582528,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919308718457468928,"note":"Value kept but may cause issues"} 
[2026-07-25 07:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784944766000,"timestamp_ms":1784944766000,"timestamp_seconds":1784944766,"priority":1,"record_length":96,"hex_timestamp":"0000019f96ffac30"} 
[2026-07-25 07:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 07:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945857792001,"66":13015,"169":206,"85":15104,"24":40,"16":110073431906582528,"45":8919308718457468928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945857792001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:30:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110073431906582528,"km_value":110073431906582.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919308718457468928,"description":"Unknown IO ID 45"} 
[2026-07-25 07:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945857792001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8919308718457468928}} 
[2026-07-25 07:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":143302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:30:52] local.INFO: GPS data processed {"connection_id":143302,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:30:52] local.INFO: Acknowledgment sent {"connection_id":143302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:31:00] local.INFO: TCP Data received {"connection_id":141960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:00] local.INFO: Processing buffer {"connection_id":141960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:00] local.INFO: IMEI packet received {"connection_id":141960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":141960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:31:01] local.INFO: TCP Data received {"connection_id":141960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:01] local.INFO: Processing buffer {"connection_id":141960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:01] local.INFO: IMEI packet received {"connection_id":141960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":141960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:31:06] local.INFO: TCP Data received {"connection_id":141960,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:06] local.INFO: Processing buffer {"connection_id":141960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:06] local.INFO: IMEI packet received {"connection_id":141960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":141960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:31:07] local.INFO: TCP Data received {"connection_id":141960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970009f0012d4e8b800683e4900070007c2d..."} 
[2026-07-25 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970009f0012d4e8b800683e4900070007c2d..."} 
[2026-07-25 07:31:07] local.INFO: Processing buffer {"connection_id":141960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970009f0012d4e8b800683e4900070007c2d..."} 
[2026-07-25 07:31:07] local.INFO: Packet analysis {"connection_id":141960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:31:07] local.INFO: Extracted packet for processing {"connection_id":141960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":760122240,"raw_latitude":109307024,"longitude_deg":76.012224,"latitude_deg":10.9307024,"altitude":112,"angle":124,"satellites":45,"speed":62,"hex_longitude":"2d4e8b80","hex_latitude":"0683e490","is_valid_coordinates":true} 
[2026-07-25 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945865472001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357035236837556224,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5655747103774765056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784944790000,"timestamp_ms":1784944790000,"timestamp_seconds":1784944790,"priority":1,"record_length":96,"hex_timestamp":"0000019f970009f0"} 
[2026-07-25 07:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945865472001,"66":27800,"216":206,"80":60928,"24":62,"16":357035236837556224,"45":5655747103774765056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-25 07:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945865472001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:31:07] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-25 07:31:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357035236837556224,"km_value":357035236837556.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5655747103774765056,"description":"Unknown IO ID 45"} 
[2026-07-25 07:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945865472001,"power":27800,"unknown_216":206,"unknown_80":60928,"ignition":62,"odometer":null,"unknown_45":5655747103774765056}} 
[2026-07-25 07:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":141960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:31:07] local.INFO: GPS data processed {"connection_id":141960,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:31:07] local.INFO: Acknowledgment sent {"connection_id":141960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:31:23] local.INFO: TCP Data received {"connection_id":143302,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f96fffa50012d7bb9c005ddf3200000015917..."} 
[2026-07-25 07:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f96fffa50012d7bb9c005ddf3200000015917..."} 
[2026-07-25 07:31:23] local.INFO: Processing buffer {"connection_id":143302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f96fffa50012d7bb9c005ddf3200000015917..."} 
[2026-07-25 07:31:23] local.INFO: Packet analysis {"connection_id":143302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:31:23] local.INFO: Extracted packet for processing {"connection_id":143302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f96ff"} 
[2026-07-25 07:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763083200,"raw_latitude":98431776,"longitude_deg":76.30832,"latitude_deg":9.8431776,"altitude":0,"angle":345,"satellites":23,"speed":19,"hex_longitude":"2d7bb9c0","hex_latitude":"05ddf320","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945860096001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110073784093900800,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917197656134516736,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784944786000,"timestamp_ms":1784944786000,"timestamp_seconds":1784944786,"priority":1,"record_length":96,"hex_timestamp":"0000019f96fffa50"} 
[2026-07-25 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-07-25 07:31: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-07-25 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 07:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945860096001,"66":13580,"185":206,"85":15104,"24":19,"16":110073784093900800,"45":8917197656134516736},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 07:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945860096001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:31:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 07:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110073784093900800,"km_value":110073784093900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917197656134516736,"description":"Unknown IO ID 45"} 
[2026-07-25 07:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945860096001,"power":13580,"unknown_185":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8917197656134516736}} 
[2026-07-25 07:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":143302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:31:23] local.INFO: GPS data processed {"connection_id":143302,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:31:23] local.INFO: Acknowledgment sent {"connection_id":143302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:31:38] local.INFO: TCP Data received {"connection_id":141960,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970015a8012d4e9b800683dbf0007100702c..."} 
[2026-07-25 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970015a8012d4e9b800683dbf0007100702c..."} 
[2026-07-25 07:31:38] local.INFO: Processing buffer {"connection_id":141960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970015a8012d4e9b800683dbf0007100702c..."} 
[2026-07-25 07:31:38] local.INFO: Packet analysis {"connection_id":141960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:31:38] local.INFO: Extracted packet for processing {"connection_id":141960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":760126336,"raw_latitude":109304816,"longitude_deg":76.0126336,"latitude_deg":10.9304816,"altitude":113,"angle":112,"satellites":44,"speed":60,"hex_longitude":"2d4e9b80","hex_latitude":"0683dbf0","is_valid_coordinates":true} 
[2026-07-25 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945866240001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357035460175855616,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5659758122192113664,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784944793000,"timestamp_ms":1784944793000,"timestamp_seconds":1784944793,"priority":1,"record_length":96,"hex_timestamp":"0000019f970015a8"} 
[2026-07-25 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945866240001,"66":27821,"216":206,"80":60928,"24":60,"16":357035460175855616,"45":5659758122192113664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-25 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945866240001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:31:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-25 07:31:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357035460175855616,"km_value":357035460175855.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5659758122192113664,"description":"Unknown IO ID 45"} 
[2026-07-25 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945866240001,"power":27821,"unknown_216":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":5659758122192113664}} 
[2026-07-25 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":141960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:31:38] local.INFO: GPS data processed {"connection_id":141960,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:31:38] local.INFO: Acknowledgment sent {"connection_id":141960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:31:41] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:41] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:41] local.INFO: IMEI packet received {"connection_id":140954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":140954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:31:42] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:42] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:42] local.INFO: IMEI packet received {"connection_id":140954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":140954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:31:46] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:46] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:31:46] local.INFO: IMEI packet received {"connection_id":140954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":140954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:31:47] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97017d08012d7b894005df88700001015f12..."} 
[2026-07-25 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97017d08012d7b894005df88700001015f12..."} 
[2026-07-25 07:31:47] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97017d08012d7b894005df88700001015f12..."} 
[2026-07-25 07:31:47] local.INFO: Packet analysis {"connection_id":140954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:31:47] local.INFO: Extracted packet for processing {"connection_id":140954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":98535536,"longitude_deg":76.3070784,"latitude_deg":9.8535536,"altitude":1,"angle":351,"satellites":18,"speed":46,"hex_longitude":"2d7b8940","hex_latitude":"05df8870","is_valid_coordinates":true} 
[2026-07-25 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945888512001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110078860745244672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903123907324948480,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944885000,"timestamp_ms":1784944885000,"timestamp_seconds":1784944885,"priority":1,"record_length":96,"hex_timestamp":"0000019f97017d08"} 
[2026-07-25 07:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2533402160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6779043536667934730,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3444047872,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634226728281906,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805072078,"corrected_to":0} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3405827495,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3733035008,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-6467162612278231040,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":53,"raw_value":6341294393319804501,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755597009682673,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,49,85,24,241,157,16,19,159,62,45,128,61,17,10,66,35,64,18,7,1,240,34,227,151,222,4,113,205,51,201,158,176,239,52,50,2,135,5,39,123,53,59],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805072078,"validated":0}]} 
[2026-07-25 07:31:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":388204917227520,"timestamp_seconds":388204917227.52,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945888512001,"66":13526,"49":206,"85":15104,"24":46,"16":110078860745244672,"45":8903123907324948480},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 07:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945888512001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110078860745244672,"km_value":110078860745244.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903123907324948480,"description":"Unknown IO ID 45"} 
[2026-07-25 07:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945888512001,"power":13526,"unknown_49":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8903123907324948480}} 
[2026-07-25 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":140954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:31:47] local.INFO: GPS data processed {"connection_id":140954,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:31:47] local.INFO: Acknowledgment sent {"connection_id":140954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:31:51] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97019c48012d7b84c005dfad100002015f13..."} 
[2026-07-25 07:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97019c48012d7b84c005dfad100002015f13..."} 
[2026-07-25 07:31:51] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97019c48012d7b84c005dfad100002015f13..."} 
[2026-07-25 07:31:51] local.INFO: Packet analysis {"connection_id":140954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:31:51] local.INFO: Extracted packet for processing {"connection_id":140954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:31:51] local.INFO: GPS Element Parsed {"raw_longitude":763069632,"raw_latitude":98544912,"longitude_deg":76.3069632,"latitude_deg":9.8544912,"altitude":2,"angle":351,"satellites":19,"speed":47,"hex_longitude":"2d7b84c0","hex_latitude":"05dfad10","is_valid_coordinates":true} 
[2026-07-25 07:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945890560001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110079320306745344,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716532443770880,"note":"Value kept but may cause issues"} 
[2026-07-25 07:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784944893000,"timestamp_ms":1784944893000,"timestamp_seconds":1784944893,"priority":1,"record_length":96,"hex_timestamp":"0000019f97019c48"} 
[2026-07-25 07:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 07:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":140954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945890560001,"66":13624,"49":206,"85":15104,"24":47,"16":110079320306745344,"45":8901716532443770880},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 07:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945890560001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:31:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 07:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110079320306745344,"km_value":110079320306745.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716532443770880,"description":"Unknown IO ID 45"} 
[2026-07-25 07:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945890560001,"power":13624,"unknown_49":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8901716532443770880}} 
[2026-07-25 07:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":140954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:31:51] local.INFO: GPS data processed {"connection_id":140954,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:31:51] local.INFO: Acknowledgment sent {"connection_id":140954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:31:56] local.INFO: TCP Data received {"connection_id":141961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:56] local.INFO: Processing buffer {"connection_id":141961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:31:56] local.INFO: IMEI packet received {"connection_id":141961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":141961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:32:01] local.INFO: TCP Data received {"connection_id":141961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:01] local.INFO: Processing buffer {"connection_id":141961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:01] local.INFO: IMEI packet received {"connection_id":141961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":141961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:32:02] local.INFO: TCP Data received {"connection_id":141961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97002548012d4eb1800683d5a0007200652d..."} 
[2026-07-25 07:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97002548012d4eb1800683d5a0007200652d..."} 
[2026-07-25 07:32:02] local.INFO: Processing buffer {"connection_id":141961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97002548012d4eb1800683d5a0007200652d..."} 
[2026-07-25 07:32:02] local.INFO: Packet analysis {"connection_id":141961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:32:02] local.INFO: Extracted packet for processing {"connection_id":141961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:32:02] local.INFO: GPS Element Parsed {"raw_longitude":760131968,"raw_latitude":109303200,"longitude_deg":76.0131968,"latitude_deg":10.93032,"altitude":114,"angle":101,"satellites":45,"speed":56,"hex_longitude":"2d4eb180","hex_latitude":"0683d5a0","is_valid_coordinates":true} 
[2026-07-25 07:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945867008001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357035743643697152,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5664261721818918912,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784944797000,"timestamp_ms":1784944797000,"timestamp_seconds":1784944797,"priority":1,"record_length":96,"hex_timestamp":"0000019f97002548"} 
[2026-07-25 07:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945867008001,"66":27626,"216":206,"80":60928,"24":56,"16":357035743643697152,"45":5664261721818918912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-25 07:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945867008001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:32:02] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-25 07:32:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357035743643697152,"km_value":357035743643697.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5664261721818918912,"description":"Unknown IO ID 45"} 
[2026-07-25 07:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945867008001,"power":27626,"unknown_216":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5664261721818918912}} 
[2026-07-25 07:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":141961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:32:02] local.INFO: GPS data processed {"connection_id":141961,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:32:02] local.INFO: Acknowledgment sent {"connection_id":141961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:32:25] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9701bb88012d7b7f8005dfcf880002015f11..."} 
[2026-07-25 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9701bb88012d7b7f8005dfcf880002015f11..."} 
[2026-07-25 07:32:25] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9701bb88012d7b7f8005dfcf880002015f11..."} 
[2026-07-25 07:32:25] local.INFO: Packet analysis {"connection_id":140954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:32:25] local.INFO: Extracted packet for processing {"connection_id":140954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":98553736,"longitude_deg":76.3068288,"latitude_deg":9.8553736,"altitude":2,"angle":351,"satellites":17,"speed":43,"hex_longitude":"2d7b7f80","hex_latitude":"05dfcf88","is_valid_coordinates":true} 
[2026-07-25 07:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945892608001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110079749803474944,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900449895050973184,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784944901000,"timestamp_ms":1784944901000,"timestamp_seconds":1784944901,"priority":1,"record_length":96,"hex_timestamp":"0000019f9701bb88"} 
[2026-07-25 07:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 07:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":140954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945892608001,"66":13515,"49":206,"85":15104,"24":43,"16":110079749803474944,"45":8900449895050973184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 07:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945892608001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:32:25] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 07:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110079749803474944,"km_value":110079749803474.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900449895050973184,"description":"Unknown IO ID 45"} 
[2026-07-25 07:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945892608001,"power":13515,"unknown_49":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8900449895050973184}} 
[2026-07-25 07:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":140954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:32:25] local.INFO: GPS data processed {"connection_id":140954,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:32:25] local.INFO: Acknowledgment sent {"connection_id":140954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:32:34] local.INFO: TCP Data received {"connection_id":141961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970040a0012d4ed5000683d038007500622c..."} 
[2026-07-25 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970040a0012d4ed5000683d038007500622c..."} 
[2026-07-25 07:32:34] local.INFO: Processing buffer {"connection_id":141961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970040a0012d4ed5000683d038007500622c..."} 
[2026-07-25 07:32:34] local.INFO: Packet analysis {"connection_id":141961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:32:34] local.INFO: Extracted packet for processing {"connection_id":141961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9700"} 
[2026-07-25 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":760141056,"raw_latitude":109301816,"longitude_deg":76.0141056,"latitude_deg":10.9301816,"altitude":117,"angle":98,"satellites":44,"speed":48,"hex_longitude":"2d4ed500","hex_latitude":"0683d038","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945868032001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357036177435394048,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5670454171306139648,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784944804000,"timestamp_ms":1784944804000,"timestamp_seconds":1784944804,"priority":1,"record_length":96,"hex_timestamp":"0000019f970040a0"} 
[2026-07-25 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-07-25 07:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 07:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945868032001,"66":27843,"216":206,"80":60928,"24":48,"16":357036177435394048,"45":5670454171306139648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-25 07:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945868032001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357036177435394048,"km_value":357036177435394.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5670454171306139648,"description":"Unknown IO ID 45"} 
[2026-07-25 07:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945868032001,"power":27843,"unknown_216":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5670454171306139648}} 
[2026-07-25 07:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":141961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:32:34] local.INFO: GPS data processed {"connection_id":141961,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:32:34] local.INFO: Acknowledgment sent {"connection_id":141961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:32:41] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:32:41] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:32:41] local.INFO: IMEI packet received {"connection_id":140955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":140955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:32:43] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:32:43] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:32:43] local.INFO: IMEI packet received {"connection_id":140955,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":140955,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:32:44] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9701dac8012d7b7a8005dff4f00003015f12..."} 
[2026-07-25 07:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9701dac8012d7b7a8005dff4f00003015f12..."} 
[2026-07-25 07:32:44] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9701dac8012d7b7a8005dff4f00003015f12..."} 
[2026-07-25 07:32:44] local.INFO: Packet analysis {"connection_id":140955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:32:44] local.INFO: Extracted packet for processing {"connection_id":140955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763067008,"raw_latitude":98563312,"longitude_deg":76.3067008,"latitude_deg":9.8563312,"altitude":3,"angle":351,"satellites":18,"speed":53,"hex_longitude":"2d7b7a80","hex_latitude":"05dff4f0","is_valid_coordinates":true} 
[2026-07-25 07:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945894656001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110080217954910208,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898972151425501184,"note":"Value kept but may cause issues"} 
[2026-07-25 07:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784944909000,"timestamp_ms":1784944909000,"timestamp_seconds":1784944909,"priority":1,"record_length":96,"hex_timestamp":"0000019f9701dac8"} 
[2026-07-25 07:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-25 07:32: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-07-25 07:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945894656001,"66":13091,"49":206,"85":15104,"24":53,"16":110080217954910208,"45":8898972151425501184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 07:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945894656001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:32:44] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 07:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110080217954910208,"km_value":110080217954910.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898972151425501184,"description":"Unknown IO ID 45"} 
[2026-07-25 07:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945894656001,"power":13091,"unknown_49":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8898972151425501184}} 
[2026-07-25 07:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":140955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:32:44] local.INFO: GPS data processed {"connection_id":140955,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:32:44] local.INFO: Acknowledgment sent {"connection_id":140955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:32:56] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:56] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:56] local.INFO: IMEI packet received {"connection_id":140911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":140911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:32:57] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:57] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:32:57] local.INFO: IMEI packet received {"connection_id":140911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":140911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:33:01] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:33:01] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:33:01] local.INFO: IMEI packet received {"connection_id":140911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":140911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:33:04] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9701ee50012d506a4006839418009100622d..."} 
[2026-07-25 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9701ee50012d506a4006839418009100622d..."} 
[2026-07-25 07:33:04] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9701ee50012d506a4006839418009100622d..."} 
[2026-07-25 07:33:04] local.INFO: Packet analysis {"connection_id":140911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:33:04] local.INFO: Extracted packet for processing {"connection_id":140911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":760244800,"raw_latitude":109286424,"longitude_deg":76.02448,"latitude_deg":10.9286424,"altitude":145,"angle":98,"satellites":45,"speed":41,"hex_longitude":"2d506a40","hex_latitude":"06839418","is_valid_coordinates":true} 
[2026-07-25 07:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945895680001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357041172482359296,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5784310799381651456,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784944914000,"timestamp_ms":1784944914000,"timestamp_seconds":1784944914,"priority":1,"record_length":96,"hex_timestamp":"0000019f9701ee50"} 
[2026-07-25 07:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:33: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-07-25 07:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945895680001,"66":27767,"48":206,"80":60928,"24":41,"16":357041172482359296,"45":5784310799381651456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-25 07:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945895680001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:33:04] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:33:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357041172482359296,"km_value":357041172482359.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5784310799381651456,"description":"Unknown IO ID 45"} 
[2026-07-25 07:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945895680001,"power":27767,"unknown_48":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":5784310799381651456}} 
[2026-07-25 07:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":140911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:33:04] local.INFO: GPS data processed {"connection_id":140911,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:33:04] local.INFO: Acknowledgment sent {"connection_id":140911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:33:15] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9701f620012d7b75c005e019f80005016013..."} 
[2026-07-25 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9701f620012d7b75c005e019f80005016013..."} 
[2026-07-25 07:33:15] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9701f620012d7b75c005e019f80005016013..."} 
[2026-07-25 07:33:15] local.INFO: Packet analysis {"connection_id":140955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:33:15] local.INFO: Extracted packet for processing {"connection_id":140955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9701"} 
[2026-07-25 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":763065792,"raw_latitude":98572792,"longitude_deg":76.3065792,"latitude_deg":9.8572792,"altitude":5,"angle":352,"satellites":19,"speed":53,"hex_longitude":"2d7b75c0","hex_latitude":"05e019f8","is_valid_coordinates":true} 
[2026-07-25 07:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945896704001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110080681811378176,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897564776544399360,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784944916000,"timestamp_ms":1784944916000,"timestamp_seconds":1784944916,"priority":1,"record_length":96,"hex_timestamp":"0000019f9701f620"} 
[2026-07-25 07:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 07:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":140955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":140955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":140955,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945896704001,"66":13450,"49":206,"85":15104,"24":53,"16":110080681811378176,"45":8897564776544399360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 07:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945896704001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:33:15] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 07:33:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110080681811378176,"km_value":110080681811378.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897564776544399360,"description":"Unknown IO ID 45"} 
[2026-07-25 07:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945896704001,"power":13450,"unknown_49":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8897564776544399360}} 
[2026-07-25 07:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":140955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:33:16] local.INFO: GPS data processed {"connection_id":140955,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:33:16] local.INFO: Acknowledgment sent {"connection_id":140955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:33:35] local.INFO: TCP Data received {"connection_id":140911,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97021178012d50908006838e70009200622e..."} 
[2026-07-25 07:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97021178012d50908006838e70009200622e..."} 
[2026-07-25 07:33:35] local.INFO: Processing buffer {"connection_id":140911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97021178012d50908006838e70009200622e..."} 
[2026-07-25 07:33:35] local.INFO: Packet analysis {"connection_id":140911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:33:35] local.INFO: Extracted packet for processing {"connection_id":140911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:33:35] local.INFO: GPS Element Parsed {"raw_longitude":760254592,"raw_latitude":109284976,"longitude_deg":76.0254592,"latitude_deg":10.9284976,"altitude":146,"angle":98,"satellites":46,"speed":44,"hex_longitude":"2d509080","hex_latitude":"06838e70","is_valid_coordinates":true} 
[2026-07-25 07:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945897984001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357041644928761856,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5794514267287066624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784944923000,"timestamp_ms":1784944923000,"timestamp_seconds":1784944923,"priority":1,"record_length":96,"hex_timestamp":"0000019f97021178"} 
[2026-07-25 07:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:33: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-07-25 07:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945897984001,"66":27767,"48":206,"80":60928,"24":44,"16":357041644928761856,"45":5794514267287066624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-25 07:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945897984001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:33:35] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357041644928761856,"km_value":357041644928761.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5794514267287066624,"description":"Unknown IO ID 45"} 
[2026-07-25 07:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945897984001,"power":27767,"unknown_48":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":5794514267287066624}} 
[2026-07-25 07:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":140911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:33:35] local.INFO: GPS data processed {"connection_id":140911,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:33:35] local.INFO: Acknowledgment sent {"connection_id":140911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:33:39] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:39] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:39] local.INFO: IMEI packet received {"connection_id":140956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":140956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:33:41] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:42] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:42] local.INFO: IMEI packet received {"connection_id":140956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":140956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:33:46] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:46] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:33:46] local.INFO: IMEI packet received {"connection_id":140956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":140956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:33:47] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97021178012d7b714005e03dc00005016213..."} 
[2026-07-25 07:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97021178012d7b714005e03dc00005016213..."} 
[2026-07-25 07:33:47] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97021178012d7b714005e03dc00005016213..."} 
[2026-07-25 07:33:47] local.INFO: Packet analysis {"connection_id":140956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:33:47] local.INFO: Extracted packet for processing {"connection_id":140956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:33:47] local.INFO: GPS Element Parsed {"raw_longitude":763064640,"raw_latitude":98581952,"longitude_deg":76.306464,"latitude_deg":9.8581952,"altitude":5,"angle":354,"satellites":19,"speed":51,"hex_longitude":"2d7b7140","hex_latitude":"05e03dc0","is_valid_coordinates":true} 
[2026-07-25 07:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945898496001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110081128487976960,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896227770407450624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784944923000,"timestamp_ms":1784944923000,"timestamp_seconds":1784944923,"priority":1,"record_length":96,"hex_timestamp":"0000019f97021178"} 
[2026-07-25 07:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-25 07:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945898496001,"66":13765,"49":206,"85":15104,"24":51,"16":110081128487976960,"45":8896227770407450624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 07:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945898496001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110081128487976960,"km_value":110081128487976.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896227770407450624,"description":"Unknown IO ID 45"} 
[2026-07-25 07:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945898496001,"power":13765,"unknown_49":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8896227770407450624}} 
[2026-07-25 07:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":140956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:33:47] local.INFO: GPS data processed {"connection_id":140956,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:33:47] local.INFO: Acknowledgment sent {"connection_id":140956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:34:01] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:01] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:01] local.INFO: IMEI packet received {"connection_id":140957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":140957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:34:02] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:02] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:02] local.INFO: IMEI packet received {"connection_id":140957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":140957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:34:06] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:06] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:34:06] local.INFO: IMEI packet received {"connection_id":140957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":140957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:34:07] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970230b8012d50b4c0068387f0009100672d..."} 
[2026-07-25 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970230b8012d50b4c0068387f0009100672d..."} 
[2026-07-25 07:34:07] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970230b8012d50b4c0068387f0009100672d..."} 
[2026-07-25 07:34:07] local.INFO: Packet analysis {"connection_id":140957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:34:07] local.INFO: Extracted packet for processing {"connection_id":140957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":760263872,"raw_latitude":109283312,"longitude_deg":76.0263872,"latitude_deg":10.9283312,"altitude":145,"angle":103,"satellites":45,"speed":48,"hex_longitude":"2d50b4c0","hex_latitude":"068387f0","is_valid_coordinates":true} 
[2026-07-25 07:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945900288001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357042095900327936,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5805280685145878528,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784944931000,"timestamp_ms":1784944931000,"timestamp_seconds":1784944931,"priority":1,"record_length":96,"hex_timestamp":"0000019f970230b8"} 
[2026-07-25 07:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945900288001,"66":28082,"48":206,"80":60928,"24":48,"16":357042095900327936,"45":5805280685145878528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-25 07:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945900288001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:34:07] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:34:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357042095900327936,"km_value":357042095900327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5805280685145878528,"description":"Unknown IO ID 45"} 
[2026-07-25 07:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945900288001,"power":28082,"unknown_48":206,"unknown_80":60928,"ignition":48,"odometer":null,"unknown_45":5805280685145878528}} 
[2026-07-25 07:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":140957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:34:07] local.INFO: GPS data processed {"connection_id":140957,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:34:07] local.INFO: Acknowledgment sent {"connection_id":140957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:34:16] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97024ff8012d50d90006837da80090006c2e..."} 
[2026-07-25 07:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97024ff8012d50d90006837da80090006c2e..."} 
[2026-07-25 07:34:16] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97024ff8012d50d90006837da80090006c2e..."} 
[2026-07-25 07:34:16] local.INFO: Packet analysis {"connection_id":140957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:34:16] local.INFO: Extracted packet for processing {"connection_id":140957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9702"} 
[2026-07-25 07:34:16] local.INFO: GPS Element Parsed {"raw_longitude":760273152,"raw_latitude":109280680,"longitude_deg":76.0273152,"latitude_deg":10.928068,"altitude":144,"angle":108,"satellites":46,"speed":45,"hex_longitude":"2d50d900","hex_latitude":"06837da8","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945902336001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357042551166861312,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5815484153051213824,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784944939000,"timestamp_ms":1784944939000,"timestamp_seconds":1784944939,"priority":1,"record_length":96,"hex_timestamp":"0000019f97024ff8"} 
[2026-07-25 07:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 07:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":140957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945902336001,"66":27865,"48":206,"80":60928,"24":45,"16":357042551166861312,"45":5815484153051213824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-25 07:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945902336001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:34:16] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 07:34:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357042551166861312,"km_value":357042551166861.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5815484153051213824,"description":"Unknown IO ID 45"} 
[2026-07-25 07:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945902336001,"power":27865,"unknown_48":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":5815484153051213824}} 
[2026-07-25 07:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":140957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:34:16] local.INFO: GPS data processed {"connection_id":140957,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:34:16] local.INFO: Acknowledgment sent {"connection_id":140957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:34:19] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97038490012d7b374005e1d1a80004016317..."} 
[2026-07-25 07:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97038490012d7b374005e1d1a80004016317..."} 
[2026-07-25 07:34:19] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97038490012d7b374005e1d1a80004016317..."} 
[2026-07-25 07:34:19] local.INFO: Packet analysis {"connection_id":140956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9703"} 
[2026-07-25 07:34:19] local.INFO: Extracted packet for processing {"connection_id":140956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9703"} 
[2026-07-25 07:34:19] local.INFO: GPS Element Parsed {"raw_longitude":763049792,"raw_latitude":98685352,"longitude_deg":76.3049792,"latitude_deg":9.8685352,"altitude":4,"angle":355,"satellites":23,"speed":26,"hex_longitude":"2d7b3740","hex_latitude":"05e1d1a8","is_valid_coordinates":true} 
[2026-07-25 07:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945921024001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110086200844353536,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879268903087036416,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784945018000,"timestamp_ms":1784945018000,"timestamp_seconds":1784945018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97038490"} 
[2026-07-25 07:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-25 07:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945921024001,"66":13319,"169":206,"85":15104,"24":26,"16":110086200844353536,"45":8879268903087036416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945921024001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:34:19] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110086200844353536,"km_value":110086200844353.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879268903087036416,"description":"Unknown IO ID 45"} 
[2026-07-25 07:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945921024001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8879268903087036416}} 
[2026-07-25 07:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":140956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:34:19] local.INFO: GPS data processed {"connection_id":140956,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:34:19] local.INFO: Acknowledgment sent {"connection_id":140956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:34:41] local.INFO: TCP Data received {"connection_id":141962,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:34:41] local.INFO: Processing buffer {"connection_id":141962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:34:41] local.INFO: IMEI packet received {"connection_id":141962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":141962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:34:46] local.INFO: TCP Data received {"connection_id":141962,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:34:46] local.INFO: Processing buffer {"connection_id":141962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:34:46] local.INFO: IMEI packet received {"connection_id":141962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":141962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:34:47] local.INFO: TCP Data received {"connection_id":141962,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9703bb40012d7b344005e1f4300005016214..."} 
[2026-07-25 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9703bb40012d7b344005e1f4300005016214..."} 
[2026-07-25 07:34:47] local.INFO: Processing buffer {"connection_id":141962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9703bb40012d7b344005e1f4300005016214..."} 
[2026-07-25 07:34:47] local.INFO: Packet analysis {"connection_id":141962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9703"} 
[2026-07-25 07:34:47] local.INFO: Extracted packet for processing {"connection_id":141962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9703"} 
[2026-07-25 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98694192,"longitude_deg":76.3049024,"latitude_deg":9.8694192,"altitude":5,"angle":354,"satellites":20,"speed":23,"hex_longitude":"2d7b3440","hex_latitude":"05e1f430","is_valid_coordinates":true} 
[2026-07-25 07:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945924608001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110086630341083136,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878635584391849984,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784945032000,"timestamp_ms":1784945032000,"timestamp_seconds":1784945032,"priority":1,"record_length":96,"hex_timestamp":"0000019f9703bb40"} 
[2026-07-25 07:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2533534160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-8180787428263591931,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13477802,"corrected_to":0} 
[2026-07-25 07:34:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812936398,"corrected_to":0} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57886718825485627,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-3319152899579243776,"note":"Value kept but may cause issues"} 
[2026-07-25 07:34:47] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,169,85,24,241,157,16,26,159,77,45,128,172,2,19,10,66,170,42,64,136,21,25,11,1,240,203,227,151,225,4,113,205,44,201,80,112,239,53,135,5,51,84,224],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":203,"original":13477802,"validated":0},{"io_id":205,"original":2812936398,"validated":0}]} 
[2026-07-25 07:34:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288620801565523968,"timestamp_seconds":288620801565523.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945924608001,"66":13450,"169":206,"85":15104,"24":23,"16":110086630341083136,"45":8878635584391849984},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945924608001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110086630341083136,"km_value":110086630341083.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878635584391849984,"description":"Unknown IO ID 45"} 
[2026-07-25 07:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945924608001,"power":13450,"unknown_169":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8878635584391849984}} 
[2026-07-25 07:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":141962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:34:47] local.INFO: GPS data processed {"connection_id":141962,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:34:47] local.INFO: Acknowledgment sent {"connection_id":141962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:35:05] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:05] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:05] local.INFO: IMEI packet received {"connection_id":143303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":143303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:35:06] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:06] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:06] local.INFO: IMEI packet received {"connection_id":143303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":143303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:35:11] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:11] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:35:11] local.INFO: IMEI packet received {"connection_id":143303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":143303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:35:12] local.INFO: TCP Data received {"connection_id":143303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9703cae0012d51dd000682a6c8008a007a2c..."} 
[2026-07-25 07:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9703cae0012d51dd000682a6c8008a007a2c..."} 
[2026-07-25 07:35:12] local.INFO: Processing buffer {"connection_id":143303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9703cae0012d51dd000682a6c8008a007a2c..."} 
[2026-07-25 07:35:12] local.INFO: Packet analysis {"connection_id":143303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9703"} 
[2026-07-25 07:35:12] local.INFO: Extracted packet for processing {"connection_id":143303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9703"} 
[2026-07-25 07:35:12] local.INFO: GPS Element Parsed {"raw_longitude":760339712,"raw_latitude":109225672,"longitude_deg":76.0339712,"latitude_deg":10.9225672,"altitude":138,"angle":122,"satellites":44,"speed":63,"hex_longitude":"2d51dd00","hex_latitude":"0682a6c8","is_valid_coordinates":true} 
[2026-07-25 07:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945927680001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357046768824745984,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5890286128098732032,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784945036000,"timestamp_ms":1784945036000,"timestamp_seconds":1784945036,"priority":1,"record_length":96,"hex_timestamp":"0000019f9703cae0"} 
[2026-07-25 07:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:35: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-07-25 07:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945927680001,"66":27865,"63":206,"80":60928,"24":63,"16":357046768824745984,"45":5890286128098732032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-07-25 07:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945927680001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:35:12] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 07:35:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357046768824745984,"km_value":357046768824746.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5890286128098732032,"description":"Unknown IO ID 45"} 
[2026-07-25 07:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945927680001,"power":27865,"unknown_63":206,"unknown_80":60928,"ignition":63,"odometer":null,"unknown_45":5890286128098732032}} 
[2026-07-25 07:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":143303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:35:12] local.INFO: GPS data processed {"connection_id":143303,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:35:12] local.INFO: Acknowledgment sent {"connection_id":143303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:35:18] local.INFO: TCP Data received {"connection_id":141962,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97040960012d7b2f8005e216600004016019..."} 
[2026-07-25 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97040960012d7b2f8005e216600004016019..."} 
[2026-07-25 07:35:18] local.INFO: Processing buffer {"connection_id":141962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97040960012d7b2f8005e216600004016019..."} 
[2026-07-25 07:35:18] local.INFO: Packet analysis {"connection_id":141962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:35:18] local.INFO: Extracted packet for processing {"connection_id":141962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":763047808,"raw_latitude":98702944,"longitude_deg":76.3047808,"latitude_deg":9.8702944,"altitude":4,"angle":352,"satellites":25,"speed":20,"hex_longitude":"2d7b2f80","hex_latitude":"05e21660","is_valid_coordinates":true} 
[2026-07-25 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945928192001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087059837812736,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159463981056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784945052000,"timestamp_ms":1784945052000,"timestamp_seconds":1784945052,"priority":1,"record_length":96,"hex_timestamp":"0000019f97040960"} 
[2026-07-25 07:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":138,"data_length":795,"current_offset":136} 
[2026-07-25 07:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945928192001,"66":13526,"169":206,"85":15104,"24":20,"16":110087059837812736,"45":8877791159463981056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945928192001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087059837812736,"km_value":110087059837812.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159463981056,"description":"Unknown IO ID 45"} 
[2026-07-25 07:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945928192001,"power":13526,"unknown_169":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8877791159463981056}} 
[2026-07-25 07:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":141962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:35:18] local.INFO: GPS data processed {"connection_id":141962,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:35:18] local.INFO: Acknowledgment sent {"connection_id":141962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:35:41] local.INFO: TCP Data received {"connection_id":140958,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:35:41] local.INFO: Processing buffer {"connection_id":140958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:35:41] local.INFO: IMEI packet received {"connection_id":140958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":140958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:35:53] local.INFO: TCP Data received {"connection_id":140958,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140958,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:35:53] local.INFO: Processing buffer {"connection_id":140958,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:35:53] local.INFO: IMEI packet received {"connection_id":140958,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":140958,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:35:54] local.INFO: TCP Data received {"connection_id":140958,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97045780012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97045780012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:35:54] local.INFO: Processing buffer {"connection_id":140958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97045780012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:35:54] local.INFO: Packet analysis {"connection_id":140958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:35:54] local.INFO: Extracted packet for processing {"connection_id":140958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706344,"longitude_deg":76.3047168,"latitude_deg":9.8706344,"altitude":6,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e223a8","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945933312001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087231636504576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876454153326845952,"note":"Value kept but may cause issues"} 
[2026-07-25 07:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784945072000,"timestamp_ms":1784945072000,"timestamp_seconds":1784945072,"priority":1,"record_length":96,"hex_timestamp":"0000019f97045780"} 
[2026-07-25 07:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 07:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":140958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":140958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":140958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945933312001,"66":13363,"169":206,"85":15104,"24":0,"16":110087231636504576,"45":8876454153326845952},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945933312001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:35:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087231636504576,"km_value":110087231636504.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876454153326845952,"description":"Unknown IO ID 45"} 
[2026-07-25 07:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945933312001,"power":13363,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8876454153326845952}} 
[2026-07-25 07:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":140958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:35:54] local.INFO: GPS data processed {"connection_id":140958,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:35:54] local.INFO: Acknowledgment sent {"connection_id":140958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:36:01] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:01] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:01] local.INFO: IMEI packet received {"connection_id":143304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":143304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:36:03] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:03] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:03] local.INFO: IMEI packet received {"connection_id":143304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":143304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:36:08] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:08] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:08] local.INFO: IMEI packet received {"connection_id":143304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":143304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:36:10] local.INFO: TCP Data received {"connection_id":143304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9704f3c0012d5325400681a790008d00852d..."} 
[2026-07-25 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9704f3c0012d5325400681a790008d00852d..."} 
[2026-07-25 07:36:10] local.INFO: Processing buffer {"connection_id":143304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9704f3c0012d5325400681a790008d00852d..."} 
[2026-07-25 07:36:10] local.INFO: Packet analysis {"connection_id":143304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:36:10] local.INFO: Extracted packet for processing {"connection_id":143304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":760423744,"raw_latitude":109160336,"longitude_deg":76.0423744,"latitude_deg":10.9160336,"altitude":141,"angle":133,"satellites":45,"speed":57,"hex_longitude":"2d532540","hex_latitude":"0681a790","is_valid_coordinates":true} 
[2026-07-25 07:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945946880001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357051888425762816,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5983313607885176832,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784945112000,"timestamp_ms":1784945112000,"timestamp_seconds":1784945112,"priority":1,"record_length":96,"hex_timestamp":"0000019f9704f3c0"} 
[2026-07-25 07:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945946880001,"66":27832,"153":206,"80":60928,"24":57,"16":357051888425762816,"45":5983313607885176832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-25 07:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945946880001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:36:10] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-25 07:36:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357051888425762816,"km_value":357051888425762.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5983313607885176832,"description":"Unknown IO ID 45"} 
[2026-07-25 07:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945946880001,"power":27832,"unknown_153":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5983313607885176832}} 
[2026-07-25 07:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":143304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:36:10] local.INFO: GPS data processed {"connection_id":143304,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:36:10] local.INFO: Acknowledgment sent {"connection_id":143304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:36:25] local.INFO: TCP Data received {"connection_id":140958,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9704a988012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9704a988012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:36:25] local.INFO: Processing buffer {"connection_id":140958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9704a988012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:36:25] local.INFO: Packet analysis {"connection_id":140958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:36:25] local.INFO: Extracted packet for processing {"connection_id":140958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706344,"longitude_deg":76.3047168,"latitude_deg":9.8706344,"altitude":6,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e223a8","is_valid_coordinates":true} 
[2026-07-25 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945938432001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087231636504576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465885939712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784945093000,"timestamp_ms":1784945093000,"timestamp_seconds":1784945093,"priority":1,"record_length":96,"hex_timestamp":"0000019f9704a988"} 
[2026-07-25 07:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 07:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":140958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":140958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":140958,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945938432001,"66":13472,"169":206,"85":15104,"24":0,"16":110087231636504576,"45":8875750465885939712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945938432001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:36:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087231636504576,"km_value":110087231636504.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465885939712,"description":"Unknown IO ID 45"} 
[2026-07-25 07:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945938432001,"power":13472,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465885939712}} 
[2026-07-25 07:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":140958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:36:25] local.INFO: GPS data processed {"connection_id":140958,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:36:25] local.INFO: Acknowledgment sent {"connection_id":140958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:36:41] local.INFO: TCP Data received {"connection_id":141963,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:36:41] local.INFO: Processing buffer {"connection_id":141963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:36:41] local.INFO: IMEI packet received {"connection_id":141963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":141963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:36:46] local.INFO: TCP Data received {"connection_id":141963,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:36:46] local.INFO: Processing buffer {"connection_id":141963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:36:46] local.INFO: IMEI packet received {"connection_id":141963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":141963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:36:47] local.INFO: TCP Data received {"connection_id":141963,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9704fb90012d7b2d0005e223a80006015b24..."} 
[2026-07-25 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9704fb90012d7b2d0005e223a80006015b24..."} 
[2026-07-25 07:36:47] local.INFO: Processing buffer {"connection_id":141963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9704fb90012d7b2d0005e223a80006015b24..."} 
[2026-07-25 07:36:47] local.INFO: Packet analysis {"connection_id":141963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:36:47] local.INFO: Extracted packet for processing {"connection_id":141963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9704"} 
[2026-07-25 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706344,"longitude_deg":76.3047168,"latitude_deg":9.8706344,"altitude":6,"angle":347,"satellites":36,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e223a8","is_valid_coordinates":true} 
[2026-07-25 07:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945943808001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087231636504576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465885939712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784945114000,"timestamp_ms":1784945114000,"timestamp_seconds":1784945114,"priority":1,"record_length":96,"hex_timestamp":"0000019f9704fb90"} 
[2026-07-25 07:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 07:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945943808001,"66":13341,"169":206,"85":15104,"24":0,"16":110087231636504576,"45":8875750465885939712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945943808001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087231636504576,"km_value":110087231636504.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465885939712,"description":"Unknown IO ID 45"} 
[2026-07-25 07:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945943808001,"power":13341,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465885939712}} 
[2026-07-25 07:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":141963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:36:47] local.INFO: GPS data processed {"connection_id":141963,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:36:47] local.INFO: Acknowledgment sent {"connection_id":141963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:36:56] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:56] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:56] local.INFO: IMEI packet received {"connection_id":140959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":140959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:36:58] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:58] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:36:58] local.INFO: IMEI packet received {"connection_id":140959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":140959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:37:01] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:37:01] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:37:01] local.INFO: IMEI packet received {"connection_id":140959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":140959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:37:02] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97050f18012d5342c006818b78008b00852b..."} 
[2026-07-25 07:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97050f18012d5342c006818b78008b00852b..."} 
[2026-07-25 07:37:02] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97050f18012d5342c006818b78008b00852b..."} 
[2026-07-25 07:37:02] local.INFO: Packet analysis {"connection_id":140959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:02] local.INFO: Extracted packet for processing {"connection_id":140959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":760431296,"raw_latitude":109153144,"longitude_deg":76.0431296,"latitude_deg":10.9153144,"altitude":139,"angle":133,"satellites":43,"speed":59,"hex_longitude":"2d5342c0","hex_latitude":"06818b78","is_valid_coordinates":true} 
[2026-07-25 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945948672001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357052386641969152,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5991265275975536640,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784945119000,"timestamp_ms":1784945119000,"timestamp_seconds":1784945119,"priority":1,"record_length":96,"hex_timestamp":"0000019f97050f18"} 
[2026-07-25 07:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 07:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945948672001,"66":27865,"153":206,"80":60928,"24":59,"16":357052386641969152,"45":5991265275975536640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,80,24,16,45]} 
[2026-07-25 07:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945948672001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:37:02] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-25 07:37:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357052386641969152,"km_value":357052386641969.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5991265275975536640,"description":"Unknown IO ID 45"} 
[2026-07-25 07:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945948672001,"power":27865,"unknown_153":206,"unknown_80":60928,"ignition":59,"odometer":null,"unknown_45":5991265275975536640}} 
[2026-07-25 07:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":140959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:37:02] local.INFO: GPS data processed {"connection_id":140959,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:37:02] local.INFO: Acknowledgment sent {"connection_id":140959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:37:18] local.INFO: TCP Data received {"connection_id":141963,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97054d98012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97054d98012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:37:18] local.INFO: Processing buffer {"connection_id":141963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97054d98012d7b2d0005e223a80006015b28..."} 
[2026-07-25 07:37:18] local.INFO: Packet analysis {"connection_id":141963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:18] local.INFO: Extracted packet for processing {"connection_id":141963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:18] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706344,"longitude_deg":76.3047168,"latitude_deg":9.8706344,"altitude":6,"angle":347,"satellites":40,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e223a8","is_valid_coordinates":true} 
[2026-07-25 07:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945949184001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087231636504576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465885939712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784945135000,"timestamp_ms":1784945135000,"timestamp_seconds":1784945135,"priority":1,"record_length":96,"hex_timestamp":"0000019f97054d98"} 
[2026-07-25 07:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 07:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945949184001,"66":13363,"169":206,"85":15104,"24":0,"16":110087231636504576,"45":8875750465885939712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945949184001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:37:18] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:37:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087231636504576,"km_value":110087231636504.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465885939712,"description":"Unknown IO ID 45"} 
[2026-07-25 07:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945949184001,"power":13363,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465885939712}} 
[2026-07-25 07:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":141963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:37:18] local.INFO: GPS data processed {"connection_id":141963,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:37:18] local.INFO: Acknowledgment sent {"connection_id":141963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:37:34] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97065f08012d54cd80067feee8004100972d..."} 
[2026-07-25 07:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97065f08012d54cd80067feee8004100972d..."} 
[2026-07-25 07:37:34] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97065f08012d54cd80067feee8004100972d..."} 
[2026-07-25 07:37:34] local.INFO: Packet analysis {"connection_id":140959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:37:34] local.INFO: Extracted packet for processing {"connection_id":140959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:37:34] local.INFO: GPS Element Parsed {"raw_longitude":760532352,"raw_latitude":109047528,"longitude_deg":76.0532352,"latitude_deg":10.9047528,"altitude":65,"angle":151,"satellites":45,"speed":70,"hex_longitude":"2d54cd80","hex_latitude":"067feee8","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945970944001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357059490517876736,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6105121904028491776,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784945205000,"timestamp_ms":1784945205000,"timestamp_seconds":1784945205,"priority":1,"record_length":96,"hex_timestamp":"0000019f97065f08"} 
[2026-07-25 07:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 07:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945970944001,"66":27376,"229":206,"80":60928,"24":70,"16":357059490517876736,"45":6105121904028491776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-25 07:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945970944001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:37:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 07:37:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357059490517876736,"km_value":357059490517876.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6105121904028491776,"description":"Unknown IO ID 45"} 
[2026-07-25 07:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945970944001,"power":27376,"unknown_229":206,"unknown_80":60928,"ignition":70,"odometer":null,"unknown_45":6105121904028491776}} 
[2026-07-25 07:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":140959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:37:34] local.INFO: GPS data processed {"connection_id":140959,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:37:34] local.INFO: Acknowledgment sent {"connection_id":140959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:37:46] local.INFO: TCP Data received {"connection_id":143305,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:37:46] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:37:46] local.INFO: IMEI packet received {"connection_id":143305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":143305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:37:51] local.INFO: TCP Data received {"connection_id":143305,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:37:51] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:37:51] local.INFO: IMEI packet received {"connection_id":143305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":143305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:37:52] local.INFO: TCP Data received {"connection_id":143305,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97059fa0012d7b2d0005e225580007015a25..."} 
[2026-07-25 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97059fa0012d7b2d0005e225580007015a25..."} 
[2026-07-25 07:37:52] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97059fa0012d7b2d0005e225580007015a25..."} 
[2026-07-25 07:37:52] local.INFO: Packet analysis {"connection_id":143305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:52] local.INFO: Extracted packet for processing {"connection_id":143305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706776,"longitude_deg":76.3047168,"latitude_deg":9.8706776,"altitude":7,"angle":346,"satellites":37,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e22558","is_valid_coordinates":true} 
[2026-07-25 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945954560001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087253111341056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465885939712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784945156000,"timestamp_ms":1784945156000,"timestamp_seconds":1784945156,"priority":1,"record_length":96,"hex_timestamp":"0000019f97059fa0"} 
[2026-07-25 07:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 07:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945954560001,"66":13363,"169":206,"85":15104,"24":0,"16":110087253111341056,"45":8875750465885939712},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 07:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945954560001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:37:52] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 07:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087253111341056,"km_value":110087253111341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465885939712,"description":"Unknown IO ID 45"} 
[2026-07-25 07:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945954560001,"power":13363,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465885939712}} 
[2026-07-25 07:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":143305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:37:52] local.INFO: GPS data processed {"connection_id":143305,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:37:52] local.INFO: Acknowledgment sent {"connection_id":143305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:37:56] local.INFO: TCP Data received {"connection_id":143305,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9705f1a8012d7b2d0005e225580007015a26..."} 
[2026-07-25 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9705f1a8012d7b2d0005e225580007015a26..."} 
[2026-07-25 07:37:56] local.INFO: Processing buffer {"connection_id":143305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9705f1a8012d7b2d0005e225580007015a26..."} 
[2026-07-25 07:37:56] local.INFO: Packet analysis {"connection_id":143305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:56] local.INFO: Extracted packet for processing {"connection_id":143305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9705"} 
[2026-07-25 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706776,"longitude_deg":76.3047168,"latitude_deg":9.8706776,"altitude":7,"angle":346,"satellites":38,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e22558","is_valid_coordinates":true} 
[2026-07-25 07:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945959936001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087253111341056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465886050304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784945177000,"timestamp_ms":1784945177000,"timestamp_seconds":1784945177,"priority":1,"record_length":96,"hex_timestamp":"0000019f9705f1a8"} 
[2026-07-25 07:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 07:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945959936001,"66":13374,"96":206,"85":15104,"24":0,"16":110087253111341056,"45":8875750465886050304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 07:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945959936001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:37:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 07:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087253111341056,"km_value":110087253111341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465886050304,"description":"Unknown IO ID 45"} 
[2026-07-25 07:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945959936001,"power":13374,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465886050304}} 
[2026-07-25 07:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":143305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:37:56] local.INFO: GPS data processed {"connection_id":143305,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:37:56] local.INFO: Acknowledgment sent {"connection_id":143305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:38:01] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:01] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:01] local.INFO: IMEI packet received {"connection_id":140912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":140912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:38:03] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:03] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:03] local.INFO: IMEI packet received {"connection_id":140912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":140912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:38:06] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:06] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:06] local.INFO: IMEI packet received {"connection_id":140912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":140912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:38:18] local.INFO: TCP Data received {"connection_id":140912,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97067290012d54df00067fcfd0003d00972e..."} 
[2026-07-25 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97067290012d54df00067fcfd0003d00972e..."} 
[2026-07-25 07:38:18] local.INFO: Processing buffer {"connection_id":140912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97067290012d54df00067fcfd0003d00972e..."} 
[2026-07-25 07:38:18] local.INFO: Packet analysis {"connection_id":140912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:38:18] local.INFO: Extracted packet for processing {"connection_id":140912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":760536832,"raw_latitude":109039568,"longitude_deg":76.0536832,"latitude_deg":10.9039568,"altitude":61,"angle":151,"satellites":46,"speed":73,"hex_longitude":"2d54df00","hex_latitude":"067fcfd0","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945972480001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357059928604540928,"note":"Value kept but may cause issues"} 
[2026-07-25 07:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6110681034816153600,"note":"Value kept but may cause issues"} 
[2026-07-25 07:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784945210000,"timestamp_ms":1784945210000,"timestamp_seconds":1784945210,"priority":1,"record_length":96,"hex_timestamp":"0000019f97067290"} 
[2026-07-25 07:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 07:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945972480001,"66":27974,"229":206,"80":60928,"24":73,"16":357059928604540928,"45":6110681034816153600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-07-25 07:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945972480001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357059928604540928,"km_value":357059928604540.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6110681034816153600,"description":"Unknown IO ID 45"} 
[2026-07-25 07:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945972480001,"power":27974,"unknown_229":206,"unknown_80":60928,"ignition":73,"odometer":null,"unknown_45":6110681034816153600}} 
[2026-07-25 07:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":140912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:38:18] local.INFO: GPS data processed {"connection_id":140912,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:38:18] local.INFO: Acknowledgment sent {"connection_id":140912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:38:41] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:38:41] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:38:41] local.INFO: IMEI packet received {"connection_id":140960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":140960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:38:46] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:38:46] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:38:46] local.INFO: IMEI packet received {"connection_id":140960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":140960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:38:47] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f970643b0012d7b2d0005e225580007015a21..."} 
[2026-07-25 07:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970643b0012d7b2d0005e225580007015a21..."} 
[2026-07-25 07:38:47] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970643b0012d7b2d0005e225580007015a21..."} 
[2026-07-25 07:38:47] local.INFO: Packet analysis {"connection_id":140960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:38:47] local.INFO: Extracted packet for processing {"connection_id":140960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706776,"longitude_deg":76.3047168,"latitude_deg":9.8706776,"altitude":7,"angle":346,"satellites":33,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e22558","is_valid_coordinates":true} 
[2026-07-25 07:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945965312001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087253111341056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465886050304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784945198000,"timestamp_ms":1784945198000,"timestamp_seconds":1784945198,"priority":1,"record_length":96,"hex_timestamp":"0000019f970643b0"} 
[2026-07-25 07:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 07:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945965312001,"66":13374,"96":206,"85":15104,"24":0,"16":110087253111341056,"45":8875750465886050304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 07:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945965312001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087253111341056,"km_value":110087253111341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465886050304,"description":"Unknown IO ID 45"} 
[2026-07-25 07:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945965312001,"power":13374,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465886050304}} 
[2026-07-25 07:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":140960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:38:47] local.INFO: GPS data processed {"connection_id":140960,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:38:47] local.INFO: Acknowledgment sent {"connection_id":140960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:38:56] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:56] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:56] local.INFO: IMEI packet received {"connection_id":140913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":140913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:38:57] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:57] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:38:57] local.INFO: IMEI packet received {"connection_id":140913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":140913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:39:01] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:39:01] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:39:01] local.INFO: IMEI packet received {"connection_id":140913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":140913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:39:02] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97075908012d558200067e3b98001a00a52f..."} 
[2026-07-25 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97075908012d558200067e3b98001a00a52f..."} 
[2026-07-25 07:39:02] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97075908012d558200067e3b98001a00a52f..."} 
[2026-07-25 07:39:02] local.INFO: Packet analysis {"connection_id":140913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9707"} 
[2026-07-25 07:39:02] local.INFO: Extracted packet for processing {"connection_id":140913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9707"} 
[2026-07-25 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":760578560,"raw_latitude":108936088,"longitude_deg":76.057856,"latitude_deg":10.8936088,"altitude":26,"angle":165,"satellites":47,"speed":76,"hex_longitude":"2d558200","hex_latitude":"067e3b98","is_valid_coordinates":true} 
[2026-07-25 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945987584001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357065374623072256,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6159165099528450048,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784945269000,"timestamp_ms":1784945269000,"timestamp_seconds":1784945269,"priority":1,"record_length":96,"hex_timestamp":"0000019f97075908"} 
[2026-07-25 07:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 07:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945987584001,"66":27876,"209":206,"80":60928,"24":76,"16":357065374623072256,"45":6159165099528450048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,80,24,16,45]} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945987584001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357065374623072256,"km_value":357065374623072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6159165099528450048,"description":"Unknown IO ID 45"} 
[2026-07-25 07:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945987584001,"power":27876,"unknown_209":206,"unknown_80":60928,"ignition":76,"odometer":null,"unknown_45":6159165099528450048}} 
[2026-07-25 07:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":140913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:39:02] local.INFO: GPS data processed {"connection_id":140913,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:39:02] local.INFO: Acknowledgment sent {"connection_id":140913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:39:02] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97076c90012d558dc0067e18380019009f2f..."} 
[2026-07-25 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97076c90012d558dc0067e18380019009f2f..."} 
[2026-07-25 07:39:02] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97076c90012d558dc0067e18380019009f2f..."} 
[2026-07-25 07:39:02] local.INFO: Packet analysis {"connection_id":140913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9707"} 
[2026-07-25 07:39:02] local.INFO: Extracted packet for processing {"connection_id":140913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9707"} 
[2026-07-25 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":760581568,"raw_latitude":108927032,"longitude_deg":76.0581568,"latitude_deg":10.8927032,"altitude":25,"angle":159,"satellites":47,"speed":75,"hex_longitude":"2d558dc0","hex_latitude":"067e1838","is_valid_coordinates":true} 
[2026-07-25 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945988864001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357065838479540224,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6161487268083898368,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784945274000,"timestamp_ms":1784945274000,"timestamp_seconds":1784945274,"priority":1,"record_length":96,"hex_timestamp":"0000019f97076c90"} 
[2026-07-25 07:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945988864001,"66":27995,"209":206,"80":60928,"24":75,"16":357065838479540224,"45":6161487268083898368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,80,24,16,45]} 
[2026-07-25 07:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945988864001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357065838479540224,"km_value":357065838479540.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6161487268083898368,"description":"Unknown IO ID 45"} 
[2026-07-25 07:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945988864001,"power":27995,"unknown_209":206,"unknown_80":60928,"ignition":75,"odometer":null,"unknown_45":6161487268083898368}} 
[2026-07-25 07:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":140913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:39:02] local.INFO: GPS data processed {"connection_id":140913,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:39:02] local.INFO: Acknowledgment sent {"connection_id":140913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:39:18] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f970695b8012d7b2d0005e225580007015a23..."} 
[2026-07-25 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970695b8012d7b2d0005e225580007015a23..."} 
[2026-07-25 07:39:18] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970695b8012d7b2d0005e225580007015a23..."} 
[2026-07-25 07:39:18] local.INFO: Packet analysis {"connection_id":140960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:39:18] local.INFO: Extracted packet for processing {"connection_id":140960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:39:18] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706776,"longitude_deg":76.3047168,"latitude_deg":9.8706776,"altitude":7,"angle":346,"satellites":35,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e22558","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945970688001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087253111341056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465886050304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784945219000,"timestamp_ms":1784945219000,"timestamp_seconds":1784945219,"priority":1,"record_length":96,"hex_timestamp":"0000019f970695b8"} 
[2026-07-25 07:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 07:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945970688001,"66":13374,"96":206,"85":15104,"24":0,"16":110087253111341056,"45":8875750465886050304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 07:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945970688001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087253111341056,"km_value":110087253111341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465886050304,"description":"Unknown IO ID 45"} 
[2026-07-25 07:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945970688001,"power":13374,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465886050304}} 
[2026-07-25 07:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":140960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:39:18] local.INFO: GPS data processed {"connection_id":140960,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:39:18] local.INFO: Acknowledgment sent {"connection_id":140960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:39:36] local.INFO: TCP Data received {"connection_id":140913,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97078018012d559bc0067df6000018009c2f..."} 
[2026-07-25 07:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97078018012d559bc0067df6000018009c2f..."} 
[2026-07-25 07:39:36] local.INFO: Processing buffer {"connection_id":140913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97078018012d559bc0067df6000018009c2f..."} 
[2026-07-25 07:39:36] local.INFO: Packet analysis {"connection_id":140913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9707"} 
[2026-07-25 07:39:36] local.INFO: Extracted packet for processing {"connection_id":140913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9707"} 
[2026-07-25 07:39:36] local.INFO: GPS Element Parsed {"raw_longitude":760585152,"raw_latitude":108918272,"longitude_deg":76.0585152,"latitude_deg":10.8918272,"altitude":24,"angle":156,"satellites":47,"speed":74,"hex_longitude":"2d559bc0","hex_latitude":"067df600","is_valid_coordinates":true} 
[2026-07-25 07:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945990144001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357066293746073600,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6164794599057930240,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784945279000,"timestamp_ms":1784945279000,"timestamp_seconds":1784945279,"priority":1,"record_length":96,"hex_timestamp":"0000019f97078018"} 
[2026-07-25 07:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:39: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-07-25 07:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 07:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945990144001,"66":28028,"109":206,"80":60928,"24":74,"16":357066293746073600,"45":6164794599057930240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-25 07:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945990144001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:39:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 07:39:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357066293746073600,"km_value":357066293746073.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6164794599057930240,"description":"Unknown IO ID 45"} 
[2026-07-25 07:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945990144001,"power":28028,"unknown_109":206,"unknown_80":60928,"ignition":74,"odometer":null,"unknown_45":6164794599057930240}} 
[2026-07-25 07:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":140913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:39:36] local.INFO: GPS data processed {"connection_id":140913,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:39:36] local.INFO: Acknowledgment sent {"connection_id":140913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:39:39] local.INFO: TCP Data received {"connection_id":141964,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:39] local.INFO: Processing buffer {"connection_id":141964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:39] local.INFO: IMEI packet received {"connection_id":141964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":141964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:39:41] local.INFO: TCP Data received {"connection_id":141964,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:41] local.INFO: Processing buffer {"connection_id":141964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:41] local.INFO: IMEI packet received {"connection_id":141964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":141964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:39:46] local.INFO: TCP Data received {"connection_id":141964,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:46] local.INFO: Processing buffer {"connection_id":141964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:39:46] local.INFO: IMEI packet received {"connection_id":141964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":141964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:39:47] local.INFO: TCP Data received {"connection_id":141964,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9706e7c0012d7b2d0005e225580007015a23..."} 
[2026-07-25 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9706e7c0012d7b2d0005e225580007015a23..."} 
[2026-07-25 07:39:47] local.INFO: Processing buffer {"connection_id":141964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9706e7c0012d7b2d0005e225580007015a23..."} 
[2026-07-25 07:39:47] local.INFO: Packet analysis {"connection_id":141964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:39:47] local.INFO: Extracted packet for processing {"connection_id":141964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9706"} 
[2026-07-25 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98706776,"longitude_deg":76.3047168,"latitude_deg":9.8706776,"altitude":7,"angle":346,"satellites":35,"speed":0,"hex_longitude":"2d7b2d00","hex_latitude":"05e22558","is_valid_coordinates":true} 
[2026-07-25 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456945976064001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110087253111341056,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465886050304,"note":"Value kept but may cause issues"} 
[2026-07-25 07:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784945240000,"timestamp_ms":1784945240000,"timestamp_seconds":1784945240,"priority":1,"record_length":96,"hex_timestamp":"0000019f9706e7c0"} 
[2026-07-25 07:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 07:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456945976064001,"66":13493,"96":206,"85":15104,"24":0,"16":110087253111341056,"45":8875750465886050304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456945976064001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110087253111341056,"km_value":110087253111341.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465886050304,"description":"Unknown IO ID 45"} 
[2026-07-25 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456945976064001,"power":13493,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8875750465886050304}} 
[2026-07-25 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":141964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:39:47] local.INFO: GPS data processed {"connection_id":141964,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:39:47] local.INFO: Acknowledgment sent {"connection_id":141964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:39:56] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:39:56] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:39:56] local.INFO: IMEI packet received {"connection_id":140961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":140961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:40:01] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:40:01] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:40:01] local.INFO: IMEI packet received {"connection_id":140961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":140961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:40:02] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97087630012d569dc0067cc2b0001900862c..."} 
[2026-07-25 07:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97087630012d569dc0067cc2b0001900862c..."} 
[2026-07-25 07:40:02] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97087630012d569dc0067cc2b0001900862c..."} 
[2026-07-25 07:40:02] local.INFO: Packet analysis {"connection_id":140961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9708"} 
[2026-07-25 07:40:02] local.INFO: Extracted packet for processing {"connection_id":140961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9708"} 
[2026-07-25 07:40:02] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108839600,"longitude_deg":76.06512,"latitude_deg":10.88396,"altitude":25,"angle":134,"satellites":44,"speed":60,"hex_longitude":"2d569dc0","hex_latitude":"067cc2b0","is_valid_coordinates":true} 
[2026-07-25 07:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946006016001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357071275908136960,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6234107812052193280,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784945342000,"timestamp_ms":1784945342000,"timestamp_seconds":1784945342,"priority":1,"record_length":96,"hex_timestamp":"0000019f97087630"} 
[2026-07-25 07:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946006016001,"66":27865,"109":206,"80":60928,"24":60,"16":357071275908136960,"45":6234107812052193280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-07-25 07:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946006016001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:40:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 07:40:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357071275908136960,"km_value":357071275908136.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6234107812052193280,"description":"Unknown IO ID 45"} 
[2026-07-25 07:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946006016001,"power":27865,"unknown_109":206,"unknown_80":60928,"ignition":60,"odometer":null,"unknown_45":6234107812052193280}} 
[2026-07-25 07:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":140961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:40:02] local.INFO: GPS data processed {"connection_id":140961,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:40:02] local.INFO: Acknowledgment sent {"connection_id":140961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:40:18] local.INFO: TCP Data received {"connection_id":141964,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97095ca8012d7b078005e32d080000016213..."} 
[2026-07-25 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97095ca8012d7b078005e32d080000016213..."} 
[2026-07-25 07:40:18] local.INFO: Processing buffer {"connection_id":141964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97095ca8012d7b078005e32d080000016213..."} 
[2026-07-25 07:40:18] local.INFO: Packet analysis {"connection_id":141964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:40:18] local.INFO: Extracted packet for processing {"connection_id":141964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98774280,"longitude_deg":76.3037568,"latitude_deg":9.877428,"altitude":0,"angle":354,"satellites":19,"speed":26,"hex_longitude":"2d7b0780","hex_latitude":"05e32d08","is_valid_coordinates":true} 
[2026-07-25 07:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946021376001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110090568826093568,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485110272,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784945401000,"timestamp_ms":1784945401000,"timestamp_seconds":1784945401,"priority":1,"record_length":96,"hex_timestamp":"0000019f97095ca8"} 
[2026-07-25 07:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 07:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946021376001,"66":13504,"96":206,"85":15104,"24":26,"16":110090568826093568,"45":8865687735485110272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 07:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946021376001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110090568826093568,"km_value":110090568826093.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485110272,"description":"Unknown IO ID 45"} 
[2026-07-25 07:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946021376001,"power":13504,"unknown_96":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8865687735485110272}} 
[2026-07-25 07:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":141964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:40:18] local.INFO: GPS data processed {"connection_id":141964,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:40:18] local.INFO: Acknowledgment sent {"connection_id":141964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:40:33] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97089188012d56ba80067ca698001900872b..."} 
[2026-07-25 07:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97089188012d56ba80067ca698001900872b..."} 
[2026-07-25 07:40:33] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97089188012d56ba80067ca698001900872b..."} 
[2026-07-25 07:40:33] local.INFO: Packet analysis {"connection_id":140961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9708"} 
[2026-07-25 07:40:33] local.INFO: Extracted packet for processing {"connection_id":140961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9708"} 
[2026-07-25 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":760658560,"raw_latitude":108832408,"longitude_deg":76.065856,"latitude_deg":10.8832408,"altitude":25,"angle":135,"satellites":43,"speed":56,"hex_longitude":"2d56ba80","hex_latitude":"067ca698","is_valid_coordinates":true} 
[2026-07-25 07:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946007552001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357071769829376000,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792700846080,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784945349000,"timestamp_ms":1784945349000,"timestamp_seconds":1784945349,"priority":1,"record_length":96,"hex_timestamp":"0000019f97089188"} 
[2026-07-25 07:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:40: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-07-25 07:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946007552001,"66":27865,"35":206,"80":60928,"24":56,"16":357071769829376000,"45":6241355792700846080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-25 07:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946007552001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:40:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-25 07:40:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357071769829376000,"km_value":357071769829376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792700846080,"description":"Unknown IO ID 45"} 
[2026-07-25 07:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946007552001,"power":27865,"unknown_35":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":6241355792700846080}} 
[2026-07-25 07:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":140961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:40:33] local.INFO: GPS data processed {"connection_id":140961,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:40:33] local.INFO: Acknowledgment sent {"connection_id":140961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:40:42] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:40:42] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:40:42] local.INFO: IMEI packet received {"connection_id":140914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":140914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:40:46] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:40:46] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:40:46] local.INFO: IMEI packet received {"connection_id":140914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":140914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:40:47] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97097fd0012d7b078005e342600000000613..."} 
[2026-07-25 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97097fd0012d7b078005e342600000000613..."} 
[2026-07-25 07:40:47] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97097fd0012d7b078005e342600000000613..."} 
[2026-07-25 07:40:47] local.INFO: Packet analysis {"connection_id":140914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:40:47] local.INFO: Extracted packet for processing {"connection_id":140914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":98779744,"longitude_deg":76.3037568,"latitude_deg":9.8779744,"altitude":0,"angle":6,"satellites":19,"speed":23,"hex_longitude":"2d7b0780","hex_latitude":"05e34260","is_valid_coordinates":true} 
[2026-07-25 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946022656001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110090835114065920,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154276681728,"note":"Value kept but may cause issues"} 
[2026-07-25 07:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784945410000,"timestamp_ms":1784945410000,"timestamp_seconds":1784945410,"priority":1,"record_length":96,"hex_timestamp":"0000019f97097fd0"} 
[2026-07-25 07:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 07:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":140914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":140914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":140914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946022656001,"66":13613,"97":206,"85":15104,"24":23,"16":110090835114065920,"45":8865195154276681728},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 07:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946022656001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110090835114065920,"km_value":110090835114065.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154276681728,"description":"Unknown IO ID 45"} 
[2026-07-25 07:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946022656001,"power":13613,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8865195154276681728}} 
[2026-07-25 07:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":140914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:40:47] local.INFO: GPS data processed {"connection_id":140914,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:40:47] local.INFO: Acknowledgment sent {"connection_id":140914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:40:58] local.INFO: TCP Data received {"connection_id":143306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:40:58] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:40:58] local.INFO: IMEI packet received {"connection_id":143306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":143306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:41:02] local.INFO: TCP Data received {"connection_id":143306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:41:02] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:41:02] local.INFO: IMEI packet received {"connection_id":143306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":143306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:41:05] local.INFO: TCP Data received {"connection_id":143306,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:41:05] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:41:05] local.INFO: IMEI packet received {"connection_id":143306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":143306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:41:06] local.INFO: TCP Data received {"connection_id":143306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97097be8012d56ff80067b9b28001e00df25..."} 
[2026-07-25 07:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97097be8012d56ff80067b9b28001e00df25..."} 
[2026-07-25 07:41:06] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97097be8012d56ff80067b9b28001e00df25..."} 
[2026-07-25 07:41:06] local.INFO: Packet analysis {"connection_id":143306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:06] local.INFO: Extracted packet for processing {"connection_id":143306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":760676224,"raw_latitude":108763944,"longitude_deg":76.0676224,"latitude_deg":10.8763944,"altitude":30,"angle":223,"satellites":37,"speed":56,"hex_longitude":"2d56ff80","hex_latitude":"067b9b28","is_valid_coordinates":true} 
[2026-07-25 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946023680001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357075557990531072,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6272810621330049024,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784945409000,"timestamp_ms":1784945409000,"timestamp_seconds":1784945409,"priority":1,"record_length":96,"hex_timestamp":"0000019f97097be8"} 
[2026-07-25 07:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 07:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946023680001,"66":27919,"248":206,"80":60928,"24":56,"16":357075557990531072,"45":6272810621330049024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-25 07:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946023680001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:41:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357075557990531072,"km_value":357075557990531.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6272810621330049024,"description":"Unknown IO ID 45"} 
[2026-07-25 07:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946023680001,"power":27919,"tamper_alert":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":6272810621330049024}} 
[2026-07-25 07:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":143306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:41:06] local.INFO: GPS data processed {"connection_id":143306,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:41:06] local.INFO: Acknowledgment sent {"connection_id":143306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:41:08] local.INFO: TCP Data received {"connection_id":143306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97098b88012d56ee00067b8d68002000eb29..."} 
[2026-07-25 07:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97098b88012d56ee00067b8d68002000eb29..."} 
[2026-07-25 07:41:08] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97098b88012d56ee00067b8d68002000eb29..."} 
[2026-07-25 07:41:08] local.INFO: Packet analysis {"connection_id":143306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:08] local.INFO: Extracted packet for processing {"connection_id":143306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:08] local.INFO: GPS Element Parsed {"raw_longitude":760671744,"raw_latitude":108760424,"longitude_deg":76.0671744,"latitude_deg":10.8760424,"altitude":32,"angle":235,"satellites":41,"speed":56,"hex_longitude":"2d56ee00","hex_latitude":"067b8d68","is_valid_coordinates":true} 
[2026-07-25 07:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946024704001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357075832868438016,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6268869971654944768,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784945413000,"timestamp_ms":1784945413000,"timestamp_seconds":1784945413,"priority":1,"record_length":96,"hex_timestamp":"0000019f97098b88"} 
[2026-07-25 07:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 07:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946024704001,"66":27843,"249":206,"80":60928,"24":56,"16":357075832868438016,"45":6268869971654944768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946024704001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:41:08] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:41:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357075832868438016,"km_value":357075832868438.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6268869971654944768,"description":"Unknown IO ID 45"} 
[2026-07-25 07:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946024704001,"power":27843,"unknown_249":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":6268869971654944768}} 
[2026-07-25 07:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":143306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:41:08] local.INFO: GPS data processed {"connection_id":143306,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:41:08] local.INFO: Acknowledgment sent {"connection_id":143306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:41:20] local.INFO: TCP Data received {"connection_id":140914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97099358012d7b098005e34cc00000001317..."} 
[2026-07-25 07:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97099358012d7b098005e34cc00000001317..."} 
[2026-07-25 07:41:20] local.INFO: Processing buffer {"connection_id":140914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97099358012d7b098005e34cc00000001317..."} 
[2026-07-25 07:41:20] local.INFO: Packet analysis {"connection_id":140914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:20] local.INFO: Extracted packet for processing {"connection_id":140914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:20] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98782400,"longitude_deg":76.303808,"latitude_deg":9.87824,"altitude":0,"angle":19,"satellites":23,"speed":16,"hex_longitude":"2d7b0980","hex_latitude":"05e34cc0","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946024960001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110090968258052096,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154278080512,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784945415000,"timestamp_ms":1784945415000,"timestamp_seconds":1784945415,"priority":1,"record_length":96,"hex_timestamp":"0000019f97099358"} 
[2026-07-25 07:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-25 07:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":140914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":140914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":140914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946024960001,"66":13319,"97":206,"85":15104,"24":16,"16":110090968258052096,"45":8865195154278080512},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 07:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946024960001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 07:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 07:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110090968258052096,"km_value":110090968258052.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154278080512,"description":"Unknown IO ID 45"} 
[2026-07-25 07:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946024960001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8865195154278080512}} 
[2026-07-25 07:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":140914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:41:20] local.INFO: GPS data processed {"connection_id":140914,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:41:20] local.INFO: Acknowledgment sent {"connection_id":140914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:41:39] local.INFO: TCP Data received {"connection_id":143306,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9709a6e0012d56cd40067b78f0002100ee29..."} 
[2026-07-25 07:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9709a6e0012d56cd40067b78f0002100ee29..."} 
[2026-07-25 07:41:39] local.INFO: Processing buffer {"connection_id":143306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9709a6e0012d56cd40067b78f0002100ee29..."} 
[2026-07-25 07:41:39] local.INFO: Packet analysis {"connection_id":143306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:39] local.INFO: Extracted packet for processing {"connection_id":143306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":760663360,"raw_latitude":108755184,"longitude_deg":76.066336,"latitude_deg":10.8755184,"altitude":33,"angle":238,"satellites":41,"speed":55,"hex_longitude":"2d56cd40","hex_latitude":"067b78f0","is_valid_coordinates":true} 
[2026-07-25 07:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946025728001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357076305314840576,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6263944159561607168,"note":"Value kept but may cause issues"} 
[2026-07-25 07:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784945420000,"timestamp_ms":1784945420000,"timestamp_seconds":1784945420,"priority":1,"record_length":96,"hex_timestamp":"0000019f9709a6e0"} 
[2026-07-25 07:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946025728001,"66":27865,"249":206,"80":60928,"24":55,"16":357076305314840576,"45":6263944159561607168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946025728001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:41:39] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:41:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357076305314840576,"km_value":357076305314840.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6263944159561607168,"description":"Unknown IO ID 45"} 
[2026-07-25 07:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946025728001,"power":27865,"unknown_249":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6263944159561607168}} 
[2026-07-25 07:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":143306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:41:39] local.INFO: GPS data processed {"connection_id":143306,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:41:39] local.INFO: Acknowledgment sent {"connection_id":143306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:42:04] local.INFO: TCP Data received {"connection_id":141965,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:04] local.INFO: Processing buffer {"connection_id":141965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:04] local.INFO: IMEI packet received {"connection_id":141965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":141965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:42:07] local.INFO: TCP Data received {"connection_id":141965,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:07] local.INFO: Processing buffer {"connection_id":141965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:07] local.INFO: IMEI packet received {"connection_id":141965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":141965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:42:08] local.INFO: TCP Data received {"connection_id":141965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9709c238012d56ac40067b64b8002200ee27..."} 
[2026-07-25 07:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9709c238012d56ac40067b64b8002200ee27..."} 
[2026-07-25 07:42:08] local.INFO: Processing buffer {"connection_id":141965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9709c238012d56ac40067b64b8002200ee27..."} 
[2026-07-25 07:42:08] local.INFO: Packet analysis {"connection_id":141965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:42:08] local.INFO: Extracted packet for processing {"connection_id":141965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:42:08] local.INFO: GPS Element Parsed {"raw_longitude":760654912,"raw_latitude":108750008,"longitude_deg":76.0654912,"latitude_deg":10.8750008,"altitude":34,"angle":238,"satellites":39,"speed":55,"hex_longitude":"2d56ac40","hex_latitude":"067b64b8","is_valid_coordinates":true} 
[2026-07-25 07:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946027520001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357076777761243136,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254725854072991744,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784945427000,"timestamp_ms":1784945427000,"timestamp_seconds":1784945427,"priority":1,"record_length":96,"hex_timestamp":"0000019f9709c238"} 
[2026-07-25 07:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946027520001,"66":27843,"249":206,"80":60928,"24":55,"16":357076777761243136,"45":6254725854072991744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946027520001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:42:08] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:42:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357076777761243136,"km_value":357076777761243.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254725854072991744,"description":"Unknown IO ID 45"} 
[2026-07-25 07:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946027520001,"power":27843,"unknown_249":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6254725854072991744}} 
[2026-07-25 07:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":141965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:42:08] local.INFO: GPS data processed {"connection_id":141965,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:42:08] local.INFO: Acknowledgment sent {"connection_id":141965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:42:09] local.INFO: TCP Data received {"connection_id":141965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9709dd90012d568ac0067b5190002300f328..."} 
[2026-07-25 07:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9709dd90012d568ac0067b5190002300f328..."} 
[2026-07-25 07:42:09] local.INFO: Processing buffer {"connection_id":141965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9709dd90012d568ac0067b5190002300f328..."} 
[2026-07-25 07:42:09] local.INFO: Packet analysis {"connection_id":141965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:42:09] local.INFO: Extracted packet for processing {"connection_id":141965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:42:09] local.INFO: GPS Element Parsed {"raw_longitude":760646336,"raw_latitude":108745104,"longitude_deg":76.0646336,"latitude_deg":10.8745104,"altitude":35,"angle":243,"satellites":40,"speed":55,"hex_longitude":"2d568ac0","hex_latitude":"067b5190","is_valid_coordinates":true} 
[2026-07-25 07:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946029312001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357077250207645696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6245437179840215040,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784945434000,"timestamp_ms":1784945434000,"timestamp_seconds":1784945434,"priority":1,"record_length":96,"hex_timestamp":"0000019f9709dd90"} 
[2026-07-25 07:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946029312001,"66":27821,"249":206,"80":60928,"24":55,"16":357077250207645696,"45":6245437179840215040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946029312001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:42:09] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:42:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357077250207645696,"km_value":357077250207645.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6245437179840215040,"description":"Unknown IO ID 45"} 
[2026-07-25 07:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946029312001,"power":27821,"unknown_249":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6245437179840215040}} 
[2026-07-25 07:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":141965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:42:09] local.INFO: GPS data processed {"connection_id":141965,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:42:09] local.INFO: Acknowledgment sent {"connection_id":141965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:42:42] local.INFO: TCP Data received {"connection_id":141965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9709f8e8012d566640067b4358002400fc2c..."} 
[2026-07-25 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9709f8e8012d566640067b4358002400fc2c..."} 
[2026-07-25 07:42:42] local.INFO: Processing buffer {"connection_id":141965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9709f8e8012d566640067b4358002400fc2c..."} 
[2026-07-25 07:42:42] local.INFO: Packet analysis {"connection_id":141965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:42:42] local.INFO: Extracted packet for processing {"connection_id":141965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9709"} 
[2026-07-25 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":760636992,"raw_latitude":108741464,"longitude_deg":76.0636992,"latitude_deg":10.8741464,"altitude":36,"angle":252,"satellites":44,"speed":58,"hex_longitude":"2d566640","hex_latitude":"067b4358","is_valid_coordinates":true} 
[2026-07-25 07:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946031104001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357077731243982848,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6236007768119152640,"note":"Value kept but may cause issues"} 
[2026-07-25 07:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784945441000,"timestamp_ms":1784945441000,"timestamp_seconds":1784945441,"priority":1,"record_length":96,"hex_timestamp":"0000019f9709f8e8"} 
[2026-07-25 07:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:42: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-07-25 07:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946031104001,"66":27821,"249":206,"80":60928,"24":58,"16":357077731243982848,"45":6236007768119152640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946031104001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:42:42] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:42:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357077731243982848,"km_value":357077731243982.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6236007768119152640,"description":"Unknown IO ID 45"} 
[2026-07-25 07:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946031104001,"power":27821,"unknown_249":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":6236007768119152640}} 
[2026-07-25 07:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":141965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:42:42] local.INFO: GPS data processed {"connection_id":141965,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:42:42] local.INFO: Acknowledgment sent {"connection_id":141965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:42:56] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:56] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:42:56] local.INFO: IMEI packet received {"connection_id":140915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":140915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:43:01] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:01] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:01] local.INFO: IMEI packet received {"connection_id":140915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":140915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:43:03] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970a1440012d563fc0067b3840002200fd2c..."} 
[2026-07-25 07:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970a1440012d563fc0067b3840002200fd2c..."} 
[2026-07-25 07:43:03] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970a1440012d563fc0067b3840002200fd2c..."} 
[2026-07-25 07:43:03] local.INFO: Packet analysis {"connection_id":140915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970a"} 
[2026-07-25 07:43:03] local.INFO: Extracted packet for processing {"connection_id":140915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970a"} 
[2026-07-25 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":760627136,"raw_latitude":108738624,"longitude_deg":76.0627136,"latitude_deg":10.8738624,"altitude":34,"angle":253,"satellites":44,"speed":57,"hex_longitude":"2d563fc0","hex_latitude":"067b3840","is_valid_coordinates":true} 
[2026-07-25 07:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946032896001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357078220870254592,"note":"Value kept but may cause issues"} 
[2026-07-25 07:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6225733931468281856,"note":"Value kept but may cause issues"} 
[2026-07-25 07:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784945448000,"timestamp_ms":1784945448000,"timestamp_seconds":1784945448,"priority":1,"record_length":96,"hex_timestamp":"0000019f970a1440"} 
[2026-07-25 07:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946032896001,"66":27821,"249":206,"80":60928,"24":57,"16":357078220870254592,"45":6225733931468281856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946032896001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:43:03] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357078220870254592,"km_value":357078220870254.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6225733931468281856,"description":"Unknown IO ID 45"} 
[2026-07-25 07:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946032896001,"power":27821,"unknown_249":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6225733931468281856}} 
[2026-07-25 07:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":140915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:43:03] local.INFO: GPS data processed {"connection_id":140915,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:43:03] local.INFO: Acknowledgment sent {"connection_id":140915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:43:35] local.INFO: TCP Data received {"connection_id":140915,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970a2f98012d561980067b2d30002100fe2b..."} 
[2026-07-25 07:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970a2f98012d561980067b2d30002100fe2b..."} 
[2026-07-25 07:43:35] local.INFO: Processing buffer {"connection_id":140915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970a2f98012d561980067b2d30002100fe2b..."} 
[2026-07-25 07:43:35] local.INFO: Packet analysis {"connection_id":140915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970a"} 
[2026-07-25 07:43:35] local.INFO: Extracted packet for processing {"connection_id":140915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970a"} 
[2026-07-25 07:43:35] local.INFO: GPS Element Parsed {"raw_longitude":760617344,"raw_latitude":108735792,"longitude_deg":76.0617344,"latitude_deg":10.8735792,"altitude":33,"angle":254,"satellites":43,"speed":57,"hex_longitude":"2d561980","hex_latitude":"067b2d30","is_valid_coordinates":true} 
[2026-07-25 07:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946034688001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357078706201559040,"note":"Value kept but may cause issues"} 
[2026-07-25 07:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6214897144864194560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784945455000,"timestamp_ms":1784945455000,"timestamp_seconds":1784945455,"priority":1,"record_length":96,"hex_timestamp":"0000019f970a2f98"} 
[2026-07-25 07:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:43: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-07-25 07:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 07:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946034688001,"66":27800,"249":206,"80":60928,"24":57,"16":357078706201559040,"45":6214897144864194560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-25 07:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946034688001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:43:35] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-25 07:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357078706201559040,"km_value":357078706201559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6214897144864194560,"description":"Unknown IO ID 45"} 
[2026-07-25 07:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946034688001,"power":27800,"unknown_249":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":6214897144864194560}} 
[2026-07-25 07:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":140915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:43:35] local.INFO: GPS data processed {"connection_id":140915,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:43:35] local.INFO: Acknowledgment sent {"connection_id":140915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:43:54] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:54] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:54] local.INFO: IMEI packet received {"connection_id":143307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":143307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:43:57] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:57] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:43:57] local.INFO: IMEI packet received {"connection_id":143307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":143307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:44:01] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:44:01] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:44:01] local.INFO: IMEI packet received {"connection_id":143307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":143307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:44:03] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970be130012d54b600067a69d0003f00ee2a..."} 
[2026-07-25 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970be130012d54b600067a69d0003f00ee2a..."} 
[2026-07-25 07:44:03] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970be130012d54b600067a69d0003f00ee2a..."} 
[2026-07-25 07:44:03] local.INFO: Packet analysis {"connection_id":143307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970b"} 
[2026-07-25 07:44:03] local.INFO: Extracted packet for processing {"connection_id":143307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970b"} 
[2026-07-25 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":760526336,"raw_latitude":108685776,"longitude_deg":76.0526336,"latitude_deg":10.8685776,"altitude":63,"angle":238,"satellites":42,"speed":22,"hex_longitude":"2d54b600","hex_latitude":"067a69d0","is_valid_coordinates":true} 
[2026-07-25 07:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946060800001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357083714133426176,"note":"Value kept but may cause issues"} 
[2026-07-25 07:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6112440253329242112,"note":"Value kept but may cause issues"} 
[2026-07-25 07:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784945566000,"timestamp_ms":1784945566000,"timestamp_seconds":1784945566,"priority":1,"record_length":96,"hex_timestamp":"0000019f970be130"} 
[2026-07-25 07:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946060800001,"66":27865,"155":206,"80":60928,"24":22,"16":357083714133426176,"45":6112440253329242112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-25 07:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946060800001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357083714133426176,"km_value":357083714133426.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6112440253329242112,"description":"Unknown IO ID 45"} 
[2026-07-25 07:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946060800001,"power":27865,"unknown_155":206,"unknown_80":60928,"ignition":22,"odometer":null,"unknown_45":6112440253329242112}} 
[2026-07-25 07:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":143307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:44:03] local.INFO: GPS data processed {"connection_id":143307,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:44:03] local.INFO: Acknowledgment sent {"connection_id":143307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:44:34] local.INFO: TCP Data received {"connection_id":143307,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970c1fb0012d549600067a5a30004500f828..."} 
[2026-07-25 07:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970c1fb0012d549600067a5a30004500f828..."} 
[2026-07-25 07:44:34] local.INFO: Processing buffer {"connection_id":143307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970c1fb0012d549600067a5a30004500f828..."} 
[2026-07-25 07:44:34] local.INFO: Packet analysis {"connection_id":143307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970c"} 
[2026-07-25 07:44:34] local.INFO: Extracted packet for processing {"connection_id":143307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970c"} 
[2026-07-25 07:44:34] local.INFO: GPS Element Parsed {"raw_longitude":760518144,"raw_latitude":108681776,"longitude_deg":76.0518144,"latitude_deg":10.8681776,"altitude":69,"angle":248,"satellites":40,"speed":23,"hex_longitude":"2d549600","hex_latitude":"067a5a30","is_valid_coordinates":true} 
[2026-07-25 07:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946064896001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357084152220090368,"note":"Value kept but may cause issues"} 
[2026-07-25 07:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6104066372770844672,"note":"Value kept but may cause issues"} 
[2026-07-25 07:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784945582000,"timestamp_ms":1784945582000,"timestamp_seconds":1784945582,"priority":1,"record_length":96,"hex_timestamp":"0000019f970c1fb0"} 
[2026-07-25 07:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946064896001,"66":27800,"155":206,"80":60928,"24":23,"16":357084152220090368,"45":6104066372770844672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-25 07:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946064896001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357084152220090368,"km_value":357084152220090.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6104066372770844672,"description":"Unknown IO ID 45"} 
[2026-07-25 07:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946064896001,"power":27800,"unknown_155":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6104066372770844672}} 
[2026-07-25 07:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":143307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:44:34] local.INFO: GPS data processed {"connection_id":143307,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:44:34] local.INFO: Acknowledgment sent {"connection_id":143307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:45:01] local.INFO: TCP Data received {"connection_id":141966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:01] local.INFO: Processing buffer {"connection_id":141966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:01] local.INFO: IMEI packet received {"connection_id":141966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":141966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:45:06] local.INFO: TCP Data received {"connection_id":141966,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:06] local.INFO: Processing buffer {"connection_id":141966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:06] local.INFO: IMEI packet received {"connection_id":141966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":141966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:45:08] local.INFO: TCP Data received {"connection_id":141966,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970c5660012d547680067a51a80048010329..."} 
[2026-07-25 07:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970c5660012d547680067a51a80048010329..."} 
[2026-07-25 07:45:08] local.INFO: Processing buffer {"connection_id":141966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970c5660012d547680067a51a80048010329..."} 
[2026-07-25 07:45:08] local.INFO: Packet analysis {"connection_id":141966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970c"} 
[2026-07-25 07:45:08] local.INFO: Extracted packet for processing {"connection_id":141966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970c"} 
[2026-07-25 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":760510080,"raw_latitude":108679592,"longitude_deg":76.051008,"latitude_deg":10.8679592,"altitude":72,"angle":259,"satellites":41,"speed":23,"hex_longitude":"2d547680","hex_latitude":"067a51a8","is_valid_coordinates":true} 
[2026-07-25 07:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946068992001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357084547357081600,"note":"Value kept but may cause issues"} 
[2026-07-25 07:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095059173515079680,"note":"Value kept but may cause issues"} 
[2026-07-25 07:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784945596000,"timestamp_ms":1784945596000,"timestamp_seconds":1784945596,"priority":1,"record_length":96,"hex_timestamp":"0000019f970c5660"} 
[2026-07-25 07:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946068992001,"66":27767,"155":206,"80":60928,"24":23,"16":357084547357081600,"45":6095059173515079680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-25 07:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946068992001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:45:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 07:45:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357084547357081600,"km_value":357084547357081.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095059173515079680,"description":"Unknown IO ID 45"} 
[2026-07-25 07:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946068992001,"power":27767,"unknown_155":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6095059173515079680}} 
[2026-07-25 07:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":141966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:45:08] local.INFO: GPS data processed {"connection_id":141966,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:45:08] local.INFO: Acknowledgment sent {"connection_id":141966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:45:38] local.INFO: TCP Data received {"connection_id":141966,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970c94e0012d545240067a4ef0004e011027..."} 
[2026-07-25 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970c94e0012d545240067a4ef0004e011027..."} 
[2026-07-25 07:45:38] local.INFO: Processing buffer {"connection_id":141966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970c94e0012d545240067a4ef0004e011027..."} 
[2026-07-25 07:45:38] local.INFO: Packet analysis {"connection_id":141966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970c"} 
[2026-07-25 07:45:38] local.INFO: Extracted packet for processing {"connection_id":141966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970c"} 
[2026-07-25 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":760500800,"raw_latitude":108678896,"longitude_deg":76.05008,"latitude_deg":10.8678896,"altitude":78,"angle":272,"satellites":39,"speed":23,"hex_longitude":"2d545240","hex_latitude":"067a4ef0","is_valid_coordinates":true} 
[2026-07-25 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946072576001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357084994033680384,"note":"Value kept but may cause issues"} 
[2026-07-25 07:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6086192711748134912,"note":"Value kept but may cause issues"} 
[2026-07-25 07:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784945612000,"timestamp_ms":1784945612000,"timestamp_seconds":1784945612,"priority":1,"record_length":96,"hex_timestamp":"0000019f970c94e0"} 
[2026-07-25 07:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 07:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946072576001,"66":27908,"155":206,"80":60928,"24":23,"16":357084994033680384,"45":6086192711748134912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-07-25 07:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946072576001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:45:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 07:45:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357084994033680384,"km_value":357084994033680.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6086192711748134912,"description":"Unknown IO ID 45"} 
[2026-07-25 07:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946072576001,"power":27908,"unknown_155":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6086192711748134912}} 
[2026-07-25 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":141966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:45:38] local.INFO: GPS data processed {"connection_id":141966,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:45:38] local.INFO: Acknowledgment sent {"connection_id":141966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:45:57] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:57] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:45:57] local.INFO: IMEI packet received {"connection_id":140916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":140916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:46:01] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:01] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:01] local.INFO: IMEI packet received {"connection_id":140916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":140916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:46:04] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:04] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:04] local.INFO: IMEI packet received {"connection_id":140916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":140916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:46:05] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970e1b80012d530c40067a3c28005a00e52b..."} 
[2026-07-25 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970e1b80012d530c40067a3c28005a00e52b..."} 
[2026-07-25 07:46:05] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970e1b80012d530c40067a3c28005a00e52b..."} 
[2026-07-25 07:46:05] local.INFO: Packet analysis {"connection_id":140916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970e"} 
[2026-07-25 07:46:05] local.INFO: Extracted packet for processing {"connection_id":140916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970e"} 
[2026-07-25 07:46:05] local.INFO: GPS Element Parsed {"raw_longitude":760417344,"raw_latitude":108674088,"longitude_deg":76.0417344,"latitude_deg":10.8674088,"altitude":90,"angle":229,"satellites":43,"speed":56,"hex_longitude":"2d530c40","hex_latitude":"067a3c28","is_valid_coordinates":true} 
[2026-07-25 07:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946100992001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357089061367709696,"note":"Value kept but may cause issues"} 
[2026-07-25 07:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5990491219666110464,"note":"Value kept but may cause issues"} 
[2026-07-25 07:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784945712000,"timestamp_ms":1784945712000,"timestamp_seconds":1784945712,"priority":1,"record_length":96,"hex_timestamp":"0000019f970e1b80"} 
[2026-07-25 07:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:46: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-07-25 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946100992001,"66":27876,"51":206,"80":60928,"24":56,"16":357089061367709696,"45":5990491219666110464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-25 07:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946100992001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357089061367709696,"km_value":357089061367709.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5990491219666110464,"description":"Unknown IO ID 45"} 
[2026-07-25 07:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946100992001,"power":27876,"unknown_51":206,"unknown_80":60928,"ignition":56,"odometer":null,"unknown_45":5990491219666110464}} 
[2026-07-25 07:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":140916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:46:05] local.INFO: GPS data processed {"connection_id":140916,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:46:05] local.INFO: Acknowledgment sent {"connection_id":140916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:46:08] local.INFO: TCP Data received {"connection_id":140916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970e36d8012d52ef80067a2158005a00e12b..."} 
[2026-07-25 07:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970e36d8012d52ef80067a2158005a00e12b..."} 
[2026-07-25 07:46:08] local.INFO: Processing buffer {"connection_id":140916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970e36d8012d52ef80067a2158005a00e12b..."} 
[2026-07-25 07:46:08] local.INFO: Packet analysis {"connection_id":140916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970e"} 
[2026-07-25 07:46:08] local.INFO: Extracted packet for processing {"connection_id":140916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970e"} 
[2026-07-25 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":760409984,"raw_latitude":108667224,"longitude_deg":76.0409984,"latitude_deg":10.8667224,"altitude":90,"angle":225,"satellites":43,"speed":57,"hex_longitude":"2d52ef80","hex_latitude":"067a2158","is_valid_coordinates":true} 
[2026-07-25 07:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946102272001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357089542404046848,"note":"Value kept but may cause issues"} 
[2026-07-25 07:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5984228401433290752,"note":"Value kept but may cause issues"} 
[2026-07-25 07:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784945719000,"timestamp_ms":1784945719000,"timestamp_seconds":1784945719,"priority":1,"record_length":96,"hex_timestamp":"0000019f970e36d8"} 
[2026-07-25 07:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946102272001,"66":27865,"51":206,"80":60928,"24":57,"16":357089542404046848,"45":5984228401433290752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-25 07:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946102272001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:46:08] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-25 07:46:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357089542404046848,"km_value":357089542404046.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5984228401433290752,"description":"Unknown IO ID 45"} 
[2026-07-25 07:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946102272001,"power":27865,"unknown_51":206,"unknown_80":60928,"ignition":57,"odometer":null,"unknown_45":5984228401433290752}} 
[2026-07-25 07:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":140916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:46:08] local.INFO: GPS data processed {"connection_id":140916,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:46:08] local.INFO: Acknowledgment sent {"connection_id":140916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:46:54] local.INFO: TCP Data received {"connection_id":141967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:54] local.INFO: Processing buffer {"connection_id":141967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:54] local.INFO: IMEI packet received {"connection_id":141967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":141967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:46:56] local.INFO: TCP Data received {"connection_id":141967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:56] local.INFO: Processing buffer {"connection_id":141967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:46:56] local.INFO: IMEI packet received {"connection_id":141967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":141967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:47:01] local.INFO: TCP Data received {"connection_id":141967,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:01] local.INFO: Processing buffer {"connection_id":141967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:01] local.INFO: IMEI packet received {"connection_id":141967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":141967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:47:03] local.INFO: TCP Data received {"connection_id":141967,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970e5230012d52d240067a0580005900e12c..."} 
[2026-07-25 07:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970e5230012d52d240067a0580005900e12c..."} 
[2026-07-25 07:47:03] local.INFO: Processing buffer {"connection_id":141967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970e5230012d52d240067a0580005900e12c..."} 
[2026-07-25 07:47:03] local.INFO: Packet analysis {"connection_id":141967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970e"} 
[2026-07-25 07:47:03] local.INFO: Extracted packet for processing {"connection_id":141967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970e"} 
[2026-07-25 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":760402496,"raw_latitude":108660096,"longitude_deg":76.0402496,"latitude_deg":10.8660096,"altitude":89,"angle":225,"satellites":44,"speed":58,"hex_longitude":"2d52d240","hex_latitude":"067a0580","is_valid_coordinates":true} 
[2026-07-25 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946104064001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357090036325285888,"note":"Value kept but may cause issues"} 
[2026-07-25 07:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5976135995851102208,"note":"Value kept but may cause issues"} 
[2026-07-25 07:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784945726000,"timestamp_ms":1784945726000,"timestamp_seconds":1784945726,"priority":1,"record_length":96,"hex_timestamp":"0000019f970e5230"} 
[2026-07-25 07:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946104064001,"66":27800,"51":206,"80":60928,"24":58,"16":357090036325285888,"45":5976135995851102208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-25 07:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946104064001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357090036325285888,"km_value":357090036325285.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5976135995851102208,"description":"Unknown IO ID 45"} 
[2026-07-25 07:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946104064001,"power":27800,"unknown_51":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":5976135995851102208}} 
[2026-07-25 07:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":141967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:47:03] local.INFO: GPS data processed {"connection_id":141967,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:47:03] local.INFO: Acknowledgment sent {"connection_id":141967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:47:35] local.INFO: TCP Data received {"connection_id":141967,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970f7728012d52464006788658004a00ba2c..."} 
[2026-07-25 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970f7728012d52464006788658004a00ba2c..."} 
[2026-07-25 07:47:35] local.INFO: Processing buffer {"connection_id":141967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970f7728012d52464006788658004a00ba2c..."} 
[2026-07-25 07:47:35] local.INFO: Packet analysis {"connection_id":141967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970f"} 
[2026-07-25 07:47:35] local.INFO: Extracted packet for processing {"connection_id":141967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970f"} 
[2026-07-25 07:47:35] local.INFO: GPS Element Parsed {"raw_longitude":760366656,"raw_latitude":108562008,"longitude_deg":76.0366656,"latitude_deg":10.8562008,"altitude":74,"angle":186,"satellites":44,"speed":67,"hex_longitude":"2d524640","hex_latitude":"06788658","is_valid_coordinates":true} 
[2026-07-25 07:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946123520001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357095198875975680,"note":"Value kept but may cause issues"} 
[2026-07-25 07:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5929692624669423616,"note":"Value kept but may cause issues"} 
[2026-07-25 07:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784945801000,"timestamp_ms":1784945801000,"timestamp_seconds":1784945801,"priority":1,"record_length":96,"hex_timestamp":"0000019f970f7728"} 
[2026-07-25 07:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:47: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-07-25 07:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 07:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946123520001,"66":27930,"52":206,"80":60928,"24":67,"16":357095198875975680,"45":5929692624669423616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,80,24,16,45]} 
[2026-07-25 07:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946123520001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:47:35] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 07:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-25 07:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357095198875975680,"km_value":357095198875975.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5929692624669423616,"description":"Unknown IO ID 45"} 
[2026-07-25 07:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946123520001,"power":27930,"unknown_52":206,"unknown_80":60928,"ignition":67,"odometer":null,"unknown_45":5929692624669423616}} 
[2026-07-25 07:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":141967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:47:35] local.INFO: GPS data processed {"connection_id":141967,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:47:35] local.INFO: Acknowledgment sent {"connection_id":141967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:47:55] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:55] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:55] local.INFO: IMEI packet received {"connection_id":140917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":140917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:47:56] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:56] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:47:56] local.INFO: IMEI packet received {"connection_id":140917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":140917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:48:00] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:48:00] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:48:00] local.INFO: IMEI packet received {"connection_id":140917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":140917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:48:01] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f970f8e98012d5241c006785ea0004600ba2a..."} 
[2026-07-25 07:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f970f8e98012d5241c006785ea0004600ba2a..."} 
[2026-07-25 07:48:01] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f970f8e98012d5241c006785ea0004600ba2a..."} 
[2026-07-25 07:48:01] local.INFO: Packet analysis {"connection_id":140917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f970f"} 
[2026-07-25 07:48:01] local.INFO: Extracted packet for processing {"connection_id":140917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f970f"} 
[2026-07-25 07:48:01] local.INFO: GPS Element Parsed {"raw_longitude":760365504,"raw_latitude":108551840,"longitude_deg":76.0365504,"latitude_deg":10.855184,"altitude":70,"angle":186,"satellites":42,"speed":67,"hex_longitude":"2d5241c0","hex_latitude":"06785ea0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946125056001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357095697092182016,"note":"Value kept but may cause issues"} 
[2026-07-25 07:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5928496356015888384,"note":"Value kept but may cause issues"} 
[2026-07-25 07:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784945807000,"timestamp_ms":1784945807000,"timestamp_seconds":1784945807,"priority":1,"record_length":96,"hex_timestamp":"0000019f970f8e98"} 
[2026-07-25 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-07-25 07:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 07:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946125056001,"66":27571,"18":206,"80":60160,"24":67,"16":357095697092182016,"45":5928496356015888384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-25 07:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946125056001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:48:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-25 07:48:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357095697092182016,"km_value":357095697092182.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5928496356015888384,"description":"Unknown IO ID 45"} 
[2026-07-25 07:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946125056001,"power":27571,"unknown_18":206,"unknown_80":60160,"ignition":67,"odometer":null,"unknown_45":5928496356015888384}} 
[2026-07-25 07:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":140917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:48:01] local.INFO: GPS data processed {"connection_id":140917,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:48:01] local.INFO: Acknowledgment sent {"connection_id":140917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:48:33] local.INFO: TCP Data received {"connection_id":140917,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f971055d0012d51958006774070001e00ca2a..."} 
[2026-07-25 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971055d0012d51958006774070001e00ca2a..."} 
[2026-07-25 07:48:33] local.INFO: Processing buffer {"connection_id":140917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971055d0012d51958006774070001e00ca2a..."} 
[2026-07-25 07:48:33] local.INFO: Packet analysis {"connection_id":140917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9710"} 
[2026-07-25 07:48:33] local.INFO: Extracted packet for processing {"connection_id":140917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9710"} 
[2026-07-25 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":760321408,"raw_latitude":108478576,"longitude_deg":76.0321408,"latitude_deg":10.8478576,"altitude":30,"angle":202,"satellites":42,"speed":60,"hex_longitude":"2d519580","hex_latitude":"06774070","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946138112001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357099992059478016,"note":"Value kept but may cause issues"} 
[2026-07-25 07:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5883108516002281472,"note":"Value kept but may cause issues"} 
[2026-07-25 07:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784945858000,"timestamp_ms":1784945858000,"timestamp_seconds":1784945858,"priority":1,"record_length":96,"hex_timestamp":"0000019f971055d0"} 
[2026-07-25 07:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946138112001,"66":27876,"147":206,"80":60160,"24":60,"16":357099992059478016,"45":5883108516002281472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-07-25 07:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946138112001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:48:33] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 07:48:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357099992059478016,"km_value":357099992059478.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5883108516002281472,"description":"Unknown IO ID 45"} 
[2026-07-25 07:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946138112001,"power":27876,"unknown_147":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5883108516002281472}} 
[2026-07-25 07:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":140917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:48:33] local.INFO: GPS data processed {"connection_id":140917,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:48:33] local.INFO: Acknowledgment sent {"connection_id":140917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:49:00] local.INFO: TCP Data received {"connection_id":143308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:00] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:00] local.INFO: IMEI packet received {"connection_id":143308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:49:01] local.INFO: TCP Data received {"connection_id":143308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:01] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:01] local.INFO: IMEI packet received {"connection_id":143308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":143308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:49:06] local.INFO: TCP Data received {"connection_id":143308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:06] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:06] local.INFO: IMEI packet received {"connection_id":143308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":143308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:49:07] local.INFO: TCP Data received {"connection_id":143308,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97107128012d51874006771e00001b00ca2d..."} 
[2026-07-25 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97107128012d51874006771e00001b00ca2d..."} 
[2026-07-25 07:49:07] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97107128012d51874006771e00001b00ca2d..."} 
[2026-07-25 07:49:07] local.INFO: Packet analysis {"connection_id":143308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9710"} 
[2026-07-25 07:49:07] local.INFO: Extracted packet for processing {"connection_id":143308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9710"} 
[2026-07-25 07:49:07] local.INFO: GPS Element Parsed {"raw_longitude":760317760,"raw_latitude":108469760,"longitude_deg":76.031776,"latitude_deg":10.846976,"altitude":27,"angle":202,"satellites":45,"speed":48,"hex_longitude":"2d518740","hex_latitude":"06771e00","is_valid_coordinates":true} 
[2026-07-25 07:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946139648001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357100451620978688,"note":"Value kept but may cause issues"} 
[2026-07-25 07:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5878745653860921344,"note":"Value kept but may cause issues"} 
[2026-07-25 07:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784945865000,"timestamp_ms":1784945865000,"timestamp_seconds":1784945865,"priority":1,"record_length":96,"hex_timestamp":"0000019f97107128"} 
[2026-07-25 07:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946139648001,"66":27843,"146":206,"80":60160,"24":48,"16":357100451620978688,"45":5878745653860921344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-25 07:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946139648001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:49:07] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 07:49:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357100451620978688,"km_value":357100451620978.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5878745653860921344,"description":"Unknown IO ID 45"} 
[2026-07-25 07:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946139648001,"power":27843,"unknown_146":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5878745653860921344}} 
[2026-07-25 07:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":143308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:49:07] local.INFO: GPS data processed {"connection_id":143308,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:49:07] local.INFO: Acknowledgment sent {"connection_id":143308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:49:38] local.INFO: TCP Data received {"connection_id":143308,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97109068012d5179400676fda0001800cb2f..."} 
[2026-07-25 07:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97109068012d5179400676fda0001800cb2f..."} 
[2026-07-25 07:49:38] local.INFO: Processing buffer {"connection_id":143308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97109068012d5179400676fda0001800cb2f..."} 
[2026-07-25 07:49:38] local.INFO: Packet analysis {"connection_id":143308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9710"} 
[2026-07-25 07:49:38] local.INFO: Extracted packet for processing {"connection_id":143308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9710"} 
[2026-07-25 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":760314176,"raw_latitude":108461472,"longitude_deg":76.0314176,"latitude_deg":10.8461472,"altitude":24,"angle":203,"satellites":47,"speed":42,"hex_longitude":"2d517940","hex_latitude":"0676fda0","is_valid_coordinates":true} 
[2026-07-25 07:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946141440001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357100889707642880,"note":"Value kept but may cause issues"} 
[2026-07-25 07:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5874734635440537600,"note":"Value kept but may cause issues"} 
[2026-07-25 07:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784945873000,"timestamp_ms":1784945873000,"timestamp_seconds":1784945873,"priority":1,"record_length":96,"hex_timestamp":"0000019f97109068"} 
[2026-07-25 07:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946141440001,"66":27821,"146":206,"80":60160,"24":42,"16":357100889707642880,"45":5874734635440537600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-25 07:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946141440001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:49:38] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 07:49:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357100889707642880,"km_value":357100889707642.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5874734635440537600,"description":"Unknown IO ID 45"} 
[2026-07-25 07:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946141440001,"power":27821,"unknown_146":206,"unknown_80":60160,"ignition":42,"odometer":null,"unknown_45":5874734635440537600}} 
[2026-07-25 07:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":143308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:49:38] local.INFO: GPS data processed {"connection_id":143308,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:49:38] local.INFO: Acknowledgment sent {"connection_id":143308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:49:55] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:55] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:55] local.INFO: IMEI packet received {"connection_id":140962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":140962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:49:56] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:56] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:49:56] local.INFO: IMEI packet received {"connection_id":140962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":140962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:50:01] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:01] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:01] local.INFO: IMEI packet received {"connection_id":140962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":140962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:50:02] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97118680012d5098c0067624b00015010d2f..."} 
[2026-07-25 07:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97118680012d5098c0067624b00015010d2f..."} 
[2026-07-25 07:50:02] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97118680012d5098c0067624b00015010d2f..."} 
[2026-07-25 07:50:02] local.INFO: Packet analysis {"connection_id":140962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9711"} 
[2026-07-25 07:50:02] local.INFO: Extracted packet for processing {"connection_id":140962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9711"} 
[2026-07-25 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":760256704,"raw_latitude":108405936,"longitude_deg":76.0256704,"latitude_deg":10.8405936,"altitude":21,"angle":269,"satellites":47,"speed":60,"hex_longitude":"2d5098c0","hex_latitude":"067624b0","is_valid_coordinates":true} 
[2026-07-25 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946158080001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357105141725265920,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5817876690128650240,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784945936000,"timestamp_ms":1784945936000,"timestamp_seconds":1784945936,"priority":1,"record_length":96,"hex_timestamp":"0000019f97118680"} 
[2026-07-25 07:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946158080001,"66":27865,"167":206,"80":60160,"24":60,"16":357105141725265920,"45":5817876690128650240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-25 07:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946158080001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:50:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 07:50:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357105141725265920,"km_value":357105141725265.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5817876690128650240,"description":"Unknown IO ID 45"} 
[2026-07-25 07:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946158080001,"power":27865,"unknown_167":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5817876690128650240}} 
[2026-07-25 07:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":140962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:50:02] local.INFO: GPS data processed {"connection_id":140962,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:50:02] local.INFO: Acknowledgment sent {"connection_id":140962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:50:14] local.INFO: TCP Data received {"connection_id":140918,"ip":"117.225.250.174","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:14] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:14] local.INFO: IMEI packet received {"connection_id":140918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":140918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:50:18] local.INFO: TCP Data received {"connection_id":140918,"ip":"117.225.250.174","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:18] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:18] local.INFO: IMEI packet received {"connection_id":140918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":140918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:50:22] local.INFO: TCP Data received {"connection_id":140918,"ip":"117.225.250.174","data_length":795,"data_hex":"000000000000030f8e0a0000019f97125970012d7c038005e660580007005628..."} 
[2026-07-25 07:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97125970012d7c038005e660580007005628..."} 
[2026-07-25 07:50:22] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97125970012d7c038005e660580007005628..."} 
[2026-07-25 07:50:22] local.INFO: Packet analysis {"connection_id":140918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:50:22] local.INFO: Extracted packet for processing {"connection_id":140918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:50:22] local.INFO: GPS Element Parsed {"raw_longitude":763102080,"raw_latitude":98984024,"longitude_deg":76.310208,"latitude_deg":9.8984024,"altitude":7,"angle":86,"satellites":40,"speed":5,"hex_longitude":"2d7c0380","hex_latitude":"05e66058","is_valid_coordinates":true} 
[2026-07-25 07:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946172928001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110102908267134976,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935845373484732416,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784945990000,"timestamp_ms":1784945990000,"timestamp_seconds":1784945990,"priority":1,"record_length":96,"hex_timestamp":"0000019f97125970"} 
[2026-07-25 07:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 07:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":140918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":140918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":140918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.250.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946172928001,"66":13319,"22":206,"9":25088,"24":5,"16":110102908267134976,"45":8935845373484732416},"client_ip":"117.225.250.174","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-07-25 07:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946172928001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:50:22] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 07:50:22] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-25 07:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110102908267134976,"km_value":110102908267134.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935845373484732416,"description":"Unknown IO ID 45"} 
[2026-07-25 07:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946172928001,"power":13319,"unknown_22":206,"unknown_9":25088,"ignition":5,"odometer":null,"unknown_45":8935845373484732416}} 
[2026-07-25 07:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":140918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:50:22] local.INFO: GPS data processed {"connection_id":140918,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:50:22] local.INFO: Acknowledgment sent {"connection_id":140918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:50:24] local.INFO: TCP Data received {"connection_id":140918,"ip":"117.225.250.174","data_length":795,"data_hex":"000000000000030f8e0a0000019f97125d58012d7c044005e660300007006b26..."} 
[2026-07-25 07:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97125d58012d7c044005e660300007006b26..."} 
[2026-07-25 07:50:24] local.INFO: Processing buffer {"connection_id":140918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97125d58012d7c044005e660300007006b26..."} 
[2026-07-25 07:50:24] local.INFO: Packet analysis {"connection_id":140918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:50:24] local.INFO: Extracted packet for processing {"connection_id":140918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763102272,"raw_latitude":98983984,"longitude_deg":76.3102272,"latitude_deg":9.8983984,"altitude":7,"angle":107,"satellites":38,"speed":6,"hex_longitude":"2d7c0440","hex_latitude":"05e66030","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946173440001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110102916857069568,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936126848461461504,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784945991000,"timestamp_ms":1784945991000,"timestamp_seconds":1784945991,"priority":1,"record_length":96,"hex_timestamp":"0000019f97125d58"} 
[2026-07-25 07:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2534518160,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57841003193567586,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":230,"raw_value":6372593502798226944,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2115371214,"corrected_to":0} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221612121,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3864576000,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-6221721590348955643,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,22,9,24,241,158,16,42,159,81,45,128,96,7,41,10,66,69,94,8,40,64,1,240,187,151,230,4,113,205,19,185,228,56,38,239,51,2,135,5,11,17],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2115371214,"validated":0}]} 
[2026-07-25 07:50:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504497888064503808,"timestamp_seconds":504497888064503.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 07:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":140918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":140918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":140918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 07:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.250.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 07:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 07:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946173440001,"66":13319,"22":206,"9":25088,"24":6,"16":110102916857069568,"45":8936126848461461504},"client_ip":"117.225.250.174","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,9,24,16,45]} 
[2026-07-25 07:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 07:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 07:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946173440001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:50:24] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 07:50:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":25088,"description":"Unknown IO ID 9"} 
[2026-07-25 07:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110102916857069568,"km_value":110102916857069.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936126848461461504,"description":"Unknown IO ID 45"} 
[2026-07-25 07:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946173440001,"power":13319,"unknown_22":206,"unknown_9":25088,"ignition":6,"odometer":null,"unknown_45":8936126848461461504}} 
[2026-07-25 07:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":140918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:50:25] local.INFO: GPS data processed {"connection_id":140918,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:50:25] local.INFO: Acknowledgment sent {"connection_id":140918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:50:33] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9711a1d8012d507000067624e00014010e30..."} 
[2026-07-25 07:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9711a1d8012d507000067624e00014010e30..."} 
[2026-07-25 07:50:33] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9711a1d8012d507000067624e00014010e30..."} 
[2026-07-25 07:50:33] local.INFO: Packet analysis {"connection_id":140962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9711"} 
[2026-07-25 07:50:33] local.INFO: Extracted packet for processing {"connection_id":140962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9711"} 
[2026-07-25 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":760246272,"raw_latitude":108405984,"longitude_deg":76.0246272,"latitude_deg":10.8405984,"altitude":20,"angle":270,"satellites":48,"speed":58,"hex_longitude":"2d507000","hex_latitude":"067624e0","is_valid_coordinates":true} 
[2026-07-25 07:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946159616001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357105639941472256,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807602853478707200,"note":"Value kept but may cause issues"} 
[2026-07-25 07:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784945943000,"timestamp_ms":1784945943000,"timestamp_seconds":1784945943,"priority":1,"record_length":96,"hex_timestamp":"0000019f9711a1d8"} 
[2026-07-25 07:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:50: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-07-25 07:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946159616001,"66":27832,"167":206,"80":60160,"24":58,"16":357105639941472256,"45":5807602853478707200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-25 07:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946159616001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:50:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 07:50:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357105639941472256,"km_value":357105639941472.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807602853478707200,"description":"Unknown IO ID 45"} 
[2026-07-25 07:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946159616001,"power":27832,"unknown_167":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5807602853478707200}} 
[2026-07-25 07:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":140962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:50:33] local.INFO: GPS data processed {"connection_id":140962,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:50:33] local.INFO: Acknowledgment sent {"connection_id":140962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:50:42] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.250.174","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:42] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:42] local.INFO: IMEI packet received {"connection_id":143309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":143309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:50:49] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.250.174","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:49] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:49] local.INFO: IMEI packet received {"connection_id":143309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":143309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:50:50] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.250.174","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:50] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:50] local.INFO: IMEI packet received {"connection_id":143309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":143309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:50:52] local.INFO: TCP Data received {"connection_id":143309,"ip":"117.225.250.174","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:52] local.INFO: Processing buffer {"connection_id":143309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:50:52] local.INFO: IMEI packet received {"connection_id":143309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":143309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:50:56] local.INFO: TCP Data received {"connection_id":141968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:56] local.INFO: Processing buffer {"connection_id":141968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:56] local.INFO: IMEI packet received {"connection_id":141968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":141968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:50:58] local.INFO: TCP Data received {"connection_id":141968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:59] local.INFO: Processing buffer {"connection_id":141968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:50:59] local.INFO: IMEI packet received {"connection_id":141968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":141968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:51:01] local.INFO: TCP Data received {"connection_id":141968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:51:01] local.INFO: Processing buffer {"connection_id":141968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:51:01] local.INFO: IMEI packet received {"connection_id":141968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":141968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:51:02] local.INFO: TCP Data received {"connection_id":141968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9712a3a8012d4f1d40067669b80020011428..."} 
[2026-07-25 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9712a3a8012d4f1d40067669b80020011428..."} 
[2026-07-25 07:51:02] local.INFO: Processing buffer {"connection_id":141968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9712a3a8012d4f1d40067669b80020011428..."} 
[2026-07-25 07:51:02] local.INFO: Packet analysis {"connection_id":141968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:51:02] local.INFO: Extracted packet for processing {"connection_id":141968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":760159552,"raw_latitude":108423608,"longitude_deg":76.0159552,"latitude_deg":10.8423608,"altitude":32,"angle":276,"satellites":40,"speed":53,"hex_longitude":"2d4f1d40","hex_latitude":"067669b8","is_valid_coordinates":true} 
[2026-07-25 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946178304001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357109922023866368,"note":"Value kept but may cause issues"} 
[2026-07-25 07:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5700783099821537280,"note":"Value kept but may cause issues"} 
[2026-07-25 07:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946009000,"timestamp_ms":1784946009000,"timestamp_seconds":1784946009,"priority":1,"record_length":96,"hex_timestamp":"0000019f9712a3a8"} 
[2026-07-25 07:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946178304001,"66":27800,"75":206,"80":60160,"24":53,"16":357109922023866368,"45":5700783099821537280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,80,24,16,45]} 
[2026-07-25 07:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946178304001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:51:02] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 07:51:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357109922023866368,"km_value":357109922023866.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5700783099821537280,"description":"Unknown IO ID 45"} 
[2026-07-25 07:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946178304001,"power":27800,"unknown_75":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5700783099821537280}} 
[2026-07-25 07:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":141968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:51:02] local.INFO: GPS data processed {"connection_id":141968,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:51:02] local.INFO: Acknowledgment sent {"connection_id":141968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:51:33] local.INFO: TCP Data received {"connection_id":141968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9712b730012d4f01c0067669e8001f010828..."} 
[2026-07-25 07:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9712b730012d4f01c0067669e8001f010828..."} 
[2026-07-25 07:51:33] local.INFO: Processing buffer {"connection_id":141968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9712b730012d4f01c0067669e8001f010828..."} 
[2026-07-25 07:51:33] local.INFO: Packet analysis {"connection_id":141968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:51:33] local.INFO: Extracted packet for processing {"connection_id":141968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9712"} 
[2026-07-25 07:51:33] local.INFO: GPS Element Parsed {"raw_longitude":760152512,"raw_latitude":108423656,"longitude_deg":76.0152512,"latitude_deg":10.8423656,"altitude":31,"angle":264,"satellites":40,"speed":56,"hex_longitude":"2d4f01c0","hex_latitude":"067669e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946178304001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357110257031315456,"note":"Value kept but may cause issues"} 
[2026-07-25 07:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5700783099821537280,"note":"Value kept but may cause issues"} 
[2026-07-25 07:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946014000,"timestamp_ms":1784946014000,"timestamp_seconds":1784946014,"priority":1,"record_length":96,"hex_timestamp":"0000019f9712b730"} 
[2026-07-25 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-07-25 07:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946178304001,"66":27876,"75":206,"80":60160,"24":56,"16":357110257031315456,"45":5700783099821537280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,80,24,16,45]} 
[2026-07-25 07:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946178304001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:51:33] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-25 07:51:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357110257031315456,"km_value":357110257031315.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5700783099821537280,"description":"Unknown IO ID 45"} 
[2026-07-25 07:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946178304001,"power":27876,"unknown_75":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5700783099821537280}} 
[2026-07-25 07:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":141968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:51:33] local.INFO: GPS data processed {"connection_id":141968,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:51:33] local.INFO: Acknowledgment sent {"connection_id":141968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:52:01] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:01] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:01] local.INFO: IMEI packet received {"connection_id":140919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":140919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:52:03] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:03] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:03] local.INFO: IMEI packet received {"connection_id":140919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":140919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:52:06] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:06] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:06] local.INFO: IMEI packet received {"connection_id":140919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":140919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:52:07] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9713b518012d4d7fc006761da0001001222b..."} 
[2026-07-25 07:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9713b518012d4d7fc006761da0001001222b..."} 
[2026-07-25 07:52:07] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9713b518012d4d7fc006761da0001001222b..."} 
[2026-07-25 07:52:07] local.INFO: Packet analysis {"connection_id":140919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9713"} 
[2026-07-25 07:52:07] local.INFO: Extracted packet for processing {"connection_id":140919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9713"} 
[2026-07-25 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":760053696,"raw_latitude":108404128,"longitude_deg":76.0053696,"latitude_deg":10.8404128,"altitude":16,"angle":290,"satellites":43,"speed":59,"hex_longitude":"2d4d7fc0","hex_latitude":"06761da0","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946194688001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357115131819196416,"note":"Value kept but may cause issues"} 
[2026-07-25 07:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5594174452386842624,"note":"Value kept but may cause issues"} 
[2026-07-25 07:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784946079000,"timestamp_ms":1784946079000,"timestamp_seconds":1784946079,"priority":1,"record_length":96,"hex_timestamp":"0000019f9713b518"} 
[2026-07-25 07:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 07:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946194688001,"66":27865,"168":206,"80":60160,"24":59,"16":357115131819196416,"45":5594174452386842624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-07-25 07:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946194688001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:52:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 07:52:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357115131819196416,"km_value":357115131819196.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5594174452386842624,"description":"Unknown IO ID 45"} 
[2026-07-25 07:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946194688001,"power":27865,"unknown_168":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5594174452386842624}} 
[2026-07-25 07:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":140919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:52:07] local.INFO: GPS data processed {"connection_id":140919,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:52:07] local.INFO: Acknowledgment sent {"connection_id":140919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:52:38] local.INFO: TCP Data received {"connection_id":140919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9713b518012d4d7fc006761da0001001222b..."} 
[2026-07-25 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9713b518012d4d7fc006761da0001001222b..."} 
[2026-07-25 07:52:38] local.INFO: Processing buffer {"connection_id":140919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9713b518012d4d7fc006761da0001001222b..."} 
[2026-07-25 07:52:38] local.INFO: Packet analysis {"connection_id":140919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9713"} 
[2026-07-25 07:52:38] local.INFO: Extracted packet for processing {"connection_id":140919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9713"} 
[2026-07-25 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":760053696,"raw_latitude":108404128,"longitude_deg":76.0053696,"latitude_deg":10.8404128,"altitude":16,"angle":290,"satellites":43,"speed":59,"hex_longitude":"2d4d7fc0","hex_latitude":"06761da0","is_valid_coordinates":true} 
[2026-07-25 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946196224001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357115131819196416,"note":"Value kept but may cause issues"} 
[2026-07-25 07:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5584393196946694144,"note":"Value kept but may cause issues"} 
[2026-07-25 07:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784946079000,"timestamp_ms":1784946079000,"timestamp_seconds":1784946079,"priority":1,"record_length":96,"hex_timestamp":"0000019f9713b518"} 
[2026-07-25 07:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946196224001,"66":27865,"168":206,"80":60160,"24":59,"16":357115131819196416,"45":5584393196946694144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-07-25 07:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946196224001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:52:38] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 07:52:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357115131819196416,"km_value":357115131819196.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5584393196946694144,"description":"Unknown IO ID 45"} 
[2026-07-25 07:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946196224001,"power":27865,"unknown_168":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5584393196946694144}} 
[2026-07-25 07:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":140919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:52:38] local.INFO: GPS data processed {"connection_id":140919,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:52:38] local.INFO: Acknowledgment sent {"connection_id":140919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:52:56] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:56] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:56] local.INFO: IMEI packet received {"connection_id":140963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":140963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:52:57] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:57] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:52:57] local.INFO: IMEI packet received {"connection_id":140963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":140963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:53:01] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:53:01] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:53:01] local.INFO: IMEI packet received {"connection_id":140963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":140963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:53:02] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9713cc88012d4d610006762d80001001302c..."} 
[2026-07-25 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9713cc88012d4d610006762d80001001302c..."} 
[2026-07-25 07:53:02] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9713cc88012d4d610006762d80001001302c..."} 
[2026-07-25 07:53:02] local.INFO: Packet analysis {"connection_id":140963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9713"} 
[2026-07-25 07:53:02] local.INFO: Extracted packet for processing {"connection_id":140963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9713"} 
[2026-07-25 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":760045824,"raw_latitude":108408192,"longitude_deg":76.0045824,"latitude_deg":10.8408192,"altitude":16,"angle":304,"satellites":44,"speed":56,"hex_longitude":"2d4d6100","hex_latitude":"06762d80","is_valid_coordinates":true} 
[2026-07-25 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946196224001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357115557020958720,"note":"Value kept but may cause issues"} 
[2026-07-25 07:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5584393196946694144,"note":"Value kept but may cause issues"} 
[2026-07-25 07:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946085000,"timestamp_ms":1784946085000,"timestamp_seconds":1784946085,"priority":1,"record_length":96,"hex_timestamp":"0000019f9713cc88"} 
[2026-07-25 07:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946196224001,"66":27865,"206":206,"80":60160,"24":56,"16":357115557020958720,"45":5584393196946694144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-25 07:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946196224001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:53:02] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 07:53:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357115557020958720,"km_value":357115557020958.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5584393196946694144,"description":"Unknown IO ID 45"} 
[2026-07-25 07:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946196224001,"power":27865,"unknown_206":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5584393196946694144}} 
[2026-07-25 07:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":140963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:53:02] local.INFO: GPS data processed {"connection_id":140963,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:53:02] local.INFO: Acknowledgment sent {"connection_id":140963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:53:33] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9714ddf8012d4c080006766a88001200fc2b..."} 
[2026-07-25 07:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9714ddf8012d4c080006766a88001200fc2b..."} 
[2026-07-25 07:53:33] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9714ddf8012d4c080006766a88001200fc2b..."} 
[2026-07-25 07:53:33] local.INFO: Packet analysis {"connection_id":140963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9714"} 
[2026-07-25 07:53:33] local.INFO: Extracted packet for processing {"connection_id":140963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9714"} 
[2026-07-25 07:53:33] local.INFO: GPS Element Parsed {"raw_longitude":759957504,"raw_latitude":108423816,"longitude_deg":75.9957504,"latitude_deg":10.8423816,"altitude":18,"angle":252,"satellites":43,"speed":46,"hex_longitude":"2d4c0800","hex_latitude":"06766a88","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946213632001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357120126866161664,"note":"Value kept but may cause issues"} 
[2026-07-25 07:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5488832442358966272,"note":"Value kept but may cause issues"} 
[2026-07-25 07:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946155000,"timestamp_ms":1784946155000,"timestamp_seconds":1784946155,"priority":1,"record_length":96,"hex_timestamp":"0000019f9714ddf8"} 
[2026-07-25 07:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 07:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946213632001,"66":27919,"235":206,"80":60160,"24":46,"16":357120126866161664,"45":5488832442358966272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-25 07:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946213632001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357120126866161664,"km_value":357120126866161.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5488832442358966272,"description":"Unknown IO ID 45"} 
[2026-07-25 07:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946213632001,"power":27919,"unknown_235":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5488832442358966272}} 
[2026-07-25 07:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":140963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:53:33] local.INFO: GPS data processed {"connection_id":140963,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:53:33] local.INFO: Acknowledgment sent {"connection_id":140963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:53:56] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:53:56] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:53:56] local.INFO: IMEI packet received {"connection_id":140920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":140920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:54:01] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:54:01] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:54:01] local.INFO: IMEI packet received {"connection_id":140920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":140920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:54:02] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9714f568012d4bef0006765fa0001300ef2e..."} 
[2026-07-25 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9714f568012d4bef0006765fa0001300ef2e..."} 
[2026-07-25 07:54:02] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9714f568012d4bef0006765fa0001300ef2e..."} 
[2026-07-25 07:54:02] local.INFO: Packet analysis {"connection_id":140920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9714"} 
[2026-07-25 07:54:02] local.INFO: Extracted packet for processing {"connection_id":140920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9714"} 
[2026-07-25 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":759951104,"raw_latitude":108421024,"longitude_deg":75.9951104,"latitude_deg":10.8421024,"altitude":19,"angle":239,"satellites":46,"speed":45,"hex_longitude":"2d4bef00","hex_latitude":"06765fa0","is_valid_coordinates":true} 
[2026-07-25 07:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946215680001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357120461873610752,"note":"Value kept but may cause issues"} 
[2026-07-25 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5478628974452705280,"note":"Value kept but may cause issues"} 
[2026-07-25 07:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946161000,"timestamp_ms":1784946161000,"timestamp_seconds":1784946161,"priority":1,"record_length":96,"hex_timestamp":"0000019f9714f568"} 
[2026-07-25 07:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 07:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946215680001,"66":28006,"236":206,"80":60160,"24":45,"16":357120461873610752,"45":5478628974452705280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-25 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946215680001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:54:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 07:54:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357120461873610752,"km_value":357120461873610.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5478628974452705280,"description":"Unknown IO ID 45"} 
[2026-07-25 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946215680001,"power":28006,"unknown_236":206,"unknown_80":60160,"ignition":45,"odometer":null,"unknown_45":5478628974452705280}} 
[2026-07-25 07:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":140920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:54:02] local.INFO: GPS data processed {"connection_id":140920,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:54:02] local.INFO: Acknowledgment sent {"connection_id":140920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:54:33] local.INFO: TCP Data received {"connection_id":140920,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f971510c0012d4bd4c006764d18001400e22f..."} 
[2026-07-25 07:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971510c0012d4bd4c006764d18001400e22f..."} 
[2026-07-25 07:54:33] local.INFO: Processing buffer {"connection_id":140920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971510c0012d4bd4c006764d18001400e22f..."} 
[2026-07-25 07:54:33] local.INFO: Packet analysis {"connection_id":140920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9715"} 
[2026-07-25 07:54:33] local.INFO: Extracted packet for processing {"connection_id":140920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9715"} 
[2026-07-25 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":759944384,"raw_latitude":108416280,"longitude_deg":75.9944384,"latitude_deg":10.841628,"altitude":20,"angle":226,"satellites":47,"speed":47,"hex_longitude":"2d4bd4c0","hex_latitude":"06764d18","is_valid_coordinates":true} 
[2026-07-25 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-07-25 07:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946217216001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357120852715634688,"note":"Value kept but may cause issues"} 
[2026-07-25 07:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5471592100034224128,"note":"Value kept but may cause issues"} 
[2026-07-25 07:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946168000,"timestamp_ms":1784946168000,"timestamp_seconds":1784946168,"priority":1,"record_length":96,"hex_timestamp":"0000019f971510c0"} 
[2026-07-25 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-07-25 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 07:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 07:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946217216001,"66":28028,"236":206,"80":60160,"24":47,"16":357120852715634688,"45":5471592100034224128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-25 07:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946217216001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:54:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 07:54:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357120852715634688,"km_value":357120852715634.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5471592100034224128,"description":"Unknown IO ID 45"} 
[2026-07-25 07:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946217216001,"power":28028,"unknown_236":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5471592100034224128}} 
[2026-07-25 07:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":140920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:54:33] local.INFO: GPS data processed {"connection_id":140920,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:54:33] local.INFO: Acknowledgment sent {"connection_id":140920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:55:01] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:01] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:01] local.INFO: IMEI packet received {"connection_id":140964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":140964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:55:02] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:02] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:02] local.INFO: IMEI packet received {"connection_id":140964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":140964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:55:06] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:06] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:06] local.INFO: IMEI packet received {"connection_id":140964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":140964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:55:07] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f971635b8012d4ad34006750bf0000b00d92c..."} 
[2026-07-25 07:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971635b8012d4ad34006750bf0000b00d92c..."} 
[2026-07-25 07:55:07] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971635b8012d4ad34006750bf0000b00d92c..."} 
[2026-07-25 07:55:07] local.INFO: Packet analysis {"connection_id":140964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:55:07] local.INFO: Extracted packet for processing {"connection_id":140964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":759878464,"raw_latitude":108334064,"longitude_deg":75.9878464,"latitude_deg":10.8334064,"altitude":11,"angle":217,"satellites":44,"speed":55,"hex_longitude":"2d4ad340","hex_latitude":"06750bf0","is_valid_coordinates":true} 
[2026-07-25 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946236416001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357125929366978560,"note":"Value kept but may cause issues"} 
[2026-07-25 07:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5398197499836575744,"note":"Value kept but may cause issues"} 
[2026-07-25 07:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784946243000,"timestamp_ms":1784946243000,"timestamp_seconds":1784946243,"priority":1,"record_length":96,"hex_timestamp":"0000019f971635b8"} 
[2026-07-25 07:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946236416001,"66":27865,"236":206,"80":60160,"24":55,"16":357125929366978560,"45":5398197499836575744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-25 07:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946236416001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:55:07] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 07:55:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357125929366978560,"km_value":357125929366978.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5398197499836575744,"description":"Unknown IO ID 45"} 
[2026-07-25 07:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946236416001,"power":27865,"unknown_236":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5398197499836575744}} 
[2026-07-25 07:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":140964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:55:07] local.INFO: GPS data processed {"connection_id":140964,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:55:07] local.INFO: Acknowledgment sent {"connection_id":140964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:55:37] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97165110012d4abb000674ed68000b00d92c..."} 
[2026-07-25 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97165110012d4abb000674ed68000b00d92c..."} 
[2026-07-25 07:55:37] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97165110012d4abb000674ed68000b00d92c..."} 
[2026-07-25 07:55:37] local.INFO: Packet analysis {"connection_id":140964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:55:37] local.INFO: Extracted packet for processing {"connection_id":140964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":759872256,"raw_latitude":108326248,"longitude_deg":75.9872256,"latitude_deg":10.8326248,"altitude":11,"angle":217,"satellites":44,"speed":57,"hex_longitude":"2d4abb00","hex_latitude":"0674ed68","is_valid_coordinates":true} 
[2026-07-25 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946238208001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357126410403315712,"note":"Value kept but may cause issues"} 
[2026-07-25 07:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5391723575370313728,"note":"Value kept but may cause issues"} 
[2026-07-25 07:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784946250000,"timestamp_ms":1784946250000,"timestamp_seconds":1784946250,"priority":1,"record_length":96,"hex_timestamp":"0000019f97165110"} 
[2026-07-25 07:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 07:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946238208001,"66":27800,"236":206,"80":60160,"24":57,"16":357126410403315712,"45":5391723575370313728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-25 07:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946238208001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357126410403315712,"km_value":357126410403315.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5391723575370313728,"description":"Unknown IO ID 45"} 
[2026-07-25 07:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946238208001,"power":27800,"unknown_236":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5391723575370313728}} 
[2026-07-25 07:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":140964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:55:37] local.INFO: GPS data processed {"connection_id":140964,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:55:37] local.INFO: Acknowledgment sent {"connection_id":140964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:55:56] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:56] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:55:56] local.INFO: IMEI packet received {"connection_id":143311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":143311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:56:01] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:56:01] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:56:01] local.INFO: IMEI packet received {"connection_id":143311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":143311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:56:02] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f97166c68012d4aa1c00674ce48000b00db2c..."} 
[2026-07-25 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97166c68012d4aa1c00674ce48000b00db2c..."} 
[2026-07-25 07:56:02] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97166c68012d4aa1c00674ce48000b00db2c..."} 
[2026-07-25 07:56:02] local.INFO: Packet analysis {"connection_id":143311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:56:02] local.INFO: Extracted packet for processing {"connection_id":143311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":759865792,"raw_latitude":108318280,"longitude_deg":75.9865792,"latitude_deg":10.831828,"altitude":11,"angle":219,"satellites":44,"speed":58,"hex_longitude":"2d4aa1c0","hex_latitude":"0674ce48","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946240000001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357126904324554752,"note":"Value kept but may cause issues"} 
[2026-07-25 07:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5384897807183079424,"note":"Value kept but may cause issues"} 
[2026-07-25 07:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946257000,"timestamp_ms":1784946257000,"timestamp_seconds":1784946257,"priority":1,"record_length":96,"hex_timestamp":"0000019f97166c68"} 
[2026-07-25 07:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946240000001,"66":27908,"236":206,"80":60160,"24":58,"16":357126904324554752,"45":5384897807183079424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-25 07:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946240000001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:56:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 07:56:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357126904324554752,"km_value":357126904324554.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5384897807183079424,"description":"Unknown IO ID 45"} 
[2026-07-25 07:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946240000001,"power":27908,"unknown_236":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5384897807183079424}} 
[2026-07-25 07:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":143311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:56:02] local.INFO: GPS data processed {"connection_id":143311,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:56:02] local.INFO: Acknowledgment sent {"connection_id":143311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:56:33] local.INFO: TCP Data received {"connection_id":143311,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f971687c0012d4a87c00674af08000b00db2c..."} 
[2026-07-25 07:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971687c0012d4a87c00674af08000b00db2c..."} 
[2026-07-25 07:56:33] local.INFO: Processing buffer {"connection_id":143311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971687c0012d4a87c00674af08000b00db2c..."} 
[2026-07-25 07:56:33] local.INFO: Packet analysis {"connection_id":143311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:56:33] local.INFO: Extracted packet for processing {"connection_id":143311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:56:33] local.INFO: GPS Element Parsed {"raw_longitude":759859136,"raw_latitude":108310280,"longitude_deg":75.9859136,"latitude_deg":10.831028,"altitude":11,"angle":219,"satellites":44,"speed":59,"hex_longitude":"2d4a87c0","hex_latitude":"0674af08","is_valid_coordinates":true} 
[2026-07-25 07: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-07-25 07:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946241792001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357127402540761088,"note":"Value kept but may cause issues"} 
[2026-07-25 07:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5377790564019095552,"note":"Value kept but may cause issues"} 
[2026-07-25 07:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946264000,"timestamp_ms":1784946264000,"timestamp_seconds":1784946264,"priority":1,"record_length":96,"hex_timestamp":"0000019f971687c0"} 
[2026-07-25 07:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 07:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07: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-07-25 07:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946241792001,"66":27800,"236":206,"80":60160,"24":59,"16":357127402540761088,"45":5377790564019095552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-07-25 07:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946241792001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:56:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 07:56:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357127402540761088,"km_value":357127402540761.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5377790564019095552,"description":"Unknown IO ID 45"} 
[2026-07-25 07:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946241792001,"power":27800,"unknown_236":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5377790564019095552}} 
[2026-07-25 07:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":143311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:56:33] local.INFO: GPS data processed {"connection_id":143311,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:56:33] local.INFO: Acknowledgment sent {"connection_id":143311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:57:01] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:01] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:01] local.INFO: IMEI packet received {"connection_id":140921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":140921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:57:06] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:06] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:06] local.INFO: IMEI packet received {"connection_id":140921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":140921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:57:06] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f97169f30012d4a7100067493d0000b00db2c..."} 
[2026-07-25 07:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97169f30012d4a7100067493d0000b00db2c..."} 
[2026-07-25 07:57:06] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97169f30012d4a7100067493d0000b00db2c..."} 
[2026-07-25 07:57:06] local.INFO: Packet analysis {"connection_id":140921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:57:06] local.INFO: Extracted packet for processing {"connection_id":140921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":759853312,"raw_latitude":108303312,"longitude_deg":75.9853312,"latitude_deg":10.8303312,"altitude":11,"angle":219,"satellites":44,"speed":60,"hex_longitude":"2d4a7100","hex_latitude":"067493d0","is_valid_coordinates":true} 
[2026-07-25 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946243584001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357127840627425280,"note":"Value kept but may cause issues"} 
[2026-07-25 07:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5370472214622570496,"note":"Value kept but may cause issues"} 
[2026-07-25 07:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784946270000,"timestamp_ms":1784946270000,"timestamp_seconds":1784946270,"priority":1,"record_length":96,"hex_timestamp":"0000019f97169f30"} 
[2026-07-25 07:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":140921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946243584001,"66":27843,"81":206,"80":60160,"24":60,"16":357127840627425280,"45":5370472214622570496},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 07:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946243584001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:57:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:57:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357127840627425280,"km_value":357127840627425.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5370472214622570496,"description":"Unknown IO ID 45"} 
[2026-07-25 07:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946243584001,"power":27843,"unknown_81":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5370472214622570496}} 
[2026-07-25 07:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":140921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:57:06] local.INFO: GPS data processed {"connection_id":140921,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:57:06] local.INFO: Acknowledgment sent {"connection_id":140921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:57:11] local.INFO: TCP Data received {"connection_id":140921,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f9716b6a0012d4a5a8006747900000c00db29..."} 
[2026-07-25 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9716b6a0012d4a5a8006747900000c00db29..."} 
[2026-07-25 07:57:11] local.INFO: Processing buffer {"connection_id":140921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9716b6a0012d4a5a8006747900000c00db29..."} 
[2026-07-25 07:57:11] local.INFO: Packet analysis {"connection_id":140921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:57:11] local.INFO: Extracted packet for processing {"connection_id":140921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":759847552,"raw_latitude":108296448,"longitude_deg":75.9847552,"latitude_deg":10.8296448,"altitude":12,"angle":219,"satellites":41,"speed":57,"hex_longitude":"2d4a5a80","hex_latitude":"06747900","is_valid_coordinates":true} 
[2026-07-25 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946245120001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357128270124154880,"note":"Value kept but may cause issues"} 
[2026-07-25 07:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5364068658900619264,"note":"Value kept but may cause issues"} 
[2026-07-25 07:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784946276000,"timestamp_ms":1784946276000,"timestamp_seconds":1784946276,"priority":1,"record_length":96,"hex_timestamp":"0000019f9716b6a0"} 
[2026-07-25 07:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 07:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946245120001,"66":27800,"81":206,"80":60160,"24":57,"16":357128270124154880,"45":5364068658900619264},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 07:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946245120001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:57:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357128270124154880,"km_value":357128270124154.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5364068658900619264,"description":"Unknown IO ID 45"} 
[2026-07-25 07:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946245120001,"power":27800,"unknown_81":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5364068658900619264}} 
[2026-07-25 07:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":140921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:57:11] local.INFO: GPS data processed {"connection_id":140921,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:57:11] local.INFO: Acknowledgment sent {"connection_id":140921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:57:56] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:56] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:57:56] local.INFO: IMEI packet received {"connection_id":140965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":140965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:58:01] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:58:01] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:58:01] local.INFO: IMEI packet received {"connection_id":140965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":140965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:58:02] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9716d1f8012d4a404006745a38000c00db2a..."} 
[2026-07-25 07:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9716d1f8012d4a404006745a38000c00db2a..."} 
[2026-07-25 07:58:02] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9716d1f8012d4a404006745a38000c00db2a..."} 
[2026-07-25 07:58:02] local.INFO: Packet analysis {"connection_id":140965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:58:02] local.INFO: Extracted packet for processing {"connection_id":140965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":759840832,"raw_latitude":108288568,"longitude_deg":75.9840832,"latitude_deg":10.8288568,"altitude":12,"angle":219,"satellites":42,"speed":58,"hex_longitude":"2d4a4040","hex_latitude":"06745a38","is_valid_coordinates":true} 
[2026-07-25 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946246656001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357128768340361216,"note":"Value kept but may cause issues"} 
[2026-07-25 07:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5357735471922872320,"note":"Value kept but may cause issues"} 
[2026-07-25 07:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946283000,"timestamp_ms":1784946283000,"timestamp_seconds":1784946283,"priority":1,"record_length":96,"hex_timestamp":"0000019f9716d1f8"} 
[2026-07-25 07:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946246656001,"66":27658,"81":206,"80":60160,"24":58,"16":357128768340361216,"45":5357735471922872320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 07:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946246656001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:58:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:58:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357128768340361216,"km_value":357128768340361.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5357735471922872320,"description":"Unknown IO ID 45"} 
[2026-07-25 07:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946246656001,"power":27658,"unknown_81":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5357735471922872320}} 
[2026-07-25 07:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":140965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:58:02] local.INFO: GPS data processed {"connection_id":140965,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:58:02] local.INFO: Acknowledgment sent {"connection_id":140965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:58:33] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9716ed50012d4a274006743bd0000c00da29..."} 
[2026-07-25 07:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9716ed50012d4a274006743bd0000c00da29..."} 
[2026-07-25 07:58:33] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9716ed50012d4a274006743bd0000c00da29..."} 
[2026-07-25 07:58:33] local.INFO: Packet analysis {"connection_id":140965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:58:33] local.INFO: Extracted packet for processing {"connection_id":140965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9716"} 
[2026-07-25 07:58:33] local.INFO: GPS Element Parsed {"raw_longitude":759834432,"raw_latitude":108280784,"longitude_deg":75.9834432,"latitude_deg":10.8280784,"altitude":12,"angle":218,"satellites":41,"speed":55,"hex_longitude":"2d4a2740","hex_latitude":"06743bd0","is_valid_coordinates":true} 
[2026-07-25 07:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946248448001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129253671665664,"note":"Value kept but may cause issues"} 
[2026-07-25 07:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5350346753782200320,"note":"Value kept but may cause issues"} 
[2026-07-25 07:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946290000,"timestamp_ms":1784946290000,"timestamp_seconds":1784946290,"priority":1,"record_length":96,"hex_timestamp":"0000019f9716ed50"} 
[2026-07-25 07:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 07:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946248448001,"66":27876,"81":206,"80":60160,"24":55,"16":357129253671665664,"45":5350346753782200320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 07:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946248448001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:58:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:58:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129253671665664,"km_value":357129253671665.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5350346753782200320,"description":"Unknown IO ID 45"} 
[2026-07-25 07:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946248448001,"power":27876,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5350346753782200320}} 
[2026-07-25 07:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":140965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:58:33] local.INFO: GPS data processed {"connection_id":140965,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:58:33] local.INFO: Acknowledgment sent {"connection_id":140965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:58:51] local.INFO: TCP Data received {"connection_id":143312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:58:51] local.INFO: Processing buffer {"connection_id":143312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:58:51] local.INFO: IMEI packet received {"connection_id":143312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 07:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":143312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:58:52] local.INFO: TCP Data received {"connection_id":143312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:58:52] local.INFO: Processing buffer {"connection_id":143312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 07:58:52] local.INFO: IMEI packet received {"connection_id":143312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 07:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":143312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:58:56] local.INFO: TCP Data received {"connection_id":141970,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:58:56] local.INFO: Processing buffer {"connection_id":141970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:58:56] local.INFO: IMEI packet received {"connection_id":141970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":141970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 07:59:01] local.INFO: TCP Data received {"connection_id":141970,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:59:01] local.INFO: Processing buffer {"connection_id":141970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:59:01] local.INFO: IMEI packet received {"connection_id":141970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 07:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":141970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 07:59:02] local.INFO: TCP Data received {"connection_id":141970,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f971708a8012d4a0ec006741e30000c00d92f..."} 
[2026-07-25 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971708a8012d4a0ec006741e30000c00d92f..."} 
[2026-07-25 07:59:02] local.INFO: Processing buffer {"connection_id":141970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971708a8012d4a0ec006741e30000c00d92f..."} 
[2026-07-25 07:59:02] local.INFO: Packet analysis {"connection_id":141970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 07:59:02] local.INFO: Extracted packet for processing {"connection_id":141970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":759828160,"raw_latitude":108273200,"longitude_deg":75.982816,"latitude_deg":10.82732,"altitude":12,"angle":217,"satellites":47,"speed":55,"hex_longitude":"2d4a0ec0","hex_latitude":"06741e30","is_valid_coordinates":true} 
[2026-07-25 07:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946250240001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129730413035520,"note":"Value kept but may cause issues"} 
[2026-07-25 07:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5343309879362441216,"note":"Value kept but may cause issues"} 
[2026-07-25 07:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946297000,"timestamp_ms":1784946297000,"timestamp_seconds":1784946297,"priority":1,"record_length":96,"hex_timestamp":"0000019f971708a8"} 
[2026-07-25 07:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 07:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946250240001,"66":27800,"81":206,"80":60160,"24":55,"16":357129730413035520,"45":5343309879362441216},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 07:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946250240001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:59:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:59:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129730413035520,"km_value":357129730413035.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5343309879362441216,"description":"Unknown IO ID 45"} 
[2026-07-25 07:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946250240001,"power":27800,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5343309879362441216}} 
[2026-07-25 07:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":141970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:59:02] local.INFO: GPS data processed {"connection_id":141970,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:59:02] local.INFO: Acknowledgment sent {"connection_id":141970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:59:33] local.INFO: TCP Data received {"connection_id":141970,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 07:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 07:59:33] local.INFO: Processing buffer {"connection_id":141970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 07:59:33] local.INFO: Packet analysis {"connection_id":141970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 07:59:33] local.INFO: Extracted packet for processing {"connection_id":141970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 07:59:33] local.INFO: GPS Element Parsed {"raw_longitude":759827328,"raw_latitude":108272104,"longitude_deg":75.9827328,"latitude_deg":10.8272104,"altitude":12,"angle":218,"satellites":46,"speed":55,"hex_longitude":"2d4a0b80","hex_latitude":"067419e8","is_valid_coordinates":true} 
[2026-07-25 07:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 07:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252032001,"note":"Value kept but may cause issues"} 
[2026-07-25 07:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 07:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5336413742431088640,"note":"Value kept but may cause issues"} 
[2026-07-25 07:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 07:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946298000,"timestamp_ms":1784946298000,"timestamp_seconds":1784946298,"priority":1,"record_length":96,"hex_timestamp":"0000019f97170c90"} 
[2026-07-25 07:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 07:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 07:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 07:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 07:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 07:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 07:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 07:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 07:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 07:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 07:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 07:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 07:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252032001,"66":27800,"81":206,"80":60160,"24":55,"16":357129794837544960,"45":5336413742431088640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 07:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 07:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 07:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252032001,"description":"Unknown IO ID 0"} 
[2026-07-25 07:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 07:59:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 07:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 07:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5336413742431088640,"description":"Unknown IO ID 45"} 
[2026-07-25 07:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252032001,"power":27800,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5336413742431088640}} 
[2026-07-25 07:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":141970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 07:59:33] local.INFO: GPS data processed {"connection_id":141970,"processed":1,"errors":0,"total":1} 
[2026-07-25 07:59:33] local.INFO: Acknowledgment sent {"connection_id":141970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 07:59:56] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:59:56] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 07:59:56] local.INFO: IMEI packet received {"connection_id":140966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 07:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":140966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:00:01] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:00:01] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:00:01] local.INFO: IMEI packet received {"connection_id":140966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":140966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:00:02] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 08:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 08:00:02] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 08:00:02] local.INFO: Packet analysis {"connection_id":140966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 08:00:02] local.INFO: Extracted packet for processing {"connection_id":140966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 08:00:02] local.INFO: GPS Element Parsed {"raw_longitude":759827328,"raw_latitude":108272104,"longitude_deg":75.9827328,"latitude_deg":10.8272104,"altitude":12,"angle":218,"satellites":46,"speed":55,"hex_longitude":"2d4a0b80","hex_latitude":"067419e8","is_valid_coordinates":true} 
[2026-07-25 08:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252032001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5336413742431088640,"note":"Value kept but may cause issues"} 
[2026-07-25 08:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946298000,"timestamp_ms":1784946298000,"timestamp_seconds":1784946298,"priority":1,"record_length":96,"hex_timestamp":"0000019f97170c90"} 
[2026-07-25 08:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252032001,"66":27800,"81":206,"80":60160,"24":55,"16":357129794837544960,"45":5336413742431088640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252032001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:00:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:00:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5336413742431088640,"description":"Unknown IO ID 45"} 
[2026-07-25 08:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252032001,"power":27800,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5336413742431088640}} 
[2026-07-25 08:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":140966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:00:02] local.INFO: GPS data processed {"connection_id":140966,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:00:02] local.INFO: Acknowledgment sent {"connection_id":140966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:00:33] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 08:00:33] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97170c90012d4a0b80067419e8000c00da2e..."} 
[2026-07-25 08:00:33] local.INFO: Packet analysis {"connection_id":140966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 08:00:33] local.INFO: Extracted packet for processing {"connection_id":140966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9717"} 
[2026-07-25 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":759827328,"raw_latitude":108272104,"longitude_deg":75.9827328,"latitude_deg":10.8272104,"altitude":12,"angle":218,"satellites":46,"speed":55,"hex_longitude":"2d4a0b80","hex_latitude":"067419e8","is_valid_coordinates":true} 
[2026-07-25 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252032001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5336413742431088640,"note":"Value kept but may cause issues"} 
[2026-07-25 08:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946298000,"timestamp_ms":1784946298000,"timestamp_seconds":1784946298,"priority":1,"record_length":96,"hex_timestamp":"0000019f97170c90"} 
[2026-07-25 08:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252032001,"66":27800,"81":206,"80":60160,"24":55,"16":357129794837544960,"45":5336413742431088640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252032001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:00:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:00:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5336413742431088640,"description":"Unknown IO ID 45"} 
[2026-07-25 08:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252032001,"power":27800,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5336413742431088640}} 
[2026-07-25 08:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":140966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:00:33] local.INFO: GPS data processed {"connection_id":140966,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:00:33] local.INFO: Acknowledgment sent {"connection_id":140966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:00:56] local.INFO: TCP Data received {"connection_id":141971,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:00:56] local.INFO: Processing buffer {"connection_id":141971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:00:56] local.INFO: IMEI packet received {"connection_id":141971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":141971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:01:01] local.INFO: TCP Data received {"connection_id":141971,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:01:01] local.INFO: Processing buffer {"connection_id":141971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:01:01] local.INFO: IMEI packet received {"connection_id":141971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":141971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:01:01] local.INFO: TCP Data received {"connection_id":141971,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:01:02] local.INFO: Processing buffer {"connection_id":141971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:01:02] local.INFO: Packet analysis {"connection_id":141971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:01:02] local.INFO: Extracted packet for processing {"connection_id":141971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:01:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 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-07-25 08:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:01:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:01:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":141971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:01:02] local.INFO: GPS data processed {"connection_id":141971,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:01:02] local.INFO: Acknowledgment sent {"connection_id":141971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:01:33] local.INFO: TCP Data received {"connection_id":141971,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:01:33] local.INFO: Processing buffer {"connection_id":141971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:01:33] local.INFO: Packet analysis {"connection_id":141971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:01:33] local.INFO: Extracted packet for processing {"connection_id":141971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:01:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:01:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":141971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:01:33] local.INFO: GPS data processed {"connection_id":141971,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:01:33] local.INFO: Acknowledgment sent {"connection_id":141971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:02:01] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:01] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:01] local.INFO: IMEI packet received {"connection_id":143313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":143313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:02:06] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:06] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:06] local.INFO: IMEI packet received {"connection_id":143313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":143313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:02:07] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:02:07] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:02:07] local.INFO: Packet analysis {"connection_id":143313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:02:07] local.INFO: Extracted packet for processing {"connection_id":143313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:02:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":143313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:02:07] local.INFO: GPS data processed {"connection_id":143313,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:02:07] local.INFO: Acknowledgment sent {"connection_id":143313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:02:11] local.INFO: TCP Data received {"connection_id":143313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:02:11] local.INFO: Processing buffer {"connection_id":143313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:02:11] local.INFO: Packet analysis {"connection_id":143313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:02:11] local.INFO: Extracted packet for processing {"connection_id":143313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:02:11] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 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-07-25 08:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:02:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":143313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:02:11] local.INFO: GPS data processed {"connection_id":143313,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:02:11] local.INFO: Acknowledgment sent {"connection_id":143313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:02:32] local.INFO: TCP Data received {"connection_id":143314,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:02:32] local.INFO: Processing buffer {"connection_id":143314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:02:32] local.INFO: IMEI packet received {"connection_id":143314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":143314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:02:37] local.INFO: TCP Data received {"connection_id":143314,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:02:37] local.INFO: Processing buffer {"connection_id":143314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:02:37] local.INFO: IMEI packet received {"connection_id":143314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":143314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:02:38] local.INFO: TCP Data received {"connection_id":143314,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f971ddac0012d7e6a4005e70ef80003004c25..."} 
[2026-07-25 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971ddac0012d7e6a4005e70ef80003004c25..."} 
[2026-07-25 08:02:38] local.INFO: Processing buffer {"connection_id":143314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971ddac0012d7e6a4005e70ef80003004c25..."} 
[2026-07-25 08:02:38] local.INFO: Packet analysis {"connection_id":143314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971d"} 
[2026-07-25 08:02:38] local.INFO: Extracted packet for processing {"connection_id":143314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971d"} 
[2026-07-25 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763259456,"raw_latitude":99028728,"longitude_deg":76.3259456,"latitude_deg":9.9028728,"altitude":3,"angle":76,"satellites":37,"speed":22,"hex_longitude":"2d7e6a40","hex_latitude":"05e70ef8","is_valid_coordinates":true} 
[2026-07-25 08:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946361856001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110118310019858432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099593441196908544,"note":"Value kept but may cause issues"} 
[2026-07-25 08:02:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 08:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784946744000,"timestamp_ms":1784946744000,"timestamp_seconds":1784946744,"priority":1,"record_length":96,"hex_timestamp":"0000019f971ddac0"} 
[2026-07-25 08:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 08:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946361856001,"66":206,"87":13824,"24":22,"16":110118310019858432,"45":9099593441196908544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-25 08:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946361856001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:02:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110118310019858432,"km_value":110118310019858.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099593441196908544,"description":"Unknown IO ID 45"} 
[2026-07-25 08:02:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456946361856001,"power":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9099593441196908544}} 
[2026-07-25 08:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":143314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:02:38] local.INFO: GPS data processed {"connection_id":143314,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:02:38] local.INFO: Acknowledgment sent {"connection_id":143314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:02:56] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:56] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:02:56] local.INFO: IMEI packet received {"connection_id":140922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":140922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:03:01] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:03:01] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:03:01] local.INFO: IMEI packet received {"connection_id":140922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":140922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:03:02] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:03:02] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:03:02] local.INFO: Packet analysis {"connection_id":140922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:03:02] local.INFO: Extracted packet for processing {"connection_id":140922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:03:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:03:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:03:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":140922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:03:02] local.INFO: GPS data processed {"connection_id":140922,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:03:02] local.INFO: Acknowledgment sent {"connection_id":140922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:03:33] local.INFO: TCP Data received {"connection_id":140922,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:03:33] local.INFO: Processing buffer {"connection_id":140922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:03:33] local.INFO: Packet analysis {"connection_id":140922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:03:33] local.INFO: Extracted packet for processing {"connection_id":140922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:03:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:03:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:03:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":140922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:03:33] local.INFO: GPS data processed {"connection_id":140922,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:03:33] local.INFO: Acknowledgment sent {"connection_id":140922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:03:41] local.INFO: TCP Data received {"connection_id":143314,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f971e1d28012d7e8bc005e718380009005726..."} 
[2026-07-25 08:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971e1d28012d7e8bc005e718380009005726..."} 
[2026-07-25 08:03:41] local.INFO: Processing buffer {"connection_id":143314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971e1d28012d7e8bc005e718380009005726..."} 
[2026-07-25 08:03:41] local.INFO: Packet analysis {"connection_id":143314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:03:41] local.INFO: Extracted packet for processing {"connection_id":143314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":763268032,"raw_latitude":99031096,"longitude_deg":76.3268032,"latitude_deg":9.9031096,"altitude":9,"angle":87,"satellites":38,"speed":10,"hex_longitude":"2d7e8bc0","hex_latitude":"05e71838","is_valid_coordinates":true} 
[2026-07-25 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946366464001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110118735221620736,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109163590405781504,"note":"Value kept but may cause issues"} 
[2026-07-25 08:03:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 08:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784946761000,"timestamp_ms":1784946761000,"timestamp_seconds":1784946761,"priority":1,"record_length":96,"hex_timestamp":"0000019f971e1d28"} 
[2026-07-25 08:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 08:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946366464001,"66":206,"87":13824,"24":10,"16":110118735221620736,"45":9109163590405781504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-25 08:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946366464001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110118735221620736,"km_value":110118735221620.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109163590405781504,"description":"Unknown IO ID 45"} 
[2026-07-25 08:03:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456946366464001,"power":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9109163590405781504}} 
[2026-07-25 08:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":143314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:03:41] local.INFO: GPS data processed {"connection_id":143314,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:03:41] local.INFO: Acknowledgment sent {"connection_id":143314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:03:56] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:03:56] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:03:56] local.INFO: IMEI packet received {"connection_id":140923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":140923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:04:01] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:04:01] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:04:01] local.INFO: IMEI packet received {"connection_id":140923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":140923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:04:02] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:04:02] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:04:02] local.INFO: Packet analysis {"connection_id":140923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:04:02] local.INFO: Extracted packet for processing {"connection_id":140923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:04:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:04:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":140923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:04:02] local.INFO: GPS data processed {"connection_id":140923,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:04:02] local.INFO: Acknowledgment sent {"connection_id":140923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:04:02] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:02] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:02] local.INFO: IMEI packet received {"connection_id":143315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":143315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:04:03] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:03] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:03] local.INFO: IMEI packet received {"connection_id":143315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":143315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:04:08] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:08] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:04:08] local.INFO: IMEI packet received {"connection_id":143315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":143315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:04:09] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f971e7ae8012d7ec20005e720f00006003e22..."} 
[2026-07-25 08:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971e7ae8012d7ec20005e720f00006003e22..."} 
[2026-07-25 08:04:09] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971e7ae8012d7ec20005e720f00006003e22..."} 
[2026-07-25 08:04:09] local.INFO: Packet analysis {"connection_id":143315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:04:09] local.INFO: Extracted packet for processing {"connection_id":143315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763281920,"raw_latitude":99033328,"longitude_deg":76.328192,"latitude_deg":9.9033328,"altitude":6,"angle":62,"satellites":34,"speed":22,"hex_longitude":"2d7ec200","hex_latitude":"05e720f0","is_valid_coordinates":true} 
[2026-07-25 08:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946374400001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110119418121420800,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755776450818048,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 08:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784946785000,"timestamp_ms":1784946785000,"timestamp_seconds":1784946785,"priority":1,"record_length":96,"hex_timestamp":"0000019f971e7ae8"} 
[2026-07-25 08:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 08:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:04: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-07-25 08:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946374400001,"66":206,"87":13824,"24":22,"16":110119418121420800,"45":9126755776450818048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-25 08:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946374400001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110119418121420800,"km_value":110119418121420.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755776450818048,"description":"Unknown IO ID 45"} 
[2026-07-25 08:04:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456946374400001,"power":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9126755776450818048}} 
[2026-07-25 08:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":143315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:04:09] local.INFO: GPS data processed {"connection_id":143315,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:04:09] local.INFO: Acknowledgment sent {"connection_id":143315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:04:32] local.INFO: TCP Data received {"connection_id":140923,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:04:32] local.INFO: Processing buffer {"connection_id":140923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:04:32] local.INFO: Packet analysis {"connection_id":140923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:04:32] local.INFO: Extracted packet for processing {"connection_id":140923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":140923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":140923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:04:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:04:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":140923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:04:32] local.INFO: GPS data processed {"connection_id":140923,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:04:32] local.INFO: Acknowledgment sent {"connection_id":140923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:04:40] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f971ec520012d7ee3c005e72fa00008004425..."} 
[2026-07-25 08:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971ec520012d7ee3c005e72fa00008004425..."} 
[2026-07-25 08:04:40] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971ec520012d7ee3c005e72fa00008004425..."} 
[2026-07-25 08:04:40] local.INFO: Packet analysis {"connection_id":143315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:04:40] local.INFO: Extracted packet for processing {"connection_id":143315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763290560,"raw_latitude":99037088,"longitude_deg":76.329056,"latitude_deg":9.9037088,"altitude":8,"angle":68,"satellites":37,"speed":24,"hex_longitude":"2d7ee3c0","hex_latitude":"05e72fa0","is_valid_coordinates":true} 
[2026-07-25 08:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946376960001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110119869092986880,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133863019613319168,"note":"Value kept but may cause issues"} 
[2026-07-25 08:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784946804000,"timestamp_ms":1784946804000,"timestamp_seconds":1784946804,"priority":1,"record_length":96,"hex_timestamp":"0000019f971ec520"} 
[2026-07-25 08:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:04: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-07-25 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 08:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946376960001,"66":13015,"129":206,"85":15104,"24":24,"16":110119869092986880,"45":9133863019613319168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-25 08:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946376960001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:04:40] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 08:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 08:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110119869092986880,"km_value":110119869092986.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133863019613319168,"description":"Unknown IO ID 45"} 
[2026-07-25 08:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946376960001,"power":13015,"unknown_129":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9133863019613319168}} 
[2026-07-25 08:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":143315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:04:40] local.INFO: GPS data processed {"connection_id":143315,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:04:40] local.INFO: Acknowledgment sent {"connection_id":143315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:04:56] local.INFO: TCP Data received {"connection_id":143316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:04:56] local.INFO: Processing buffer {"connection_id":143316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:04:56] local.INFO: IMEI packet received {"connection_id":143316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":143316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:05:01] local.INFO: TCP Data received {"connection_id":143316,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:05:01] local.INFO: Processing buffer {"connection_id":143316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:05:01] local.INFO: IMEI packet received {"connection_id":143316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":143316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:05:02] local.INFO: TCP Data received {"connection_id":143316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:05:02] local.INFO: Processing buffer {"connection_id":143316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:05:02] local.INFO: Packet analysis {"connection_id":143316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:05:02] local.INFO: Extracted packet for processing {"connection_id":143316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:05:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:05:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":143316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:05:02] local.INFO: GPS data processed {"connection_id":143316,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:05:02] local.INFO: Acknowledgment sent {"connection_id":143316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:05:11] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f971efbd0012d7efd4005e73ab80006003426..."} 
[2026-07-25 08:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971efbd0012d7efd4005e73ab80006003426..."} 
[2026-07-25 08:05:11] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971efbd0012d7efd4005e73ab80006003426..."} 
[2026-07-25 08:05:11] local.INFO: Packet analysis {"connection_id":143315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:05:11] local.INFO: Extracted packet for processing {"connection_id":143315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971e"} 
[2026-07-25 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763297088,"raw_latitude":99039928,"longitude_deg":76.3297088,"latitude_deg":9.9039928,"altitude":6,"angle":52,"satellites":38,"speed":8,"hex_longitude":"2d7efd40","hex_latitude":"05e73ab8","is_valid_coordinates":true} 
[2026-07-25 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946381824001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110120212690370560,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143362800078266368,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784946818000,"timestamp_ms":1784946818000,"timestamp_seconds":1784946818,"priority":1,"record_length":96,"hex_timestamp":"0000019f971efbd0"} 
[2026-07-25 08:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 08:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946381824001,"66":12515,"129":206,"85":15104,"24":8,"16":110120212690370560,"45":9143362800078266368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-07-25 08:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946381824001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:05:11] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 08:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 08:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110120212690370560,"km_value":110120212690370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143362800078266368,"description":"Unknown IO ID 45"} 
[2026-07-25 08:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946381824001,"power":12515,"unknown_129":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9143362800078266368}} 
[2026-07-25 08:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":143315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:05:11] local.INFO: GPS data processed {"connection_id":143315,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:05:11] local.INFO: Acknowledgment sent {"connection_id":143315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:05:32] local.INFO: TCP Data received {"connection_id":143316,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:05:32] local.INFO: Processing buffer {"connection_id":143316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f971bb7e0012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:05:32] local.INFO: Packet analysis {"connection_id":143316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:05:32] local.INFO: Extracted packet for processing {"connection_id":143316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f971b"} 
[2026-07-25 08:05:32] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946252288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335498948756498432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784946604000,"timestamp_ms":1784946604000,"timestamp_seconds":1784946604,"priority":1,"record_length":96,"hex_timestamp":"0000019f971bb7e0"} 
[2026-07-25 08:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946252288001,"66":26473,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5335498948756498432},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946252288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:05:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:05:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335498948756498432,"description":"Unknown IO ID 45"} 
[2026-07-25 08:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946252288001,"power":26473,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5335498948756498432}} 
[2026-07-25 08:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":143316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:05:32] local.INFO: GPS data processed {"connection_id":143316,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:05:32] local.INFO: Acknowledgment sent {"connection_id":143316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:05:48] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9720a598012d7ec60005e7f6800003015b25..."} 
[2026-07-25 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9720a598012d7ec60005e7f6800003015b25..."} 
[2026-07-25 08:05:48] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9720a598012d7ec60005e7f6800003015b25..."} 
[2026-07-25 08:05:48] local.INFO: Packet analysis {"connection_id":143315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:05:48] local.INFO: Extracted packet for processing {"connection_id":143315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:05:48] local.INFO: GPS Element Parsed {"raw_longitude":763282944,"raw_latitude":99088000,"longitude_deg":76.3282944,"latitude_deg":9.9088,"altitude":3,"angle":347,"satellites":37,"speed":2,"hex_longitude":"2d7ec600","hex_latitude":"05e7f680","is_valid_coordinates":true} 
[2026-07-25 08:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946411264001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110122673706631168,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135129657022349312,"note":"Value kept but may cause issues"} 
[2026-07-25 08:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784946927000,"timestamp_ms":1784946927000,"timestamp_seconds":1784946927,"priority":1,"record_length":96,"hex_timestamp":"0000019f9720a598"} 
[2026-07-25 08:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-25 08:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946411264001,"66":13243,"131":206,"87":13824,"24":2,"16":110122673706631168,"45":9135129657022349312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946411264001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:05:48] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:05:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110122673706631168,"km_value":110122673706631.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135129657022349312,"description":"Unknown IO ID 45"} 
[2026-07-25 08:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946411264001,"power":13243,"unknown_131":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9135129657022349312}} 
[2026-07-25 08:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":143315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:05:48] local.INFO: GPS data processed {"connection_id":143315,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:05:48] local.INFO: Acknowledgment sent {"connection_id":143315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:05:56] local.INFO: TCP Data received {"connection_id":140924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:05:56] local.INFO: Processing buffer {"connection_id":140924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:05:56] local.INFO: IMEI packet received {"connection_id":140924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":140924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:06:01] local.INFO: TCP Data received {"connection_id":140924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:06:01] local.INFO: Processing buffer {"connection_id":140924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:06:01] local.INFO: IMEI packet received {"connection_id":140924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":140924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:06:02] local.INFO: TCP Data received {"connection_id":140924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:06:02] local.INFO: Processing buffer {"connection_id":140924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:06:02] local.INFO: Packet analysis {"connection_id":140924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:06:02] local.INFO: Extracted packet for processing {"connection_id":140924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:06:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:06:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":140924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:06:02] local.INFO: GPS data processed {"connection_id":140924,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:06:02] local.INFO: Acknowledgment sent {"connection_id":140924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:06:19] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9720ad68012d7ec60005e7f7380002000025..."} 
[2026-07-25 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9720ad68012d7ec60005e7f7380002000025..."} 
[2026-07-25 08:06:19] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9720ad68012d7ec60005e7f7380002000025..."} 
[2026-07-25 08:06:19] local.INFO: Packet analysis {"connection_id":143315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:06:19] local.INFO: Extracted packet for processing {"connection_id":143315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":763282944,"raw_latitude":99088184,"longitude_deg":76.3282944,"latitude_deg":9.9088184,"altitude":2,"angle":0,"satellites":37,"speed":3,"hex_longitude":"2d7ec600","hex_latitude":"05e7f738","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946413312001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110122682296565760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134988919534157824,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784946929000,"timestamp_ms":1784946929000,"timestamp_seconds":1784946929,"priority":1,"record_length":96,"hex_timestamp":"0000019f9720ad68"} 
[2026-07-25 08:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 08:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946413312001,"66":13319,"131":206,"87":13824,"24":3,"16":110122682296565760,"45":9134988919534157824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946413312001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110122682296565760,"km_value":110122682296565.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134988919534157824,"description":"Unknown IO ID 45"} 
[2026-07-25 08:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946413312001,"power":13319,"unknown_131":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9134988919534157824}} 
[2026-07-25 08:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":143315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:06:19] local.INFO: GPS data processed {"connection_id":143315,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:06:19] local.INFO: Acknowledgment sent {"connection_id":143315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:06:32] local.INFO: TCP Data received {"connection_id":140924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:06:32] local.INFO: Processing buffer {"connection_id":140924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:06:32] local.INFO: Packet analysis {"connection_id":140924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:06:32] local.INFO: Extracted packet for processing {"connection_id":140924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":140924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":140924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":140924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":140924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:06:32] local.INFO: GPS data processed {"connection_id":140924,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:06:32] local.INFO: Acknowledgment sent {"connection_id":140924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:06:50] local.INFO: TCP Data received {"connection_id":143315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721af38012d7e9b4005e876280004016425..."} 
[2026-07-25 08:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721af38012d7e9b4005e876280004016425..."} 
[2026-07-25 08:06:50] local.INFO: Processing buffer {"connection_id":143315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721af38012d7e9b4005e876280004016425..."} 
[2026-07-25 08:06:50] local.INFO: Packet analysis {"connection_id":143315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:06:50] local.INFO: Extracted packet for processing {"connection_id":143315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:06:50] local.INFO: GPS Element Parsed {"raw_longitude":763272000,"raw_latitude":99120680,"longitude_deg":76.3272,"latitude_deg":9.912068,"altitude":4,"angle":356,"satellites":37,"speed":21,"hex_longitude":"2d7e9b40","hex_latitude":"05e87628","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946429440001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124391693549568,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123307708008314880,"note":"Value kept but may cause issues"} 
[2026-07-25 08:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784946995000,"timestamp_ms":1784946995000,"timestamp_seconds":1784946995,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721af38"} 
[2026-07-25 08:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 08:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946429440001,"66":13341,"30":206,"87":13824,"24":21,"16":110124391693549568,"45":9123307708008314880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946429440001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:06:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:06:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124391693549568,"km_value":110124391693549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123307708008314880,"description":"Unknown IO ID 45"} 
[2026-07-25 08:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946429440001,"power":13341,"unknown_30":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9123307708008314880}} 
[2026-07-25 08:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":143315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:06:50] local.INFO: GPS data processed {"connection_id":143315,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:06:50] local.INFO: Acknowledgment sent {"connection_id":143315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:06:56] local.INFO: TCP Data received {"connection_id":141972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:06:56] local.INFO: Processing buffer {"connection_id":141972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:06:56] local.INFO: IMEI packet received {"connection_id":141972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":141972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:07:01] local.INFO: TCP Data received {"connection_id":141972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:07:01] local.INFO: Processing buffer {"connection_id":141972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:07:01] local.INFO: IMEI packet received {"connection_id":141972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":141972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:07:02] local.INFO: TCP Data received {"connection_id":141972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:07:02] local.INFO: Processing buffer {"connection_id":141972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:07:02] local.INFO: Packet analysis {"connection_id":141972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:07:02] local.INFO: Extracted packet for processing {"connection_id":141972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:07:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:07:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:07:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":141972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:07:02] local.INFO: GPS data processed {"connection_id":141972,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:07:02] local.INFO: Acknowledgment sent {"connection_id":141972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:07:14] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:14] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:14] local.INFO: IMEI packet received {"connection_id":140925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":140925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:07:14] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:14] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:14] local.INFO: IMEI packet received {"connection_id":140925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":140925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:07:17] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:17] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:17] local.INFO: IMEI packet received {"connection_id":140925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":140925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:07:23] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:23] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:07:23] local.INFO: IMEI packet received {"connection_id":140925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":140925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:07:24] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721da30012d7e99c005e884500004015326..."} 
[2026-07-25 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721da30012d7e99c005e884500004015326..."} 
[2026-07-25 08:07:24] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721da30012d7e99c005e884500004015326..."} 
[2026-07-25 08:07:24] local.INFO: Packet analysis {"connection_id":140925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:07:24] local.INFO: Extracted packet for processing {"connection_id":140925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763271616,"raw_latitude":99124304,"longitude_deg":76.3271616,"latitude_deg":9.9124304,"altitude":4,"angle":339,"satellites":38,"speed":9,"hex_longitude":"2d7e99c0","hex_latitude":"05e88450","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946430720001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124572082176000,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122955864288143360,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784947006000,"timestamp_ms":1784947006000,"timestamp_seconds":1784947006,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721da30"} 
[2026-07-25 08:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 08:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":140925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946430720001,"66":13102,"30":206,"87":13824,"24":9,"16":110124572082176000,"45":9122955864288143360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946430720001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:07:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:07:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124572082176000,"km_value":110124572082176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122955864288143360,"description":"Unknown IO ID 45"} 
[2026-07-25 08:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946430720001,"power":13102,"unknown_30":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9122955864288143360}} 
[2026-07-25 08:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":140925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:07:24] local.INFO: GPS data processed {"connection_id":140925,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:07:24] local.INFO: Acknowledgment sent {"connection_id":140925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:07:28] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721e200012d7e990005e885f00003014026..."} 
[2026-07-25 08:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721e200012d7e990005e885f00003014026..."} 
[2026-07-25 08:07:28] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721e200012d7e990005e885f00003014026..."} 
[2026-07-25 08:07:28] local.INFO: Packet analysis {"connection_id":140925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:07:28] local.INFO: Extracted packet for processing {"connection_id":140925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763271424,"raw_latitude":99124720,"longitude_deg":76.3271424,"latitude_deg":9.912472,"altitude":3,"angle":320,"satellites":38,"speed":8,"hex_longitude":"2d7e9900","hex_latitude":"05e885f0","is_valid_coordinates":true} 
[2026-07-25 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946433536001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124593557012480,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122533651824005120,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784947008000,"timestamp_ms":1784947008000,"timestamp_seconds":1784947008,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721e200"} 
[2026-07-25 08:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":46,"data_length":795,"current_offset":136} 
[2026-07-25 08:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":140925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:07: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-07-25 08:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946433536001,"66":13037,"30":206,"87":13824,"24":8,"16":110124593557012480,"45":9122533651824005120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946433536001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:07:28] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:07:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124593557012480,"km_value":110124593557012.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122533651824005120,"description":"Unknown IO ID 45"} 
[2026-07-25 08:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946433536001,"power":13037,"unknown_30":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9122533651824005120}} 
[2026-07-25 08:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":140925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:07:28] local.INFO: GPS data processed {"connection_id":140925,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:07:28] local.INFO: Acknowledgment sent {"connection_id":140925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:07:33] local.INFO: TCP Data received {"connection_id":141972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:07:33] local.INFO: Processing buffer {"connection_id":141972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:07:33] local.INFO: Packet analysis {"connection_id":141972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:07:33] local.INFO: Extracted packet for processing {"connection_id":141972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:07:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:07:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:07:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":141972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:07:33] local.INFO: GPS data processed {"connection_id":141972,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:07:33] local.INFO: Acknowledgment sent {"connection_id":141972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:07:59] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721e5e8012d7e980005e886880003013026..."} 
[2026-07-25 08:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721e5e8012d7e980005e886880003013026..."} 
[2026-07-25 08:07:59] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721e5e8012d7e980005e886880003013026..."} 
[2026-07-25 08:07:59] local.INFO: Packet analysis {"connection_id":140925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:07:59] local.INFO: Extracted packet for processing {"connection_id":140925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763271168,"raw_latitude":99124872,"longitude_deg":76.3271168,"latitude_deg":9.9124872,"altitude":3,"angle":304,"satellites":38,"speed":8,"hex_longitude":"2d7e9800","hex_latitude":"05e88688","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946434048001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124606441914368,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122322545591578624,"note":"Value kept but may cause issues"} 
[2026-07-25 08:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784947009000,"timestamp_ms":1784947009000,"timestamp_seconds":1784947009,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721e5e8"} 
[2026-07-25 08:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 08:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:07: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-07-25 08:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946434048001,"66":13037,"30":206,"87":13824,"24":8,"16":110124606441914368,"45":9122322545591578624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946434048001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:07:59] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124606441914368,"km_value":110124606441914.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122322545591578624,"description":"Unknown IO ID 45"} 
[2026-07-25 08:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946434048001,"power":13037,"unknown_30":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9122322545591578624}} 
[2026-07-25 08:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":140925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:07:59] local.INFO: GPS data processed {"connection_id":140925,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:07:59] local.INFO: Acknowledgment sent {"connection_id":140925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:08:01] local.INFO: TCP Data received {"connection_id":143317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:01] local.INFO: Processing buffer {"connection_id":143317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:01] local.INFO: IMEI packet received {"connection_id":143317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":143317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:08:06] local.INFO: TCP Data received {"connection_id":143317,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:06] local.INFO: Processing buffer {"connection_id":143317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:06] local.INFO: IMEI packet received {"connection_id":143317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":143317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:08:07] local.INFO: TCP Data received {"connection_id":143317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:08:07] local.INFO: Processing buffer {"connection_id":143317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:08:07] local.INFO: Packet analysis {"connection_id":143317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:08:07] local.INFO: Extracted packet for processing {"connection_id":143317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:08:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:08:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":143317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:08:07] local.INFO: GPS data processed {"connection_id":143317,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:08:07] local.INFO: Acknowledgment sent {"connection_id":143317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:08:11] local.INFO: TCP Data received {"connection_id":143317,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:08:11] local.INFO: Processing buffer {"connection_id":143317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:08:11] local.INFO: Packet analysis {"connection_id":143317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:08:11] local.INFO: Extracted packet for processing {"connection_id":143317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:08:11] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:08:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:08:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":143317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:08:11] local.INFO: GPS data processed {"connection_id":143317,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:08:11] local.INFO: Acknowledgment sent {"connection_id":143317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:08:30] local.INFO: TCP Data received {"connection_id":140925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721e9d0012d7e978005e886e80003012226..."} 
[2026-07-25 08:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721e9d0012d7e978005e886e80003012226..."} 
[2026-07-25 08:08:30] local.INFO: Processing buffer {"connection_id":140925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721e9d0012d7e978005e886e80003012226..."} 
[2026-07-25 08:08:30] local.INFO: Packet analysis {"connection_id":140925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:08:30] local.INFO: Extracted packet for processing {"connection_id":140925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763271040,"raw_latitude":99124968,"longitude_deg":76.327104,"latitude_deg":9.9124968,"altitude":3,"angle":290,"satellites":38,"speed":8,"hex_longitude":"2d7e9780","hex_latitude":"05e886e8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946434304001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124615031848960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122041070614906880,"note":"Value kept but may cause issues"} 
[2026-07-25 08:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784947010000,"timestamp_ms":1784947010000,"timestamp_seconds":1784947010,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721e9d0"} 
[2026-07-25 08:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 08:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":140925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":140925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:08: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-07-25 08:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946434304001,"66":12711,"30":206,"87":13824,"24":8,"16":110124615031848960,"45":9122041070614906880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946434304001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:08:30] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124615031848960,"km_value":110124615031848.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122041070614906880,"description":"Unknown IO ID 45"} 
[2026-07-25 08:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946434304001,"power":12711,"unknown_30":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9122041070614906880}} 
[2026-07-25 08:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":140925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:08:30] local.INFO: GPS data processed {"connection_id":140925,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:08:30] local.INFO: Acknowledgment sent {"connection_id":140925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:08:56] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:56] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:08:56] local.INFO: IMEI packet received {"connection_id":140926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":140926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:09:01] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:09:01] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:09:01] local.INFO: IMEI packet received {"connection_id":140926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":140926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:09:02] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:09:02] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:09:02] local.INFO: Packet analysis {"connection_id":140926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:09:02] local.INFO: Extracted packet for processing {"connection_id":140926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:09:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:09:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":140926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:09:02] local.INFO: GPS data processed {"connection_id":140926,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:09:02] local.INFO: Acknowledgment sent {"connection_id":140926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:09:13] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:09:13] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:09:13] local.INFO: IMEI packet received {"connection_id":140967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":140967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:09:17] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:09:17] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:09:17] local.INFO: IMEI packet received {"connection_id":140967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":140967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:09:18] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721edb8012d7e968005e887000002011226..."} 
[2026-07-25 08:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721edb8012d7e968005e887000002011226..."} 
[2026-07-25 08:09:18] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721edb8012d7e968005e887000002011226..."} 
[2026-07-25 08:09:18] local.INFO: Packet analysis {"connection_id":140967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:09:18] local.INFO: Extracted packet for processing {"connection_id":140967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763270784,"raw_latitude":99124992,"longitude_deg":76.3270784,"latitude_deg":9.9124992,"altitude":2,"angle":274,"satellites":38,"speed":7,"hex_longitude":"2d7e9680","hex_latitude":"05e88700","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946434560001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124627916750848,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121900333126576128,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784947011000,"timestamp_ms":1784947011000,"timestamp_seconds":1784947011,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721edb8"} 
[2026-07-25 08:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-25 08:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946434560001,"66":12711,"30":206,"87":13824,"24":7,"16":110124627916750848,"45":9121900333126576128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946434560001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:09:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124627916750848,"km_value":110124627916750.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121900333126576128,"description":"Unknown IO ID 45"} 
[2026-07-25 08:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946434560001,"power":12711,"unknown_30":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9121900333126576128}} 
[2026-07-25 08:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":140967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:09:18] local.INFO: GPS data processed {"connection_id":140967,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:09:18] local.INFO: Acknowledgment sent {"connection_id":140967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:09:33] local.INFO: TCP Data received {"connection_id":140926,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:09:33] local.INFO: Processing buffer {"connection_id":140926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:09:33] local.INFO: Packet analysis {"connection_id":140926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:09:33] local.INFO: Extracted packet for processing {"connection_id":140926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 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-07-25 08:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:09:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:09:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":140926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:09:33] local.INFO: GPS data processed {"connection_id":140926,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:09:33] local.INFO: Acknowledgment sent {"connection_id":140926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:09:49] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9721f588012d7e954005e886d0000100f626..."} 
[2026-07-25 08:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9721f588012d7e954005e886d0000100f626..."} 
[2026-07-25 08:09:49] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9721f588012d7e954005e886d0000100f626..."} 
[2026-07-25 08:09:49] local.INFO: Packet analysis {"connection_id":140967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:09:49] local.INFO: Extracted packet for processing {"connection_id":140967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9721"} 
[2026-07-25 08:09:49] local.INFO: GPS Element Parsed {"raw_longitude":763270464,"raw_latitude":99124944,"longitude_deg":76.3270464,"latitude_deg":9.9124944,"altitude":1,"angle":246,"satellites":38,"speed":7,"hex_longitude":"2d7e9540","hex_latitude":"05e886d0","is_valid_coordinates":true} 
[2026-07-25 08:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946434816001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124640801652736,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121618858149871616,"note":"Value kept but may cause issues"} 
[2026-07-25 08:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784947013000,"timestamp_ms":1784947013000,"timestamp_seconds":1784947013,"priority":1,"record_length":96,"hex_timestamp":"0000019f9721f588"} 
[2026-07-25 08:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-25 08:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":140967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":140967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":140967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946434816001,"66":13189,"30":206,"87":13824,"24":7,"16":110124640801652736,"45":9121618858149871616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946434816001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:09:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:09:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124640801652736,"km_value":110124640801652.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121618858149871616,"description":"Unknown IO ID 45"} 
[2026-07-25 08:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946434816001,"power":13189,"unknown_30":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9121618858149871616}} 
[2026-07-25 08:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":140967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:09:49] local.INFO: GPS data processed {"connection_id":140967,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:09:49] local.INFO: Acknowledgment sent {"connection_id":140967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:09:56] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:09:56] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:09:56] local.INFO: IMEI packet received {"connection_id":140927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":140927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:10:01] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:10:01] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:10:01] local.INFO: IMEI packet received {"connection_id":140927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":140927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:10:02] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:10:02] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:10:02] local.INFO: Packet analysis {"connection_id":140927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:10:02] local.INFO: Extracted packet for processing {"connection_id":140927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:10:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:10:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":140927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:10:02] local.INFO: GPS data processed {"connection_id":140927,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:10:02] local.INFO: Acknowledgment sent {"connection_id":140927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:10:13] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:10:13] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:10:13] local.INFO: IMEI packet received {"connection_id":140928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":140928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:10:18] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:10:18] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:10:18] local.INFO: IMEI packet received {"connection_id":140928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":140928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:10:19] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97221c98012d7e8c8005e881e8000000e524..."} 
[2026-07-25 08:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97221c98012d7e8c8005e881e8000000e524..."} 
[2026-07-25 08:10:19] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97221c98012d7e8c8005e881e8000000e524..."} 
[2026-07-25 08:10:19] local.INFO: Packet analysis {"connection_id":140928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9722"} 
[2026-07-25 08:10:19] local.INFO: Extracted packet for processing {"connection_id":140928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9722"} 
[2026-07-25 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":763268224,"raw_latitude":99123688,"longitude_deg":76.3268224,"latitude_deg":9.9123688,"altitude":0,"angle":229,"satellites":36,"speed":9,"hex_longitude":"2d7e8c80","hex_latitude":"05e881e8","is_valid_coordinates":true} 
[2026-07-25 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946435328001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124765355704320,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121267014428971008,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784947023000,"timestamp_ms":1784947023000,"timestamp_seconds":1784947023,"priority":1,"record_length":96,"hex_timestamp":"0000019f97221c98"} 
[2026-07-25 08:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 08:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946435328001,"66":12917,"30":206,"87":13824,"24":9,"16":110124765355704320,"45":9121267014428971008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946435328001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:10:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:10:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124765355704320,"km_value":110124765355704.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121267014428971008,"description":"Unknown IO ID 45"} 
[2026-07-25 08:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946435328001,"power":12917,"unknown_30":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9121267014428971008}} 
[2026-07-25 08:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":140928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:10:19] local.INFO: GPS data processed {"connection_id":140928,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:10:19] local.INFO: Acknowledgment sent {"connection_id":140928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:10:33] local.INFO: TCP Data received {"connection_id":140927,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:10:33] local.INFO: Processing buffer {"connection_id":140927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97204fa8012d49c0000673b728000a00da2d..."} 
[2026-07-25 08:10:33] local.INFO: Packet analysis {"connection_id":140927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:10:33] local.INFO: Extracted packet for processing {"connection_id":140927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9720"} 
[2026-07-25 08:10:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":45,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946330624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784946905000,"timestamp_ms":1784946905000,"timestamp_seconds":1784946905,"priority":1,"record_length":96,"hex_timestamp":"0000019f97204fa8"} 
[2026-07-25 08:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-07-25 08:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946330624001,"66":26115,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946330624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:10:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946330624001,"power":26115,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":140927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:10:33] local.INFO: GPS data processed {"connection_id":140927,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:10:33] local.INFO: Acknowledgment sent {"connection_id":140927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:10:50] local.INFO: TCP Data received {"connection_id":140928,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97223fc0012d7e898005e87f68000000e21e..."} 
[2026-07-25 08:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97223fc0012d7e898005e87f68000000e21e..."} 
[2026-07-25 08:10:50] local.INFO: Processing buffer {"connection_id":140928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97223fc0012d7e898005e87f68000000e21e..."} 
[2026-07-25 08:10:50] local.INFO: Packet analysis {"connection_id":140928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9722"} 
[2026-07-25 08:10:50] local.INFO: Extracted packet for processing {"connection_id":140928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9722"} 
[2026-07-25 08:10:50] local.INFO: GPS Element Parsed {"raw_longitude":763267456,"raw_latitude":99123048,"longitude_deg":76.3267456,"latitude_deg":9.9123048,"altitude":0,"angle":226,"satellites":30,"speed":1,"hex_longitude":"2d7e8980","hex_latitude":"05e87f68","is_valid_coordinates":true} 
[2026-07-25 08:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946437888001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124825485246464,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118804108382431232,"note":"Value kept but may cause issues"} 
[2026-07-25 08:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784947032000,"timestamp_ms":1784947032000,"timestamp_seconds":1784947032,"priority":1,"record_length":96,"hex_timestamp":"0000019f97223fc0"} 
[2026-07-25 08:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 08:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946437888001,"66":13091,"30":206,"87":13824,"24":1,"16":110124825485246464,"45":9118804108382431232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946437888001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:10:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:10:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124825485246464,"km_value":110124825485246.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118804108382431232,"description":"Unknown IO ID 45"} 
[2026-07-25 08:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946437888001,"power":13091,"unknown_30":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9118804108382431232}} 
[2026-07-25 08:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":140928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:10:50] local.INFO: GPS data processed {"connection_id":140928,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:10:50] local.INFO: Acknowledgment sent {"connection_id":140928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:10:56] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:10:56] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:10:56] local.INFO: IMEI packet received {"connection_id":140968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":140968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:11:01] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:11:01] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:11:01] local.INFO: IMEI packet received {"connection_id":140968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":140968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:11:02] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:11:02] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:11:02] local.INFO: Packet analysis {"connection_id":140968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9724"} 
[2026-07-25 08:11:02] local.INFO: Extracted packet for processing {"connection_id":140968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9724"} 
[2026-07-25 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946407680001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784947206000,"timestamp_ms":1784947206000,"timestamp_seconds":1784947206,"priority":1,"record_length":96,"hex_timestamp":"0000019f9724e770"} 
[2026-07-25 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-07-25 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946407680001,"66":26006,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946407680001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:11:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:11:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946407680001,"power":26006,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":140968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:11:02] local.INFO: GPS data processed {"connection_id":140968,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:11:02] local.INFO: Acknowledgment sent {"connection_id":140968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:11:12] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:11:12] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:11:12] local.INFO: IMEI packet received {"connection_id":140929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":140929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:11:13] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 08:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 08:11:13] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 08:11:13] local.INFO: IMEI packet received {"connection_id":140929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":140929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:11:18] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:11:18] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 08:11:18] local.INFO: IMEI packet received {"connection_id":140929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":140929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:11:19] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97223fc0012d7e898005e87f68000000e21e..."} 
[2026-07-25 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97223fc0012d7e898005e87f68000000e21e..."} 
[2026-07-25 08:11:19] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f97..."} 
[2026-07-25 08:11:19] local.INFO: IMEI packet received {"connection_id":140929,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":140929,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:11:23] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9725e558012d7e880005e87f28000000e221..."} 
[2026-07-25 08:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9725e558012d7e880005e87f28000000e221..."} 
[2026-07-25 08:11:23] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f97223fc0012d7e898005e87f68000000e21e..."} 
[2026-07-25 08:11:23] local.INFO: Packet analysis {"connection_id":140929,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f9722"} 
[2026-07-25 08:11:23] local.INFO: Extracted packet for processing {"connection_id":140929,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9722"} 
[2026-07-25 08:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763267456,"raw_latitude":99123048,"longitude_deg":76.3267456,"latitude_deg":9.9123048,"altitude":0,"angle":226,"satellites":30,"speed":1,"hex_longitude":"2d7e8980","hex_latitude":"05e87f68","is_valid_coordinates":true} 
[2026-07-25 08:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946440192001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124825485246464,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117959683452135424,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784947032000,"timestamp_ms":1784947032000,"timestamp_seconds":1784947032,"priority":1,"record_length":96,"hex_timestamp":"0000019f97223fc0"} 
[2026-07-25 08:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:11: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-07-25 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 08:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946440192001,"66":13091,"30":206,"87":13824,"24":1,"16":110124825485246464,"45":9117959683452135424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946440192001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124825485246464,"km_value":110124825485246.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117959683452135424,"description":"Unknown IO ID 45"} 
[2026-07-25 08:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946440192001,"power":13091,"unknown_30":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9117959683452135424}} 
[2026-07-25 08:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":140929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:11:23] local.INFO: GPS data processed {"connection_id":140929,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:11:23] local.INFO: Acknowledgment sent {"connection_id":140929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:11:23] local.INFO: Packet analysis {"connection_id":140929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9725"} 
[2026-07-25 08:11:23] local.INFO: Extracted packet for processing {"connection_id":140929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9725"} 
[2026-07-25 08:11:23] local.INFO: GPS Element Parsed {"raw_longitude":763267072,"raw_latitude":99122984,"longitude_deg":76.3267072,"latitude_deg":9.9122984,"altitude":0,"angle":226,"satellites":33,"speed":0,"hex_longitude":"2d7e8800","hex_latitude":"05e87f28","is_valid_coordinates":true} 
[2026-07-25 08:11: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-07-25 08:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946440192001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124825485246464,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117959683452135424,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784947271000,"timestamp_ms":1784947271000,"timestamp_seconds":1784947271,"priority":1,"record_length":96,"hex_timestamp":"0000019f9725e558"} 
[2026-07-25 08:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:11: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-07-25 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 08:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946440192001,"66":12765,"30":206,"87":13824,"24":0,"16":110124825485246464,"45":9117959683452135424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946440192001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124825485246464,"km_value":110124825485246.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117959683452135424,"description":"Unknown IO ID 45"} 
[2026-07-25 08:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946440192001,"power":12765,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9117959683452135424}} 
[2026-07-25 08:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":140929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:11:23] local.INFO: GPS data processed {"connection_id":140929,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:11:23] local.INFO: Acknowledgment sent {"connection_id":140929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:11:33] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:11:33] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:11:33] local.INFO: Packet analysis {"connection_id":140968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9724"} 
[2026-07-25 08:11:33] local.INFO: Extracted packet for processing {"connection_id":140968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9724"} 
[2026-07-25 08:11:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946407680001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784947206000,"timestamp_ms":1784947206000,"timestamp_seconds":1784947206,"priority":1,"record_length":96,"hex_timestamp":"0000019f9724e770"} 
[2026-07-25 08:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946407680001,"66":26006,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946407680001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:11:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:11:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946407680001,"power":26006,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":140968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:11:33] local.INFO: GPS data processed {"connection_id":140968,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:11:33] local.INFO: Acknowledgment sent {"connection_id":140968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:11:54] local.INFO: TCP Data received {"connection_id":140929,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9725e558012d7e880005e87f28000000e221..."} 
[2026-07-25 08:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9725e558012d7e880005e87f28000000e221..."} 
[2026-07-25 08:11:55] local.INFO: Processing buffer {"connection_id":140929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9725e558012d7e880005e87f28000000e221..."} 
[2026-07-25 08:11:55] local.INFO: Packet analysis {"connection_id":140929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9725"} 
[2026-07-25 08:11:55] local.INFO: Extracted packet for processing {"connection_id":140929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9725"} 
[2026-07-25 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763267072,"raw_latitude":99122984,"longitude_deg":76.3267072,"latitude_deg":9.9122984,"altitude":0,"angle":226,"satellites":33,"speed":0,"hex_longitude":"2d7e8800","hex_latitude":"05e87f28","is_valid_coordinates":true} 
[2026-07-25 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946501376001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124825485246464,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117537470987053056,"note":"Value kept but may cause issues"} 
[2026-07-25 08:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784947271000,"timestamp_ms":1784947271000,"timestamp_seconds":1784947271,"priority":1,"record_length":96,"hex_timestamp":"0000019f9725e558"} 
[2026-07-25 08:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 08:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":140929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":140929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":140929,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946501376001,"66":12765,"30":206,"87":13824,"24":0,"16":110124825485246464,"45":9117537470987053056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946501376001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:11:55] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:11:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124825485246464,"km_value":110124825485246.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117537470987053056,"description":"Unknown IO ID 45"} 
[2026-07-25 08:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946501376001,"power":12765,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9117537470987053056}} 
[2026-07-25 08:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":140929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":541999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:11:55] local.INFO: GPS data processed {"connection_id":140929,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:11:55] local.INFO: Acknowledgment sent {"connection_id":140929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:11:56] local.INFO: TCP Data received {"connection_id":143318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:11:56] local.INFO: Processing buffer {"connection_id":143318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:11:56] local.INFO: IMEI packet received {"connection_id":143318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":143318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:12:01] local.INFO: TCP Data received {"connection_id":143318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:12:01] local.INFO: Processing buffer {"connection_id":143318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:12:01] local.INFO: IMEI packet received {"connection_id":143318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":143318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:12:01] local.INFO: TCP Data received {"connection_id":143318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:12:01] local.INFO: Processing buffer {"connection_id":143318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9724e770012d49c0000673b728000a00da2f..."} 
[2026-07-25 08:12:01] local.INFO: Packet analysis {"connection_id":143318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9724"} 
[2026-07-25 08:12:01] local.INFO: Extracted packet for processing {"connection_id":143318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9724"} 
[2026-07-25 08:12:01] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946407680001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784947206000,"timestamp_ms":1784947206000,"timestamp_seconds":1784947206,"priority":1,"record_length":96,"hex_timestamp":"0000019f9724e770"} 
[2026-07-25 08:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946407680001,"66":26006,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946407680001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946407680001,"power":26006,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":143318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:12:01] local.INFO: GPS data processed {"connection_id":143318,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:12:01] local.INFO: Acknowledgment sent {"connection_id":143318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:12:13] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:13] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:13] local.INFO: IMEI packet received {"connection_id":140969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":140969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:12:13] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:13] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:13] local.INFO: IMEI packet received {"connection_id":140969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":140969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:12:18] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:18] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:12:18] local.INFO: IMEI packet received {"connection_id":140969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":140969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:12:19] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97261c08012d7e880005e88070000000f524..."} 
[2026-07-25 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97261c08012d7e880005e88070000000f524..."} 
[2026-07-25 08:12:19] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97261c08012d7e880005e88070000000f524..."} 
[2026-07-25 08:12:19] local.INFO: Packet analysis {"connection_id":140969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:12:19] local.INFO: Extracted packet for processing {"connection_id":140969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:12:19] local.INFO: GPS Element Parsed {"raw_longitude":763267072,"raw_latitude":99123312,"longitude_deg":76.3267072,"latitude_deg":9.9123312,"altitude":0,"angle":245,"satellites":36,"speed":4,"hex_longitude":"2d7e8800","hex_latitude":"05e88070","is_valid_coordinates":true} 
[2026-07-25 08:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946501376001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124846960082944,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117537470987053056,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784947285000,"timestamp_ms":1784947285000,"timestamp_seconds":1784947285,"priority":1,"record_length":96,"hex_timestamp":"0000019f97261c08"} 
[2026-07-25 08:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 08:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946501376001,"66":11895,"30":206,"87":13824,"24":4,"16":110124846960082944,"45":9117537470987053056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946501376001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:12:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:12:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124846960082944,"km_value":110124846960082.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117537470987053056,"description":"Unknown IO ID 45"} 
[2026-07-25 08:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946501376001,"power":11895,"unknown_30":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9117537470987053056}} 
[2026-07-25 08:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":140969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:12:19] local.INFO: GPS data processed {"connection_id":140969,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:12:19] local.INFO: Acknowledgment sent {"connection_id":140969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:12:33] local.INFO: TCP Data received {"connection_id":143318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97261c08012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97261c08012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:12:33] local.INFO: Processing buffer {"connection_id":143318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97261c08012d49c0000673b728000a00da2e..."} 
[2026-07-25 08:12:33] local.INFO: Packet analysis {"connection_id":143318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:12:33] local.INFO: Extracted packet for processing {"connection_id":143318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":759808000,"raw_latitude":108246824,"longitude_deg":75.9808,"latitude_deg":10.8246824,"altitude":10,"angle":218,"satellites":46,"speed":0,"hex_longitude":"2d49c000","hex_latitude":"0673b728","is_valid_coordinates":true} 
[2026-07-25 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946484736001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784947285000,"timestamp_ms":1784947285000,"timestamp_seconds":1784947285,"priority":1,"record_length":96,"hex_timestamp":"0000019f97261c08"} 
[2026-07-25 08:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 08:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946484736001,"66":25875,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946484736001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:12:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:12:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946484736001,"power":25875,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":143318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:12:33] local.INFO: GPS data processed {"connection_id":143318,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:12:33] local.INFO: Acknowledgment sent {"connection_id":143318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:12:50] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97263b48012d7e834005e87d88000000e823..."} 
[2026-07-25 08:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97263b48012d7e834005e87d88000000e823..."} 
[2026-07-25 08:12:50] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97263b48012d7e834005e87d88000000e823..."} 
[2026-07-25 08:12:50] local.INFO: Packet analysis {"connection_id":140969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:12:50] local.INFO: Extracted packet for processing {"connection_id":140969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763265856,"raw_latitude":99122568,"longitude_deg":76.3265856,"latitude_deg":9.9122568,"altitude":0,"angle":232,"satellites":35,"speed":4,"hex_longitude":"2d7e8340","hex_latitude":"05e87d88","is_valid_coordinates":true} 
[2026-07-25 08:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946504960001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110124915679559680,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117537470987137024,"note":"Value kept but may cause issues"} 
[2026-07-25 08:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784947293000,"timestamp_ms":1784947293000,"timestamp_seconds":1784947293,"priority":1,"record_length":96,"hex_timestamp":"0000019f97263b48"} 
[2026-07-25 08:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946504960001,"66":11721,"30":206,"87":13824,"24":4,"16":110124915679559680,"45":9117537470987137024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946504960001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:12:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:12:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110124915679559680,"km_value":110124915679559.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117537470987137024,"description":"Unknown IO ID 45"} 
[2026-07-25 08:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946504960001,"power":11721,"unknown_30":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9117537470987137024}} 
[2026-07-25 08:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":140969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:12:50] local.INFO: GPS data processed {"connection_id":140969,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:12:50] local.INFO: Acknowledgment sent {"connection_id":140969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:12:57] local.INFO: TCP Data received {"connection_id":141973,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:12:57] local.INFO: Processing buffer {"connection_id":141973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:12:57] local.INFO: IMEI packet received {"connection_id":141973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":141973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:13:06] local.INFO: TCP Data received {"connection_id":141973,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:06] local.INFO: Processing buffer {"connection_id":141973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:06] local.INFO: IMEI packet received {"connection_id":141973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":141973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:13:07] local.INFO: TCP Data received {"connection_id":141973,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972679c8012d49afc00673a400000a00dc2f..."} 
[2026-07-25 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972679c8012d49afc00673a400000a00dc2f..."} 
[2026-07-25 08:13:07] local.INFO: Processing buffer {"connection_id":141973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972679c8012d49afc00673a400000a00dc2f..."} 
[2026-07-25 08:13:07] local.INFO: Packet analysis {"connection_id":141973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:13:07] local.INFO: Extracted packet for processing {"connection_id":141973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":759803840,"raw_latitude":108241920,"longitude_deg":75.980384,"latitude_deg":10.824192,"altitude":10,"angle":220,"satellites":47,"speed":0,"hex_longitude":"2d49afc0","hex_latitude":"0673a400","is_valid_coordinates":true} 
[2026-07-25 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946504960001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5314247588008372224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784947309000,"timestamp_ms":1784947309000,"timestamp_seconds":1784947309,"priority":1,"record_length":96,"hex_timestamp":"0000019f972679c8"} 
[2026-07-25 08:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 08:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946504960001,"66":27767,"81":206,"80":60160,"24":0,"16":357129794837544960,"45":5314247588008372224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946504960001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:13:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:13:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5314247588008372224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946504960001,"power":27767,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5314247588008372224}} 
[2026-07-25 08:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":141973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:13:07] local.INFO: GPS data processed {"connection_id":141973,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:13:07] local.INFO: Acknowledgment sent {"connection_id":141973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:13:14] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:14] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:14] local.INFO: IMEI packet received {"connection_id":140970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":140970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:13:16] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:16] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:16] local.INFO: IMEI packet received {"connection_id":140970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":140970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:13:17] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:17] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:17] local.INFO: IMEI packet received {"connection_id":140970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":140970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:13:17] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:17] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:13:17] local.INFO: IMEI packet received {"connection_id":140970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":140970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:13:38] local.INFO: TCP Data received {"connection_id":141973,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9726cbd0012d49afc00673a400000a00dc2f..."} 
[2026-07-25 08:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9726cbd0012d49afc00673a400000a00dc2f..."} 
[2026-07-25 08:13:38] local.INFO: Processing buffer {"connection_id":141973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9726cbd0012d49afc00673a400000a00dc2f..."} 
[2026-07-25 08:13:38] local.INFO: Packet analysis {"connection_id":141973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:13:38] local.INFO: Extracted packet for processing {"connection_id":141973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9726"} 
[2026-07-25 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":759803840,"raw_latitude":108241920,"longitude_deg":75.980384,"latitude_deg":10.824192,"altitude":10,"angle":220,"satellites":47,"speed":0,"hex_longitude":"2d49afc0","hex_latitude":"0673a400","is_valid_coordinates":true} 
[2026-07-25 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946511104001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357129794837544960,"note":"Value kept but may cause issues"} 
[2026-07-25 08:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309673619635568640,"note":"Value kept but may cause issues"} 
[2026-07-25 08:13:38] 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-07-25 08:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784947330000,"timestamp_ms":1784947330000,"timestamp_seconds":1784947330,"priority":1,"record_length":96,"hex_timestamp":"0000019f9726cbd0"} 
[2026-07-25 08:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946511104001,"66":27821,"218":206,"80":60160,"24":0,"16":357129794837544960,"45":5309673619635568640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-07-25 08:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946511104001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:13:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-25 08:13:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357129794837544960,"km_value":357129794837544.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309673619635568640,"description":"Unknown IO ID 45"} 
[2026-07-25 08:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946511104001,"power":27821,"unknown_218":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5309673619635568640}} 
[2026-07-25 08:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":141973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:13:38] local.INFO: GPS data processed {"connection_id":141973,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:13:38] local.INFO: Acknowledgment sent {"connection_id":141973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:13:56] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:56] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:56] local.INFO: IMEI packet received {"connection_id":143319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":143319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:13:59] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:59] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:13:59] local.INFO: IMEI packet received {"connection_id":143319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":143319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:14:01] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:01] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:01] local.INFO: IMEI packet received {"connection_id":143319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":143319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:14:07] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972719f0012d499800067388c8000e00db2e..."} 
[2026-07-25 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972719f0012d499800067388c8000e00db2e..."} 
[2026-07-25 08:14:07] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972719f0012d499800067388c8000e00db2e..."} 
[2026-07-25 08:14:07] local.INFO: Packet analysis {"connection_id":143319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:14:07] local.INFO: Extracted packet for processing {"connection_id":143319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:14:07] local.INFO: GPS Element Parsed {"raw_longitude":759797760,"raw_latitude":108234952,"longitude_deg":75.979776,"latitude_deg":10.8234952,"altitude":14,"angle":219,"satellites":46,"speed":29,"hex_longitude":"2d499800","hex_latitude":"067388c8","is_valid_coordinates":true} 
[2026-07-25 08:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946516480001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357130241514143744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309673619635568640,"note":"Value kept but may cause issues"} 
[2026-07-25 08:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784947350000,"timestamp_ms":1784947350000,"timestamp_seconds":1784947350,"priority":1,"record_length":96,"hex_timestamp":"0000019f972719f0"} 
[2026-07-25 08:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 08:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946516480001,"66":27821,"81":206,"80":60160,"24":29,"16":357130241514143744,"45":5309673619635568640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-07-25 08:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946516480001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 08:14:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357130241514143744,"km_value":357130241514143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309673619635568640,"description":"Unknown IO ID 45"} 
[2026-07-25 08:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946516480001,"power":27821,"unknown_81":206,"unknown_80":60160,"ignition":29,"odometer":null,"unknown_45":5309673619635568640}} 
[2026-07-25 08:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":143319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:14:08] local.INFO: GPS data processed {"connection_id":143319,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:14:08] local.INFO: Acknowledgment sent {"connection_id":143319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:14:47] local.INFO: TCP Data received {"connection_id":143319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972744e8012d49820006736da8000f00db2f..."} 
[2026-07-25 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972744e8012d49820006736da8000f00db2f..."} 
[2026-07-25 08:14:47] local.INFO: Processing buffer {"connection_id":143319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972744e8012d49820006736da8000f00db2f..."} 
[2026-07-25 08:14:47] local.INFO: Packet analysis {"connection_id":143319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:14:47] local.INFO: Extracted packet for processing {"connection_id":143319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:14:47] local.INFO: GPS Element Parsed {"raw_longitude":759792128,"raw_latitude":108228008,"longitude_deg":75.9792128,"latitude_deg":10.8228008,"altitude":15,"angle":219,"satellites":47,"speed":34,"hex_longitude":"2d498200","hex_latitude":"06736da8","is_valid_coordinates":true} 
[2026-07-25 08:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946521600001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357130671010873344,"note":"Value kept but may cause issues"} 
[2026-07-25 08:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5302988588936906752,"note":"Value kept but may cause issues"} 
[2026-07-25 08:14:47] 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-07-25 08:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784947361000,"timestamp_ms":1784947361000,"timestamp_seconds":1784947361,"priority":1,"record_length":96,"hex_timestamp":"0000019f972744e8"} 
[2026-07-25 08:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:14: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-07-25 08: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":173,"data_length":795,"current_offset":136} 
[2026-07-25 08:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946521600001,"66":27800,"218":206,"80":60160,"24":34,"16":357130671010873344,"45":5302988588936906752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-07-25 08:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946521600001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:14:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-25 08:14:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357130671010873344,"km_value":357130671010873.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5302988588936906752,"description":"Unknown IO ID 45"} 
[2026-07-25 08:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946521600001,"power":27800,"unknown_218":206,"unknown_80":60160,"ignition":34,"odometer":null,"unknown_45":5302988588936906752}} 
[2026-07-25 08:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":143319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:14:47] local.INFO: GPS data processed {"connection_id":143319,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:14:47] local.INFO: Acknowledgment sent {"connection_id":143319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:14:56] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:56] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:56] local.INFO: IMEI packet received {"connection_id":140971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":140971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:14:57] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:57] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:14:57] local.INFO: IMEI packet received {"connection_id":140971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":140971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:15:01] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:15:01] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:15:01] local.INFO: IMEI packet received {"connection_id":140971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":140971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:15:03] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97276fe0012d496a40067350a8001100db2f..."} 
[2026-07-25 08:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97276fe0012d496a40067350a8001100db2f..."} 
[2026-07-25 08:15:03] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97276fe0012d496a40067350a8001100db2f..."} 
[2026-07-25 08:15:03] local.INFO: Packet analysis {"connection_id":140971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:15:03] local.INFO: Extracted packet for processing {"connection_id":140971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":759786048,"raw_latitude":108220584,"longitude_deg":75.9786048,"latitude_deg":10.8220584,"altitude":17,"angle":219,"satellites":47,"speed":35,"hex_longitude":"2d496a40","hex_latitude":"067350a8","is_valid_coordinates":true} 
[2026-07-25 08:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946524416001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357131134867341312,"note":"Value kept but may cause issues"} 
[2026-07-25 08:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5296796139447494656,"note":"Value kept but may cause issues"} 
[2026-07-25 08:15:03] 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-07-25 08:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784947372000,"timestamp_ms":1784947372000,"timestamp_seconds":1784947372,"priority":1,"record_length":96,"hex_timestamp":"0000019f97276fe0"} 
[2026-07-25 08:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946524416001,"66":27930,"218":206,"80":60160,"24":35,"16":357131134867341312,"45":5296796139447494656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-07-25 08:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946524416001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:15:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-25 08:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357131134867341312,"km_value":357131134867341.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5296796139447494656,"description":"Unknown IO ID 45"} 
[2026-07-25 08:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946524416001,"power":27930,"unknown_218":206,"unknown_80":60160,"ignition":35,"odometer":null,"unknown_45":5296796139447494656}} 
[2026-07-25 08:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":140971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:15:03] local.INFO: GPS data processed {"connection_id":140971,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:15:03] local.INFO: Acknowledgment sent {"connection_id":140971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:15:38] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972915c0012d4811c00671c4c0000d00df2f..."} 
[2026-07-25 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972915c0012d4811c00671c4c0000d00df2f..."} 
[2026-07-25 08:15:38] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972915c0012d4811c00671c4c0000d00df2f..."} 
[2026-07-25 08:15:38] local.INFO: Packet analysis {"connection_id":140971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:15:38] local.INFO: Extracted packet for processing {"connection_id":140971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":759697856,"raw_latitude":108119232,"longitude_deg":75.9697856,"latitude_deg":10.8119232,"altitude":13,"angle":223,"satellites":47,"speed":58,"hex_longitude":"2d4811c0","hex_latitude":"0671c4c0","is_valid_coordinates":true} 
[2026-07-25 08:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946553088001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357137603088089088,"note":"Value kept but may cause issues"} 
[2026-07-25 08:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5200813172363239424,"note":"Value kept but may cause issues"} 
[2026-07-25 08:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784947480000,"timestamp_ms":1784947480000,"timestamp_seconds":1784947480,"priority":1,"record_length":96,"hex_timestamp":"0000019f972915c0"} 
[2026-07-25 08:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946553088001,"66":27865,"38":206,"80":60160,"24":58,"16":357137603088089088,"45":5200813172363239424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-25 08:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946553088001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:15:38] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 08:15:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357137603088089088,"km_value":357137603088089.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5200813172363239424,"description":"Unknown IO ID 45"} 
[2026-07-25 08:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946553088001,"power":27865,"unknown_38":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5200813172363239424}} 
[2026-07-25 08:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":140971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:15:38] local.INFO: GPS data processed {"connection_id":140971,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:15:38] local.INFO: Acknowledgment sent {"connection_id":140971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:15:56] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:15:56] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:15:56] local.INFO: IMEI packet received {"connection_id":140931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":140931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:16:00] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:00] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:00] local.INFO: IMEI packet received {"connection_id":140931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":140931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:16:01] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:01] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:01] local.INFO: IMEI packet received {"connection_id":140931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":140931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:16:01] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97293118012d47f6000671a7e0000c00df2d..."} 
[2026-07-25 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97293118012d47f6000671a7e0000c00df2d..."} 
[2026-07-25 08:16:01] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97293118012d47f6000671a7e0000c00df2d..."} 
[2026-07-25 08:16:01] local.INFO: Packet analysis {"connection_id":140931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:16:01] local.INFO: Extracted packet for processing {"connection_id":140931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":759690752,"raw_latitude":108111840,"longitude_deg":75.9690752,"latitude_deg":10.811184,"altitude":12,"angle":223,"satellites":45,"speed":56,"hex_longitude":"2d47f600","hex_latitude":"0671a7e0","is_valid_coordinates":true} 
[2026-07-25 08:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946554880001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357138092714360832,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5193142979245948928,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784947487000,"timestamp_ms":1784947487000,"timestamp_seconds":1784947487,"priority":1,"record_length":96,"hex_timestamp":"0000019f97293118"} 
[2026-07-25 08:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946554880001,"66":27865,"38":206,"80":60160,"24":56,"16":357138092714360832,"45":5193142979245948928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-25 08:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946554880001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:16:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 08:16:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357138092714360832,"km_value":357138092714360.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5193142979245948928,"description":"Unknown IO ID 45"} 
[2026-07-25 08:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946554880001,"power":27865,"unknown_38":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5193142979245948928}} 
[2026-07-25 08:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":140931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:16:01] local.INFO: GPS data processed {"connection_id":140931,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:16:01] local.INFO: Acknowledgment sent {"connection_id":140931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:16:06] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97294c70012d47db8006718bc8000b00df2e..."} 
[2026-07-25 08:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97294c70012d47db8006718bc8000b00df2e..."} 
[2026-07-25 08:16:06] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97294c70012d47db8006718bc8000b00df2e..."} 
[2026-07-25 08:16:06] local.INFO: Packet analysis {"connection_id":140931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:16:06] local.INFO: Extracted packet for processing {"connection_id":140931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":759683968,"raw_latitude":108104648,"longitude_deg":75.9683968,"latitude_deg":10.8104648,"altitude":11,"angle":223,"satellites":46,"speed":54,"hex_longitude":"2d47db80","hex_latitude":"06718bc8","is_valid_coordinates":true} 
[2026-07-25 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946556672001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357138569455730688,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5185332048640335872,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784947494000,"timestamp_ms":1784947494000,"timestamp_seconds":1784947494,"priority":1,"record_length":96,"hex_timestamp":"0000019f97294c70"} 
[2026-07-25 08:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":140931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946556672001,"66":27919,"38":206,"80":60160,"24":54,"16":357138569455730688,"45":5185332048640335872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-25 08:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946556672001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357138569455730688,"km_value":357138569455730.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5185332048640335872,"description":"Unknown IO ID 45"} 
[2026-07-25 08:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946556672001,"power":27919,"unknown_38":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5185332048640335872}} 
[2026-07-25 08:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":140931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:16:06] local.INFO: GPS data processed {"connection_id":140931,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:16:06] local.INFO: Acknowledgment sent {"connection_id":140931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:16:37] local.INFO: TCP Data received {"connection_id":140931,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972967c8012d47c28006717110000a00de2e..."} 
[2026-07-25 08:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972967c8012d47c28006717110000a00de2e..."} 
[2026-07-25 08:16:37] local.INFO: Processing buffer {"connection_id":140931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972967c8012d47c28006717110000a00de2e..."} 
[2026-07-25 08:16:37] local.INFO: Packet analysis {"connection_id":140931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:16:37] local.INFO: Extracted packet for processing {"connection_id":140931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":759677568,"raw_latitude":108097808,"longitude_deg":75.9677568,"latitude_deg":10.8097808,"altitude":10,"angle":222,"satellites":46,"speed":51,"hex_longitude":"2d47c280","hex_latitude":"06717110","is_valid_coordinates":true} 
[2026-07-25 08:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946558464001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357139020427296768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5177872961755662336,"note":"Value kept but may cause issues"} 
[2026-07-25 08:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784947501000,"timestamp_ms":1784947501000,"timestamp_seconds":1784947501,"priority":1,"record_length":96,"hex_timestamp":"0000019f972967c8"} 
[2026-07-25 08:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 08:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946558464001,"66":27865,"38":206,"80":60160,"24":51,"16":357139020427296768,"45":5177872961755662336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-25 08:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946558464001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:16:37] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 08:16:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357139020427296768,"km_value":357139020427296.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5177872961755662336,"description":"Unknown IO ID 45"} 
[2026-07-25 08:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946558464001,"power":27865,"unknown_38":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5177872961755662336}} 
[2026-07-25 08:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":140931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:16:37] local.INFO: GPS data processed {"connection_id":140931,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:16:37] local.INFO: Acknowledgment sent {"connection_id":140931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:16:59] local.INFO: TCP Data received {"connection_id":143321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:59] local.INFO: Processing buffer {"connection_id":143321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:16:59] local.INFO: IMEI packet received {"connection_id":143321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":143321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:17:01] local.INFO: TCP Data received {"connection_id":143321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:01] local.INFO: Processing buffer {"connection_id":143321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:01] local.INFO: IMEI packet received {"connection_id":143321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":143321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:17:06] local.INFO: TCP Data received {"connection_id":143321,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:06] local.INFO: Processing buffer {"connection_id":143321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:06] local.INFO: IMEI packet received {"connection_id":143321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":143321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:17:08] local.INFO: TCP Data received {"connection_id":143321,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97298320012d47a9c0067156c0000a00df2d..."} 
[2026-07-25 08:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97298320012d47a9c0067156c0000a00df2d..."} 
[2026-07-25 08:17:08] local.INFO: Processing buffer {"connection_id":143321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97298320012d47a9c0067156c0000a00df2d..."} 
[2026-07-25 08:17:08] local.INFO: Packet analysis {"connection_id":143321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:17:08] local.INFO: Extracted packet for processing {"connection_id":143321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9729"} 
[2026-07-25 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":759671232,"raw_latitude":108091072,"longitude_deg":75.9671232,"latitude_deg":10.8091072,"altitude":10,"angle":223,"satellites":45,"speed":53,"hex_longitude":"2d47a9c0","hex_latitude":"067156c0","is_valid_coordinates":true} 
[2026-07-25 08:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946560256001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357139462808928256,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5170836087336144896,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784947508000,"timestamp_ms":1784947508000,"timestamp_seconds":1784947508,"priority":1,"record_length":96,"hex_timestamp":"0000019f97298320"} 
[2026-07-25 08:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946560256001,"66":27930,"38":206,"80":60160,"24":53,"16":357139462808928256,"45":5170836087336144896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-07-25 08:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946560256001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:17:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 08:17:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357139462808928256,"km_value":357139462808928.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5170836087336144896,"description":"Unknown IO ID 45"} 
[2026-07-25 08:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946560256001,"power":27930,"unknown_38":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5170836087336144896}} 
[2026-07-25 08:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":143321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:17:08] local.INFO: GPS data processed {"connection_id":143321,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:17:08] local.INFO: Acknowledgment sent {"connection_id":143321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:17:40] local.INFO: TCP Data received {"connection_id":143321,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972af638012d4668c0066fdb48000b00e22d..."} 
[2026-07-25 08:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972af638012d4668c0066fdb48000b00e22d..."} 
[2026-07-25 08:17:40] local.INFO: Processing buffer {"connection_id":143321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972af638012d4668c0066fdb48000b00e22d..."} 
[2026-07-25 08:17:40] local.INFO: Packet analysis {"connection_id":143321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972a"} 
[2026-07-25 08:17:40] local.INFO: Extracted packet for processing {"connection_id":143321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972a"} 
[2026-07-25 08:17:40] local.INFO: GPS Element Parsed {"raw_longitude":759589056,"raw_latitude":107993928,"longitude_deg":75.9589056,"latitude_deg":10.7993928,"altitude":11,"angle":226,"satellites":45,"speed":56,"hex_longitude":"2d4668c0","hex_latitude":"066fdb48","is_valid_coordinates":true} 
[2026-07-25 08:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946584576001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357145596022226944,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5080975200996524032,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784947603000,"timestamp_ms":1784947603000,"timestamp_seconds":1784947603,"priority":1,"record_length":96,"hex_timestamp":"0000019f972af638"} 
[2026-07-25 08:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 08:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946584576001,"66":27865,"69":206,"80":60160,"24":56,"16":357145596022226944,"45":5080975200996524032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-25 08:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946584576001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:17:40] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 08:17:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357145596022226944,"km_value":357145596022226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5080975200996524032,"description":"Unknown IO ID 45"} 
[2026-07-25 08:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946584576001,"power":27865,"unknown_69":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5080975200996524032}} 
[2026-07-25 08:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":143321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:17:40] local.INFO: GPS data processed {"connection_id":143321,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:17:40] local.INFO: Acknowledgment sent {"connection_id":143321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:17:56] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:56] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:56] local.INFO: IMEI packet received {"connection_id":143322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":143322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:17:58] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:58] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:17:58] local.INFO: IMEI packet received {"connection_id":143322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":143322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:17:59] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972b1190012d464c40066fc1b0000a00e42d..."} 
[2026-07-25 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972b1190012d464c40066fc1b0000a00e42d..."} 
[2026-07-25 08:17:59] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972b1190012d464c40066fc1b0000a00e42d..."} 
[2026-07-25 08:17:59] local.INFO: Packet analysis {"connection_id":143322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972b"} 
[2026-07-25 08:17:59] local.INFO: Extracted packet for processing {"connection_id":143322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972b"} 
[2026-07-25 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":759581760,"raw_latitude":107987376,"longitude_deg":75.958176,"latitude_deg":10.7987376,"altitude":10,"angle":228,"satellites":45,"speed":54,"hex_longitude":"2d464c40","hex_latitude":"066fc1b0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946586368001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357146068468629504,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5073516114111842304,"note":"Value kept but may cause issues"} 
[2026-07-25 08:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784947610000,"timestamp_ms":1784947610000,"timestamp_seconds":1784947610,"priority":1,"record_length":96,"hex_timestamp":"0000019f972b1190"} 
[2026-07-25 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-07-25 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:17: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-07-25 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-07-25 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-07-25 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946586368001,"66":27930,"69":206,"80":60160,"24":54,"16":357146068468629504,"45":5073516114111842304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-25 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946586368001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:17:59] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 08:17:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357146068468629504,"km_value":357146068468629.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5073516114111842304,"description":"Unknown IO ID 45"} 
[2026-07-25 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946586368001,"power":27930,"unknown_69":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5073516114111842304}} 
[2026-07-25 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":143322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:17:59] local.INFO: GPS data processed {"connection_id":143322,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:17:59] local.INFO: Acknowledgment sent {"connection_id":143322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:18:23] local.INFO: TCP Data received {"connection_id":141974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:18:23] local.INFO: Processing buffer {"connection_id":141974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:18:23] local.INFO: IMEI packet received {"connection_id":141974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":141974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:18:24] local.INFO: TCP Data received {"connection_id":141974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9727be00012d7e7c0005e87bf80000014525..."} 
[2026-07-25 08:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9727be00012d7e7c0005e87bf80000014525..."} 
[2026-07-25 08:18:24] local.INFO: Processing buffer {"connection_id":141974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9727be00012d7e7c0005e87bf80000014525..."} 
[2026-07-25 08:18:24] local.INFO: Packet analysis {"connection_id":141974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:18:24] local.INFO: Extracted packet for processing {"connection_id":141974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:18:24] local.INFO: GPS Element Parsed {"raw_longitude":763264000,"raw_latitude":99122168,"longitude_deg":76.3264,"latitude_deg":9.9122168,"altitude":0,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d7e7c00","hex_latitude":"05e87bf8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946526976001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784947392000,"timestamp_ms":1784947392000,"timestamp_seconds":1784947392,"priority":1,"record_length":96,"hex_timestamp":"0000019f9727be00"} 
[2026-07-25 08:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-25 08:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":141974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":141974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":141974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946526976001,"66":11754,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946526976001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:18:24] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:18:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946526976001,"power":11754,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":141974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:18:24] local.INFO: GPS data processed {"connection_id":141974,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:18:24] local.INFO: Acknowledgment sent {"connection_id":141974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:18:30] local.INFO: TCP Data received {"connection_id":143322,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972b2ce8012d463000066fa958000900e42c..."} 
[2026-07-25 08:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972b2ce8012d463000066fa958000900e42c..."} 
[2026-07-25 08:18:30] local.INFO: Processing buffer {"connection_id":143322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972b2ce8012d463000066fa958000900e42c..."} 
[2026-07-25 08:18:30] local.INFO: Packet analysis {"connection_id":143322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972b"} 
[2026-07-25 08:18:30] local.INFO: Extracted packet for processing {"connection_id":143322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972b"} 
[2026-07-25 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":759574528,"raw_latitude":107981144,"longitude_deg":75.9574528,"latitude_deg":10.7981144,"altitude":9,"angle":228,"satellites":44,"speed":52,"hex_longitude":"2d463000","hex_latitude":"066fa958","is_valid_coordinates":true} 
[2026-07-25 08:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946588160001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357146528030130176,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5065494077273911296,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784947617000,"timestamp_ms":1784947617000,"timestamp_seconds":1784947617,"priority":1,"record_length":96,"hex_timestamp":"0000019f972b2ce8"} 
[2026-07-25 08:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 08:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946588160001,"66":27887,"69":206,"80":60160,"24":52,"16":357146528030130176,"45":5065494077273911296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-25 08:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946588160001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:18:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 08:18:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357146528030130176,"km_value":357146528030130.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5065494077273911296,"description":"Unknown IO ID 45"} 
[2026-07-25 08:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946588160001,"power":27887,"unknown_69":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5065494077273911296}} 
[2026-07-25 08:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":143322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:18:30] local.INFO: GPS data processed {"connection_id":143322,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:18:30] local.INFO: Acknowledgment sent {"connection_id":143322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:18:54] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:18:54] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:18:54] local.INFO: IMEI packet received {"connection_id":140974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":140974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:18:55] local.INFO: TCP Data received {"connection_id":141974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9727c5d0012d7e7c0005e87bf80000014524..."} 
[2026-07-25 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9727c5d0012d7e7c0005e87bf80000014524..."} 
[2026-07-25 08:18:55] local.INFO: Processing buffer {"connection_id":141974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9727c5d0012d7e7c0005e87bf80000014524..."} 
[2026-07-25 08:18:55] local.INFO: Packet analysis {"connection_id":141974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:18:55] local.INFO: Extracted packet for processing {"connection_id":141974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763264000,"raw_latitude":99122168,"longitude_deg":76.3264,"latitude_deg":9.9122168,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7c00","hex_latitude":"05e87bf8","is_valid_coordinates":true} 
[2026-07-25 08:18: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-07-25 08:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532352001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784947394000,"timestamp_ms":1784947394000,"timestamp_seconds":1784947394,"priority":1,"record_length":96,"hex_timestamp":"0000019f9727c5d0"} 
[2026-07-25 08:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:18: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-07-25 08: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 08:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532352001,"66":11624,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532352001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:18:55] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:18:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532352001,"power":11624,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":141974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:18:55] local.INFO: GPS data processed {"connection_id":141974,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:18:55] local.INFO: Acknowledgment sent {"connection_id":141974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:18:56] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:18:56] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:18:56] local.INFO: IMEI packet received {"connection_id":140974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":140974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:19:01] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:01] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:01] local.INFO: IMEI packet received {"connection_id":140974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":140974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:19:03] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972b4840012d4615c0066f91c0000a00e32a..."} 
[2026-07-25 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972b4840012d4615c0066f91c0000a00e32a..."} 
[2026-07-25 08:19:03] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972b4840012d4615c0066f91c0000a00e32a..."} 
[2026-07-25 08:19:03] local.INFO: Packet analysis {"connection_id":140974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972b"} 
[2026-07-25 08:19:03] local.INFO: Extracted packet for processing {"connection_id":140974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972b"} 
[2026-07-25 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":759567808,"raw_latitude":107975104,"longitude_deg":75.9567808,"latitude_deg":10.7975104,"altitude":10,"angle":227,"satellites":42,"speed":49,"hex_longitude":"2d4615c0","hex_latitude":"066f91c0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946589952001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357146961821827072,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5057542409180239872,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784947624000,"timestamp_ms":1784947624000,"timestamp_seconds":1784947624,"priority":1,"record_length":96,"hex_timestamp":"0000019f972b4840"} 
[2026-07-25 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-07-25 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 08:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946589952001,"66":27908,"69":206,"80":60160,"24":49,"16":357146961821827072,"45":5057542409180239872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-07-25 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946589952001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-25 08:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357146961821827072,"km_value":357146961821827.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5057542409180239872,"description":"Unknown IO ID 45"} 
[2026-07-25 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946589952001,"power":27908,"unknown_69":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5057542409180239872}} 
[2026-07-25 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":140974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:19:03] local.INFO: GPS data processed {"connection_id":140974,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:19:03] local.INFO: Acknowledgment sent {"connection_id":140974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:19:18] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:19:18] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:19:18] local.INFO: IMEI packet received {"connection_id":140975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":140975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:19:23] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:19:23] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:19:23] local.INFO: IMEI packet received {"connection_id":140975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":140975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:19:23] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9727c5d0012d7e7c0005e87bf80000014524..."} 
[2026-07-25 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9727c5d0012d7e7c0005e87bf80000014524..."} 
[2026-07-25 08:19:23] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9727c5d0012d7e7c0005e87bf80000014524..."} 
[2026-07-25 08:19:23] local.INFO: Packet analysis {"connection_id":140975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:19:23] local.INFO: Extracted packet for processing {"connection_id":140975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9727"} 
[2026-07-25 08:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763264000,"raw_latitude":99122168,"longitude_deg":76.3264,"latitude_deg":9.9122168,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7c00","hex_latitude":"05e87bf8","is_valid_coordinates":true} 
[2026-07-25 08:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784947394000,"timestamp_ms":1784947394000,"timestamp_seconds":1784947394,"priority":1,"record_length":96,"hex_timestamp":"0000019f9727c5d0"} 
[2026-07-25 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-07-25 08:19: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-07-25 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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":11624,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:19:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:19:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":11624,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":140975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:19:24] local.INFO: GPS data processed {"connection_id":140975,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:19:24] local.INFO: Acknowledgment sent {"connection_id":140975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:19:28] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:19:28] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:19:28] local.INFO: Packet analysis {"connection_id":140975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:19:28] local.INFO: Extracted packet for processing {"connection_id":140975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784947696000,"timestamp_ms":1784947696000,"timestamp_seconds":1784947696,"priority":1,"record_length":96,"hex_timestamp":"0000019f972c6180"} 
[2026-07-25 08:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08: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-07-25 08: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":140975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":140975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":140975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:19: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-07-25 08:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":12667,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:19:28] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:19:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":140975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:19:28] local.INFO: GPS data processed {"connection_id":140975,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:19:28] local.INFO: Acknowledgment sent {"connection_id":140975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:19:33] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972cb388012d44eb80066e11c8000d00df29..."} 
[2026-07-25 08:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972cb388012d44eb80066e11c8000d00df29..."} 
[2026-07-25 08:19:33] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972cb388012d44eb80066e11c8000d00df29..."} 
[2026-07-25 08:19:33] local.INFO: Packet analysis {"connection_id":140974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:19:33] local.INFO: Extracted packet for processing {"connection_id":140974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:19:33] local.INFO: GPS Element Parsed {"raw_longitude":759491456,"raw_latitude":107876808,"longitude_deg":75.9491456,"latitude_deg":10.7876808,"altitude":13,"angle":223,"satellites":41,"speed":52,"hex_longitude":"2d44eb80","hex_latitude":"066e11c8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946613760001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357152970481074176,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4973522128607188992,"note":"Value kept but may cause issues"} 
[2026-07-25 08:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784947717000,"timestamp_ms":1784947717000,"timestamp_seconds":1784947717,"priority":1,"record_length":96,"hex_timestamp":"0000019f972cb388"} 
[2026-07-25 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-07-25 08:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 08:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946613760001,"66":27832,"146":206,"80":60416,"24":52,"16":357152970481074176,"45":4973522128607188992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-25 08:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946613760001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:19:33] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 08:19:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357152970481074176,"km_value":357152970481074.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4973522128607188992,"description":"Unknown IO ID 45"} 
[2026-07-25 08:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946613760001,"power":27832,"unknown_146":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4973522128607188992}} 
[2026-07-25 08:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":140974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:19:33] local.INFO: GPS data processed {"connection_id":140974,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:19:33] local.INFO: Acknowledgment sent {"connection_id":140974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:19:56] local.INFO: TCP Data received {"connection_id":141975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:56] local.INFO: Processing buffer {"connection_id":141975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:56] local.INFO: IMEI packet received {"connection_id":141975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":141975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:19:56] local.INFO: TCP Data received {"connection_id":141975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:56] local.INFO: Processing buffer {"connection_id":141975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:19:56] local.INFO: IMEI packet received {"connection_id":141975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":141975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:20:01] local.INFO: TCP Data received {"connection_id":141975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:01] local.INFO: Processing buffer {"connection_id":141975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:01] local.INFO: IMEI packet received {"connection_id":141975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":141975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:20:02] local.INFO: TCP Data received {"connection_id":141975,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972cd2c8012d44d040066df540000f00dc2d..."} 
[2026-07-25 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972cd2c8012d44d040066df540000f00dc2d..."} 
[2026-07-25 08:20:02] local.INFO: Processing buffer {"connection_id":141975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972cd2c8012d44d040066df540000f00dc2d..."} 
[2026-07-25 08:20:02] local.INFO: Packet analysis {"connection_id":141975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:02] local.INFO: Extracted packet for processing {"connection_id":141975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":759484480,"raw_latitude":107869504,"longitude_deg":75.948448,"latitude_deg":10.7869504,"altitude":15,"angle":220,"satellites":45,"speed":47,"hex_longitude":"2d44d040","hex_latitude":"066df540","is_valid_coordinates":true} 
[2026-07-25 08:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946615552001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357153455812378624,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4966203779210921984,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784947725000,"timestamp_ms":1784947725000,"timestamp_seconds":1784947725,"priority":1,"record_length":96,"hex_timestamp":"0000019f972cd2c8"} 
[2026-07-25 08:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 08:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946615552001,"66":27800,"146":206,"80":60416,"24":47,"16":357153455812378624,"45":4966203779210921984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-07-25 08:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946615552001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:20:02] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 08:20:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357153455812378624,"km_value":357153455812378.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4966203779210921984,"description":"Unknown IO ID 45"} 
[2026-07-25 08:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946615552001,"power":27800,"unknown_146":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":4966203779210921984}} 
[2026-07-25 08:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":141975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:20:02] local.INFO: GPS data processed {"connection_id":141975,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:20:02] local.INFO: Acknowledgment sent {"connection_id":141975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:20:13] local.INFO: TCP Data received {"connection_id":143323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:20:13] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:20:13] local.INFO: IMEI packet received {"connection_id":143323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":143323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:20:18] local.INFO: TCP Data received {"connection_id":143323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:20:18] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:20:18] local.INFO: IMEI packet received {"connection_id":143323,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":143323,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:20:19] local.INFO: TCP Data received {"connection_id":143323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:20:19] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:20:19] local.INFO: Packet analysis {"connection_id":143323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:19] local.INFO: Extracted packet for processing {"connection_id":143323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784947696000,"timestamp_ms":1784947696000,"timestamp_seconds":1784947696,"priority":1,"record_length":96,"hex_timestamp":"0000019f972c6180"} 
[2026-07-25 08:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":12667,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:20:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:20:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":143323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:20:19] local.INFO: GPS data processed {"connection_id":143323,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:20:19] local.INFO: Acknowledgment sent {"connection_id":143323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:20:34] local.INFO: TCP Data received {"connection_id":141975,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972cf208012d44b8c0066dd988001200d92d..."} 
[2026-07-25 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972cf208012d44b8c0066dd988001200d92d..."} 
[2026-07-25 08:20:34] local.INFO: Processing buffer {"connection_id":141975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972cf208012d44b8c0066dd988001200d92d..."} 
[2026-07-25 08:20:34] local.INFO: Packet analysis {"connection_id":141975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:34] local.INFO: Extracted packet for processing {"connection_id":141975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":759478464,"raw_latitude":107862408,"longitude_deg":75.9478464,"latitude_deg":10.7862408,"altitude":18,"angle":217,"satellites":45,"speed":45,"hex_longitude":"2d44b8c0","hex_latitude":"066dd988","is_valid_coordinates":true} 
[2026-07-25 08:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946617600001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357153902488977408,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4958533586093686784,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784947733000,"timestamp_ms":1784947733000,"timestamp_seconds":1784947733,"priority":1,"record_length":96,"hex_timestamp":"0000019f972cf208"} 
[2026-07-25 08:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946617600001,"66":27789,"148":206,"80":60416,"24":45,"16":357153902488977408,"45":4958533586093686784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-25 08:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946617600001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:20:34] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-25 08:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357153902488977408,"km_value":357153902488977.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4958533586093686784,"description":"Unknown IO ID 45"} 
[2026-07-25 08:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946617600001,"power":27789,"unknown_148":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4958533586093686784}} 
[2026-07-25 08:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":141975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:20:35] local.INFO: GPS data processed {"connection_id":141975,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:20:35] local.INFO: Acknowledgment sent {"connection_id":141975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:20:50] local.INFO: TCP Data received {"connection_id":143323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:20:50] local.INFO: Processing buffer {"connection_id":143323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:20:50] local.INFO: Packet analysis {"connection_id":143323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:50] local.INFO: Extracted packet for processing {"connection_id":143323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:20:50] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784947696000,"timestamp_ms":1784947696000,"timestamp_seconds":1784947696,"priority":1,"record_length":96,"hex_timestamp":"0000019f972c6180"} 
[2026-07-25 08:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143323,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":12667,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:20:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:20:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":143323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:20:50] local.INFO: GPS data processed {"connection_id":143323,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:20:50] local.INFO: Acknowledgment sent {"connection_id":143323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:20:56] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:56] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:56] local.INFO: IMEI packet received {"connection_id":140976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":140976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:20:56] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:56] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:20:56] local.INFO: IMEI packet received {"connection_id":140976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":140976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:21:01] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:21:01] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:21:01] local.INFO: IMEI packet received {"connection_id":140976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":140976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:21:02] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972d1530012d44a040066dbb50001400da2d..."} 
[2026-07-25 08:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972d1530012d44a040066dbb50001400da2d..."} 
[2026-07-25 08:21:02] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972d1530012d44a040066dbb50001400da2d..."} 
[2026-07-25 08:21:02] local.INFO: Packet analysis {"connection_id":140976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972d"} 
[2026-07-25 08:21:02] local.INFO: Extracted packet for processing {"connection_id":140976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972d"} 
[2026-07-25 08:21:02] local.INFO: GPS Element Parsed {"raw_longitude":759472192,"raw_latitude":107854672,"longitude_deg":75.9472192,"latitude_deg":10.7854672,"altitude":20,"angle":218,"satellites":45,"speed":43,"hex_longitude":"2d44a040","hex_latitude":"066dbb50","is_valid_coordinates":true} 
[2026-07-25 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946619648001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357154383525314560,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951918924139169792,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784947742000,"timestamp_ms":1784947742000,"timestamp_seconds":1784947742,"priority":1,"record_length":96,"hex_timestamp":"0000019f972d1530"} 
[2026-07-25 08:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 08:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946619648001,"66":28006,"148":206,"80":60416,"24":43,"16":357154383525314560,"45":4951918924139169792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-25 08:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946619648001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:21:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-25 08:21:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357154383525314560,"km_value":357154383525314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951918924139169792,"description":"Unknown IO ID 45"} 
[2026-07-25 08:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946619648001,"power":28006,"unknown_148":206,"unknown_80":60416,"ignition":43,"odometer":null,"unknown_45":4951918924139169792}} 
[2026-07-25 08:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":140976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:21:02] local.INFO: GPS data processed {"connection_id":140976,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:21:02] local.INFO: Acknowledgment sent {"connection_id":140976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:21:13] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:21:13] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:21:13] local.INFO: IMEI packet received {"connection_id":140977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":140977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:21:17] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:21:17] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:21:17] local.INFO: IMEI packet received {"connection_id":140977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":140977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:21:18] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:21:18] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:21:18] local.INFO: Packet analysis {"connection_id":140977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:21:18] local.INFO: Extracted packet for processing {"connection_id":140977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:21:18] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784947696000,"timestamp_ms":1784947696000,"timestamp_seconds":1784947696,"priority":1,"record_length":96,"hex_timestamp":"0000019f972c6180"} 
[2026-07-25 08:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":12667,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:21:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:21:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":140977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:21:18] local.INFO: GPS data processed {"connection_id":140977,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:21:18] local.INFO: Acknowledgment sent {"connection_id":140977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:21:34] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972e9018012d4355c0066c2f10000d00dd27..."} 
[2026-07-25 08:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972e9018012d4355c0066c2f10000d00dd27..."} 
[2026-07-25 08:21:34] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972e9018012d4355c0066c2f10000d00dd27..."} 
[2026-07-25 08:21:34] local.INFO: Packet analysis {"connection_id":140976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972e"} 
[2026-07-25 08:21:34] local.INFO: Extracted packet for processing {"connection_id":140976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972e"} 
[2026-07-25 08:21:34] local.INFO: GPS Element Parsed {"raw_longitude":759387584,"raw_latitude":107753232,"longitude_deg":75.9387584,"latitude_deg":10.7753232,"altitude":13,"angle":221,"satellites":39,"speed":55,"hex_longitude":"2d4355c0","hex_latitude":"066c2f10","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946644992001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357160740076912640,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4859032181798551552,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784947839000,"timestamp_ms":1784947839000,"timestamp_seconds":1784947839,"priority":1,"record_length":96,"hex_timestamp":"0000019f972e9018"} 
[2026-07-25 08:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946644992001,"66":27767,"19":206,"80":60416,"24":55,"16":357160740076912640,"45":4859032181798551552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-25 08:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946644992001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:21:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 08:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357160740076912640,"km_value":357160740076912.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4859032181798551552,"description":"Unknown IO ID 45"} 
[2026-07-25 08:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946644992001,"power":27767,"unknown_19":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4859032181798551552}} 
[2026-07-25 08:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":140976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:21:34] local.INFO: GPS data processed {"connection_id":140976,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:21:34] local.INFO: Acknowledgment sent {"connection_id":140976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:21:49] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:21:49] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:21:49] local.INFO: Packet analysis {"connection_id":140977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:21:49] local.INFO: Extracted packet for processing {"connection_id":140977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:21:49] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784947696000,"timestamp_ms":1784947696000,"timestamp_seconds":1784947696,"priority":1,"record_length":96,"hex_timestamp":"0000019f972c6180"} 
[2026-07-25 08:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08: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-07-25 08: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":140977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":140977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":140977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":12667,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:21:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:21:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":140977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:21:49] local.INFO: GPS data processed {"connection_id":140977,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:21:49] local.INFO: Acknowledgment sent {"connection_id":140977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:22:11] local.INFO: TCP Data received {"connection_id":141976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:11] local.INFO: Processing buffer {"connection_id":141976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:11] local.INFO: IMEI packet received {"connection_id":141976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":141976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:22:12] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:22:12] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:22:12] local.INFO: IMEI packet received {"connection_id":143324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":143324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:22:14] local.INFO: TCP Data received {"connection_id":141976,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:15] local.INFO: Processing buffer {"connection_id":141976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:15] local.INFO: IMEI packet received {"connection_id":141976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":141976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:22:17] local.INFO: TCP Data received {"connection_id":141976,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972eab70012d433c80066c11a8000c00dd2a..."} 
[2026-07-25 08:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972eab70012d433c80066c11a8000c00dd2a..."} 
[2026-07-25 08:22:17] local.INFO: Processing buffer {"connection_id":141976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972eab70012d433c80066c11a8000c00dd2a..."} 
[2026-07-25 08:22:17] local.INFO: Packet analysis {"connection_id":141976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972e"} 
[2026-07-25 08:22:17] local.INFO: Extracted packet for processing {"connection_id":141976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972e"} 
[2026-07-25 08:22:17] local.INFO: GPS Element Parsed {"raw_longitude":759381120,"raw_latitude":107745704,"longitude_deg":75.938112,"latitude_deg":10.7745704,"altitude":12,"angle":221,"satellites":42,"speed":57,"hex_longitude":"2d433c80","hex_latitude":"066c11a8","is_valid_coordinates":true} 
[2026-07-25 08:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946646784001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357161216818282496,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851995307378937856,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784947846000,"timestamp_ms":1784947846000,"timestamp_seconds":1784947846,"priority":1,"record_length":96,"hex_timestamp":"0000019f972eab70"} 
[2026-07-25 08:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946646784001,"66":27865,"19":206,"80":60416,"24":57,"16":357161216818282496,"45":4851995307378937856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-25 08:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946646784001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:22:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 08:22:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357161216818282496,"km_value":357161216818282.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851995307378937856,"description":"Unknown IO ID 45"} 
[2026-07-25 08:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946646784001,"power":27865,"unknown_19":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4851995307378937856}} 
[2026-07-25 08:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":141976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:22:17] local.INFO: GPS data processed {"connection_id":141976,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:22:17] local.INFO: Acknowledgment sent {"connection_id":141976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:22:18] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:22:18] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:22:18] local.INFO: IMEI packet received {"connection_id":143324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":143324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:22:19] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:22:19] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972c6180012d7e7b8005e87c500000014524..."} 
[2026-07-25 08:22:19] local.INFO: Packet analysis {"connection_id":143324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:22:19] local.INFO: Extracted packet for processing {"connection_id":143324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972c"} 
[2026-07-25 08:22:19] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":36,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946532864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784947696000,"timestamp_ms":1784947696000,"timestamp_seconds":1784947696,"priority":1,"record_length":96,"hex_timestamp":"0000019f972c6180"} 
[2026-07-25 08:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 08:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946532864001,"66":12667,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946532864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:22:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:22:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946532864001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":143324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:22:19] local.INFO: GPS data processed {"connection_id":143324,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:22:19] local.INFO: Acknowledgment sent {"connection_id":143324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:22:49] local.INFO: TCP Data received {"connection_id":143324,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97300b00012d7e7b8005e87c500000014525..."} 
[2026-07-25 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97300b00012d7e7b8005e87c500000014525..."} 
[2026-07-25 08:22:49] local.INFO: Processing buffer {"connection_id":143324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97300b00012d7e7b8005e87c500000014525..."} 
[2026-07-25 08:22:49] local.INFO: Packet analysis {"connection_id":143324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:22:49] local.INFO: Extracted packet for processing {"connection_id":143324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08:22: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-07-25 08:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946610176001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114019033777983488,"note":"Value kept but may cause issues"} 
[2026-07-25 08:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784947936000,"timestamp_ms":1784947936000,"timestamp_seconds":1784947936,"priority":1,"record_length":96,"hex_timestamp":"0000019f97300b00"} 
[2026-07-25 08:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-25 08:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946610176001,"66":12689,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114019033777983488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946610176001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:22:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:22:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114019033777983488,"description":"Unknown IO ID 45"} 
[2026-07-25 08:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946610176001,"power":12689,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114019033777983488}} 
[2026-07-25 08:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":143324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:22:49] local.INFO: GPS data processed {"connection_id":143324,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:22:49] local.INFO: Acknowledgment sent {"connection_id":143324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:22:54] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:54] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:54] local.INFO: IMEI packet received {"connection_id":140932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":140932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:22:56] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:56] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:22:56] local.INFO: IMEI packet received {"connection_id":140932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":140932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:23:01] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:01] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:01] local.INFO: IMEI packet received {"connection_id":140932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":140932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:23:02] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f972ec6c8012d4322c0066bf470000b00dd29..."} 
[2026-07-25 08:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f972ec6c8012d4322c0066bf470000b00dd29..."} 
[2026-07-25 08:23:02] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f972ec6c8012d4322c0066bf470000b00dd29..."} 
[2026-07-25 08:23:02] local.INFO: Packet analysis {"connection_id":140932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f972e"} 
[2026-07-25 08:23:02] local.INFO: Extracted packet for processing {"connection_id":140932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f972e"} 
[2026-07-25 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":759374528,"raw_latitude":107738224,"longitude_deg":75.9374528,"latitude_deg":10.7738224,"altitude":11,"angle":221,"satellites":41,"speed":54,"hex_longitude":"2d4322c0","hex_latitude":"066bf470","is_valid_coordinates":true} 
[2026-07-25 08:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946648576001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357161697854619648,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4844888064215066624,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784947853000,"timestamp_ms":1784947853000,"timestamp_seconds":1784947853,"priority":1,"record_length":96,"hex_timestamp":"0000019f972ec6c8"} 
[2026-07-25 08:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946648576001,"66":27800,"19":206,"80":60416,"24":54,"16":357161697854619648,"45":4844888064215066624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-25 08:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946648576001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:23:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 08:23:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357161697854619648,"km_value":357161697854619.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4844888064215066624,"description":"Unknown IO ID 45"} 
[2026-07-25 08:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946648576001,"power":27800,"unknown_19":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4844888064215066624}} 
[2026-07-25 08:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":140932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:23:03] local.INFO: GPS data processed {"connection_id":140932,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:23:03] local.INFO: Acknowledgment sent {"connection_id":140932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:23:18] local.INFO: TCP Data received {"connection_id":141977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:18] local.INFO: Processing buffer {"connection_id":141977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:18] local.INFO: IMEI packet received {"connection_id":141977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":141977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:23:18] local.INFO: TCP Data received {"connection_id":141977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:18] local.INFO: Processing buffer {"connection_id":141977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:18] local.INFO: IMEI packet received {"connection_id":141977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":141977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:23:20] local.INFO: TCP Data received {"connection_id":141977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:20] local.INFO: Processing buffer {"connection_id":141977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:23:20] local.INFO: IMEI packet received {"connection_id":141977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":141977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:23:20] local.INFO: TCP Data received {"connection_id":141977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97300ee8012d7e7b8005e87c500000014525..."} 
[2026-07-25 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97300ee8012d7e7b8005e87c500000014525..."} 
[2026-07-25 08:23:20] local.INFO: Processing buffer {"connection_id":141977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97300ee8012d7e7b8005e87c500000014525..."} 
[2026-07-25 08:23:20] local.INFO: Packet analysis {"connection_id":141977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:20] local.INFO: Extracted packet for processing {"connection_id":141977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:20] local.INFO: GPS Element Parsed {"raw_longitude":763263872,"raw_latitude":99122256,"longitude_deg":76.3263872,"latitude_deg":9.9122256,"altitude":0,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d7e7b80","hex_latitude":"05e87c50","is_valid_coordinates":true} 
[2026-07-25 08:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946671616001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114019033777983488,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784947937000,"timestamp_ms":1784947937000,"timestamp_seconds":1784947937,"priority":1,"record_length":96,"hex_timestamp":"0000019f97300ee8"} 
[2026-07-25 08:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 08:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946671616001,"66":12689,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114019033777983488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946671616001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:23:20] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:23:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114019033777983488,"description":"Unknown IO ID 45"} 
[2026-07-25 08:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946671616001,"power":12689,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114019033777983488}} 
[2026-07-25 08:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":141977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:23:20] local.INFO: GPS data processed {"connection_id":141977,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:23:20] local.INFO: Acknowledgment sent {"connection_id":141977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:23:23] local.INFO: TCP Data received {"connection_id":141977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97306ca8012d7e7c0005e87bf80000014525..."} 
[2026-07-25 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97306ca8012d7e7c0005e87bf80000014525..."} 
[2026-07-25 08:23:23] local.INFO: Processing buffer {"connection_id":141977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97306ca8012d7e7c0005e87bf80000014525..."} 
[2026-07-25 08:23:23] local.INFO: Packet analysis {"connection_id":141977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:23] local.INFO: Extracted packet for processing {"connection_id":141977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":763264000,"raw_latitude":99122168,"longitude_deg":76.3264,"latitude_deg":9.9122168,"altitude":0,"angle":325,"satellites":37,"speed":0,"hex_longitude":"2d7e7c00","hex_latitude":"05e87bf8","is_valid_coordinates":true} 
[2026-07-25 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946671872001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125027348709376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114019033777983488,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784947961000,"timestamp_ms":1784947961000,"timestamp_seconds":1784947961,"priority":1,"record_length":96,"hex_timestamp":"0000019f97306ca8"} 
[2026-07-25 08:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 08:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":141977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":141977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":141977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946671872001,"66":11678,"30":206,"87":13824,"24":0,"16":110125027348709376,"45":9114019033777983488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946671872001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:23:23] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:23:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125027348709376,"km_value":110125027348709.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114019033777983488,"description":"Unknown IO ID 45"} 
[2026-07-25 08:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946671872001,"power":11678,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9114019033777983488}} 
[2026-07-25 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":141977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:23:23] local.INFO: GPS data processed {"connection_id":141977,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:23:23] local.INFO: Acknowledgment sent {"connection_id":141977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:23:34] local.INFO: TCP Data received {"connection_id":140932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97308030012d41c3c0066a4a20001000c92e..."} 
[2026-07-25 08:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97308030012d41c3c0066a4a20001000c92e..."} 
[2026-07-25 08:23:34] local.INFO: Processing buffer {"connection_id":140932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97308030012d41c3c0066a4a20001000c92e..."} 
[2026-07-25 08:23:34] local.INFO: Packet analysis {"connection_id":140932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:34] local.INFO: Extracted packet for processing {"connection_id":140932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:34] local.INFO: GPS Element Parsed {"raw_longitude":759284672,"raw_latitude":107629088,"longitude_deg":75.9284672,"latitude_deg":10.7629088,"altitude":16,"angle":201,"satellites":46,"speed":50,"hex_longitude":"2d41c3c0","hex_latitude":"066a4a20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946677504001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357168526852620288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4743557072571437056,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784947966000,"timestamp_ms":1784947966000,"timestamp_seconds":1784947966,"priority":1,"record_length":96,"hex_timestamp":"0000019f97308030"} 
[2026-07-25 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-07-25 08:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 08:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946677504001,"66":27843,"97":206,"80":60416,"24":50,"16":357168526852620288,"45":4743557072571437056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-25 08:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946677504001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:23:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 08:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357168526852620288,"km_value":357168526852620.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4743557072571437056,"description":"Unknown IO ID 45"} 
[2026-07-25 08:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946677504001,"power":27843,"unknown_97":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4743557072571437056}} 
[2026-07-25 08:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":140932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:23:34] local.INFO: GPS data processed {"connection_id":140932,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:23:34] local.INFO: Acknowledgment sent {"connection_id":140932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:23:54] local.INFO: TCP Data received {"connection_id":141977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9730a740012d7e7c4005e87d800005001a25..."} 
[2026-07-25 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9730a740012d7e7c4005e87d800005001a25..."} 
[2026-07-25 08:23:54] local.INFO: Processing buffer {"connection_id":141977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9730a740012d7e7c4005e87d800005001a25..."} 
[2026-07-25 08:23:54] local.INFO: Packet analysis {"connection_id":141977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:54] local.INFO: Extracted packet for processing {"connection_id":141977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763264064,"raw_latitude":99122560,"longitude_deg":76.3264064,"latitude_deg":9.912256,"altitude":5,"angle":26,"satellites":37,"speed":4,"hex_longitude":"2d7e7c40","hex_latitude":"05e87d80","is_valid_coordinates":true} 
[2026-07-25 08:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946678016001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125044528578560,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771266316288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784947976000,"timestamp_ms":1784947976000,"timestamp_seconds":1784947976,"priority":1,"record_length":96,"hex_timestamp":"0000019f9730a740"} 
[2026-07-25 08:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-25 08:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946678016001,"66":11634,"30":206,"87":13824,"24":4,"16":110125044528578560,"45":9114159771266316288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946678016001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:23:54] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:23:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125044528578560,"km_value":110125044528578.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771266316288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946678016001,"power":11634,"unknown_30":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9114159771266316288}} 
[2026-07-25 08:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":141977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:23:54] local.INFO: GPS data processed {"connection_id":141977,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:23:54] local.INFO: Acknowledgment sent {"connection_id":141977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:23:56] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:56] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:56] local.INFO: IMEI packet received {"connection_id":140978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":140978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:23:59] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:59] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:23:59] local.INFO: IMEI packet received {"connection_id":140978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":140978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:24:00] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97308030012d41c3c0066a4a20001000c92e..."} 
[2026-07-25 08:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97308030012d41c3c0066a4a20001000c92e..."} 
[2026-07-25 08:24:00] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97308030012d41c3c0066a4a20001000c92e..."} 
[2026-07-25 08:24:00] local.INFO: Packet analysis {"connection_id":140978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:00] local.INFO: Extracted packet for processing {"connection_id":140978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:00] local.INFO: GPS Element Parsed {"raw_longitude":759284672,"raw_latitude":107629088,"longitude_deg":75.9284672,"latitude_deg":10.7629088,"altitude":16,"angle":201,"satellites":46,"speed":50,"hex_longitude":"2d41c3c0","hex_latitude":"066a4a20","is_valid_coordinates":true} 
[2026-07-25 08:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946679296001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357168526852620288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4738842366709473280,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784947966000,"timestamp_ms":1784947966000,"timestamp_seconds":1784947966,"priority":1,"record_length":96,"hex_timestamp":"0000019f97308030"} 
[2026-07-25 08:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":140978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946679296001,"66":27843,"97":206,"80":60416,"24":50,"16":357168526852620288,"45":4738842366709473280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-25 08:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946679296001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:24:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 08:24:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357168526852620288,"km_value":357168526852620.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4738842366709473280,"description":"Unknown IO ID 45"} 
[2026-07-25 08:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946679296001,"power":27843,"unknown_97":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4738842366709473280}} 
[2026-07-25 08:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":140978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:24:00] local.INFO: GPS data processed {"connection_id":140978,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:24:00] local.INFO: Acknowledgment sent {"connection_id":140978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:24:13] local.INFO: TCP Data received {"connection_id":143325,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:24:13] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:24:13] local.INFO: IMEI packet received {"connection_id":143325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":143325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:24:16] local.INFO: TCP Data received {"connection_id":143325,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:24:16] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:24:16] local.INFO: IMEI packet received {"connection_id":143325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":143325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:24:17] local.INFO: TCP Data received {"connection_id":143325,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9730ab28012d7e7cc005e87dc80005002825..."} 
[2026-07-25 08:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9730ab28012d7e7cc005e87dc80005002825..."} 
[2026-07-25 08:24:17] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9730ab28012d7e7cc005e87dc80005002825..."} 
[2026-07-25 08:24:17] local.INFO: Packet analysis {"connection_id":143325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:17] local.INFO: Extracted packet for processing {"connection_id":143325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:17] local.INFO: GPS Element Parsed {"raw_longitude":763264192,"raw_latitude":99122632,"longitude_deg":76.3264192,"latitude_deg":9.9122632,"altitude":5,"angle":40,"satellites":37,"speed":2,"hex_longitude":"2d7e7cc0","hex_latitude":"05e87dc8","is_valid_coordinates":true} 
[2026-07-25 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946681856001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125053118513152,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114230140010594304,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784947977000,"timestamp_ms":1784947977000,"timestamp_seconds":1784947977,"priority":1,"record_length":96,"hex_timestamp":"0000019f9730ab28"} 
[2026-07-25 08:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-25 08:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946681856001,"66":11547,"30":206,"87":13824,"24":2,"16":110125053118513152,"45":9114230140010594304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946681856001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125053118513152,"km_value":110125053118513.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114230140010594304,"description":"Unknown IO ID 45"} 
[2026-07-25 08:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946681856001,"power":11547,"unknown_30":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9114230140010594304}} 
[2026-07-25 08:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":143325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:24:17] local.INFO: GPS data processed {"connection_id":143325,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:24:17] local.INFO: Acknowledgment sent {"connection_id":143325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:24:31] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97309b88012d41ba40066a2928001100bd2d..."} 
[2026-07-25 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97309b88012d41ba40066a2928001100bd2d..."} 
[2026-07-25 08:24:31] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97309b88012d41ba40066a2928001100bd2d..."} 
[2026-07-25 08:24:31] local.INFO: Packet analysis {"connection_id":140978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:31] local.INFO: Extracted packet for processing {"connection_id":140978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":759282240,"raw_latitude":107620648,"longitude_deg":75.928224,"latitude_deg":10.7620648,"altitude":17,"angle":189,"satellites":45,"speed":50,"hex_longitude":"2d41ba40","hex_latitude":"066a2928","is_valid_coordinates":true} 
[2026-07-25 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946679296001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357168952054382592,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4738842366709473280,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784947973000,"timestamp_ms":1784947973000,"timestamp_seconds":1784947973,"priority":1,"record_length":96,"hex_timestamp":"0000019f97309b88"} 
[2026-07-25 08:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":140978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946679296001,"66":28028,"97":206,"80":60416,"24":50,"16":357168952054382592,"45":4738842366709473280},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-25 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946679296001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:24:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 08:24:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357168952054382592,"km_value":357168952054382.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4738842366709473280,"description":"Unknown IO ID 45"} 
[2026-07-25 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946679296001,"power":28028,"unknown_97":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4738842366709473280}} 
[2026-07-25 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":140978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:24:31] local.INFO: GPS data processed {"connection_id":140978,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:24:31] local.INFO: Acknowledgment sent {"connection_id":140978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:24:47] local.INFO: TCP Data received {"connection_id":143325,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9730c298012d7e7cc005e87d68000500be25..."} 
[2026-07-25 08:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9730c298012d7e7cc005e87d68000500be25..."} 
[2026-07-25 08:24:47] local.INFO: Processing buffer {"connection_id":143325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9730c298012d7e7cc005e87d68000500be25..."} 
[2026-07-25 08:24:47] local.INFO: Packet analysis {"connection_id":143325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:47] local.INFO: Extracted packet for processing {"connection_id":143325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9730"} 
[2026-07-25 08:24:47] local.INFO: GPS Element Parsed {"raw_longitude":763264192,"raw_latitude":99122536,"longitude_deg":76.3264192,"latitude_deg":9.9122536,"altitude":5,"angle":190,"satellites":37,"speed":1,"hex_longitude":"2d7e7cc0","hex_latitude":"05e87d68","is_valid_coordinates":true} 
[2026-07-25 08:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946682112001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125057413480448,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114370877498968064,"note":"Value kept but may cause issues"} 
[2026-07-25 08:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784947983000,"timestamp_ms":1784947983000,"timestamp_seconds":1784947983,"priority":1,"record_length":96,"hex_timestamp":"0000019f9730c298"} 
[2026-07-25 08:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 08:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946682112001,"66":11700,"30":206,"87":13824,"24":1,"16":110125057413480448,"45":9114370877498968064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946682112001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125057413480448,"km_value":110125057413480.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114370877498968064,"description":"Unknown IO ID 45"} 
[2026-07-25 08:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946682112001,"power":11700,"unknown_30":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9114370877498968064}} 
[2026-07-25 08:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":143325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:24:48] local.INFO: GPS data processed {"connection_id":143325,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:24:48] local.INFO: Acknowledgment sent {"connection_id":143325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:25:05] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:05] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:05] local.INFO: IMEI packet received {"connection_id":140933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":140933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:25:13] local.INFO: TCP Data received {"connection_id":141978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:25:13] local.INFO: Processing buffer {"connection_id":141978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:25:13] local.INFO: IMEI packet received {"connection_id":141978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":141978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:25:18] local.INFO: TCP Data received {"connection_id":141978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:25:18] local.INFO: Processing buffer {"connection_id":141978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:25:18] local.INFO: IMEI packet received {"connection_id":141978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":141978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:25:18] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:18] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:18] local.INFO: IMEI packet received {"connection_id":140933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":140933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:25:19] local.INFO: TCP Data received {"connection_id":141978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97327048012d7ea94005e861580004008a28..."} 
[2026-07-25 08:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97327048012d7ea94005e861580004008a28..."} 
[2026-07-25 08:25:19] local.INFO: Processing buffer {"connection_id":141978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97327048012d7ea94005e861580004008a28..."} 
[2026-07-25 08:25:19] local.INFO: Packet analysis {"connection_id":141978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:25:19] local.INFO: Extracted packet for processing {"connection_id":141978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:25:19] local.INFO: GPS Element Parsed {"raw_longitude":763275584,"raw_latitude":99115352,"longitude_deg":76.3275584,"latitude_deg":9.9115352,"altitude":4,"angle":138,"satellites":40,"speed":10,"hex_longitude":"2d7ea940","hex_latitude":"05e86158","is_valid_coordinates":true} 
[2026-07-25 08:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946711296001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110125989421383680,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403932751585280,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948093000,"timestamp_ms":1784948093000,"timestamp_seconds":1784948093,"priority":1,"record_length":96,"hex_timestamp":"0000019f97327048"} 
[2026-07-25 08:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 08:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946711296001,"66":12667,"30":206,"87":13824,"24":10,"16":110125989421383680,"45":9126403932751585280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946711296001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110125989421383680,"km_value":110125989421383.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403932751585280,"description":"Unknown IO ID 45"} 
[2026-07-25 08:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946711296001,"power":12667,"unknown_30":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9126403932751585280}} 
[2026-07-25 08:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":141978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:25:19] local.INFO: GPS data processed {"connection_id":141978,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:25:19] local.INFO: Acknowledgment sent {"connection_id":141978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:25:19] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97319588012d4213000668edd8000c009f2d..."} 
[2026-07-25 08:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97319588012d4213000668edd8000c009f2d..."} 
[2026-07-25 08:25:19] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97319588012d4213000668edd8000c009f2d..."} 
[2026-07-25 08:25:19] local.INFO: Packet analysis {"connection_id":140933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9731"} 
[2026-07-25 08:25:19] local.INFO: Extracted packet for processing {"connection_id":140933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9731"} 
[2026-07-25 08:25:19] local.INFO: GPS Element Parsed {"raw_longitude":759304960,"raw_latitude":107539928,"longitude_deg":75.930496,"latitude_deg":10.7539928,"altitude":12,"angle":159,"satellites":45,"speed":48,"hex_longitude":"2d421300","hex_latitude":"0668edd8","is_valid_coordinates":true} 
[2026-07-25 08:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946695424001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357173049453182976,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4757278977663578112,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948037000,"timestamp_ms":1784948037000,"timestamp_seconds":1784948037,"priority":1,"record_length":96,"hex_timestamp":"0000019f97319588"} 
[2026-07-25 08:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:25: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-07-25 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 08:25: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-07-25 08:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946695424001,"66":27865,"97":206,"80":60416,"24":48,"16":357173049453182976,"45":4757278977663578112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-25 08:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946695424001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357173049453182976,"km_value":357173049453183.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4757278977663578112,"description":"Unknown IO ID 45"} 
[2026-07-25 08:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946695424001,"power":27865,"unknown_97":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":4757278977663578112}} 
[2026-07-25 08:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":140933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:25:19] local.INFO: GPS data processed {"connection_id":140933,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:25:19] local.INFO: Acknowledgment sent {"connection_id":140933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:25:20] local.INFO: TCP Data received {"connection_id":140933,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9731b4c8012d4220c00668ca60000c009f2f..."} 
[2026-07-25 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9731b4c8012d4220c00668ca60000c009f2f..."} 
[2026-07-25 08:25:20] local.INFO: Processing buffer {"connection_id":140933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9731b4c8012d4220c00668ca60000c009f2f..."} 
[2026-07-25 08:25:20] local.INFO: Packet analysis {"connection_id":140933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9731"} 
[2026-07-25 08:25:20] local.INFO: Extracted packet for processing {"connection_id":140933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9731"} 
[2026-07-25 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":759308480,"raw_latitude":107530848,"longitude_deg":75.930848,"latitude_deg":10.7530848,"altitude":12,"angle":159,"satellites":47,"speed":48,"hex_longitude":"2d4220c0","hex_latitude":"0668ca60","is_valid_coordinates":true} 
[2026-07-25 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946697472001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357173521899585536,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4761149258590967808,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784948045000,"timestamp_ms":1784948045000,"timestamp_seconds":1784948045,"priority":1,"record_length":96,"hex_timestamp":"0000019f9731b4c8"} 
[2026-07-25 08:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":140933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":140933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946697472001,"66":27767,"97":206,"80":60416,"24":48,"16":357173521899585536,"45":4761149258590967808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-25 08:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946697472001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 08:25:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357173521899585536,"km_value":357173521899585.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4761149258590967808,"description":"Unknown IO ID 45"} 
[2026-07-25 08:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946697472001,"power":27767,"unknown_97":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":4761149258590967808}} 
[2026-07-25 08:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":140933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:25:20] local.INFO: GPS data processed {"connection_id":140933,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:25:20] local.INFO: Acknowledgment sent {"connection_id":140933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:25:50] local.INFO: TCP Data received {"connection_id":141978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97327818012d7eaa8005e85f880004009a28..."} 
[2026-07-25 08:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97327818012d7eaa8005e85f880004009a28..."} 
[2026-07-25 08:25:50] local.INFO: Processing buffer {"connection_id":141978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97327818012d7eaa8005e85f880004009a28..."} 
[2026-07-25 08:25:50] local.INFO: Packet analysis {"connection_id":141978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:25:50] local.INFO: Extracted packet for processing {"connection_id":141978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763275904,"raw_latitude":99114888,"longitude_deg":76.3275904,"latitude_deg":9.9114888,"altitude":4,"angle":154,"satellites":40,"speed":11,"hex_longitude":"2d7eaa80","hex_latitude":"05e85f88","is_valid_coordinates":true} 
[2026-07-25 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946711808001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110126015191187456,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126896513960728576,"note":"Value kept but may cause issues"} 
[2026-07-25 08:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948095000,"timestamp_ms":1784948095000,"timestamp_seconds":1784948095,"priority":1,"record_length":96,"hex_timestamp":"0000019f97327818"} 
[2026-07-25 08:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-25 08:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946711808001,"66":13189,"30":206,"87":13824,"24":11,"16":110126015191187456,"45":9126896513960728576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946711808001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:25:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:25:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110126015191187456,"km_value":110126015191187.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126896513960728576,"description":"Unknown IO ID 45"} 
[2026-07-25 08:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946711808001,"power":13189,"unknown_30":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9126896513960728576}} 
[2026-07-25 08:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":141978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:25:50] local.INFO: GPS data processed {"connection_id":141978,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:25:50] local.INFO: Acknowledgment sent {"connection_id":141978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:25:56] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:56] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:56] local.INFO: IMEI packet received {"connection_id":140934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":140934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:25:57] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:57] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:25:57] local.INFO: IMEI packet received {"connection_id":140934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":140934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:26:01] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:01] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:01] local.INFO: IMEI packet received {"connection_id":140934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":140934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:26:02] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9731d408012d422e800668a628000b009e2d..."} 
[2026-07-25 08:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9731d408012d422e800668a628000b009e2d..."} 
[2026-07-25 08:26:02] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9731d408012d422e800668a628000b009e2d..."} 
[2026-07-25 08:26:02] local.INFO: Packet analysis {"connection_id":140934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9731"} 
[2026-07-25 08:26:02] local.INFO: Extracted packet for processing {"connection_id":140934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9731"} 
[2026-07-25 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":759312000,"raw_latitude":107521576,"longitude_deg":75.9312,"latitude_deg":10.7521576,"altitude":11,"angle":158,"satellites":45,"speed":50,"hex_longitude":"2d422e80","hex_latitude":"0668a628","is_valid_coordinates":true} 
[2026-07-25 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946699520001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357173998640955392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4765019539518414848,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784948053000,"timestamp_ms":1784948053000,"timestamp_seconds":1784948053,"priority":1,"record_length":96,"hex_timestamp":"0000019f9731d408"} 
[2026-07-25 08:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946699520001,"66":27930,"97":206,"80":60416,"24":50,"16":357173998640955392,"45":4765019539518414848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-25 08:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946699520001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:26:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 08:26:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357173998640955392,"km_value":357173998640955.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4765019539518414848,"description":"Unknown IO ID 45"} 
[2026-07-25 08:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946699520001,"power":27930,"unknown_97":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4765019539518414848}} 
[2026-07-25 08:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":140934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:26:02] local.INFO: GPS data processed {"connection_id":140934,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:26:02] local.INFO: Acknowledgment sent {"connection_id":140934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:26:13] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:26:13] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:26:13] local.INFO: IMEI packet received {"connection_id":143326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":143326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:26:18] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:26:18] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:26:18] local.INFO: IMEI packet received {"connection_id":143326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":143326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:26:19] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97327c00012d7eaac005e85e80000400aa28..."} 
[2026-07-25 08:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97327c00012d7eaac005e85e80000400aa28..."} 
[2026-07-25 08:26:19] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97327c00012d7eaac005e85e80000400aa28..."} 
[2026-07-25 08:26:19] local.INFO: Packet analysis {"connection_id":143326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:26:19] local.INFO: Extracted packet for processing {"connection_id":143326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:26:19] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":99114624,"longitude_deg":76.3275968,"latitude_deg":9.9114624,"altitude":4,"angle":170,"satellites":40,"speed":11,"hex_longitude":"2d7eaac0","hex_latitude":"05e85e80","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946712320001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110126028076089344,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127248357681498112,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948096000,"timestamp_ms":1784948096000,"timestamp_seconds":1784948096,"priority":1,"record_length":96,"hex_timestamp":"0000019f97327c00"} 
[2026-07-25 08:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 08:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946712320001,"66":13189,"30":206,"87":13824,"24":11,"16":110126028076089344,"45":9127248357681498112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946712320001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:26:19] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:26:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110126028076089344,"km_value":110126028076089.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127248357681498112,"description":"Unknown IO ID 45"} 
[2026-07-25 08:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946712320001,"power":13189,"unknown_30":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9127248357681498112}} 
[2026-07-25 08:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":143326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:26:19] local.INFO: GPS data processed {"connection_id":143326,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:26:19] local.INFO: Acknowledgment sent {"connection_id":143326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:26:34] local.INFO: TCP Data received {"connection_id":140934,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97331070012d42fa4006677e80000f00672f..."} 
[2026-07-25 08:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97331070012d42fa4006677e80000f00672f..."} 
[2026-07-25 08:26:34] local.INFO: Processing buffer {"connection_id":140934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97331070012d42fa4006677e80000f00672f..."} 
[2026-07-25 08:26:34] local.INFO: Packet analysis {"connection_id":140934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:26:34] local.INFO: Extracted packet for processing {"connection_id":140934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":759364160,"raw_latitude":107445888,"longitude_deg":75.936416,"latitude_deg":10.7445888,"altitude":15,"angle":103,"satellites":47,"speed":39,"hex_longitude":"2d42fa40","hex_latitude":"06677e80","is_valid_coordinates":true} 
[2026-07-25 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946720000001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357178705925111808,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4815825772793587712,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784948134000,"timestamp_ms":1784948134000,"timestamp_seconds":1784948134,"priority":1,"record_length":96,"hex_timestamp":"0000019f97331070"} 
[2026-07-25 08:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946720000001,"66":27865,"19":206,"80":60416,"24":39,"16":357178705925111808,"45":4815825772793587712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-25 08:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946720000001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:26:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 08:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357178705925111808,"km_value":357178705925111.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4815825772793587712,"description":"Unknown IO ID 45"} 
[2026-07-25 08:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946720000001,"power":27865,"unknown_19":206,"unknown_80":60416,"ignition":39,"odometer":null,"unknown_45":4815825772793587712}} 
[2026-07-25 08:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":140934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:26:34] local.INFO: GPS data processed {"connection_id":140934,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:26:34] local.INFO: Acknowledgment sent {"connection_id":140934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:26:50] local.INFO: TCP Data received {"connection_id":143326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9732ca20012d7eb18005e84680000400a428..."} 
[2026-07-25 08:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9732ca20012d7eb18005e84680000400a428..."} 
[2026-07-25 08:26:50] local.INFO: Processing buffer {"connection_id":143326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9732ca20012d7eb18005e84680000400a428..."} 
[2026-07-25 08:26:50] local.INFO: Packet analysis {"connection_id":143326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:26:50] local.INFO: Extracted packet for processing {"connection_id":143326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9732"} 
[2026-07-25 08:26:50] local.INFO: GPS Element Parsed {"raw_longitude":763277696,"raw_latitude":99108480,"longitude_deg":76.3277696,"latitude_deg":9.910848,"altitude":4,"angle":164,"satellites":40,"speed":13,"hex_longitude":"2d7eb180","hex_latitude":"05e84680","is_valid_coordinates":true} 
[2026-07-25 08:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946712576001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110126337313734656,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318726425608192,"note":"Value kept but may cause issues"} 
[2026-07-25 08:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948116000,"timestamp_ms":1784948116000,"timestamp_seconds":1784948116,"priority":1,"record_length":96,"hex_timestamp":"0000019f9732ca20"} 
[2026-07-25 08:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 08:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946712576001,"66":13319,"30":206,"87":13824,"24":13,"16":110126337313734656,"45":9127318726425608192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946712576001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:26:50] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:26:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110126337313734656,"km_value":110126337313734.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318726425608192,"description":"Unknown IO ID 45"} 
[2026-07-25 08:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946712576001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9127318726425608192}} 
[2026-07-25 08:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":143326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:26:50] local.INFO: GPS data processed {"connection_id":143326,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:26:50] local.INFO: Acknowledgment sent {"connection_id":143326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:26:56] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:56] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:56] local.INFO: IMEI packet received {"connection_id":140979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":140979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:26:59] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:59] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:26:59] local.INFO: IMEI packet received {"connection_id":140979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":140979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:27:01] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:27:01] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:27:01] local.INFO: IMEI packet received {"connection_id":140979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":140979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:27:02] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97333780012d431e0006677688001000672e..."} 
[2026-07-25 08:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97333780012d431e0006677688001000672e..."} 
[2026-07-25 08:27:02] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97333780012d431e0006677688001000672e..."} 
[2026-07-25 08:27:02] local.INFO: Packet analysis {"connection_id":140979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:02] local.INFO: Extracted packet for processing {"connection_id":140979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:02] local.INFO: GPS Element Parsed {"raw_longitude":759373312,"raw_latitude":107443848,"longitude_deg":75.9373312,"latitude_deg":10.7443848,"altitude":16,"angle":103,"satellites":46,"speed":36,"hex_longitude":"2d431e00","hex_latitude":"06677688","is_valid_coordinates":true} 
[2026-07-25 08:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946722304001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357179152601710592,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4826240346931232768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784948144000,"timestamp_ms":1784948144000,"timestamp_seconds":1784948144,"priority":1,"record_length":96,"hex_timestamp":"0000019f97333780"} 
[2026-07-25 08:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946722304001,"66":27821,"19":206,"80":60416,"24":36,"16":357179152601710592,"45":4826240346931232768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-25 08:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946722304001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:27:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 08:27:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357179152601710592,"km_value":357179152601710.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4826240346931232768,"description":"Unknown IO ID 45"} 
[2026-07-25 08:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946722304001,"power":27821,"unknown_19":206,"unknown_80":60416,"ignition":36,"odometer":null,"unknown_45":4826240346931232768}} 
[2026-07-25 08:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":140979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:27:02] local.INFO: GPS data processed {"connection_id":140979,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:27:02] local.INFO: Acknowledgment sent {"connection_id":140979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:27:13] local.INFO: TCP Data received {"connection_id":141979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:13] local.INFO: Processing buffer {"connection_id":141979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:13] local.INFO: IMEI packet received {"connection_id":141979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":141979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:27:14] local.INFO: TCP Data received {"connection_id":141979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:14] local.INFO: Processing buffer {"connection_id":141979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:14] local.INFO: IMEI packet received {"connection_id":141979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":141979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:27:18] local.INFO: TCP Data received {"connection_id":141979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:18] local.INFO: Processing buffer {"connection_id":141979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:27:18] local.INFO: IMEI packet received {"connection_id":141979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":141979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:27:18] local.INFO: TCP Data received {"connection_id":141979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97331c28012d7eb50005e83698000400ae28..."} 
[2026-07-25 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97331c28012d7eb50005e83698000400ae28..."} 
[2026-07-25 08:27:18] local.INFO: Processing buffer {"connection_id":141979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97331c28012d7eb50005e83698000400ae28..."} 
[2026-07-25 08:27:18] local.INFO: Packet analysis {"connection_id":141979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:18] local.INFO: Extracted packet for processing {"connection_id":141979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:18] local.INFO: GPS Element Parsed {"raw_longitude":763278592,"raw_latitude":99104408,"longitude_deg":76.3278592,"latitude_deg":9.9104408,"altitude":4,"angle":174,"satellites":40,"speed":8,"hex_longitude":"2d7eb500","hex_latitude":"05e83698","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946717696001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110126543472164864,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129218682516832256,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784948137000,"timestamp_ms":1784948137000,"timestamp_seconds":1784948137,"priority":1,"record_length":96,"hex_timestamp":"0000019f97331c28"} 
[2026-07-25 08:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536657160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":232,"raw_value":7412925003840563200,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":4026609022,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199521,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3899006976,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":134,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":5557443235084697605,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,30,87,24,241,157,16,63,159,124,45,192,94,4,40,10,66,120,128,95,112,64,1,240,123,227,151,232,113,205,13,84,161,144,239,49,2,135,5,12,134,50],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 08:27:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288410867858210816,"timestamp_seconds":288410867858210.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946717696001,"66":13189,"30":206,"87":13824,"24":8,"16":110126543472164864,"45":9129218682516832256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946717696001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110126543472164864,"km_value":110126543472164.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129218682516832256,"description":"Unknown IO ID 45"} 
[2026-07-25 08:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946717696001,"power":13189,"unknown_30":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9129218682516832256}} 
[2026-07-25 08:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":141979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:27:18] local.INFO: GPS data processed {"connection_id":141979,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:27:18] local.INFO: Acknowledgment sent {"connection_id":141979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:27:33] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97335aa8012d43414006676ea8000e00652f..."} 
[2026-07-25 08:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97335aa8012d43414006676ea8000e00652f..."} 
[2026-07-25 08:27:33] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97335aa8012d43414006676ea8000e00652f..."} 
[2026-07-25 08:27:33] local.INFO: Packet analysis {"connection_id":140979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:33] local.INFO: Extracted packet for processing {"connection_id":140979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:33] local.INFO: GPS Element Parsed {"raw_longitude":759382336,"raw_latitude":107441832,"longitude_deg":75.9382336,"latitude_deg":10.7441832,"altitude":14,"angle":101,"satellites":47,"speed":44,"hex_longitude":"2d434140","hex_latitude":"06676ea8","is_valid_coordinates":true} 
[2026-07-25 08:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946724864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357179590688374784,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4836303077348116480,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784948153000,"timestamp_ms":1784948153000,"timestamp_seconds":1784948153,"priority":1,"record_length":96,"hex_timestamp":"0000019f97335aa8"} 
[2026-07-25 08:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 08:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946724864001,"66":27832,"19":206,"80":60416,"24":44,"16":357179590688374784,"45":4836303077348116480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-25 08:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946724864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357179590688374784,"km_value":357179590688374.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4836303077348116480,"description":"Unknown IO ID 45"} 
[2026-07-25 08:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946724864001,"power":27832,"unknown_19":206,"unknown_80":60416,"ignition":44,"odometer":null,"unknown_45":4836303077348116480}} 
[2026-07-25 08:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":140979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:27:33] local.INFO: GPS data processed {"connection_id":140979,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:27:33] local.INFO: Acknowledgment sent {"connection_id":140979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:27:49] local.INFO: TCP Data received {"connection_id":141979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97335aa8012d7eb90005e823a80003009c28..."} 
[2026-07-25 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97335aa8012d7eb90005e823a80003009c28..."} 
[2026-07-25 08:27:49] local.INFO: Processing buffer {"connection_id":141979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97335aa8012d7eb90005e823a80003009c28..."} 
[2026-07-25 08:27:49] local.INFO: Packet analysis {"connection_id":141979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:49] local.INFO: Extracted packet for processing {"connection_id":141979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9733"} 
[2026-07-25 08:27:49] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":99099560,"longitude_deg":76.3279616,"latitude_deg":9.909956,"altitude":3,"angle":156,"satellites":40,"speed":12,"hex_longitude":"2d7eb900","hex_latitude":"05e823a8","is_valid_coordinates":true} 
[2026-07-25 08:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946723072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110126783990333440,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130203844934277120,"note":"Value kept but may cause issues"} 
[2026-07-25 08:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784948153000,"timestamp_ms":1784948153000,"timestamp_seconds":1784948153,"priority":1,"record_length":96,"hex_timestamp":"0000019f97335aa8"} 
[2026-07-25 08:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 08:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":141979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":141979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":141979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946723072001,"66":13330,"30":206,"87":13824,"24":12,"16":110126783990333440,"45":9130203844934277120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946723072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:27:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:27:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110126783990333440,"km_value":110126783990333.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130203844934277120,"description":"Unknown IO ID 45"} 
[2026-07-25 08:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946723072001,"power":13330,"unknown_30":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9130203844934277120}} 
[2026-07-25 08:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":141979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:27:49] local.INFO: GPS data processed {"connection_id":141979,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:27:49] local.INFO: Acknowledgment sent {"connection_id":141979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:27:57] local.INFO: TCP Data received {"connection_id":141980,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:27:57] local.INFO: Processing buffer {"connection_id":141980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:27:57] local.INFO: IMEI packet received {"connection_id":141980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":141980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:28:01] local.INFO: TCP Data received {"connection_id":141980,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:01] local.INFO: Processing buffer {"connection_id":141980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:01] local.INFO: IMEI packet received {"connection_id":141980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":141980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:28:04] local.INFO: TCP Data received {"connection_id":141980,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:04] local.INFO: Processing buffer {"connection_id":141980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:04] local.INFO: IMEI packet received {"connection_id":141980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":141980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:28:05] local.INFO: TCP Data received {"connection_id":141980,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97348f40012d442c40066662b8000c00a42e..."} 
[2026-07-25 08:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97348f40012d442c40066662b8000c00a42e..."} 
[2026-07-25 08:28:05] local.INFO: Processing buffer {"connection_id":141980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97348f40012d442c40066662b8000c00a42e..."} 
[2026-07-25 08:28:05] local.INFO: Packet analysis {"connection_id":141980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:28:05] local.INFO: Extracted packet for processing {"connection_id":141980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:28:05] local.INFO: GPS Element Parsed {"raw_longitude":759442496,"raw_latitude":107373240,"longitude_deg":75.9442496,"latitude_deg":10.737324,"altitude":12,"angle":164,"satellites":46,"speed":50,"hex_longitude":"2d442c40","hex_latitude":"066662b8","is_valid_coordinates":true} 
[2026-07-25 08:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946745344001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357184323742334976,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4909345833788921856,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784948232000,"timestamp_ms":1784948232000,"timestamp_seconds":1784948232,"priority":1,"record_length":96,"hex_timestamp":"0000019f97348f40"} 
[2026-07-25 08:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:28: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-07-25 08: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 08:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946745344001,"66":27865,"59":206,"80":60416,"24":50,"16":357184323742334976,"45":4909345833788921856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,80,24,16,45]} 
[2026-07-25 08:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946745344001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:28:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-07-25 08:28:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357184323742334976,"km_value":357184323742335.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4909345833788921856,"description":"Unknown IO ID 45"} 
[2026-07-25 08:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946745344001,"power":27865,"unknown_59":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4909345833788921856}} 
[2026-07-25 08:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":141980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:28:05] local.INFO: GPS data processed {"connection_id":141980,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:28:05] local.INFO: Acknowledgment sent {"connection_id":141980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:28:07] local.INFO: TCP Data received {"connection_id":141980,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9734aa98012d443600066640f8000d00a32c..."} 
[2026-07-25 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9734aa98012d443600066640f8000d00a32c..."} 
[2026-07-25 08:28:07] local.INFO: Processing buffer {"connection_id":141980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9734aa98012d443600066640f8000d00a32c..."} 
[2026-07-25 08:28:07] local.INFO: Packet analysis {"connection_id":141980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:28:07] local.INFO: Extracted packet for processing {"connection_id":141980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":759444992,"raw_latitude":107364600,"longitude_deg":75.9444992,"latitude_deg":10.73646,"altitude":13,"angle":163,"satellites":44,"speed":51,"hex_longitude":"2d443600","hex_latitude":"066640f8","is_valid_coordinates":true} 
[2026-07-25 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946747392001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357184761828999168,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4912371689786095616,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784948239000,"timestamp_ms":1784948239000,"timestamp_seconds":1784948239,"priority":1,"record_length":96,"hex_timestamp":"0000019f9734aa98"} 
[2026-07-25 08:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946747392001,"66":27604,"235":206,"80":60416,"24":51,"16":357184761828999168,"45":4912371689786095616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-25 08:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946747392001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357184761828999168,"km_value":357184761828999.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4912371689786095616,"description":"Unknown IO ID 45"} 
[2026-07-25 08:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946747392001,"power":27604,"unknown_235":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4912371689786095616}} 
[2026-07-25 08:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":141980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:28:07] local.INFO: GPS data processed {"connection_id":141980,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:28:07] local.INFO: Acknowledgment sent {"connection_id":141980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:28:12] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:28:12] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:28:12] local.INFO: IMEI packet received {"connection_id":140980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":140980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:28:17] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:28:17] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:28:17] local.INFO: IMEI packet received {"connection_id":140980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":140980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:28:18] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97351fc8012d7eea4005e78aa80004009e28..."} 
[2026-07-25 08:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97351fc8012d7eea4005e78aa80004009e28..."} 
[2026-07-25 08:28:18] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97351fc8012d7eea4005e78aa80004009e28..."} 
[2026-07-25 08:28:18] local.INFO: Packet analysis {"connection_id":140980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:28:18] local.INFO: Extracted packet for processing {"connection_id":140980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:28:18] local.INFO: GPS Element Parsed {"raw_longitude":763292224,"raw_latitude":99060392,"longitude_deg":76.3292224,"latitude_deg":9.9060392,"altitude":4,"angle":158,"satellites":40,"speed":7,"hex_longitude":"2d7eea40","hex_latitude":"05e78aa8","is_valid_coordinates":true} 
[2026-07-25 08:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946756352001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110128802624962560,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145051649944664064,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784948269000,"timestamp_ms":1784948269000,"timestamp_seconds":1784948269,"priority":1,"record_length":96,"hex_timestamp":"0000019f97351fc8"} 
[2026-07-25 08:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 08:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946756352001,"66":12874,"30":206,"87":13824,"24":7,"16":110128802624962560,"45":9145051649944664064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 08:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946756352001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:28:18] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 08:28:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110128802624962560,"km_value":110128802624962.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145051649944664064,"description":"Unknown IO ID 45"} 
[2026-07-25 08:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946756352001,"power":12874,"unknown_30":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9145051649944664064}} 
[2026-07-25 08:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":140980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:28:18] local.INFO: GPS data processed {"connection_id":140980,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:28:18] local.INFO: Acknowledgment sent {"connection_id":140980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:28:39] local.INFO: TCP Data received {"connection_id":141980,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9734c5f0012d44414006661f20000d009f29..."} 
[2026-07-25 08:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9734c5f0012d44414006661f20000d009f29..."} 
[2026-07-25 08:28:39] local.INFO: Processing buffer {"connection_id":141980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9734c5f0012d44414006661f20000d009f29..."} 
[2026-07-25 08:28:39] local.INFO: Packet analysis {"connection_id":141980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:28:39] local.INFO: Extracted packet for processing {"connection_id":141980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":759447872,"raw_latitude":107355936,"longitude_deg":75.9447872,"latitude_deg":10.7355936,"altitude":13,"angle":159,"satellites":41,"speed":52,"hex_longitude":"2d444140","hex_latitude":"06661f20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946749184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357185199915663360,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4915116070806812672,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784948246000,"timestamp_ms":1784948246000,"timestamp_seconds":1784948246,"priority":1,"record_length":96,"hex_timestamp":"0000019f9734c5f0"} 
[2026-07-25 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-07-25 08:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-25 08:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946749184001,"66":27745,"235":206,"80":60416,"24":52,"16":357185199915663360,"45":4915116070806812672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-25 08:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946749184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:28:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-25 08:28:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357185199915663360,"km_value":357185199915663.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4915116070806812672,"description":"Unknown IO ID 45"} 
[2026-07-25 08:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946749184001,"power":27745,"unknown_235":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4915116070806812672}} 
[2026-07-25 08:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":141980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:28:39] local.INFO: GPS data processed {"connection_id":141980,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:28:39] local.INFO: Acknowledgment sent {"connection_id":141980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:28:49] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97354ac0012d7eeb0005e78918000200b027..."} 
[2026-07-25 08:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97354ac0012d7eeb0005e78918000200b027..."} 
[2026-07-25 08:28:49] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97354ac0012d7eeb0005e78918000200b027..."} 
[2026-07-25 08:28:49] local.INFO: Packet analysis {"connection_id":140980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:28:49] local.INFO: Extracted packet for processing {"connection_id":140980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:28:49] local.INFO: GPS Element Parsed {"raw_longitude":763292416,"raw_latitude":99059992,"longitude_deg":76.3292416,"latitude_deg":9.9059992,"altitude":2,"angle":176,"satellites":39,"speed":3,"hex_longitude":"2d7eeb00","hex_latitude":"05e78918","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946756864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110128824099799040,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145192387432851456,"note":"Value kept but may cause issues"} 
[2026-07-25 08:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784948280000,"timestamp_ms":1784948280000,"timestamp_seconds":1784948280,"priority":1,"record_length":96,"hex_timestamp":"0000019f97354ac0"} 
[2026-07-25 08:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-25 08:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":140980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":140980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":140980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946756864001,"66":12841,"131":206,"87":13824,"24":3,"16":110128824099799040,"45":9145192387432851456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946756864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:28:49] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:28:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110128824099799040,"km_value":110128824099799.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145192387432851456,"description":"Unknown IO ID 45"} 
[2026-07-25 08:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946756864001,"power":12841,"unknown_131":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9145192387432851456}} 
[2026-07-25 08:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":140980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:28:49] local.INFO: GPS data processed {"connection_id":140980,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:28:49] local.INFO: Acknowledgment sent {"connection_id":140980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:28:53] local.INFO: TCP Data received {"connection_id":141982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:53] local.INFO: Processing buffer {"connection_id":141982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:53] local.INFO: IMEI packet received {"connection_id":141982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":141982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:28:56] local.INFO: TCP Data received {"connection_id":141982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:56] local.INFO: Processing buffer {"connection_id":141982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:56] local.INFO: IMEI packet received {"connection_id":141982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":141982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:28:59] local.INFO: TCP Data received {"connection_id":141982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:59] local.INFO: Processing buffer {"connection_id":141982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:28:59] local.INFO: IMEI packet received {"connection_id":141982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":141982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:29:00] local.INFO: TCP Data received {"connection_id":141982,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9734e148012d444e800665fd58000e009c2b..."} 
[2026-07-25 08:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9734e148012d444e800665fd58000e009c2b..."} 
[2026-07-25 08:29:00] local.INFO: Processing buffer {"connection_id":141982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9734e148012d444e800665fd58000e009c2b..."} 
[2026-07-25 08:29:00] local.INFO: Packet analysis {"connection_id":141982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:29:00] local.INFO: Extracted packet for processing {"connection_id":141982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:29:00] local.INFO: GPS Element Parsed {"raw_longitude":759451264,"raw_latitude":107347288,"longitude_deg":75.9451264,"latitude_deg":10.7347288,"altitude":14,"angle":156,"satellites":43,"speed":53,"hex_longitude":"2d444e80","hex_latitude":"0665fd58","is_valid_coordinates":true} 
[2026-07-25 08:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946750976001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357185650887229440,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4918282664292589568,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784948253000,"timestamp_ms":1784948253000,"timestamp_seconds":1784948253,"priority":1,"record_length":96,"hex_timestamp":"0000019f9734e148"} 
[2026-07-25 08:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 08:29: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-07-25 08:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946750976001,"66":27745,"235":206,"80":60416,"24":53,"16":357185650887229440,"45":4918282664292589568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-25 08:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946750976001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:29:00] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-25 08:29:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357185650887229440,"km_value":357185650887229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4918282664292589568,"description":"Unknown IO ID 45"} 
[2026-07-25 08:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946750976001,"power":27745,"unknown_235":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4918282664292589568}} 
[2026-07-25 08:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":141982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:29:00] local.INFO: GPS data processed {"connection_id":141982,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:29:00] local.INFO: Acknowledgment sent {"connection_id":141982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:29:13] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:29:13] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:29:13] local.INFO: IMEI packet received {"connection_id":140936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":140936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:29:18] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:29:18] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:29:18] local.INFO: IMEI packet received {"connection_id":140936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":140936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:29:19] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97358558012d7eeb4005e78708000100a326..."} 
[2026-07-25 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97358558012d7eeb4005e78708000100a326..."} 
[2026-07-25 08:29:19] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97358558012d7eeb4005e78708000100a326..."} 
[2026-07-25 08:29:19] local.INFO: Packet analysis {"connection_id":140936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:29:19] local.INFO: Extracted packet for processing {"connection_id":140936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:29:19] local.INFO: GPS Element Parsed {"raw_longitude":763292480,"raw_latitude":99059464,"longitude_deg":76.329248,"latitude_deg":9.9059464,"altitude":1,"angle":163,"satellites":38,"speed":2,"hex_longitude":"2d7eeb40","hex_latitude":"05e78708","is_valid_coordinates":true} 
[2026-07-25 08:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946759680001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110128849869602816,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145403493665282048,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948295000,"timestamp_ms":1784948295000,"timestamp_seconds":1784948295,"priority":1,"record_length":96,"hex_timestamp":"0000019f97358558"} 
[2026-07-25 08:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 08:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946759680001,"66":12928,"131":206,"87":13824,"24":2,"16":110128849869602816,"45":9145403493665282048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946759680001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:29:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:29:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110128849869602816,"km_value":110128849869602.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145403493665282048,"description":"Unknown IO ID 45"} 
[2026-07-25 08:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946759680001,"power":12928,"unknown_131":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9145403493665282048}} 
[2026-07-25 08:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":140936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:29:19] local.INFO: GPS data processed {"connection_id":140936,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:29:19] local.INFO: Acknowledgment sent {"connection_id":140936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:29:31] local.INFO: TCP Data received {"connection_id":141982,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9734fca0012d445e000665db70000f009a2e..."} 
[2026-07-25 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9734fca0012d445e000665db70000f009a2e..."} 
[2026-07-25 08:29:31] local.INFO: Processing buffer {"connection_id":141982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9734fca0012d445e000665db70000f009a2e..."} 
[2026-07-25 08:29:31] local.INFO: Packet analysis {"connection_id":141982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:29:31] local.INFO: Extracted packet for processing {"connection_id":141982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9734"} 
[2026-07-25 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":759455232,"raw_latitude":107338608,"longitude_deg":75.9455232,"latitude_deg":10.7338608,"altitude":15,"angle":154,"satellites":46,"speed":54,"hex_longitude":"2d445e00","hex_latitude":"0665db70","is_valid_coordinates":true} 
[2026-07-25 08:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946752768001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357186114743697408,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4922012207731791872,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784948260000,"timestamp_ms":1784948260000,"timestamp_seconds":1784948260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9734fca0"} 
[2026-07-25 08:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 08:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946752768001,"66":27908,"235":206,"80":60416,"24":54,"16":357186114743697408,"45":4922012207731791872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-25 08:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946752768001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:29:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-25 08:29:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357186114743697408,"km_value":357186114743697.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4922012207731791872,"description":"Unknown IO ID 45"} 
[2026-07-25 08:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946752768001,"power":27908,"unknown_235":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4922012207731791872}} 
[2026-07-25 08:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":141982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:29:31] local.INFO: GPS data processed {"connection_id":141982,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:29:31] local.INFO: Acknowledgment sent {"connection_id":141982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:29:50] local.INFO: TCP Data received {"connection_id":140936,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9735d378012d7ef54005e76628000200a428..."} 
[2026-07-25 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9735d378012d7ef54005e76628000200a428..."} 
[2026-07-25 08:29:50] local.INFO: Processing buffer {"connection_id":140936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9735d378012d7ef54005e76628000200a428..."} 
[2026-07-25 08:29:50] local.INFO: Packet analysis {"connection_id":140936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:29:50] local.INFO: Extracted packet for processing {"connection_id":140936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9735"} 
[2026-07-25 08:29:50] local.INFO: GPS Element Parsed {"raw_longitude":763295040,"raw_latitude":99051048,"longitude_deg":76.329504,"latitude_deg":9.9051048,"altitude":2,"angle":164,"satellites":40,"speed":32,"hex_longitude":"2d7ef540","hex_latitude":"05e76628","is_valid_coordinates":true} 
[2026-07-25 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946763520001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110129279366332416,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145473862409324544,"note":"Value kept but may cause issues"} 
[2026-07-25 08:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948315000,"timestamp_ms":1784948315000,"timestamp_seconds":1784948315,"priority":1,"record_length":96,"hex_timestamp":"0000019f9735d378"} 
[2026-07-25 08:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-25 08:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946763520001,"66":12939,"131":206,"87":13824,"24":32,"16":110129279366332416,"45":9145473862409324544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946763520001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:29:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:29:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110129279366332416,"km_value":110129279366332.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145473862409324544,"description":"Unknown IO ID 45"} 
[2026-07-25 08:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946763520001,"power":12939,"unknown_131":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":9145473862409324544}} 
[2026-07-25 08:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":140936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:29:50] local.INFO: GPS data processed {"connection_id":140936,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:29:50] local.INFO: Acknowledgment sent {"connection_id":140936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:29:54] local.INFO: TCP Data received {"connection_id":143327,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:29:54] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:29:54] local.INFO: IMEI packet received {"connection_id":143327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":143327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:29:56] local.INFO: TCP Data received {"connection_id":143327,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:29:56] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:29:56] local.INFO: IMEI packet received {"connection_id":143327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":143327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:30:01] local.INFO: TCP Data received {"connection_id":143327,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:30:01] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:30:01] local.INFO: IMEI packet received {"connection_id":143327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":143327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:30:02] local.INFO: TCP Data received {"connection_id":143327,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973611f8012d44f90006646da0000d00a12e..."} 
[2026-07-25 08:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973611f8012d44f90006646da0000d00a12e..."} 
[2026-07-25 08:30:02] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973611f8012d44f90006646da0000d00a12e..."} 
[2026-07-25 08:30:02] local.INFO: Packet analysis {"connection_id":143327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9736"} 
[2026-07-25 08:30:02] local.INFO: Extracted packet for processing {"connection_id":143327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9736"} 
[2026-07-25 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":759494912,"raw_latitude":107244960,"longitude_deg":75.9494912,"latitude_deg":10.724496,"altitude":13,"angle":161,"satellites":46,"speed":57,"hex_longitude":"2d44f900","hex_latitude":"06646da0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946771200001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357191032481251328,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4966766729004734464,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784948331000,"timestamp_ms":1784948331000,"timestamp_seconds":1784948331,"priority":1,"record_length":96,"hex_timestamp":"0000019f973611f8"} 
[2026-07-25 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-07-25 08:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 08:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946771200001,"66":27767,"205":206,"80":60416,"24":57,"16":357191032481251328,"45":4966766729004734464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-07-25 08:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946771200001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:30:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357191032481251328,"km_value":357191032481251.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4966766729004734464,"description":"Unknown IO ID 45"} 
[2026-07-25 08:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946771200001,"power":27767,"cell_id":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4966766729004734464}} 
[2026-07-25 08:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":143327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:30:02] local.INFO: GPS data processed {"connection_id":143327,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:30:02] local.INFO: Acknowledgment sent {"connection_id":143327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:30:12] local.INFO: TCP Data received {"connection_id":143328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:30:12] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:30:12] local.INFO: IMEI packet received {"connection_id":143328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":143328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:30:18] local.INFO: TCP Data received {"connection_id":143328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:30:18] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:30:18] local.INFO: IMEI packet received {"connection_id":143328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":143328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:30:19] local.INFO: TCP Data received {"connection_id":143328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97370bf8012d7ee34005e72ee8000600f828..."} 
[2026-07-25 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97370bf8012d7ee34005e72ee8000600f828..."} 
[2026-07-25 08:30:19] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97370bf8012d7ee34005e72ee8000600f828..."} 
[2026-07-25 08:30:19] local.INFO: Packet analysis {"connection_id":143328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:30:19] local.INFO: Extracted packet for processing {"connection_id":143328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:30:19] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036904,"longitude_deg":76.3290432,"latitude_deg":9.9036904,"altitude":6,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee8","is_valid_coordinates":true} 
[2026-07-25 08:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946787840001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143503537566613504,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948395000,"timestamp_ms":1784948395000,"timestamp_seconds":1784948395,"priority":1,"record_length":96,"hex_timestamp":"0000019f97370bf8"} 
[2026-07-25 08:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 08:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946787840001,"66":12798,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143503537566613504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946787840001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:30:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:30:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143503537566613504,"description":"Unknown IO ID 45"} 
[2026-07-25 08:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946787840001,"power":12798,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143503537566613504}} 
[2026-07-25 08:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":143328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:30:19] local.INFO: GPS data processed {"connection_id":143328,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:30:19] local.INFO: Acknowledgment sent {"connection_id":143328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:30:33] local.INFO: TCP Data received {"connection_id":143327,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97362d50012d45058006644858000e00a12d..."} 
[2026-07-25 08:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97362d50012d45058006644858000e00a12d..."} 
[2026-07-25 08:30:33] local.INFO: Processing buffer {"connection_id":143327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97362d50012d45058006644858000e00a12d..."} 
[2026-07-25 08:30:33] local.INFO: Packet analysis {"connection_id":143327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9736"} 
[2026-07-25 08:30:33] local.INFO: Extracted packet for processing {"connection_id":143327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9736"} 
[2026-07-25 08:30:33] local.INFO: GPS Element Parsed {"raw_longitude":759498112,"raw_latitude":107235416,"longitude_deg":75.9498112,"latitude_deg":10.7235416,"altitude":14,"angle":161,"satellites":45,"speed":58,"hex_longitude":"2d450580","hex_latitude":"06644858","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946772736001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357191522107523072,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4970003691234762752,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784948338000,"timestamp_ms":1784948338000,"timestamp_seconds":1784948338,"priority":1,"record_length":96,"hex_timestamp":"0000019f97362d50"} 
[2026-07-25 08:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946772736001,"66":27865,"205":206,"80":60416,"24":58,"16":357191522107523072,"45":4970003691234762752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-07-25 08:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946772736001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:30:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357191522107523072,"km_value":357191522107523.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4970003691234762752,"description":"Unknown IO ID 45"} 
[2026-07-25 08:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946772736001,"power":27865,"cell_id":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4970003691234762752}} 
[2026-07-25 08:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":143327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:30:33] local.INFO: GPS data processed {"connection_id":143327,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:30:33] local.INFO: Acknowledgment sent {"connection_id":143327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:30:50] local.INFO: TCP Data received {"connection_id":143328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:30:50] local.INFO: Processing buffer {"connection_id":143328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:30:50] local.INFO: Packet analysis {"connection_id":143328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:30:50] local.INFO: Extracted packet for processing {"connection_id":143328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946789120001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589863936,"note":"Value kept but may cause issues"} 
[2026-07-25 08:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 08:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946789120001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589863936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946789120001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:30:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:30:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589863936,"description":"Unknown IO ID 45"} 
[2026-07-25 08:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946789120001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589863936}} 
[2026-07-25 08:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":143328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542067,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:30:50] local.INFO: GPS data processed {"connection_id":143328,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:30:50] local.INFO: Acknowledgment sent {"connection_id":143328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:30:56] local.INFO: TCP Data received {"connection_id":141983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:30:56] local.INFO: Processing buffer {"connection_id":141983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:30:56] local.INFO: IMEI packet received {"connection_id":141983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":141983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:31:00] local.INFO: TCP Data received {"connection_id":141983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:00] local.INFO: Processing buffer {"connection_id":141983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:00] local.INFO: IMEI packet received {"connection_id":141983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":141983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:31:01] local.INFO: TCP Data received {"connection_id":141983,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d459a800662d0f0000f009429..."} 
[2026-07-25 08:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d459a800662d0f0000f009429..."} 
[2026-07-25 08:31:01] local.INFO: Processing buffer {"connection_id":141983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d459a800662d0f0000f009429..."} 
[2026-07-25 08:31:01] local.INFO: Packet analysis {"connection_id":141983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:01] local.INFO: Extracted packet for processing {"connection_id":141983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:01] local.INFO: GPS Element Parsed {"raw_longitude":759536256,"raw_latitude":107139312,"longitude_deg":75.9536256,"latitude_deg":10.7139312,"altitude":15,"angle":148,"satellites":41,"speed":59,"hex_longitude":"2d459a80","hex_latitude":"0662d0f0","is_valid_coordinates":true} 
[2026-07-25 08:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946790912001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357196538629324800,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5010113875390990336,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946790912001,"66":27800,"206":206,"80":60416,"24":59,"16":357196538629324800,"45":5010113875390990336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-25 08:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946790912001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:31:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 08:31:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357196538629324800,"km_value":357196538629324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5010113875390990336,"description":"Unknown IO ID 45"} 
[2026-07-25 08:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946790912001,"power":27800,"unknown_206":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":5010113875390990336}} 
[2026-07-25 08:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":141983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:31:01] local.INFO: GPS data processed {"connection_id":141983,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:31:01] local.INFO: Acknowledgment sent {"connection_id":141983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:31:18] local.INFO: TCP Data received {"connection_id":140937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:31:18] local.INFO: Processing buffer {"connection_id":140937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:31:18] local.INFO: IMEI packet received {"connection_id":140937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":140937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:31:22] local.INFO: TCP Data received {"connection_id":140937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:31:22] local.INFO: Processing buffer {"connection_id":140937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:31:22] local.INFO: IMEI packet received {"connection_id":140937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":140937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:31:23] local.INFO: TCP Data received {"connection_id":140937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:31:23] local.INFO: Processing buffer {"connection_id":140937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:31:23] local.INFO: Packet analysis {"connection_id":140937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:23] local.INFO: Extracted packet for processing {"connection_id":140937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08: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-07-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:31:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:31:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:31:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":140937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:31:23] local.INFO: GPS data processed {"connection_id":140937,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:31:23] local.INFO: Acknowledgment sent {"connection_id":140937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:31:28] local.INFO: TCP Data received {"connection_id":140937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:31:28] local.INFO: Processing buffer {"connection_id":140937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:31:28] local.INFO: Packet analysis {"connection_id":140937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:28] local.INFO: Extracted packet for processing {"connection_id":140937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:31: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-07-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:31:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":140937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":140937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":140937,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:31: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-07-25 08:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:31:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:31:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":140937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:31:28] local.INFO: GPS data processed {"connection_id":140937,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:31:28] local.INFO: Acknowledgment sent {"connection_id":140937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:31:32] local.INFO: TCP Data received {"connection_id":141983,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97375a18012d45af800662af38000f00942b..."} 
[2026-07-25 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97375a18012d45af800662af38000f00942b..."} 
[2026-07-25 08:31:32] local.INFO: Processing buffer {"connection_id":141983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97375a18012d45af800662af38000f00942b..."} 
[2026-07-25 08:31:32] local.INFO: Packet analysis {"connection_id":141983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:32] local.INFO: Extracted packet for processing {"connection_id":141983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":759541632,"raw_latitude":107130680,"longitude_deg":75.9541632,"latitude_deg":10.713068,"altitude":15,"angle":148,"satellites":43,"speed":57,"hex_longitude":"2d45af80","hex_latitude":"0662af38","is_valid_coordinates":true} 
[2026-07-25 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357197028255596544,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5015461899946487808,"note":"Value kept but may cause issues"} 
[2026-07-25 08:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784948415000,"timestamp_ms":1784948415000,"timestamp_seconds":1784948415,"priority":1,"record_length":96,"hex_timestamp":"0000019f97375a18"} 
[2026-07-25 08:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":27865,"206":206,"80":60416,"24":57,"16":357197028255596544,"45":5015461899946487808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-25 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357197028255596544,"km_value":357197028255596.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5015461899946487808,"description":"Unknown IO ID 45"} 
[2026-07-25 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":27865,"unknown_206":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":5015461899946487808}} 
[2026-07-25 08:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":141983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:31:32] local.INFO: GPS data processed {"connection_id":141983,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:31:32] local.INFO: Acknowledgment sent {"connection_id":141983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:31:56] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:56] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:56] local.INFO: IMEI packet received {"connection_id":143329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":143329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:31:57] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:57] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:31:57] local.INFO: IMEI packet received {"connection_id":143329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":143329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:32:01] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:01] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:01] local.INFO: IMEI packet received {"connection_id":143329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":143329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:32:05] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97377570012d45c4c006628cf8000e009528..."} 
[2026-07-25 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97377570012d45c4c006628cf8000e009528..."} 
[2026-07-25 08:32:05] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97377570012d45c4c006628cf8000e009528..."} 
[2026-07-25 08:32:05] local.INFO: Packet analysis {"connection_id":143329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:32:05] local.INFO: Extracted packet for processing {"connection_id":143329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:32:05] local.INFO: GPS Element Parsed {"raw_longitude":759547072,"raw_latitude":107121912,"longitude_deg":75.9547072,"latitude_deg":10.7121912,"altitude":14,"angle":149,"satellites":40,"speed":59,"hex_longitude":"2d45c4c0","hex_latitude":"06628cf8","is_valid_coordinates":true} 
[2026-07-25 08:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946794240001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357197526471802880,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5021372874455201792,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784948422000,"timestamp_ms":1784948422000,"timestamp_seconds":1784948422,"priority":1,"record_length":96,"hex_timestamp":"0000019f97377570"} 
[2026-07-25 08:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:32: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-07-25 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946794240001,"66":27865,"206":206,"80":60416,"24":59,"16":357197526471802880,"45":5021372874455201792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-25 08:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946794240001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:32:05] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 08:32:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357197526471802880,"km_value":357197526471802.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5021372874455201792,"description":"Unknown IO ID 45"} 
[2026-07-25 08:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946794240001,"power":27865,"unknown_206":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":5021372874455201792}} 
[2026-07-25 08:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":143329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:32:05] local.INFO: GPS data processed {"connection_id":143329,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:32:05] local.INFO: Acknowledgment sent {"connection_id":143329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:32:13] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:32:13] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:32:13] local.INFO: IMEI packet received {"connection_id":140981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":140981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:32:17] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:32:17] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:32:17] local.INFO: IMEI packet received {"connection_id":140981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":140981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:32:19] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:32:19] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:32:19] local.INFO: Packet analysis {"connection_id":140981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:32:19] local.INFO: Extracted packet for processing {"connection_id":140981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:32:19] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:32:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:32:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:32:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":140981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:32:19] local.INFO: GPS data processed {"connection_id":140981,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:32:19] local.INFO: Acknowledgment sent {"connection_id":140981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:32:38] local.INFO: TCP Data received {"connection_id":143329,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9738a620012d467b800660f310000f009f2d..."} 
[2026-07-25 08:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9738a620012d467b800660f310000f009f2d..."} 
[2026-07-25 08:32:38] local.INFO: Processing buffer {"connection_id":143329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9738a620012d467b800660f310000f009f2d..."} 
[2026-07-25 08:32:38] local.INFO: Packet analysis {"connection_id":143329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9738"} 
[2026-07-25 08:32:38] local.INFO: Extracted packet for processing {"connection_id":143329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9738"} 
[2026-07-25 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":759593856,"raw_latitude":107016976,"longitude_deg":75.9593856,"latitude_deg":10.7016976,"altitude":15,"angle":159,"satellites":45,"speed":54,"hex_longitude":"2d467b80","hex_latitude":"0660f310","is_valid_coordinates":true} 
[2026-07-25 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946814208001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357203084159483904,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5074712382515103744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784948500000,"timestamp_ms":1784948500000,"timestamp_seconds":1784948500,"priority":1,"record_length":96,"hex_timestamp":"0000019f9738a620"} 
[2026-07-25 08:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946814208001,"66":27767,"206":206,"80":60416,"24":54,"16":357203084159483904,"45":5074712382515103744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-25 08:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946814208001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:32:38] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 08:32:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357203084159483904,"km_value":357203084159483.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5074712382515103744,"description":"Unknown IO ID 45"} 
[2026-07-25 08:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946814208001,"power":27767,"unknown_206":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5074712382515103744}} 
[2026-07-25 08:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":143329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:32:38] local.INFO: GPS data processed {"connection_id":143329,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:32:38] local.INFO: Acknowledgment sent {"connection_id":143329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:32:50] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:32:50] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:32:50] local.INFO: Packet analysis {"connection_id":140981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:32:50] local.INFO: Extracted packet for processing {"connection_id":140981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:32:50] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:32:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:32:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:32:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:32:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":140981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:32:50] local.INFO: GPS data processed {"connection_id":140981,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:32:50] local.INFO: Acknowledgment sent {"connection_id":140981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:32:56] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:56] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:56] local.INFO: IMEI packet received {"connection_id":140982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":140982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:32:59] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:59] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:32:59] local.INFO: IMEI packet received {"connection_id":140982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":140982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:33:01] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:01] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:01] local.INFO: IMEI packet received {"connection_id":140982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":140982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:33:03] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9738c178012d4687c00660d078001100a22d..."} 
[2026-07-25 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9738c178012d4687c00660d078001100a22d..."} 
[2026-07-25 08:33:03] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9738c178012d4687c00660d078001100a22d..."} 
[2026-07-25 08:33:03] local.INFO: Packet analysis {"connection_id":140982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9738"} 
[2026-07-25 08:33:03] local.INFO: Extracted packet for processing {"connection_id":140982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9738"} 
[2026-07-25 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":759596992,"raw_latitude":107008120,"longitude_deg":75.9596992,"latitude_deg":10.700812,"altitude":17,"angle":162,"satellites":45,"speed":52,"hex_longitude":"2d4687c0","hex_latitude":"0660d078","is_valid_coordinates":true} 
[2026-07-25 08:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946816000001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357203535131049984,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5078793769675067392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784948507000,"timestamp_ms":1784948507000,"timestamp_seconds":1784948507,"priority":1,"record_length":96,"hex_timestamp":"0000019f9738c178"} 
[2026-07-25 08:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946816000001,"66":27919,"115":206,"80":60416,"24":52,"16":357203535131049984,"45":5078793769675067392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-07-25 08:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946816000001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357203535131049984,"km_value":357203535131050.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5078793769675067392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946816000001,"power":27919,"unknown_115":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5078793769675067392}} 
[2026-07-25 08:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":140982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:33:03] local.INFO: GPS data processed {"connection_id":140982,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:33:03] local.INFO: Acknowledgment sent {"connection_id":140982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:33:13] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:33:13] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:33:13] local.INFO: IMEI packet received {"connection_id":140938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":140938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:33:18] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:33:18] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:33:18] local.INFO: IMEI packet received {"connection_id":140938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":140938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:33:19] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:33:19] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:33:19] local.INFO: Packet analysis {"connection_id":140938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:33:19] local.INFO: Extracted packet for processing {"connection_id":140938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:33:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:33:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:33:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":140938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:33:19] local.INFO: GPS data processed {"connection_id":140938,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:33:19] local.INFO: Acknowledgment sent {"connection_id":140938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:33:36] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9738dcd0012d4692000660ae48001100a52d..."} 
[2026-07-25 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9738dcd0012d4692000660ae48001100a52d..."} 
[2026-07-25 08:33:36] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9738dcd0012d4692000660ae48001100a52d..."} 
[2026-07-25 08:33:36] local.INFO: Packet analysis {"connection_id":140982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9738"} 
[2026-07-25 08:33:36] local.INFO: Extracted packet for processing {"connection_id":140982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9738"} 
[2026-07-25 08:33:36] local.INFO: GPS Element Parsed {"raw_longitude":759599616,"raw_latitude":106999368,"longitude_deg":75.9599616,"latitude_deg":10.6999368,"altitude":17,"angle":165,"satellites":45,"speed":51,"hex_longitude":"2d469200","hex_latitude":"0660ae48","is_valid_coordinates":true} 
[2026-07-25 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946817792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357203977512681472,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5082241838137505792,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784948514000,"timestamp_ms":1784948514000,"timestamp_seconds":1784948514,"priority":1,"record_length":96,"hex_timestamp":"0000019f9738dcd0"} 
[2026-07-25 08:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:33: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-07-25 08:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 08:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946817792001,"66":27908,"115":206,"80":60416,"24":51,"16":357203977512681472,"45":5082241838137505792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,80,24,16,45]} 
[2026-07-25 08:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946817792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:33:36] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 08:33:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357203977512681472,"km_value":357203977512681.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5082241838137505792,"description":"Unknown IO ID 45"} 
[2026-07-25 08:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946817792001,"power":27908,"unknown_115":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5082241838137505792}} 
[2026-07-25 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":140982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:33:36] local.INFO: GPS data processed {"connection_id":140982,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:33:36] local.INFO: Acknowledgment sent {"connection_id":140982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:33:50] local.INFO: TCP Data received {"connection_id":140938,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:33:50] local.INFO: Processing buffer {"connection_id":140938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:33:50] local.INFO: Packet analysis {"connection_id":140938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:33:50] local.INFO: Extracted packet for processing {"connection_id":140938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:33:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:33:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:33:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:33:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":140938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:33:50] local.INFO: GPS data processed {"connection_id":140938,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:33:50] local.INFO: Acknowledgment sent {"connection_id":140938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:33:56] local.INFO: TCP Data received {"connection_id":141984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:56] local.INFO: Processing buffer {"connection_id":141984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:56] local.INFO: IMEI packet received {"connection_id":141984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":141984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:33:59] local.INFO: TCP Data received {"connection_id":141984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:59] local.INFO: Processing buffer {"connection_id":141984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:33:59] local.INFO: IMEI packet received {"connection_id":141984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":141984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:34:01] local.INFO: TCP Data received {"connection_id":141984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:34:01] local.INFO: Processing buffer {"connection_id":141984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:34:01] local.INFO: IMEI packet received {"connection_id":141984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":141984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:34:03] local.INFO: TCP Data received {"connection_id":141984,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9739f9f8012d472140065f2e20000d00942b..."} 
[2026-07-25 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9739f9f8012d472140065f2e20000d00942b..."} 
[2026-07-25 08:34:03] local.INFO: Processing buffer {"connection_id":141984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9739f9f8012d472140065f2e20000d00942b..."} 
[2026-07-25 08:34:03] local.INFO: Packet analysis {"connection_id":141984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9739"} 
[2026-07-25 08:34:03] local.INFO: Extracted packet for processing {"connection_id":141984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9739"} 
[2026-07-25 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":759636288,"raw_latitude":106901024,"longitude_deg":75.9636288,"latitude_deg":10.6901024,"altitude":13,"angle":148,"satellites":43,"speed":54,"hex_longitude":"2d472140","hex_latitude":"065f2e20","is_valid_coordinates":true} 
[2026-07-25 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946836480001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357209092818731008,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5120029853735589888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784948587000,"timestamp_ms":1784948587000,"timestamp_seconds":1784948587,"priority":1,"record_length":96,"hex_timestamp":"0000019f9739f9f8"} 
[2026-07-25 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946836480001,"66":27876,"239":206,"80":60416,"24":54,"16":357209092818731008,"45":5120029853735589888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,80,24,16,45]} 
[2026-07-25 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946836480001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357209092818731008,"km_value":357209092818731.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5120029853735589888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946836480001,"power":27876,"unknown_239":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5120029853735589888}} 
[2026-07-25 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":141984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:34:03] local.INFO: GPS data processed {"connection_id":141984,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:34:03] local.INFO: Acknowledgment sent {"connection_id":141984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:34:13] local.INFO: TCP Data received {"connection_id":141985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:34:13] local.INFO: Processing buffer {"connection_id":141985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:34:13] local.INFO: IMEI packet received {"connection_id":141985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":141985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:34:17] local.INFO: TCP Data received {"connection_id":141985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:34:17] local.INFO: Processing buffer {"connection_id":141985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:34:17] local.INFO: IMEI packet received {"connection_id":141985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":141985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:34:18] local.INFO: TCP Data received {"connection_id":141985,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:34:18] local.INFO: Processing buffer {"connection_id":141985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:34:18] local.INFO: Packet analysis {"connection_id":141985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:34:18] local.INFO: Extracted packet for processing {"connection_id":141985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:34:18] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:34:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":141985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:34:18] local.INFO: GPS data processed {"connection_id":141985,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:34:18] local.INFO: Acknowledgment sent {"connection_id":141985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:34:35] local.INFO: TCP Data received {"connection_id":141984,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973a1550012d473480065f0d58000e00962c..."} 
[2026-07-25 08:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973a1550012d473480065f0d58000e00962c..."} 
[2026-07-25 08:34:35] local.INFO: Processing buffer {"connection_id":141984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973a1550012d473480065f0d58000e00962c..."} 
[2026-07-25 08:34:35] local.INFO: Packet analysis {"connection_id":141984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973a"} 
[2026-07-25 08:34:35] local.INFO: Extracted packet for processing {"connection_id":141984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973a"} 
[2026-07-25 08:34:35] local.INFO: GPS Element Parsed {"raw_longitude":759641216,"raw_latitude":106892632,"longitude_deg":75.9641216,"latitude_deg":10.6892632,"altitude":14,"angle":150,"satellites":44,"speed":55,"hex_longitude":"2d473480","hex_latitude":"065f0d58","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946838272001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357209560970166272,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5125448247035174912,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784948594000,"timestamp_ms":1784948594000,"timestamp_seconds":1784948594,"priority":1,"record_length":96,"hex_timestamp":"0000019f973a1550"} 
[2026-07-25 08:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:34: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-07-25 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 08:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946838272001,"66":27767,"239":206,"80":60416,"24":55,"16":357209560970166272,"45":5125448247035174912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,80,24,16,45]} 
[2026-07-25 08:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946838272001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:34:35] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 08:34:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357209560970166272,"km_value":357209560970166.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5125448247035174912,"description":"Unknown IO ID 45"} 
[2026-07-25 08:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946838272001,"power":27767,"unknown_239":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5125448247035174912}} 
[2026-07-25 08:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":141984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:34:35] local.INFO: GPS data processed {"connection_id":141984,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:34:35] local.INFO: Acknowledgment sent {"connection_id":141984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:34:51] local.INFO: TCP Data received {"connection_id":141985,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:34:51] local.INFO: Processing buffer {"connection_id":141985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97373ec0012d7ee34005e72ee0000600fe27..."} 
[2026-07-25 08:34:51] local.INFO: Packet analysis {"connection_id":141985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:34:51] local.INFO: Extracted packet for processing {"connection_id":141985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9737"} 
[2026-07-25 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763290432,"raw_latitude":99036896,"longitude_deg":76.3290432,"latitude_deg":9.9036896,"altitude":6,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7ee340","hex_latitude":"05e72ee0","is_valid_coordinates":true} 
[2026-07-25 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784948408000,"timestamp_ms":1784948408000,"timestamp_seconds":1784948408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97373ec0"} 
[2026-07-25 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663761,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536914160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3879327744,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2147870514,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085585,"note":"Value kept but may cause issues"} 
[2026-07-25 08:34:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,11,45,64,46,6,40,10,248,47,5,228,1,240,35,227,151,231,4,113,205,3,139,235,239,50,2,135,14],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:34:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747503,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":13059,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:34:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:34:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":13059,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":141985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:34:51] local.INFO: GPS data processed {"connection_id":141985,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:34:51] local.INFO: Acknowledgment sent {"connection_id":141985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:35:00] local.INFO: TCP Data received {"connection_id":143330,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:00] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:00] local.INFO: IMEI packet received {"connection_id":143330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:35:01] local.INFO: TCP Data received {"connection_id":143330,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:01] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:01] local.INFO: IMEI packet received {"connection_id":143330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":143330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:35:06] local.INFO: TCP Data received {"connection_id":143330,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:06] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:06] local.INFO: IMEI packet received {"connection_id":143330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":143330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:35:07] local.INFO: TCP Data received {"connection_id":143330,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973a30a8012d474600065eeb20000e009a2d..."} 
[2026-07-25 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973a30a8012d474600065eeb20000e009a2d..."} 
[2026-07-25 08:35:07] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973a30a8012d474600065eeb20000e009a2d..."} 
[2026-07-25 08:35:07] local.INFO: Packet analysis {"connection_id":143330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973a"} 
[2026-07-25 08:35:07] local.INFO: Extracted packet for processing {"connection_id":143330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973a"} 
[2026-07-25 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":759645696,"raw_latitude":106883872,"longitude_deg":75.9645696,"latitude_deg":10.6883872,"altitude":14,"angle":154,"satellites":45,"speed":56,"hex_longitude":"2d474600","hex_latitude":"065eeb20","is_valid_coordinates":true} 
[2026-07-25 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946840064001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357210037711536128,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5130866640334706688,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784948601000,"timestamp_ms":1784948601000,"timestamp_seconds":1784948601,"priority":1,"record_length":96,"hex_timestamp":"0000019f973a30a8"} 
[2026-07-25 08:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946840064001,"66":27832,"240":206,"80":60416,"24":56,"16":357210037711536128,"45":5130866640334706688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-07-25 08:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946840064001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:35:07] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-25 08:35:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357210037711536128,"km_value":357210037711536.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5130866640334706688,"description":"Unknown IO ID 45"} 
[2026-07-25 08:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946840064001,"power":27832,"unknown_240":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5130866640334706688}} 
[2026-07-25 08:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":143330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:35:07] local.INFO: GPS data processed {"connection_id":143330,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:35:07] local.INFO: Acknowledgment sent {"connection_id":143330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:35:08] local.INFO: TCP Data received {"connection_id":143330,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973a4c00012d475600065ec7e0000e009c2c..."} 
[2026-07-25 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973a4c00012d475600065ec7e0000e009c2c..."} 
[2026-07-25 08:35:08] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973a4c00012d475600065ec7e0000e009c2c..."} 
[2026-07-25 08:35:08] local.INFO: Packet analysis {"connection_id":143330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973a"} 
[2026-07-25 08:35:08] local.INFO: Extracted packet for processing {"connection_id":143330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973a"} 
[2026-07-25 08:35:08] local.INFO: GPS Element Parsed {"raw_longitude":759649792,"raw_latitude":106874848,"longitude_deg":75.9649792,"latitude_deg":10.6874848,"altitude":14,"angle":156,"satellites":44,"speed":56,"hex_longitude":"2d475600","hex_latitude":"065ec7e0","is_valid_coordinates":true} 
[2026-07-25 08:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946841856001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357210514452905984,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5135792452424900608,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784948608000,"timestamp_ms":1784948608000,"timestamp_seconds":1784948608,"priority":1,"record_length":96,"hex_timestamp":"0000019f973a4c00"} 
[2026-07-25 08:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 08:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946841856001,"66":27821,"240":206,"80":60416,"24":56,"16":357210514452905984,"45":5135792452424900608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,80,24,16,45]} 
[2026-07-25 08:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946841856001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:35:08] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-25 08:35:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-25 08:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357210514452905984,"km_value":357210514452906.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5135792452424900608,"description":"Unknown IO ID 45"} 
[2026-07-25 08:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946841856001,"power":27821,"unknown_240":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5135792452424900608}} 
[2026-07-25 08:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":143330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:35:08] local.INFO: GPS data processed {"connection_id":143330,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:35:08] local.INFO: Acknowledgment sent {"connection_id":143330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:35:12] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:12] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:12] local.INFO: IMEI packet received {"connection_id":140939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":140939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:35:13] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:13] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:13] local.INFO: IMEI packet received {"connection_id":140939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":140939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:35:18] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:18] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:35:18] local.INFO: IMEI packet received {"connection_id":140939,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":140939,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:35:19] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:35:19] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:35:19] local.INFO: Packet analysis {"connection_id":140939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:35:19] local.INFO: Extracted packet for processing {"connection_id":140939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:35:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:35:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:35:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":140939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:35:19] local.INFO: GPS data processed {"connection_id":140939,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:35:19] local.INFO: Acknowledgment sent {"connection_id":140939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:35:40] local.INFO: TCP Data received {"connection_id":143330,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973b6d10012d480080065d54f00014009a2e..."} 
[2026-07-25 08:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973b6d10012d480080065d54f00014009a2e..."} 
[2026-07-25 08:35:40] local.INFO: Processing buffer {"connection_id":143330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973b6d10012d480080065d54f00014009a2e..."} 
[2026-07-25 08:35:40] local.INFO: Packet analysis {"connection_id":143330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:35:40] local.INFO: Extracted packet for processing {"connection_id":143330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:35:40] local.INFO: GPS Element Parsed {"raw_longitude":759693440,"raw_latitude":106779888,"longitude_deg":75.969344,"latitude_deg":10.6779888,"altitude":20,"angle":154,"satellites":46,"speed":52,"hex_longitude":"2d480080","hex_latitude":"065d54f0","is_valid_coordinates":true} 
[2026-07-25 08:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357215569629413376,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5183995042162087936,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784948682000,"timestamp_ms":1784948682000,"timestamp_seconds":1784948682,"priority":1,"record_length":96,"hex_timestamp":"0000019f973b6d10"} 
[2026-07-25 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-07-25 08:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 08:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946860800001,"66":28028,"65":206,"78":62464,"24":52,"16":357215569629413376,"45":5183995042162087936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-07-25 08:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:35:40] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 08:35:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357215569629413376,"km_value":357215569629413.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5183995042162087936,"description":"Unknown IO ID 45"} 
[2026-07-25 08:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946860800001,"power":28028,"unknown_65":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5183995042162087936}} 
[2026-07-25 08:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":143330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:35:40] local.INFO: GPS data processed {"connection_id":143330,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:35:40] local.INFO: Acknowledgment sent {"connection_id":143330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:35:50] local.INFO: TCP Data received {"connection_id":140939,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:35:50] local.INFO: Processing buffer {"connection_id":140939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:35:50] local.INFO: Packet analysis {"connection_id":140939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:35:50] local.INFO: Extracted packet for processing {"connection_id":140939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:35:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:35:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140939,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:35:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":140939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:35:50] local.INFO: GPS data processed {"connection_id":140939,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:35:50] local.INFO: Acknowledgment sent {"connection_id":140939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:35:56] local.INFO: TCP Data received {"connection_id":140983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:56] local.INFO: Processing buffer {"connection_id":140983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:56] local.INFO: IMEI packet received {"connection_id":140983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":140983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:35:59] local.INFO: TCP Data received {"connection_id":140983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:59] local.INFO: Processing buffer {"connection_id":140983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:35:59] local.INFO: IMEI packet received {"connection_id":140983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":140983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:36:00] local.INFO: TCP Data received {"connection_id":140983,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973b8868012d4810c0065d33900014009a2e..."} 
[2026-07-25 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973b8868012d4810c0065d33900014009a2e..."} 
[2026-07-25 08:36:00] local.INFO: Processing buffer {"connection_id":140983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973b8868012d4810c0065d33900014009a2e..."} 
[2026-07-25 08:36:00] local.INFO: Packet analysis {"connection_id":140983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:00] local.INFO: Extracted packet for processing {"connection_id":140983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":759697600,"raw_latitude":106771344,"longitude_deg":75.96976,"latitude_deg":10.6771344,"altitude":20,"angle":154,"satellites":46,"speed":55,"hex_longitude":"2d4810c0","hex_latitude":"065d3390","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946862592001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357216024895946752,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5188287535554818048,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784948689000,"timestamp_ms":1784948689000,"timestamp_seconds":1784948689,"priority":1,"record_length":96,"hex_timestamp":"0000019f973b8868"} 
[2026-07-25 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":140983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":140983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":140983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946862592001,"66":28028,"65":206,"78":62464,"24":55,"16":357216024895946752,"45":5188287535554818048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-07-25 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946862592001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:36:00] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 08:36:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357216024895946752,"km_value":357216024895946.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5188287535554818048,"description":"Unknown IO ID 45"} 
[2026-07-25 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946862592001,"power":28028,"unknown_65":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5188287535554818048}} 
[2026-07-25 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":140983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:36:00] local.INFO: GPS data processed {"connection_id":140983,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:36:00] local.INFO: Acknowledgment sent {"connection_id":140983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:36:13] local.INFO: TCP Data received {"connection_id":141986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:36:13] local.INFO: Processing buffer {"connection_id":141986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:36:13] local.INFO: IMEI packet received {"connection_id":141986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":141986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:36:18] local.INFO: TCP Data received {"connection_id":141986,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:36:18] local.INFO: Processing buffer {"connection_id":141986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:36:18] local.INFO: IMEI packet received {"connection_id":141986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":141986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:36:19] local.INFO: TCP Data received {"connection_id":141986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:36:19] local.INFO: Processing buffer {"connection_id":141986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:36:19] local.INFO: Packet analysis {"connection_id":141986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:19] local.INFO: Extracted packet for processing {"connection_id":141986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:36:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:36:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:36:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":141986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:36:19] local.INFO: GPS data processed {"connection_id":141986,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:36:19] local.INFO: Acknowledgment sent {"connection_id":141986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:36:31] local.INFO: TCP Data received {"connection_id":140983,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973ba3c0012d482080065d0f780012009e2d..."} 
[2026-07-25 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973ba3c0012d482080065d0f780012009e2d..."} 
[2026-07-25 08:36:31] local.INFO: Processing buffer {"connection_id":140983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973ba3c0012d482080065d0f780012009e2d..."} 
[2026-07-25 08:36:31] local.INFO: Packet analysis {"connection_id":140983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:31] local.INFO: Extracted packet for processing {"connection_id":140983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759701632,"raw_latitude":106762104,"longitude_deg":75.9701632,"latitude_deg":10.6762104,"altitude":18,"angle":158,"satellites":45,"speed":59,"hex_longitude":"2d482080","hex_latitude":"065d0f78","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946864384001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357216514522218496,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5192861503924178944,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784948696000,"timestamp_ms":1784948696000,"timestamp_seconds":1784948696,"priority":1,"record_length":96,"hex_timestamp":"0000019f973ba3c0"} 
[2026-07-25 08:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 08:36: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-07-25 08: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-07-25 08:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":140983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":140983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":140983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946864384001,"66":28006,"65":206,"78":62464,"24":59,"16":357216514522218496,"45":5192861503924178944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-07-25 08:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946864384001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:36:31] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 08:36:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357216514522218496,"km_value":357216514522218.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5192861503924178944,"description":"Unknown IO ID 45"} 
[2026-07-25 08:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946864384001,"power":28006,"unknown_65":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5192861503924178944}} 
[2026-07-25 08:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":140983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:36:31] local.INFO: GPS data processed {"connection_id":140983,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:36:31] local.INFO: Acknowledgment sent {"connection_id":140983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:36:51] local.INFO: TCP Data received {"connection_id":141986,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:36:51] local.INFO: Processing buffer {"connection_id":141986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:36:51] local.INFO: Packet analysis {"connection_id":141986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:51] local.INFO: Extracted packet for processing {"connection_id":141986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:36:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:36:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:36:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:36:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":141986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:36:51] local.INFO: GPS data processed {"connection_id":141986,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:36:51] local.INFO: Acknowledgment sent {"connection_id":141986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:36:55] local.INFO: TCP Data received {"connection_id":141987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:36:55] local.INFO: Processing buffer {"connection_id":141987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:36:55] local.INFO: IMEI packet received {"connection_id":141987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":141987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:36:56] local.INFO: TCP Data received {"connection_id":141987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:36:56] local.INFO: Processing buffer {"connection_id":141987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:36:56] local.INFO: IMEI packet received {"connection_id":141987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":141987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:37:11] local.INFO: TCP Data received {"connection_id":141987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:11] local.INFO: Processing buffer {"connection_id":141987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:11] local.INFO: IMEI packet received {"connection_id":141987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":141987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:37:13] local.INFO: TCP Data received {"connection_id":141988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:37:13] local.INFO: Processing buffer {"connection_id":141988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:37:13] local.INFO: IMEI packet received {"connection_id":141988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":141988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:37:13] local.INFO: TCP Data received {"connection_id":141987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bbb30012d482d00065cedb8001000a02d..."} 
[2026-07-25 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bbb30012d482d00065cedb8001000a02d..."} 
[2026-07-25 08:37:13] local.INFO: Processing buffer {"connection_id":141987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bbb30012d482d00065cedb8001000a02d..."} 
[2026-07-25 08:37:13] local.INFO: Packet analysis {"connection_id":141987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:37:13] local.INFO: Extracted packet for processing {"connection_id":141987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":759704832,"raw_latitude":106753464,"longitude_deg":75.9704832,"latitude_deg":10.6753464,"altitude":16,"angle":160,"satellites":45,"speed":61,"hex_longitude":"2d482d00","hex_latitude":"065cedb8","is_valid_coordinates":true} 
[2026-07-25 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946866176001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357216961198817280,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5197294734805006336,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784948702000,"timestamp_ms":1784948702000,"timestamp_seconds":1784948702,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bbb30"} 
[2026-07-25 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 08:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946866176001,"66":27908,"65":206,"78":62464,"24":61,"16":357216961198817280,"45":5197294734805006336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-07-25 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946866176001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:37:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 08:37:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357216961198817280,"km_value":357216961198817.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5197294734805006336,"description":"Unknown IO ID 45"} 
[2026-07-25 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946866176001,"power":27908,"unknown_65":206,"unknown_78":62464,"ignition":61,"odometer":null,"unknown_45":5197294734805006336}} 
[2026-07-25 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":141987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:37:13] local.INFO: GPS data processed {"connection_id":141987,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:37:13] local.INFO: Acknowledgment sent {"connection_id":141987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:37:18] local.INFO: TCP Data received {"connection_id":141988,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:37:18] local.INFO: Processing buffer {"connection_id":141988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:37:18] local.INFO: IMEI packet received {"connection_id":141988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":141988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:37:19] local.INFO: TCP Data received {"connection_id":141988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:37:19] local.INFO: Processing buffer {"connection_id":141988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:37:19] local.INFO: Packet analysis {"connection_id":141988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:37:19] local.INFO: Extracted packet for processing {"connection_id":141988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:37:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:37:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":141988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:37:19] local.INFO: GPS data processed {"connection_id":141988,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:37:19] local.INFO: Acknowledgment sent {"connection_id":141988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:37:51] local.INFO: TCP Data received {"connection_id":141988,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:37:51] local.INFO: Processing buffer {"connection_id":141988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:37:51] local.INFO: Packet analysis {"connection_id":141988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:37:51] local.INFO: Extracted packet for processing {"connection_id":141988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:37:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:37:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:37:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:37:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":141988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:37:51] local.INFO: GPS data processed {"connection_id":141988,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:37:51] local.INFO: Acknowledgment sent {"connection_id":141988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:37:56] local.INFO: TCP Data received {"connection_id":143331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:56] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:56] local.INFO: IMEI packet received {"connection_id":143331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":143331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:37:58] local.INFO: TCP Data received {"connection_id":143331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:58] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:37:58] local.INFO: IMEI packet received {"connection_id":143331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":143331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:38:01] local.INFO: TCP Data received {"connection_id":143331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:38:01] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:38:01] local.INFO: IMEI packet received {"connection_id":143331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:38:02] local.INFO: TCP Data received {"connection_id":143331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973d4d88012d492dc0065b04f0000e009e2e..."} 
[2026-07-25 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973d4d88012d492dc0065b04f0000e009e2e..."} 
[2026-07-25 08:38:02] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973d4d88012d492dc0065b04f0000e009e2e..."} 
[2026-07-25 08:38:02] local.INFO: Packet analysis {"connection_id":143331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973d"} 
[2026-07-25 08:38:02] local.INFO: Extracted packet for processing {"connection_id":143331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973d"} 
[2026-07-25 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":759770560,"raw_latitude":106628336,"longitude_deg":75.977056,"latitude_deg":10.6628336,"altitude":14,"angle":158,"satellites":46,"speed":52,"hex_longitude":"2d492dc0","hex_latitude":"065b04f0","is_valid_coordinates":true} 
[2026-07-25 08:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946892288001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357223884686098432,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5269070853834104832,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784948805000,"timestamp_ms":1784948805000,"timestamp_seconds":1784948805,"priority":1,"record_length":96,"hex_timestamp":"0000019f973d4d88"} 
[2026-07-25 08:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946892288001,"66":27800,"64":206,"78":62464,"24":52,"16":357223884686098432,"45":5269070853834104832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-25 08:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946892288001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:38:02] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 08:38:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357223884686098432,"km_value":357223884686098.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5269070853834104832,"description":"Unknown IO ID 45"} 
[2026-07-25 08:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946892288001,"power":27800,"unknown_64":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5269070853834104832}} 
[2026-07-25 08:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":143331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:38:02] local.INFO: GPS data processed {"connection_id":143331,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:38:02] local.INFO: Acknowledgment sent {"connection_id":143331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:38:12] local.INFO: TCP Data received {"connection_id":141989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:38:12] local.INFO: Processing buffer {"connection_id":141989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:38:12] local.INFO: IMEI packet received {"connection_id":141989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":141989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:38:18] local.INFO: TCP Data received {"connection_id":141989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:38:18] local.INFO: Processing buffer {"connection_id":141989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:38:18] local.INFO: IMEI packet received {"connection_id":141989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":141989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:38:19] local.INFO: TCP Data received {"connection_id":141989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:38:19] local.INFO: Processing buffer {"connection_id":141989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:38:19] local.INFO: Packet analysis {"connection_id":141989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:38:19] local.INFO: Extracted packet for processing {"connection_id":141989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:38:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:38:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:38:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:38:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":141989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:38:19] local.INFO: GPS data processed {"connection_id":141989,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:38:19] local.INFO: Acknowledgment sent {"connection_id":141989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:38:33] local.INFO: TCP Data received {"connection_id":143331,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973d68e0012d493980065ae230000d00a42e..."} 
[2026-07-25 08:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973d68e0012d493980065ae230000d00a42e..."} 
[2026-07-25 08:38:33] local.INFO: Processing buffer {"connection_id":143331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973d68e0012d493980065ae230000d00a42e..."} 
[2026-07-25 08:38:33] local.INFO: Packet analysis {"connection_id":143331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973d"} 
[2026-07-25 08:38:33] local.INFO: Extracted packet for processing {"connection_id":143331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973d"} 
[2026-07-25 08:38:33] local.INFO: GPS Element Parsed {"raw_longitude":759773568,"raw_latitude":106619440,"longitude_deg":75.9773568,"latitude_deg":10.661944,"altitude":13,"angle":164,"satellites":46,"speed":53,"hex_longitude":"2d493980","hex_latitude":"065ae230","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946894080001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357224339952631808,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5273081872250105856,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784948812000,"timestamp_ms":1784948812000,"timestamp_seconds":1784948812,"priority":1,"record_length":96,"hex_timestamp":"0000019f973d68e0"} 
[2026-07-25 08:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946894080001,"66":27865,"64":206,"78":62464,"24":53,"16":357224339952631808,"45":5273081872250105856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-25 08:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946894080001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357224339952631808,"km_value":357224339952631.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5273081872250105856,"description":"Unknown IO ID 45"} 
[2026-07-25 08:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946894080001,"power":27865,"unknown_64":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5273081872250105856}} 
[2026-07-25 08:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":143331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:38:33] local.INFO: GPS data processed {"connection_id":143331,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:38:33] local.INFO: Acknowledgment sent {"connection_id":143331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:38:50] local.INFO: TCP Data received {"connection_id":141989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:38:50] local.INFO: Processing buffer {"connection_id":141989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:38:50] local.INFO: Packet analysis {"connection_id":141989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:38:50] local.INFO: Extracted packet for processing {"connection_id":141989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:38:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:38:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:38:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:38:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":141989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:38:50] local.INFO: GPS data processed {"connection_id":141989,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:38:50] local.INFO: Acknowledgment sent {"connection_id":141989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:39:13] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:39:13] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:39:13] local.INFO: IMEI packet received {"connection_id":143332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":143332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:39:18] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:39:18] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:39:18] local.INFO: IMEI packet received {"connection_id":143332,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":143332,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:39:19] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:39:19] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:39:19] local.INFO: Packet analysis {"connection_id":143332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:39:19] local.INFO: Extracted packet for processing {"connection_id":143332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:39:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:39:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:39:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":143332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:39:19] local.INFO: GPS data processed {"connection_id":143332,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:39:19] local.INFO: Acknowledgment sent {"connection_id":143332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:39:30] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:30] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:30] local.INFO: IMEI packet received {"connection_id":140940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":140940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:39:32] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:32] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:32] local.INFO: IMEI packet received {"connection_id":140940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":140940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:39:36] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:36] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:39:36] local.INFO: IMEI packet received {"connection_id":140940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":140940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:39:38] local.INFO: TCP Data received {"connection_id":140940,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973e9d78012d49c50006596898001000982c..."} 
[2026-07-25 08:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973e9d78012d49c50006596898001000982c..."} 
[2026-07-25 08:39:38] local.INFO: Processing buffer {"connection_id":140940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973e9d78012d49c50006596898001000982c..."} 
[2026-07-25 08:39:38] local.INFO: Packet analysis {"connection_id":140940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973e"} 
[2026-07-25 08:39:38] local.INFO: Extracted packet for processing {"connection_id":140940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973e"} 
[2026-07-25 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":759809280,"raw_latitude":106522776,"longitude_deg":75.980928,"latitude_deg":10.6522776,"altitude":16,"angle":152,"satellites":44,"speed":57,"hex_longitude":"2d49c500","hex_latitude":"06596898","is_valid_coordinates":true} 
[2026-07-25 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946914304001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357229420898942976,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310518044127848448,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784948891000,"timestamp_ms":1784948891000,"timestamp_seconds":1784948891,"priority":1,"record_length":96,"hex_timestamp":"0000019f973e9d78"} 
[2026-07-25 08:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 08:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946914304001,"66":27789,"231":206,"78":62464,"24":57,"16":357229420898942976,"45":5310518044127848448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-07-25 08:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946914304001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357229420898942976,"km_value":357229420898943.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310518044127848448,"description":"Unknown IO ID 45"} 
[2026-07-25 08:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946914304001,"power":27789,"unknown_231":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5310518044127848448}} 
[2026-07-25 08:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":140940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:39:38] local.INFO: GPS data processed {"connection_id":140940,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:39:38] local.INFO: Acknowledgment sent {"connection_id":140940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:39:50] local.INFO: TCP Data received {"connection_id":143332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:39:50] local.INFO: Processing buffer {"connection_id":143332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973bde58012d7ee50005e72ec8000600fe28..."} 
[2026-07-25 08:39:50] local.INFO: Packet analysis {"connection_id":143332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:39:50] local.INFO: Extracted packet for processing {"connection_id":143332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973b"} 
[2026-07-25 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":40,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143222062589861888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784948711000,"timestamp_ms":1784948711000,"timestamp_seconds":1784948711,"priority":1,"record_length":96,"hex_timestamp":"0000019f973bde58"} 
[2026-07-25 08:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595345,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":131,"raw_value":58079734643818497,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2536934160,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1367539918,"corrected_to":0} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802129,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3878813696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:39:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,131,87,24,241,157,16,66,159,62,45,64,46,6,39,10,11,40,248,1,240,85,227,151,231,4,113,205,9,217,234,208,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1367539918,"validated":0}]} 
[2026-07-25 08:39:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432625007684747504,"timestamp_seconds":432625007684747.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 08:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143332,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946792448001,"66":12765,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143222062589861888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:39:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:39:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143222062589861888,"description":"Unknown IO ID 45"} 
[2026-07-25 08:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946792448001,"power":12765,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143222062589861888}} 
[2026-07-25 08:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":143332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:39:50] local.INFO: GPS data processed {"connection_id":143332,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:39:50] local.INFO: Acknowledgment sent {"connection_id":143332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:40:06] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:06] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:06] local.INFO: IMEI packet received {"connection_id":140984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":140984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:40:06] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:06] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:06] local.INFO: IMEI packet received {"connection_id":140984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":140984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:40:11] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:11] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:11] local.INFO: IMEI packet received {"connection_id":140984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":140984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:40:12] local.INFO: TCP Data received {"connection_id":141990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:12] local.INFO: Processing buffer {"connection_id":141990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:12] local.INFO: IMEI packet received {"connection_id":141990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":141990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:40:13] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973eb8d0012d49d800065944b8000e00982c..."} 
[2026-07-25 08:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973eb8d0012d49d800065944b8000e00982c..."} 
[2026-07-25 08:40:13] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973eb8d0012d49d800065944b8000e00982c..."} 
[2026-07-25 08:40:13] local.INFO: Packet analysis {"connection_id":140984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973e"} 
[2026-07-25 08:40:13] local.INFO: Extracted packet for processing {"connection_id":140984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973e"} 
[2026-07-25 08:40:13] local.INFO: GPS Element Parsed {"raw_longitude":759814144,"raw_latitude":106513592,"longitude_deg":75.9814144,"latitude_deg":10.6513592,"altitude":14,"angle":152,"satellites":44,"speed":59,"hex_longitude":"2d49d800","hex_latitude":"065944b8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946916096001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357229923410116608,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5315654962450569216,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784948898000,"timestamp_ms":1784948898000,"timestamp_seconds":1784948898,"priority":1,"record_length":96,"hex_timestamp":"0000019f973eb8d0"} 
[2026-07-25 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-07-25 08:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 08:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946916096001,"66":27800,"231":206,"78":62464,"24":59,"16":357229923410116608,"45":5315654962450569216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-07-25 08:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946916096001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:40:13] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-25 08:40:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357229923410116608,"km_value":357229923410116.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5315654962450569216,"description":"Unknown IO ID 45"} 
[2026-07-25 08:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946916096001,"power":27800,"unknown_231":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5315654962450569216}} 
[2026-07-25 08:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":140984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:40:13] local.INFO: GPS data processed {"connection_id":140984,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:40:13] local.INFO: Acknowledgment sent {"connection_id":140984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:40:14] local.INFO: TCP Data received {"connection_id":141990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:14] local.INFO: Processing buffer {"connection_id":141990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:14] local.INFO: IMEI packet received {"connection_id":141990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":141990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:40:14] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f973ed040012d49e800065925d0000e00992c..."} 
[2026-07-25 08:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f973ed040012d49e800065925d0000e00992c..."} 
[2026-07-25 08:40:14] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f973ed040012d49e800065925d0000e00992c..."} 
[2026-07-25 08:40:14] local.INFO: Packet analysis {"connection_id":140984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f973e"} 
[2026-07-25 08:40:14] local.INFO: Extracted packet for processing {"connection_id":140984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f973e"} 
[2026-07-25 08:40:14] local.INFO: GPS Element Parsed {"raw_longitude":759818240,"raw_latitude":106505680,"longitude_deg":75.981824,"latitude_deg":10.650568,"altitude":14,"angle":153,"satellites":44,"speed":58,"hex_longitude":"2d49e800","hex_latitude":"065925d0","is_valid_coordinates":true} 
[2026-07-25 08:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946917888001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357230352906846208,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5321002987005720576,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784948904000,"timestamp_ms":1784948904000,"timestamp_seconds":1784948904,"priority":1,"record_length":96,"hex_timestamp":"0000019f973ed040"} 
[2026-07-25 08:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946917888001,"66":27865,"231":206,"78":62464,"24":58,"16":357230352906846208,"45":5321002987005720576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,78,24,16,45]} 
[2026-07-25 08:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946917888001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:40:14] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-25 08:40:14] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357230352906846208,"km_value":357230352906846.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5321002987005720576,"description":"Unknown IO ID 45"} 
[2026-07-25 08:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946917888001,"power":27865,"unknown_231":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":5321002987005720576}} 
[2026-07-25 08:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":140984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:40:14] local.INFO: GPS data processed {"connection_id":140984,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:40:14] local.INFO: Acknowledgment sent {"connection_id":140984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:40:18] local.INFO: TCP Data received {"connection_id":141990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:18] local.INFO: Processing buffer {"connection_id":141990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:40:18] local.INFO: IMEI packet received {"connection_id":141990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":141990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:40:19] local.INFO: TCP Data received {"connection_id":141990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97406298012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97406298012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:40:19] local.INFO: Processing buffer {"connection_id":141990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97406298012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:40:19] local.INFO: Packet analysis {"connection_id":141990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:40:19] local.INFO: Extracted packet for processing {"connection_id":141990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946870016001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949007000,"timestamp_ms":1784949007000,"timestamp_seconds":1784949007,"priority":1,"record_length":96,"hex_timestamp":"0000019f97406298"} 
[2026-07-25 08:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 08:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946870016001,"66":12722,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946870016001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:40:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:40:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946870016001,"power":12722,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":141990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:40:19] local.INFO: GPS data processed {"connection_id":141990,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:40:19] local.INFO: Acknowledgment sent {"connection_id":141990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:40:50] local.INFO: TCP Data received {"connection_id":141990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97406298012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97406298012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:40:50] local.INFO: Processing buffer {"connection_id":141990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97406298012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:40:50] local.INFO: Packet analysis {"connection_id":141990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:40:50] local.INFO: Extracted packet for processing {"connection_id":141990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949007000,"timestamp_ms":1784949007000,"timestamp_seconds":1784949007,"priority":1,"record_length":96,"hex_timestamp":"0000019f97406298"} 
[2026-07-25 08:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":12722,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:40:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:40:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":12722,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":141990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:40:50] local.INFO: GPS data processed {"connection_id":141990,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:40:50] local.INFO: Acknowledgment sent {"connection_id":141990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:40:56] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:56] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:40:56] local.INFO: IMEI packet received {"connection_id":143333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":143333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:41:05] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:05] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:05] local.INFO: IMEI packet received {"connection_id":143333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":143333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:41:07] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97401478012d4ab24006578dc8000f00992e..."} 
[2026-07-25 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97401478012d4ab24006578dc8000f00992e..."} 
[2026-07-25 08:41:07] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97401478012d4ab24006578dc8000f00992e..."} 
[2026-07-25 08:41:07] local.INFO: Packet analysis {"connection_id":143333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:07] local.INFO: Extracted packet for processing {"connection_id":143333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":759870016,"raw_latitude":106401224,"longitude_deg":75.9870016,"latitude_deg":10.6401224,"altitude":15,"angle":153,"satellites":46,"speed":57,"hex_longitude":"2d4ab240","hex_latitude":"06578dc8","is_valid_coordinates":true} 
[2026-07-25 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946939136001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357235987903938560,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5377860932274556928,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784948987000,"timestamp_ms":1784948987000,"timestamp_seconds":1784948987,"priority":1,"record_length":96,"hex_timestamp":"0000019f97401478"} 
[2026-07-25 08:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 08:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946939136001,"66":27919,"47":206,"78":62464,"24":57,"16":357235987903938560,"45":5377860932274556928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,78,24,16,45]} 
[2026-07-25 08:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946939136001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:41:07] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 08:41:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357235987903938560,"km_value":357235987903938.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5377860932274556928,"description":"Unknown IO ID 45"} 
[2026-07-25 08:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946939136001,"power":27919,"unknown_47":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5377860932274556928}} 
[2026-07-25 08:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":143333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:41:07] local.INFO: GPS data processed {"connection_id":143333,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:41:07] local.INFO: Acknowledgment sent {"connection_id":143333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:41:11] local.INFO: TCP Data received {"connection_id":143333,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97402fd0012d4ac3c006576aa0001100992e..."} 
[2026-07-25 08:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97402fd0012d4ac3c006576aa0001100992e..."} 
[2026-07-25 08:41:11] local.INFO: Processing buffer {"connection_id":143333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97402fd0012d4ac3c006576aa0001100992e..."} 
[2026-07-25 08:41:11] local.INFO: Packet analysis {"connection_id":143333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:11] local.INFO: Extracted packet for processing {"connection_id":143333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:11] local.INFO: GPS Element Parsed {"raw_longitude":759874496,"raw_latitude":106392224,"longitude_deg":75.9874496,"latitude_deg":10.6392224,"altitude":17,"angle":153,"satellites":46,"speed":56,"hex_longitude":"2d4ac3c0","hex_latitude":"06576aa0","is_valid_coordinates":true} 
[2026-07-25 08:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946940672001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357236477530210304,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5382434900644055040,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784948994000,"timestamp_ms":1784948994000,"timestamp_seconds":1784948994,"priority":1,"record_length":96,"hex_timestamp":"0000019f97402fd0"} 
[2026-07-25 08:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 08:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946940672001,"66":27887,"47":206,"78":62464,"24":56,"16":357236477530210304,"45":5382434900644055040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,78,24,16,45]} 
[2026-07-25 08:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946940672001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:41:11] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 08:41:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357236477530210304,"km_value":357236477530210.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5382434900644055040,"description":"Unknown IO ID 45"} 
[2026-07-25 08:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946940672001,"power":27887,"unknown_47":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5382434900644055040}} 
[2026-07-25 08:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":143333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:41:11] local.INFO: GPS data processed {"connection_id":143333,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:41:11] local.INFO: Acknowledgment sent {"connection_id":143333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:41:18] local.INFO: TCP Data received {"connection_id":143334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:41:18] local.INFO: Processing buffer {"connection_id":143334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:41:18] local.INFO: IMEI packet received {"connection_id":143334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":143334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:41:23] local.INFO: TCP Data received {"connection_id":143334,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:41:23] local.INFO: Processing buffer {"connection_id":143334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:41:23] local.INFO: IMEI packet received {"connection_id":143334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":143334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:41:24] local.INFO: TCP Data received {"connection_id":143334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:41:24] local.INFO: Processing buffer {"connection_id":143334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:41:24] local.INFO: Packet analysis {"connection_id":143334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:24] local.INFO: Extracted packet for processing {"connection_id":143334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":143334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":143334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":143334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:41:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:41:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":143334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:41:24] local.INFO: GPS data processed {"connection_id":143334,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:41:24] local.INFO: Acknowledgment sent {"connection_id":143334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:41:28] local.INFO: TCP Data received {"connection_id":143334,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:41:28] local.INFO: Processing buffer {"connection_id":143334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:41:28] local.INFO: Packet analysis {"connection_id":143334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:28] local.INFO: Extracted packet for processing {"connection_id":143334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:41: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-07-25 08: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:41: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-07-25 08:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:41: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-07-25 08:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:41:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:41:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":143334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:41:28] local.INFO: GPS data processed {"connection_id":143334,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:41:28] local.INFO: Acknowledgment sent {"connection_id":143334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:41:57] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:57] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:57] local.INFO: IMEI packet received {"connection_id":140941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":140941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:41:58] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:58] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:41:58] local.INFO: IMEI packet received {"connection_id":140941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":140941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:42:01] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:01] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:01] local.INFO: IMEI packet received {"connection_id":140941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":140941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:42:04] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97414910012d4b63400655ef88000b00972c..."} 
[2026-07-25 08:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97414910012d4b63400655ef88000b00972c..."} 
[2026-07-25 08:42:04] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97414910012d4b63400655ef88000b00972c..."} 
[2026-07-25 08:42:04] local.INFO: Packet analysis {"connection_id":140941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:42:04] local.INFO: Extracted packet for processing {"connection_id":140941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":759915328,"raw_latitude":106295176,"longitude_deg":75.9915328,"latitude_deg":10.6295176,"altitude":11,"angle":151,"satellites":44,"speed":57,"hex_longitude":"2d4b6340","hex_latitude":"0655ef88","is_valid_coordinates":true} 
[2026-07-25 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946959104001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357241592836259840,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5427470896892940288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784949066000,"timestamp_ms":1784949066000,"timestamp_seconds":1784949066,"priority":1,"record_length":96,"hex_timestamp":"0000019f97414910"} 
[2026-07-25 08:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946959104001,"66":27800,"145":206,"78":62464,"24":57,"16":357241592836259840,"45":5427470896892940288},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-25 08:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946959104001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:42:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-25 08:42:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357241592836259840,"km_value":357241592836259.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5427470896892940288,"description":"Unknown IO ID 45"} 
[2026-07-25 08:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946959104001,"power":27800,"unknown_145":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5427470896892940288}} 
[2026-07-25 08:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":140941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:42:04] local.INFO: GPS data processed {"connection_id":140941,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:42:04] local.INFO: Acknowledgment sent {"connection_id":140941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:42:05] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97416468012d4b76000655ccc0000c00972d..."} 
[2026-07-25 08:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97416468012d4b76000655ccc0000c00972d..."} 
[2026-07-25 08:42:05] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97416468012d4b76000655ccc0000c00972d..."} 
[2026-07-25 08:42:05] local.INFO: Packet analysis {"connection_id":140941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:42:05] local.INFO: Extracted packet for processing {"connection_id":140941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:42:05] local.INFO: GPS Element Parsed {"raw_longitude":759920128,"raw_latitude":106286272,"longitude_deg":75.9920128,"latitude_deg":10.6286272,"altitude":12,"angle":151,"satellites":45,"speed":57,"hex_longitude":"2d4b7600","hex_latitude":"0655ccc0","is_valid_coordinates":true} 
[2026-07-25 08:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946960896001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357242078167564288,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5432255971494692864,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784949073000,"timestamp_ms":1784949073000,"timestamp_seconds":1784949073,"priority":1,"record_length":96,"hex_timestamp":"0000019f97416468"} 
[2026-07-25 08:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:42: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-07-25 08:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946960896001,"66":27767,"145":206,"78":62464,"24":57,"16":357242078167564288,"45":5432255971494692864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-25 08:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946960896001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:42:05] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-25 08:42:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357242078167564288,"km_value":357242078167564.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5432255971494692864,"description":"Unknown IO ID 45"} 
[2026-07-25 08:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946960896001,"power":27767,"unknown_145":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5432255971494692864}} 
[2026-07-25 08:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":140941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:42:05] local.INFO: GPS data processed {"connection_id":140941,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:42:05] local.INFO: Acknowledgment sent {"connection_id":140941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:42:13] local.INFO: TCP Data received {"connection_id":140985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:42:13] local.INFO: Processing buffer {"connection_id":140985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:42:13] local.INFO: IMEI packet received {"connection_id":140985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":140985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:42:18] local.INFO: TCP Data received {"connection_id":140985,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:42:18] local.INFO: Processing buffer {"connection_id":140985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:42:18] local.INFO: IMEI packet received {"connection_id":140985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":140985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:42:19] local.INFO: TCP Data received {"connection_id":140985,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:42:19] local.INFO: Processing buffer {"connection_id":140985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:42:19] local.INFO: Packet analysis {"connection_id":140985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:42:19] local.INFO: Extracted packet for processing {"connection_id":140985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:42:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:42:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":140985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:42:19] local.INFO: GPS data processed {"connection_id":140985,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:42:19] local.INFO: Acknowledgment sent {"connection_id":140985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:42:38] local.INFO: TCP Data received {"connection_id":140941,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97417fc0012d4b89000655a9b8000c00972b..."} 
[2026-07-25 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97417fc0012d4b89000655a9b8000c00972b..."} 
[2026-07-25 08:42:38] local.INFO: Processing buffer {"connection_id":140941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97417fc0012d4b89000655a9b8000c00972b..."} 
[2026-07-25 08:42:38] local.INFO: Packet analysis {"connection_id":140941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:42:38] local.INFO: Extracted packet for processing {"connection_id":140941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":759924992,"raw_latitude":106277304,"longitude_deg":75.9924992,"latitude_deg":10.6277304,"altitude":12,"angle":151,"satellites":43,"speed":58,"hex_longitude":"2d4b8900","hex_latitude":"0655a9b8","is_valid_coordinates":true} 
[2026-07-25 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946962688001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357242572088803328,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5437533627305738240,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784949080000,"timestamp_ms":1784949080000,"timestamp_seconds":1784949080,"priority":1,"record_length":96,"hex_timestamp":"0000019f97417fc0"} 
[2026-07-25 08:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 08:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":140941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":140941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946962688001,"66":27800,"145":206,"78":62464,"24":58,"16":357242572088803328,"45":5437533627305738240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-25 08:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946962688001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357242572088803328,"km_value":357242572088803.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5437533627305738240,"description":"Unknown IO ID 45"} 
[2026-07-25 08:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946962688001,"power":27800,"unknown_145":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":5437533627305738240}} 
[2026-07-25 08:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":140941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:42:38] local.INFO: GPS data processed {"connection_id":140941,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:42:38] local.INFO: Acknowledgment sent {"connection_id":140941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:42:50] local.INFO: TCP Data received {"connection_id":140985,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:42:50] local.INFO: Processing buffer {"connection_id":140985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:42:50] local.INFO: Packet analysis {"connection_id":140985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:42:50] local.INFO: Extracted packet for processing {"connection_id":140985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140985,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:42:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:42:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":140985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:42:50] local.INFO: GPS data processed {"connection_id":140985,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:42:50] local.INFO: Acknowledgment sent {"connection_id":140985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:42:56] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:56] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:56] local.INFO: IMEI packet received {"connection_id":140986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":140986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:42:58] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:58] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:42:58] local.INFO: IMEI packet received {"connection_id":140986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":140986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:43:01] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:43:01] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:43:01] local.INFO: IMEI packet received {"connection_id":140986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":140986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:43:02] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97419730012d4b99c006558b40000c00972b..."} 
[2026-07-25 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97419730012d4b99c006558b40000c00972b..."} 
[2026-07-25 08:43:02] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97419730012d4b99c006558b40000c00972b..."} 
[2026-07-25 08:43:02] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:43:02] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9741"} 
[2026-07-25 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":759929280,"raw_latitude":106269504,"longitude_deg":75.992928,"latitude_deg":10.6269504,"altitude":12,"angle":151,"satellites":43,"speed":59,"hex_longitude":"2d4b99c0","hex_latitude":"06558b40","is_valid_coordinates":true} 
[2026-07-25 08:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946964480001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357243001585532928,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442881651860944896,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949086000,"timestamp_ms":1784949086000,"timestamp_seconds":1784949086,"priority":1,"record_length":96,"hex_timestamp":"0000019f97419730"} 
[2026-07-25 08:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946964480001,"66":27767,"145":206,"78":62464,"24":59,"16":357243001585532928,"45":5442881651860944896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-25 08:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946964480001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:43:02] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-25 08:43:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357243001585532928,"km_value":357243001585532.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442881651860944896,"description":"Unknown IO ID 45"} 
[2026-07-25 08:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946964480001,"power":27767,"unknown_145":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5442881651860944896}} 
[2026-07-25 08:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:43:02] local.INFO: GPS data processed {"connection_id":140986,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:43:02] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:43:13] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:43:13] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:43:13] local.INFO: IMEI packet received {"connection_id":143335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":143335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:43:18] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:43:18] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:43:18] local.INFO: IMEI packet received {"connection_id":143335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":143335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:43:19] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:43:19] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:43:19] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:43:19] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:43:19] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:43:19] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:43:34] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9742bc28012d4c7400065428680015009d2d..."} 
[2026-07-25 08:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9742bc28012d4c7400065428680015009d2d..."} 
[2026-07-25 08:43:34] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9742bc28012d4c7400065428680015009d2d..."} 
[2026-07-25 08:43:34] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9742"} 
[2026-07-25 08:43:34] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9742"} 
[2026-07-25 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":759985152,"raw_latitude":106178664,"longitude_deg":75.9985152,"latitude_deg":10.6178664,"altitude":21,"angle":157,"satellites":45,"speed":51,"hex_longitude":"2d4c7400","hex_latitude":"06542868","is_valid_coordinates":true} 
[2026-07-25 08:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946983424001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357248168431190016,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5504454302993229824,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784949161000,"timestamp_ms":1784949161000,"timestamp_seconds":1784949161,"priority":1,"record_length":96,"hex_timestamp":"0000019f9742bc28"} 
[2026-07-25 08:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 08:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946983424001,"66":28028,"247":206,"78":62464,"24":51,"16":357248168431190016,"45":5504454302993229824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-25 08:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946983424001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357248168431190016,"km_value":357248168431190.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5504454302993229824,"description":"Unknown IO ID 45"} 
[2026-07-25 08:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946983424001,"power":28028,"internal_battery_voltage":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5504454302993229824}} 
[2026-07-25 08:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:43:34] local.INFO: GPS data processed {"connection_id":140986,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:43:34] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:43:51] local.INFO: TCP Data received {"connection_id":143335,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:43:51] local.INFO: Processing buffer {"connection_id":143335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:43:51] local.INFO: Packet analysis {"connection_id":143335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:43:51] local.INFO: Extracted packet for processing {"connection_id":143335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:43:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:43:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":143335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:43:51] local.INFO: GPS data processed {"connection_id":143335,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:43:51] local.INFO: Acknowledgment sent {"connection_id":143335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:43:58] local.INFO: TCP Data received {"connection_id":141991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:43:58] local.INFO: Processing buffer {"connection_id":141991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:43:58] local.INFO: IMEI packet received {"connection_id":141991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":141991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:44:01] local.INFO: TCP Data received {"connection_id":141991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:01] local.INFO: Processing buffer {"connection_id":141991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:01] local.INFO: IMEI packet received {"connection_id":141991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":141991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:44:05] local.INFO: TCP Data received {"connection_id":141991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:05] local.INFO: Processing buffer {"connection_id":141991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:05] local.INFO: IMEI packet received {"connection_id":141991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":141991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:44:08] local.INFO: TCP Data received {"connection_id":141991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9742d780012d4c8240065406a80016009e2d..."} 
[2026-07-25 08:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9742d780012d4c8240065406a80016009e2d..."} 
[2026-07-25 08:44:08] local.INFO: Processing buffer {"connection_id":141991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9742d780012d4c8240065406a80016009e2d..."} 
[2026-07-25 08:44:08] local.INFO: Packet analysis {"connection_id":141991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9742"} 
[2026-07-25 08:44:08] local.INFO: Extracted packet for processing {"connection_id":141991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9742"} 
[2026-07-25 08:44:08] local.INFO: GPS Element Parsed {"raw_longitude":759988800,"raw_latitude":106170024,"longitude_deg":75.99888,"latitude_deg":10.6170024,"altitude":22,"angle":158,"satellites":45,"speed":54,"hex_longitude":"2d4c8240","hex_latitude":"065406a8","is_valid_coordinates":true} 
[2026-07-25 08:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946985216001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357248623697723392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5509028271362697216,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784949168000,"timestamp_ms":1784949168000,"timestamp_seconds":1784949168,"priority":1,"record_length":96,"hex_timestamp":"0000019f9742d780"} 
[2026-07-25 08:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 08:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946985216001,"66":28050,"247":206,"78":62464,"24":54,"16":357248623697723392,"45":5509028271362697216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-25 08:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946985216001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:44:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357248623697723392,"km_value":357248623697723.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5509028271362697216,"description":"Unknown IO ID 45"} 
[2026-07-25 08:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946985216001,"power":28050,"internal_battery_voltage":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5509028271362697216}} 
[2026-07-25 08:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":141991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:44:08] local.INFO: GPS data processed {"connection_id":141991,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:44:08] local.INFO: Acknowledgment sent {"connection_id":141991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:44:09] local.INFO: TCP Data received {"connection_id":141991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9742f2d8012d4c90000653e3380015009d2d..."} 
[2026-07-25 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9742f2d8012d4c90000653e3380015009d2d..."} 
[2026-07-25 08:44:09] local.INFO: Processing buffer {"connection_id":141991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9742f2d8012d4c90000653e3380015009d2d..."} 
[2026-07-25 08:44:09] local.INFO: Packet analysis {"connection_id":141991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9742"} 
[2026-07-25 08:44:09] local.INFO: Extracted packet for processing {"connection_id":141991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9742"} 
[2026-07-25 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":759992320,"raw_latitude":106160952,"longitude_deg":75.999232,"latitude_deg":10.6160952,"altitude":21,"angle":157,"satellites":45,"speed":56,"hex_longitude":"2d4c9000","hex_latitude":"0653e338","is_valid_coordinates":true} 
[2026-07-25 08:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946987008001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357249091849158656,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5513039289778612224,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784949175000,"timestamp_ms":1784949175000,"timestamp_seconds":1784949175,"priority":1,"record_length":96,"hex_timestamp":"0000019f9742f2d8"} 
[2026-07-25 08:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946987008001,"66":27974,"247":206,"78":62464,"24":56,"16":357249091849158656,"45":5513039289778612224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-25 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946987008001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:44:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357249091849158656,"km_value":357249091849158.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5513039289778612224,"description":"Unknown IO ID 45"} 
[2026-07-25 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946987008001,"power":27974,"internal_battery_voltage":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5513039289778612224}} 
[2026-07-25 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":141991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:44:09] local.INFO: GPS data processed {"connection_id":141991,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:44:09] local.INFO: Acknowledgment sent {"connection_id":141991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:44:12] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:44:12] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:44:12] local.INFO: IMEI packet received {"connection_id":140942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":140942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:44:18] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:44:18] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:44:18] local.INFO: IMEI packet received {"connection_id":140942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":140942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:44:19] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:44:19] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:44:19] local.INFO: Packet analysis {"connection_id":140942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:44:19] local.INFO: Extracted packet for processing {"connection_id":140942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:44:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:44:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":140942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:44:19] local.INFO: GPS data processed {"connection_id":140942,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:44:19] local.INFO: Acknowledgment sent {"connection_id":140942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:44:40] local.INFO: TCP Data received {"connection_id":141991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97430e30012d4ca1c00653bf68001400942c..."} 
[2026-07-25 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97430e30012d4ca1c00653bf68001400942c..."} 
[2026-07-25 08:44:40] local.INFO: Processing buffer {"connection_id":141991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97430e30012d4ca1c00653bf68001400942c..."} 
[2026-07-25 08:44:40] local.INFO: Packet analysis {"connection_id":141991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9743"} 
[2026-07-25 08:44:40] local.INFO: Extracted packet for processing {"connection_id":141991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9743"} 
[2026-07-25 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":759996864,"raw_latitude":106151784,"longitude_deg":75.9996864,"latitude_deg":10.6151784,"altitude":20,"angle":148,"satellites":44,"speed":60,"hex_longitude":"2d4ca1c0","hex_latitude":"0653bf68","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946988800001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357249585770397696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5516909570706061312,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784949182000,"timestamp_ms":1784949182000,"timestamp_seconds":1784949182,"priority":1,"record_length":96,"hex_timestamp":"0000019f97430e30"} 
[2026-07-25 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-07-25 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 08:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946988800001,"66":27995,"247":206,"78":62464,"24":60,"16":357249585770397696,"45":5516909570706061312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-07-25 08:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946988800001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:44:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357249585770397696,"km_value":357249585770397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5516909570706061312,"description":"Unknown IO ID 45"} 
[2026-07-25 08:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946988800001,"power":27995,"internal_battery_voltage":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5516909570706061312}} 
[2026-07-25 08:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":141991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:44:40] local.INFO: GPS data processed {"connection_id":141991,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:44:40] local.INFO: Acknowledgment sent {"connection_id":141991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:44:51] local.INFO: TCP Data received {"connection_id":140942,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:44:51] local.INFO: Processing buffer {"connection_id":140942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97407620012d7ee50005e72ec8000600fe2a..."} 
[2026-07-25 08:44:51] local.INFO: Packet analysis {"connection_id":140942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:44:51] local.INFO: Extracted packet for processing {"connection_id":140942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9740"} 
[2026-07-25 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946945792001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784949012000,"timestamp_ms":1784949012000,"timestamp_seconds":1784949012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97407620"} 
[2026-07-25 08:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":140942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":140942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946945792001,"66":4547,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946945792001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:44:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:44:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946945792001,"power":4547,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":140942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:44:51] local.INFO: GPS data processed {"connection_id":140942,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:44:51] local.INFO: Acknowledgment sent {"connection_id":140942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:44:56] local.INFO: TCP Data received {"connection_id":140987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:56] local.INFO: Processing buffer {"connection_id":140987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:44:56] local.INFO: IMEI packet received {"connection_id":140987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":140987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:45:00] local.INFO: TCP Data received {"connection_id":140987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:45:00] local.INFO: Processing buffer {"connection_id":140987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:45:00] local.INFO: IMEI packet received {"connection_id":140987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":140987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:45:01] local.INFO: TCP Data received {"connection_id":140987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974325a0012d4cb6c00653a1e00012008f2d..."} 
[2026-07-25 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974325a0012d4cb6c00653a1e00012008f2d..."} 
[2026-07-25 08:45:01] local.INFO: Processing buffer {"connection_id":140987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974325a0012d4cb6c00653a1e00012008f2d..."} 
[2026-07-25 08:45:01] local.INFO: Packet analysis {"connection_id":140987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9743"} 
[2026-07-25 08:45:01] local.INFO: Extracted packet for processing {"connection_id":140987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9743"} 
[2026-07-25 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":760002240,"raw_latitude":106144224,"longitude_deg":76.000224,"latitude_deg":10.6144224,"altitude":18,"angle":143,"satellites":45,"speed":61,"hex_longitude":"2d4cb6c0","hex_latitude":"0653a1e0","is_valid_coordinates":true} 
[2026-07-25 08:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946990592001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357250032446996480,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521905751540328448,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784949188000,"timestamp_ms":1784949188000,"timestamp_seconds":1784949188,"priority":1,"record_length":96,"hex_timestamp":"0000019f974325a0"} 
[2026-07-25 08:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 08:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946990592001,"66":27995,"245":206,"78":62464,"24":61,"16":357250032446996480,"45":5521905751540328448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,78,24,16,45]} 
[2026-07-25 08:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946990592001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:45:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357250032446996480,"km_value":357250032446996.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521905751540328448,"description":"Unknown IO ID 45"} 
[2026-07-25 08:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946990592001,"power":27995,"geofence_id":206,"unknown_78":62464,"ignition":61,"odometer":null,"unknown_45":5521905751540328448}} 
[2026-07-25 08:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":140987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:45:01] local.INFO: GPS data processed {"connection_id":140987,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:45:01] local.INFO: Acknowledgment sent {"connection_id":140987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:45:12] local.INFO: TCP Data received {"connection_id":143336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:12] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:12] local.INFO: IMEI packet received {"connection_id":143336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":143336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:45:15] local.INFO: TCP Data received {"connection_id":143336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:15] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:15] local.INFO: IMEI packet received {"connection_id":143336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":143336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:45:18] local.INFO: TCP Data received {"connection_id":143336,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:18] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:45:18] local.INFO: IMEI packet received {"connection_id":143336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":143336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:45:19] local.INFO: TCP Data received {"connection_id":143336,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:45:19] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:45:19] local.INFO: Packet analysis {"connection_id":143336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:45:19] local.INFO: Extracted packet for processing {"connection_id":143336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:45:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:45:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:45:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":143336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:45:19] local.INFO: GPS data processed {"connection_id":143336,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:45:19] local.INFO: Acknowledgment sent {"connection_id":143336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:45:33] local.INFO: TCP Data received {"connection_id":140987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97447d60012d4db00006520c88001200982c..."} 
[2026-07-25 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97447d60012d4db00006520c88001200982c..."} 
[2026-07-25 08:45:33] local.INFO: Processing buffer {"connection_id":140987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97447d60012d4db00006520c88001200982c..."} 
[2026-07-25 08:45:33] local.INFO: Packet analysis {"connection_id":140987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9744"} 
[2026-07-25 08:45:33] local.INFO: Extracted packet for processing {"connection_id":140987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9744"} 
[2026-07-25 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":760066048,"raw_latitude":106040456,"longitude_deg":76.0066048,"latitude_deg":10.6040456,"altitude":18,"angle":152,"satellites":44,"speed":52,"hex_longitude":"2d4db000","hex_latitude":"06520c88","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947012864001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357255929437093888,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5593330026854203392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784949276000,"timestamp_ms":1784949276000,"timestamp_seconds":1784949276,"priority":1,"record_length":96,"hex_timestamp":"0000019f97447d60"} 
[2026-07-25 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-07-25 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 08:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947012864001,"66":28006,"61":206,"78":62464,"24":52,"16":357255929437093888,"45":5593330026854203392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-07-25 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947012864001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:45:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 08:45:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357255929437093888,"km_value":357255929437093.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5593330026854203392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947012864001,"power":28006,"unknown_61":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5593330026854203392}} 
[2026-07-25 08:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":140987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:45:33] local.INFO: GPS data processed {"connection_id":140987,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:45:33] local.INFO: Acknowledgment sent {"connection_id":140987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:45:50] local.INFO: TCP Data received {"connection_id":143336,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:45:50] local.INFO: Processing buffer {"connection_id":143336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:45:50] local.INFO: Packet analysis {"connection_id":143336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:45:50] local.INFO: Extracted packet for processing {"connection_id":143336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:45:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:45:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":143336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:45:50] local.INFO: GPS data processed {"connection_id":143336,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:45:50] local.INFO: Acknowledgment sent {"connection_id":143336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:45:56] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:45:56] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:45:56] local.INFO: IMEI packet received {"connection_id":143337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":143337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:46:01] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:01] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:01] local.INFO: IMEI packet received {"connection_id":143337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":143337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:46:02] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974498b8012d4dc0400651ebf00012009b2d..."} 
[2026-07-25 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974498b8012d4dc0400651ebf00012009b2d..."} 
[2026-07-25 08:46:02] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974498b8012d4dc0400651ebf00012009b2d..."} 
[2026-07-25 08:46:02] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9744"} 
[2026-07-25 08:46:02] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9744"} 
[2026-07-25 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":760070208,"raw_latitude":106032112,"longitude_deg":76.0070208,"latitude_deg":10.6032112,"altitude":18,"angle":155,"satellites":45,"speed":53,"hex_longitude":"2d4dc040","hex_latitude":"0651ebf0","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947014656001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357256376113692672,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5597974363967883264,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949283000,"timestamp_ms":1784949283000,"timestamp_seconds":1784949283,"priority":1,"record_length":96,"hex_timestamp":"0000019f974498b8"} 
[2026-07-25 08:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 08:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947014656001,"66":27800,"61":206,"78":62464,"24":53,"16":357256376113692672,"45":5597974363967883264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-07-25 08:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947014656001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:46:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 08:46:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357256376113692672,"km_value":357256376113692.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5597974363967883264,"description":"Unknown IO ID 45"} 
[2026-07-25 08:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947014656001,"power":27800,"unknown_61":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5597974363967883264}} 
[2026-07-25 08:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:46:02] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:46:02] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:46:18] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:46:18] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:46:18] local.INFO: IMEI packet received {"connection_id":140943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":140943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:46:23] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:46:23] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:46:23] local.INFO: IMEI packet received {"connection_id":140943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":140943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:46:24] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:46:24] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:46:24] local.INFO: Packet analysis {"connection_id":140943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:46:24] local.INFO: Extracted packet for processing {"connection_id":140943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":140943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:46:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:46:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":140943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:46:24] local.INFO: GPS data processed {"connection_id":140943,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:46:24] local.INFO: Acknowledgment sent {"connection_id":140943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:46:28] local.INFO: TCP Data received {"connection_id":140943,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:46:28] local.INFO: Processing buffer {"connection_id":140943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:46:28] local.INFO: Packet analysis {"connection_id":140943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:46:28] local.INFO: Extracted packet for processing {"connection_id":140943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 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-07-25 08:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":140943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":140943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:46: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-07-25 08:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:46:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:46:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":140943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:46:28] local.INFO: GPS data processed {"connection_id":140943,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:46:28] local.INFO: Acknowledgment sent {"connection_id":140943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:46:34] local.INFO: TCP Data received {"connection_id":143337,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9744b410012d4dcf000651c9500010009d2d..."} 
[2026-07-25 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9744b410012d4dcf000651c9500010009d2d..."} 
[2026-07-25 08:46:34] local.INFO: Processing buffer {"connection_id":143337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9744b410012d4dcf000651c9500010009d2d..."} 
[2026-07-25 08:46:34] local.INFO: Packet analysis {"connection_id":143337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9744"} 
[2026-07-25 08:46:34] local.INFO: Extracted packet for processing {"connection_id":143337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9744"} 
[2026-07-25 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":760073984,"raw_latitude":106023248,"longitude_deg":76.0073984,"latitude_deg":10.6023248,"altitude":16,"angle":157,"satellites":45,"speed":56,"hex_longitude":"2d4dcf00","hex_latitude":"0651c950","is_valid_coordinates":true} 
[2026-07-25 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947016448001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357256844265127936,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5602548332337295360,"note":"Value kept but may cause issues"} 
[2026-07-25 08:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784949290000,"timestamp_ms":1784949290000,"timestamp_seconds":1784949290,"priority":1,"record_length":96,"hex_timestamp":"0000019f9744b410"} 
[2026-07-25 08:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 08:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947016448001,"66":27865,"61":206,"78":62464,"24":56,"16":357256844265127936,"45":5602548332337295360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-07-25 08:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947016448001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:46:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 08:46:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357256844265127936,"km_value":357256844265127.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5602548332337295360,"description":"Unknown IO ID 45"} 
[2026-07-25 08:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947016448001,"power":27865,"unknown_61":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5602548332337295360}} 
[2026-07-25 08:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":143337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:46:34] local.INFO: GPS data processed {"connection_id":143337,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:46:34] local.INFO: Acknowledgment sent {"connection_id":143337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:46:56] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:56] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:56] local.INFO: IMEI packet received {"connection_id":140988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":140988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:46:57] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:57] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:46:57] local.INFO: IMEI packet received {"connection_id":140988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":140988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:47:01] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:01] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:01] local.INFO: IMEI packet received {"connection_id":140988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":140988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:47:02] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9745d908012d4e71c0065042c0000b009b2b..."} 
[2026-07-25 08:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9745d908012d4e71c0065042c0000b009b2b..."} 
[2026-07-25 08:47:02] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9745d908012d4e71c0065042c0000b009b2b..."} 
[2026-07-25 08:47:02] local.INFO: Packet analysis {"connection_id":140988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:02] local.INFO: Extracted packet for processing {"connection_id":140988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":760115648,"raw_latitude":105923264,"longitude_deg":76.0115648,"latitude_deg":10.5923264,"altitude":11,"angle":155,"satellites":43,"speed":57,"hex_longitude":"2d4e71c0","hex_latitude":"065042c0","is_valid_coordinates":true} 
[2026-07-25 08:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947035648001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357262084125229056,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5648006541050580992,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949365000,"timestamp_ms":1784949365000,"timestamp_seconds":1784949365,"priority":1,"record_length":96,"hex_timestamp":"0000019f9745d908"} 
[2026-07-25 08:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 08:47: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-07-25 08:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947035648001,"66":27865,"60":206,"78":62464,"24":57,"16":357262084125229056,"45":5648006541050580992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-25 08:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947035648001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:47:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 08:47:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357262084125229056,"km_value":357262084125229.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5648006541050580992,"description":"Unknown IO ID 45"} 
[2026-07-25 08:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947035648001,"power":27865,"unknown_60":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5648006541050580992}} 
[2026-07-25 08:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":140988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:47:02] local.INFO: GPS data processed {"connection_id":140988,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:47:02] local.INFO: Acknowledgment sent {"connection_id":140988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:47:13] local.INFO: TCP Data received {"connection_id":141992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:47:13] local.INFO: Processing buffer {"connection_id":141992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:47:13] local.INFO: IMEI packet received {"connection_id":141992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":141992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:47:18] local.INFO: TCP Data received {"connection_id":141992,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:47:18] local.INFO: Processing buffer {"connection_id":141992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:47:18] local.INFO: IMEI packet received {"connection_id":141992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":141992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:47:19] local.INFO: TCP Data received {"connection_id":141992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:47:19] local.INFO: Processing buffer {"connection_id":141992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:47:19] local.INFO: Packet analysis {"connection_id":141992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:19] local.INFO: Extracted packet for processing {"connection_id":141992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:47:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:47:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":141992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:47:19] local.INFO: GPS data processed {"connection_id":141992,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:47:19] local.INFO: Acknowledgment sent {"connection_id":141992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:47:34] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9745f460012d4e82c006501f00000d009a2d..."} 
[2026-07-25 08:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9745f460012d4e82c006501f00000d009a2d..."} 
[2026-07-25 08:47:34] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9745f460012d4e82c006501f00000d009a2d..."} 
[2026-07-25 08:47:34] local.INFO: Packet analysis {"connection_id":140988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:34] local.INFO: Extracted packet for processing {"connection_id":140988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:34] local.INFO: GPS Element Parsed {"raw_longitude":760120000,"raw_latitude":105914112,"longitude_deg":76.012,"latitude_deg":10.5914112,"altitude":13,"angle":154,"satellites":45,"speed":56,"hex_longitude":"2d4e82c0","hex_latitude":"06501f00","is_valid_coordinates":true} 
[2026-07-25 08:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947037440001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357262573751500800,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5652510140675571712,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784949372000,"timestamp_ms":1784949372000,"timestamp_seconds":1784949372,"priority":1,"record_length":96,"hex_timestamp":"0000019f9745f460"} 
[2026-07-25 08:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947037440001,"66":27865,"60":206,"78":62464,"24":56,"16":357262573751500800,"45":5652510140675571712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-25 08:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947037440001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:47:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 08:47:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357262573751500800,"km_value":357262573751500.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5652510140675571712,"description":"Unknown IO ID 45"} 
[2026-07-25 08:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947037440001,"power":27865,"unknown_60":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5652510140675571712}} 
[2026-07-25 08:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":140988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:47:35] local.INFO: GPS data processed {"connection_id":140988,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:47:35] local.INFO: Acknowledgment sent {"connection_id":140988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:47:51] local.INFO: TCP Data received {"connection_id":141992,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:47:51] local.INFO: Processing buffer {"connection_id":141992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:47:51] local.INFO: Packet analysis {"connection_id":141992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:51] local.INFO: Extracted packet for processing {"connection_id":141992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:47:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:47:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":141992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:47:51] local.INFO: GPS data processed {"connection_id":141992,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:47:51] local.INFO: Acknowledgment sent {"connection_id":141992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:47:56] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:56] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:56] local.INFO: IMEI packet received {"connection_id":143338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":143338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:47:57] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:57] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:47:57] local.INFO: IMEI packet received {"connection_id":143338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":143338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:48:01] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:01] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:01] local.INFO: IMEI packet received {"connection_id":143338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":143338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:48:02] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97460fb8012d4e9380064ffd30001000992d..."} 
[2026-07-25 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97460fb8012d4e9380064ffd30001000992d..."} 
[2026-07-25 08:48:02] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97460fb8012d4e9380064ffd30001000992d..."} 
[2026-07-25 08:48:02] local.INFO: Packet analysis {"connection_id":143338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9746"} 
[2026-07-25 08:48:02] local.INFO: Extracted packet for processing {"connection_id":143338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9746"} 
[2026-07-25 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":760124288,"raw_latitude":105905456,"longitude_deg":76.0124288,"latitude_deg":10.5905456,"altitude":16,"angle":153,"satellites":45,"speed":53,"hex_longitude":"2d4e9380","hex_latitude":"064ffd30","is_valid_coordinates":true} 
[2026-07-25 08:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947039232001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357263037607968768,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657295215277309952,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949379000,"timestamp_ms":1784949379000,"timestamp_seconds":1784949379,"priority":1,"record_length":96,"hex_timestamp":"0000019f97460fb8"} 
[2026-07-25 08:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947039232001,"66":28082,"60":206,"78":62464,"24":53,"16":357263037607968768,"45":5657295215277309952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-25 08:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947039232001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:48:02] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 08:48:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357263037607968768,"km_value":357263037607968.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657295215277309952,"description":"Unknown IO ID 45"} 
[2026-07-25 08:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947039232001,"power":28082,"unknown_60":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5657295215277309952}} 
[2026-07-25 08:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":143338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:48:02] local.INFO: GPS data processed {"connection_id":143338,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:48:02] local.INFO: Acknowledgment sent {"connection_id":143338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:48:13] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:48:13] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:48:13] local.INFO: IMEI packet received {"connection_id":140944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":140944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:48:18] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:48:18] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:48:18] local.INFO: IMEI packet received {"connection_id":140944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":140944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:48:19] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:48:19] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:48:19] local.INFO: Packet analysis {"connection_id":140944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:48:19] local.INFO: Extracted packet for processing {"connection_id":140944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:48:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:48:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:48:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":140944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:48:19] local.INFO: GPS data processed {"connection_id":140944,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:48:19] local.INFO: Acknowledgment sent {"connection_id":140944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:48:33] local.INFO: TCP Data received {"connection_id":143338,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97462b10012d4ea480064fdcd8001100972e..."} 
[2026-07-25 08:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97462b10012d4ea480064fdcd8001100972e..."} 
[2026-07-25 08:48:33] local.INFO: Processing buffer {"connection_id":143338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97462b10012d4ea480064fdcd8001100972e..."} 
[2026-07-25 08:48:33] local.INFO: Packet analysis {"connection_id":143338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9746"} 
[2026-07-25 08:48:33] local.INFO: Extracted packet for processing {"connection_id":143338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9746"} 
[2026-07-25 08:48:33] local.INFO: GPS Element Parsed {"raw_longitude":760128640,"raw_latitude":105897176,"longitude_deg":76.012864,"latitude_deg":10.5897176,"altitude":17,"angle":151,"satellites":46,"speed":52,"hex_longitude":"2d4ea480","hex_latitude":"064fdcd8","is_valid_coordinates":true} 
[2026-07-25 08:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947041024001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357263488579534848,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5662009921134997504,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784949386000,"timestamp_ms":1784949386000,"timestamp_seconds":1784949386,"priority":1,"record_length":96,"hex_timestamp":"0000019f97462b10"} 
[2026-07-25 08:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 08:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947041024001,"66":27995,"60":206,"78":62464,"24":52,"16":357263488579534848,"45":5662009921134997504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-25 08:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947041024001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:48:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 08:48:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357263488579534848,"km_value":357263488579534.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5662009921134997504,"description":"Unknown IO ID 45"} 
[2026-07-25 08:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947041024001,"power":27995,"unknown_60":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5662009921134997504}} 
[2026-07-25 08:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":143338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:48:33] local.INFO: GPS data processed {"connection_id":143338,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:48:33] local.INFO: Acknowledgment sent {"connection_id":143338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:48:50] local.INFO: TCP Data received {"connection_id":140944,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:48:50] local.INFO: Processing buffer {"connection_id":140944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:48:50] local.INFO: Packet analysis {"connection_id":140944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:48:50] local.INFO: Extracted packet for processing {"connection_id":140944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:48:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:48:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":140944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:48:50] local.INFO: GPS data processed {"connection_id":140944,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:48:50] local.INFO: Acknowledgment sent {"connection_id":140944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:48:56] local.INFO: TCP Data received {"connection_id":143339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:56] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:56] local.INFO: IMEI packet received {"connection_id":143339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":143339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:48:57] local.INFO: TCP Data received {"connection_id":143339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:57] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:48:57] local.INFO: IMEI packet received {"connection_id":143339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":143339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:49:01] local.INFO: TCP Data received {"connection_id":143339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:49:01] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:49:01] local.INFO: IMEI packet received {"connection_id":143339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":143339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:49:02] local.INFO: TCP Data received {"connection_id":143339,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97479658012d4f6f00064e8260000c00912a..."} 
[2026-07-25 08:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97479658012d4f6f00064e8260000c00912a..."} 
[2026-07-25 08:49:02] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97479658012d4f6f00064e8260000c00912a..."} 
[2026-07-25 08:49:02] local.INFO: Packet analysis {"connection_id":143339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9747"} 
[2026-07-25 08:49:02] local.INFO: Extracted packet for processing {"connection_id":143339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9747"} 
[2026-07-25 08:49:02] local.INFO: GPS Element Parsed {"raw_longitude":760180480,"raw_latitude":105808480,"longitude_deg":76.018048,"latitude_deg":10.580848,"altitude":12,"angle":145,"satellites":42,"speed":32,"hex_longitude":"2d4f6f00","hex_latitude":"064e8260","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947063040001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357268453561729024,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5718093810221645824,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949479000,"timestamp_ms":1784949479000,"timestamp_seconds":1784949479,"priority":1,"record_length":96,"hex_timestamp":"0000019f97479658"} 
[2026-07-25 08:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 08:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947063040001,"66":27919,"240":206,"78":62464,"24":32,"16":357268453561729024,"45":5718093810221645824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-25 08:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947063040001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:49:02] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-25 08:49:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357268453561729024,"km_value":357268453561729.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5718093810221645824,"description":"Unknown IO ID 45"} 
[2026-07-25 08:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947063040001,"power":27919,"unknown_240":206,"unknown_78":62464,"ignition":32,"odometer":null,"unknown_45":5718093810221645824}} 
[2026-07-25 08:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":143339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:49:02] local.INFO: GPS data processed {"connection_id":143339,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:49:02] local.INFO: Acknowledgment sent {"connection_id":143339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:49:13] local.INFO: TCP Data received {"connection_id":140989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:49:13] local.INFO: Processing buffer {"connection_id":140989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:49:13] local.INFO: IMEI packet received {"connection_id":140989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":140989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:49:18] local.INFO: TCP Data received {"connection_id":140989,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:49:18] local.INFO: Processing buffer {"connection_id":140989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:49:18] local.INFO: IMEI packet received {"connection_id":140989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":140989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:49:18] local.INFO: TCP Data received {"connection_id":140989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:49:18] local.INFO: Processing buffer {"connection_id":140989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:49:18] local.INFO: Packet analysis {"connection_id":140989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:49:18] local.INFO: Extracted packet for processing {"connection_id":140989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:49:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:49: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-07-25 08:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":140989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:49:19] local.INFO: GPS data processed {"connection_id":140989,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:49:19] local.INFO: Acknowledgment sent {"connection_id":140989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:49:33] local.INFO: TCP Data received {"connection_id":143339,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9747bd68012d4f82c0064e6418000d009429..."} 
[2026-07-25 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9747bd68012d4f82c0064e6418000d009429..."} 
[2026-07-25 08:49:33] local.INFO: Processing buffer {"connection_id":143339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9747bd68012d4f82c0064e6418000d009429..."} 
[2026-07-25 08:49:33] local.INFO: Packet analysis {"connection_id":143339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9747"} 
[2026-07-25 08:49:33] local.INFO: Extracted packet for processing {"connection_id":143339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9747"} 
[2026-07-25 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760185536,"raw_latitude":105800728,"longitude_deg":76.0185536,"latitude_deg":10.5800728,"altitude":13,"angle":148,"satellites":41,"speed":39,"hex_longitude":"2d4f82c0","hex_latitude":"064e6418","is_valid_coordinates":true} 
[2026-07-25 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947066624001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357268900238327808,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5723793678498160640,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784949489000,"timestamp_ms":1784949489000,"timestamp_seconds":1784949489,"priority":1,"record_length":96,"hex_timestamp":"0000019f9747bd68"} 
[2026-07-25 08:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 08:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947066624001,"66":27865,"240":206,"78":62464,"24":39,"16":357268900238327808,"45":5723793678498160640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-25 08:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947066624001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:49:33] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-25 08:49:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357268900238327808,"km_value":357268900238327.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5723793678498160640,"description":"Unknown IO ID 45"} 
[2026-07-25 08:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947066624001,"power":27865,"unknown_240":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5723793678498160640}} 
[2026-07-25 08:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":143339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:49:33] local.INFO: GPS data processed {"connection_id":143339,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:49:33] local.INFO: Acknowledgment sent {"connection_id":143339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:49:50] local.INFO: TCP Data received {"connection_id":140989,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:49:50] local.INFO: Processing buffer {"connection_id":140989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97450de8012d7ee50005e72ec8000600fe29..."} 
[2026-07-25 08:49:50] local.INFO: Packet analysis {"connection_id":140989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:49:50] local.INFO: Extracted packet for processing {"connection_id":140989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9745"} 
[2026-07-25 08:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":41,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456946947072001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949313000,"timestamp_ms":1784949313000,"timestamp_seconds":1784949313,"priority":1,"record_length":96,"hex_timestamp":"0000019f97450de8"} 
[2026-07-25 08:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":17,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 08:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2038,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456946947072001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456946947072001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:49:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:49:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456946947072001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":140989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:49:50] local.INFO: GPS data processed {"connection_id":140989,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:49:50] local.INFO: Acknowledgment sent {"connection_id":140989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:50:01] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:01] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:01] local.INFO: IMEI packet received {"connection_id":143340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":143340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:50:06] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:06] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:06] local.INFO: IMEI packet received {"connection_id":143340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":143340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:50:08] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9747e478012d4f9540064e4598000e009729..."} 
[2026-07-25 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9747e478012d4f9540064e4598000e009729..."} 
[2026-07-25 08:50:08] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9747e478012d4f9540064e4598000e009729..."} 
[2026-07-25 08:50:08] local.INFO: Packet analysis {"connection_id":143340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9747"} 
[2026-07-25 08:50:08] local.INFO: Extracted packet for processing {"connection_id":143340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9747"} 
[2026-07-25 08:50:08] local.INFO: GPS Element Parsed {"raw_longitude":760190272,"raw_latitude":105792920,"longitude_deg":76.0190272,"latitude_deg":10.579292,"altitude":14,"angle":151,"satellites":41,"speed":30,"hex_longitude":"2d4f9540","hex_latitude":"064e4598","is_valid_coordinates":true} 
[2026-07-25 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947069184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357269342619959296,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5729352809286211584,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784949499000,"timestamp_ms":1784949499000,"timestamp_seconds":1784949499,"priority":1,"record_length":96,"hex_timestamp":"0000019f9747e478"} 
[2026-07-25 08:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947069184001,"66":27821,"7":206,"78":62464,"24":30,"16":357269342619959296,"45":5729352809286211584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-25 08:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947069184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:50:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 08:50:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357269342619959296,"km_value":357269342619959.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5729352809286211584,"description":"Unknown IO ID 45"} 
[2026-07-25 08:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947069184001,"power":27821,"unknown_7":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5729352809286211584}} 
[2026-07-25 08:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":143340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:50:08] local.INFO: GPS data processed {"connection_id":143340,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:50:08] local.INFO: Acknowledgment sent {"connection_id":143340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:50:11] local.INFO: TCP Data received {"connection_id":143340,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97482eb0012d4fa500064e26a8000f009a29..."} 
[2026-07-25 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97482eb0012d4fa500064e26a8000f009a29..."} 
[2026-07-25 08:50:11] local.INFO: Processing buffer {"connection_id":143340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97482eb0012d4fa500064e26a8000f009a29..."} 
[2026-07-25 08:50:11] local.INFO: Packet analysis {"connection_id":143340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:50:11] local.INFO: Extracted packet for processing {"connection_id":143340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":760194304,"raw_latitude":105785000,"longitude_deg":76.0194304,"latitude_deg":10.5785,"altitude":15,"angle":154,"satellites":41,"speed":6,"hex_longitude":"2d4fa500","hex_latitude":"064e26a8","is_valid_coordinates":true} 
[2026-07-25 08:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947071744001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357269772116688896,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734560096353359872,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784949518000,"timestamp_ms":1784949518000,"timestamp_seconds":1784949518,"priority":1,"record_length":96,"hex_timestamp":"0000019f97482eb0"} 
[2026-07-25 08:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 08:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947071744001,"66":27974,"7":206,"78":62464,"24":6,"16":357269772116688896,"45":5734560096353359872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-25 08:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947071744001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357269772116688896,"km_value":357269772116688.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734560096353359872,"description":"Unknown IO ID 45"} 
[2026-07-25 08:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947071744001,"power":27974,"unknown_7":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5734560096353359872}} 
[2026-07-25 08:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":143340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:50:11] local.INFO: GPS data processed {"connection_id":143340,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:50:11] local.INFO: Acknowledgment sent {"connection_id":143340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:50:12] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:12] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:12] local.INFO: IMEI packet received {"connection_id":140990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":140990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:50:16] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:16] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:16] local.INFO: IMEI packet received {"connection_id":140990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":140990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:50:17] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:17] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:50:17] local.INFO: IMEI packet received {"connection_id":140990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":140990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:50:18] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:50:18] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:50:18] local.INFO: Packet analysis {"connection_id":140990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:50:18] local.INFO: Extracted packet for processing {"connection_id":140990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 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-07-25 08:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":140990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:50:18] local.INFO: GPS data processed {"connection_id":140990,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:50:18] local.INFO: Acknowledgment sent {"connection_id":140990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:50:49] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:50:49] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:50:49] local.INFO: Packet analysis {"connection_id":140990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:50:49] local.INFO: Extracted packet for processing {"connection_id":140990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:50:49] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":140990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":140990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":140990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:50:49] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:50:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":140990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:50:49] local.INFO: GPS data processed {"connection_id":140990,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:50:49] local.INFO: Acknowledgment sent {"connection_id":140990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:50:55] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:55] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:55] local.INFO: IMEI packet received {"connection_id":143341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":143341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:50:56] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:56] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:50:56] local.INFO: IMEI packet received {"connection_id":143341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":143341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:51:01] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:51:01] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:51:01] local.INFO: IMEI packet received {"connection_id":143341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":143341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:51:02] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97484df0012d4fa780064e22c0000e00852d..."} 
[2026-07-25 08:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97484df0012d4fa780064e22c0000e00852d..."} 
[2026-07-25 08:51:02] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97484df0012d4fa780064e22c0000e00852d..."} 
[2026-07-25 08:51:02] local.INFO: Packet analysis {"connection_id":143341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:51:02] local.INFO: Extracted packet for processing {"connection_id":143341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:51:02] local.INFO: GPS Element Parsed {"raw_longitude":760194944,"raw_latitude":105784000,"longitude_deg":76.0194944,"latitude_deg":10.5784,"altitude":14,"angle":133,"satellites":45,"speed":6,"hex_longitude":"2d4fa780","hex_latitude":"064e22c0","is_valid_coordinates":true} 
[2026-07-25 08:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947076608001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357269832246231040,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5738993327234525184,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949526000,"timestamp_ms":1784949526000,"timestamp_seconds":1784949526,"priority":1,"record_length":96,"hex_timestamp":"0000019f97484df0"} 
[2026-07-25 08:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 08:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947076608001,"66":27930,"7":206,"78":62464,"24":6,"16":357269832246231040,"45":5738993327234525184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-25 08:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947076608001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:51:02] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 08:51:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357269832246231040,"km_value":357269832246231.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5738993327234525184,"description":"Unknown IO ID 45"} 
[2026-07-25 08:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947076608001,"power":27930,"unknown_7":206,"unknown_78":62464,"ignition":6,"odometer":null,"unknown_45":5738993327234525184}} 
[2026-07-25 08:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":143341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:51:02] local.INFO: GPS data processed {"connection_id":143341,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:51:02] local.INFO: Acknowledgment sent {"connection_id":143341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:51:18] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:51:18] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:51:18] local.INFO: IMEI packet received {"connection_id":140945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":140945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:51:23] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:51:23] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:51:23] local.INFO: IMEI packet received {"connection_id":140945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":140945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:51:24] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:51:24] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:51:24] local.INFO: Packet analysis {"connection_id":140945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:51:24] local.INFO: Extracted packet for processing {"connection_id":140945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:51:24] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":140945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:51:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:51:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":140945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:51:24] local.INFO: GPS data processed {"connection_id":140945,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:51:24] local.INFO: Acknowledgment sent {"connection_id":140945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:51:28] local.INFO: TCP Data received {"connection_id":140945,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:51:28] local.INFO: Processing buffer {"connection_id":140945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:51:28] local.INFO: Packet analysis {"connection_id":140945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:51:28] local.INFO: Extracted packet for processing {"connection_id":140945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":140945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":140945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08: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-07-25 08:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:51:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:51:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":140945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:51:28] local.INFO: GPS data processed {"connection_id":140945,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:51:28] local.INFO: Acknowledgment sent {"connection_id":140945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:51:33] local.INFO: TCP Data received {"connection_id":143341,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974851d8012d4fa800064e2250000f00792d..."} 
[2026-07-25 08:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974851d8012d4fa800064e2250000f00792d..."} 
[2026-07-25 08:51:33] local.INFO: Processing buffer {"connection_id":143341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974851d8012d4fa800064e2250000f00792d..."} 
[2026-07-25 08:51:33] local.INFO: Packet analysis {"connection_id":143341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:51:33] local.INFO: Extracted packet for processing {"connection_id":143341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:51:33] local.INFO: GPS Element Parsed {"raw_longitude":760195072,"raw_latitude":105783888,"longitude_deg":76.0195072,"latitude_deg":10.5783888,"altitude":15,"angle":121,"satellites":45,"speed":8,"hex_longitude":"2d4fa800","hex_latitude":"064e2250","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947078656001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357269840836165632,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5739697014676045824,"note":"Value kept but may cause issues"} 
[2026-07-25 08:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784949527000,"timestamp_ms":1784949527000,"timestamp_seconds":1784949527,"priority":1,"record_length":96,"hex_timestamp":"0000019f974851d8"} 
[2026-07-25 08:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 08:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947078656001,"66":27908,"7":206,"78":62464,"24":8,"16":357269840836165632,"45":5739697014676045824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-25 08:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947078656001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:51:33] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 08:51:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357269840836165632,"km_value":357269840836165.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5739697014676045824,"description":"Unknown IO ID 45"} 
[2026-07-25 08:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947078656001,"power":27908,"unknown_7":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5739697014676045824}} 
[2026-07-25 08:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":143341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:51:33] local.INFO: GPS data processed {"connection_id":143341,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:51:33] local.INFO: Acknowledgment sent {"connection_id":143341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:51:56] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:51:56] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:51:56] local.INFO: IMEI packet received {"connection_id":140991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":140991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:52:02] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:02] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:02] local.INFO: IMEI packet received {"connection_id":140991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":140991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:52:03] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974855c0012d4fa900064e21f8000f00662e..."} 
[2026-07-25 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974855c0012d4fa900064e21f8000f00662e..."} 
[2026-07-25 08:52:03] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974855c0012d4fa900064e21f8000f00662e..."} 
[2026-07-25 08:52:03] local.INFO: Packet analysis {"connection_id":140991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:52:03] local.INFO: Extracted packet for processing {"connection_id":140991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9748"} 
[2026-07-25 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":760195328,"raw_latitude":105783800,"longitude_deg":76.0195328,"latitude_deg":10.57838,"altitude":15,"angle":102,"satellites":46,"speed":10,"hex_longitude":"2d4fa900","hex_latitude":"064e21f8","is_valid_coordinates":true} 
[2026-07-25 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947078912001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357269853721067520,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5739837752164372480,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784949528000,"timestamp_ms":1784949528000,"timestamp_seconds":1784949528,"priority":1,"record_length":96,"hex_timestamp":"0000019f974855c0"} 
[2026-07-25 08:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 08:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947078912001,"66":27908,"7":206,"78":62464,"24":10,"16":357269853721067520,"45":5739837752164372480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-25 08:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947078912001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357269853721067520,"km_value":357269853721067.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5739837752164372480,"description":"Unknown IO ID 45"} 
[2026-07-25 08:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947078912001,"power":27908,"unknown_7":206,"unknown_78":62464,"ignition":10,"odometer":null,"unknown_45":5739837752164372480}} 
[2026-07-25 08:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":140991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:52:03] local.INFO: GPS data processed {"connection_id":140991,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:52:03] local.INFO: Acknowledgment sent {"connection_id":140991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:52:13] local.INFO: TCP Data received {"connection_id":141993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:52:13] local.INFO: Processing buffer {"connection_id":141993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:52:13] local.INFO: IMEI packet received {"connection_id":141993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":141993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:52:17] local.INFO: TCP Data received {"connection_id":141993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:52:17] local.INFO: Processing buffer {"connection_id":141993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:52:17] local.INFO: IMEI packet received {"connection_id":141993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":141993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:52:18] local.INFO: TCP Data received {"connection_id":141993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:52:18] local.INFO: Processing buffer {"connection_id":141993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:52:18] local.INFO: Packet analysis {"connection_id":141993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:52:18] local.INFO: Extracted packet for processing {"connection_id":141993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:52:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:52:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":141993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:52:18] local.INFO: GPS data processed {"connection_id":141993,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:52:18] local.INFO: Acknowledgment sent {"connection_id":141993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:52:35] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974b0d10012d503180064e7540000b00342d..."} 
[2026-07-25 08:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974b0d10012d503180064e7540000b00342d..."} 
[2026-07-25 08:52:35] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974b0d10012d503180064e7540000b00342d..."} 
[2026-07-25 08:52:35] local.INFO: Packet analysis {"connection_id":140991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974b"} 
[2026-07-25 08:52:35] local.INFO: Extracted packet for processing {"connection_id":140991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974b"} 
[2026-07-25 08:52:35] local.INFO: GPS Element Parsed {"raw_longitude":760230272,"raw_latitude":105805120,"longitude_deg":76.0230272,"latitude_deg":10.580512,"altitude":11,"angle":52,"satellites":45,"speed":23,"hex_longitude":"2d503180","hex_latitude":"064e7540","is_valid_coordinates":true} 
[2026-07-25 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947122176001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357271846585892864,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770940737094868992,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784949706000,"timestamp_ms":1784949706000,"timestamp_seconds":1784949706,"priority":1,"record_length":96,"hex_timestamp":"0000019f974b0d10"} 
[2026-07-25 08:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:52: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-07-25 08:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 08:52: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-07-25 08:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947122176001,"66":27876,"53":206,"78":62464,"24":23,"16":357271846585892864,"45":5770940737094868992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-25 08:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947122176001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:52:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-25 08:52:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357271846585892864,"km_value":357271846585892.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770940737094868992,"description":"Unknown IO ID 45"} 
[2026-07-25 08:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947122176001,"power":27876,"unknown_53":206,"unknown_78":62464,"ignition":23,"odometer":null,"unknown_45":5770940737094868992}} 
[2026-07-25 08:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":140991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:52:35] local.INFO: GPS data processed {"connection_id":140991,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:52:35] local.INFO: Acknowledgment sent {"connection_id":140991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:52:50] local.INFO: TCP Data received {"connection_id":141993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:52:50] local.INFO: Processing buffer {"connection_id":141993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:52:50] local.INFO: Packet analysis {"connection_id":141993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:52:50] local.INFO: Extracted packet for processing {"connection_id":141993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:52:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:52:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":141993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:52:50] local.INFO: GPS data processed {"connection_id":141993,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:52:50] local.INFO: Acknowledgment sent {"connection_id":141993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:52:56] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:56] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:56] local.INFO: IMEI packet received {"connection_id":140992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":140992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:52:58] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:58] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:52:58] local.INFO: IMEI packet received {"connection_id":140992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":140992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:53:00] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 08:53:00] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 08:53:00] local.INFO: IMEI packet received {"connection_id":140992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":140992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:53:13] local.INFO: TCP Data received {"connection_id":140993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:53:13] local.INFO: Processing buffer {"connection_id":140993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:53:13] local.INFO: IMEI packet received {"connection_id":140993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":140993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:53:18] local.INFO: TCP Data received {"connection_id":140993,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:53:18] local.INFO: Processing buffer {"connection_id":140993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:53:18] local.INFO: IMEI packet received {"connection_id":140993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":140993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:53:19] local.INFO: TCP Data received {"connection_id":140993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:53:19] local.INFO: Processing buffer {"connection_id":140993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:53:19] local.INFO: Packet analysis {"connection_id":140993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:53:19] local.INFO: Extracted packet for processing {"connection_id":140993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:53:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:53:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":140993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:53:19] local.INFO: GPS data processed {"connection_id":140993,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:53:19] local.INFO: Acknowledgment sent {"connection_id":140993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:53:50] local.INFO: TCP Data received {"connection_id":140993,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:53:50] local.INFO: Processing buffer {"connection_id":140993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:53:50] local.INFO: Packet analysis {"connection_id":140993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:53:50] local.INFO: Extracted packet for processing {"connection_id":140993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:53:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:53:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:53:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":140993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:53:50] local.INFO: GPS data processed {"connection_id":140993,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:53:50] local.INFO: Acknowledgment sent {"connection_id":140993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:54:12] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:54:12] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:54:12] local.INFO: IMEI packet received {"connection_id":140994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":140994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:54:18] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:54:18] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:54:18] local.INFO: IMEI packet received {"connection_id":140994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":140994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:54:19] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:54:19] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:54:19] local.INFO: Packet analysis {"connection_id":140994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:54:19] local.INFO: Extracted packet for processing {"connection_id":140994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:54:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:54:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":140994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:54:19] local.INFO: GPS data processed {"connection_id":140994,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:54:19] local.INFO: Acknowledgment sent {"connection_id":140994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:54:50] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:54:50] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9749a5b0012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:54:50] local.INFO: Packet analysis {"connection_id":140994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:54:50] local.INFO: Extracted packet for processing {"connection_id":140994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9749"} 
[2026-07-25 08:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949614000,"timestamp_ms":1784949614000,"timestamp_seconds":1784949614,"priority":1,"record_length":96,"hex_timestamp":"0000019f9749a5b0"} 
[2026-07-25 08:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947024128001,"66":2242,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:54:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:54:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947024128001,"power":2242,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":140994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:54:50] local.INFO: GPS data processed {"connection_id":140994,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:54:50] local.INFO: Acknowledgment sent {"connection_id":140994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:55:12] local.INFO: TCP Data received {"connection_id":143342,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:55:12] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:55:12] local.INFO: IMEI packet received {"connection_id":143342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":143342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:55:17] local.INFO: TCP Data received {"connection_id":143342,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:55:17] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:55:17] local.INFO: IMEI packet received {"connection_id":143342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":143342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:55:18] local.INFO: TCP Data received {"connection_id":143342,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:55:18] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:55:18] local.INFO: Packet analysis {"connection_id":143342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:55:18] local.INFO: Extracted packet for processing {"connection_id":143342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:55:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":143342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:55:18] local.INFO: GPS data processed {"connection_id":143342,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:55:18] local.INFO: Acknowledgment sent {"connection_id":143342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:55:49] local.INFO: TCP Data received {"connection_id":143342,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:55:49] local.INFO: Processing buffer {"connection_id":143342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:55:49] local.INFO: Packet analysis {"connection_id":143342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:55:49] local.INFO: Extracted packet for processing {"connection_id":143342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":143342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":143342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":143342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:55:49] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:55:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":143342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:55:49] local.INFO: GPS data processed {"connection_id":143342,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:55:49] local.INFO: Acknowledgment sent {"connection_id":143342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:56:18] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:56:18] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:56:18] local.INFO: IMEI packet received {"connection_id":143343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":143343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:56:23] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:56:23] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:56:23] local.INFO: IMEI packet received {"connection_id":143343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":143343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:56:24] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:56:24] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:56:24] local.INFO: Packet analysis {"connection_id":143343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:56:24] local.INFO: Extracted packet for processing {"connection_id":143343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:56:24] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08: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-07-25 08:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08: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-07-25 08:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":143343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":143343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":143343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:56:24] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:56:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":143343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:56:24] local.INFO: GPS data processed {"connection_id":143343,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:56:24] local.INFO: Acknowledgment sent {"connection_id":143343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:56:28] local.INFO: TCP Data received {"connection_id":143343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:56:28] local.INFO: Processing buffer {"connection_id":143343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:56:28] local.INFO: Packet analysis {"connection_id":143343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:56:28] local.INFO: Extracted packet for processing {"connection_id":143343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 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-07-25 08:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:56: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-07-25 08:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:56:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:56:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":143343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:56:28] local.INFO: GPS data processed {"connection_id":143343,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:56:28] local.INFO: Acknowledgment sent {"connection_id":143343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:57:13] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:57:13] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:57:13] local.INFO: IMEI packet received {"connection_id":140995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":140995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:57:18] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:57:18] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:57:18] local.INFO: IMEI packet received {"connection_id":140995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":140995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:57:19] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:57:19] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:57:19] local.INFO: Packet analysis {"connection_id":140995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:57:19] local.INFO: Extracted packet for processing {"connection_id":140995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:57:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:57:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":140995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:57:19] local.INFO: GPS data processed {"connection_id":140995,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:57:19] local.INFO: Acknowledgment sent {"connection_id":140995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:57:50] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:57:50] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:57:50] local.INFO: Packet analysis {"connection_id":140995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:57:50] local.INFO: Extracted packet for processing {"connection_id":140995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:57:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:57:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":140995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:57:50] local.INFO: GPS data processed {"connection_id":140995,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:57:50] local.INFO: Acknowledgment sent {"connection_id":140995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:57:59] local.INFO: TCP Data received {"connection_id":141997,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:57:59] local.INFO: Processing buffer {"connection_id":141997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:57:59] local.INFO: IMEI packet received {"connection_id":141997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":141997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:58:01] local.INFO: TCP Data received {"connection_id":141997,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:58:01] local.INFO: Processing buffer {"connection_id":141997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:58:01] local.INFO: IMEI packet received {"connection_id":141997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":141997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:58:02] local.INFO: TCP Data received {"connection_id":141997,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e83c8012d50ed40064d4788000a00aa2d..."} 
[2026-07-25 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e83c8012d50ed40064d4788000a00aa2d..."} 
[2026-07-25 08:58:02] local.INFO: Processing buffer {"connection_id":141997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e83c8012d50ed40064d4788000a00aa2d..."} 
[2026-07-25 08:58:02] local.INFO: Packet analysis {"connection_id":141997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:02] local.INFO: Extracted packet for processing {"connection_id":141997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":760278336,"raw_latitude":105727880,"longitude_deg":76.0278336,"latitude_deg":10.572788,"altitude":10,"angle":170,"satellites":45,"speed":5,"hex_longitude":"2d50ed40","hex_latitude":"064d4788","is_valid_coordinates":true} 
[2026-07-25 08:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947181824001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357277266834620416,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831176382092795904,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784949933000,"timestamp_ms":1784949933000,"timestamp_seconds":1784949933,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e83c8"} 
[2026-07-25 08:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 08:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947181824001,"66":27865,"49":206,"78":62464,"24":5,"16":357277266834620416,"45":5831176382092795904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-25 08:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947181824001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:58:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 08:58:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357277266834620416,"km_value":357277266834620.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831176382092795904,"description":"Unknown IO ID 45"} 
[2026-07-25 08:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947181824001,"power":27865,"unknown_49":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5831176382092795904}} 
[2026-07-25 08:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":141997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:58:02] local.INFO: GPS data processed {"connection_id":141997,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:58:02] local.INFO: Acknowledgment sent {"connection_id":141997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:58:06] local.INFO: TCP Data received {"connection_id":141997,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974ed5d0012d50f040064d3520001000a12d..."} 
[2026-07-25 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974ed5d0012d50f040064d3520001000a12d..."} 
[2026-07-25 08:58:06] local.INFO: Processing buffer {"connection_id":141997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974ed5d0012d50f040064d3520001000a12d..."} 
[2026-07-25 08:58:06] local.INFO: Packet analysis {"connection_id":141997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:06] local.INFO: Extracted packet for processing {"connection_id":141997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":760279104,"raw_latitude":105723168,"longitude_deg":76.0279104,"latitude_deg":10.5723168,"altitude":16,"angle":161,"satellites":45,"speed":12,"hex_longitude":"2d50f040","hex_latitude":"064d3520","is_valid_coordinates":true} 
[2026-07-25 08:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947182848001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357277503057821696,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5831387488325175296,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784949954000,"timestamp_ms":1784949954000,"timestamp_seconds":1784949954,"priority":1,"record_length":96,"hex_timestamp":"0000019f974ed5d0"} 
[2026-07-25 08:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08: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":217,"data_length":795,"current_offset":136} 
[2026-07-25 08:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947182848001,"66":27626,"49":206,"78":62464,"24":12,"16":357277503057821696,"45":5831387488325175296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-25 08:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947182848001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357277503057821696,"km_value":357277503057821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5831387488325175296,"description":"Unknown IO ID 45"} 
[2026-07-25 08:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947182848001,"power":27626,"unknown_49":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":5831387488325175296}} 
[2026-07-25 08:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":141997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:58:06] local.INFO: GPS data processed {"connection_id":141997,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:58:06] local.INFO: Acknowledgment sent {"connection_id":141997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:58:13] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:58:13] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:58:13] local.INFO: IMEI packet received {"connection_id":140948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":140948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:58:18] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:58:18] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:58:18] local.INFO: IMEI packet received {"connection_id":140948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":140948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:58:19] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:58:19] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:58:19] local.INFO: Packet analysis {"connection_id":140948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:19] local.INFO: Extracted packet for processing {"connection_id":140948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 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-07-25 08:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:58:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:58:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":140948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:58:19] local.INFO: GPS data processed {"connection_id":140948,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:58:19] local.INFO: Acknowledgment sent {"connection_id":140948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:58:37] local.INFO: TCP Data received {"connection_id":141997,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974ef128012d50f3c0064d2cf0001300962d..."} 
[2026-07-25 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974ef128012d50f3c0064d2cf0001300962d..."} 
[2026-07-25 08:58:37] local.INFO: Processing buffer {"connection_id":141997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974ef128012d50f3c0064d2cf0001300962d..."} 
[2026-07-25 08:58:37] local.INFO: Packet analysis {"connection_id":141997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:37] local.INFO: Extracted packet for processing {"connection_id":141997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":760280000,"raw_latitude":105721072,"longitude_deg":76.028,"latitude_deg":10.5721072,"altitude":19,"angle":150,"satellites":45,"speed":13,"hex_longitude":"2d50f3c0","hex_latitude":"064d2cf0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947188224001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357277614726971392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832231913254100992,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784949961000,"timestamp_ms":1784949961000,"timestamp_seconds":1784949961,"priority":1,"record_length":96,"hex_timestamp":"0000019f974ef128"} 
[2026-07-25 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-07-25 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 08:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947188224001,"66":27832,"49":206,"78":62464,"24":13,"16":357277614726971392,"45":5832231913254100992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-25 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947188224001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357277614726971392,"km_value":357277614726971.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832231913254100992,"description":"Unknown IO ID 45"} 
[2026-07-25 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947188224001,"power":27832,"unknown_49":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5832231913254100992}} 
[2026-07-25 08:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":141997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:58:37] local.INFO: GPS data processed {"connection_id":141997,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:58:37] local.INFO: Acknowledgment sent {"connection_id":141997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:58:50] local.INFO: TCP Data received {"connection_id":140948,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:58:50] local.INFO: Processing buffer {"connection_id":140948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:58:50] local.INFO: Packet analysis {"connection_id":140948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:50] local.INFO: Extracted packet for processing {"connection_id":140948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:58:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:58:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:58:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":140948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542171,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:58:50] local.INFO: GPS data processed {"connection_id":140948,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:58:50] local.INFO: Acknowledgment sent {"connection_id":140948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:58:56] local.INFO: TCP Data received {"connection_id":141998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:58:56] local.INFO: Processing buffer {"connection_id":141998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:58:56] local.INFO: IMEI packet received {"connection_id":141998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 08:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":141998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:59:01] local.INFO: TCP Data received {"connection_id":141998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:59:01] local.INFO: Processing buffer {"connection_id":141998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 08:59:01] local.INFO: IMEI packet received {"connection_id":141998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 08:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":141998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:59:03] local.INFO: TCP Data received {"connection_id":141998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974f3f48012d5104c0064d0ea00010009f2d..."} 
[2026-07-25 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974f3f48012d5104c0064d0ea00010009f2d..."} 
[2026-07-25 08:59:03] local.INFO: Processing buffer {"connection_id":141998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974f3f48012d5104c0064d0ea00010009f2d..."} 
[2026-07-25 08:59:03] local.INFO: Packet analysis {"connection_id":141998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974f"} 
[2026-07-25 08:59:03] local.INFO: Extracted packet for processing {"connection_id":141998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974f"} 
[2026-07-25 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":760284352,"raw_latitude":105713312,"longitude_deg":76.0284352,"latitude_deg":10.5713312,"altitude":16,"angle":159,"satellites":45,"speed":17,"hex_longitude":"2d5104c0","hex_latitude":"064d0ea0","is_valid_coordinates":true} 
[2026-07-25 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947190016001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357278044223700992,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833217075672051712,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784949981000,"timestamp_ms":1784949981000,"timestamp_seconds":1784949981,"priority":1,"record_length":96,"hex_timestamp":"0000019f974f3f48"} 
[2026-07-25 08:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 08:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947190016001,"66":27930,"49":206,"78":62464,"24":17,"16":357278044223700992,"45":5833217075672051712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-25 08:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947190016001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357278044223700992,"km_value":357278044223701.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833217075672051712,"description":"Unknown IO ID 45"} 
[2026-07-25 08:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947190016001,"power":27930,"unknown_49":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5833217075672051712}} 
[2026-07-25 08:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":141998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:59:03] local.INFO: GPS data processed {"connection_id":141998,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:59:03] local.INFO: Acknowledgment sent {"connection_id":141998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:59:12] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:59:12] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:59:12] local.INFO: IMEI packet received {"connection_id":140996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 08:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":140996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 08:59:18] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:59:18] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 08:59:18] local.INFO: IMEI packet received {"connection_id":140996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 08:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":140996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 08:59:19] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:59:19] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:59:19] local.INFO: Packet analysis {"connection_id":140996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:59:19] local.INFO: Extracted packet for processing {"connection_id":140996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":140996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":140996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":140996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:59:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:59:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":140996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:59:19] local.INFO: GPS data processed {"connection_id":140996,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:59:19] local.INFO: Acknowledgment sent {"connection_id":140996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:59:34] local.INFO: TCP Data received {"connection_id":141998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f974f8598012d511300064cedd8000c00982c..."} 
[2026-07-25 08:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974f8598012d511300064cedd8000c00982c..."} 
[2026-07-25 08:59:35] local.INFO: Processing buffer {"connection_id":141998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974f8598012d511300064cedd8000c00982c..."} 
[2026-07-25 08:59:35] local.INFO: Packet analysis {"connection_id":141998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974f"} 
[2026-07-25 08:59:35] local.INFO: Extracted packet for processing {"connection_id":141998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974f"} 
[2026-07-25 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":760288000,"raw_latitude":105704920,"longitude_deg":76.0288,"latitude_deg":10.570492,"altitude":12,"angle":152,"satellites":44,"speed":22,"hex_longitude":"2d511300","hex_latitude":"064cedd8","is_valid_coordinates":true} 
[2026-07-25 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947195136001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357278486605332480,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5838002150274146304,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784949999000,"timestamp_ms":1784949999000,"timestamp_seconds":1784949999,"priority":1,"record_length":96,"hex_timestamp":"0000019f974f8598"} 
[2026-07-25 08:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 08:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 08:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 08:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 08:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 08:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947195136001,"66":27843,"49":206,"78":62464,"24":22,"16":357278486605332480,"45":5838002150274146304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-25 08:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 08:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 08:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947195136001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:59:35] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 08:59:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-25 08:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357278486605332480,"km_value":357278486605332.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5838002150274146304,"description":"Unknown IO ID 45"} 
[2026-07-25 08:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947195136001,"power":27843,"unknown_49":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5838002150274146304}} 
[2026-07-25 08:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":141998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:59:35] local.INFO: GPS data processed {"connection_id":141998,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:59:35] local.INFO: Acknowledgment sent {"connection_id":141998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 08:59:50] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:59:50] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f974e3d78012d7ee50005e72ec8000600fe2b..."} 
[2026-07-25 08:59:50] local.INFO: Packet analysis {"connection_id":140996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:59:50] local.INFO: Extracted packet for processing {"connection_id":140996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f974e"} 
[2026-07-25 08:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":6,"angle":254,"satellites":43,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 08:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 08:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947101184001,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 08:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 08:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784949915000,"timestamp_ms":1784949915000,"timestamp_seconds":1784949915,"priority":1,"record_length":96,"hex_timestamp":"0000019f974e3d78"} 
[2026-07-25 08:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 08:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 08:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 08:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 08:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 08:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 08:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 08:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 08:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 08:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 08:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 08:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 08:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947101184001,"66":2253,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 08:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 08:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 08:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947101184001,"description":"Unknown IO ID 0"} 
[2026-07-25 08:59:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 08:59:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 08:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 08:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 08:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947101184001,"power":2253,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 08:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":140996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 08:59:50] local.INFO: GPS data processed {"connection_id":140996,"processed":1,"errors":0,"total":1} 
[2026-07-25 08:59:50] local.INFO: Acknowledgment sent {"connection_id":140996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:00:01] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:01] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:01] local.INFO: IMEI packet received {"connection_id":140997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":140997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:00:02] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:02] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:02] local.INFO: IMEI packet received {"connection_id":140997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":140997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:00:06] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:06] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:06] local.INFO: IMEI packet received {"connection_id":140997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":140997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:00:07] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975171c8012d51c800064b88c8000b00942c..."} 
[2026-07-25 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975171c8012d51c800064b88c8000b00942c..."} 
[2026-07-25 09:00:07] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975171c8012d51c800064b88c8000b00942c..."} 
[2026-07-25 09:00:07] local.INFO: Packet analysis {"connection_id":140997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:00:07] local.INFO: Extracted packet for processing {"connection_id":140997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:00:07] local.INFO: GPS Element Parsed {"raw_longitude":760334336,"raw_latitude":105613512,"longitude_deg":76.0334336,"latitude_deg":10.5613512,"altitude":11,"angle":148,"satellites":44,"speed":27,"hex_longitude":"2d51c800","hex_latitude":"064b88c8","is_valid_coordinates":true} 
[2026-07-25 09:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947227648001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357283460177461248,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5887893589872582656,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784950125000,"timestamp_ms":1784950125000,"timestamp_seconds":1784950125,"priority":1,"record_length":96,"hex_timestamp":"0000019f975171c8"} 
[2026-07-25 09:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947227648001,"66":27865,"95":206,"78":38912,"24":27,"16":357283460177461248,"45":5887893589872582656},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-07-25 09:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947227648001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:00:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 09:00:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357283460177461248,"km_value":357283460177461.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5887893589872582656,"description":"Unknown IO ID 45"} 
[2026-07-25 09:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947227648001,"power":27865,"unknown_95":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":5887893589872582656}} 
[2026-07-25 09:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":140997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:00:08] local.INFO: GPS data processed {"connection_id":140997,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:00:08] local.INFO: Acknowledgment sent {"connection_id":140997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:00:11] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9751a0a8012d51dc40064b6938000c00982b..."} 
[2026-07-25 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9751a0a8012d51dc40064b6938000c00982b..."} 
[2026-07-25 09:00:11] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9751a0a8012d51dc40064b6938000c00982b..."} 
[2026-07-25 09:00:11] local.INFO: Packet analysis {"connection_id":140997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:00:11] local.INFO: Extracted packet for processing {"connection_id":140997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":760339520,"raw_latitude":105605432,"longitude_deg":76.033952,"latitude_deg":10.5605432,"altitude":12,"angle":152,"satellites":43,"speed":36,"hex_longitude":"2d51dc40","hex_latitude":"064b6938","is_valid_coordinates":true} 
[2026-07-25 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947232000001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357283924033929216,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5892960139451353088,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784950137000,"timestamp_ms":1784950137000,"timestamp_seconds":1784950137,"priority":1,"record_length":96,"hex_timestamp":"0000019f9751a0a8"} 
[2026-07-25 09:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947232000001,"66":27865,"95":206,"78":38912,"24":36,"16":357283924033929216,"45":5892960139451353088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-07-25 09:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947232000001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:00:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 09:00:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357283924033929216,"km_value":357283924033929.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5892960139451353088,"description":"Unknown IO ID 45"} 
[2026-07-25 09:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947232000001,"power":27865,"unknown_95":206,"unknown_78":38912,"ignition":36,"odometer":null,"unknown_45":5892960139451353088}} 
[2026-07-25 09:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":140997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:00:11] local.INFO: GPS data processed {"connection_id":140997,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:00:11] local.INFO: Acknowledgment sent {"connection_id":140997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:00:12] local.INFO: TCP Data received {"connection_id":143344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:00:12] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:00:12] local.INFO: IMEI packet received {"connection_id":143344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":143344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:00:18] local.INFO: TCP Data received {"connection_id":143344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:00:18] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:00:18] local.INFO: IMEI packet received {"connection_id":143344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":143344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:00:19] local.INFO: TCP Data received {"connection_id":143344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:00:19] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:00:19] local.INFO: Packet analysis {"connection_id":143344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:00:19] local.INFO: Extracted packet for processing {"connection_id":143344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:00:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:00:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":143344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:00:19] local.INFO: GPS data processed {"connection_id":143344,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:00:19] local.INFO: Acknowledgment sent {"connection_id":143344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:00:50] local.INFO: TCP Data received {"connection_id":143344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:00:50] local.INFO: Processing buffer {"connection_id":143344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:00:50] local.INFO: Packet analysis {"connection_id":143344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:00:50] local.INFO: Extracted packet for processing {"connection_id":143344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:00:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:00:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":143344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:00:50] local.INFO: GPS data processed {"connection_id":143344,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:00:50] local.INFO: Acknowledgment sent {"connection_id":143344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:00:58] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:58] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:58] local.INFO: IMEI packet received {"connection_id":140949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":140949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:00:58] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:58] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:00:58] local.INFO: IMEI packet received {"connection_id":140949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":140949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:01:01] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:01:01] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:01:01] local.INFO: IMEI packet received {"connection_id":140949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":140949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:01:02] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9751c3d0012d51edc0064b49c0000c00922c..."} 
[2026-07-25 09:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9751c3d0012d51edc0064b49c0000c00922c..."} 
[2026-07-25 09:01:02] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9751c3d0012d51edc0064b49c0000c00922c..."} 
[2026-07-25 09:01:02] local.INFO: Packet analysis {"connection_id":140949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:01:02] local.INFO: Extracted packet for processing {"connection_id":140949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":760344000,"raw_latitude":105597376,"longitude_deg":76.0344,"latitude_deg":10.5597376,"altitude":12,"angle":146,"satellites":44,"speed":43,"hex_longitude":"2d51edc0","hex_latitude":"064b49c0","is_valid_coordinates":true} 
[2026-07-25 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947235072001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357284370710528000,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5898660007727675392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784950146000,"timestamp_ms":1784950146000,"timestamp_seconds":1784950146,"priority":1,"record_length":96,"hex_timestamp":"0000019f9751c3d0"} 
[2026-07-25 09:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947235072001,"66":27865,"95":206,"78":38912,"24":43,"16":357284370710528000,"45":5898660007727675392},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-07-25 09:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947235072001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:01:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 09:01:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357284370710528000,"km_value":357284370710528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5898660007727675392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947235072001,"power":27865,"unknown_95":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":5898660007727675392}} 
[2026-07-25 09:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":140949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:01:02] local.INFO: GPS data processed {"connection_id":140949,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:01:02] local.INFO: Acknowledgment sent {"connection_id":140949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:01:05] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9751e6f8012d520340064b2960000d00942c..."} 
[2026-07-25 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9751e6f8012d520340064b2960000d00942c..."} 
[2026-07-25 09:01:05] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9751e6f8012d520340064b2960000d00942c..."} 
[2026-07-25 09:01:05] local.INFO: Packet analysis {"connection_id":140949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:01:05] local.INFO: Extracted packet for processing {"connection_id":140949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9751"} 
[2026-07-25 09:01:05] local.INFO: GPS Element Parsed {"raw_longitude":760349504,"raw_latitude":105589088,"longitude_deg":76.0349504,"latitude_deg":10.5589088,"altitude":13,"angle":148,"satellites":44,"speed":44,"hex_longitude":"2d520340","hex_latitude":"064b2960","is_valid_coordinates":true} 
[2026-07-25 09:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947237376001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357284847451897856,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5903585819818049536,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784950155000,"timestamp_ms":1784950155000,"timestamp_seconds":1784950155,"priority":1,"record_length":96,"hex_timestamp":"0000019f9751e6f8"} 
[2026-07-25 09:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947237376001,"66":27843,"95":206,"78":38912,"24":44,"16":357284847451897856,"45":5903585819818049536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-07-25 09:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947237376001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:01:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 09:01:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357284847451897856,"km_value":357284847451897.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5903585819818049536,"description":"Unknown IO ID 45"} 
[2026-07-25 09:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947237376001,"power":27843,"unknown_95":206,"unknown_78":38912,"ignition":44,"odometer":null,"unknown_45":5903585819818049536}} 
[2026-07-25 09:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":140949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:01:05] local.INFO: GPS data processed {"connection_id":140949,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:01:05] local.INFO: Acknowledgment sent {"connection_id":140949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:01:13] local.INFO: TCP Data received {"connection_id":141999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:01:13] local.INFO: Processing buffer {"connection_id":141999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:01:13] local.INFO: IMEI packet received {"connection_id":141999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":141999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:01:18] local.INFO: TCP Data received {"connection_id":141999,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:01:18] local.INFO: Processing buffer {"connection_id":141999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:01:18] local.INFO: IMEI packet received {"connection_id":141999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":141999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:01:19] local.INFO: TCP Data received {"connection_id":141999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:01:19] local.INFO: Processing buffer {"connection_id":141999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:01:19] local.INFO: Packet analysis {"connection_id":141999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:01:19] local.INFO: Extracted packet for processing {"connection_id":141999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:01:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:01:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":141999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:01:19] local.INFO: GPS data processed {"connection_id":141999,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:01:19] local.INFO: Acknowledgment sent {"connection_id":141999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:01:36] local.INFO: TCP Data received {"connection_id":140949,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97532f18012d52fa800649b9980009008c2b..."} 
[2026-07-25 09:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97532f18012d52fa800649b9980009008c2b..."} 
[2026-07-25 09:01:36] local.INFO: Processing buffer {"connection_id":140949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97532f18012d52fa800649b9980009008c2b..."} 
[2026-07-25 09:01:36] local.INFO: Packet analysis {"connection_id":140949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:01:36] local.INFO: Extracted packet for processing {"connection_id":140949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:01:36] local.INFO: GPS Element Parsed {"raw_longitude":760412800,"raw_latitude":105494936,"longitude_deg":76.04128,"latitude_deg":10.5494936,"altitude":9,"angle":140,"satellites":43,"speed":60,"hex_longitude":"2d52fa80","hex_latitude":"0649b998","is_valid_coordinates":true} 
[2026-07-25 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947259648001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357290366484873216,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5972617557831847936,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784950239000,"timestamp_ms":1784950239000,"timestamp_seconds":1784950239,"priority":1,"record_length":96,"hex_timestamp":"0000019f97532f18"} 
[2026-07-25 09:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:01: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-07-25 09:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947259648001,"66":27865,"193":206,"78":38912,"24":60,"16":357290366484873216,"45":5972617557831847936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-07-25 09:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947259648001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357290366484873216,"km_value":357290366484873.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5972617557831847936,"description":"Unknown IO ID 45"} 
[2026-07-25 09:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947259648001,"power":27865,"unknown_193":206,"unknown_78":38912,"ignition":60,"odometer":null,"unknown_45":5972617557831847936}} 
[2026-07-25 09:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":140949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:01:36] local.INFO: GPS data processed {"connection_id":140949,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:01:36] local.INFO: Acknowledgment sent {"connection_id":140949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:01:50] local.INFO: TCP Data received {"connection_id":141999,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:01:50] local.INFO: Processing buffer {"connection_id":141999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:01:50] local.INFO: Packet analysis {"connection_id":141999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:01:50] local.INFO: Extracted packet for processing {"connection_id":141999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:01:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:01:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":141999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:01:50] local.INFO: GPS data processed {"connection_id":141999,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:01:50] local.INFO: Acknowledgment sent {"connection_id":141999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:02:02] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:02] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:02] local.INFO: IMEI packet received {"connection_id":140998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":140998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:02:03] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:03] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:03] local.INFO: IMEI packet received {"connection_id":140998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":140998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:02:04] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97534688012d53114006499e700009008d2b..."} 
[2026-07-25 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97534688012d53114006499e700009008d2b..."} 
[2026-07-25 09:02:04] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97534688012d53114006499e700009008d2b..."} 
[2026-07-25 09:02:04] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:04] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760418624,"raw_latitude":105487984,"longitude_deg":76.0418624,"latitude_deg":10.5487984,"altitude":9,"angle":141,"satellites":43,"speed":59,"hex_longitude":"2d531140","hex_latitude":"06499e70","is_valid_coordinates":true} 
[2026-07-25 09:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947261184001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357290800276570112,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5979232219782813696,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784950245000,"timestamp_ms":1784950245000,"timestamp_seconds":1784950245,"priority":1,"record_length":96,"hex_timestamp":"0000019f97534688"} 
[2026-07-25 09:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947261184001,"66":27865,"193":206,"78":38912,"24":59,"16":357290800276570112,"45":5979232219782813696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-07-25 09:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947261184001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357290800276570112,"km_value":357290800276570.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5979232219782813696,"description":"Unknown IO ID 45"} 
[2026-07-25 09:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947261184001,"power":27865,"unknown_193":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":5979232219782813696}} 
[2026-07-25 09:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:02:04] local.INFO: GPS data processed {"connection_id":140998,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:02:04] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:02:07] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97535df8012d5326c0064982c0000a008f2c..."} 
[2026-07-25 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97535df8012d5326c0064982c0000a008f2c..."} 
[2026-07-25 09:02:07] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97535df8012d5326c0064982c0000a008f2c..."} 
[2026-07-25 09:02:07] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:07] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":760424128,"raw_latitude":105480896,"longitude_deg":76.0424128,"latitude_deg":10.5480896,"altitude":10,"angle":143,"satellites":44,"speed":58,"hex_longitude":"2d5326c0","hex_latitude":"064982c0","is_valid_coordinates":true} 
[2026-07-25 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947262720001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357291234068267008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5985635775501201408,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784950251000,"timestamp_ms":1784950251000,"timestamp_seconds":1784950251,"priority":1,"record_length":96,"hex_timestamp":"0000019f97535df8"} 
[2026-07-25 09:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947262720001,"66":27821,"193":206,"78":38912,"24":58,"16":357291234068267008,"45":5985635775501201408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-07-25 09:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947262720001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:02:07] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 09:02:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357291234068267008,"km_value":357291234068267.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5985635775501201408,"description":"Unknown IO ID 45"} 
[2026-07-25 09:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947262720001,"power":27821,"unknown_193":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5985635775501201408}} 
[2026-07-25 09:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:02:07] local.INFO: GPS data processed {"connection_id":140998,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:02:07] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:02:13] local.INFO: TCP Data received {"connection_id":142000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:02:13] local.INFO: Processing buffer {"connection_id":142000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:02:13] local.INFO: IMEI packet received {"connection_id":142000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":142000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:02:18] local.INFO: TCP Data received {"connection_id":142000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:02:18] local.INFO: Processing buffer {"connection_id":142000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:02:18] local.INFO: IMEI packet received {"connection_id":142000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":142000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:02:19] local.INFO: TCP Data received {"connection_id":142000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:02:19] local.INFO: Processing buffer {"connection_id":142000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:02:19] local.INFO: Packet analysis {"connection_id":142000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:02:19] local.INFO: Extracted packet for processing {"connection_id":142000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:02:19] 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-07-25 09:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:02:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:02:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":142000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:02:19] local.INFO: GPS data processed {"connection_id":142000,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:02:19] local.INFO: Acknowledgment sent {"connection_id":142000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:02:41] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97537950012d533e40064961c8000a00922c..."} 
[2026-07-25 09:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97537950012d533e40064961c8000a00922c..."} 
[2026-07-25 09:02:41] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97537950012d533e40064961c8000a00922c..."} 
[2026-07-25 09:02:41] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:41] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":760430144,"raw_latitude":105472456,"longitude_deg":76.0430144,"latitude_deg":10.5472456,"altitude":10,"angle":146,"satellites":44,"speed":58,"hex_longitude":"2d533e40","hex_latitude":"064961c8","is_valid_coordinates":true} 
[2026-07-25 09:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947264256001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357291732284473344,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5991687487498665984,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784950258000,"timestamp_ms":1784950258000,"timestamp_seconds":1784950258,"priority":1,"record_length":96,"hex_timestamp":"0000019f97537950"} 
[2026-07-25 09:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947264256001,"66":27876,"193":206,"78":38912,"24":58,"16":357291732284473344,"45":5991687487498665984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-07-25 09:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947264256001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:02:41] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 09:02:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357291732284473344,"km_value":357291732284473.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5991687487498665984,"description":"Unknown IO ID 45"} 
[2026-07-25 09:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947264256001,"power":27876,"unknown_193":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5991687487498665984}} 
[2026-07-25 09:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:02:41] local.INFO: GPS data processed {"connection_id":140998,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:02:41] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:02:50] local.INFO: TCP Data received {"connection_id":142000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:02:50] local.INFO: Processing buffer {"connection_id":142000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:02:50] local.INFO: Packet analysis {"connection_id":142000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:02:50] local.INFO: Extracted packet for processing {"connection_id":142000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:02:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:02:50] 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-07-25 09:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:02:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:02:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":142000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:02:50] local.INFO: GPS data processed {"connection_id":142000,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:02:50] local.INFO: Acknowledgment sent {"connection_id":142000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:02:56] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:56] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:56] local.INFO: IMEI packet received {"connection_id":140950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":140950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:02:59] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:59] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:02:59] local.INFO: IMEI packet received {"connection_id":140950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":140950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:02:59] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975390c0012d5351c0064944e0000a00932c..."} 
[2026-07-25 09:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975390c0012d5351c0064944e0000a00932c..."} 
[2026-07-25 09:02:59] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975390c0012d5351c0064944e0000a00932c..."} 
[2026-07-25 09:02:59] local.INFO: Packet analysis {"connection_id":140950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:59] local.INFO: Extracted packet for processing {"connection_id":140950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9753"} 
[2026-07-25 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":760435136,"raw_latitude":105465056,"longitude_deg":76.0435136,"latitude_deg":10.5465056,"altitude":10,"angle":147,"satellites":44,"speed":58,"hex_longitude":"2d5351c0","hex_latitude":"064944e0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947266048001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357292161781202944,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5998302149449205760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784950264000,"timestamp_ms":1784950264000,"timestamp_seconds":1784950264,"priority":1,"record_length":96,"hex_timestamp":"0000019f975390c0"} 
[2026-07-25 09:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947266048001,"66":27843,"193":206,"78":38912,"24":58,"16":357292161781202944,"45":5998302149449205760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-07-25 09:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947266048001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:02:59] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 09:02:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357292161781202944,"km_value":357292161781202.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5998302149449205760,"description":"Unknown IO ID 45"} 
[2026-07-25 09:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947266048001,"power":27843,"unknown_193":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":5998302149449205760}} 
[2026-07-25 09:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":140950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:02:59] local.INFO: GPS data processed {"connection_id":140950,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:02:59] local.INFO: Acknowledgment sent {"connection_id":140950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:03:12] local.INFO: TCP Data received {"connection_id":142001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:03:12] local.INFO: Processing buffer {"connection_id":142001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:03:12] local.INFO: IMEI packet received {"connection_id":142001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":142001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:03:18] local.INFO: TCP Data received {"connection_id":142001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:03:18] local.INFO: Processing buffer {"connection_id":142001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:03:18] local.INFO: IMEI packet received {"connection_id":142001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":142001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:03:19] local.INFO: TCP Data received {"connection_id":142001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:03:19] local.INFO: Processing buffer {"connection_id":142001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:03:19] local.INFO: Packet analysis {"connection_id":142001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:03:19] local.INFO: Extracted packet for processing {"connection_id":142001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:03:19] 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-07-25 09:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:03:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:03:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":142001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:03:19] local.INFO: GPS data processed {"connection_id":142001,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:03:19] local.INFO: Acknowledgment sent {"connection_id":142001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:03:31] local.INFO: TCP Data received {"connection_id":140950,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9754dcc8012d53dac00647a1b8000900b52d..."} 
[2026-07-25 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9754dcc8012d53dac00647a1b8000900b52d..."} 
[2026-07-25 09:03:31] local.INFO: Processing buffer {"connection_id":140950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9754dcc8012d53dac00647a1b8000900b52d..."} 
[2026-07-25 09:03:31] local.INFO: Packet analysis {"connection_id":140950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9754"} 
[2026-07-25 09:03:31] local.INFO: Extracted packet for processing {"connection_id":140950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9754"} 
[2026-07-25 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105357752,"longitude_deg":76.0470208,"latitude_deg":10.5357752,"altitude":9,"angle":181,"satellites":45,"speed":41,"hex_longitude":"2d53dac0","hex_latitude":"0647a1b8","is_valid_coordinates":true} 
[2026-07-25 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947287040001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357297753828622336,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042775195742515200,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784950349000,"timestamp_ms":1784950349000,"timestamp_seconds":1784950349,"priority":1,"record_length":96,"hex_timestamp":"0000019f9754dcc8"} 
[2026-07-25 09:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 09:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":140950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":140950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947287040001,"66":27843,"99":206,"78":38912,"24":41,"16":357297753828622336,"45":6042775195742515200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947287040001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357297753828622336,"km_value":357297753828622.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042775195742515200,"description":"Unknown IO ID 45"} 
[2026-07-25 09:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947287040001,"power":27843,"unknown_99":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6042775195742515200}} 
[2026-07-25 09:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":140950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:03:31] local.INFO: GPS data processed {"connection_id":140950,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:03:31] local.INFO: Acknowledgment sent {"connection_id":140950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:03:51] local.INFO: TCP Data received {"connection_id":142001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:03:51] local.INFO: Processing buffer {"connection_id":142001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:03:51] local.INFO: Packet analysis {"connection_id":142001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:03:51] local.INFO: Extracted packet for processing {"connection_id":142001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:03:51] 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-07-25 09:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:03:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:03:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":142001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:03:51] local.INFO: GPS data processed {"connection_id":142001,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:03:51] local.INFO: Acknowledgment sent {"connection_id":142001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:03:56] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:03:56] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:03:56] local.INFO: IMEI packet received {"connection_id":143345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":143345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:04:01] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:04:01] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:04:01] local.INFO: IMEI packet received {"connection_id":143345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":143345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:04:02] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975503d8012d53db0006477d00000b00b32d..."} 
[2026-07-25 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975503d8012d53db0006477d00000b00b32d..."} 
[2026-07-25 09:04:02] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975503d8012d53db0006477d00000b00b32d..."} 
[2026-07-25 09:04:02] local.INFO: Packet analysis {"connection_id":143345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:04:02] local.INFO: Extracted packet for processing {"connection_id":143345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105348352,"longitude_deg":76.0470272,"latitude_deg":10.5348352,"altitude":11,"angle":179,"satellites":45,"speed":35,"hex_longitude":"2d53db00","hex_latitude":"06477d00","is_valid_coordinates":true} 
[2026-07-25 09:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947289344001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357298209095155712,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983275059200,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784950359000,"timestamp_ms":1784950359000,"timestamp_seconds":1784950359,"priority":1,"record_length":96,"hex_timestamp":"0000019f975503d8"} 
[2026-07-25 09:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947289344001,"66":27800,"99":206,"78":38912,"24":35,"16":357298209095155712,"45":6042352983275059200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947289344001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:04:02] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:04:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357298209095155712,"km_value":357298209095155.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983275059200,"description":"Unknown IO ID 45"} 
[2026-07-25 09:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947289344001,"power":27800,"unknown_99":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":6042352983275059200}} 
[2026-07-25 09:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":143345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:04:02] local.INFO: GPS data processed {"connection_id":143345,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:04:02] local.INFO: Acknowledgment sent {"connection_id":143345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:04:12] local.INFO: TCP Data received {"connection_id":142002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:04:12] local.INFO: Processing buffer {"connection_id":142002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:04:12] local.INFO: IMEI packet received {"connection_id":142002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":142002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:04:18] local.INFO: TCP Data received {"connection_id":142002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:04:18] local.INFO: Processing buffer {"connection_id":142002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:04:18] local.INFO: IMEI packet received {"connection_id":142002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":142002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:04:19] local.INFO: TCP Data received {"connection_id":142002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:04:19] local.INFO: Processing buffer {"connection_id":142002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:04:19] local.INFO: Packet analysis {"connection_id":142002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:04:19] local.INFO: Extracted packet for processing {"connection_id":142002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:04:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:04:19] 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-07-25 09:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:04:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:04:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":142002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:04:19] local.INFO: GPS data processed {"connection_id":142002,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:04:19] local.INFO: Acknowledgment sent {"connection_id":142002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:04:33] local.INFO: TCP Data received {"connection_id":143345,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97552ed0012d53db4006475a60000f00b42a..."} 
[2026-07-25 09:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97552ed0012d53db4006475a60000f00b42a..."} 
[2026-07-25 09:04:33] local.INFO: Processing buffer {"connection_id":143345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97552ed0012d53db4006475a60000f00b42a..."} 
[2026-07-25 09:04:33] local.INFO: Packet analysis {"connection_id":143345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:04:33] local.INFO: Extracted packet for processing {"connection_id":143345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105339488,"longitude_deg":76.0470336,"latitude_deg":10.5339488,"altitude":15,"angle":180,"satellites":42,"speed":27,"hex_longitude":"2d53db40","hex_latitude":"06475a60","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947291904001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357298638591885312,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352016830464,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784950370000,"timestamp_ms":1784950370000,"timestamp_seconds":1784950370,"priority":1,"record_length":96,"hex_timestamp":"0000019f97552ed0"} 
[2026-07-25 09:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947291904001,"66":27865,"99":206,"78":38912,"24":27,"16":357298638591885312,"45":6042423352016830464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947291904001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:04:33] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:04:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357298638591885312,"km_value":357298638591885.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352016830464,"description":"Unknown IO ID 45"} 
[2026-07-25 09:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947291904001,"power":27865,"unknown_99":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6042423352016830464}} 
[2026-07-25 09:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":143345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:04:33] local.INFO: GPS data processed {"connection_id":143345,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:04:33] local.INFO: Acknowledgment sent {"connection_id":143345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:04:50] local.INFO: TCP Data received {"connection_id":142002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:04:50] local.INFO: Processing buffer {"connection_id":142002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:04:50] local.INFO: Packet analysis {"connection_id":142002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:04:50] local.INFO: Extracted packet for processing {"connection_id":142002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:04:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:04:50] 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-07-25 09:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:04:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:04:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":142002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:04:50] local.INFO: GPS data processed {"connection_id":142002,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:04:50] local.INFO: Acknowledgment sent {"connection_id":142002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:05:02] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:02] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:02] local.INFO: IMEI packet received {"connection_id":140951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":140951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:05:02] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:02] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:02] local.INFO: IMEI packet received {"connection_id":140951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":140951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:05:03] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97555db0012d53db0006473708001100b329..."} 
[2026-07-25 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97555db0012d53db0006473708001100b329..."} 
[2026-07-25 09:05:03] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97555db0012d53db0006473708001100b329..."} 
[2026-07-25 09:05:03] local.INFO: Packet analysis {"connection_id":140951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:05:03] local.INFO: Extracted packet for processing {"connection_id":140951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:05:03] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105330440,"longitude_deg":76.0470272,"latitude_deg":10.533044,"altitude":17,"angle":179,"satellites":41,"speed":32,"hex_longitude":"2d53db00","hex_latitude":"06473708","is_valid_coordinates":true} 
[2026-07-25 09:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947294720001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357299080973516800,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720758738944,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784950382000,"timestamp_ms":1784950382000,"timestamp_seconds":1784950382,"priority":1,"record_length":96,"hex_timestamp":"0000019f97555db0"} 
[2026-07-25 09:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947294720001,"66":27843,"99":206,"78":38912,"24":32,"16":357299080973516800,"45":6042493720758738944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947294720001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357299080973516800,"km_value":357299080973516.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720758738944,"description":"Unknown IO ID 45"} 
[2026-07-25 09:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947294720001,"power":27843,"unknown_99":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6042493720758738944}} 
[2026-07-25 09:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":140951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:05:03] local.INFO: GPS data processed {"connection_id":140951,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:05:03] local.INFO: Acknowledgment sent {"connection_id":140951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:05:04] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975588a8012d53db0006471330001200b529..."} 
[2026-07-25 09:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975588a8012d53db0006471330001200b529..."} 
[2026-07-25 09:05:04] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975588a8012d53db0006471330001200b529..."} 
[2026-07-25 09:05:04] local.INFO: Packet analysis {"connection_id":140951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:05:04] local.INFO: Extracted packet for processing {"connection_id":140951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105321264,"longitude_deg":76.0470272,"latitude_deg":10.5321264,"altitude":18,"angle":181,"satellites":41,"speed":29,"hex_longitude":"2d53db00","hex_latitude":"06471330","is_valid_coordinates":true} 
[2026-07-25 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947297792001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357299523355148288,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352012244992,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784950393000,"timestamp_ms":1784950393000,"timestamp_seconds":1784950393,"priority":1,"record_length":96,"hex_timestamp":"0000019f975588a8"} 
[2026-07-25 09:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947297792001,"66":27800,"99":206,"78":38912,"24":29,"16":357299523355148288,"45":6042423352012244992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947297792001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:05:04] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:05:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357299523355148288,"km_value":357299523355148.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352012244992,"description":"Unknown IO ID 45"} 
[2026-07-25 09:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947297792001,"power":27800,"unknown_99":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6042423352012244992}} 
[2026-07-25 09:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":140951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:05:04] local.INFO: GPS data processed {"connection_id":140951,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:05:04] local.INFO: Acknowledgment sent {"connection_id":140951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:05:12] local.INFO: TCP Data received {"connection_id":143346,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:05:12] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:05:12] local.INFO: IMEI packet received {"connection_id":143346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":143346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:05:18] local.INFO: TCP Data received {"connection_id":143346,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:05:18] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:05:18] local.INFO: IMEI packet received {"connection_id":143346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":143346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:05:20] local.INFO: TCP Data received {"connection_id":143346,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:05:20] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9752d540012d7ee50005e72ec8000100fe2c..."} 
[2026-07-25 09:05:20] local.INFO: Packet analysis {"connection_id":143346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:05:20] local.INFO: Extracted packet for processing {"connection_id":143346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9752"} 
[2026-07-25 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":1,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947178240001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784950216000,"timestamp_ms":1784950216000,"timestamp_seconds":1784950216,"priority":1,"record_length":96,"hex_timestamp":"0000019f9752d540"} 
[2026-07-25 09:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 09:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:05:20] 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-07-25 09:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947178240001,"66":2220,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947178240001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:05:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:05:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947178240001,"power":2220,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":143346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:05:20] local.INFO: GPS data processed {"connection_id":143346,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:05:20] local.INFO: Acknowledgment sent {"connection_id":143346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:05:36] local.INFO: TCP Data received {"connection_id":140951,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9755c340012d53db000646eee8001000b62a..."} 
[2026-07-25 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9755c340012d53db000646eee8001000b62a..."} 
[2026-07-25 09:05:36] local.INFO: Processing buffer {"connection_id":140951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9755c340012d53db000646eee8001000b62a..."} 
[2026-07-25 09:05:36] local.INFO: Packet analysis {"connection_id":140951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:05:36] local.INFO: Extracted packet for processing {"connection_id":140951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:05:36] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105311976,"longitude_deg":76.0470272,"latitude_deg":10.5311976,"altitude":16,"angle":182,"satellites":42,"speed":23,"hex_longitude":"2d53db00","hex_latitude":"0646eee8","is_valid_coordinates":true} 
[2026-07-25 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947300608001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357299974326714368,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352009895936,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784950408000,"timestamp_ms":1784950408000,"timestamp_seconds":1784950408,"priority":1,"record_length":96,"hex_timestamp":"0000019f9755c340"} 
[2026-07-25 09:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:05: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-07-25 09:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":140951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":140951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":140951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947300608001,"66":27800,"99":206,"78":38912,"24":23,"16":357299974326714368,"45":6042423352009895936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947300608001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:05:36] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:05:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357299974326714368,"km_value":357299974326714.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352009895936,"description":"Unknown IO ID 45"} 
[2026-07-25 09:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947300608001,"power":27800,"unknown_99":206,"unknown_78":38912,"ignition":23,"odometer":null,"unknown_45":6042423352009895936}} 
[2026-07-25 09:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":140951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:05:36] local.INFO: GPS data processed {"connection_id":140951,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:05:36] local.INFO: Acknowledgment sent {"connection_id":140951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:05:51] local.INFO: TCP Data received {"connection_id":143346,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:05:51] local.INFO: Processing buffer {"connection_id":143346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:05:51] local.INFO: Packet analysis {"connection_id":143346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:05:51] local.INFO: Extracted packet for processing {"connection_id":143346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:05:51] 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-07-25 09:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:05:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:05:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":143346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:05:51] local.INFO: GPS data processed {"connection_id":143346,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:05:51] local.INFO: Acknowledgment sent {"connection_id":143346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:05:56] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:56] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:56] local.INFO: IMEI packet received {"connection_id":140999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":140999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:05:59] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:59] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:05:59] local.INFO: IMEI packet received {"connection_id":140999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":140999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:06:01] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:06:01] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:06:01] local.INFO: IMEI packet received {"connection_id":140999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":140999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:06:03] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9755f608012d53dcc00646cc10000d00af2b..."} 
[2026-07-25 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9755f608012d53dcc00646cc10000d00af2b..."} 
[2026-07-25 09:06:03] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9755f608012d53dcc00646cc10000d00af2b..."} 
[2026-07-25 09:06:03] local.INFO: Packet analysis {"connection_id":140999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:06:03] local.INFO: Extracted packet for processing {"connection_id":140999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9755"} 
[2026-07-25 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":760470720,"raw_latitude":105303056,"longitude_deg":76.047072,"latitude_deg":10.5303056,"altitude":13,"angle":175,"satellites":43,"speed":29,"hex_longitude":"2d53dcc0","hex_latitude":"0646cc10","is_valid_coordinates":true} 
[2026-07-25 09:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947304448001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357300408118411264,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352007518208,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784950421000,"timestamp_ms":1784950421000,"timestamp_seconds":1784950421,"priority":1,"record_length":96,"hex_timestamp":"0000019f9755f608"} 
[2026-07-25 09:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947304448001,"66":27800,"99":206,"78":38912,"24":29,"16":357300408118411264,"45":6042423352007518208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947304448001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:06:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:06:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357300408118411264,"km_value":357300408118411.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352007518208,"description":"Unknown IO ID 45"} 
[2026-07-25 09:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947304448001,"power":27800,"unknown_99":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6042423352007518208}} 
[2026-07-25 09:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":140999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:06:03] local.INFO: GPS data processed {"connection_id":140999,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:06:03] local.INFO: Acknowledgment sent {"connection_id":140999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:06:06] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97562cb8012d53e3000646a7c8000d00a72d..."} 
[2026-07-25 09:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97562cb8012d53e3000646a7c8000d00a72d..."} 
[2026-07-25 09:06:06] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97562cb8012d53e3000646a7c8000d00a72d..."} 
[2026-07-25 09:06:06] local.INFO: Packet analysis {"connection_id":140999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9756"} 
[2026-07-25 09:06:06] local.INFO: Extracted packet for processing {"connection_id":140999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9756"} 
[2026-07-25 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":760472320,"raw_latitude":105293768,"longitude_deg":76.047232,"latitude_deg":10.5293768,"altitude":13,"angle":167,"satellites":45,"speed":27,"hex_longitude":"2d53e300","hex_latitude":"0646a7c8","is_valid_coordinates":true} 
[2026-07-25 09:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947307776001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357300863384944640,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042915933214478336,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784950435000,"timestamp_ms":1784950435000,"timestamp_seconds":1784950435,"priority":1,"record_length":96,"hex_timestamp":"0000019f97562cb8"} 
[2026-07-25 09:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":140999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947307776001,"66":27615,"99":206,"78":38912,"24":27,"16":357300863384944640,"45":6042915933214478336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-25 09:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947307776001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357300863384944640,"km_value":357300863384944.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042915933214478336,"description":"Unknown IO ID 45"} 
[2026-07-25 09:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947307776001,"power":27615,"unknown_99":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6042915933214478336}} 
[2026-07-25 09:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":140999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:06:06] local.INFO: GPS data processed {"connection_id":140999,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:06:06] local.INFO: Acknowledgment sent {"connection_id":140999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:06:13] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:06:13] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:06:13] local.INFO: IMEI packet received {"connection_id":143347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":143347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:06:18] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:06:18] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:06:18] local.INFO: IMEI packet received {"connection_id":143347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":143347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:06:18] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:06:18] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:06:18] local.INFO: Packet analysis {"connection_id":143347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:06:18] local.INFO: Extracted packet for processing {"connection_id":143347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 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-07-25 09:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:06:18] 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-07-25 09:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:06:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:06:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":143347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:06:19] local.INFO: GPS data processed {"connection_id":143347,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:06:19] local.INFO: Acknowledgment sent {"connection_id":143347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:06:37] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9757d298012d54c880064503f0001100932c..."} 
[2026-07-25 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9757d298012d54c880064503f0001100932c..."} 
[2026-07-25 09:06:37] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9757d298012d54c880064503f0001100932c..."} 
[2026-07-25 09:06:37] local.INFO: Packet analysis {"connection_id":140999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:06:37] local.INFO: Extracted packet for processing {"connection_id":140999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":760531072,"raw_latitude":105186288,"longitude_deg":76.0531072,"latitude_deg":10.5186288,"altitude":17,"angle":147,"satellites":44,"speed":47,"hex_longitude":"2d54c880","hex_latitude":"064503f0","is_valid_coordinates":true} 
[2026-07-25 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947336960001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357306790439813120,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6103573790667855872,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784950543000,"timestamp_ms":1784950543000,"timestamp_seconds":1784950543,"priority":1,"record_length":96,"hex_timestamp":"0000019f9757d298"} 
[2026-07-25 09:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947336960001,"66":27843,"217":206,"78":38912,"24":47,"16":357306790439813120,"45":6103573790667855872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-25 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947336960001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:06:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 09:06:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357306790439813120,"km_value":357306790439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6103573790667855872,"description":"Unknown IO ID 45"} 
[2026-07-25 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947336960001,"power":27843,"unknown_217":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6103573790667855872}} 
[2026-07-25 09:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":140999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:06:37] local.INFO: GPS data processed {"connection_id":140999,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:06:37] local.INFO: Acknowledgment sent {"connection_id":140999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:06:50] local.INFO: TCP Data received {"connection_id":143347,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:06:50] local.INFO: Processing buffer {"connection_id":143347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:06:50] local.INFO: Packet analysis {"connection_id":143347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:06:50] local.INFO: Extracted packet for processing {"connection_id":143347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 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-07-25 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:06:50] 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-07-25 09:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:06:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:06:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":143347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:06:50] local.INFO: GPS data processed {"connection_id":143347,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:06:50] local.INFO: Acknowledgment sent {"connection_id":143347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:06:59] local.INFO: TCP Data received {"connection_id":142003,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:06:59] local.INFO: Processing buffer {"connection_id":142003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:06:59] local.INFO: IMEI packet received {"connection_id":142003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":142003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:07:01] local.INFO: TCP Data received {"connection_id":142003,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:01] local.INFO: Processing buffer {"connection_id":142003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:01] local.INFO: IMEI packet received {"connection_id":142003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":142003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:07:06] local.INFO: TCP Data received {"connection_id":142003,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:06] local.INFO: Processing buffer {"connection_id":142003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:06] local.INFO: IMEI packet received {"connection_id":142003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":142003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:07:07] local.INFO: TCP Data received {"connection_id":142003,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9757f1d8012d54dd000644e478001300932e..."} 
[2026-07-25 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9757f1d8012d54dd000644e478001300932e..."} 
[2026-07-25 09:07:07] local.INFO: Processing buffer {"connection_id":142003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9757f1d8012d54dd000644e478001300932e..."} 
[2026-07-25 09:07:07] local.INFO: Packet analysis {"connection_id":142003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:07:07] local.INFO: Extracted packet for processing {"connection_id":142003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":760536320,"raw_latitude":105178232,"longitude_deg":76.053632,"latitude_deg":10.5178232,"altitude":19,"angle":147,"satellites":46,"speed":47,"hex_longitude":"2d54dd00","hex_latitude":"0644e478","is_valid_coordinates":true} 
[2026-07-25 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947339008001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357307254296281088,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6109273658944122880,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784950551000,"timestamp_ms":1784950551000,"timestamp_seconds":1784950551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9757f1d8"} 
[2026-07-25 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947339008001,"66":27908,"217":206,"78":38912,"24":47,"16":357307254296281088,"45":6109273658944122880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-25 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947339008001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357307254296281088,"km_value":357307254296281.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6109273658944122880,"description":"Unknown IO ID 45"} 
[2026-07-25 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947339008001,"power":27908,"unknown_217":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6109273658944122880}} 
[2026-07-25 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":142003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:07:07] local.INFO: GPS data processed {"connection_id":142003,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:07:07] local.INFO: Acknowledgment sent {"connection_id":142003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:07:13] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:07:13] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:07:13] local.INFO: IMEI packet received {"connection_id":140952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":140952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:07:18] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:07:18] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:07:18] local.INFO: IMEI packet received {"connection_id":140952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":140952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:07:18] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:07:18] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:07:18] local.INFO: Packet analysis {"connection_id":140952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:07:18] local.INFO: Extracted packet for processing {"connection_id":140952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":140952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":140952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":140952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:07:18] 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-07-25 09:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":140952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:07:19] local.INFO: GPS data processed {"connection_id":140952,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:07:19] local.INFO: Acknowledgment sent {"connection_id":140952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:07:40] local.INFO: TCP Data received {"connection_id":142003,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97581118012d54f1c00644c448001300942e..."} 
[2026-07-25 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97581118012d54f1c00644c448001300942e..."} 
[2026-07-25 09:07:40] local.INFO: Processing buffer {"connection_id":142003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97581118012d54f1c00644c448001300942e..."} 
[2026-07-25 09:07:40] local.INFO: Packet analysis {"connection_id":142003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9758"} 
[2026-07-25 09:07:40] local.INFO: Extracted packet for processing {"connection_id":142003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9758"} 
[2026-07-25 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":760541632,"raw_latitude":105169992,"longitude_deg":76.0541632,"latitude_deg":10.5169992,"altitude":19,"angle":148,"satellites":46,"speed":49,"hex_longitude":"2d54f1c0","hex_latitude":"0644c448","is_valid_coordinates":true} 
[2026-07-25 09:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947341056001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357307726742683648,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6115043895964628992,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784950559000,"timestamp_ms":1784950559000,"timestamp_seconds":1784950559,"priority":1,"record_length":96,"hex_timestamp":"0000019f97581118"} 
[2026-07-25 09:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947341056001,"66":27832,"217":206,"78":38912,"24":49,"16":357307726742683648,"45":6115043895964628992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-25 09:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947341056001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357307726742683648,"km_value":357307726742683.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6115043895964628992,"description":"Unknown IO ID 45"} 
[2026-07-25 09:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947341056001,"power":27832,"unknown_217":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":6115043895964628992}} 
[2026-07-25 09:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":142003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:07:40] local.INFO: GPS data processed {"connection_id":142003,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:07:40] local.INFO: Acknowledgment sent {"connection_id":142003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:07:50] local.INFO: TCP Data received {"connection_id":140952,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:07:50] local.INFO: Processing buffer {"connection_id":140952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:07:50] local.INFO: Packet analysis {"connection_id":140952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:07:50] local.INFO: Extracted packet for processing {"connection_id":140952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":140952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":140952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":140952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:07:50] 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-07-25 09:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:07:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:07:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":140952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:07:50] local.INFO: GPS data processed {"connection_id":140952,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:07:50] local.INFO: Acknowledgment sent {"connection_id":140952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:07:56] local.INFO: TCP Data received {"connection_id":143348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:56] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:56] local.INFO: IMEI packet received {"connection_id":143348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":143348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:07:57] local.INFO: TCP Data received {"connection_id":143348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:57] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:07:57] local.INFO: IMEI packet received {"connection_id":143348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":143348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:08:01] local.INFO: TCP Data received {"connection_id":143348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:08:01] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:08:01] local.INFO: IMEI packet received {"connection_id":143348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":143348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:08:02] local.INFO: TCP Data received {"connection_id":143348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97583058012d5505400644a248001200972e..."} 
[2026-07-25 09:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97583058012d5505400644a248001200972e..."} 
[2026-07-25 09:08:02] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97583058012d5505400644a248001200972e..."} 
[2026-07-25 09:08:02] local.INFO: Packet analysis {"connection_id":143348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9758"} 
[2026-07-25 09:08:02] local.INFO: Extracted packet for processing {"connection_id":143348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9758"} 
[2026-07-25 09:08:02] local.INFO: GPS Element Parsed {"raw_longitude":760546624,"raw_latitude":105161288,"longitude_deg":76.0546624,"latitude_deg":10.5161288,"altitude":18,"angle":151,"satellites":46,"speed":50,"hex_longitude":"2d550540","hex_latitude":"0644a248","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947343104001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357308212073988096,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6120884501729265664,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784950567000,"timestamp_ms":1784950567000,"timestamp_seconds":1784950567,"priority":1,"record_length":96,"hex_timestamp":"0000019f97583058"} 
[2026-07-25 09:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 09:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947343104001,"66":27789,"217":206,"78":38912,"24":50,"16":357308212073988096,"45":6120884501729265664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-25 09:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947343104001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:08:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 09:08:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357308212073988096,"km_value":357308212073988.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6120884501729265664,"description":"Unknown IO ID 45"} 
[2026-07-25 09:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947343104001,"power":27789,"unknown_217":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6120884501729265664}} 
[2026-07-25 09:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":143348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:08:02] local.INFO: GPS data processed {"connection_id":143348,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:08:02] local.INFO: Acknowledgment sent {"connection_id":143348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:08:12] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:08:12] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:08:12] local.INFO: IMEI packet received {"connection_id":141000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":141000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:08:18] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:08:18] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:08:18] local.INFO: IMEI packet received {"connection_id":141000,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":141000,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:08:19] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:08:19] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:08:19] local.INFO: Packet analysis {"connection_id":141000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:08:19] local.INFO: Extracted packet for processing {"connection_id":141000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:08:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:08:19] 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-07-25 09:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:08:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:08:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":141000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:08:19] local.INFO: GPS data processed {"connection_id":141000,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:08:19] local.INFO: Acknowledgment sent {"connection_id":141000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:08:33] local.INFO: TCP Data received {"connection_id":143348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97599ba0012d55d54006431718000d009a2e..."} 
[2026-07-25 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97599ba0012d55d54006431718000d009a2e..."} 
[2026-07-25 09:08:33] local.INFO: Processing buffer {"connection_id":143348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97599ba0012d55d54006431718000d009a2e..."} 
[2026-07-25 09:08:33] local.INFO: Packet analysis {"connection_id":143348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9759"} 
[2026-07-25 09:08:33] local.INFO: Extracted packet for processing {"connection_id":143348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9759"} 
[2026-07-25 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":760599872,"raw_latitude":105060120,"longitude_deg":76.0599872,"latitude_deg":10.506012,"altitude":13,"angle":154,"satellites":46,"speed":58,"hex_longitude":"2d55d540","hex_latitude":"06431718","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947367168001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357313739696898048,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6180064615556888576,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784950660000,"timestamp_ms":1784950660000,"timestamp_seconds":1784950660,"priority":1,"record_length":96,"hex_timestamp":"0000019f97599ba0"} 
[2026-07-25 09:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 09:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947367168001,"66":27876,"251":206,"78":38912,"24":58,"16":357313739696898048,"45":6180064615556888576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-07-25 09:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947367168001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:08:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-25 09:08:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357313739696898048,"km_value":357313739696898.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6180064615556888576,"description":"Unknown IO ID 45"} 
[2026-07-25 09:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947367168001,"power":27876,"unknown_251":206,"unknown_78":38912,"ignition":58,"odometer":null,"unknown_45":6180064615556888576}} 
[2026-07-25 09:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":143348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:08:33] local.INFO: GPS data processed {"connection_id":143348,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:08:33] local.INFO: Acknowledgment sent {"connection_id":143348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:08:50] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:08:50] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:08:50] local.INFO: Packet analysis {"connection_id":141000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:08:50] local.INFO: Extracted packet for processing {"connection_id":141000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:08:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141000,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:08:50] 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-07-25 09:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:08:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:08:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":141000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:08:50] local.INFO: GPS data processed {"connection_id":141000,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:08:50] local.INFO: Acknowledgment sent {"connection_id":141000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:09:12] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:12] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:12] local.INFO: IMEI packet received {"connection_id":140953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":140953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:09:13] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:09:13] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:09:13] local.INFO: IMEI packet received {"connection_id":141001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":141001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:09:13] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:13] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:13] local.INFO: IMEI packet received {"connection_id":140953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":140953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:09:16] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:16] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:09:16] local.INFO: IMEI packet received {"connection_id":140953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":140953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:09:17] local.INFO: TCP Data received {"connection_id":140953,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9759b310012d55e4800642f750000b009a2e..."} 
[2026-07-25 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9759b310012d55e4800642f750000b009a2e..."} 
[2026-07-25 09:09:17] local.INFO: Processing buffer {"connection_id":140953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9759b310012d55e4800642f750000b009a2e..."} 
[2026-07-25 09:09:17] local.INFO: Packet analysis {"connection_id":140953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9759"} 
[2026-07-25 09:09:17] local.INFO: Extracted packet for processing {"connection_id":140953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9759"} 
[2026-07-25 09:09:17] local.INFO: GPS Element Parsed {"raw_longitude":760603776,"raw_latitude":105051984,"longitude_deg":76.0603776,"latitude_deg":10.5051984,"altitude":11,"angle":154,"satellites":46,"speed":60,"hex_longitude":"2d55e480","hex_latitude":"0642f750","is_valid_coordinates":true} 
[2026-07-25 09:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947368960001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357314177783562240,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6184920058902812672,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784950666000,"timestamp_ms":1784950666000,"timestamp_seconds":1784950666,"priority":1,"record_length":96,"hex_timestamp":"0000019f9759b310"} 
[2026-07-25 09:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":140953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":140953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":140953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947368960001,"66":27832,"251":206,"78":38912,"24":60,"16":357314177783562240,"45":6184920058902812672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-07-25 09:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947368960001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:09:17] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-25 09:09:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-25 09:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357314177783562240,"km_value":357314177783562.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6184920058902812672,"description":"Unknown IO ID 45"} 
[2026-07-25 09:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947368960001,"power":27832,"unknown_251":206,"unknown_78":38912,"ignition":60,"odometer":null,"unknown_45":6184920058902812672}} 
[2026-07-25 09:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":140953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:09:17] local.INFO: GPS data processed {"connection_id":140953,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:09:17] local.INFO: Acknowledgment sent {"connection_id":140953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:09:18] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:09:18] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:09:18] local.INFO: IMEI packet received {"connection_id":141001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":141001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:09:18] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:09:18] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:09:18] local.INFO: Packet analysis {"connection_id":141001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:09:18] local.INFO: Extracted packet for processing {"connection_id":141001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:09:18] 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-07-25 09:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":141001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:09:19] local.INFO: GPS data processed {"connection_id":141001,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:09:19] local.INFO: Acknowledgment sent {"connection_id":141001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:09:50] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:09:50] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97576d08012d7ee50005e72ec8000200fe2a..."} 
[2026-07-25 09:09:50] local.INFO: Packet analysis {"connection_id":141001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:09:50] local.INFO: Extracted packet for processing {"connection_id":141001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9757"} 
[2026-07-25 09:09:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":42,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947255296001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950517000,"timestamp_ms":1784950517000,"timestamp_seconds":1784950517,"priority":1,"record_length":96,"hex_timestamp":"0000019f97576d08"} 
[2026-07-25 09:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 09:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:09:50] 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-07-25 09:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947255296001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947255296001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:09:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:09:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947255296001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":141001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:09:50] local.INFO: GPS data processed {"connection_id":141001,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:09:50] local.INFO: Acknowledgment sent {"connection_id":141001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:10:01] local.INFO: TCP Data received {"connection_id":142004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:10:01] local.INFO: Processing buffer {"connection_id":142004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:10:01] local.INFO: IMEI packet received {"connection_id":142004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":142004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:10:17] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:10:17] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:10:17] local.INFO: IMEI packet received {"connection_id":140954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":140954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:10:18] local.INFO: TCP Data received {"connection_id":142004,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:10:18] local.INFO: Processing buffer {"connection_id":142004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:10:18] local.INFO: IMEI packet received {"connection_id":142004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":142004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:10:18] local.INFO: TCP Data received {"connection_id":142004,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142004,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 09:10:18] local.INFO: Processing buffer {"connection_id":142004,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 09:10:18] local.INFO: IMEI packet received {"connection_id":142004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":142004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:10:19] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:10:19] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:10:19] local.INFO: IMEI packet received {"connection_id":140954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":140954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:10:20] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:20] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:20] local.INFO: Packet analysis {"connection_id":140954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:10:20] local.INFO: Extracted packet for processing {"connection_id":140954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":140954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:10:20] 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-07-25 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:10:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:10:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":140954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:10:21] local.INFO: GPS data processed {"connection_id":140954,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:10:21] local.INFO: Acknowledgment sent {"connection_id":140954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:10:23] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:23] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:23] local.INFO: Packet analysis {"connection_id":140954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:10:23] local.INFO: Extracted packet for processing {"connection_id":140954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 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-07-25 09:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":140954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:10:23] 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-07-25 09:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:10:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:10:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":140954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:10:23] local.INFO: GPS data processed {"connection_id":140954,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:10:23] local.INFO: Acknowledgment sent {"connection_id":140954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:10:55] local.INFO: TCP Data received {"connection_id":140954,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:55] local.INFO: Processing buffer {"connection_id":140954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:10:55] local.INFO: Packet analysis {"connection_id":140954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:10:55] local.INFO: Extracted packet for processing {"connection_id":140954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 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-07-25 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":140954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":140954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:10:55] 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-07-25 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:10:55] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:10:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":140954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:10:55] local.INFO: GPS data processed {"connection_id":140954,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:10:55] local.INFO: Acknowledgment sent {"connection_id":140954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:11:13] local.INFO: TCP Data received {"connection_id":143349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:11:13] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:11:13] local.INFO: IMEI packet received {"connection_id":143349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":143349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:11:19] local.INFO: TCP Data received {"connection_id":143349,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:11:19] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:11:19] local.INFO: IMEI packet received {"connection_id":143349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":143349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:11:19] local.INFO: TCP Data received {"connection_id":143349,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:11:19] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:11:19] local.INFO: Packet analysis {"connection_id":143349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:11:19] local.INFO: Extracted packet for processing {"connection_id":143349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:11:19] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 09:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:11:19] 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-07-25 09:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:11:19] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:11:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":143349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:11:20] local.INFO: GPS data processed {"connection_id":143349,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:11:20] local.INFO: Acknowledgment sent {"connection_id":143349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:11:51] local.INFO: TCP Data received {"connection_id":143349,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:11:51] local.INFO: Processing buffer {"connection_id":143349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:11:51] local.INFO: Packet analysis {"connection_id":143349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:11:51] local.INFO: Extracted packet for processing {"connection_id":143349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 09:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:11:51] 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-07-25 09:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:11:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:11:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":143349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:11:51] local.INFO: GPS data processed {"connection_id":143349,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:11:51] local.INFO: Acknowledgment sent {"connection_id":143349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:12:12] local.INFO: TCP Data received {"connection_id":143350,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:12:12] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:12:12] local.INFO: IMEI packet received {"connection_id":143350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 09:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":143350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:12:17] local.INFO: TCP Data received {"connection_id":143350,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:12:17] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 09:12:17] local.INFO: IMEI packet received {"connection_id":143350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 09:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":143350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:12:18] local.INFO: TCP Data received {"connection_id":143350,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:12:18] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:12:18] local.INFO: Packet analysis {"connection_id":143350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:12:18] local.INFO: Extracted packet for processing {"connection_id":143350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:12:18] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 09:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:12:18] 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-07-25 09:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":143350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:12:18] local.INFO: GPS data processed {"connection_id":143350,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:12:18] local.INFO: Acknowledgment sent {"connection_id":143350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:12:50] local.INFO: TCP Data received {"connection_id":143350,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:12:50] local.INFO: Processing buffer {"connection_id":143350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975c04d0012d7ee50005e72ec8000200fe2c..."} 
[2026-07-25 09:12:50] local.INFO: Packet analysis {"connection_id":143350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:12:50] local.INFO: Extracted packet for processing {"connection_id":143350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975c"} 
[2026-07-25 09:12:50] local.INFO: GPS Element Parsed {"raw_longitude":763290880,"raw_latitude":99036872,"longitude_deg":76.329088,"latitude_deg":9.9036872,"altitude":2,"angle":254,"satellites":44,"speed":0,"hex_longitude":"2d7ee500","hex_latitude":"05e72ec8","is_valid_coordinates":true} 
[2026-07-25 09:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947332352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 09:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143714643799099392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784950818000,"timestamp_ms":1784950818000,"timestamp_seconds":1784950818,"priority":1,"record_length":96,"hex_timestamp":"0000019f975c04d0"} 
[2026-07-25 09:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 09:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 09:12:50] 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-07-25 09:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 09:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 09:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947332352001,"66":2231,"131":206,"87":13824,"24":0,"16":110130198489333760,"45":9143714643799099392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-07-25 09:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 09:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 09:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947332352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:12:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 09:12:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 09:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143714643799099392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947332352001,"power":2231,"unknown_131":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9143714643799099392}} 
[2026-07-25 09:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":143350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:12:50] local.INFO: GPS data processed {"connection_id":143350,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:12:50] local.INFO: Acknowledgment sent {"connection_id":143350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:15:19] local.INFO: TCP Data received {"connection_id":141005,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:19] local.INFO: Processing buffer {"connection_id":141005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:19] local.INFO: IMEI packet received {"connection_id":141005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":141005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:15:20] local.INFO: TCP Data received {"connection_id":141005,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975f5478012d5a2ec0063d6098000600a02d..."} 
[2026-07-25 09:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975f5478012d5a2ec0063d6098000600a02d..."} 
[2026-07-25 09:15:20] local.INFO: Processing buffer {"connection_id":141005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975f5478012d5a2ec0063d6098000600a02d..."} 
[2026-07-25 09:15:20] local.INFO: Packet analysis {"connection_id":141005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:15:20] local.INFO: Extracted packet for processing {"connection_id":141005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":760884928,"raw_latitude":104685720,"longitude_deg":76.0884928,"latitude_deg":10.468572,"altitude":6,"angle":160,"satellites":45,"speed":33,"hex_longitude":"2d5a2ec0","hex_latitude":"063d6098","is_valid_coordinates":true} 
[2026-07-25 09:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947461888001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357337108613955584,"note":"Value kept but may cause issues"} 
[2026-07-25 09:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6494542533190955008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784951035000,"timestamp_ms":1784951035000,"timestamp_seconds":1784951035,"priority":1,"record_length":96,"hex_timestamp":"0000019f975f5478"} 
[2026-07-25 09:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947461888001,"66":27876,"161":206,"78":38656,"24":33,"16":357337108613955584,"45":6494542533190955008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-25 09:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947461888001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:15:20] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-25 09:15:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357337108613955584,"km_value":357337108613955.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6494542533190955008,"description":"Unknown IO ID 45"} 
[2026-07-25 09:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947461888001,"power":27876,"unknown_161":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6494542533190955008}} 
[2026-07-25 09:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":141005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:15:20] local.INFO: GPS data processed {"connection_id":141005,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:15:20] local.INFO: Acknowledgment sent {"connection_id":141005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:15:56] local.INFO: TCP Data received {"connection_id":143351,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:56] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:56] local.INFO: IMEI packet received {"connection_id":143351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":143351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:15:57] local.INFO: TCP Data received {"connection_id":143351,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:57] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:15:57] local.INFO: IMEI packet received {"connection_id":143351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":143351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:16:01] local.INFO: TCP Data received {"connection_id":143351,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:01] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:01] local.INFO: IMEI packet received {"connection_id":143351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":143351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:16:02] local.INFO: TCP Data received {"connection_id":143351,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975f7b88012d5a3b00063d3fd00005009f2d..."} 
[2026-07-25 09:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975f7b88012d5a3b00063d3fd00005009f2d..."} 
[2026-07-25 09:16:02] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975f7b88012d5a3b00063d3fd00005009f2d..."} 
[2026-07-25 09:16:02] local.INFO: Packet analysis {"connection_id":143351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:16:02] local.INFO: Extracted packet for processing {"connection_id":143351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:16:02] local.INFO: GPS Element Parsed {"raw_longitude":760888064,"raw_latitude":104677328,"longitude_deg":76.0888064,"latitude_deg":10.4677328,"altitude":5,"angle":159,"satellites":45,"speed":36,"hex_longitude":"2d5a3b00","hex_latitude":"063d3fd0","is_valid_coordinates":true} 
[2026-07-25 09:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947464960001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357337542405652480,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6498342445374281728,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784951045000,"timestamp_ms":1784951045000,"timestamp_seconds":1784951045,"priority":1,"record_length":96,"hex_timestamp":"0000019f975f7b88"} 
[2026-07-25 09:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947464960001,"66":27908,"161":206,"78":38656,"24":36,"16":357337542405652480,"45":6498342445374281728},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,78,24,16,45]} 
[2026-07-25 09:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947464960001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:16:02] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-25 09:16:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357337542405652480,"km_value":357337542405652.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6498342445374281728,"description":"Unknown IO ID 45"} 
[2026-07-25 09:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947464960001,"power":27908,"unknown_161":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6498342445374281728}} 
[2026-07-25 09:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":143351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:16:02] local.INFO: GPS data processed {"connection_id":143351,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:16:02] local.INFO: Acknowledgment sent {"connection_id":143351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:16:05] local.INFO: TCP Data received {"connection_id":143351,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975f9eb0012d5a4440063d2180000600aa2f..."} 
[2026-07-25 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975f9eb0012d5a4440063d2180000600aa2f..."} 
[2026-07-25 09:16:05] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975f9eb0012d5a4440063d2180000600aa2f..."} 
[2026-07-25 09:16:05] local.INFO: Packet analysis {"connection_id":143351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:16:05] local.INFO: Extracted packet for processing {"connection_id":143351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760890432,"raw_latitude":104669568,"longitude_deg":76.0890432,"latitude_deg":10.4669568,"altitude":6,"angle":170,"satellites":47,"speed":37,"hex_longitude":"2d5a4440","hex_latitude":"063d2180","is_valid_coordinates":true} 
[2026-07-25 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947467520001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357337937542643712,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6501790513836838912,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784951054000,"timestamp_ms":1784951054000,"timestamp_seconds":1784951054,"priority":1,"record_length":96,"hex_timestamp":"0000019f975f9eb0"} 
[2026-07-25 09:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947467520001,"66":27865,"173":206,"78":38656,"24":37,"16":357337937542643712,"45":6501790513836838912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-07-25 09:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947467520001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:16:05] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 09:16:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357337937542643712,"km_value":357337937542643.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6501790513836838912,"description":"Unknown IO ID 45"} 
[2026-07-25 09:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947467520001,"power":27865,"unknown_173":206,"unknown_78":38656,"ignition":37,"odometer":null,"unknown_45":6501790513836838912}} 
[2026-07-25 09:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":143351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:16:05] local.INFO: GPS data processed {"connection_id":143351,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:16:05] local.INFO: Acknowledgment sent {"connection_id":143351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:16:36] local.INFO: TCP Data received {"connection_id":143351,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f975fc1d8012d5a4e00063cfff0000700a32f..."} 
[2026-07-25 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f975fc1d8012d5a4e00063cfff0000700a32f..."} 
[2026-07-25 09:16:36] local.INFO: Processing buffer {"connection_id":143351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f975fc1d8012d5a4e00063cfff0000700a32f..."} 
[2026-07-25 09:16:36] local.INFO: Packet analysis {"connection_id":143351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:16:36] local.INFO: Extracted packet for processing {"connection_id":143351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f975f"} 
[2026-07-25 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":760892928,"raw_latitude":104660976,"longitude_deg":76.0892928,"latitude_deg":10.4660976,"altitude":7,"angle":163,"satellites":47,"speed":41,"hex_longitude":"2d5a4e00","hex_latitude":"063cfff0","is_valid_coordinates":true} 
[2026-07-25 09:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947469824001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357338371334340608,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6504394157369425920,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784951063000,"timestamp_ms":1784951063000,"timestamp_seconds":1784951063,"priority":1,"record_length":96,"hex_timestamp":"0000019f975fc1d8"} 
[2026-07-25 09:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947469824001,"66":27843,"173":206,"78":38656,"24":41,"16":357338371334340608,"45":6504394157369425920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-07-25 09:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947469824001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:16:36] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 09:16:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357338371334340608,"km_value":357338371334340.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6504394157369425920,"description":"Unknown IO ID 45"} 
[2026-07-25 09:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947469824001,"power":27843,"unknown_173":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6504394157369425920}} 
[2026-07-25 09:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":143351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:16:36] local.INFO: GPS data processed {"connection_id":143351,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:16:36] local.INFO: Acknowledgment sent {"connection_id":143351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:16:56] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:56] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:56] local.INFO: IMEI packet received {"connection_id":140955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":140955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:16:58] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:58] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:16:58] local.INFO: IMEI packet received {"connection_id":140955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":140955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:16:59] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976138d8012d5adb00063b55c0000b00a52d..."} 
[2026-07-25 09:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976138d8012d5adb00063b55c0000b00a52d..."} 
[2026-07-25 09:16:59] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976138d8012d5adb00063b55c0000b00a52d..."} 
[2026-07-25 09:16:59] local.INFO: Packet analysis {"connection_id":140955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9761"} 
[2026-07-25 09:16:59] local.INFO: Extracted packet for processing {"connection_id":140955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9761"} 
[2026-07-25 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":760929024,"raw_latitude":104551872,"longitude_deg":76.0929024,"latitude_deg":10.4551872,"altitude":11,"angle":165,"satellites":45,"speed":49,"hex_longitude":"2d5adb00","hex_latitude":"063b55c0","is_valid_coordinates":true} 
[2026-07-25 09:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947494656001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357343933316988928,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6543448810360365056,"note":"Value kept but may cause issues"} 
[2026-07-25 09:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784951159000,"timestamp_ms":1784951159000,"timestamp_seconds":1784951159,"priority":1,"record_length":96,"hex_timestamp":"0000019f976138d8"} 
[2026-07-25 09:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 09:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947494656001,"66":27767,"23":206,"78":38656,"24":49,"16":357343933316988928,"45":6543448810360365056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-07-25 09:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947494656001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:16:59] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 09:16:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357343933316988928,"km_value":357343933316988.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6543448810360365056,"description":"Unknown IO ID 45"} 
[2026-07-25 09:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947494656001,"power":27767,"unknown_23":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6543448810360365056}} 
[2026-07-25 09:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":140955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:16:59] local.INFO: GPS data processed {"connection_id":140955,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:16:59] local.INFO: Acknowledgment sent {"connection_id":140955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:17:30] local.INFO: TCP Data received {"connection_id":140955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97615818012d5ae140063b2fa0000c00b12d..."} 
[2026-07-25 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97615818012d5ae140063b2fa0000c00b12d..."} 
[2026-07-25 09:17:30] local.INFO: Processing buffer {"connection_id":140955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97615818012d5ae140063b2fa0000c00b12d..."} 
[2026-07-25 09:17:30] local.INFO: Packet analysis {"connection_id":140955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9761"} 
[2026-07-25 09:17:30] local.INFO: Extracted packet for processing {"connection_id":140955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9761"} 
[2026-07-25 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":760930624,"raw_latitude":104542112,"longitude_deg":76.0930624,"latitude_deg":10.4542112,"altitude":12,"angle":177,"satellites":45,"speed":48,"hex_longitude":"2d5ae140","hex_latitude":"063b2fa0","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947496704001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357344414353326080,"note":"Value kept but may cause issues"} 
[2026-07-25 09:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546826510078427136,"note":"Value kept but may cause issues"} 
[2026-07-25 09:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784951167000,"timestamp_ms":1784951167000,"timestamp_seconds":1784951167,"priority":1,"record_length":96,"hex_timestamp":"0000019f97615818"} 
[2026-07-25 09:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 09:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":140955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":140955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":140955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947496704001,"66":27919,"23":206,"78":38656,"24":48,"16":357344414353326080,"45":6546826510078427136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-07-25 09:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947496704001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:17:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 09:17:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357344414353326080,"km_value":357344414353326.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546826510078427136,"description":"Unknown IO ID 45"} 
[2026-07-25 09:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947496704001,"power":27919,"unknown_23":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6546826510078427136}} 
[2026-07-25 09:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":140955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:17:30] local.INFO: GPS data processed {"connection_id":140955,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:17:30] local.INFO: Acknowledgment sent {"connection_id":140955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:17:55] local.INFO: TCP Data received {"connection_id":141006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:17:55] local.INFO: Processing buffer {"connection_id":141006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:17:55] local.INFO: IMEI packet received {"connection_id":141006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:17:56] local.INFO: TCP Data received {"connection_id":141006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:17:56] local.INFO: Processing buffer {"connection_id":141006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:17:56] local.INFO: IMEI packet received {"connection_id":141006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":141006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:18:01] local.INFO: TCP Data received {"connection_id":141006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:18:01] local.INFO: Processing buffer {"connection_id":141006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:18:01] local.INFO: IMEI packet received {"connection_id":141006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":141006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:18:03] local.INFO: TCP Data received {"connection_id":141006,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97624a48012d5aa440063a2078001100a62f..."} 
[2026-07-25 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97624a48012d5aa440063a2078001100a62f..."} 
[2026-07-25 09:18:03] local.INFO: Processing buffer {"connection_id":141006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97624a48012d5aa440063a2078001100a62f..."} 
[2026-07-25 09:18:03] local.INFO: Packet analysis {"connection_id":141006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9762"} 
[2026-07-25 09:18:03] local.INFO: Extracted packet for processing {"connection_id":141006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9762"} 
[2026-07-25 09:18:03] local.INFO: GPS Element Parsed {"raw_longitude":760915008,"raw_latitude":104472696,"longitude_deg":76.0915008,"latitude_deg":10.4472696,"altitude":17,"angle":166,"satellites":47,"speed":44,"hex_longitude":"2d5aa440","hex_latitude":"063a2078","is_valid_coordinates":true} 
[2026-07-25 09:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947512576001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357347923341606912,"note":"Value kept but may cause issues"} 
[2026-07-25 09:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6530149117690302464,"note":"Value kept but may cause issues"} 
[2026-07-25 09:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784951229000,"timestamp_ms":1784951229000,"timestamp_seconds":1784951229,"priority":1,"record_length":96,"hex_timestamp":"0000019f97624a48"} 
[2026-07-25 09:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 09:18: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-07-25 09:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947512576001,"66":27767,"23":206,"78":38656,"24":44,"16":357347923341606912,"45":6530149117690302464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-07-25 09:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947512576001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:18:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 09:18:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357347923341606912,"km_value":357347923341606.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6530149117690302464,"description":"Unknown IO ID 45"} 
[2026-07-25 09:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947512576001,"power":27767,"unknown_23":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6530149117690302464}} 
[2026-07-25 09:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":141006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:18:03] local.INFO: GPS data processed {"connection_id":141006,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:18:03] local.INFO: Acknowledgment sent {"connection_id":141006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:18:34] local.INFO: TCP Data received {"connection_id":141006,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97624a48012d5aa440063a2078001100a62f..."} 
[2026-07-25 09:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97624a48012d5aa440063a2078001100a62f..."} 
[2026-07-25 09:18:34] local.INFO: Processing buffer {"connection_id":141006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97624a48012d5aa440063a2078001100a62f..."} 
[2026-07-25 09:18:34] local.INFO: Packet analysis {"connection_id":141006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9762"} 
[2026-07-25 09:18:34] local.INFO: Extracted packet for processing {"connection_id":141006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9762"} 
[2026-07-25 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":760915008,"raw_latitude":104472696,"longitude_deg":76.0915008,"latitude_deg":10.4472696,"altitude":17,"angle":166,"satellites":47,"speed":44,"hex_longitude":"2d5aa440","hex_latitude":"063a2078","is_valid_coordinates":true} 
[2026-07-25 09:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947514624001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357347923341606912,"note":"Value kept but may cause issues"} 
[2026-07-25 09:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6531415755083249664,"note":"Value kept but may cause issues"} 
[2026-07-25 09:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784951229000,"timestamp_ms":1784951229000,"timestamp_seconds":1784951229,"priority":1,"record_length":96,"hex_timestamp":"0000019f97624a48"} 
[2026-07-25 09:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 09:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947514624001,"66":27767,"23":206,"78":38656,"24":44,"16":357347923341606912,"45":6531415755083249664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-07-25 09:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947514624001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:18:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 09:18:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357347923341606912,"km_value":357347923341606.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6531415755083249664,"description":"Unknown IO ID 45"} 
[2026-07-25 09:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947514624001,"power":27767,"unknown_23":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6531415755083249664}} 
[2026-07-25 09:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":141006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:18:34] local.INFO: GPS data processed {"connection_id":141006,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:18:34] local.INFO: Acknowledgment sent {"connection_id":141006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:19:05] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:05] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:05] local.INFO: IMEI packet received {"connection_id":140956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":140956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:19:06] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:06] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:06] local.INFO: IMEI packet received {"connection_id":140956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":140956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:19:11] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:11] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:19:11] local.INFO: IMEI packet received {"connection_id":140956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":140956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:19:12] local.INFO: TCP Data received {"connection_id":140956,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97626988012d5ab0000639fec00010009d31..."} 
[2026-07-25 09:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97626988012d5ab0000639fec00010009d31..."} 
[2026-07-25 09:19:12] local.INFO: Processing buffer {"connection_id":140956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97626988012d5ab0000639fec00010009d31..."} 
[2026-07-25 09:19:12] local.INFO: Packet analysis {"connection_id":140956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9762"} 
[2026-07-25 09:19:12] local.INFO: Extracted packet for processing {"connection_id":140956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9762"} 
[2026-07-25 09:19:12] local.INFO: GPS Element Parsed {"raw_longitude":760918016,"raw_latitude":104464064,"longitude_deg":76.0918016,"latitude_deg":10.4464064,"altitude":16,"angle":157,"satellites":49,"speed":45,"hex_longitude":"2d5ab000","hex_latitude":"0639fec0","is_valid_coordinates":true} 
[2026-07-25 09:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947514624001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357348365723238400,"note":"Value kept but may cause issues"} 
[2026-07-25 09:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6531415755083249664,"note":"Value kept but may cause issues"} 
[2026-07-25 09:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784951237000,"timestamp_ms":1784951237000,"timestamp_seconds":1784951237,"priority":1,"record_length":96,"hex_timestamp":"0000019f97626988"} 
[2026-07-25 09:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:19: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-07-25 09:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 09:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":140956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":140956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":140956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947514624001,"66":27832,"85":206,"78":38656,"24":45,"16":357348365723238400,"45":6531415755083249664},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-07-25 09:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947514624001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:19:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-25 09:19:12] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357348365723238400,"km_value":357348365723238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6531415755083249664,"description":"Unknown IO ID 45"} 
[2026-07-25 09:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947514624001,"power":27832,"unknown_85":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6531415755083249664}} 
[2026-07-25 09:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":140956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:19:12] local.INFO: GPS data processed {"connection_id":140956,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:19:12] local.INFO: Acknowledgment sent {"connection_id":140956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:20:01] local.INFO: TCP Data received {"connection_id":142006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:01] local.INFO: Processing buffer {"connection_id":142006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:01] local.INFO: IMEI packet received {"connection_id":142006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":142006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:20:03] local.INFO: TCP Data received {"connection_id":142006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:03] local.INFO: Processing buffer {"connection_id":142006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:03] local.INFO: IMEI packet received {"connection_id":142006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":142006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:20:07] local.INFO: TCP Data received {"connection_id":142006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:07] local.INFO: Processing buffer {"connection_id":142006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:07] local.INFO: IMEI packet received {"connection_id":142006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":142006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:20:09] local.INFO: TCP Data received {"connection_id":142006,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9763cd00012d5b870006388520000d009b30..."} 
[2026-07-25 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9763cd00012d5b870006388520000d009b30..."} 
[2026-07-25 09:20:09] local.INFO: Processing buffer {"connection_id":142006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9763cd00012d5b870006388520000d009b30..."} 
[2026-07-25 09:20:09] local.INFO: Packet analysis {"connection_id":142006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9763"} 
[2026-07-25 09:20:09] local.INFO: Extracted packet for processing {"connection_id":142006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9763"} 
[2026-07-25 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":760973056,"raw_latitude":104367392,"longitude_deg":76.0973056,"latitude_deg":10.4367392,"altitude":13,"angle":155,"satellites":48,"speed":51,"hex_longitude":"2d5b8700","hex_latitude":"06388520","is_valid_coordinates":true} 
[2026-07-25 09:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947538176001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357353760202162176,"note":"Value kept but may cause issues"} 
[2026-07-25 09:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6590384762679183360,"note":"Value kept but may cause issues"} 
[2026-07-25 09:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784951328000,"timestamp_ms":1784951328000,"timestamp_seconds":1784951328,"priority":1,"record_length":96,"hex_timestamp":"0000019f9763cd00"} 
[2026-07-25 09:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947538176001,"66":27843,"63":206,"78":38656,"24":51,"16":357353760202162176,"45":6590384762679183360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-07-25 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947538176001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:20:09] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 09:20:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357353760202162176,"km_value":357353760202162.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6590384762679183360,"description":"Unknown IO ID 45"} 
[2026-07-25 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947538176001,"power":27843,"unknown_63":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6590384762679183360}} 
[2026-07-25 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":142006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:20:09] local.INFO: GPS data processed {"connection_id":142006,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:20:09] local.INFO: Acknowledgment sent {"connection_id":142006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:20:40] local.INFO: TCP Data received {"connection_id":142006,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9763e858012d5b940006386500000c009e2e..."} 
[2026-07-25 09:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9763e858012d5b940006386500000c009e2e..."} 
[2026-07-25 09:20:40] local.INFO: Processing buffer {"connection_id":142006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9763e858012d5b940006386500000c009e2e..."} 
[2026-07-25 09:20:40] local.INFO: Packet analysis {"connection_id":142006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9763"} 
[2026-07-25 09:20:40] local.INFO: Extracted packet for processing {"connection_id":142006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9763"} 
[2026-07-25 09:20:40] local.INFO: GPS Element Parsed {"raw_longitude":760976384,"raw_latitude":104359168,"longitude_deg":76.0976384,"latitude_deg":10.4359168,"altitude":12,"angle":158,"satellites":46,"speed":50,"hex_longitude":"2d5b9400","hex_latitude":"06386500","is_valid_coordinates":true} 
[2026-07-25 09:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947539968001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357354189698891776,"note":"Value kept but may cause issues"} 
[2026-07-25 09:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6595240206025433088,"note":"Value kept but may cause issues"} 
[2026-07-25 09:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784951335000,"timestamp_ms":1784951335000,"timestamp_seconds":1784951335,"priority":1,"record_length":96,"hex_timestamp":"0000019f9763e858"} 
[2026-07-25 09:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947539968001,"66":27821,"63":206,"78":38656,"24":50,"16":357354189698891776,"45":6595240206025433088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-07-25 09:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947539968001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:20:40] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 09:20:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357354189698891776,"km_value":357354189698891.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6595240206025433088,"description":"Unknown IO ID 45"} 
[2026-07-25 09:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947539968001,"power":27821,"unknown_63":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6595240206025433088}} 
[2026-07-25 09:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":142006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:20:40] local.INFO: GPS data processed {"connection_id":142006,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:20:40] local.INFO: Acknowledgment sent {"connection_id":142006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:20:56] local.INFO: TCP Data received {"connection_id":141007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:56] local.INFO: Processing buffer {"connection_id":141007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:20:56] local.INFO: IMEI packet received {"connection_id":141007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":141007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:21:00] local.INFO: TCP Data received {"connection_id":141007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:00] local.INFO: Processing buffer {"connection_id":141007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:00] local.INFO: IMEI packet received {"connection_id":141007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":141007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:21:01] local.INFO: TCP Data received {"connection_id":141007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:01] local.INFO: Processing buffer {"connection_id":141007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:01] local.INFO: IMEI packet received {"connection_id":141007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":141007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:21:02] local.INFO: TCP Data received {"connection_id":141007,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976403b0012d5ba140063844a0000f009e1a..."} 
[2026-07-25 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976403b0012d5ba140063844a0000f009e1a..."} 
[2026-07-25 09:21:02] local.INFO: Processing buffer {"connection_id":141007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976403b0012d5ba140063844a0000f009e1a..."} 
[2026-07-25 09:21:02] local.INFO: Packet analysis {"connection_id":141007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9764"} 
[2026-07-25 09:21:02] local.INFO: Extracted packet for processing {"connection_id":141007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9764"} 
[2026-07-25 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":760979776,"raw_latitude":104350880,"longitude_deg":76.0979776,"latitude_deg":10.435088,"altitude":15,"angle":158,"satellites":26,"speed":51,"hex_longitude":"2d5ba140","hex_latitude":"063844a0","is_valid_coordinates":true} 
[2026-07-25 09:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947541760001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357354623490588672,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6598899380720566272,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784951342000,"timestamp_ms":1784951342000,"timestamp_seconds":1784951342,"priority":1,"record_length":96,"hex_timestamp":"0000019f976403b0"} 
[2026-07-25 09:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947541760001,"66":27800,"63":206,"78":38656,"24":51,"16":357354623490588672,"45":6598899380720566272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-07-25 09:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947541760001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:21:02] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 09:21:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357354623490588672,"km_value":357354623490588.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6598899380720566272,"description":"Unknown IO ID 45"} 
[2026-07-25 09:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947541760001,"power":27800,"unknown_63":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6598899380720566272}} 
[2026-07-25 09:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":141007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:21:02] local.INFO: GPS data processed {"connection_id":141007,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:21:02] local.INFO: Acknowledgment sent {"connection_id":141007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:21:06] local.INFO: TCP Data received {"connection_id":141007,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976422f0012d5baf0006382128000b009d2b..."} 
[2026-07-25 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976422f0012d5baf0006382128000b009d2b..."} 
[2026-07-25 09:21:06] local.INFO: Processing buffer {"connection_id":141007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976422f0012d5baf0006382128000b009d2b..."} 
[2026-07-25 09:21:06] local.INFO: Packet analysis {"connection_id":141007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9764"} 
[2026-07-25 09:21:06] local.INFO: Extracted packet for processing {"connection_id":141007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9764"} 
[2026-07-25 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":760983296,"raw_latitude":104341800,"longitude_deg":76.0983296,"latitude_deg":10.43418,"altitude":11,"angle":157,"satellites":43,"speed":49,"hex_longitude":"2d5baf00","hex_latitude":"06382128","is_valid_coordinates":true} 
[2026-07-25 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947543552001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357355091642023936,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6602628924159860736,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784951350000,"timestamp_ms":1784951350000,"timestamp_seconds":1784951350,"priority":1,"record_length":96,"hex_timestamp":"0000019f976422f0"} 
[2026-07-25 09:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947543552001,"66":27821,"63":206,"78":38656,"24":49,"16":357355091642023936,"45":6602628924159860736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,78,24,16,45]} 
[2026-07-25 09:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947543552001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:21:06] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 09:21:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357355091642023936,"km_value":357355091642023.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6602628924159860736,"description":"Unknown IO ID 45"} 
[2026-07-25 09:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947543552001,"power":27821,"unknown_63":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6602628924159860736}} 
[2026-07-25 09:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":141007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:21:06] local.INFO: GPS data processed {"connection_id":141007,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:21:06] local.INFO: Acknowledgment sent {"connection_id":141007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:21:40] local.INFO: TCP Data received {"connection_id":141007,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97644230012d5bbf000637fd28000c009a2e..."} 
[2026-07-25 09:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97644230012d5bbf000637fd28000c009a2e..."} 
[2026-07-25 09:21:40] local.INFO: Processing buffer {"connection_id":141007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97644230012d5bbf000637fd28000c009a2e..."} 
[2026-07-25 09:21:40] local.INFO: Packet analysis {"connection_id":141007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9764"} 
[2026-07-25 09:21:40] local.INFO: Extracted packet for processing {"connection_id":141007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9764"} 
[2026-07-25 09:21:40] local.INFO: GPS Element Parsed {"raw_longitude":760987392,"raw_latitude":104332584,"longitude_deg":76.0987392,"latitude_deg":10.4332584,"altitude":12,"angle":154,"satellites":46,"speed":50,"hex_longitude":"2d5bbf00","hex_latitude":"0637fd28","is_valid_coordinates":true} 
[2026-07-25 09:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947545600001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357355581268295680,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6606499205087307776,"note":"Value kept but may cause issues"} 
[2026-07-25 09:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784951358000,"timestamp_ms":1784951358000,"timestamp_seconds":1784951358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97644230"} 
[2026-07-25 09:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947545600001,"66":27821,"175":206,"78":38656,"24":50,"16":357355581268295680,"45":6606499205087307776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-25 09:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947545600001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:21:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 09:21:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357355581268295680,"km_value":357355581268295.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6606499205087307776,"description":"Unknown IO ID 45"} 
[2026-07-25 09:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947545600001,"power":27821,"unknown_175":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6606499205087307776}} 
[2026-07-25 09:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":141007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:21:40] local.INFO: GPS data processed {"connection_id":141007,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:21:40] local.INFO: Acknowledgment sent {"connection_id":141007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:21:56] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:56] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:21:56] local.INFO: IMEI packet received {"connection_id":143352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":143352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:22:01] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:22:01] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:22:01] local.INFO: IMEI packet received {"connection_id":143352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":143352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:22:01] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9765b548012d5c5e800636aee0000d00992f..."} 
[2026-07-25 09:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9765b548012d5c5e800636aee0000d00992f..."} 
[2026-07-25 09:22:01] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9765b548012d5c5e800636aee0000d00992f..."} 
[2026-07-25 09:22:01] local.INFO: Packet analysis {"connection_id":143352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9765"} 
[2026-07-25 09:22:01] local.INFO: Extracted packet for processing {"connection_id":143352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9765"} 
[2026-07-25 09:22:01] local.INFO: GPS Element Parsed {"raw_longitude":761028224,"raw_latitude":104247008,"longitude_deg":76.1028224,"latitude_deg":10.4247008,"altitude":13,"angle":153,"satellites":47,"speed":41,"hex_longitude":"2d5c5e80","hex_latitude":"0636aee0","is_valid_coordinates":true} 
[2026-07-25 09:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947569408001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357360176883302400,"note":"Value kept but may cause issues"} 
[2026-07-25 09:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6651183357618112512,"note":"Value kept but may cause issues"} 
[2026-07-25 09:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784951453000,"timestamp_ms":1784951453000,"timestamp_seconds":1784951453,"priority":1,"record_length":96,"hex_timestamp":"0000019f9765b548"} 
[2026-07-25 09:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947569408001,"66":27930,"175":206,"78":38656,"24":41,"16":357360176883302400,"45":6651183357618112512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-25 09:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947569408001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:22:01] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 09:22:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357360176883302400,"km_value":357360176883302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6651183357618112512,"description":"Unknown IO ID 45"} 
[2026-07-25 09:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947569408001,"power":27930,"unknown_175":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6651183357618112512}} 
[2026-07-25 09:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":143352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:22:01] local.INFO: GPS data processed {"connection_id":143352,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:22:01] local.INFO: Acknowledgment sent {"connection_id":143352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:22:32] local.INFO: TCP Data received {"connection_id":143352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9765d870012d5c6fc006368be8000c009a2c..."} 
[2026-07-25 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9765d870012d5c6fc006368be8000c009a2c..."} 
[2026-07-25 09:22:32] local.INFO: Processing buffer {"connection_id":143352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9765d870012d5c6fc006368be8000c009a2c..."} 
[2026-07-25 09:22:32] local.INFO: Packet analysis {"connection_id":143352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9765"} 
[2026-07-25 09:22:32] local.INFO: Extracted packet for processing {"connection_id":143352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9765"} 
[2026-07-25 09:22:32] local.INFO: GPS Element Parsed {"raw_longitude":761032640,"raw_latitude":104238056,"longitude_deg":76.103264,"latitude_deg":10.4238056,"altitude":12,"angle":154,"satellites":44,"speed":46,"hex_longitude":"2d5c6fc0","hex_latitude":"06368be8","is_valid_coordinates":true} 
[2026-07-25 09:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947571968001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357360657919639552,"note":"Value kept but may cause issues"} 
[2026-07-25 09:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6655898063475761152,"note":"Value kept but may cause issues"} 
[2026-07-25 09:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784951462000,"timestamp_ms":1784951462000,"timestamp_seconds":1784951462,"priority":1,"record_length":96,"hex_timestamp":"0000019f9765d870"} 
[2026-07-25 09:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 09:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947571968001,"66":27865,"175":206,"78":38656,"24":46,"16":357360657919639552,"45":6655898063475761152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-25 09:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947571968001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:22:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 09:22:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357360657919639552,"km_value":357360657919639.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6655898063475761152,"description":"Unknown IO ID 45"} 
[2026-07-25 09:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947571968001,"power":27865,"unknown_175":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6655898063475761152}} 
[2026-07-25 09:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":143352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:22:33] local.INFO: GPS data processed {"connection_id":143352,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:22:33] local.INFO: Acknowledgment sent {"connection_id":143352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:23:06] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:23:06] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:23:06] local.INFO: IMEI packet received {"connection_id":140957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":140957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:23:10] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:23:10] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:23:10] local.INFO: IMEI packet received {"connection_id":140957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":140957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:23:11] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9765f7b0012d5c804006366978000d009a2f..."} 
[2026-07-25 09:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9765f7b0012d5c804006366978000d009a2f..."} 
[2026-07-25 09:23:11] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9765f7b0012d5c804006366978000d009a2f..."} 
[2026-07-25 09:23:11] local.INFO: Packet analysis {"connection_id":140957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9765"} 
[2026-07-25 09:23:11] local.INFO: Extracted packet for processing {"connection_id":140957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9765"} 
[2026-07-25 09:23:11] local.INFO: GPS Element Parsed {"raw_longitude":761036864,"raw_latitude":104229240,"longitude_deg":76.1036864,"latitude_deg":10.422924,"altitude":13,"angle":154,"satellites":47,"speed":50,"hex_longitude":"2d5c8040","hex_latitude":"06366978","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947574272001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357361130366042112,"note":"Value kept but may cause issues"} 
[2026-07-25 09:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6660753506821728256,"note":"Value kept but may cause issues"} 
[2026-07-25 09:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784951470000,"timestamp_ms":1784951470000,"timestamp_seconds":1784951470,"priority":1,"record_length":96,"hex_timestamp":"0000019f9765f7b0"} 
[2026-07-25 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-07-25 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-07-25 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947574272001,"66":27789,"175":206,"78":38656,"24":50,"16":357361130366042112,"45":6660753506821728256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-25 09:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947574272001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:23:11] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 09:23:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357361130366042112,"km_value":357361130366042.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6660753506821728256,"description":"Unknown IO ID 45"} 
[2026-07-25 09:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947574272001,"power":27789,"unknown_175":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6660753506821728256}} 
[2026-07-25 09:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":140957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:23:11] local.INFO: GPS data processed {"connection_id":140957,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:23:11] local.INFO: Acknowledgment sent {"connection_id":140957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:23:13] local.INFO: TCP Data received {"connection_id":140957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97661308012d5c8fc006364a10000d00992f..."} 
[2026-07-25 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97661308012d5c8fc006364a10000d00992f..."} 
[2026-07-25 09:23:13] local.INFO: Processing buffer {"connection_id":140957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97661308012d5c8fc006364a10000d00992f..."} 
[2026-07-25 09:23:13] local.INFO: Packet analysis {"connection_id":140957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9766"} 
[2026-07-25 09:23:13] local.INFO: Extracted packet for processing {"connection_id":140957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9766"} 
[2026-07-25 09:23:13] local.INFO: GPS Element Parsed {"raw_longitude":761040832,"raw_latitude":104221200,"longitude_deg":76.1040832,"latitude_deg":10.42212,"altitude":13,"angle":153,"satellites":47,"speed":51,"hex_longitude":"2d5c8fc0","hex_latitude":"06364a10","is_valid_coordinates":true} 
[2026-07-25 09:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947576320001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357361564157739008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6665397843935197184,"note":"Value kept but may cause issues"} 
[2026-07-25 09:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784951477000,"timestamp_ms":1784951477000,"timestamp_seconds":1784951477,"priority":1,"record_length":96,"hex_timestamp":"0000019f97661308"} 
[2026-07-25 09:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 09:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947576320001,"66":27789,"174":206,"78":38656,"24":51,"16":357361564157739008,"45":6665397843935197184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-07-25 09:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947576320001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:23:13] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-25 09:23:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-25 09:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357361564157739008,"km_value":357361564157739.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6665397843935197184,"description":"Unknown IO ID 45"} 
[2026-07-25 09:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947576320001,"power":27789,"unknown_174":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6665397843935197184}} 
[2026-07-25 09:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":140957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:23:13] local.INFO: GPS data processed {"connection_id":140957,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:23:13] local.INFO: Acknowledgment sent {"connection_id":140957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:24:27] local.INFO: TCP Data received {"connection_id":143353,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:27] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:27] local.INFO: IMEI packet received {"connection_id":143353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":143353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:24:31] local.INFO: TCP Data received {"connection_id":143353,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:31] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:31] local.INFO: IMEI packet received {"connection_id":143353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":143353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:24:34] local.INFO: TCP Data received {"connection_id":143353,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:34] local.INFO: Processing buffer {"connection_id":143353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:24:34] local.INFO: IMEI packet received {"connection_id":143353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":143353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:25:01] local.INFO: TCP Data received {"connection_id":141008,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:25:01] local.INFO: Processing buffer {"connection_id":141008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:25:01] local.INFO: IMEI packet received {"connection_id":141008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:30:05] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:05] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:05] local.INFO: IMEI packet received {"connection_id":141012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":141012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:30:06] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019f976ba8b8012d5f5cc0062f8b10000f009d2f..."} 
[2026-07-25 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":93,"packet_hex":"00000000000000518e010000019f976ba8b8012d5f5cc0062f8b10000f009d2f..."} 
[2026-07-25 09:30:06] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f976ba8b8012d5f5cc0062f8b10000f009d2f..."} 
[2026-07-25 09:30:06] local.INFO: Packet analysis {"connection_id":141012,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f976b"} 
[2026-07-25 09:30:06] local.INFO: Extracted packet for processing {"connection_id":141012,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f976b"} 
[2026-07-25 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":761224384,"raw_latitude":103779088,"longitude_deg":76.1224384,"latitude_deg":10.3779088,"altitude":15,"angle":157,"satellites":47,"speed":54,"hex_longitude":"2d5f5cc0","hex_latitude":"062f8b10","is_valid_coordinates":true} 
[2026-07-25 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 09:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141012,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 09:30:06] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":141012,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 09:30:06] local.ERROR: GPS data processing failed {"connection_id":141012,"error":"No valid data to process"} 
[2026-07-25 09:30:06] local.INFO: Acknowledgment sent {"connection_id":141012,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 09:30:37] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976dcb98012d5fddc0062dd2980011009c30..."} 
[2026-07-25 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976dcb98012d5fddc0062dd2980011009c30..."} 
[2026-07-25 09:30:37] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976dcb98012d5fddc0062dd2980011009c30..."} 
[2026-07-25 09:30:37] local.INFO: Packet analysis {"connection_id":141012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f976d"} 
[2026-07-25 09:30:37] local.INFO: Extracted packet for processing {"connection_id":141012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f976d"} 
[2026-07-25 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":761257408,"raw_latitude":103666328,"longitude_deg":76.1257408,"latitude_deg":10.3666328,"altitude":17,"angle":156,"satellites":48,"speed":51,"hex_longitude":"2d5fddc0","hex_latitude":"062dd298","is_valid_coordinates":true} 
[2026-07-25 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947705600001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357390795705155584,"note":"Value kept but may cause issues"} 
[2026-07-25 09:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6903455305346496512,"note":"Value kept but may cause issues"} 
[2026-07-25 09:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784951983000,"timestamp_ms":1784951983000,"timestamp_seconds":1784951983,"priority":1,"record_length":96,"hex_timestamp":"0000019f976dcb98"} 
[2026-07-25 09:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947705600001,"66":27604,"215":206,"79":20992,"24":51,"16":357390795705155584,"45":6903455305346496512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-07-25 09:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947705600001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:30:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 09:30:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357390795705155584,"km_value":357390795705155.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6903455305346496512,"description":"Unknown IO ID 45"} 
[2026-07-25 09:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947705600001,"power":27604,"unknown_215":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6903455305346496512}} 
[2026-07-25 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":141012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:30:37] local.INFO: GPS data processed {"connection_id":141012,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:30:37] local.INFO: Acknowledgment sent {"connection_id":141012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:30:56] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:56] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:56] local.INFO: IMEI packet received {"connection_id":141013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":141013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:30:57] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:57] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:30:57] local.INFO: IMEI packet received {"connection_id":141013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":141013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:31:01] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:31:01] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:31:01] local.INFO: IMEI packet received {"connection_id":141013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":141013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:31:01] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976de6f0012d5fec40062db118000f009c30..."} 
[2026-07-25 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976de6f0012d5fec40062db118000f009c30..."} 
[2026-07-25 09:31:01] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976de6f0012d5fec40062db118000f009c30..."} 
[2026-07-25 09:31:01] local.INFO: Packet analysis {"connection_id":141013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f976d"} 
[2026-07-25 09:31:01] local.INFO: Extracted packet for processing {"connection_id":141013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f976d"} 
[2026-07-25 09:31:01] local.INFO: GPS Element Parsed {"raw_longitude":761261120,"raw_latitude":103657752,"longitude_deg":76.126112,"latitude_deg":10.3657752,"altitude":15,"angle":156,"satellites":48,"speed":55,"hex_longitude":"2d5fec40","hex_latitude":"062db118","is_valid_coordinates":true} 
[2026-07-25 09:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947707648001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357391246676721664,"note":"Value kept but may cause issues"} 
[2026-07-25 09:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6907888536227321856,"note":"Value kept but may cause issues"} 
[2026-07-25 09:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784951990000,"timestamp_ms":1784951990000,"timestamp_seconds":1784951990,"priority":1,"record_length":96,"hex_timestamp":"0000019f976de6f0"} 
[2026-07-25 09:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-25 09:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947707648001,"66":27843,"215":206,"79":20992,"24":55,"16":357391246676721664,"45":6907888536227321856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-07-25 09:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947707648001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:31:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 09:31:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357391246676721664,"km_value":357391246676721.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6907888536227321856,"description":"Unknown IO ID 45"} 
[2026-07-25 09:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947707648001,"power":27843,"unknown_215":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6907888536227321856}} 
[2026-07-25 09:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":141013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:31:01] local.INFO: GPS data processed {"connection_id":141013,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:31:01] local.INFO: Acknowledgment sent {"connection_id":141013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:31:32] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976e0248012d5ffc80062d8dc0000e009c30..."} 
[2026-07-25 09:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976e0248012d5ffc80062d8dc0000e009c30..."} 
[2026-07-25 09:31:32] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976e0248012d5ffc80062d8dc0000e009c30..."} 
[2026-07-25 09:31:32] local.INFO: Packet analysis {"connection_id":141013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f976e"} 
[2026-07-25 09:31:32] local.INFO: Extracted packet for processing {"connection_id":141013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f976e"} 
[2026-07-25 09:31:32] local.INFO: GPS Element Parsed {"raw_longitude":761265280,"raw_latitude":103648704,"longitude_deg":76.126528,"latitude_deg":10.3648704,"altitude":14,"angle":156,"satellites":48,"speed":57,"hex_longitude":"2d5ffc80","hex_latitude":"062d8dc0","is_valid_coordinates":true} 
[2026-07-25 09:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947709440001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357391727713058816,"note":"Value kept but may cause issues"} 
[2026-07-25 09:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6911969923387430912,"note":"Value kept but may cause issues"} 
[2026-07-25 09:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784951997000,"timestamp_ms":1784951997000,"timestamp_seconds":1784951997,"priority":1,"record_length":96,"hex_timestamp":"0000019f976e0248"} 
[2026-07-25 09:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:31: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-07-25 09:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947709440001,"66":27919,"215":206,"79":20992,"24":57,"16":357391727713058816,"45":6911969923387430912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-07-25 09:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947709440001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:31:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 09:31:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357391727713058816,"km_value":357391727713058.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6911969923387430912,"description":"Unknown IO ID 45"} 
[2026-07-25 09:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947709440001,"power":27919,"unknown_215":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":6911969923387430912}} 
[2026-07-25 09:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":141013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:31:32] local.INFO: GPS data processed {"connection_id":141013,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:31:32] local.INFO: Acknowledgment sent {"connection_id":141013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:32:00] local.INFO: TCP Data received {"connection_id":142007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:00] local.INFO: Processing buffer {"connection_id":142007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:00] local.INFO: IMEI packet received {"connection_id":142007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":142007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:32:01] local.INFO: TCP Data received {"connection_id":142007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:01] local.INFO: Processing buffer {"connection_id":142007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:01] local.INFO: IMEI packet received {"connection_id":142007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":142007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:32:10] local.INFO: TCP Data received {"connection_id":142007,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:10] local.INFO: Processing buffer {"connection_id":142007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:10] local.INFO: IMEI packet received {"connection_id":142007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":142007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:32:12] local.INFO: TCP Data received {"connection_id":142007,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976e1da0012d600b80062d6960000c009e2f..."} 
[2026-07-25 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976e1da0012d600b80062d6960000c009e2f..."} 
[2026-07-25 09:32:12] local.INFO: Processing buffer {"connection_id":142007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976e1da0012d600b80062d6960000c009e2f..."} 
[2026-07-25 09:32:12] local.INFO: Packet analysis {"connection_id":142007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f976e"} 
[2026-07-25 09:32:12] local.INFO: Extracted packet for processing {"connection_id":142007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f976e"} 
[2026-07-25 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":761269120,"raw_latitude":103639392,"longitude_deg":76.126912,"latitude_deg":10.3639392,"altitude":12,"angle":158,"satellites":47,"speed":55,"hex_longitude":"2d600b80","hex_latitude":"062d6960","is_valid_coordinates":true} 
[2026-07-25 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947711232001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357392217339330560,"note":"Value kept but may cause issues"} 
[2026-07-25 09:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6916543891756662784,"note":"Value kept but may cause issues"} 
[2026-07-25 09:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784952004000,"timestamp_ms":1784952004000,"timestamp_seconds":1784952004,"priority":1,"record_length":96,"hex_timestamp":"0000019f976e1da0"} 
[2026-07-25 09:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947711232001,"66":27908,"99":206,"79":20992,"24":55,"16":357392217339330560,"45":6916543891756662784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-07-25 09:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947711232001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:32:12] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:32:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357392217339330560,"km_value":357392217339330.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6916543891756662784,"description":"Unknown IO ID 45"} 
[2026-07-25 09:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947711232001,"power":27908,"unknown_99":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6916543891756662784}} 
[2026-07-25 09:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":142007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:32:12] local.INFO: GPS data processed {"connection_id":142007,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:32:12] local.INFO: Acknowledgment sent {"connection_id":142007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:32:56] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:56] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:56] local.INFO: IMEI packet received {"connection_id":143355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":143355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:32:56] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:56] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:32:56] local.INFO: IMEI packet received {"connection_id":143355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":143355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:33:01] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:33:01] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:33:01] local.INFO: IMEI packet received {"connection_id":143355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":143355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:33:02] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976fac10012d60c300062b8dd8001200a930..."} 
[2026-07-25 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976fac10012d60c300062b8dd8001200a930..."} 
[2026-07-25 09:33:02] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976fac10012d60c300062b8dd8001200a930..."} 
[2026-07-25 09:33:02] local.INFO: Packet analysis {"connection_id":143355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f976f"} 
[2026-07-25 09:33:02] local.INFO: Extracted packet for processing {"connection_id":143355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f976f"} 
[2026-07-25 09:33:02] local.INFO: GPS Element Parsed {"raw_longitude":761316096,"raw_latitude":103517656,"longitude_deg":76.1316096,"latitude_deg":10.3517656,"altitude":18,"angle":169,"satellites":48,"speed":50,"hex_longitude":"2d60c300","hex_latitude":"062b8dd8","is_valid_coordinates":true} 
[2026-07-25 09:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947737088001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357398548121124864,"note":"Value kept but may cause issues"} 
[2026-07-25 09:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6970305612277299200,"note":"Value kept but may cause issues"} 
[2026-07-25 09:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784952106000,"timestamp_ms":1784952106000,"timestamp_seconds":1784952106,"priority":1,"record_length":96,"hex_timestamp":"0000019f976fac10"} 
[2026-07-25 09:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947737088001,"66":27213,"227":206,"79":20992,"24":50,"16":357398548121124864,"45":6970305612277299200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,79,24,16,45]} 
[2026-07-25 09:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947737088001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:33:02] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-25 09:33:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357398548121124864,"km_value":357398548121124.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6970305612277299200,"description":"Unknown IO ID 45"} 
[2026-07-25 09:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947737088001,"power":27213,"unknown_227":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":6970305612277299200}} 
[2026-07-25 09:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":143355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:33:02] local.INFO: GPS data processed {"connection_id":143355,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:33:02] local.INFO: Acknowledgment sent {"connection_id":143355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:33:33] local.INFO: TCP Data received {"connection_id":143355,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f976fc768012d60c9c0062b6b18001300a730..."} 
[2026-07-25 09:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f976fc768012d60c9c0062b6b18001300a730..."} 
[2026-07-25 09:33:33] local.INFO: Processing buffer {"connection_id":143355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f976fc768012d60c9c0062b6b18001300a730..."} 
[2026-07-25 09:33:33] local.INFO: Packet analysis {"connection_id":143355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f976f"} 
[2026-07-25 09:33:33] local.INFO: Extracted packet for processing {"connection_id":143355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f976f"} 
[2026-07-25 09:33:33] local.INFO: GPS Element Parsed {"raw_longitude":761317824,"raw_latitude":103508760,"longitude_deg":76.1317824,"latitude_deg":10.350876,"altitude":19,"angle":167,"satellites":48,"speed":53,"hex_longitude":"2d60c9c0","hex_latitude":"062b6b18","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947739136001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357398990502756352,"note":"Value kept but may cause issues"} 
[2026-07-25 09:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6972416674600179712,"note":"Value kept but may cause issues"} 
[2026-07-25 09:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784952113000,"timestamp_ms":1784952113000,"timestamp_seconds":1784952113,"priority":1,"record_length":96,"hex_timestamp":"0000019f976fc768"} 
[2026-07-25 09:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 09:33: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-07-25 09: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-07-25 09:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947739136001,"66":27908,"91":206,"79":20992,"24":53,"16":357398990502756352,"45":6972416674600179712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-25 09:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947739136001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:33:33] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 09:33:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357398990502756352,"km_value":357398990502756.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6972416674600179712,"description":"Unknown IO ID 45"} 
[2026-07-25 09:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947739136001,"power":27908,"unknown_91":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6972416674600179712}} 
[2026-07-25 09:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":143355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:33:33] local.INFO: GPS data processed {"connection_id":143355,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:33:33] local.INFO: Acknowledgment sent {"connection_id":143355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:33:57] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:33:57] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:33:57] local.INFO: IMEI packet received {"connection_id":143356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":143356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:34:01] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:01] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:01] local.INFO: IMEI packet received {"connection_id":143356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":143356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:34:03] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:03] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:03] local.INFO: IMEI packet received {"connection_id":143356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":143356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:34:04] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9770e0a8012d6185400629fe680009009b30..."} 
[2026-07-25 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9770e0a8012d6185400629fe680009009b30..."} 
[2026-07-25 09:34:04] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9770e0a8012d6185400629fe680009009b30..."} 
[2026-07-25 09:34:04] local.INFO: Packet analysis {"connection_id":143356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9770"} 
[2026-07-25 09:34:04] local.INFO: Extracted packet for processing {"connection_id":143356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9770"} 
[2026-07-25 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":761365824,"raw_latitude":103415400,"longitude_deg":76.1365824,"latitude_deg":10.34154,"altitude":9,"angle":155,"satellites":48,"speed":59,"hex_longitude":"2d618540","hex_latitude":"0629fe68","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947757824001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357404075744034816,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7022659957918894080,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784952185000,"timestamp_ms":1784952185000,"timestamp_seconds":1784952185,"priority":1,"record_length":96,"hex_timestamp":"0000019f9770e0a8"} 
[2026-07-25 09:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947757824001,"66":27865,"90":206,"79":20992,"24":59,"16":357404075744034816,"45":7022659957918894080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-07-25 09:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947757824001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357404075744034816,"km_value":357404075744034.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7022659957918894080,"description":"Unknown IO ID 45"} 
[2026-07-25 09:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947757824001,"power":27865,"unknown_90":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7022659957918894080}} 
[2026-07-25 09:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":143356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:34:04] local.INFO: GPS data processed {"connection_id":143356,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:34:04] local.INFO: Acknowledgment sent {"connection_id":143356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:34:44] local.INFO: TCP Data received {"connection_id":143356,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9770fc00012d6195400629da580009009c2f..."} 
[2026-07-25 09:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9770fc00012d6195400629da580009009c2f..."} 
[2026-07-25 09:34:44] local.INFO: Processing buffer {"connection_id":143356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9770fc00012d6195400629da580009009c2f..."} 
[2026-07-25 09:34:44] local.INFO: Packet analysis {"connection_id":143356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9770"} 
[2026-07-25 09:34:44] local.INFO: Extracted packet for processing {"connection_id":143356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9770"} 
[2026-07-25 09:34:44] local.INFO: GPS Element Parsed {"raw_longitude":761369920,"raw_latitude":103406168,"longitude_deg":76.136992,"latitude_deg":10.3406168,"altitude":9,"angle":156,"satellites":47,"speed":57,"hex_longitude":"2d619540","hex_latitude":"0629da58","is_valid_coordinates":true} 
[2026-07-25 09:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947759360001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357404565370306560,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7027093188800047104,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784952192000,"timestamp_ms":1784952192000,"timestamp_seconds":1784952192,"priority":1,"record_length":96,"hex_timestamp":"0000019f9770fc00"} 
[2026-07-25 09:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947759360001,"66":27843,"229":206,"79":20992,"24":57,"16":357404565370306560,"45":7027093188800047104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-25 09:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947759360001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:34:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 09:34:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357404565370306560,"km_value":357404565370306.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":7027093188800047104,"description":"Unknown IO ID 45"} 
[2026-07-25 09:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947759360001,"power":27843,"unknown_229":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":7027093188800047104}} 
[2026-07-25 09:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":143356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:34:44] local.INFO: GPS data processed {"connection_id":143356,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:34:44] local.INFO: Acknowledgment sent {"connection_id":143356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:34:56] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:56] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:56] local.INFO: IMEI packet received {"connection_id":140959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":140959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:34:58] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:58] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:34:58] local.INFO: IMEI packet received {"connection_id":140959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":140959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:34:59] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97711758012d61a4800629b540000a00a02f..."} 
[2026-07-25 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97711758012d61a4800629b540000a00a02f..."} 
[2026-07-25 09:34:59] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97711758012d61a4800629b540000a00a02f..."} 
[2026-07-25 09:34:59] local.INFO: Packet analysis {"connection_id":140959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9771"} 
[2026-07-25 09:34:59] local.INFO: Extracted packet for processing {"connection_id":140959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9771"} 
[2026-07-25 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":761373824,"raw_latitude":103396672,"longitude_deg":76.1373824,"latitude_deg":10.3396672,"altitude":10,"angle":160,"satellites":47,"speed":58,"hex_longitude":"2d61a480","hex_latitude":"0629b540","is_valid_coordinates":true} 
[2026-07-25 09:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947761152001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357405063586512896,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7031596788425054208,"note":"Value kept but may cause issues"} 
[2026-07-25 09:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784952199000,"timestamp_ms":1784952199000,"timestamp_seconds":1784952199,"priority":1,"record_length":96,"hex_timestamp":"0000019f97711758"} 
[2026-07-25 09:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:34: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-07-25 09:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947761152001,"66":27832,"229":206,"79":20992,"24":58,"16":357405063586512896,"45":7031596788425054208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-25 09:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947761152001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:34:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 09:34:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357405063586512896,"km_value":357405063586512.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7031596788425054208,"description":"Unknown IO ID 45"} 
[2026-07-25 09:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947761152001,"power":27832,"unknown_229":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":7031596788425054208}} 
[2026-07-25 09:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":140959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:34:59] local.INFO: GPS data processed {"connection_id":140959,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:34:59] local.INFO: Acknowledgment sent {"connection_id":140959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:35:31] local.INFO: TCP Data received {"connection_id":140959,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97712ec8012d61b04006299450000a00a22f..."} 
[2026-07-25 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97712ec8012d61b04006299450000a00a22f..."} 
[2026-07-25 09:35:31] local.INFO: Processing buffer {"connection_id":140959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97712ec8012d61b04006299450000a00a22f..."} 
[2026-07-25 09:35:31] local.INFO: Packet analysis {"connection_id":140959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9771"} 
[2026-07-25 09:35:31] local.INFO: Extracted packet for processing {"connection_id":140959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9771"} 
[2026-07-25 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":761376832,"raw_latitude":103388240,"longitude_deg":76.1376832,"latitude_deg":10.338824,"altitude":10,"angle":162,"satellites":47,"speed":59,"hex_longitude":"2d61b040","hex_latitude":"06299450","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947762944001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357405493083242496,"note":"Value kept but may cause issues"} 
[2026-07-25 09:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7035889281817460736,"note":"Value kept but may cause issues"} 
[2026-07-25 09:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784952205000,"timestamp_ms":1784952205000,"timestamp_seconds":1784952205,"priority":1,"record_length":96,"hex_timestamp":"0000019f97712ec8"} 
[2026-07-25 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-07-25 09:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 09:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":140959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":140959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947762944001,"66":27919,"229":206,"79":20992,"24":59,"16":357405493083242496,"45":7035889281817460736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-25 09:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947762944001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:35:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 09:35:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357405493083242496,"km_value":357405493083242.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7035889281817460736,"description":"Unknown IO ID 45"} 
[2026-07-25 09:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947762944001,"power":27919,"unknown_229":206,"unknown_79":20992,"ignition":59,"odometer":null,"unknown_45":7035889281817460736}} 
[2026-07-25 09:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":140959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:35:31] local.INFO: GPS data processed {"connection_id":140959,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:35:31] local.INFO: Acknowledgment sent {"connection_id":140959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:35:56] local.INFO: TCP Data received {"connection_id":143357,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:35:56] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:35:56] local.INFO: IMEI packet received {"connection_id":143357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":143357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:36:01] local.INFO: TCP Data received {"connection_id":143357,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:36:01] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:36:01] local.INFO: IMEI packet received {"connection_id":143357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":143357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:36:01] local.INFO: TCP Data received {"connection_id":143357,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97726f18012d625a4006281b780008009e31..."} 
[2026-07-25 09:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97726f18012d625a4006281b780008009e31..."} 
[2026-07-25 09:36:01] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97726f18012d625a4006281b780008009e31..."} 
[2026-07-25 09:36:01] local.INFO: Packet analysis {"connection_id":143357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:36:01] local.INFO: Extracted packet for processing {"connection_id":143357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:36:01] local.INFO: GPS Element Parsed {"raw_longitude":761420352,"raw_latitude":103291768,"longitude_deg":76.1420352,"latitude_deg":10.3291768,"altitude":8,"angle":158,"satellites":49,"speed":44,"hex_longitude":"2d625a40","hex_latitude":"06281b78","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947783168001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357410621274193920,"note":"Value kept but may cause issues"} 
[2026-07-25 09:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7083036340392007680,"note":"Value kept but may cause issues"} 
[2026-07-25 09:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784952287000,"timestamp_ms":1784952287000,"timestamp_seconds":1784952287,"priority":1,"record_length":96,"hex_timestamp":"0000019f97726f18"} 
[2026-07-25 09:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 09:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947783168001,"66":27865,"89":206,"79":20992,"24":44,"16":357410621274193920,"45":7083036340392007680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947783168001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:36:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:36:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357410621274193920,"km_value":357410621274193.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7083036340392007680,"description":"Unknown IO ID 45"} 
[2026-07-25 09:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947783168001,"power":27865,"unknown_89":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7083036340392007680}} 
[2026-07-25 09:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":143357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:36:01] local.INFO: GPS data processed {"connection_id":143357,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:36:01] local.INFO: Acknowledgment sent {"connection_id":143357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:36:32] local.INFO: TCP Data received {"connection_id":143357,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97728e58012d6267800627fa780008009f30..."} 
[2026-07-25 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97728e58012d6267800627fa780008009f30..."} 
[2026-07-25 09:36:32] local.INFO: Processing buffer {"connection_id":143357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97728e58012d6267800627fa780008009f30..."} 
[2026-07-25 09:36:32] local.INFO: Packet analysis {"connection_id":143357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:36:32] local.INFO: Extracted packet for processing {"connection_id":143357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":761423744,"raw_latitude":103283320,"longitude_deg":76.1423744,"latitude_deg":10.328332,"altitude":8,"angle":159,"satellites":48,"speed":44,"hex_longitude":"2d626780","hex_latitude":"0627fa78","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947785472001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357411063655825408,"note":"Value kept but may cause issues"} 
[2026-07-25 09:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7087047358807767040,"note":"Value kept but may cause issues"} 
[2026-07-25 09:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784952295000,"timestamp_ms":1784952295000,"timestamp_seconds":1784952295,"priority":1,"record_length":96,"hex_timestamp":"0000019f97728e58"} 
[2026-07-25 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-07-25 09:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947785472001,"66":27821,"89":206,"79":20992,"24":44,"16":357411063655825408,"45":7087047358807767040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947785472001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357411063655825408,"km_value":357411063655825.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7087047358807767040,"description":"Unknown IO ID 45"} 
[2026-07-25 09:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947785472001,"power":27821,"unknown_89":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7087047358807767040}} 
[2026-07-25 09:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":143357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:36:32] local.INFO: GPS data processed {"connection_id":143357,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:36:32] local.INFO: Acknowledgment sent {"connection_id":143357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:36:56] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:36:56] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:36:56] local.INFO: IMEI packet received {"connection_id":141014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":141014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:37:01] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:37:01] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:37:01] local.INFO: IMEI packet received {"connection_id":141014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":141014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:37:01] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9772b180012d6275800627d6480008009d2e..."} 
[2026-07-25 09:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9772b180012d6275800627d6480008009d2e..."} 
[2026-07-25 09:37:01] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9772b180012d6275800627d6480008009d2e..."} 
[2026-07-25 09:37:01] local.INFO: Packet analysis {"connection_id":141014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:37:01] local.INFO: Extracted packet for processing {"connection_id":141014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":761427328,"raw_latitude":103274056,"longitude_deg":76.1427328,"latitude_deg":10.3274056,"altitude":8,"angle":157,"satellites":46,"speed":42,"hex_longitude":"2d627580","hex_latitude":"0627d648","is_valid_coordinates":true} 
[2026-07-25 09:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947787520001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357411540397195264,"note":"Value kept but may cause issues"} 
[2026-07-25 09:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7090776902247020544,"note":"Value kept but may cause issues"} 
[2026-07-25 09:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784952304000,"timestamp_ms":1784952304000,"timestamp_seconds":1784952304,"priority":1,"record_length":96,"hex_timestamp":"0000019f9772b180"} 
[2026-07-25 09:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947787520001,"66":27821,"89":206,"79":20992,"24":42,"16":357411540397195264,"45":7090776902247020544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947787520001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:37:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:37:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357411540397195264,"km_value":357411540397195.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7090776902247020544,"description":"Unknown IO ID 45"} 
[2026-07-25 09:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947787520001,"power":27821,"unknown_89":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7090776902247020544}} 
[2026-07-25 09:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:37:01] local.INFO: GPS data processed {"connection_id":141014,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:37:01] local.INFO: Acknowledgment sent {"connection_id":141014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:37:33] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9772d890012d6282c00627b290000800a32b..."} 
[2026-07-25 09:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9772d890012d6282c00627b290000800a32b..."} 
[2026-07-25 09:37:33] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9772d890012d6282c00627b290000800a32b..."} 
[2026-07-25 09:37:33] local.INFO: Packet analysis {"connection_id":141014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:37:33] local.INFO: Extracted packet for processing {"connection_id":141014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":761430720,"raw_latitude":103264912,"longitude_deg":76.143072,"latitude_deg":10.3264912,"altitude":8,"angle":163,"satellites":43,"speed":36,"hex_longitude":"2d6282c0","hex_latitude":"0627b290","is_valid_coordinates":true} 
[2026-07-25 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947789824001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357412017138565120,"note":"Value kept but may cause issues"} 
[2026-07-25 09:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7094717551918598144,"note":"Value kept but may cause issues"} 
[2026-07-25 09:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784952314000,"timestamp_ms":1784952314000,"timestamp_seconds":1784952314,"priority":1,"record_length":96,"hex_timestamp":"0000019f9772d890"} 
[2026-07-25 09:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947789824001,"66":27908,"89":206,"79":20992,"24":36,"16":357412017138565120,"45":7094717551918598144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947789824001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357412017138565120,"km_value":357412017138565.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7094717551918598144,"description":"Unknown IO ID 45"} 
[2026-07-25 09:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947789824001,"power":27908,"unknown_89":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7094717551918598144}} 
[2026-07-25 09:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":141014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:37:33] local.INFO: GPS data processed {"connection_id":141014,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:37:33] local.INFO: Acknowledgment sent {"connection_id":141014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:38:01] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:01] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:01] local.INFO: IMEI packet received {"connection_id":143358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:38:06] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:06] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:06] local.INFO: IMEI packet received {"connection_id":143358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":143358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:38:08] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f9772ffa0012d628b8006279898000a00932d..."} 
[2026-07-25 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9772ffa0012d628b8006279898000a00932d..."} 
[2026-07-25 09:38:08] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9772ffa0012d628b8006279898000a00932d..."} 
[2026-07-25 09:38:08] local.INFO: Packet analysis {"connection_id":143358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:38:08] local.INFO: Extracted packet for processing {"connection_id":143358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9772"} 
[2026-07-25 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":761432960,"raw_latitude":103258264,"longitude_deg":76.143296,"latitude_deg":10.3258264,"altitude":10,"angle":147,"satellites":45,"speed":23,"hex_longitude":"2d628b80","hex_latitude":"06279898","is_valid_coordinates":true} 
[2026-07-25 09:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947792384001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357412356440981504,"note":"Value kept but may cause issues"} 
[2026-07-25 09:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7098447095357673472,"note":"Value kept but may cause issues"} 
[2026-07-25 09:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784952324000,"timestamp_ms":1784952324000,"timestamp_seconds":1784952324,"priority":1,"record_length":96,"hex_timestamp":"0000019f9772ffa0"} 
[2026-07-25 09:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947792384001,"66":27974,"89":206,"79":20992,"24":23,"16":357412356440981504,"45":7098447095357673472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947792384001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:38:08] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:38:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357412356440981504,"km_value":357412356440981.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7098447095357673472,"description":"Unknown IO ID 45"} 
[2026-07-25 09:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947792384001,"power":27974,"unknown_89":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7098447095357673472}} 
[2026-07-25 09:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":143358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:38:08] local.INFO: GPS data processed {"connection_id":143358,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:38:08] local.INFO: Acknowledgment sent {"connection_id":143358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:38:12] local.INFO: TCP Data received {"connection_id":143358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f97733650012d629cc006277818000900992f..."} 
[2026-07-25 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97733650012d629cc006277818000900992f..."} 
[2026-07-25 09:38:12] local.INFO: Processing buffer {"connection_id":143358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97733650012d629cc006277818000900992f..."} 
[2026-07-25 09:38:12] local.INFO: Packet analysis {"connection_id":143358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:38:12] local.INFO: Extracted packet for processing {"connection_id":143358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":761437376,"raw_latitude":103249944,"longitude_deg":76.1437376,"latitude_deg":10.3249944,"altitude":9,"angle":153,"satellites":47,"speed":32,"hex_longitude":"2d629cc0","hex_latitude":"06277818","is_valid_coordinates":true} 
[2026-07-25 09:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947794944001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357412811707514880,"note":"Value kept but may cause issues"} 
[2026-07-25 09:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7100910001402189824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784952338000,"timestamp_ms":1784952338000,"timestamp_seconds":1784952338,"priority":1,"record_length":96,"hex_timestamp":"0000019f97733650"} 
[2026-07-25 09:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947794944001,"66":27908,"89":206,"79":20992,"24":32,"16":357412811707514880,"45":7100910001402189824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947794944001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357412811707514880,"km_value":357412811707514.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7100910001402189824,"description":"Unknown IO ID 45"} 
[2026-07-25 09:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947794944001,"power":27908,"unknown_89":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7100910001402189824}} 
[2026-07-25 09:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":143358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:38:12] local.INFO: GPS data processed {"connection_id":143358,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:38:12] local.INFO: Acknowledgment sent {"connection_id":143358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:38:56] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:56] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:38:56] local.INFO: IMEI packet received {"connection_id":143359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":143359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:39:01] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:39:01] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:39:01] local.INFO: IMEI packet received {"connection_id":143359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":143359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:39:01] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97736148012d62ad80062755e80007009d31..."} 
[2026-07-25 09:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97736148012d62ad80062755e80007009d31..."} 
[2026-07-25 09:39:01] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97736148012d62ad80062755e80007009d31..."} 
[2026-07-25 09:39:01] local.INFO: Packet analysis {"connection_id":143359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:39:01] local.INFO: Extracted packet for processing {"connection_id":143359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:39:01] local.INFO: GPS Element Parsed {"raw_longitude":761441664,"raw_latitude":103241192,"longitude_deg":76.1441664,"latitude_deg":10.3241192,"altitude":7,"angle":157,"satellites":49,"speed":35,"hex_longitude":"2d62ad80","hex_latitude":"062755e8","is_valid_coordinates":true} 
[2026-07-25 09:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947798528001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413279858950144,"note":"Value kept but may cause issues"} 
[2026-07-25 09:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7105765444748318720,"note":"Value kept but may cause issues"} 
[2026-07-25 09:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784952349000,"timestamp_ms":1784952349000,"timestamp_seconds":1784952349,"priority":1,"record_length":96,"hex_timestamp":"0000019f97736148"} 
[2026-07-25 09:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947798528001,"66":27974,"89":206,"79":20992,"24":35,"16":357413279858950144,"45":7105765444748318720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947798528001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:39:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:39:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413279858950144,"km_value":357413279858950.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7105765444748318720,"description":"Unknown IO ID 45"} 
[2026-07-25 09:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947798528001,"power":27974,"unknown_89":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7105765444748318720}} 
[2026-07-25 09:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":143359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:39:02] local.INFO: GPS data processed {"connection_id":143359,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:39:02] local.INFO: Acknowledgment sent {"connection_id":143359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:39:34] local.INFO: TCP Data received {"connection_id":143359,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:39:34] local.INFO: Processing buffer {"connection_id":143359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:39:34] local.INFO: Packet analysis {"connection_id":143359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:39:34] local.INFO: Extracted packet for processing {"connection_id":143359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:39:34] local.INFO: GPS Element Parsed {"raw_longitude":761444544,"raw_latitude":103234720,"longitude_deg":76.1444544,"latitude_deg":10.323472,"altitude":7,"angle":154,"satellites":45,"speed":22,"hex_longitude":"2d62b8c0","hex_latitude":"06273ca0","is_valid_coordinates":true} 
[2026-07-25 09:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947801344001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7110480150605981696,"note":"Value kept but may cause issues"} 
[2026-07-25 09:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784952358000,"timestamp_ms":1784952358000,"timestamp_seconds":1784952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97738470"} 
[2026-07-25 09:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947801344001,"66":28050,"89":206,"79":20992,"24":22,"16":357413623456333824,"45":7110480150605981696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947801344001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7110480150605981696,"description":"Unknown IO ID 45"} 
[2026-07-25 09:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947801344001,"power":28050,"unknown_89":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7110480150605981696}} 
[2026-07-25 09:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":143359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:39:34] local.INFO: GPS data processed {"connection_id":143359,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:39:34] local.INFO: Acknowledgment sent {"connection_id":143359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:39:57] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:39:57] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:39:57] local.INFO: IMEI packet received {"connection_id":141015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":141015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:40:01] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:40:01] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:40:01] local.INFO: IMEI packet received {"connection_id":141015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":141015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:40:01] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:40:01] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:40:01] local.INFO: Packet analysis {"connection_id":141015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:40:01] local.INFO: Extracted packet for processing {"connection_id":141015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":761444544,"raw_latitude":103234720,"longitude_deg":76.1444544,"latitude_deg":10.323472,"altitude":7,"angle":154,"satellites":45,"speed":22,"hex_longitude":"2d62b8c0","hex_latitude":"06273ca0","is_valid_coordinates":true} 
[2026-07-25 09:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947801344001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7110480150605981696,"note":"Value kept but may cause issues"} 
[2026-07-25 09:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784952358000,"timestamp_ms":1784952358000,"timestamp_seconds":1784952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97738470"} 
[2026-07-25 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-07-25 09:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947801344001,"66":28050,"89":206,"79":20992,"24":22,"16":357413623456333824,"45":7110480150605981696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947801344001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:40:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:40:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7110480150605981696,"description":"Unknown IO ID 45"} 
[2026-07-25 09:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947801344001,"power":28050,"unknown_89":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7110480150605981696}} 
[2026-07-25 09:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":141015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:40:01] local.INFO: GPS data processed {"connection_id":141015,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:40:01] local.INFO: Acknowledgment sent {"connection_id":141015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:40:32] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:40:32] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:40:32] local.INFO: Packet analysis {"connection_id":141015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:40:32] local.INFO: Extracted packet for processing {"connection_id":141015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":761444544,"raw_latitude":103234720,"longitude_deg":76.1444544,"latitude_deg":10.323472,"altitude":7,"angle":154,"satellites":45,"speed":22,"hex_longitude":"2d62b8c0","hex_latitude":"06273ca0","is_valid_coordinates":true} 
[2026-07-25 09:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947801344001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7110480150605981696,"note":"Value kept but may cause issues"} 
[2026-07-25 09:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784952358000,"timestamp_ms":1784952358000,"timestamp_seconds":1784952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97738470"} 
[2026-07-25 09:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947801344001,"66":28050,"89":206,"79":20992,"24":22,"16":357413623456333824,"45":7110480150605981696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947801344001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7110480150605981696,"description":"Unknown IO ID 45"} 
[2026-07-25 09:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947801344001,"power":28050,"unknown_89":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7110480150605981696}} 
[2026-07-25 09:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":141015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:40:32] local.INFO: GPS data processed {"connection_id":141015,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:40:32] local.INFO: Acknowledgment sent {"connection_id":141015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:41:01] local.INFO: TCP Data received {"connection_id":142008,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:01] local.INFO: Processing buffer {"connection_id":142008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:01] local.INFO: IMEI packet received {"connection_id":142008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":142008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:41:06] local.INFO: TCP Data received {"connection_id":142008,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:06] local.INFO: Processing buffer {"connection_id":142008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:06] local.INFO: IMEI packet received {"connection_id":142008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":142008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:41:08] local.INFO: TCP Data received {"connection_id":142008,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:41:08] local.INFO: Processing buffer {"connection_id":142008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97738470012d62b8c006273ca00007009a2d..."} 
[2026-07-25 09:41:08] local.INFO: Packet analysis {"connection_id":142008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:41:08] local.INFO: Extracted packet for processing {"connection_id":142008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9773"} 
[2026-07-25 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":761444544,"raw_latitude":103234720,"longitude_deg":76.1444544,"latitude_deg":10.323472,"altitude":7,"angle":154,"satellites":45,"speed":22,"hex_longitude":"2d62b8c0","hex_latitude":"06273ca0","is_valid_coordinates":true} 
[2026-07-25 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947801344001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7110480150605981696,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784952358000,"timestamp_ms":1784952358000,"timestamp_seconds":1784952358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97738470"} 
[2026-07-25 09:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947801344001,"66":28050,"89":206,"79":20992,"24":22,"16":357413623456333824,"45":7110480150605981696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947801344001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:41:08] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:41:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7110480150605981696,"description":"Unknown IO ID 45"} 
[2026-07-25 09:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947801344001,"power":28050,"unknown_89":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7110480150605981696}} 
[2026-07-25 09:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":142008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:41:08] local.INFO: GPS data processed {"connection_id":142008,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:41:08] local.INFO: Acknowledgment sent {"connection_id":142008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:41:09] local.INFO: TCP Data received {"connection_id":142008,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9777aaf0012d62cb80062718b80008009530..."} 
[2026-07-25 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9777aaf0012d62cb80062718b80008009530..."} 
[2026-07-25 09:41:09] local.INFO: Processing buffer {"connection_id":142008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9777aaf0012d62cb80062718b80008009530..."} 
[2026-07-25 09:41:09] local.INFO: Packet analysis {"connection_id":142008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9777"} 
[2026-07-25 09:41:09] local.INFO: Extracted packet for processing {"connection_id":142008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9777"} 
[2026-07-25 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":761449344,"raw_latitude":103225528,"longitude_deg":76.1449344,"latitude_deg":10.3225528,"altitude":8,"angle":149,"satellites":48,"speed":0,"hex_longitude":"2d62cb80","hex_latitude":"062718b8","is_valid_coordinates":true} 
[2026-07-25 09:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947803648001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7113646744092319744,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784952630000,"timestamp_ms":1784952630000,"timestamp_seconds":1784952630,"priority":1,"record_length":96,"hex_timestamp":"0000019f9777aaf0"} 
[2026-07-25 09:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 09:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 09:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947803648001,"66":26452,"89":206,"79":20992,"24":0,"16":357413623456333824,"45":7113646744092319744},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947803648001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:41:09] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:41:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7113646744092319744,"description":"Unknown IO ID 45"} 
[2026-07-25 09:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947803648001,"power":26452,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7113646744092319744}} 
[2026-07-25 09:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":142008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:41:09] local.INFO: GPS data processed {"connection_id":142008,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:41:09] local.INFO: Acknowledgment sent {"connection_id":142008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:41:40] local.INFO: TCP Data received {"connection_id":142008,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9777ba90012d62ce4006271310000800b02e..."} 
[2026-07-25 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9777ba90012d62ce4006271310000800b02e..."} 
[2026-07-25 09:41:40] local.INFO: Processing buffer {"connection_id":142008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9777ba90012d62ce4006271310000800b02e..."} 
[2026-07-25 09:41:40] local.INFO: Packet analysis {"connection_id":142008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9777"} 
[2026-07-25 09:41:40] local.INFO: Extracted packet for processing {"connection_id":142008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9777"} 
[2026-07-25 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":761450048,"raw_latitude":103224080,"longitude_deg":76.1450048,"latitude_deg":10.322408,"altitude":8,"angle":176,"satellites":46,"speed":0,"hex_longitude":"2d62ce40","hex_latitude":"06271310","is_valid_coordinates":true} 
[2026-07-25 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947873280001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7118924399903291392,"note":"Value kept but may cause issues"} 
[2026-07-25 09:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784952634000,"timestamp_ms":1784952634000,"timestamp_seconds":1784952634,"priority":1,"record_length":96,"hex_timestamp":"0000019f9777ba90"} 
[2026-07-25 09:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-25 09:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947873280001,"66":26310,"89":206,"79":20992,"24":0,"16":357413623456333824,"45":7118924399903291392},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947873280001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:41:40] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:41:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7118924399903291392,"description":"Unknown IO ID 45"} 
[2026-07-25 09:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947873280001,"power":26310,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7118924399903291392}} 
[2026-07-25 09:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":142008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:41:40] local.INFO: GPS data processed {"connection_id":142008,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:41:40] local.INFO: Acknowledgment sent {"connection_id":142008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:41:57] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:57] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:41:57] local.INFO: IMEI packet received {"connection_id":140960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":140960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:42:01] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:01] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:01] local.INFO: IMEI packet received {"connection_id":140960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":140960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:42:03] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97780c98012d62ce4006271310000800b030..."} 
[2026-07-25 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97780c98012d62ce4006271310000800b030..."} 
[2026-07-25 09:42:03] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97780c98012d62ce4006271310000800b030..."} 
[2026-07-25 09:42:03] local.INFO: Packet analysis {"connection_id":140960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:42:03] local.INFO: Extracted packet for processing {"connection_id":140960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":761450048,"raw_latitude":103224080,"longitude_deg":76.1450048,"latitude_deg":10.322408,"altitude":8,"angle":176,"satellites":48,"speed":0,"hex_longitude":"2d62ce40","hex_latitude":"06271310","is_valid_coordinates":true} 
[2026-07-25 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947874304001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119698456088875008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784952655000,"timestamp_ms":1784952655000,"timestamp_seconds":1784952655,"priority":1,"record_length":96,"hex_timestamp":"0000019f97780c98"} 
[2026-07-25 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 09:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947874304001,"66":27800,"89":206,"79":20992,"24":0,"16":357413623456333824,"45":7119698456088875008},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947874304001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119698456088875008,"description":"Unknown IO ID 45"} 
[2026-07-25 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947874304001,"power":27800,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7119698456088875008}} 
[2026-07-25 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":140960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:42:03] local.INFO: GPS data processed {"connection_id":140960,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:42:03] local.INFO: Acknowledgment sent {"connection_id":140960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:42:35] local.INFO: TCP Data received {"connection_id":140960,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97785ea0012d62ce4006271310000800b02c..."} 
[2026-07-25 09:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97785ea0012d62ce4006271310000800b02c..."} 
[2026-07-25 09:42:35] local.INFO: Processing buffer {"connection_id":140960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97785ea0012d62ce4006271310000800b02c..."} 
[2026-07-25 09:42:35] local.INFO: Packet analysis {"connection_id":140960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:42:35] local.INFO: Extracted packet for processing {"connection_id":140960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":761450048,"raw_latitude":103224080,"longitude_deg":76.1450048,"latitude_deg":10.322408,"altitude":8,"angle":176,"satellites":44,"speed":0,"hex_longitude":"2d62ce40","hex_latitude":"06271310","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947879680001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413623456333824,"note":"Value kept but may cause issues"} 
[2026-07-25 09:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119698456088875008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784952676000,"timestamp_ms":1784952676000,"timestamp_seconds":1784952676,"priority":1,"record_length":96,"hex_timestamp":"0000019f97785ea0"} 
[2026-07-25 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-07-25 09:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 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-07-25 09:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947879680001,"66":27821,"89":206,"79":20992,"24":0,"16":357413623456333824,"45":7119698456088875008},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947879680001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:42:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:42:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413623456333824,"km_value":357413623456333.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119698456088875008,"description":"Unknown IO ID 45"} 
[2026-07-25 09:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947879680001,"power":27821,"unknown_89":206,"unknown_79":20992,"ignition":0,"odometer":null,"unknown_45":7119698456088875008}} 
[2026-07-25 09:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":140960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:42:35] local.INFO: GPS data processed {"connection_id":140960,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:42:35] local.INFO: Acknowledgment sent {"connection_id":140960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:42:56] local.INFO: TCP Data received {"connection_id":142009,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:56] local.INFO: Processing buffer {"connection_id":142009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:56] local.INFO: IMEI packet received {"connection_id":142009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":142009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:42:59] local.INFO: TCP Data received {"connection_id":142009,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:59] local.INFO: Processing buffer {"connection_id":142009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:42:59] local.INFO: IMEI packet received {"connection_id":142009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":142009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:43:01] local.INFO: TCP Data received {"connection_id":142009,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:43:01] local.INFO: Processing buffer {"connection_id":142009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:43:01] local.INFO: IMEI packet received {"connection_id":142009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":142009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:43:02] local.INFO: TCP Data received {"connection_id":142009,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977885b0012d62cdc006271188000d00cf2e..."} 
[2026-07-25 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977885b0012d62cdc006271188000d00cf2e..."} 
[2026-07-25 09:43:02] local.INFO: Processing buffer {"connection_id":142009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977885b0012d62cdc006271188000d00cf2e..."} 
[2026-07-25 09:43:02] local.INFO: Packet analysis {"connection_id":142009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:43:02] local.INFO: Extracted packet for processing {"connection_id":142009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":761449920,"raw_latitude":103223688,"longitude_deg":76.144992,"latitude_deg":10.3223688,"altitude":13,"angle":207,"satellites":46,"speed":1,"hex_longitude":"2d62cdc0","hex_latitude":"06271188","is_valid_coordinates":true} 
[2026-07-25 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947885056001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413644931170304,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119698456088875008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784952686000,"timestamp_ms":1784952686000,"timestamp_seconds":1784952686,"priority":1,"record_length":96,"hex_timestamp":"0000019f977885b0"} 
[2026-07-25 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947885056001,"66":27908,"89":206,"79":20992,"24":1,"16":357413644931170304,"45":7119698456088875008},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947885056001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:43:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:43:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413644931170304,"km_value":357413644931170.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119698456088875008,"description":"Unknown IO ID 45"} 
[2026-07-25 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947885056001,"power":27908,"unknown_89":206,"unknown_79":20992,"ignition":1,"odometer":null,"unknown_45":7119698456088875008}} 
[2026-07-25 09:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":142009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:43:02] local.INFO: GPS data processed {"connection_id":142009,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:43:02] local.INFO: Acknowledgment sent {"connection_id":142009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:43:06] local.INFO: TCP Data received {"connection_id":142009,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97788d80012d62cd4006271068000d00b02f..."} 
[2026-07-25 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97788d80012d62cd4006271068000d00b02f..."} 
[2026-07-25 09:43:06] local.INFO: Processing buffer {"connection_id":142009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97788d80012d62cd4006271068000d00b02f..."} 
[2026-07-25 09:43:06] local.INFO: Packet analysis {"connection_id":142009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:43:06] local.INFO: Extracted packet for processing {"connection_id":142009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":761449792,"raw_latitude":103223400,"longitude_deg":76.1449792,"latitude_deg":10.32234,"altitude":13,"angle":176,"satellites":47,"speed":7,"hex_longitude":"2d62cd40","hex_latitude":"06271068","is_valid_coordinates":true} 
[2026-07-25 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947887616001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413662111039488,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119557718600419328,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784952688000,"timestamp_ms":1784952688000,"timestamp_seconds":1784952688,"priority":1,"record_length":96,"hex_timestamp":"0000019f97788d80"} 
[2026-07-25 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947887616001,"66":27691,"89":206,"79":20992,"24":7,"16":357413662111039488,"45":7119557718600419328},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947887616001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413662111039488,"km_value":357413662111039.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119557718600419328,"description":"Unknown IO ID 45"} 
[2026-07-25 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947887616001,"power":27691,"unknown_89":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7119557718600419328}} 
[2026-07-25 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":142009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:43:06] local.INFO: GPS data processed {"connection_id":142009,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:43:06] local.INFO: Acknowledgment sent {"connection_id":142009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:43:36] local.INFO: TCP Data received {"connection_id":142009,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97789550012d62cdc006270e58000c00a430..."} 
[2026-07-25 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97789550012d62cdc006270e58000c00a430..."} 
[2026-07-25 09:43:36] local.INFO: Processing buffer {"connection_id":142009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97789550012d62cdc006270e58000c00a430..."} 
[2026-07-25 09:43:36] local.INFO: Packet analysis {"connection_id":142009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:43:36] local.INFO: Extracted packet for processing {"connection_id":142009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:43:36] local.INFO: GPS Element Parsed {"raw_longitude":761449920,"raw_latitude":103222872,"longitude_deg":76.144992,"latitude_deg":10.3222872,"altitude":12,"angle":164,"satellites":48,"speed":12,"hex_longitude":"2d62cdc0","hex_latitude":"06270e58","is_valid_coordinates":true} 
[2026-07-25 09:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947888128001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413687880843264,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119416981111990272,"note":"Value kept but may cause issues"} 
[2026-07-25 09:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784952690000,"timestamp_ms":1784952690000,"timestamp_seconds":1784952690,"priority":1,"record_length":96,"hex_timestamp":"0000019f97789550"} 
[2026-07-25 09:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-25 09:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947888128001,"66":27604,"89":206,"79":20992,"24":12,"16":357413687880843264,"45":7119416981111990272},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947888128001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:43:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:43:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413687880843264,"km_value":357413687880843.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119416981111990272,"description":"Unknown IO ID 45"} 
[2026-07-25 09:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947888128001,"power":27604,"unknown_89":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7119416981111990272}} 
[2026-07-25 09:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":142009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:43:36] local.INFO: GPS data processed {"connection_id":142009,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:43:36] local.INFO: Acknowledgment sent {"connection_id":142009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:43:59] local.INFO: TCP Data received {"connection_id":143360,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:43:59] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:43:59] local.INFO: IMEI packet received {"connection_id":143360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":143360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:44:01] local.INFO: TCP Data received {"connection_id":143360,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:01] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:01] local.INFO: IMEI packet received {"connection_id":143360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":143360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:44:06] local.INFO: TCP Data received {"connection_id":143360,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:06] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:06] local.INFO: IMEI packet received {"connection_id":143360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":143360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:44:07] local.INFO: TCP Data received {"connection_id":143360,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9778b878012d62cfc006270358000c00af2f..."} 
[2026-07-25 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9778b878012d62cfc006270358000c00af2f..."} 
[2026-07-25 09:44:07] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9778b878012d62cfc006270358000c00af2f..."} 
[2026-07-25 09:44:07] local.INFO: Packet analysis {"connection_id":143360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:44:07] local.INFO: Extracted packet for processing {"connection_id":143360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9778"} 
[2026-07-25 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":761450432,"raw_latitude":103220056,"longitude_deg":76.1450432,"latitude_deg":10.3220056,"altitude":12,"angle":175,"satellites":47,"speed":13,"hex_longitude":"2d62cfc0","hex_latitude":"06270358","is_valid_coordinates":true} 
[2026-07-25 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947888640001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357413825319796736,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7119557718600210432,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784952699000,"timestamp_ms":1784952699000,"timestamp_seconds":1784952699,"priority":1,"record_length":96,"hex_timestamp":"0000019f9778b878"} 
[2026-07-25 09:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-25 09:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947888640001,"66":27908,"89":206,"79":20992,"24":13,"16":357413825319796736,"45":7119557718600210432},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947888640001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357413825319796736,"km_value":357413825319796.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7119557718600210432,"description":"Unknown IO ID 45"} 
[2026-07-25 09:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947888640001,"power":27908,"unknown_89":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7119557718600210432}} 
[2026-07-25 09:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":143360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:44:07] local.INFO: GPS data processed {"connection_id":143360,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:44:07] local.INFO: Acknowledgment sent {"connection_id":143360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:44:08] local.INFO: TCP Data received {"connection_id":143360,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97790a80012d62d3400626e588000a00ab2f..."} 
[2026-07-25 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97790a80012d62d3400626e588000a00ab2f..."} 
[2026-07-25 09:44:08] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97790a80012d62d3400626e588000a00ab2f..."} 
[2026-07-25 09:44:08] local.INFO: Packet analysis {"connection_id":143360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9779"} 
[2026-07-25 09:44:08] local.INFO: Extracted packet for processing {"connection_id":143360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9779"} 
[2026-07-25 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":761451328,"raw_latitude":103212424,"longitude_deg":76.1451328,"latitude_deg":10.3212424,"altitude":10,"angle":171,"satellites":47,"speed":19,"hex_longitude":"2d62d340","hex_latitude":"0626e588","is_valid_coordinates":true} 
[2026-07-25 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947890944001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357414198981951488,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7120120668552910848,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784952720000,"timestamp_ms":1784952720000,"timestamp_seconds":1784952720,"priority":1,"record_length":96,"hex_timestamp":"0000019f97790a80"} 
[2026-07-25 09:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947890944001,"66":27865,"89":206,"79":20992,"24":19,"16":357414198981951488,"45":7120120668552910848},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,79,24,16,45]} 
[2026-07-25 09:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947890944001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:44:08] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-25 09:44:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357414198981951488,"km_value":357414198981951.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7120120668552910848,"description":"Unknown IO ID 45"} 
[2026-07-25 09:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947890944001,"power":27865,"unknown_89":206,"unknown_79":20992,"ignition":19,"odometer":null,"unknown_45":7120120668552910848}} 
[2026-07-25 09:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":143360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:44:08] local.INFO: GPS data processed {"connection_id":143360,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:44:08] local.INFO: Acknowledgment sent {"connection_id":143360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:44:40] local.INFO: TCP Data received {"connection_id":143360,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977a9508012d637100062701080008003a2d..."} 
[2026-07-25 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977a9508012d637100062701080008003a2d..."} 
[2026-07-25 09:44:40] local.INFO: Processing buffer {"connection_id":143360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977a9508012d637100062701080008003a2d..."} 
[2026-07-25 09:44:40] local.INFO: Packet analysis {"connection_id":143360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977a"} 
[2026-07-25 09:44:40] local.INFO: Extracted packet for processing {"connection_id":143360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977a"} 
[2026-07-25 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":761491712,"raw_latitude":103219464,"longitude_deg":76.1491712,"latitude_deg":10.3219464,"altitude":8,"angle":58,"satellites":45,"speed":33,"hex_longitude":"2d637100","hex_latitude":"06270108","is_valid_coordinates":true} 
[2026-07-25 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947921152001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357416728717688832,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7162130808826474496,"note":"Value kept but may cause issues"} 
[2026-07-25 09:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784952821000,"timestamp_ms":1784952821000,"timestamp_seconds":1784952821,"priority":1,"record_length":96,"hex_timestamp":"0000019f977a9508"} 
[2026-07-25 09:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947921152001,"66":27865,"87":206,"79":20992,"24":33,"16":357416728717688832,"45":7162130808826474496},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-07-25 09:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947921152001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:44:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-25 09:44:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357416728717688832,"km_value":357416728717688.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7162130808826474496,"description":"Unknown IO ID 45"} 
[2026-07-25 09:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947921152001,"power":27865,"unknown_87":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7162130808826474496}} 
[2026-07-25 09:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":143360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:44:40] local.INFO: GPS data processed {"connection_id":143360,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:44:40] local.INFO: Acknowledgment sent {"connection_id":143360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:44:56] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:56] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:44:56] local.INFO: IMEI packet received {"connection_id":140961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":140961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:45:01] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:01] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:01] local.INFO: IMEI packet received {"connection_id":140961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":140961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:45:03] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977ac000012d639140062712e8000800412b..."} 
[2026-07-25 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977ac000012d639140062712e8000800412b..."} 
[2026-07-25 09:45:03] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977ac000012d639140062712e8000800412b..."} 
[2026-07-25 09:45:03] local.INFO: Packet analysis {"connection_id":140961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977a"} 
[2026-07-25 09:45:03] local.INFO: Extracted packet for processing {"connection_id":140961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977a"} 
[2026-07-25 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":761499968,"raw_latitude":103224040,"longitude_deg":76.1499968,"latitude_deg":10.322404,"altitude":8,"angle":65,"satellites":43,"speed":28,"hex_longitude":"2d639140","hex_latitude":"062712e8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947922176001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357417179689254912,"note":"Value kept but may cause issues"} 
[2026-07-25 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7165508508547352576,"note":"Value kept but may cause issues"} 
[2026-07-25 09:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784952832000,"timestamp_ms":1784952832000,"timestamp_seconds":1784952832,"priority":1,"record_length":96,"hex_timestamp":"0000019f977ac000"} 
[2026-07-25 09:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:45: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-07-25 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947922176001,"66":27995,"87":206,"79":20992,"24":28,"16":357417179689254912,"45":7165508508547352576},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-07-25 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947922176001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357417179689254912,"km_value":357417179689254.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7165508508547352576,"description":"Unknown IO ID 45"} 
[2026-07-25 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947922176001,"power":27995,"unknown_87":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7165508508547352576}} 
[2026-07-25 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":140961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:45:03] local.INFO: GPS data processed {"connection_id":140961,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:45:03] local.INFO: Acknowledgment sent {"connection_id":140961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:45:34] local.INFO: TCP Data received {"connection_id":140961,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977b96d8012d63e840062768200008002e2c..."} 
[2026-07-25 09:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977b96d8012d63e840062768200008002e2c..."} 
[2026-07-25 09:45:34] local.INFO: Processing buffer {"connection_id":140961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977b96d8012d63e840062768200008002e2c..."} 
[2026-07-25 09:45:34] local.INFO: Packet analysis {"connection_id":140961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977b"} 
[2026-07-25 09:45:34] local.INFO: Extracted packet for processing {"connection_id":140961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977b"} 
[2026-07-25 09:45:34] local.INFO: GPS Element Parsed {"raw_longitude":761522240,"raw_latitude":103245856,"longitude_deg":76.152224,"latitude_deg":10.3245856,"altitude":8,"angle":46,"satellites":44,"speed":21,"hex_longitude":"2d63e840","hex_latitude":"06276820","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947937792001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357418798891925504,"note":"Value kept but may cause issues"} 
[2026-07-25 09:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196963337201149952,"note":"Value kept but may cause issues"} 
[2026-07-25 09:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784952887000,"timestamp_ms":1784952887000,"timestamp_seconds":1784952887,"priority":1,"record_length":96,"hex_timestamp":"0000019f977b96d8"} 
[2026-07-25 09:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947937792001,"66":27919,"99":206,"79":20992,"24":21,"16":357418798891925504,"45":7196963337201149952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-07-25 09:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947937792001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:45:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:45:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357418798891925504,"km_value":357418798891925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196963337201149952,"description":"Unknown IO ID 45"} 
[2026-07-25 09:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947937792001,"power":27919,"unknown_99":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7196963337201149952}} 
[2026-07-25 09:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":140961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:45:34] local.INFO: GPS data processed {"connection_id":140961,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:45:34] local.INFO: Acknowledgment sent {"connection_id":140961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:45:56] local.INFO: TCP Data received {"connection_id":142010,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:56] local.INFO: Processing buffer {"connection_id":142010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:56] local.INFO: IMEI packet received {"connection_id":142010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":142010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:45:57] local.INFO: TCP Data received {"connection_id":142010,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:57] local.INFO: Processing buffer {"connection_id":142010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:45:57] local.INFO: IMEI packet received {"connection_id":142010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":142010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:46:01] local.INFO: TCP Data received {"connection_id":142010,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:01] local.INFO: Processing buffer {"connection_id":142010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:01] local.INFO: IMEI packet received {"connection_id":142010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":142010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:46:03] local.INFO: TCP Data received {"connection_id":142010,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977ba678012d63ef4006276de0000800412c..."} 
[2026-07-25 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977ba678012d63ef4006276de0000800412c..."} 
[2026-07-25 09:46:03] local.INFO: Processing buffer {"connection_id":142010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977ba678012d63ef4006276de0000800412c..."} 
[2026-07-25 09:46:03] local.INFO: Packet analysis {"connection_id":142010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977b"} 
[2026-07-25 09:46:03] local.INFO: Extracted packet for processing {"connection_id":142010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977b"} 
[2026-07-25 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":761524032,"raw_latitude":103247328,"longitude_deg":76.1524032,"latitude_deg":10.3247328,"altitude":8,"angle":65,"satellites":44,"speed":25,"hex_longitude":"2d63ef40","hex_latitude":"06276de0","is_valid_coordinates":true} 
[2026-07-25 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947939072001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357418910561075200,"note":"Value kept but may cause issues"} 
[2026-07-25 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7199074399526854656,"note":"Value kept but may cause issues"} 
[2026-07-25 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784952891000,"timestamp_ms":1784952891000,"timestamp_seconds":1784952891,"priority":1,"record_length":96,"hex_timestamp":"0000019f977ba678"} 
[2026-07-25 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947939072001,"66":27821,"99":206,"79":20992,"24":25,"16":357418910561075200,"45":7199074399526854656},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-07-25 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947939072001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:46:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:46:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357418910561075200,"km_value":357418910561075.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7199074399526854656,"description":"Unknown IO ID 45"} 
[2026-07-25 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947939072001,"power":27821,"unknown_99":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7199074399526854656}} 
[2026-07-25 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":142010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:46:03] local.INFO: GPS data processed {"connection_id":142010,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:46:03] local.INFO: Acknowledgment sent {"connection_id":142010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:46:34] local.INFO: TCP Data received {"connection_id":142010,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977bae48012d63f48006276f700008004d2e..."} 
[2026-07-25 09:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977bae48012d63f48006276f700008004d2e..."} 
[2026-07-25 09:46:34] local.INFO: Processing buffer {"connection_id":142010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977bae48012d63f48006276f700008004d2e..."} 
[2026-07-25 09:46:34] local.INFO: Packet analysis {"connection_id":142010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977b"} 
[2026-07-25 09:46:34] local.INFO: Extracted packet for processing {"connection_id":142010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977b"} 
[2026-07-25 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":761525376,"raw_latitude":103247728,"longitude_deg":76.1525376,"latitude_deg":10.3247728,"altitude":8,"angle":77,"satellites":46,"speed":26,"hex_longitude":"2d63f480","hex_latitude":"06276f70","is_valid_coordinates":true} 
[2026-07-25 09:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947940096001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357418974985584640,"note":"Value kept but may cause issues"} 
[2026-07-25 09:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7201044724364206080,"note":"Value kept but may cause issues"} 
[2026-07-25 09:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784952893000,"timestamp_ms":1784952893000,"timestamp_seconds":1784952893,"priority":1,"record_length":96,"hex_timestamp":"0000019f977bae48"} 
[2026-07-25 09:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 09:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947940096001,"66":27865,"99":206,"79":20992,"24":26,"16":357418974985584640,"45":7201044724364206080},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-07-25 09:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947940096001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357418974985584640,"km_value":357418974985584.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7201044724364206080,"description":"Unknown IO ID 45"} 
[2026-07-25 09:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947940096001,"power":27865,"unknown_99":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7201044724364206080}} 
[2026-07-25 09:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":142010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:46:34] local.INFO: GPS data processed {"connection_id":142010,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:46:34] local.INFO: Acknowledgment sent {"connection_id":142010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:46:56] local.INFO: TCP Data received {"connection_id":143361,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:56] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:56] local.INFO: IMEI packet received {"connection_id":143361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":143361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:46:57] local.INFO: TCP Data received {"connection_id":143361,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:57] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:46:57] local.INFO: IMEI packet received {"connection_id":143361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":143361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:47:00] local.INFO: TCP Data received {"connection_id":143361,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:47:00] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:47:00] local.INFO: IMEI packet received {"connection_id":143361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":143361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:47:01] local.INFO: TCP Data received {"connection_id":143361,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977cc788012d64ed400627b678000400082c..."} 
[2026-07-25 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977cc788012d64ed400627b678000400082c..."} 
[2026-07-25 09:47:01] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977cc788012d64ed400627b678000400082c..."} 
[2026-07-25 09:47:01] local.INFO: Packet analysis {"connection_id":143361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977c"} 
[2026-07-25 09:47:01] local.INFO: Extracted packet for processing {"connection_id":143361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977c"} 
[2026-07-25 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":761589056,"raw_latitude":103265912,"longitude_deg":76.1589056,"latitude_deg":10.3265912,"altitude":4,"angle":8,"satellites":44,"speed":44,"hex_longitude":"2d64ed40","hex_latitude":"0627b678","is_valid_coordinates":true} 
[2026-07-25 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947958272001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357422350829879296,"note":"Value kept but may cause issues"} 
[2026-07-25 09:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7271554206034153472,"note":"Value kept but may cause issues"} 
[2026-07-25 09:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784952965000,"timestamp_ms":1784952965000,"timestamp_seconds":1784952965,"priority":1,"record_length":96,"hex_timestamp":"0000019f977cc788"} 
[2026-07-25 09:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947958272001,"66":27919,"97":206,"79":20992,"24":44,"16":357422350829879296,"45":7271554206034153472},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-25 09:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947958272001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:47:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 09:47:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357422350829879296,"km_value":357422350829879.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7271554206034153472,"description":"Unknown IO ID 45"} 
[2026-07-25 09:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947958272001,"power":27919,"unknown_97":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7271554206034153472}} 
[2026-07-25 09:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":143361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:47:01] local.INFO: GPS data processed {"connection_id":143361,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:47:01] local.INFO: Acknowledgment sent {"connection_id":143361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:47:36] local.INFO: TCP Data received {"connection_id":143361,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977ce6c8012d64eec00627d9e80003016528..."} 
[2026-07-25 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977ce6c8012d64eec00627d9e80003016528..."} 
[2026-07-25 09:47:36] local.INFO: Processing buffer {"connection_id":143361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977ce6c8012d64eec00627d9e80003016528..."} 
[2026-07-25 09:47:36] local.INFO: Packet analysis {"connection_id":143361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977c"} 
[2026-07-25 09:47:36] local.INFO: Extracted packet for processing {"connection_id":143361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977c"} 
[2026-07-25 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":761589440,"raw_latitude":103274984,"longitude_deg":76.158944,"latitude_deg":10.3274984,"altitude":3,"angle":357,"satellites":40,"speed":46,"hex_longitude":"2d64eec0","hex_latitude":"0627d9e8","is_valid_coordinates":true} 
[2026-07-25 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947959040001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357422793211510784,"note":"Value kept but may cause issues"} 
[2026-07-25 09:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7272539368453470208,"note":"Value kept but may cause issues"} 
[2026-07-25 09:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784952973000,"timestamp_ms":1784952973000,"timestamp_seconds":1784952973,"priority":1,"record_length":96,"hex_timestamp":"0000019f977ce6c8"} 
[2026-07-25 09:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947959040001,"66":27887,"97":206,"79":20992,"24":46,"16":357422793211510784,"45":7272539368453470208},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-25 09:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947959040001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 09:47:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357422793211510784,"km_value":357422793211510.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7272539368453470208,"description":"Unknown IO ID 45"} 
[2026-07-25 09:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947959040001,"power":27887,"unknown_97":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7272539368453470208}} 
[2026-07-25 09:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":143361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:47:36] local.INFO: GPS data processed {"connection_id":143361,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:47:36] local.INFO: Acknowledgment sent {"connection_id":143361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:47:59] local.INFO: TCP Data received {"connection_id":142011,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:47:59] local.INFO: Processing buffer {"connection_id":142011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:47:59] local.INFO: IMEI packet received {"connection_id":142011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":142011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:48:01] local.INFO: TCP Data received {"connection_id":142011,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:01] local.INFO: Processing buffer {"connection_id":142011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:01] local.INFO: IMEI packet received {"connection_id":142011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":142011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:48:10] local.INFO: TCP Data received {"connection_id":142011,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:10] local.INFO: Processing buffer {"connection_id":142011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:10] local.INFO: IMEI packet received {"connection_id":142011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":142011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:48:11] local.INFO: TCP Data received {"connection_id":142011,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977db1e8012d659780062827800004004d2e..."} 
[2026-07-25 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977db1e8012d659780062827800004004d2e..."} 
[2026-07-25 09:48:11] local.INFO: Processing buffer {"connection_id":142011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977db1e8012d659780062827800004004d2e..."} 
[2026-07-25 09:48:11] local.INFO: Packet analysis {"connection_id":142011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977d"} 
[2026-07-25 09:48:11] local.INFO: Extracted packet for processing {"connection_id":142011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977d"} 
[2026-07-25 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":761632640,"raw_latitude":103294848,"longitude_deg":76.163264,"latitude_deg":10.3294848,"altitude":4,"angle":77,"satellites":46,"speed":47,"hex_longitude":"2d659780","hex_latitude":"06282780","is_valid_coordinates":true} 
[2026-07-25 09:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947972352001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357425348717051904,"note":"Value kept but may cause issues"} 
[2026-07-25 09:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7310045909107099648,"note":"Value kept but may cause issues"} 
[2026-07-25 09:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784953025000,"timestamp_ms":1784953025000,"timestamp_seconds":1784953025,"priority":1,"record_length":96,"hex_timestamp":"0000019f977db1e8"} 
[2026-07-25 09:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 09:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947972352001,"66":27865,"97":206,"79":20992,"24":47,"16":357425348717051904,"45":7310045909107099648},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-25 09:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947972352001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 09:48:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357425348717051904,"km_value":357425348717051.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7310045909107099648,"description":"Unknown IO ID 45"} 
[2026-07-25 09:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947972352001,"power":27865,"unknown_97":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7310045909107099648}} 
[2026-07-25 09:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":142011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:48:11] local.INFO: GPS data processed {"connection_id":142011,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:48:11] local.INFO: Acknowledgment sent {"connection_id":142011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:48:12] local.INFO: TCP Data received {"connection_id":142011,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977dd128012d65bd0006282ef80003004d2e..."} 
[2026-07-25 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977dd128012d65bd0006282ef80003004d2e..."} 
[2026-07-25 09:48:12] local.INFO: Processing buffer {"connection_id":142011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977dd128012d65bd0006282ef80003004d2e..."} 
[2026-07-25 09:48:12] local.INFO: Packet analysis {"connection_id":142011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977d"} 
[2026-07-25 09:48:12] local.INFO: Extracted packet for processing {"connection_id":142011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977d"} 
[2026-07-25 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":761642240,"raw_latitude":103296760,"longitude_deg":76.164224,"latitude_deg":10.329676,"altitude":3,"angle":77,"satellites":46,"speed":48,"hex_longitude":"2d65bd00","hex_latitude":"06282ef8","is_valid_coordinates":true} 
[2026-07-25 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947974400001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357425816868487168,"note":"Value kept but may cause issues"} 
[2026-07-25 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7320460483245867008,"note":"Value kept but may cause issues"} 
[2026-07-25 09:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784953033000,"timestamp_ms":1784953033000,"timestamp_seconds":1784953033,"priority":1,"record_length":96,"hex_timestamp":"0000019f977dd128"} 
[2026-07-25 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947974400001,"66":27919,"97":206,"79":20992,"24":48,"16":357425816868487168,"45":7320460483245867008},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-25 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947974400001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:48:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 09:48:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357425816868487168,"km_value":357425816868487.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7320460483245867008,"description":"Unknown IO ID 45"} 
[2026-07-25 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947974400001,"power":27919,"unknown_97":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7320460483245867008}} 
[2026-07-25 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":142011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:48:12] local.INFO: GPS data processed {"connection_id":142011,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:48:12] local.INFO: Acknowledgment sent {"connection_id":142011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:48:54] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:54] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:54] local.INFO: IMEI packet received {"connection_id":140962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":140962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:48:56] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:56] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:48:56] local.INFO: IMEI packet received {"connection_id":140962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":140962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:49:01] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:01] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:01] local.INFO: IMEI packet received {"connection_id":140962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":140962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:49:03] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977df068012d65e10006283618000300502e..."} 
[2026-07-25 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977df068012d65e10006283618000300502e..."} 
[2026-07-25 09:49:03] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977df068012d65e10006283618000300502e..."} 
[2026-07-25 09:49:03] local.INFO: Packet analysis {"connection_id":140962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977d"} 
[2026-07-25 09:49:03] local.INFO: Extracted packet for processing {"connection_id":140962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977d"} 
[2026-07-25 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":761651456,"raw_latitude":103298584,"longitude_deg":76.1651456,"latitude_deg":10.3298584,"altitude":3,"angle":80,"satellites":46,"speed":43,"hex_longitude":"2d65e100","hex_latitude":"06283618","is_valid_coordinates":true} 
[2026-07-25 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947976448001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357426263545085952,"note":"Value kept but may cause issues"} 
[2026-07-25 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7331015794873006080,"note":"Value kept but may cause issues"} 
[2026-07-25 09:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784953041000,"timestamp_ms":1784953041000,"timestamp_seconds":1784953041,"priority":1,"record_length":96,"hex_timestamp":"0000019f977df068"} 
[2026-07-25 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947976448001,"66":27800,"97":206,"79":20992,"24":43,"16":357426263545085952,"45":7331015794873006080},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-25 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947976448001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:49:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 09:49:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357426263545085952,"km_value":357426263545085.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7331015794873006080,"description":"Unknown IO ID 45"} 
[2026-07-25 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947976448001,"power":27800,"unknown_97":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7331015794873006080}} 
[2026-07-25 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":140962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:49:03] local.INFO: GPS data processed {"connection_id":140962,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:49:03] local.INFO: Acknowledgment sent {"connection_id":140962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:49:35] local.INFO: TCP Data received {"connection_id":140962,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977e1b60012d66050006283d900003004f2e..."} 
[2026-07-25 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977e1b60012d66050006283d900003004f2e..."} 
[2026-07-25 09:49:35] local.INFO: Processing buffer {"connection_id":140962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977e1b60012d66050006283d900003004f2e..."} 
[2026-07-25 09:49:35] local.INFO: Packet analysis {"connection_id":140962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977e"} 
[2026-07-25 09:49:35] local.INFO: Extracted packet for processing {"connection_id":140962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977e"} 
[2026-07-25 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":761660672,"raw_latitude":103300496,"longitude_deg":76.1660672,"latitude_deg":10.3300496,"altitude":3,"angle":79,"satellites":46,"speed":31,"hex_longitude":"2d660500","hex_latitude":"06283d90","is_valid_coordinates":true} 
[2026-07-25 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947978496001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357426714516652032,"note":"Value kept but may cause issues"} 
[2026-07-25 09:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7341148894035056640,"note":"Value kept but may cause issues"} 
[2026-07-25 09:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784953052000,"timestamp_ms":1784953052000,"timestamp_seconds":1784953052,"priority":1,"record_length":96,"hex_timestamp":"0000019f977e1b60"} 
[2026-07-25 09:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 09:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947978496001,"66":27865,"97":206,"79":20992,"24":31,"16":357426714516652032,"45":7341148894035056640},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-25 09:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947978496001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:49:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 09:49:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-25 09:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357426714516652032,"km_value":357426714516652.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7341148894035056640,"description":"Unknown IO ID 45"} 
[2026-07-25 09:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947978496001,"power":27865,"unknown_97":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7341148894035056640}} 
[2026-07-25 09:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":140962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:49:35] local.INFO: GPS data processed {"connection_id":140962,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:49:35] local.INFO: Acknowledgment sent {"connection_id":140962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:49:56] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:56] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:56] local.INFO: IMEI packet received {"connection_id":140963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":140963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:49:57] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:57] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:49:57] local.INFO: IMEI packet received {"connection_id":140963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":140963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:50:01] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:01] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:01] local.INFO: IMEI packet received {"connection_id":140963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":140963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:50:03] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977e4658012d662a80062844880004004e2d..."} 
[2026-07-25 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977e4658012d662a80062844880004004e2d..."} 
[2026-07-25 09:50:03] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977e4658012d662a80062844880004004e2d..."} 
[2026-07-25 09:50:03] local.INFO: Packet analysis {"connection_id":140963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977e"} 
[2026-07-25 09:50:03] local.INFO: Extracted packet for processing {"connection_id":140963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977e"} 
[2026-07-25 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":761670272,"raw_latitude":103302280,"longitude_deg":76.1670272,"latitude_deg":10.330228,"altitude":4,"angle":78,"satellites":45,"speed":38,"hex_longitude":"2d662a80","hex_latitude":"06284488","is_valid_coordinates":true} 
[2026-07-25 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456947981312001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357427182668087296,"note":"Value kept but may cause issues"} 
[2026-07-25 09:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7351281993197129728,"note":"Value kept but may cause issues"} 
[2026-07-25 09:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784953063000,"timestamp_ms":1784953063000,"timestamp_seconds":1784953063,"priority":1,"record_length":96,"hex_timestamp":"0000019f977e4658"} 
[2026-07-25 09:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 09:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":140963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456947981312001,"66":27930,"33":206,"79":22016,"24":38,"16":357427182668087296,"45":7351281993197129728},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,79,24,16,45]} 
[2026-07-25 09:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456947981312001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:50:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-25 09:50:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357427182668087296,"km_value":357427182668087.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7351281993197129728,"description":"Unknown IO ID 45"} 
[2026-07-25 09:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456947981312001,"power":27930,"unknown_33":206,"unknown_79":22016,"ignition":38,"odometer":null,"unknown_45":7351281993197129728}} 
[2026-07-25 09:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":140963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:50:03] local.INFO: GPS data processed {"connection_id":140963,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:50:03] local.INFO: Acknowledgment sent {"connection_id":140963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:50:35] local.INFO: TCP Data received {"connection_id":140963,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f977ffbd8012d67cc400628d8180004003b2c..."} 
[2026-07-25 09:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f977ffbd8012d67cc400628d8180004003b2c..."} 
[2026-07-25 09:50:35] local.INFO: Processing buffer {"connection_id":140963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f977ffbd8012d67cc400628d8180004003b2c..."} 
[2026-07-25 09:50:35] local.INFO: Packet analysis {"connection_id":140963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f977f"} 
[2026-07-25 09:50:35] local.INFO: Extracted packet for processing {"connection_id":140963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f977f"} 
[2026-07-25 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":761777216,"raw_latitude":103340056,"longitude_deg":76.1777216,"latitude_deg":10.3340056,"altitude":4,"angle":59,"satellites":44,"speed":48,"hex_longitude":"2d67cc40","hex_latitude":"0628d818","is_valid_coordinates":true} 
[2026-07-25 09:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948010752001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357432641571520512,"note":"Value kept but may cause issues"} 
[2026-07-25 09:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7470345908354484224,"note":"Value kept but may cause issues"} 
[2026-07-25 09:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784953175000,"timestamp_ms":1784953175000,"timestamp_seconds":1784953175,"priority":1,"record_length":96,"hex_timestamp":"0000019f977ffbd8"} 
[2026-07-25 09:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 09:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948010752001,"66":27974,"31":206,"79":22016,"24":48,"16":357432641571520512,"45":7470345908354484224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,79,24,16,45]} 
[2026-07-25 09:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948010752001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:50:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 09:50:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357432641571520512,"km_value":357432641571520.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7470345908354484224,"description":"Unknown IO ID 45"} 
[2026-07-25 09:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948010752001,"power":27974,"unknown_31":206,"unknown_79":22016,"ignition":48,"odometer":null,"unknown_45":7470345908354484224}} 
[2026-07-25 09:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":140963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:50:35] local.INFO: GPS data processed {"connection_id":140963,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:50:35] local.INFO: Acknowledgment sent {"connection_id":140963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:50:56] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:56] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:56] local.INFO: IMEI packet received {"connection_id":143362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":143362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:50:59] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:59] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:50:59] local.INFO: IMEI packet received {"connection_id":143362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":143362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:51:01] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:51:01] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:51:01] local.INFO: IMEI packet received {"connection_id":143362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":143362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:51:02] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97801b18012d67eb800628ec780005003b2d..."} 
[2026-07-25 09:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97801b18012d67eb800628ec780005003b2d..."} 
[2026-07-25 09:51:02] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97801b18012d67eb800628ec780005003b2d..."} 
[2026-07-25 09:51:02] local.INFO: Packet analysis {"connection_id":143362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9780"} 
[2026-07-25 09:51:02] local.INFO: Extracted packet for processing {"connection_id":143362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9780"} 
[2026-07-25 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":761785216,"raw_latitude":103345272,"longitude_deg":76.1785216,"latitude_deg":10.3345272,"altitude":5,"angle":59,"satellites":45,"speed":45,"hex_longitude":"2d67eb80","hex_latitude":"0628ec78","is_valid_coordinates":true} 
[2026-07-25 09:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948012800001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357433101133021184,"note":"Value kept but may cause issues"} 
[2026-07-25 09:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7479423476354783232,"note":"Value kept but may cause issues"} 
[2026-07-25 09:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953183000,"timestamp_ms":1784953183000,"timestamp_seconds":1784953183,"priority":1,"record_length":96,"hex_timestamp":"0000019f97801b18"} 
[2026-07-25 09:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948012800001,"66":27908,"31":206,"79":22016,"24":45,"16":357433101133021184,"45":7479423476354783232},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,79,24,16,45]} 
[2026-07-25 09:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948012800001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:51:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 09:51:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357433101133021184,"km_value":357433101133021.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7479423476354783232,"description":"Unknown IO ID 45"} 
[2026-07-25 09:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948012800001,"power":27908,"unknown_31":206,"unknown_79":22016,"ignition":45,"odometer":null,"unknown_45":7479423476354783232}} 
[2026-07-25 09:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":143362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:51:02] local.INFO: GPS data processed {"connection_id":143362,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:51:02] local.INFO: Acknowledgment sent {"connection_id":143362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:51:33] local.INFO: TCP Data received {"connection_id":143362,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97803a58012d680ac0062900e0000500392e..."} 
[2026-07-25 09:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97803a58012d680ac0062900e0000500392e..."} 
[2026-07-25 09:51:33] local.INFO: Processing buffer {"connection_id":143362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97803a58012d680ac0062900e0000500392e..."} 
[2026-07-25 09:51:33] local.INFO: Packet analysis {"connection_id":143362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9780"} 
[2026-07-25 09:51:33] local.INFO: Extracted packet for processing {"connection_id":143362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9780"} 
[2026-07-25 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":761793216,"raw_latitude":103350496,"longitude_deg":76.1793216,"latitude_deg":10.3350496,"altitude":5,"angle":57,"satellites":46,"speed":49,"hex_longitude":"2d680ac0","hex_latitude":"062900e0","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948014848001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357433560694521856,"note":"Value kept but may cause issues"} 
[2026-07-25 09:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7488219569378326528,"note":"Value kept but may cause issues"} 
[2026-07-25 09:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784953191000,"timestamp_ms":1784953191000,"timestamp_seconds":1784953191,"priority":1,"record_length":96,"hex_timestamp":"0000019f97803a58"} 
[2026-07-25 09:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948014848001,"66":27463,"31":206,"79":22016,"24":49,"16":357433560694521856,"45":7488219569378326528},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,79,24,16,45]} 
[2026-07-25 09:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948014848001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:51:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 09:51:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357433560694521856,"km_value":357433560694521.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7488219569378326528,"description":"Unknown IO ID 45"} 
[2026-07-25 09:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948014848001,"power":27463,"unknown_31":206,"unknown_79":22016,"ignition":49,"odometer":null,"unknown_45":7488219569378326528}} 
[2026-07-25 09:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":143362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:51:33] local.INFO: GPS data processed {"connection_id":143362,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:51:33] local.INFO: Acknowledgment sent {"connection_id":143362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:51:56] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:51:56] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:51:56] local.INFO: IMEI packet received {"connection_id":140964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":140964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:52:01] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:52:01] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:52:01] local.INFO: IMEI packet received {"connection_id":140964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":140964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:52:02] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97805998012d682c0006291700000500382e..."} 
[2026-07-25 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97805998012d682c0006291700000500382e..."} 
[2026-07-25 09:52:02] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97805998012d682c0006291700000500382e..."} 
[2026-07-25 09:52:02] local.INFO: Packet analysis {"connection_id":140964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9780"} 
[2026-07-25 09:52:02] local.INFO: Extracted packet for processing {"connection_id":140964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9780"} 
[2026-07-25 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":761801728,"raw_latitude":103356160,"longitude_deg":76.1801728,"latitude_deg":10.335616,"altitude":5,"angle":56,"satellites":46,"speed":51,"hex_longitude":"2d682c00","hex_latitude":"06291700","is_valid_coordinates":true} 
[2026-07-25 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948016896001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357434050320793600,"note":"Value kept but may cause issues"} 
[2026-07-25 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7497015662401871872,"note":"Value kept but may cause issues"} 
[2026-07-25 09:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953199000,"timestamp_ms":1784953199000,"timestamp_seconds":1784953199,"priority":1,"record_length":96,"hex_timestamp":"0000019f97805998"} 
[2026-07-25 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 09:52: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-07-25 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948016896001,"66":28050,"31":206,"79":22016,"24":51,"16":357434050320793600,"45":7497015662401871872},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,79,24,16,45]} 
[2026-07-25 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948016896001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:52:02] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 09:52:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357434050320793600,"km_value":357434050320793.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7497015662401871872,"description":"Unknown IO ID 45"} 
[2026-07-25 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948016896001,"power":28050,"unknown_31":206,"unknown_79":22016,"ignition":51,"odometer":null,"unknown_45":7497015662401871872}} 
[2026-07-25 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":140964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:52:02] local.INFO: GPS data processed {"connection_id":140964,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:52:02] local.INFO: Acknowledgment sent {"connection_id":140964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:52:33] local.INFO: TCP Data received {"connection_id":140964,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9781c8c8012d6971c006299c48000600622b..."} 
[2026-07-25 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9781c8c8012d6971c006299c48000600622b..."} 
[2026-07-25 09:52:33] local.INFO: Processing buffer {"connection_id":140964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9781c8c8012d6971c006299c48000600622b..."} 
[2026-07-25 09:52:33] local.INFO: Packet analysis {"connection_id":140964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9781"} 
[2026-07-25 09:52:33] local.INFO: Extracted packet for processing {"connection_id":140964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9781"} 
[2026-07-25 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":761885120,"raw_latitude":103390280,"longitude_deg":76.188512,"latitude_deg":10.339028,"altitude":6,"angle":98,"satellites":43,"speed":26,"hex_longitude":"2d6971c0","hex_latitude":"06299c48","is_valid_coordinates":true} 
[2026-07-25 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948040704001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357438641640833024,"note":"Value kept but may cause issues"} 
[2026-07-25 09:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7589480192262170624,"note":"Value kept but may cause issues"} 
[2026-07-25 09:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784953293000,"timestamp_ms":1784953293000,"timestamp_seconds":1784953293,"priority":1,"record_length":96,"hex_timestamp":"0000019f9781c8c8"} 
[2026-07-25 09:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948040704001,"66":28006,"80":206,"79":22016,"24":26,"16":357438641640833024,"45":7589480192262170624},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-07-25 09:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948040704001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:52:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-25 09:52:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357438641640833024,"km_value":357438641640833.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7589480192262170624,"description":"Unknown IO ID 45"} 
[2026-07-25 09:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948040704001,"power":28006,"unknown_80":206,"unknown_79":22016,"ignition":26,"odometer":null,"unknown_45":7589480192262170624}} 
[2026-07-25 09:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":140964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:52:33] local.INFO: GPS data processed {"connection_id":140964,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:52:33] local.INFO: Acknowledgment sent {"connection_id":140964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:53:01] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:01] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:01] local.INFO: IMEI packet received {"connection_id":143363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":143363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:53:01] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:01] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:01] local.INFO: IMEI packet received {"connection_id":143363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":143363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:53:06] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:06] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:06] local.INFO: IMEI packet received {"connection_id":143363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":143363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:53:07] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9781d480012d69794006299c40000500552b..."} 
[2026-07-25 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9781d480012d69794006299c40000500552b..."} 
[2026-07-25 09:53:07] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9781d480012d69794006299c40000500552b..."} 
[2026-07-25 09:53:07] local.INFO: Packet analysis {"connection_id":143363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9781"} 
[2026-07-25 09:53:07] local.INFO: Extracted packet for processing {"connection_id":143363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9781"} 
[2026-07-25 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":761887040,"raw_latitude":103390272,"longitude_deg":76.188704,"latitude_deg":10.3390272,"altitude":5,"angle":85,"satellites":43,"speed":24,"hex_longitude":"2d697940","hex_latitude":"06299c40","is_valid_coordinates":true} 
[2026-07-25 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948043008001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357438731835146240,"note":"Value kept but may cause issues"} 
[2026-07-25 09:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7598065179051182080,"note":"Value kept but may cause issues"} 
[2026-07-25 09:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784953296000,"timestamp_ms":1784953296000,"timestamp_seconds":1784953296,"priority":1,"record_length":96,"hex_timestamp":"0000019f9781d480"} 
[2026-07-25 09:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 09:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948043008001,"66":27876,"80":206,"79":22016,"24":24,"16":357438731835146240,"45":7598065179051182080},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-07-25 09:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948043008001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:53:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-25 09:53:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357438731835146240,"km_value":357438731835146.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7598065179051182080,"description":"Unknown IO ID 45"} 
[2026-07-25 09:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948043008001,"power":27876,"unknown_80":206,"unknown_79":22016,"ignition":24,"odometer":null,"unknown_45":7598065179051182080}} 
[2026-07-25 09:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":143363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:53:07] local.INFO: GPS data processed {"connection_id":143363,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:53:07] local.INFO: Acknowledgment sent {"connection_id":143363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:53:11] local.INFO: TCP Data received {"connection_id":143363,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97820748012d699cc006299e900006005929..."} 
[2026-07-25 09:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97820748012d699cc006299e900006005929..."} 
[2026-07-25 09:53:11] local.INFO: Processing buffer {"connection_id":143363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97820748012d699cc006299e900006005929..."} 
[2026-07-25 09:53:11] local.INFO: Packet analysis {"connection_id":143363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:53:11] local.INFO: Extracted packet for processing {"connection_id":143363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:53:11] local.INFO: GPS Element Parsed {"raw_longitude":761896128,"raw_latitude":103390864,"longitude_deg":76.1896128,"latitude_deg":10.3390864,"altitude":6,"angle":89,"satellites":41,"speed":32,"hex_longitude":"2d699cc0","hex_latitude":"06299e90","is_valid_coordinates":true} 
[2026-07-25 09:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948043776001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357439165626843136,"note":"Value kept but may cause issues"} 
[2026-07-25 09:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7600176241376509952,"note":"Value kept but may cause issues"} 
[2026-07-25 09:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784953309000,"timestamp_ms":1784953309000,"timestamp_seconds":1784953309,"priority":1,"record_length":96,"hex_timestamp":"0000019f97820748"} 
[2026-07-25 09:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948043776001,"66":27919,"80":206,"79":22016,"24":32,"16":357439165626843136,"45":7600176241376509952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,79,24,16,45]} 
[2026-07-25 09:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948043776001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:53:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-25 09:53:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357439165626843136,"km_value":357439165626843.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7600176241376509952,"description":"Unknown IO ID 45"} 
[2026-07-25 09:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948043776001,"power":27919,"unknown_80":206,"unknown_79":22016,"ignition":32,"odometer":null,"unknown_45":7600176241376509952}} 
[2026-07-25 09:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":143363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:53:11] local.INFO: GPS data processed {"connection_id":143363,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:53:11] local.INFO: Acknowledgment sent {"connection_id":143363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:53:56] local.INFO: TCP Data received {"connection_id":142012,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:56] local.INFO: Processing buffer {"connection_id":142012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:56] local.INFO: IMEI packet received {"connection_id":142012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":142012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:53:59] local.INFO: TCP Data received {"connection_id":142012,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:59] local.INFO: Processing buffer {"connection_id":142012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:53:59] local.INFO: IMEI packet received {"connection_id":142012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":142012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:54:00] local.INFO: TCP Data received {"connection_id":142012,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97823240012d69c1c006299de80006005c29..."} 
[2026-07-25 09:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97823240012d69c1c006299de80006005c29..."} 
[2026-07-25 09:54:00] local.INFO: Processing buffer {"connection_id":142012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97823240012d69c1c006299de80006005c29..."} 
[2026-07-25 09:54:00] local.INFO: Packet analysis {"connection_id":142012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:54:00] local.INFO: Extracted packet for processing {"connection_id":142012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":761905600,"raw_latitude":103390696,"longitude_deg":76.19056,"latitude_deg":10.3390696,"altitude":6,"angle":92,"satellites":41,"speed":31,"hex_longitude":"2d69c1c0","hex_latitude":"06299de8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948047104001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357439616598409216,"note":"Value kept but may cause issues"} 
[2026-07-25 09:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7610168603049889792,"note":"Value kept but may cause issues"} 
[2026-07-25 09:54:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 09:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784953320000,"timestamp_ms":1784953320000,"timestamp_seconds":1784953320,"priority":1,"record_length":96,"hex_timestamp":"0000019f97823240"} 
[2026-07-25 09:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 09:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948047104001,"66":27995,"79":22016,"24":31,"16":357439616598409216,"45":7610168603049889792},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-25 09:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948047104001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:54:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357439616598409216,"km_value":357439616598409.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7610168603049889792,"description":"Unknown IO ID 45"} 
[2026-07-25 09:54:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456948047104001,"power":27995,"unknown_79":22016,"ignition":31,"odometer":null,"unknown_45":7610168603049889792}} 
[2026-07-25 09:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":142012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:54:00] local.INFO: GPS data processed {"connection_id":142012,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:54:00] local.INFO: Acknowledgment sent {"connection_id":142012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:54:32] local.INFO: TCP Data received {"connection_id":142012,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97825950012d69dd4006299d80000600502c..."} 
[2026-07-25 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97825950012d69dd4006299d80000600502c..."} 
[2026-07-25 09:54:32] local.INFO: Processing buffer {"connection_id":142012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97825950012d69dd4006299d80000600502c..."} 
[2026-07-25 09:54:32] local.INFO: Packet analysis {"connection_id":142012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:54:32] local.INFO: Extracted packet for processing {"connection_id":142012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":761912640,"raw_latitude":103390592,"longitude_deg":76.191264,"latitude_deg":10.3390592,"altitude":6,"angle":80,"satellites":44,"speed":26,"hex_longitude":"2d69dd40","hex_latitude":"06299d80","is_valid_coordinates":true} 
[2026-07-25 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-07-25 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948049920001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357439951605858304,"note":"Value kept but may cause issues"} 
[2026-07-25 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7620583177188141056,"note":"Value kept but may cause issues"} 
[2026-07-25 09:54:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784953330000,"timestamp_ms":1784953330000,"timestamp_seconds":1784953330,"priority":1,"record_length":96,"hex_timestamp":"0000019f97825950"} 
[2026-07-25 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-07-25 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 09:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948049920001,"66":27843,"79":22016,"24":26,"16":357439951605858304,"45":7620583177188141056},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-25 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948049920001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357439951605858304,"km_value":357439951605858.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7620583177188141056,"description":"Unknown IO ID 45"} 
[2026-07-25 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456948049920001,"power":27843,"unknown_79":22016,"ignition":26,"odometer":null,"unknown_45":7620583177188141056}} 
[2026-07-25 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":142012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:54:32] local.INFO: GPS data processed {"connection_id":142012,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:54:32] local.INFO: Acknowledgment sent {"connection_id":142012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:54:56] local.INFO: TCP Data received {"connection_id":142013,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:54:56] local.INFO: Processing buffer {"connection_id":142013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:54:56] local.INFO: IMEI packet received {"connection_id":142013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":142013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:54:57] local.INFO: TCP Data received {"connection_id":142013,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:54:57] local.INFO: Processing buffer {"connection_id":142013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:54:57] local.INFO: IMEI packet received {"connection_id":142013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":142013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:55:01] local.INFO: TCP Data received {"connection_id":142013,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:55:01] local.INFO: Processing buffer {"connection_id":142013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:55:01] local.INFO: IMEI packet received {"connection_id":142013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":142013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:55:02] local.INFO: TCP Data received {"connection_id":142013,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97828c18012d6a00400629a550000800532d..."} 
[2026-07-25 09:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97828c18012d6a00400629a550000800532d..."} 
[2026-07-25 09:55:02] local.INFO: Processing buffer {"connection_id":142013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97828c18012d6a00400629a550000800532d..."} 
[2026-07-25 09:55:02] local.INFO: Packet analysis {"connection_id":142013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:55:02] local.INFO: Extracted packet for processing {"connection_id":142013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9782"} 
[2026-07-25 09:55:02] local.INFO: GPS Element Parsed {"raw_longitude":761921600,"raw_latitude":103392592,"longitude_deg":76.19216,"latitude_deg":10.3392592,"altitude":8,"angle":83,"satellites":45,"speed":15,"hex_longitude":"2d6a0040","hex_latitude":"0629a550","is_valid_coordinates":true} 
[2026-07-25 09:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948052480001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357440393987489792,"note":"Value kept but may cause issues"} 
[2026-07-25 09:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7628323739047657472,"note":"Value kept but may cause issues"} 
[2026-07-25 09:55:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 09:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953343000,"timestamp_ms":1784953343000,"timestamp_seconds":1784953343,"priority":1,"record_length":96,"hex_timestamp":"0000019f97828c18"} 
[2026-07-25 09:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948052480001,"66":27919,"79":22016,"24":15,"16":357440393987489792,"45":7628323739047657472},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-25 09:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948052480001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:55:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357440393987489792,"km_value":357440393987489.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7628323739047657472,"description":"Unknown IO ID 45"} 
[2026-07-25 09:55:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456948052480001,"power":27919,"unknown_79":22016,"ignition":15,"odometer":null,"unknown_45":7628323739047657472}} 
[2026-07-25 09:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":142013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:55:02] local.INFO: GPS data processed {"connection_id":142013,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:55:02] local.INFO: Acknowledgment sent {"connection_id":142013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:55:34] local.INFO: TCP Data received {"connection_id":142013,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97845138012d6b4e800629d2b8000800542c..."} 
[2026-07-25 09:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97845138012d6b4e800629d2b8000800542c..."} 
[2026-07-25 09:55:34] local.INFO: Processing buffer {"connection_id":142013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97845138012d6b4e800629d2b8000800542c..."} 
[2026-07-25 09:55:34] local.INFO: Packet analysis {"connection_id":142013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:55:34] local.INFO: Extracted packet for processing {"connection_id":142013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762007168,"raw_latitude":103404216,"longitude_deg":76.2007168,"latitude_deg":10.3404216,"altitude":8,"angle":84,"satellites":44,"speed":37,"hex_longitude":"2d6b4e80","hex_latitude":"0629d2b8","is_valid_coordinates":true} 
[2026-07-25 09:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948083200001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357444538630930432,"note":"Value kept but may cause issues"} 
[2026-07-25 09:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7722054906295537664,"note":"Value kept but may cause issues"} 
[2026-07-25 09:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784953459000,"timestamp_ms":1784953459000,"timestamp_seconds":1784953459,"priority":1,"record_length":96,"hex_timestamp":"0000019f97845138"} 
[2026-07-25 09:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948083200001,"66":27930,"117":206,"79":22016,"24":37,"16":357444538630930432,"45":7722054906295537664},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 09:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948083200001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357444538630930432,"km_value":357444538630930.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7722054906295537664,"description":"Unknown IO ID 45"} 
[2026-07-25 09:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948083200001,"power":27930,"unknown_117":206,"unknown_79":22016,"ignition":37,"odometer":null,"unknown_45":7722054906295537664}} 
[2026-07-25 09:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":142013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:55:34] local.INFO: GPS data processed {"connection_id":142013,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:55:34] local.INFO: Acknowledgment sent {"connection_id":142013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:55:56] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:55:56] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:55:56] local.INFO: IMEI packet received {"connection_id":141016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":141016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:56:01] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:01] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:01] local.INFO: IMEI packet received {"connection_id":141016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":141016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:56:01] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:01] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:01] local.INFO: IMEI packet received {"connection_id":141016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":141016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:56:02] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97848400012d6b73000629d6d8000800532c..."} 
[2026-07-25 09:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97848400012d6b73000629d6d8000800532c..."} 
[2026-07-25 09:56:02] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97848400012d6b73000629d6d8000800532c..."} 
[2026-07-25 09:56:02] local.INFO: Packet analysis {"connection_id":141016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:56:02] local.INFO: Extracted packet for processing {"connection_id":141016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762016512,"raw_latitude":103405272,"longitude_deg":76.2016512,"latitude_deg":10.3405272,"altitude":8,"angle":83,"satellites":44,"speed":24,"hex_longitude":"2d6b7300","hex_latitude":"0629d6d8","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948085504001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357444989602496512,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7732258374201554944,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953472000,"timestamp_ms":1784953472000,"timestamp_seconds":1784953472,"priority":1,"record_length":96,"hex_timestamp":"0000019f97848400"} 
[2026-07-25 09:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 09:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948085504001,"66":27876,"117":206,"79":22016,"24":24,"16":357444989602496512,"45":7732258374201554944},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 09:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948085504001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:56:02] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 09:56:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357444989602496512,"km_value":357444989602496.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7732258374201554944,"description":"Unknown IO ID 45"} 
[2026-07-25 09:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948085504001,"power":27876,"unknown_117":206,"unknown_79":22016,"ignition":24,"odometer":null,"unknown_45":7732258374201554944}} 
[2026-07-25 09:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":141016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:56:02] local.INFO: GPS data processed {"connection_id":141016,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:56:02] local.INFO: Acknowledgment sent {"connection_id":141016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:56:06] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9784be98012d6b99000629db50000800542c..."} 
[2026-07-25 09:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9784be98012d6b99000629db50000800542c..."} 
[2026-07-25 09:56:06] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9784be98012d6b99000629db50000800542c..."} 
[2026-07-25 09:56:06] local.INFO: Packet analysis {"connection_id":141016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:56:06] local.INFO: Extracted packet for processing {"connection_id":141016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762026240,"raw_latitude":103406416,"longitude_deg":76.202624,"latitude_deg":10.3406416,"altitude":8,"angle":84,"satellites":44,"speed":29,"hex_longitude":"2d6b9900","hex_latitude":"0629db50","is_valid_coordinates":true} 
[2026-07-25 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948088832001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357445453458964480,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7742532210851764224,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784953487000,"timestamp_ms":1784953487000,"timestamp_seconds":1784953487,"priority":1,"record_length":96,"hex_timestamp":"0000019f9784be98"} 
[2026-07-25 09:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 09:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948088832001,"66":27626,"117":206,"79":22016,"24":29,"16":357445453458964480,"45":7742532210851764224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 09:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948088832001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357445453458964480,"km_value":357445453458964.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7742532210851764224,"description":"Unknown IO ID 45"} 
[2026-07-25 09:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948088832001,"power":27626,"unknown_117":206,"unknown_79":22016,"ignition":29,"odometer":null,"unknown_45":7742532210851764224}} 
[2026-07-25 09:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":141016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:56:06] local.INFO: GPS data processed {"connection_id":141016,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:56:06] local.INFO: Acknowledgment sent {"connection_id":141016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:56:37] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9784ed78012d6bbec00629e010000800552d..."} 
[2026-07-25 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9784ed78012d6bbec00629e010000800552d..."} 
[2026-07-25 09:56:37] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9784ed78012d6bbec00629e010000800552d..."} 
[2026-07-25 09:56:37] local.INFO: Packet analysis {"connection_id":141016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:56:37] local.INFO: Extracted packet for processing {"connection_id":141016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9784"} 
[2026-07-25 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":762035904,"raw_latitude":103407632,"longitude_deg":76.2035904,"latitude_deg":10.3407632,"altitude":8,"angle":85,"satellites":45,"speed":34,"hex_longitude":"2d6bbec0","hex_latitude":"0629e010","is_valid_coordinates":true} 
[2026-07-25 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948092672001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357445917315432448,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7753228259967062016,"note":"Value kept but may cause issues"} 
[2026-07-25 09:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784953499000,"timestamp_ms":1784953499000,"timestamp_seconds":1784953499,"priority":1,"record_length":96,"hex_timestamp":"0000019f9784ed78"} 
[2026-07-25 09:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 09:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948092672001,"66":27908,"117":206,"79":22016,"24":34,"16":357445917315432448,"45":7753228259967062016},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 09:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948092672001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:56:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 09:56:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357445917315432448,"km_value":357445917315432.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7753228259967062016,"description":"Unknown IO ID 45"} 
[2026-07-25 09:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948092672001,"power":27908,"unknown_117":206,"unknown_79":22016,"ignition":34,"odometer":null,"unknown_45":7753228259967062016}} 
[2026-07-25 09:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":141016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:56:37] local.INFO: GPS data processed {"connection_id":141016,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:56:37] local.INFO: Acknowledgment sent {"connection_id":141016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:56:56] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:56] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:56] local.INFO: IMEI packet received {"connection_id":143364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":143364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:56:59] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:59] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:56:59] local.INFO: IMEI packet received {"connection_id":143364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":143364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:57:01] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:57:01] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:57:01] local.INFO: IMEI packet received {"connection_id":143364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":143364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:57:01] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97851870012d6be3000629e3a8000800532b..."} 
[2026-07-25 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97851870012d6be3000629e3a8000800532b..."} 
[2026-07-25 09:57:01] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97851870012d6be3000629e3a8000800532b..."} 
[2026-07-25 09:57:01] local.INFO: Packet analysis {"connection_id":143364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9785"} 
[2026-07-25 09:57:01] local.INFO: Extracted packet for processing {"connection_id":143364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9785"} 
[2026-07-25 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":762045184,"raw_latitude":103408552,"longitude_deg":76.2045184,"latitude_deg":10.3408552,"altitude":8,"angle":83,"satellites":43,"speed":35,"hex_longitude":"2d6be300","hex_latitude":"0629e3a8","is_valid_coordinates":true} 
[2026-07-25 09:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948095744001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357446363992031232,"note":"Value kept but may cause issues"} 
[2026-07-25 09:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7763853940338200576,"note":"Value kept but may cause issues"} 
[2026-07-25 09:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784953510000,"timestamp_ms":1784953510000,"timestamp_seconds":1784953510,"priority":1,"record_length":96,"hex_timestamp":"0000019f97851870"} 
[2026-07-25 09:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 09:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948095744001,"66":27974,"117":206,"79":22016,"24":35,"16":357446363992031232,"45":7763853940338200576},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 09:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948095744001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:57:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 09:57:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357446363992031232,"km_value":357446363992031.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7763853940338200576,"description":"Unknown IO ID 45"} 
[2026-07-25 09:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948095744001,"power":27974,"unknown_117":206,"unknown_79":22016,"ignition":35,"odometer":null,"unknown_45":7763853940338200576}} 
[2026-07-25 09:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":143364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:57:01] local.INFO: GPS data processed {"connection_id":143364,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:57:01] local.INFO: Acknowledgment sent {"connection_id":143364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:57:33] local.INFO: TCP Data received {"connection_id":143364,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97854368012d6c08000629e7d0000700522c..."} 
[2026-07-25 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97854368012d6c08000629e7d0000700522c..."} 
[2026-07-25 09:57:33] local.INFO: Processing buffer {"connection_id":143364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97854368012d6c08000629e7d0000700522c..."} 
[2026-07-25 09:57:33] local.INFO: Packet analysis {"connection_id":143364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9785"} 
[2026-07-25 09:57:33] local.INFO: Extracted packet for processing {"connection_id":143364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9785"} 
[2026-07-25 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":762054656,"raw_latitude":103409616,"longitude_deg":76.2054656,"latitude_deg":10.3409616,"altitude":7,"angle":82,"satellites":44,"speed":35,"hex_longitude":"2d6c0800","hex_latitude":"0629e7d0","is_valid_coordinates":true} 
[2026-07-25 09: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-07-25 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948098560001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357446819258564608,"note":"Value kept but may cause issues"} 
[2026-07-25 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774057408244197376,"note":"Value kept but may cause issues"} 
[2026-07-25 09:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784953521000,"timestamp_ms":1784953521000,"timestamp_seconds":1784953521,"priority":1,"record_length":96,"hex_timestamp":"0000019f97854368"} 
[2026-07-25 09:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09: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-07-25 09:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948098560001,"66":27984,"117":206,"79":22016,"24":35,"16":357446819258564608,"45":7774057408244197376},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948098560001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:57:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 09:57:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357446819258564608,"km_value":357446819258564.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774057408244197376,"description":"Unknown IO ID 45"} 
[2026-07-25 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948098560001,"power":27984,"unknown_117":206,"unknown_79":22016,"ignition":35,"odometer":null,"unknown_45":7774057408244197376}} 
[2026-07-25 09:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":143364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:57:33] local.INFO: GPS data processed {"connection_id":143364,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:57:33] local.INFO: Acknowledgment sent {"connection_id":143364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:57:56] local.INFO: TCP Data received {"connection_id":143365,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:57:56] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:57:56] local.INFO: IMEI packet received {"connection_id":143365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":143365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:58:01] local.INFO: TCP Data received {"connection_id":143365,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:58:01] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:58:01] local.INFO: IMEI packet received {"connection_id":143365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":143365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:58:02] local.INFO: TCP Data received {"connection_id":143365,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97856e60012d6c2c000629efa0000900482c..."} 
[2026-07-25 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97856e60012d6c2c000629efa0000900482c..."} 
[2026-07-25 09:58:02] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97856e60012d6c2c000629efa0000900482c..."} 
[2026-07-25 09:58:02] local.INFO: Packet analysis {"connection_id":143365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9785"} 
[2026-07-25 09:58:02] local.INFO: Extracted packet for processing {"connection_id":143365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9785"} 
[2026-07-25 09:58:02] local.INFO: GPS Element Parsed {"raw_longitude":762063872,"raw_latitude":103411616,"longitude_deg":76.2063872,"latitude_deg":10.3411616,"altitude":9,"angle":72,"satellites":44,"speed":30,"hex_longitude":"2d6c2c00","hex_latitude":"0629efa0","is_valid_coordinates":true} 
[2026-07-25 09:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948101376001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357447270230130688,"note":"Value kept but may cause issues"} 
[2026-07-25 09:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7784471982382764032,"note":"Value kept but may cause issues"} 
[2026-07-25 09:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953532000,"timestamp_ms":1784953532000,"timestamp_seconds":1784953532,"priority":1,"record_length":96,"hex_timestamp":"0000019f97856e60"} 
[2026-07-25 09:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 09:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948101376001,"66":27919,"187":206,"79":22016,"24":30,"16":357447270230130688,"45":7784471982382764032},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-25 09:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948101376001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:58:02] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 09:58:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357447270230130688,"km_value":357447270230130.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7784471982382764032,"description":"Unknown IO ID 45"} 
[2026-07-25 09:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948101376001,"power":27919,"unknown_187":206,"unknown_79":22016,"ignition":30,"odometer":null,"unknown_45":7784471982382764032}} 
[2026-07-25 09:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":143365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:58:02] local.INFO: GPS data processed {"connection_id":143365,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:58:02] local.INFO: Acknowledgment sent {"connection_id":143365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:58:33] local.INFO: TCP Data received {"connection_id":143365,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97871ff8012d6d2340062a33e8001400572c..."} 
[2026-07-25 09:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97871ff8012d6d2340062a33e8001400572c..."} 
[2026-07-25 09:58:33] local.INFO: Processing buffer {"connection_id":143365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97871ff8012d6d2340062a33e8001400572c..."} 
[2026-07-25 09:58:33] local.INFO: Packet analysis {"connection_id":143365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:58:33] local.INFO: Extracted packet for processing {"connection_id":143365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":762127168,"raw_latitude":103429096,"longitude_deg":76.2127168,"latitude_deg":10.3429096,"altitude":20,"angle":87,"satellites":44,"speed":21,"hex_longitude":"2d6d2340","hex_latitude":"062a33e8","is_valid_coordinates":true} 
[2026-07-25 09:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948127232001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357450512930439168,"note":"Value kept but may cause issues"} 
[2026-07-25 09:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7856036995216308224,"note":"Value kept but may cause issues"} 
[2026-07-25 09:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784953643000,"timestamp_ms":1784953643000,"timestamp_seconds":1784953643,"priority":1,"record_length":96,"hex_timestamp":"0000019f97871ff8"} 
[2026-07-25 09:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 09:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948127232001,"66":28028,"194":206,"79":22016,"24":21,"16":357450512930439168,"45":7856036995216308224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,79,24,16,45]} 
[2026-07-25 09:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948127232001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:58:33] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-25 09:58:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357450512930439168,"km_value":357450512930439.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7856036995216308224,"description":"Unknown IO ID 45"} 
[2026-07-25 09:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948127232001,"power":28028,"unknown_194":206,"unknown_79":22016,"ignition":21,"odometer":null,"unknown_45":7856036995216308224}} 
[2026-07-25 09:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":143365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:58:33] local.INFO: GPS data processed {"connection_id":143365,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:58:33] local.INFO: Acknowledgment sent {"connection_id":143365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:59:01] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:01] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:01] local.INFO: IMEI packet received {"connection_id":140965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":140965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:59:04] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:04] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:04] local.INFO: IMEI packet received {"connection_id":140965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":140965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 09:59:05] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97875a90012d6d47c0062a3748001300522c..."} 
[2026-07-25 09:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97875a90012d6d47c0062a3748001300522c..."} 
[2026-07-25 09:59:05] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97875a90012d6d47c0062a3748001300522c..."} 
[2026-07-25 09:59:05] local.INFO: Packet analysis {"connection_id":140965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:59:05] local.INFO: Extracted packet for processing {"connection_id":140965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:59:05] local.INFO: GPS Element Parsed {"raw_longitude":762136512,"raw_latitude":103429960,"longitude_deg":76.2136512,"latitude_deg":10.342996,"altitude":19,"angle":82,"satellites":44,"speed":28,"hex_longitude":"2d6d47c0","hex_latitude":"062a3748","is_valid_coordinates":true} 
[2026-07-25 09:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948132608001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357450963902005248,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7864199769541044224,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784953658000,"timestamp_ms":1784953658000,"timestamp_seconds":1784953658,"priority":1,"record_length":96,"hex_timestamp":"0000019f97875a90"} 
[2026-07-25 09:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 09:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948132608001,"66":27974,"196":206,"79":22016,"24":28,"16":357450963902005248,"45":7864199769541044224},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-25 09:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948132608001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:59:05] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 09:59:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357450963902005248,"km_value":357450963902005.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7864199769541044224,"description":"Unknown IO ID 45"} 
[2026-07-25 09:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948132608001,"power":27974,"unknown_196":206,"unknown_79":22016,"ignition":28,"odometer":null,"unknown_45":7864199769541044224}} 
[2026-07-25 09:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":140965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:59:05] local.INFO: GPS data processed {"connection_id":140965,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:59:05] local.INFO: Acknowledgment sent {"connection_id":140965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:59:06] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97878970012d6d6b40062a3a58001400562b..."} 
[2026-07-25 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97878970012d6d6b40062a3a58001400562b..."} 
[2026-07-25 09:59:06] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97878970012d6d6b40062a3a58001400562b..."} 
[2026-07-25 09:59:06] local.INFO: Packet analysis {"connection_id":140965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:59:06] local.INFO: Extracted packet for processing {"connection_id":140965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":762145600,"raw_latitude":103430744,"longitude_deg":76.21456,"latitude_deg":10.3430744,"altitude":20,"angle":86,"satellites":43,"speed":24,"hex_longitude":"2d6d6b40","hex_latitude":"062a3a58","is_valid_coordinates":true} 
[2026-07-25 09:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948136448001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357451397693702144,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874473606191204352,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784953670000,"timestamp_ms":1784953670000,"timestamp_seconds":1784953670,"priority":1,"record_length":96,"hex_timestamp":"0000019f97878970"} 
[2026-07-25 09:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 09:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":140965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948136448001,"66":27843,"196":206,"79":22016,"24":24,"16":357451397693702144,"45":7874473606191204352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-25 09:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948136448001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:59:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 09:59:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357451397693702144,"km_value":357451397693702.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874473606191204352,"description":"Unknown IO ID 45"} 
[2026-07-25 09:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948136448001,"power":27843,"unknown_196":206,"unknown_79":22016,"ignition":24,"odometer":null,"unknown_45":7874473606191204352}} 
[2026-07-25 09:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":140965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:59:06] local.INFO: GPS data processed {"connection_id":140965,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:59:06] local.INFO: Acknowledgment sent {"connection_id":140965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:59:37] local.INFO: TCP Data received {"connection_id":140965,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9787db78012d6d8380062a3b90001800582a..."} 
[2026-07-25 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9787db78012d6d8380062a3b90001800582a..."} 
[2026-07-25 09:59:37] local.INFO: Processing buffer {"connection_id":140965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9787db78012d6d8380062a3b90001800582a..."} 
[2026-07-25 09:59:37] local.INFO: Packet analysis {"connection_id":140965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:59:37] local.INFO: Extracted packet for processing {"connection_id":140965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9787"} 
[2026-07-25 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":762151808,"raw_latitude":103431056,"longitude_deg":76.2151808,"latitude_deg":10.3431056,"altitude":24,"angle":88,"satellites":42,"speed":20,"hex_longitude":"2d6d8380","hex_latitude":"062a3b90","is_valid_coordinates":true} 
[2026-07-25 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 09:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948139520001,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357451694046445568,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7884465967864633344,"note":"Value kept but may cause issues"} 
[2026-07-25 09:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 09:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784953691000,"timestamp_ms":1784953691000,"timestamp_seconds":1784953691,"priority":1,"record_length":96,"hex_timestamp":"0000019f9787db78"} 
[2026-07-25 09:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 09:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 09:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 09:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 09:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 09:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 09:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 09:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 09:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 09:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 09:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948139520001,"66":28006,"196":206,"79":22016,"24":20,"16":357451694046445568,"45":7884465967864633344},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-25 09:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 09:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 09:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948139520001,"description":"Unknown IO ID 0"} 
[2026-07-25 09:59:37] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 09:59:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 09:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357451694046445568,"km_value":357451694046445.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 09:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7884465967864633344,"description":"Unknown IO ID 45"} 
[2026-07-25 09:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948139520001,"power":28006,"unknown_196":206,"unknown_79":22016,"ignition":20,"odometer":null,"unknown_45":7884465967864633344}} 
[2026-07-25 09:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":140965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 09:59:37] local.INFO: GPS data processed {"connection_id":140965,"processed":1,"errors":0,"total":1} 
[2026-07-25 09:59:37] local.INFO: Acknowledgment sent {"connection_id":140965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 09:59:56] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:56] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:56] local.INFO: IMEI packet received {"connection_id":143366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 09:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":143366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 09:59:57] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:57] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 09:59:57] local.INFO: IMEI packet received {"connection_id":143366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 09:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":143366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:00:01] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:01] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:01] local.INFO: IMEI packet received {"connection_id":143366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":143366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:00:02] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97881610012d6da780062a3eb8001a00542b..."} 
[2026-07-25 10:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97881610012d6da780062a3eb8001a00542b..."} 
[2026-07-25 10:00:02] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97881610012d6da780062a3eb8001a00542b..."} 
[2026-07-25 10:00:02] local.INFO: Packet analysis {"connection_id":143366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:00:02] local.INFO: Extracted packet for processing {"connection_id":143366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:00:02] local.INFO: GPS Element Parsed {"raw_longitude":762161024,"raw_latitude":103431864,"longitude_deg":76.2161024,"latitude_deg":10.3431864,"altitude":26,"angle":84,"satellites":43,"speed":20,"hex_longitude":"2d6da780","hex_latitude":"062a3eb8","is_valid_coordinates":true} 
[2026-07-25 10:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948144896001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357452136428077056,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7891291736049946624,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953706000,"timestamp_ms":1784953706000,"timestamp_seconds":1784953706,"priority":1,"record_length":96,"hex_timestamp":"0000019f97881610"} 
[2026-07-25 10:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 10:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948144896001,"66":27930,"195":206,"79":22016,"24":20,"16":357452136428077056,"45":7891291736049946624},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948144896001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:00:02] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:00:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357452136428077056,"km_value":357452136428077.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7891291736049946624,"description":"Unknown IO ID 45"} 
[2026-07-25 10:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948144896001,"power":27930,"unknown_195":206,"unknown_79":22016,"ignition":20,"odometer":null,"unknown_45":7891291736049946624}} 
[2026-07-25 10:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":143366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:00:02] local.INFO: GPS data processed {"connection_id":143366,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:00:02] local.INFO: Acknowledgment sent {"connection_id":143366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:00:06] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97886818012d6dc3c0062a4078001e00592c..."} 
[2026-07-25 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97886818012d6dc3c0062a4078001e00592c..."} 
[2026-07-25 10:00:06] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97886818012d6dc3c0062a4078001e00592c..."} 
[2026-07-25 10:00:06] local.INFO: Packet analysis {"connection_id":143366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:00:06] local.INFO: Extracted packet for processing {"connection_id":143366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":762168256,"raw_latitude":103432312,"longitude_deg":76.2168256,"latitude_deg":10.3432312,"altitude":30,"angle":89,"satellites":44,"speed":18,"hex_longitude":"2d6dc3c0","hex_latitude":"062a4078","is_valid_coordinates":true} 
[2026-07-25 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948148736001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357452484320428032,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7901424835211737088,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784953727000,"timestamp_ms":1784953727000,"timestamp_seconds":1784953727,"priority":1,"record_length":96,"hex_timestamp":"0000019f97886818"} 
[2026-07-25 10:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948148736001,"66":28093,"195":206,"79":22016,"24":18,"16":357452484320428032,"45":7901424835211737088},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948148736001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:00:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:00:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357452484320428032,"km_value":357452484320428.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7901424835211737088,"description":"Unknown IO ID 45"} 
[2026-07-25 10:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948148736001,"power":28093,"unknown_195":206,"unknown_79":22016,"ignition":18,"odometer":null,"unknown_45":7901424835211737088}} 
[2026-07-25 10:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":143366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:00:06] local.INFO: GPS data processed {"connection_id":143366,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:00:06] local.INFO: Acknowledgment sent {"connection_id":143366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:00:40] local.INFO: TCP Data received {"connection_id":143366,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9788aa80012d6de940062a40180020005d2a..."} 
[2026-07-25 10:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9788aa80012d6de940062a40180020005d2a..."} 
[2026-07-25 10:00:40] local.INFO: Processing buffer {"connection_id":143366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9788aa80012d6de940062a40180020005d2a..."} 
[2026-07-25 10:00:40] local.INFO: Packet analysis {"connection_id":143366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:00:40] local.INFO: Extracted packet for processing {"connection_id":143366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:00:40] local.INFO: GPS Element Parsed {"raw_longitude":762177856,"raw_latitude":103432216,"longitude_deg":76.2177856,"latitude_deg":10.3432216,"altitude":32,"angle":93,"satellites":42,"speed":26,"hex_longitude":"2d6de940","hex_latitude":"062a4018","is_valid_coordinates":true} 
[2026-07-25 10:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948154112001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357452943881928704,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7909376503303927808,"note":"Value kept but may cause issues"} 
[2026-07-25 10:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784953744000,"timestamp_ms":1784953744000,"timestamp_seconds":1784953744,"priority":1,"record_length":96,"hex_timestamp":"0000019f9788aa80"} 
[2026-07-25 10:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-25 10:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948154112001,"66":27821,"195":206,"79":22016,"24":26,"16":357452943881928704,"45":7909376503303927808},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948154112001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:00:40] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:00:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357452943881928704,"km_value":357452943881928.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7909376503303927808,"description":"Unknown IO ID 45"} 
[2026-07-25 10:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948154112001,"power":27821,"unknown_195":206,"unknown_79":22016,"ignition":26,"odometer":null,"unknown_45":7909376503303927808}} 
[2026-07-25 10:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":143366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:00:40] local.INFO: GPS data processed {"connection_id":143366,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:00:40] local.INFO: Acknowledgment sent {"connection_id":143366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:00:56] local.INFO: TCP Data received {"connection_id":142014,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:56] local.INFO: Processing buffer {"connection_id":142014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:56] local.INFO: IMEI packet received {"connection_id":142014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":142014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:00:58] local.INFO: TCP Data received {"connection_id":142014,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:58] local.INFO: Processing buffer {"connection_id":142014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:00:58] local.INFO: IMEI packet received {"connection_id":142014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":142014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:01:01] local.INFO: TCP Data received {"connection_id":142014,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:01:01] local.INFO: Processing buffer {"connection_id":142014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:01:01] local.INFO: IMEI packet received {"connection_id":142014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":142014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:01:02] local.INFO: TCP Data received {"connection_id":142014,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f9788dd48012d6e0d80062a3dd0001f005b29..."} 
[2026-07-25 10:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9788dd48012d6e0d80062a3dd0001f005b29..."} 
[2026-07-25 10:01:02] local.INFO: Processing buffer {"connection_id":142014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9788dd48012d6e0d80062a3dd0001f005b29..."} 
[2026-07-25 10:01:02] local.INFO: Packet analysis {"connection_id":142014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:01:02] local.INFO: Extracted packet for processing {"connection_id":142014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9788"} 
[2026-07-25 10:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762187136,"raw_latitude":103431632,"longitude_deg":76.2187136,"latitude_deg":10.3431632,"altitude":31,"angle":91,"satellites":41,"speed":27,"hex_longitude":"2d6e0d80","hex_latitude":"062a3dd0","is_valid_coordinates":true} 
[2026-07-25 10:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948158464001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357453381968592896,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7919931814930552832,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953757000,"timestamp_ms":1784953757000,"timestamp_seconds":1784953757,"priority":1,"record_length":96,"hex_timestamp":"0000019f9788dd48"} 
[2026-07-25 10:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 10:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948158464001,"66":27908,"195":206,"79":22016,"24":27,"16":357453381968592896,"45":7919931814930552832},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948158464001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:01:02] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:01:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357453381968592896,"km_value":357453381968592.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7919931814930552832,"description":"Unknown IO ID 45"} 
[2026-07-25 10:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948158464001,"power":27908,"unknown_195":206,"unknown_79":22016,"ignition":27,"odometer":null,"unknown_45":7919931814930552832}} 
[2026-07-25 10:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":142014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:01:02] local.INFO: GPS data processed {"connection_id":142014,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:01:02] local.INFO: Acknowledgment sent {"connection_id":142014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:01:03] local.INFO: TCP Data received {"connection_id":142014,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97891fb0012d6e3180062a3ab0001c00632a..."} 
[2026-07-25 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97891fb0012d6e3180062a3ab0001c00632a..."} 
[2026-07-25 10:01:03] local.INFO: Processing buffer {"connection_id":142014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97891fb0012d6e3180062a3ab0001c00632a..."} 
[2026-07-25 10:01:03] local.INFO: Packet analysis {"connection_id":142014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9789"} 
[2026-07-25 10:01:03] local.INFO: Extracted packet for processing {"connection_id":142014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9789"} 
[2026-07-25 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762196352,"raw_latitude":103430832,"longitude_deg":76.2196352,"latitude_deg":10.3430832,"altitude":28,"angle":99,"satellites":42,"speed":21,"hex_longitude":"2d6e3180","hex_latitude":"062a3ab0","is_valid_coordinates":true} 
[2026-07-25 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948161792001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357453824350224384,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7930135282836164608,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784953774000,"timestamp_ms":1784953774000,"timestamp_seconds":1784953774,"priority":1,"record_length":96,"hex_timestamp":"0000019f97891fb0"} 
[2026-07-25 10:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948161792001,"66":27876,"195":206,"79":22016,"24":21,"16":357453824350224384,"45":7930135282836164608},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948161792001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357453824350224384,"km_value":357453824350224.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7930135282836164608,"description":"Unknown IO ID 45"} 
[2026-07-25 10:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948161792001,"power":27876,"unknown_195":206,"unknown_79":22016,"ignition":21,"odometer":null,"unknown_45":7930135282836164608}} 
[2026-07-25 10:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":142014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:01:03] local.INFO: GPS data processed {"connection_id":142014,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:01:03] local.INFO: Acknowledgment sent {"connection_id":142014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:01:34] local.INFO: TCP Data received {"connection_id":142014,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f97895660012d6e4c00062a3760001c00552b..."} 
[2026-07-25 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97895660012d6e4c00062a3760001c00552b..."} 
[2026-07-25 10:01:34] local.INFO: Processing buffer {"connection_id":142014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97895660012d6e4c00062a3760001c00552b..."} 
[2026-07-25 10:01:34] local.INFO: Packet analysis {"connection_id":142014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9789"} 
[2026-07-25 10:01:34] local.INFO: Extracted packet for processing {"connection_id":142014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9789"} 
[2026-07-25 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":762203136,"raw_latitude":103429984,"longitude_deg":76.2203136,"latitude_deg":10.3429984,"altitude":28,"angle":85,"satellites":43,"speed":14,"hex_longitude":"2d6e4c00","hex_latitude":"062a3760","is_valid_coordinates":true} 
[2026-07-25 10:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948166144001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357454155062706176,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7940268381997543424,"note":"Value kept but may cause issues"} 
[2026-07-25 10:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784953788000,"timestamp_ms":1784953788000,"timestamp_seconds":1784953788,"priority":1,"record_length":96,"hex_timestamp":"0000019f97895660"} 
[2026-07-25 10:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948166144001,"66":27800,"195":206,"79":22016,"24":14,"16":357454155062706176,"45":7940268381997543424},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948166144001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357454155062706176,"km_value":357454155062706.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7940268381997543424,"description":"Unknown IO ID 45"} 
[2026-07-25 10:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948166144001,"power":27800,"unknown_195":206,"unknown_79":22016,"ignition":14,"odometer":null,"unknown_45":7940268381997543424}} 
[2026-07-25 10:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":142014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:01:34] local.INFO: GPS data processed {"connection_id":142014,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:01:34] local.INFO: Acknowledgment sent {"connection_id":142014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:01:56] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:01:56] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:01:56] local.INFO: IMEI packet received {"connection_id":140966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":140966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:02:01] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:02:01] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:02:01] local.INFO: IMEI packet received {"connection_id":140966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":140966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:02:02] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f978a44a8012d6ebc40062a57b80018001129..."} 
[2026-07-25 10:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978a44a8012d6ebc40062a57b80018001129..."} 
[2026-07-25 10:02:02] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978a44a8012d6ebc40062a57b80018001129..."} 
[2026-07-25 10:02:02] local.INFO: Packet analysis {"connection_id":140966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:02:02] local.INFO: Extracted packet for processing {"connection_id":140966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:02:02] local.INFO: GPS Element Parsed {"raw_longitude":762231872,"raw_latitude":103438264,"longitude_deg":76.2231872,"latitude_deg":10.3438264,"altitude":24,"angle":17,"satellites":41,"speed":14,"hex_longitude":"2d6ebc40","hex_latitude":"062a57b8","is_valid_coordinates":true} 
[2026-07-25 10:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948185088001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357455821510017024,"note":"Value kept but may cause issues"} 
[2026-07-25 10:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7979182297529597952,"note":"Value kept but may cause issues"} 
[2026-07-25 10:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784953849000,"timestamp_ms":1784953849000,"timestamp_seconds":1784953849,"priority":1,"record_length":96,"hex_timestamp":"0000019f978a44a8"} 
[2026-07-25 10:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948185088001,"66":28028,"243":206,"79":22016,"24":14,"16":357455821510017024,"45":7979182297529597952},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948185088001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:02:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:02:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357455821510017024,"km_value":357455821510017.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7979182297529597952,"description":"Unknown IO ID 45"} 
[2026-07-25 10:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948185088001,"power":28028,"unknown_243":206,"unknown_79":22016,"ignition":14,"odometer":null,"unknown_45":7979182297529597952}} 
[2026-07-25 10:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":140966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:02:02] local.INFO: GPS data processed {"connection_id":140966,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:02:02] local.INFO: Acknowledgment sent {"connection_id":140966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:02:33] local.INFO: TCP Data received {"connection_id":140966,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f978a7f40012d6ec0c0062a63980019001d28..."} 
[2026-07-25 10:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978a7f40012d6ec0c0062a63980019001d28..."} 
[2026-07-25 10:02:33] local.INFO: Processing buffer {"connection_id":140966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978a7f40012d6ec0c0062a63980019001d28..."} 
[2026-07-25 10:02:33] local.INFO: Packet analysis {"connection_id":140966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:02:33] local.INFO: Extracted packet for processing {"connection_id":140966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:02:33] local.INFO: GPS Element Parsed {"raw_longitude":762233024,"raw_latitude":103441304,"longitude_deg":76.2233024,"latitude_deg":10.3441304,"altitude":25,"angle":29,"satellites":40,"speed":18,"hex_longitude":"2d6ec0c0","hex_latitude":"062a6398","is_valid_coordinates":true} 
[2026-07-25 10:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948185344001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357455984718774272,"note":"Value kept but may cause issues"} 
[2026-07-25 10:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7979323035018049536,"note":"Value kept but may cause issues"} 
[2026-07-25 10:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784953864000,"timestamp_ms":1784953864000,"timestamp_seconds":1784953864,"priority":1,"record_length":96,"hex_timestamp":"0000019f978a7f40"} 
[2026-07-25 10:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 10:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948185344001,"66":27919,"243":206,"79":22016,"24":18,"16":357455984718774272,"45":7979323035018049536},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948185344001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357455984718774272,"km_value":357455984718774.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7979323035018049536,"description":"Unknown IO ID 45"} 
[2026-07-25 10:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948185344001,"power":27919,"unknown_243":206,"unknown_79":22016,"ignition":18,"odometer":null,"unknown_45":7979323035018049536}} 
[2026-07-25 10:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":140966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:02:33] local.INFO: GPS data processed {"connection_id":140966,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:02:33] local.INFO: Acknowledgment sent {"connection_id":140966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:02:57] local.INFO: TCP Data received {"connection_id":142015,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:02:57] local.INFO: Processing buffer {"connection_id":142015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:02:57] local.INFO: IMEI packet received {"connection_id":142015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":142015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:03:04] local.INFO: TCP Data received {"connection_id":142015,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:04] local.INFO: Processing buffer {"connection_id":142015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:04] local.INFO: IMEI packet received {"connection_id":142015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":142015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:03:09] local.INFO: TCP Data received {"connection_id":142015,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:09] local.INFO: Processing buffer {"connection_id":142015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:09] local.INFO: IMEI packet received {"connection_id":142015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":142015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:03:10] local.INFO: TCP Data received {"connection_id":142015,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f978a9a98012d6ec7c0062a74500018001228..."} 
[2026-07-25 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978a9a98012d6ec7c0062a74500018001228..."} 
[2026-07-25 10:03:10] local.INFO: Processing buffer {"connection_id":142015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978a9a98012d6ec7c0062a74500018001228..."} 
[2026-07-25 10:03:10] local.INFO: Packet analysis {"connection_id":142015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:03:10] local.INFO: Extracted packet for processing {"connection_id":142015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":762234816,"raw_latitude":103445584,"longitude_deg":76.2234816,"latitude_deg":10.3445584,"altitude":24,"angle":18,"satellites":40,"speed":31,"hex_longitude":"2d6ec7c0","hex_latitude":"062a7450","is_valid_coordinates":true} 
[2026-07-25 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948189184001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357456208057073664,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7980589672414025728,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784953871000,"timestamp_ms":1784953871000,"timestamp_seconds":1784953871,"priority":1,"record_length":96,"hex_timestamp":"0000019f978a9a98"} 
[2026-07-25 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948189184001,"66":27919,"243":206,"79":22016,"24":31,"16":357456208057073664,"45":7980589672414025728},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948189184001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357456208057073664,"km_value":357456208057073.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7980589672414025728,"description":"Unknown IO ID 45"} 
[2026-07-25 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948189184001,"power":27919,"unknown_243":206,"unknown_79":22016,"ignition":31,"odometer":null,"unknown_45":7980589672414025728}} 
[2026-07-25 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":142015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:03:10] local.INFO: GPS data processed {"connection_id":142015,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:03:10] local.INFO: Acknowledgment sent {"connection_id":142015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:03:10] local.INFO: TCP Data received {"connection_id":142015,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f978ac978012d6ed1c0062a95700018000c28..."} 
[2026-07-25 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978ac978012d6ed1c0062a95700018000c28..."} 
[2026-07-25 10:03:10] local.INFO: Processing buffer {"connection_id":142015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978ac978012d6ed1c0062a95700018000c28..."} 
[2026-07-25 10:03:10] local.INFO: Packet analysis {"connection_id":142015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:03:10] local.INFO: Extracted packet for processing {"connection_id":142015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978a"} 
[2026-07-25 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":762237376,"raw_latitude":103454064,"longitude_deg":76.2237376,"latitude_deg":10.3454064,"altitude":24,"angle":12,"satellites":40,"speed":16,"hex_longitude":"2d6ed1c0","hex_latitude":"062a9570","is_valid_coordinates":true} 
[2026-07-25 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948190976001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357456637553803264,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7982559997252096000,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784953883000,"timestamp_ms":1784953883000,"timestamp_seconds":1784953883,"priority":1,"record_length":96,"hex_timestamp":"0000019f978ac978"} 
[2026-07-25 10:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948190976001,"66":27800,"243":206,"79":22016,"24":16,"16":357456637553803264,"45":7982559997252096000},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948190976001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357456637553803264,"km_value":357456637553803.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7982559997252096000,"description":"Unknown IO ID 45"} 
[2026-07-25 10:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948190976001,"power":27800,"unknown_243":206,"unknown_79":22016,"ignition":16,"odometer":null,"unknown_45":7982559997252096000}} 
[2026-07-25 10:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":142015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:03:10] local.INFO: GPS data processed {"connection_id":142015,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:03:10] local.INFO: Acknowledgment sent {"connection_id":142015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:03:56] local.INFO: TCP Data received {"connection_id":143367,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:56] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:56] local.INFO: IMEI packet received {"connection_id":143367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":143367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:03:58] local.INFO: TCP Data received {"connection_id":143367,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:58] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:03:58] local.INFO: IMEI packet received {"connection_id":143367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":143367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:03:58] local.INFO: TCP Data received {"connection_id":143367,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f978bea88012d6fb480062a7f78001700612b..."} 
[2026-07-25 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978bea88012d6fb480062a7f78001700612b..."} 
[2026-07-25 10:03:58] local.INFO: Processing buffer {"connection_id":143367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978bea88012d6fb480062a7f78001700612b..."} 
[2026-07-25 10:03:58] local.INFO: Packet analysis {"connection_id":143367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978b"} 
[2026-07-25 10:03:58] local.INFO: Extracted packet for processing {"connection_id":143367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978b"} 
[2026-07-25 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":762295424,"raw_latitude":103448440,"longitude_deg":76.2295424,"latitude_deg":10.344844,"altitude":23,"angle":97,"satellites":43,"speed":41,"hex_longitude":"2d6fb480","hex_latitude":"062a7f78","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948210688001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357459515181891584,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8038362411385827328,"note":"Value kept but may cause issues"} 
[2026-07-25 10:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784953957000,"timestamp_ms":1784953957000,"timestamp_seconds":1784953957,"priority":1,"record_length":96,"hex_timestamp":"0000019f978bea88"} 
[2026-07-25 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-07-25 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 10:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948210688001,"66":27930,"241":206,"79":22016,"24":41,"16":357459515181891584,"45":8038362411385827328},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,79,24,16,45]} 
[2026-07-25 10:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948210688001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:03:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 10:03:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357459515181891584,"km_value":357459515181891.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8038362411385827328,"description":"Unknown IO ID 45"} 
[2026-07-25 10:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948210688001,"power":27930,"unknown_241":206,"unknown_79":22016,"ignition":41,"odometer":null,"unknown_45":8038362411385827328}} 
[2026-07-25 10:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":143367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:03:58] local.INFO: GPS data processed {"connection_id":143367,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:03:58] local.INFO: Acknowledgment sent {"connection_id":143367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:04:40] local.INFO: TCP Data received {"connection_id":141017,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:04:40] local.INFO: Processing buffer {"connection_id":141017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:04:40] local.INFO: IMEI packet received {"connection_id":141017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":141017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:05:13] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:13] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:13] local.INFO: IMEI packet received {"connection_id":141018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":141018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:05:16] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:16] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:16] local.INFO: IMEI packet received {"connection_id":141018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":141018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:05:21] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:21] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:21] local.INFO: IMEI packet received {"connection_id":141018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":141018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:05:22] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978d3690012d7053c0062a8bf80009004828..."} 
[2026-07-25 10:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978d3690012d7053c0062a8bf80009004828..."} 
[2026-07-25 10:05:22] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978d3690012d7053c0062a8bf80009004828..."} 
[2026-07-25 10:05:22] local.INFO: Packet analysis {"connection_id":141018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:05:22] local.INFO: Extracted packet for processing {"connection_id":141018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:05:22] local.INFO: GPS Element Parsed {"raw_longitude":762336192,"raw_latitude":103451640,"longitude_deg":76.2336192,"latitude_deg":10.345164,"altitude":9,"angle":72,"satellites":40,"speed":0,"hex_longitude":"2d7053c0","hex_latitude":"062a8bf8","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948229376001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357461503751749632,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8094024088031066112,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784954042000,"timestamp_ms":1784954042000,"timestamp_seconds":1784954042,"priority":1,"record_length":96,"hex_timestamp":"0000019f978d3690"} 
[2026-07-25 10:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948229376001,"66":27843,"242":206,"79":22016,"24":0,"16":357461503751749632,"45":8094024088031066112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948229376001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:05:22] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:05:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357461503751749632,"km_value":357461503751749.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8094024088031066112,"description":"Unknown IO ID 45"} 
[2026-07-25 10:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948229376001,"power":27843,"unknown_242":206,"unknown_79":22016,"ignition":0,"odometer":null,"unknown_45":8094024088031066112}} 
[2026-07-25 10:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":141018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:05:22] local.INFO: GPS data processed {"connection_id":141018,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:05:22] local.INFO: Acknowledgment sent {"connection_id":141018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:05:26] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978d6d40012d705680062a8d08000b005629..."} 
[2026-07-25 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978d6d40012d705680062a8d08000b005629..."} 
[2026-07-25 10:05:26] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978d6d40012d705680062a8d08000b005629..."} 
[2026-07-25 10:05:26] local.INFO: Packet analysis {"connection_id":141018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:05:26] local.INFO: Extracted packet for processing {"connection_id":141018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":762336896,"raw_latitude":103451912,"longitude_deg":76.2336896,"latitude_deg":10.3451912,"altitude":11,"angle":86,"satellites":41,"speed":9,"hex_longitude":"2d705680","hex_latitude":"062a8d08","is_valid_coordinates":true} 
[2026-07-25 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948234752001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357461538111488000,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8094024088031066112,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784954056000,"timestamp_ms":1784954056000,"timestamp_seconds":1784954056,"priority":1,"record_length":96,"hex_timestamp":"0000019f978d6d40"} 
[2026-07-25 10:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948234752001,"66":28050,"242":206,"79":22016,"24":9,"16":357461538111488000,"45":8094024088031066112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948234752001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:05:26] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:05:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357461538111488000,"km_value":357461538111488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8094024088031066112,"description":"Unknown IO ID 45"} 
[2026-07-25 10:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948234752001,"power":28050,"unknown_242":206,"unknown_79":22016,"ignition":9,"odometer":null,"unknown_45":8094024088031066112}} 
[2026-07-25 10:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":141018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:05:26] local.INFO: GPS data processed {"connection_id":141018,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:05:26] local.INFO: Acknowledgment sent {"connection_id":141018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:05:53] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:53] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:53] local.INFO: IMEI packet received {"connection_id":140967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":140967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:05:56] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:56] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:56] local.INFO: IMEI packet received {"connection_id":140967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":140967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:05:58] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:58] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:05:58] local.INFO: IMEI packet received {"connection_id":140967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":140967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:05:59] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978d8c80012d7062c0062a8d68000d00682a..."} 
[2026-07-25 10:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978d8c80012d7062c0062a8d68000d00682a..."} 
[2026-07-25 10:05:59] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978d8c80012d7062c0062a8d68000d00682a..."} 
[2026-07-25 10:05:59] local.INFO: Packet analysis {"connection_id":140967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:05:59] local.INFO: Extracted packet for processing {"connection_id":140967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:05:59] local.INFO: GPS Element Parsed {"raw_longitude":762340032,"raw_latitude":103452008,"longitude_deg":76.2340032,"latitude_deg":10.3452008,"altitude":13,"angle":104,"satellites":42,"speed":17,"hex_longitude":"2d7062c0","hex_latitude":"062a8d68","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948238336001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357461688435343360,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8094798144217090048,"note":"Value kept but may cause issues"} 
[2026-07-25 10:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784954064000,"timestamp_ms":1784954064000,"timestamp_seconds":1784954064,"priority":1,"record_length":96,"hex_timestamp":"0000019f978d8c80"} 
[2026-07-25 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-07-25 10:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 10:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948238336001,"66":27974,"242":206,"79":22016,"24":17,"16":357461688435343360,"45":8094798144217090048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948238336001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:05:59] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357461688435343360,"km_value":357461688435343.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8094798144217090048,"description":"Unknown IO ID 45"} 
[2026-07-25 10:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948238336001,"power":27974,"unknown_242":206,"unknown_79":22016,"ignition":17,"odometer":null,"unknown_45":8094798144217090048}} 
[2026-07-25 10:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":140967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:05:59] local.INFO: GPS data processed {"connection_id":140967,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:05:59] local.INFO: Acknowledgment sent {"connection_id":140967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:06:37] local.INFO: TCP Data received {"connection_id":140967,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978d9450012d706640062a8c20000e00742a..."} 
[2026-07-25 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978d9450012d706640062a8c20000e00742a..."} 
[2026-07-25 10:06:37] local.INFO: Processing buffer {"connection_id":140967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978d9450012d706640062a8c20000e00742a..."} 
[2026-07-25 10:06:37] local.INFO: Packet analysis {"connection_id":140967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:06:37] local.INFO: Extracted packet for processing {"connection_id":140967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762340928,"raw_latitude":103451680,"longitude_deg":76.2340928,"latitude_deg":10.345168,"altitude":14,"angle":116,"satellites":42,"speed":18,"hex_longitude":"2d706640","hex_latitude":"062a8c20","is_valid_coordinates":true} 
[2026-07-25 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948240384001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357461735679983616,"note":"Value kept but may cause issues"} 
[2026-07-25 10:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8098246212681820160,"note":"Value kept but may cause issues"} 
[2026-07-25 10:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784954066000,"timestamp_ms":1784954066000,"timestamp_seconds":1784954066,"priority":1,"record_length":96,"hex_timestamp":"0000019f978d9450"} 
[2026-07-25 10:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948240384001,"66":27930,"242":206,"79":22016,"24":18,"16":357461735679983616,"45":8098246212681820160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948240384001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:06:37] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:06:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357461735679983616,"km_value":357461735679983.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8098246212681820160,"description":"Unknown IO ID 45"} 
[2026-07-25 10:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948240384001,"power":27930,"unknown_242":206,"unknown_79":22016,"ignition":18,"odometer":null,"unknown_45":8098246212681820160}} 
[2026-07-25 10:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":140967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:06:37] local.INFO: GPS data processed {"connection_id":140967,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:06:37] local.INFO: Acknowledgment sent {"connection_id":140967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:06:56] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:06:56] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:06:56] local.INFO: IMEI packet received {"connection_id":141019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":141019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:07:00] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:07:00] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:07:00] local.INFO: IMEI packet received {"connection_id":141019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":141019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:07:01] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978db390012d7071c0062a84300010008129..."} 
[2026-07-25 10:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978db390012d7071c0062a84300010008129..."} 
[2026-07-25 10:07:01] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978db390012d7071c0062a84300010008129..."} 
[2026-07-25 10:07:01] local.INFO: Packet analysis {"connection_id":141019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:07:01] local.INFO: Extracted packet for processing {"connection_id":141019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978d"} 
[2026-07-25 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":762343872,"raw_latitude":103449648,"longitude_deg":76.2343872,"latitude_deg":10.3449648,"altitude":16,"angle":129,"satellites":41,"speed":18,"hex_longitude":"2d7071c0","hex_latitude":"062a8430","is_valid_coordinates":true} 
[2026-07-25 10:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948240896001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357461907478675456,"note":"Value kept but may cause issues"} 
[2026-07-25 10:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8099231375100223488,"note":"Value kept but may cause issues"} 
[2026-07-25 10:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784954074000,"timestamp_ms":1784954074000,"timestamp_seconds":1784954074,"priority":1,"record_length":96,"hex_timestamp":"0000019f978db390"} 
[2026-07-25 10:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948240896001,"66":27974,"242":206,"79":22016,"24":18,"16":357461907478675456,"45":8099231375100223488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948240896001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:07:01] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:07:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":22016,"description":"Unknown IO ID 79"} 
[2026-07-25 10:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357461907478675456,"km_value":357461907478675.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8099231375100223488,"description":"Unknown IO ID 45"} 
[2026-07-25 10:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948240896001,"power":27974,"unknown_242":206,"unknown_79":22016,"ignition":18,"odometer":null,"unknown_45":8099231375100223488}} 
[2026-07-25 10:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":141019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:07:01] local.INFO: GPS data processed {"connection_id":141019,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:07:01] local.INFO: Acknowledgment sent {"connection_id":141019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:07:34] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978fab78012d71ed40062a54380014003f2c..."} 
[2026-07-25 10:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978fab78012d71ed40062a54380014003f2c..."} 
[2026-07-25 10:07:34] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978fab78012d71ed40062a54380014003f2c..."} 
[2026-07-25 10:07:34] local.INFO: Packet analysis {"connection_id":141019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:07:34] local.INFO: Extracted packet for processing {"connection_id":141019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":762441024,"raw_latitude":103437368,"longitude_deg":76.2441024,"latitude_deg":10.3437368,"altitude":20,"angle":63,"satellites":44,"speed":46,"hex_longitude":"2d71ed40","hex_latitude":"062a5438","is_valid_coordinates":true} 
[2026-07-25 10:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948273920001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357466915410542592,"note":"Value kept but may cause issues"} 
[2026-07-25 10:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8200210522990395392,"note":"Value kept but may cause issues"} 
[2026-07-25 10:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784954203000,"timestamp_ms":1784954203000,"timestamp_seconds":1784954203,"priority":1,"record_length":96,"hex_timestamp":"0000019f978fab78"} 
[2026-07-25 10:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 10:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948273920001,"66":27995,"7":206,"79":21248,"24":46,"16":357466915410542592,"45":8200210522990395392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,79,24,16,45]} 
[2026-07-25 10:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948273920001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:07:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 10:07:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-25 10:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357466915410542592,"km_value":357466915410542.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8200210522990395392,"description":"Unknown IO ID 45"} 
[2026-07-25 10:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948273920001,"power":27995,"unknown_7":206,"unknown_79":21248,"ignition":46,"odometer":null,"unknown_45":8200210522990395392}} 
[2026-07-25 10:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":141019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:07:34] local.INFO: GPS data processed {"connection_id":141019,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:07:34] local.INFO: Acknowledgment sent {"connection_id":141019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:07:56] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:07:56] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:07:56] local.INFO: IMEI packet received {"connection_id":140968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":140968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:08:00] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:08:00] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:08:00] local.INFO: IMEI packet received {"connection_id":140968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":140968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:08:01] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978fbb18012d71fcc0062a5da0001300332a..."} 
[2026-07-25 10:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978fbb18012d71fcc0062a5da0001300332a..."} 
[2026-07-25 10:08:01] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978fbb18012d71fcc0062a5da0001300332a..."} 
[2026-07-25 10:08:01] local.INFO: Packet analysis {"connection_id":140968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:08:01] local.INFO: Extracted packet for processing {"connection_id":140968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:08:01] local.INFO: GPS Element Parsed {"raw_longitude":762444992,"raw_latitude":103439776,"longitude_deg":76.2444992,"latitude_deg":10.3439776,"altitude":19,"angle":51,"satellites":42,"speed":46,"hex_longitude":"2d71fcc0","hex_latitude":"062a5da0","is_valid_coordinates":true} 
[2026-07-25 10:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948275968001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357467138748841984,"note":"Value kept but may cause issues"} 
[2026-07-25 10:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8209288090990426112,"note":"Value kept but may cause issues"} 
[2026-07-25 10:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784954207000,"timestamp_ms":1784954207000,"timestamp_seconds":1784954207,"priority":1,"record_length":96,"hex_timestamp":"0000019f978fbb18"} 
[2026-07-25 10:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948275968001,"66":27995,"7":206,"79":21248,"24":46,"16":357467138748841984,"45":8209288090990426112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,79,24,16,45]} 
[2026-07-25 10:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948275968001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:08:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 10:08:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-25 10:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357467138748841984,"km_value":357467138748842.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8209288090990426112,"description":"Unknown IO ID 45"} 
[2026-07-25 10:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948275968001,"power":27995,"unknown_7":206,"unknown_79":21248,"ignition":46,"odometer":null,"unknown_45":8209288090990426112}} 
[2026-07-25 10:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":140968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:08:01] local.INFO: GPS data processed {"connection_id":140968,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:08:01] local.INFO: Acknowledgment sent {"connection_id":140968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:08:35] local.INFO: TCP Data received {"connection_id":140968,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978fcab8012d720940062a6a68001100262b..."} 
[2026-07-25 10:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978fcab8012d720940062a6a68001100262b..."} 
[2026-07-25 10:08:35] local.INFO: Processing buffer {"connection_id":140968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978fcab8012d720940062a6a68001100262b..."} 
[2026-07-25 10:08:35] local.INFO: Packet analysis {"connection_id":140968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:08:35] local.INFO: Extracted packet for processing {"connection_id":140968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:08:35] local.INFO: GPS Element Parsed {"raw_longitude":762448192,"raw_latitude":103443048,"longitude_deg":76.2448192,"latitude_deg":10.3443048,"altitude":17,"angle":38,"satellites":43,"speed":43,"hex_longitude":"2d720940","hex_latitude":"062a6a68","is_valid_coordinates":true} 
[2026-07-25 10:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948276992001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357467357792174080,"note":"Value kept but may cause issues"} 
[2026-07-25 10:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8213650953130057728,"note":"Value kept but may cause issues"} 
[2026-07-25 10:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784954211000,"timestamp_ms":1784954211000,"timestamp_seconds":1784954211,"priority":1,"record_length":96,"hex_timestamp":"0000019f978fcab8"} 
[2026-07-25 10:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948276992001,"66":28006,"7":206,"79":21248,"24":43,"16":357467357792174080,"45":8213650953130057728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,79,24,16,45]} 
[2026-07-25 10:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948276992001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:08:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-25 10:08:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-25 10:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357467357792174080,"km_value":357467357792174.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8213650953130057728,"description":"Unknown IO ID 45"} 
[2026-07-25 10:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948276992001,"power":28006,"unknown_7":206,"unknown_79":21248,"ignition":43,"odometer":null,"unknown_45":8213650953130057728}} 
[2026-07-25 10:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":140968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:08:35] local.INFO: GPS data processed {"connection_id":140968,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:08:35] local.INFO: Acknowledgment sent {"connection_id":140968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:08:56] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:08:56] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:08:56] local.INFO: IMEI packet received {"connection_id":143368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":143368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:09:01] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:09:01] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:09:01] local.INFO: IMEI packet received {"connection_id":143368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":143368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:09:02] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f978fde40012d721600062a7968001100322a..."} 
[2026-07-25 10:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f978fde40012d721600062a7968001100322a..."} 
[2026-07-25 10:09:02] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f978fde40012d721600062a7968001100322a..."} 
[2026-07-25 10:09:02] local.INFO: Packet analysis {"connection_id":143368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:09:02] local.INFO: Extracted packet for processing {"connection_id":143368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f978f"} 
[2026-07-25 10:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762451456,"raw_latitude":103446888,"longitude_deg":76.2451456,"latitude_deg":10.3446888,"altitude":17,"angle":50,"satellites":42,"speed":36,"hex_longitude":"2d721600","hex_latitude":"062a7968","is_valid_coordinates":true} 
[2026-07-25 10:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948278016001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357467602605309952,"note":"Value kept but may cause issues"} 
[2026-07-25 10:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8217169390339778560,"note":"Value kept but may cause issues"} 
[2026-07-25 10:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784954216000,"timestamp_ms":1784954216000,"timestamp_seconds":1784954216,"priority":1,"record_length":96,"hex_timestamp":"0000019f978fde40"} 
[2026-07-25 10:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 10:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948278016001,"66":27974,"5":206,"79":21248,"24":36,"16":357467602605309952,"45":8217169390339778560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-07-25 10:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948278016001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:09:02] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-25 10:09:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-25 10:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357467602605309952,"km_value":357467602605309.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8217169390339778560,"description":"Unknown IO ID 45"} 
[2026-07-25 10:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948278016001,"power":27974,"unknown_5":206,"unknown_79":21248,"ignition":36,"odometer":null,"unknown_45":8217169390339778560}} 
[2026-07-25 10:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":143368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:09:02] local.INFO: GPS data processed {"connection_id":143368,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:09:02] local.INFO: Acknowledgment sent {"connection_id":143368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:09:34] local.INFO: TCP Data received {"connection_id":143368,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979160f8012d7336c0062a2f30000800762c..."} 
[2026-07-25 10:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979160f8012d7336c0062a2f30000800762c..."} 
[2026-07-25 10:09:34] local.INFO: Processing buffer {"connection_id":143368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979160f8012d7336c0062a2f30000800762c..."} 
[2026-07-25 10:09:34] local.INFO: Packet analysis {"connection_id":143368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:09:34] local.INFO: Extracted packet for processing {"connection_id":143368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:09:34] local.INFO: GPS Element Parsed {"raw_longitude":762525376,"raw_latitude":103427888,"longitude_deg":76.2525376,"latitude_deg":10.3427888,"altitude":8,"angle":118,"satellites":44,"speed":42,"hex_longitude":"2d7336c0","hex_latitude":"062a2f30","is_valid_coordinates":true} 
[2026-07-25 10:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948302336001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357471364996661248,"note":"Value kept but may cause issues"} 
[2026-07-25 10:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8292745421583863808,"note":"Value kept but may cause issues"} 
[2026-07-25 10:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784954315000,"timestamp_ms":1784954315000,"timestamp_seconds":1784954315,"priority":1,"record_length":96,"hex_timestamp":"0000019f979160f8"} 
[2026-07-25 10:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 10:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948302336001,"66":27908,"5":206,"79":21248,"24":42,"16":357471364996661248,"45":8292745421583863808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-07-25 10:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948302336001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-25 10:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357471364996661248,"km_value":357471364996661.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8292745421583863808,"description":"Unknown IO ID 45"} 
[2026-07-25 10:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948302336001,"power":27908,"unknown_5":206,"unknown_79":21248,"ignition":42,"odometer":null,"unknown_45":8292745421583863808}} 
[2026-07-25 10:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":143368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:09:34] local.INFO: GPS data processed {"connection_id":143368,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:09:34] local.INFO: Acknowledgment sent {"connection_id":143368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:09:56] local.INFO: TCP Data received {"connection_id":142016,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:09:56] local.INFO: Processing buffer {"connection_id":142016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:09:56] local.INFO: IMEI packet received {"connection_id":142016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":142016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:10:02] local.INFO: TCP Data received {"connection_id":142016,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:10:02] local.INFO: Processing buffer {"connection_id":142016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:10:02] local.INFO: IMEI packet received {"connection_id":142016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":142016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:10:02] local.INFO: TCP Data received {"connection_id":142016,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97917868012d734c40062a2180000800832c..."} 
[2026-07-25 10:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97917868012d734c40062a2180000800832c..."} 
[2026-07-25 10:10:02] local.INFO: Processing buffer {"connection_id":142016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97917868012d734c40062a2180000800832c..."} 
[2026-07-25 10:10:02] local.INFO: Packet analysis {"connection_id":142016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:10:02] local.INFO: Extracted packet for processing {"connection_id":142016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":762530880,"raw_latitude":103424384,"longitude_deg":76.253088,"latitude_deg":10.3424384,"altitude":8,"angle":131,"satellites":44,"speed":43,"hex_longitude":"2d734c40","hex_latitude":"062a2180","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948304640001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357471678529273856,"note":"Value kept but may cause issues"} 
[2026-07-25 10:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8302034095814160384,"note":"Value kept but may cause issues"} 
[2026-07-25 10:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784954321000,"timestamp_ms":1784954321000,"timestamp_seconds":1784954321,"priority":1,"record_length":96,"hex_timestamp":"0000019f97917868"} 
[2026-07-25 10:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948304640001,"66":27908,"5":206,"79":21248,"24":43,"16":357471678529273856,"45":8302034095814160384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,79,24,16,45]} 
[2026-07-25 10:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948304640001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:10:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-25 10:10:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21248,"description":"Unknown IO ID 79"} 
[2026-07-25 10:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357471678529273856,"km_value":357471678529273.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8302034095814160384,"description":"Unknown IO ID 45"} 
[2026-07-25 10:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948304640001,"power":27908,"unknown_5":206,"unknown_79":21248,"ignition":43,"odometer":null,"unknown_45":8302034095814160384}} 
[2026-07-25 10:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":142016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:10:03] local.INFO: GPS data processed {"connection_id":142016,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:10:03] local.INFO: Acknowledgment sent {"connection_id":142016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:10:33] local.INFO: TCP Data received {"connection_id":142016,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97919b90012d7365c0062a0908000b008129..."} 
[2026-07-25 10:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97919b90012d7365c0062a0908000b008129..."} 
[2026-07-25 10:10:33] local.INFO: Processing buffer {"connection_id":142016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97919b90012d7365c0062a0908000b008129..."} 
[2026-07-25 10:10:33] local.INFO: Packet analysis {"connection_id":142016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:10:33] local.INFO: Extracted packet for processing {"connection_id":142016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762537408,"raw_latitude":103418120,"longitude_deg":76.2537408,"latitude_deg":10.341812,"altitude":11,"angle":129,"satellites":41,"speed":31,"hex_longitude":"2d7365c0","hex_latitude":"062a0908","is_valid_coordinates":true} 
[2026-07-25 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948306176001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357472112320970752,"note":"Value kept but may cause issues"} 
[2026-07-25 10:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8308085807812542464,"note":"Value kept but may cause issues"} 
[2026-07-25 10:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784954330000,"timestamp_ms":1784954330000,"timestamp_seconds":1784954330,"priority":1,"record_length":96,"hex_timestamp":"0000019f97919b90"} 
[2026-07-25 10:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948306176001,"66":27843,"202":206,"79":21504,"24":31,"16":357472112320970752,"45":8308085807812542464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-07-25 10:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948306176001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:10:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357472112320970752,"km_value":357472112320970.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8308085807812542464,"description":"Unknown IO ID 45"} 
[2026-07-25 10:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948306176001,"power":27843,"mcc":206,"unknown_79":21504,"ignition":31,"odometer":null,"unknown_45":8308085807812542464}} 
[2026-07-25 10:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":142016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:10:34] local.INFO: GPS data processed {"connection_id":142016,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:10:34] local.INFO: Acknowledgment sent {"connection_id":142016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:11:01] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:01] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:01] local.INFO: IMEI packet received {"connection_id":141020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":141020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:11:02] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:02] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:02] local.INFO: IMEI packet received {"connection_id":141020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:11:06] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:06] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:06] local.INFO: IMEI packet received {"connection_id":141020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":141020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:11:11] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9791c2a0012d7370c0062a01a0000d00732c..."} 
[2026-07-25 10:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9791c2a0012d7370c0062a01a0000d00732c..."} 
[2026-07-25 10:11:11] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9791c2a0012d7370c0062a01a0000d00732c..."} 
[2026-07-25 10:11:11] local.INFO: Packet analysis {"connection_id":141020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:11] local.INFO: Extracted packet for processing {"connection_id":141020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":762540224,"raw_latitude":103416224,"longitude_deg":76.2540224,"latitude_deg":10.3416224,"altitude":13,"angle":115,"satellites":44,"speed":11,"hex_longitude":"2d7370c0","hex_latitude":"062a01a0","is_valid_coordinates":true} 
[2026-07-25 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948308480001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357472279824695296,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8315263419717060608,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784954340000,"timestamp_ms":1784954340000,"timestamp_seconds":1784954340,"priority":1,"record_length":96,"hex_timestamp":"0000019f9791c2a0"} 
[2026-07-25 10:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948308480001,"66":27995,"202":206,"79":21504,"24":11,"16":357472279824695296,"45":8315263419717060608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-07-25 10:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948308480001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:11:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357472279824695296,"km_value":357472279824695.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8315263419717060608,"description":"Unknown IO ID 45"} 
[2026-07-25 10:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948308480001,"power":27995,"mcc":206,"unknown_79":21504,"ignition":11,"odometer":null,"unknown_45":8315263419717060608}} 
[2026-07-25 10:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":141020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:11:11] local.INFO: GPS data processed {"connection_id":141020,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:11:11] local.INFO: Acknowledgment sent {"connection_id":141020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:11:12] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.1","data_length":1348,"data_hex":"000000000000030f8e0a0000019f9791d628012d7377c00629fef0000d00652c..."} 
[2026-07-25 10:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f9791d628012d7377c00629fef0000d00652c..."} 
[2026-07-25 10:11:12] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f9791d628012d7377c00629fef0000d00652c..."} 
[2026-07-25 10:11:12] local.INFO: Packet analysis {"connection_id":141020,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:12] local.INFO: Extracted packet for processing {"connection_id":141020,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:12] local.INFO: GPS Element Parsed {"raw_longitude":762542016,"raw_latitude":103415536,"longitude_deg":76.2542016,"latitude_deg":10.3415536,"altitude":13,"angle":101,"satellites":44,"speed":17,"hex_longitude":"2d7377c0","hex_latitude":"0629fef0","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948311040001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357472370019008512,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8318359644460392448,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784954345000,"timestamp_ms":1784954345000,"timestamp_seconds":1784954345,"priority":1,"record_length":96,"hex_timestamp":"0000019f9791d628"} 
[2026-07-25 10:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948311040001,"66":27876,"202":206,"79":21504,"24":17,"16":357472370019008512,"45":8318359644460392448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-07-25 10:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948311040001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:11:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357472370019008512,"km_value":357472370019008.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8318359644460392448,"description":"Unknown IO ID 45"} 
[2026-07-25 10:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948311040001,"power":27876,"mcc":206,"unknown_79":21504,"ignition":17,"odometer":null,"unknown_45":8318359644460392448}} 
[2026-07-25 10:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":141020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:11:12] local.INFO: GPS data processed {"connection_id":141020,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:11:12] local.INFO: Acknowledgment sent {"connection_id":141020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:11:12] local.INFO: Packet analysis {"connection_id":141020,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:12] local.INFO: Incomplete packet, waiting for more data {"connection_id":141020,"needed":795,"available":553} 
[2026-07-25 10:11:13] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.1","data_length":242,"data_hex":"0000000000019f979112d8012d72f480062a5310000a00762b001c0000000a00..."} 
[2026-07-25 10:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":242,"packet_hex":"0000000000019f979112d8012d72f480062a5310000a00762b001c0000000a00..."} 
[2026-07-25 10:11:13] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9791e9b0012d7382400629fe80000d00572c..."} 
[2026-07-25 10:11:13] local.INFO: Packet analysis {"connection_id":141020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:13] local.INFO: Extracted packet for processing {"connection_id":141020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9791"} 
[2026-07-25 10:11:13] local.INFO: GPS Element Parsed {"raw_longitude":762544704,"raw_latitude":103415424,"longitude_deg":76.2544704,"latitude_deg":10.3415424,"altitude":13,"angle":87,"satellites":44,"speed":25,"hex_longitude":"2d738240","hex_latitude":"0629fe80","is_valid_coordinates":true} 
[2026-07-25 10:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948312320001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357472498868027392,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8320329969297190912,"note":"Value kept but may cause issues"} 
[2026-07-25 10:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784954350000,"timestamp_ms":1784954350000,"timestamp_seconds":1784954350,"priority":1,"record_length":96,"hex_timestamp":"0000019f9791e9b0"} 
[2026-07-25 10:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10: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-07-25 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948312320001,"66":27919,"202":206,"79":21504,"24":25,"16":357472498868027392,"45":8320329969297190912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-07-25 10:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948312320001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:11:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357472498868027392,"km_value":357472498868027.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8320329969297190912,"description":"Unknown IO ID 45"} 
[2026-07-25 10:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948312320001,"power":27919,"mcc":206,"unknown_79":21504,"ignition":25,"odometer":null,"unknown_45":8320329969297190912}} 
[2026-07-25 10:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":141020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:11:13] local.INFO: GPS data processed {"connection_id":141020,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:11:13] local.INFO: Acknowledgment sent {"connection_id":141020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:11:56] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:56] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:56] local.INFO: IMEI packet received {"connection_id":140969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":140969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:11:59] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:59] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:11:59] local.INFO: IMEI packet received {"connection_id":140969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":140969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:12:00] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9793c258012d751780062a0998000f005329..."} 
[2026-07-25 10:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9793c258012d751780062a0998000f005329..."} 
[2026-07-25 10:12:00] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9793c258012d751780062a0998000f005329..."} 
[2026-07-25 10:12:00] local.INFO: Packet analysis {"connection_id":140969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9793"} 
[2026-07-25 10:12:00] local.INFO: Extracted packet for processing {"connection_id":140969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9793"} 
[2026-07-25 10:12:00] local.INFO: GPS Element Parsed {"raw_longitude":762648448,"raw_latitude":103418264,"longitude_deg":76.2648448,"latitude_deg":10.3418264,"altitude":15,"angle":83,"satellites":41,"speed":40,"hex_longitude":"2d751780","hex_latitude":"062a0998","is_valid_coordinates":true} 
[2026-07-25 10:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948343296001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357477515389829120,"note":"Value kept but may cause issues"} 
[2026-07-25 10:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8431864428819519488,"note":"Value kept but may cause issues"} 
[2026-07-25 10:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784954471000,"timestamp_ms":1784954471000,"timestamp_seconds":1784954471,"priority":1,"record_length":96,"hex_timestamp":"0000019f9793c258"} 
[2026-07-25 10:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 10:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":140969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":140969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":140969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948343296001,"66":27995,"201":206,"79":21504,"24":40,"16":357477515389829120,"45":8431864428819519488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948343296001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:12:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:12:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357477515389829120,"km_value":357477515389829.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8431864428819519488,"description":"Unknown IO ID 45"} 
[2026-07-25 10:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948343296001,"power":27995,"unknown_201":206,"unknown_79":21504,"ignition":40,"odometer":null,"unknown_45":8431864428819519488}} 
[2026-07-25 10:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":140969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:12:00] local.INFO: GPS data processed {"connection_id":140969,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:12:00] local.INFO: Acknowledgment sent {"connection_id":140969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:12:31] local.INFO: TCP Data received {"connection_id":140969,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9793e968012d753a80062a11f00010004827..."} 
[2026-07-25 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9793e968012d753a80062a11f00010004827..."} 
[2026-07-25 10:12:31] local.INFO: Processing buffer {"connection_id":140969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9793e968012d753a80062a11f00010004827..."} 
[2026-07-25 10:12:31] local.INFO: Packet analysis {"connection_id":140969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9793"} 
[2026-07-25 10:12:31] local.INFO: Extracted packet for processing {"connection_id":140969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9793"} 
[2026-07-25 10:12:31] local.INFO: GPS Element Parsed {"raw_longitude":762657408,"raw_latitude":103420400,"longitude_deg":76.2657408,"latitude_deg":10.34204,"altitude":16,"angle":72,"satellites":39,"speed":28,"hex_longitude":"2d753a80","hex_latitude":"062a11f0","is_valid_coordinates":true} 
[2026-07-25 10:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948344576001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357477953476493312,"note":"Value kept but may cause issues"} 
[2026-07-25 10:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8437353190865344512,"note":"Value kept but may cause issues"} 
[2026-07-25 10:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784954481000,"timestamp_ms":1784954481000,"timestamp_seconds":1784954481,"priority":1,"record_length":96,"hex_timestamp":"0000019f9793e968"} 
[2026-07-25 10:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":140969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":140969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":140969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948344576001,"66":27995,"201":206,"79":21504,"24":28,"16":357477953476493312,"45":8437353190865344512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948344576001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:12:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:12:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357477953476493312,"km_value":357477953476493.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8437353190865344512,"description":"Unknown IO ID 45"} 
[2026-07-25 10:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948344576001,"power":27995,"unknown_201":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8437353190865344512}} 
[2026-07-25 10:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":140969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:12:31] local.INFO: GPS data processed {"connection_id":140969,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:12:31] local.INFO: Acknowledgment sent {"connection_id":140969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:12:54] local.INFO: TCP Data received {"connection_id":142017,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:54] local.INFO: Processing buffer {"connection_id":142017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:54] local.INFO: IMEI packet received {"connection_id":142017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":142017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:12:56] local.INFO: TCP Data received {"connection_id":142017,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:56] local.INFO: Processing buffer {"connection_id":142017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:56] local.INFO: IMEI packet received {"connection_id":142017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":142017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:12:57] local.INFO: TCP Data received {"connection_id":142017,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:57] local.INFO: Processing buffer {"connection_id":142017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:12:57] local.INFO: IMEI packet received {"connection_id":142017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":142017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:13:01] local.INFO: TCP Data received {"connection_id":142017,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:13:01] local.INFO: Processing buffer {"connection_id":142017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:13:01] local.INFO: IMEI packet received {"connection_id":142017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":142017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:13:02] local.INFO: TCP Data received {"connection_id":142017,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9793e968012d753a80062a11f00010004827..."} 
[2026-07-25 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9793e968012d753a80062a11f00010004827..."} 
[2026-07-25 10:13:02] local.INFO: Processing buffer {"connection_id":142017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9793e968012d753a80062a11f00010004827..."} 
[2026-07-25 10:13:02] local.INFO: Packet analysis {"connection_id":142017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9793"} 
[2026-07-25 10:13:02] local.INFO: Extracted packet for processing {"connection_id":142017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9793"} 
[2026-07-25 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":762657408,"raw_latitude":103420400,"longitude_deg":76.2657408,"latitude_deg":10.34204,"altitude":16,"angle":72,"satellites":39,"speed":28,"hex_longitude":"2d753a80","hex_latitude":"062a11f0","is_valid_coordinates":true} 
[2026-07-25 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948347136001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357477953476493312,"note":"Value kept but may cause issues"} 
[2026-07-25 10:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8447204815050764288,"note":"Value kept but may cause issues"} 
[2026-07-25 10:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784954481000,"timestamp_ms":1784954481000,"timestamp_seconds":1784954481,"priority":1,"record_length":96,"hex_timestamp":"0000019f9793e968"} 
[2026-07-25 10:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948347136001,"66":27995,"201":206,"79":21504,"24":28,"16":357477953476493312,"45":8447204815050764288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948347136001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:13:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:13:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357477953476493312,"km_value":357477953476493.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8447204815050764288,"description":"Unknown IO ID 45"} 
[2026-07-25 10:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948347136001,"power":27995,"unknown_201":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8447204815050764288}} 
[2026-07-25 10:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":142017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:13:02] local.INFO: GPS data processed {"connection_id":142017,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:13:02] local.INFO: Acknowledgment sent {"connection_id":142017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:13:38] local.INFO: TCP Data received {"connection_id":142017,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979529b8012d761a800629ea600008008a26..."} 
[2026-07-25 10:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979529b8012d761a800629ea600008008a26..."} 
[2026-07-25 10:13:38] local.INFO: Processing buffer {"connection_id":142017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979529b8012d761a800629ea600008008a26..."} 
[2026-07-25 10:13:38] local.INFO: Packet analysis {"connection_id":142017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:13:38] local.INFO: Extracted packet for processing {"connection_id":142017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":762714752,"raw_latitude":103410272,"longitude_deg":76.2714752,"latitude_deg":10.3410272,"altitude":8,"angle":138,"satellites":38,"speed":35,"hex_longitude":"2d761a80","hex_latitude":"0629ea60","is_valid_coordinates":true} 
[2026-07-25 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948366080001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357481419515101184,"note":"Value kept but may cause issues"} 
[2026-07-25 10:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8506736772624402432,"note":"Value kept but may cause issues"} 
[2026-07-25 10:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784954563000,"timestamp_ms":1784954563000,"timestamp_seconds":1784954563,"priority":1,"record_length":96,"hex_timestamp":"0000019f979529b8"} 
[2026-07-25 10:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948366080001,"66":27974,"201":206,"79":21504,"24":35,"16":357481419515101184,"45":8506736772624402432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948366080001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:13:38] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:13:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357481419515101184,"km_value":357481419515101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8506736772624402432,"description":"Unknown IO ID 45"} 
[2026-07-25 10:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948366080001,"power":27974,"unknown_201":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8506736772624402432}} 
[2026-07-25 10:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":142017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:13:38] local.INFO: GPS data processed {"connection_id":142017,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:13:38] local.INFO: Acknowledgment sent {"connection_id":142017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:13:56] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:13:56] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:13:56] local.INFO: IMEI packet received {"connection_id":141021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":141021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:14:01] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:01] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:01] local.INFO: IMEI packet received {"connection_id":141021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":141021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:14:02] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97953188012d7620000629e6180009007826..."} 
[2026-07-25 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97953188012d7620000629e6180009007826..."} 
[2026-07-25 10:14:02] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97953188012d7620000629e6180009007826..."} 
[2026-07-25 10:14:02] local.INFO: Packet analysis {"connection_id":141021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:14:02] local.INFO: Extracted packet for processing {"connection_id":141021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":762716160,"raw_latitude":103409176,"longitude_deg":76.271616,"latitude_deg":10.3409176,"altitude":9,"angle":120,"satellites":38,"speed":34,"hex_longitude":"2d762000","hex_latitude":"0629e618","is_valid_coordinates":true} 
[2026-07-25 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948368128001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357481501119479808,"note":"Value kept but may cause issues"} 
[2026-07-25 10:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8510255209831358464,"note":"Value kept but may cause issues"} 
[2026-07-25 10:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784954565000,"timestamp_ms":1784954565000,"timestamp_seconds":1784954565,"priority":1,"record_length":96,"hex_timestamp":"0000019f97953188"} 
[2026-07-25 10:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948368128001,"66":27908,"201":206,"79":21504,"24":34,"16":357481501119479808,"45":8510255209831358464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948368128001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:14:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:14:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357481501119479808,"km_value":357481501119479.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8510255209831358464,"description":"Unknown IO ID 45"} 
[2026-07-25 10:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948368128001,"power":27908,"unknown_201":206,"unknown_79":21504,"ignition":34,"odometer":null,"unknown_45":8510255209831358464}} 
[2026-07-25 10:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":141021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:14:02] local.INFO: GPS data processed {"connection_id":141021,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:14:02] local.INFO: Acknowledgment sent {"connection_id":141021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:14:33] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97954ce0012d7633400629dd80000b006b29..."} 
[2026-07-25 10:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97954ce0012d7633400629dd80000b006b29..."} 
[2026-07-25 10:14:33] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97954ce0012d7633400629dd80000b006b29..."} 
[2026-07-25 10:14:33] local.INFO: Packet analysis {"connection_id":141021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:14:33] local.INFO: Extracted packet for processing {"connection_id":141021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:14:33] local.INFO: GPS Element Parsed {"raw_longitude":762721088,"raw_latitude":103406976,"longitude_deg":76.2721088,"latitude_deg":10.3406976,"altitude":11,"angle":107,"satellites":41,"speed":26,"hex_longitude":"2d763340","hex_latitude":"0629dd80","is_valid_coordinates":true} 
[2026-07-25 10:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948368640001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357481763112484864,"note":"Value kept but may cause issues"} 
[2026-07-25 10:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8511803322202986496,"note":"Value kept but may cause issues"} 
[2026-07-25 10:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784954572000,"timestamp_ms":1784954572000,"timestamp_seconds":1784954572,"priority":1,"record_length":96,"hex_timestamp":"0000019f97954ce0"} 
[2026-07-25 10:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948368640001,"66":27930,"201":206,"79":21504,"24":26,"16":357481763112484864,"45":8511803322202986496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948368640001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:14:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:14:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357481763112484864,"km_value":357481763112484.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8511803322202986496,"description":"Unknown IO ID 45"} 
[2026-07-25 10:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948368640001,"power":27930,"unknown_201":206,"unknown_79":21504,"ignition":26,"odometer":null,"unknown_45":8511803322202986496}} 
[2026-07-25 10:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":141021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:14:33] local.INFO: GPS data processed {"connection_id":141021,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:14:33] local.INFO: Acknowledgment sent {"connection_id":141021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:14:56] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:56] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:56] local.INFO: IMEI packet received {"connection_id":141022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":141022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:14:57] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:57] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:14:57] local.INFO: IMEI packet received {"connection_id":141022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":141022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:15:01] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:15:01] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:15:01] local.INFO: IMEI packet received {"connection_id":141022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":141022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:15:02] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97957008012d7649c00629d8d8000d005f2a..."} 
[2026-07-25 10:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97957008012d7649c00629d8d8000d005f2a..."} 
[2026-07-25 10:15:02] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97957008012d7649c00629d8d8000d005f2a..."} 
[2026-07-25 10:15:02] local.INFO: Packet analysis {"connection_id":141022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:15:02] local.INFO: Extracted packet for processing {"connection_id":141022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9795"} 
[2026-07-25 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":762726848,"raw_latitude":103405784,"longitude_deg":76.2726848,"latitude_deg":10.3405784,"altitude":13,"angle":95,"satellites":42,"speed":25,"hex_longitude":"2d7649c0","hex_latitude":"0629d8d8","is_valid_coordinates":true} 
[2026-07-25 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948370432001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357482042285359104,"note":"Value kept but may cause issues"} 
[2026-07-25 10:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8517221715504103424,"note":"Value kept but may cause issues"} 
[2026-07-25 10:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784954581000,"timestamp_ms":1784954581000,"timestamp_seconds":1784954581,"priority":1,"record_length":96,"hex_timestamp":"0000019f97957008"} 
[2026-07-25 10:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948370432001,"66":27745,"201":206,"79":21504,"24":25,"16":357482042285359104,"45":8517221715504103424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,79,24,16,45]} 
[2026-07-25 10:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948370432001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:15:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-25 10:15:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357482042285359104,"km_value":357482042285359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8517221715504103424,"description":"Unknown IO ID 45"} 
[2026-07-25 10:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948370432001,"power":27745,"unknown_201":206,"unknown_79":21504,"ignition":25,"odometer":null,"unknown_45":8517221715504103424}} 
[2026-07-25 10:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":141022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:15:02] local.INFO: GPS data processed {"connection_id":141022,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:15:02] local.INFO: Acknowledgment sent {"connection_id":141022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:15:34] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97970e18012d775640062a3a58001d00592a..."} 
[2026-07-25 10:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97970e18012d775640062a3a58001d00592a..."} 
[2026-07-25 10:15:34] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97970e18012d775640062a3a58001d00592a..."} 
[2026-07-25 10:15:34] local.INFO: Packet analysis {"connection_id":141022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:15:34] local.INFO: Extracted packet for processing {"connection_id":141022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762795584,"raw_latitude":103430744,"longitude_deg":76.2795584,"latitude_deg":10.3430744,"altitude":29,"angle":89,"satellites":42,"speed":35,"hex_longitude":"2d775640","hex_latitude":"062a3a58","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948399104001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357485826151546880,"note":"Value kept but may cause issues"} 
[2026-07-25 10:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8596456921454157824,"note":"Value kept but may cause issues"} 
[2026-07-25 10:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784954687000,"timestamp_ms":1784954687000,"timestamp_seconds":1784954687,"priority":1,"record_length":96,"hex_timestamp":"0000019f97970e18"} 
[2026-07-25 10:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948399104001,"66":27974,"197":206,"79":21504,"24":35,"16":357485826151546880,"45":8596456921454157824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948399104001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:15:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:15:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357485826151546880,"km_value":357485826151546.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8596456921454157824,"description":"Unknown IO ID 45"} 
[2026-07-25 10:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948399104001,"power":27974,"unknown_197":206,"unknown_79":21504,"ignition":35,"odometer":null,"unknown_45":8596456921454157824}} 
[2026-07-25 10:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":141022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:15:34] local.INFO: GPS data processed {"connection_id":141022,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:15:34] local.INFO: Acknowledgment sent {"connection_id":141022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:16:01] local.INFO: TCP Data received {"connection_id":143369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:01] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:01] local.INFO: IMEI packet received {"connection_id":143369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":143369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:16:05] local.INFO: TCP Data received {"connection_id":143369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:05] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:05] local.INFO: IMEI packet received {"connection_id":143369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":143369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:16:06] local.INFO: TCP Data received {"connection_id":143369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979719d0012d776180062a3950001c00662a..."} 
[2026-07-25 10:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979719d0012d776180062a3950001c00662a..."} 
[2026-07-25 10:16:06] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979719d0012d776180062a3950001c00662a..."} 
[2026-07-25 10:16:06] local.INFO: Packet analysis {"connection_id":143369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:06] local.INFO: Extracted packet for processing {"connection_id":143369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762798464,"raw_latitude":103430480,"longitude_deg":76.2798464,"latitude_deg":10.343048,"altitude":28,"angle":102,"satellites":42,"speed":39,"hex_longitude":"2d776180","hex_latitude":"062a3950","is_valid_coordinates":true} 
[2026-07-25 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948399872001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357485967885467648,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8599130933732988928,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784954690000,"timestamp_ms":1784954690000,"timestamp_seconds":1784954690,"priority":1,"record_length":96,"hex_timestamp":"0000019f979719d0"} 
[2026-07-25 10:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948399872001,"66":27930,"197":206,"79":21504,"24":39,"16":357485967885467648,"45":8599130933732988928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948399872001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357485967885467648,"km_value":357485967885467.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8599130933732988928,"description":"Unknown IO ID 45"} 
[2026-07-25 10:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948399872001,"power":27930,"unknown_197":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":8599130933732988928}} 
[2026-07-25 10:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":143369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:16:06] local.INFO: GPS data processed {"connection_id":143369,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:16:06] local.INFO: Acknowledgment sent {"connection_id":143369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:16:06] local.INFO: TCP Data received {"connection_id":143369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97972d58012d777580062a3258001a00712b..."} 
[2026-07-25 10:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97972d58012d777580062a3258001a00712b..."} 
[2026-07-25 10:16:06] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97972d58012d777580062a3258001a00712b..."} 
[2026-07-25 10:16:06] local.INFO: Packet analysis {"connection_id":143369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:06] local.INFO: Extracted packet for processing {"connection_id":143369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762803584,"raw_latitude":103428696,"longitude_deg":76.2803584,"latitude_deg":10.3428696,"altitude":26,"angle":113,"satellites":43,"speed":46,"hex_longitude":"2d777580","hex_latitude":"062a3258","is_valid_coordinates":true} 
[2026-07-25 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948400640001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357486225583505408,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8602297527220916224,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784954695000,"timestamp_ms":1784954695000,"timestamp_seconds":1784954695,"priority":1,"record_length":96,"hex_timestamp":"0000019f97972d58"} 
[2026-07-25 10:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948400640001,"66":27908,"197":206,"79":21504,"24":46,"16":357486225583505408,"45":8602297527220916224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948400640001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357486225583505408,"km_value":357486225583505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8602297527220916224,"description":"Unknown IO ID 45"} 
[2026-07-25 10:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948400640001,"power":27908,"unknown_197":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8602297527220916224}} 
[2026-07-25 10:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":143369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:16:06] local.INFO: GPS data processed {"connection_id":143369,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:16:06] local.INFO: Acknowledgment sent {"connection_id":143369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:16:40] local.INFO: TCP Data received {"connection_id":143369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979744c8012d778ec0062a23d00016007d28..."} 
[2026-07-25 10:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979744c8012d778ec0062a23d00016007d28..."} 
[2026-07-25 10:16:40] local.INFO: Processing buffer {"connection_id":143369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979744c8012d778ec0062a23d00016007d28..."} 
[2026-07-25 10:16:40] local.INFO: Packet analysis {"connection_id":143369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:40] local.INFO: Extracted packet for processing {"connection_id":143369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:40] local.INFO: GPS Element Parsed {"raw_longitude":762810048,"raw_latitude":103424976,"longitude_deg":76.2810048,"latitude_deg":10.3424976,"altitude":22,"angle":125,"satellites":40,"speed":52,"hex_longitude":"2d778ec0","hex_latitude":"062a23d0","is_valid_coordinates":true} 
[2026-07-25 10:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948401920001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357486582065790976,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8607927026754672640,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784954701000,"timestamp_ms":1784954701000,"timestamp_seconds":1784954701,"priority":1,"record_length":96,"hex_timestamp":"0000019f979744c8"} 
[2026-07-25 10:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948401920001,"66":27908,"197":206,"79":21504,"24":52,"16":357486582065790976,"45":8607927026754672640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948401920001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:16:40] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:16:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357486582065790976,"km_value":357486582065791.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8607927026754672640,"description":"Unknown IO ID 45"} 
[2026-07-25 10:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948401920001,"power":27908,"unknown_197":206,"unknown_79":21504,"ignition":52,"odometer":null,"unknown_45":8607927026754672640}} 
[2026-07-25 10:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":143369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:16:40] local.INFO: GPS data processed {"connection_id":143369,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:16:40] local.INFO: Acknowledgment sent {"connection_id":143369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:16:56] local.INFO: TCP Data received {"connection_id":143370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:56] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:56] local.INFO: IMEI packet received {"connection_id":143370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":143370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:16:58] local.INFO: TCP Data received {"connection_id":143370,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:58] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:16:58] local.INFO: IMEI packet received {"connection_id":143370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":143370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:16:59] local.INFO: TCP Data received {"connection_id":143370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97976408012d77ad40062a0b200015008126..."} 
[2026-07-25 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97976408012d77ad40062a0b200015008126..."} 
[2026-07-25 10:16:59] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97976408012d77ad40062a0b200015008126..."} 
[2026-07-25 10:16:59] local.INFO: Packet analysis {"connection_id":143370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:59] local.INFO: Extracted packet for processing {"connection_id":143370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":762817856,"raw_latitude":103418656,"longitude_deg":76.2817856,"latitude_deg":10.3418656,"altitude":21,"angle":129,"satellites":38,"speed":43,"hex_longitude":"2d77ad40","hex_latitude":"062a0b20","is_valid_coordinates":true} 
[2026-07-25 10:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948403456001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357487067397095424,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8615034269915664384,"note":"Value kept but may cause issues"} 
[2026-07-25 10:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784954709000,"timestamp_ms":1784954709000,"timestamp_seconds":1784954709,"priority":1,"record_length":96,"hex_timestamp":"0000019f97976408"} 
[2026-07-25 10:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948403456001,"66":27821,"197":206,"79":21504,"24":43,"16":357487067397095424,"45":8615034269915664384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948403456001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:16:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:16:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357487067397095424,"km_value":357487067397095.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8615034269915664384,"description":"Unknown IO ID 45"} 
[2026-07-25 10:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948403456001,"power":27821,"unknown_197":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":8615034269915664384}} 
[2026-07-25 10:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":143370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:16:59] local.INFO: GPS data processed {"connection_id":143370,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:16:59] local.INFO: Acknowledgment sent {"connection_id":143370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:17:01] local.INFO: TCP Data received {"connection_id":143370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97977b78012d77c0400629fe200016006f28..."} 
[2026-07-25 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97977b78012d77c0400629fe200016006f28..."} 
[2026-07-25 10:17:01] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97977b78012d77c0400629fe200016006f28..."} 
[2026-07-25 10:17:01] local.INFO: Packet analysis {"connection_id":143370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:17:01] local.INFO: Extracted packet for processing {"connection_id":143370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":762822720,"raw_latitude":103415328,"longitude_deg":76.282272,"latitude_deg":10.3415328,"altitude":22,"angle":111,"satellites":40,"speed":33,"hex_longitude":"2d77c040","hex_latitude":"0629fe20","is_valid_coordinates":true} 
[2026-07-25 10:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948405504001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357487350864936960,"note":"Value kept but may cause issues"} 
[2026-07-25 10:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623619256703721472,"note":"Value kept but may cause issues"} 
[2026-07-25 10:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784954715000,"timestamp_ms":1784954715000,"timestamp_seconds":1784954715,"priority":1,"record_length":96,"hex_timestamp":"0000019f97977b78"} 
[2026-07-25 10:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 10:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948405504001,"66":27995,"197":206,"79":21504,"24":33,"16":357487350864936960,"45":8623619256703721472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948405504001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:17:01] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:17:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357487350864936960,"km_value":357487350864936.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623619256703721472,"description":"Unknown IO ID 45"} 
[2026-07-25 10:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948405504001,"power":27995,"unknown_197":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":8623619256703721472}} 
[2026-07-25 10:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":143370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:17:01] local.INFO: GPS data processed {"connection_id":143370,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:17:01] local.INFO: Acknowledgment sent {"connection_id":143370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:17:32] local.INFO: TCP Data received {"connection_id":143370,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97978348012d77c6c00629fd380016005929..."} 
[2026-07-25 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97978348012d77c6c00629fd380016005929..."} 
[2026-07-25 10:17:32] local.INFO: Processing buffer {"connection_id":143370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97978348012d77c6c00629fd380016005929..."} 
[2026-07-25 10:17:32] local.INFO: Packet analysis {"connection_id":143370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:17:32] local.INFO: Extracted packet for processing {"connection_id":143370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9797"} 
[2026-07-25 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":762824384,"raw_latitude":103415096,"longitude_deg":76.2824384,"latitude_deg":10.3415096,"altitude":22,"angle":89,"satellites":41,"speed":33,"hex_longitude":"2d77c6c0","hex_latitude":"0629fd38","is_valid_coordinates":true} 
[2026-07-25 10:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948407040001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357487432469315584,"note":"Value kept but may cause issues"} 
[2026-07-25 10:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8628967281260371968,"note":"Value kept but may cause issues"} 
[2026-07-25 10:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784954717000,"timestamp_ms":1784954717000,"timestamp_seconds":1784954717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97978348"} 
[2026-07-25 10:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948407040001,"66":27919,"197":206,"79":21504,"24":33,"16":357487432469315584,"45":8628967281260371968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 10:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948407040001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:17:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 10:17:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357487432469315584,"km_value":357487432469315.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8628967281260371968,"description":"Unknown IO ID 45"} 
[2026-07-25 10:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948407040001,"power":27919,"unknown_197":206,"unknown_79":21504,"ignition":33,"odometer":null,"unknown_45":8628967281260371968}} 
[2026-07-25 10:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":143370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:17:32] local.INFO: GPS data processed {"connection_id":143370,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:17:32] local.INFO: Acknowledgment sent {"connection_id":143370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:17:56] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:17:56] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:17:56] local.INFO: IMEI packet received {"connection_id":141023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":141023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:18:02] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:18:02] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:18:02] local.INFO: IMEI packet received {"connection_id":141023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":141023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:18:03] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97991988012d7923800629f0580021005728..."} 
[2026-07-25 10:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97991988012d7923800629f0580021005728..."} 
[2026-07-25 10:18:03] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97991988012d7923800629f0580021005728..."} 
[2026-07-25 10:18:03] local.INFO: Packet analysis {"connection_id":141023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:18:03] local.INFO: Extracted packet for processing {"connection_id":141023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:18:03] local.INFO: GPS Element Parsed {"raw_longitude":762913664,"raw_latitude":103411800,"longitude_deg":76.2913664,"latitude_deg":10.34118,"altitude":33,"angle":87,"satellites":40,"speed":26,"hex_longitude":"2d792380","hex_latitude":"0629f058","is_valid_coordinates":true} 
[2026-07-25 10:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948431104001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357491770386284544,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8719039273806655488,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:03] 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-07-25 10:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784954821000,"timestamp_ms":1784954821000,"timestamp_seconds":1784954821,"priority":1,"record_length":96,"hex_timestamp":"0000019f97991988"} 
[2026-07-25 10:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948431104001,"66":27865,"207":206,"79":21504,"24":26,"16":357491770386284544,"45":8719039273806655488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-25 10:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948431104001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:18:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 10:18:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357491770386284544,"km_value":357491770386284.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8719039273806655488,"description":"Unknown IO ID 45"} 
[2026-07-25 10:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948431104001,"power":27865,"unknown_207":206,"unknown_79":21504,"ignition":26,"odometer":null,"unknown_45":8719039273806655488}} 
[2026-07-25 10:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":141023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:18:03] local.INFO: GPS data processed {"connection_id":141023,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:18:03] local.INFO: Acknowledgment sent {"connection_id":141023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:18:04] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97992540012d792b400629efc80022006529..."} 
[2026-07-25 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97992540012d792b400629efc80022006529..."} 
[2026-07-25 10:18:04] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97992540012d792b400629efc80022006529..."} 
[2026-07-25 10:18:04] local.INFO: Packet analysis {"connection_id":141023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:18:04] local.INFO: Extracted packet for processing {"connection_id":141023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762915648,"raw_latitude":103411656,"longitude_deg":76.2915648,"latitude_deg":10.3411656,"altitude":34,"angle":101,"satellites":41,"speed":27,"hex_longitude":"2d792b40","hex_latitude":"0629efc8","is_valid_coordinates":true} 
[2026-07-25 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948434176001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357491864875565056,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728961266735929344,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18: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-07-25 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784954824000,"timestamp_ms":1784954824000,"timestamp_seconds":1784954824,"priority":1,"record_length":96,"hex_timestamp":"0000019f97992540"} 
[2026-07-25 10:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948434176001,"66":27974,"207":206,"79":21504,"24":27,"16":357491864875565056,"45":8728961266735929344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-25 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948434176001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357491864875565056,"km_value":357491864875565.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728961266735929344,"description":"Unknown IO ID 45"} 
[2026-07-25 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948434176001,"power":27974,"unknown_207":206,"unknown_79":21504,"ignition":27,"odometer":null,"unknown_45":8728961266735929344}} 
[2026-07-25 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":141023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:18:04] local.INFO: GPS data processed {"connection_id":141023,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:18:04] local.INFO: Acknowledgment sent {"connection_id":141023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:18:36] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97992d10012d7930000629edb80021007e28..."} 
[2026-07-25 10:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97992d10012d7930000629edb80021007e28..."} 
[2026-07-25 10:18:36] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97992d10012d7930000629edb80021007e28..."} 
[2026-07-25 10:18:36] local.INFO: Packet analysis {"connection_id":141023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:18:36] local.INFO: Extracted packet for processing {"connection_id":141023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":762916864,"raw_latitude":103411128,"longitude_deg":76.2916864,"latitude_deg":10.3411128,"altitude":33,"angle":126,"satellites":40,"speed":25,"hex_longitude":"2d793000","hex_latitude":"0629edb8","is_valid_coordinates":true} 
[2026-07-25 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948434944001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357491929300074496,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731142697805400064,"note":"Value kept but may cause issues"} 
[2026-07-25 10:18:36] 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-07-25 10:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784954826000,"timestamp_ms":1784954826000,"timestamp_seconds":1784954826,"priority":1,"record_length":96,"hex_timestamp":"0000019f97992d10"} 
[2026-07-25 10:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948434944001,"66":27984,"207":206,"79":21504,"24":25,"16":357491929300074496,"45":8731142697805400064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-25 10:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948434944001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:18:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 10:18:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357491929300074496,"km_value":357491929300074.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731142697805400064,"description":"Unknown IO ID 45"} 
[2026-07-25 10:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948434944001,"power":27984,"unknown_207":206,"unknown_79":21504,"ignition":25,"odometer":null,"unknown_45":8731142697805400064}} 
[2026-07-25 10:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":141023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:18:36] local.INFO: GPS data processed {"connection_id":141023,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:18:36] local.INFO: Acknowledgment sent {"connection_id":141023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:18:56] local.INFO: TCP Data received {"connection_id":142018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:18:56] local.INFO: Processing buffer {"connection_id":142018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:18:56] local.INFO: IMEI packet received {"connection_id":142018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":142018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:19:01] local.INFO: TCP Data received {"connection_id":142018,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:19:01] local.INFO: Processing buffer {"connection_id":142018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:19:01] local.INFO: IMEI packet received {"connection_id":142018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":142018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:19:02] local.INFO: TCP Data received {"connection_id":142018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979938c8012d7935c00629e7e80021008d2a..."} 
[2026-07-25 10:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979938c8012d7935c00629e7e80021008d2a..."} 
[2026-07-25 10:19:02] local.INFO: Processing buffer {"connection_id":142018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979938c8012d7935c00629e7e80021008d2a..."} 
[2026-07-25 10:19:02] local.INFO: Packet analysis {"connection_id":142018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:19:02] local.INFO: Extracted packet for processing {"connection_id":142018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9799"} 
[2026-07-25 10:19:02] local.INFO: GPS Element Parsed {"raw_longitude":762918336,"raw_latitude":103409640,"longitude_deg":76.2918336,"latitude_deg":10.340964,"altitude":33,"angle":141,"satellites":42,"speed":28,"hex_longitude":"2d7935c0","hex_latitude":"0629e7e8","is_valid_coordinates":true} 
[2026-07-25 10:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948435456001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357492028084322304,"note":"Value kept but may cause issues"} 
[2026-07-25 10:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8732479703944640512,"note":"Value kept but may cause issues"} 
[2026-07-25 10:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784954829000,"timestamp_ms":1784954829000,"timestamp_seconds":1784954829,"priority":1,"record_length":96,"hex_timestamp":"0000019f979938c8"} 
[2026-07-25 10:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 10:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948435456001,"66":27930,"207":206,"79":21504,"24":28,"16":357492028084322304,"45":8732479703944640512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-25 10:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948435456001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:19:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 10:19:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357492028084322304,"km_value":357492028084322.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8732479703944640512,"description":"Unknown IO ID 45"} 
[2026-07-25 10:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948435456001,"power":27930,"unknown_207":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":8732479703944640512}} 
[2026-07-25 10:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":142018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:19:02] local.INFO: GPS data processed {"connection_id":142018,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:19:02] local.INFO: Acknowledgment sent {"connection_id":142018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:19:33] local.INFO: TCP Data received {"connection_id":142018,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979a7d00012d7a420006295b38001f007028..."} 
[2026-07-25 10:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979a7d00012d7a420006295b38001f007028..."} 
[2026-07-25 10:19:33] local.INFO: Processing buffer {"connection_id":142018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979a7d00012d7a420006295b38001f007028..."} 
[2026-07-25 10:19:33] local.INFO: Packet analysis {"connection_id":142018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:19:33] local.INFO: Extracted packet for processing {"connection_id":142018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:19:33] local.INFO: GPS Element Parsed {"raw_longitude":762987008,"raw_latitude":103373624,"longitude_deg":76.2987008,"latitude_deg":10.3373624,"altitude":31,"angle":112,"satellites":40,"speed":46,"hex_longitude":"2d7a4200","hex_latitude":"06295b38","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948455424001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357495902144823296,"note":"Value kept but may cause issues"} 
[2026-07-25 10:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104067090702336,"note":"Value kept but may cause issues"} 
[2026-07-25 10:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784954912000,"timestamp_ms":1784954912000,"timestamp_seconds":1784954912,"priority":1,"record_length":96,"hex_timestamp":"0000019f979a7d00"} 
[2026-07-25 10:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 10:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948455424001,"66":27930,"243":206,"79":21504,"24":46,"16":357495902144823296,"45":8800104067090702336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948455424001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:19:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:19:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357495902144823296,"km_value":357495902144823.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104067090702336,"description":"Unknown IO ID 45"} 
[2026-07-25 10:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948455424001,"power":27930,"unknown_243":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8800104067090702336}} 
[2026-07-25 10:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":142018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:19:33] local.INFO: GPS data processed {"connection_id":142018,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:19:33] local.INFO: Acknowledgment sent {"connection_id":142018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:20:03] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:03] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:03] local.INFO: IMEI packet received {"connection_id":141024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":141024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:20:05] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:05] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:05] local.INFO: IMEI packet received {"connection_id":141024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":141024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:20:06] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979a9c40012d7a640006294e000020006d28..."} 
[2026-07-25 10:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979a9c40012d7a640006294e000020006d28..."} 
[2026-07-25 10:20:06] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979a9c40012d7a640006294e000020006d28..."} 
[2026-07-25 10:20:06] local.INFO: Packet analysis {"connection_id":141024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:20:06] local.INFO: Extracted packet for processing {"connection_id":141024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":103370240,"longitude_deg":76.2995712,"latitude_deg":10.337024,"altitude":32,"angle":109,"satellites":40,"speed":46,"hex_longitude":"2d7a6400","hex_latitude":"06294e00","is_valid_coordinates":true} 
[2026-07-25 10:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948457472001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357496348821422080,"note":"Value kept but may cause issues"} 
[2026-07-25 10:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809603847553759232,"note":"Value kept but may cause issues"} 
[2026-07-25 10:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784954920000,"timestamp_ms":1784954920000,"timestamp_seconds":1784954920,"priority":1,"record_length":96,"hex_timestamp":"0000019f979a9c40"} 
[2026-07-25 10:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948457472001,"66":27974,"243":206,"79":21504,"24":46,"16":357496348821422080,"45":8809603847553759232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948457472001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357496348821422080,"km_value":357496348821422.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809603847553759232,"description":"Unknown IO ID 45"} 
[2026-07-25 10:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948457472001,"power":27974,"unknown_243":206,"unknown_79":21504,"ignition":46,"odometer":null,"unknown_45":8809603847553759232}} 
[2026-07-25 10:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":141024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:20:06] local.INFO: GPS data processed {"connection_id":141024,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:20:06] local.INFO: Acknowledgment sent {"connection_id":141024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:20:37] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979abb80012d7a8580062940e80021006d2b..."} 
[2026-07-25 10:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979abb80012d7a8580062940e80021006d2b..."} 
[2026-07-25 10:20:37] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979abb80012d7a8580062940e80021006d2b..."} 
[2026-07-25 10:20:37] local.INFO: Packet analysis {"connection_id":141024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:20:37] local.INFO: Extracted packet for processing {"connection_id":141024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:20:37] local.INFO: GPS Element Parsed {"raw_longitude":763004288,"raw_latitude":103366888,"longitude_deg":76.3004288,"latitude_deg":10.3366888,"altitude":33,"angle":109,"satellites":43,"speed":43,"hex_longitude":"2d7a8580","hex_latitude":"062940e8","is_valid_coordinates":true} 
[2026-07-25 10:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948459520001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357496791203053568,"note":"Value kept but may cause issues"} 
[2026-07-25 10:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173996761055232,"note":"Value kept but may cause issues"} 
[2026-07-25 10:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784954928000,"timestamp_ms":1784954928000,"timestamp_seconds":1784954928,"priority":1,"record_length":96,"hex_timestamp":"0000019f979abb80"} 
[2026-07-25 10:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948459520001,"66":27821,"243":206,"79":21504,"24":43,"16":357496791203053568,"45":8819173996761055232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948459520001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:20:37] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:20:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357496791203053568,"km_value":357496791203053.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173996761055232,"description":"Unknown IO ID 45"} 
[2026-07-25 10:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948459520001,"power":27821,"unknown_243":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":8819173996761055232}} 
[2026-07-25 10:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":141024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:20:37] local.INFO: GPS data processed {"connection_id":141024,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:20:37] local.INFO: Acknowledgment sent {"connection_id":141024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:20:56] local.INFO: TCP Data received {"connection_id":142019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:56] local.INFO: Processing buffer {"connection_id":142019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:20:56] local.INFO: IMEI packet received {"connection_id":142019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":142019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:21:01] local.INFO: TCP Data received {"connection_id":142019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:21:01] local.INFO: Processing buffer {"connection_id":142019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:21:01] local.INFO: IMEI packet received {"connection_id":142019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":142019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:21:03] local.INFO: TCP Data received {"connection_id":142019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979adea8012d7aa8c006293660002400692a..."} 
[2026-07-25 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979adea8012d7aa8c006293660002400692a..."} 
[2026-07-25 10:21:03] local.INFO: Processing buffer {"connection_id":142019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979adea8012d7aa8c006293660002400692a..."} 
[2026-07-25 10:21:03] local.INFO: Packet analysis {"connection_id":142019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:21:03] local.INFO: Extracted packet for processing {"connection_id":142019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979a"} 
[2026-07-25 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763013312,"raw_latitude":103364192,"longitude_deg":76.3013312,"latitude_deg":10.3364192,"altitude":36,"angle":105,"satellites":42,"speed":39,"hex_longitude":"2d7aa8c0","hex_latitude":"06293660","is_valid_coordinates":true} 
[2026-07-25 10:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948461568001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357497242174619648,"note":"Value kept but may cause issues"} 
[2026-07-25 10:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8828603408480004096,"note":"Value kept but may cause issues"} 
[2026-07-25 10:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784954937000,"timestamp_ms":1784954937000,"timestamp_seconds":1784954937,"priority":1,"record_length":96,"hex_timestamp":"0000019f979adea8"} 
[2026-07-25 10:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:21: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-07-25 10:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 10:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948461568001,"66":27104,"243":206,"79":21504,"24":39,"16":357497242174619648,"45":8828603408480004096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 10:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948461568001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:21:03] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 10:21:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357497242174619648,"km_value":357497242174619.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8828603408480004096,"description":"Unknown IO ID 45"} 
[2026-07-25 10:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948461568001,"power":27104,"unknown_243":206,"unknown_79":21504,"ignition":39,"odometer":null,"unknown_45":8828603408480004096}} 
[2026-07-25 10:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":142019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:21:03] local.INFO: GPS data processed {"connection_id":142019,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:21:03] local.INFO: Acknowledgment sent {"connection_id":142019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:21:35] local.INFO: TCP Data received {"connection_id":142019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979c55a8012d7bb5c006286fb0002200712b..."} 
[2026-07-25 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979c55a8012d7bb5c006286fb0002200712b..."} 
[2026-07-25 10:21:35] local.INFO: Processing buffer {"connection_id":142019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979c55a8012d7bb5c006286fb0002200712b..."} 
[2026-07-25 10:21:35] local.INFO: Packet analysis {"connection_id":142019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:21:35] local.INFO: Extracted packet for processing {"connection_id":142019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":763082176,"raw_latitude":103313328,"longitude_deg":76.3082176,"latitude_deg":10.3313328,"altitude":34,"angle":113,"satellites":43,"speed":26,"hex_longitude":"2d7bb5c0","hex_latitude":"06286fb0","is_valid_coordinates":true} 
[2026-07-25 10:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948488192001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357501554321784832,"note":"Value kept but may cause issues"} 
[2026-07-25 10:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913679220177170432,"note":"Value kept but may cause issues"} 
[2026-07-25 10:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784955033000,"timestamp_ms":1784955033000,"timestamp_seconds":1784955033,"priority":1,"record_length":96,"hex_timestamp":"0000019f979c55a8"} 
[2026-07-25 10:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 10:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948488192001,"66":27767,"242":206,"79":21504,"24":26,"16":357501554321784832,"45":8913679220177170432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948488192001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:21:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:21:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357501554321784832,"km_value":357501554321784.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913679220177170432,"description":"Unknown IO ID 45"} 
[2026-07-25 10:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948488192001,"power":27767,"unknown_242":206,"unknown_79":21504,"ignition":26,"odometer":null,"unknown_45":8913679220177170432}} 
[2026-07-25 10:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":142019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:21:35] local.INFO: GPS data processed {"connection_id":142019,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:21:35] local.INFO: Acknowledgment sent {"connection_id":142019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:21:56] local.INFO: TCP Data received {"connection_id":143371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:21:56] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:21:56] local.INFO: IMEI packet received {"connection_id":143371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":143371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:22:01] local.INFO: TCP Data received {"connection_id":143371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:01] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:01] local.INFO: IMEI packet received {"connection_id":143371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":143371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:22:04] local.INFO: TCP Data received {"connection_id":143371,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:04] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:04] local.INFO: IMEI packet received {"connection_id":143371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":143371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:22:07] local.INFO: TCP Data received {"connection_id":143371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979c7cb8012d7bcb80062869300022006328..."} 
[2026-07-25 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979c7cb8012d7bcb80062869300022006328..."} 
[2026-07-25 10:22:07] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979c7cb8012d7bcb80062869300022006328..."} 
[2026-07-25 10:22:07] local.INFO: Packet analysis {"connection_id":143371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:22:07] local.INFO: Extracted packet for processing {"connection_id":143371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":103311664,"longitude_deg":76.3087744,"latitude_deg":10.3311664,"altitude":34,"angle":99,"satellites":40,"speed":18,"hex_longitude":"2d7bcb80","hex_latitude":"06286930","is_valid_coordinates":true} 
[2026-07-25 10:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948488448001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357501829199691776,"note":"Value kept but may cause issues"} 
[2026-07-25 10:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914242170130509824,"note":"Value kept but may cause issues"} 
[2026-07-25 10:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784955043000,"timestamp_ms":1784955043000,"timestamp_seconds":1784955043,"priority":1,"record_length":96,"hex_timestamp":"0000019f979c7cb8"} 
[2026-07-25 10:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 10:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948488448001,"66":28082,"242":206,"79":21504,"24":18,"16":357501829199691776,"45":8914242170130509824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948488448001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:22:07] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:22:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357501829199691776,"km_value":357501829199691.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914242170130509824,"description":"Unknown IO ID 45"} 
[2026-07-25 10:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948488448001,"power":28082,"unknown_242":206,"unknown_79":21504,"ignition":18,"odometer":null,"unknown_45":8914242170130509824}} 
[2026-07-25 10:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":143371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:22:07] local.INFO: GPS data processed {"connection_id":143371,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:22:07] local.INFO: Acknowledgment sent {"connection_id":143371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:22:10] local.INFO: TCP Data received {"connection_id":143371,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979c9810012d7bdac006286900002200542a..."} 
[2026-07-25 10:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979c9810012d7bdac006286900002200542a..."} 
[2026-07-25 10:22:10] local.INFO: Processing buffer {"connection_id":143371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979c9810012d7bdac006286900002200542a..."} 
[2026-07-25 10:22:10] local.INFO: Packet analysis {"connection_id":143371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:22:10] local.INFO: Extracted packet for processing {"connection_id":143371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":763091648,"raw_latitude":103311616,"longitude_deg":76.3091648,"latitude_deg":10.3311616,"altitude":34,"angle":84,"satellites":42,"speed":24,"hex_longitude":"2d7bdac0","hex_latitude":"06286900","is_valid_coordinates":true} 
[2026-07-25 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948491008001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357502018178252800,"note":"Value kept but may cause issues"} 
[2026-07-25 10:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364250873540608,"note":"Value kept but may cause issues"} 
[2026-07-25 10:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784955050000,"timestamp_ms":1784955050000,"timestamp_seconds":1784955050,"priority":1,"record_length":96,"hex_timestamp":"0000019f979c9810"} 
[2026-07-25 10:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 10:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948491008001,"66":28115,"242":206,"79":21504,"24":24,"16":357502018178252800,"45":8920364250873540608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948491008001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:22:10] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:22:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357502018178252800,"km_value":357502018178252.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364250873540608,"description":"Unknown IO ID 45"} 
[2026-07-25 10:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948491008001,"power":28115,"unknown_242":206,"unknown_79":21504,"ignition":24,"odometer":null,"unknown_45":8920364250873540608}} 
[2026-07-25 10:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":143371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:22:10] local.INFO: GPS data processed {"connection_id":143371,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:22:10] local.INFO: Acknowledgment sent {"connection_id":143371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:22:56] local.INFO: TCP Data received {"connection_id":142020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:56] local.INFO: Processing buffer {"connection_id":142020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:56] local.INFO: IMEI packet received {"connection_id":142020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":142020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:22:59] local.INFO: TCP Data received {"connection_id":142020,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:59] local.INFO: Processing buffer {"connection_id":142020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:22:59] local.INFO: IMEI packet received {"connection_id":142020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":142020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:23:00] local.INFO: TCP Data received {"connection_id":142020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979cc6f0012d7bfec006286cf00023005428..."} 
[2026-07-25 10:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979cc6f0012d7bfec006286cf00023005428..."} 
[2026-07-25 10:23:00] local.INFO: Processing buffer {"connection_id":142020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979cc6f0012d7bfec006286cf00023005428..."} 
[2026-07-25 10:23:00] local.INFO: Packet analysis {"connection_id":142020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:23:00] local.INFO: Extracted packet for processing {"connection_id":142020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979c"} 
[2026-07-25 10:23:00] local.INFO: GPS Element Parsed {"raw_longitude":763100864,"raw_latitude":103312624,"longitude_deg":76.3100864,"latitude_deg":10.3312624,"altitude":35,"angle":84,"satellites":40,"speed":36,"hex_longitude":"2d7bfec0","hex_latitude":"06286cf0","is_valid_coordinates":true} 
[2026-07-25 10:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948492800001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357502460559884288,"note":"Value kept but may cause issues"} 
[2026-07-25 10:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924656744268365824,"note":"Value kept but may cause issues"} 
[2026-07-25 10:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784955062000,"timestamp_ms":1784955062000,"timestamp_seconds":1784955062,"priority":1,"record_length":96,"hex_timestamp":"0000019f979cc6f0"} 
[2026-07-25 10:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 10:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948492800001,"66":28006,"242":206,"79":21504,"24":36,"16":357502460559884288,"45":8924656744268365824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,79,24,16,45]} 
[2026-07-25 10:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948492800001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:23:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-25 10:23:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357502460559884288,"km_value":357502460559884.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924656744268365824,"description":"Unknown IO ID 45"} 
[2026-07-25 10:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948492800001,"power":28006,"unknown_242":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":8924656744268365824}} 
[2026-07-25 10:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":142020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:23:00] local.INFO: GPS data processed {"connection_id":142020,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:23:00] local.INFO: Acknowledgment sent {"connection_id":142020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:23:31] local.INFO: TCP Data received {"connection_id":142020,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979e1eb0012d7d564006284c98001d006329..."} 
[2026-07-25 10:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979e1eb0012d7d564006284c98001d006329..."} 
[2026-07-25 10:23:31] local.INFO: Processing buffer {"connection_id":142020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979e1eb0012d7d564006284c98001d006329..."} 
[2026-07-25 10:23:31] local.INFO: Packet analysis {"connection_id":142020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979e"} 
[2026-07-25 10:23:31] local.INFO: Extracted packet for processing {"connection_id":142020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979e"} 
[2026-07-25 10:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763188800,"raw_latitude":103304344,"longitude_deg":76.31888,"latitude_deg":10.3304344,"altitude":29,"angle":99,"satellites":41,"speed":43,"hex_longitude":"2d7d5640","hex_latitude":"06284c98","is_valid_coordinates":true} 
[2026-07-25 10:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948516096001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357506751232212992,"note":"Value kept but may cause issues"} 
[2026-07-25 10:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132292534556672,"note":"Value kept but may cause issues"} 
[2026-07-25 10:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784955150000,"timestamp_ms":1784955150000,"timestamp_seconds":1784955150,"priority":1,"record_length":96,"hex_timestamp":"0000019f979e1eb0"} 
[2026-07-25 10:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 10:23: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-07-25 10:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948516096001,"66":28028,"91":206,"79":21504,"24":43,"16":357506751232212992,"45":9021132292534556672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-25 10:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948516096001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:23:31] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 10:23:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357506751232212992,"km_value":357506751232213.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132292534556672,"description":"Unknown IO ID 45"} 
[2026-07-25 10:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948516096001,"power":28028,"unknown_91":206,"unknown_79":21504,"ignition":43,"odometer":null,"unknown_45":9021132292534556672}} 
[2026-07-25 10:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":142020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:23:31] local.INFO: GPS data processed {"connection_id":142020,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:23:31] local.INFO: Acknowledgment sent {"connection_id":142020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:23:56] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:23:56] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:23:56] local.INFO: IMEI packet received {"connection_id":141025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":141025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:23:57] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:23:57] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:23:57] local.INFO: IMEI packet received {"connection_id":141025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":141025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:24:00] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:24:00] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:24:00] local.INFO: IMEI packet received {"connection_id":141025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":141025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:24:01] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979e3df0012d7d78c006284588001d006828..."} 
[2026-07-25 10:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979e3df0012d7d78c006284588001d006828..."} 
[2026-07-25 10:24:01] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979e3df0012d7d78c006284588001d006828..."} 
[2026-07-25 10:24:01] local.INFO: Packet analysis {"connection_id":141025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979e"} 
[2026-07-25 10:24:01] local.INFO: Extracted packet for processing {"connection_id":141025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979e"} 
[2026-07-25 10:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763197632,"raw_latitude":103302536,"longitude_deg":76.3197632,"latitude_deg":10.3302536,"altitude":29,"angle":104,"satellites":40,"speed":44,"hex_longitude":"2d7d78c0","hex_latitude":"06284588","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948518400001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357507180728942592,"note":"Value kept but may cause issues"} 
[2026-07-25 10:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031476497928198144,"note":"Value kept but may cause issues"} 
[2026-07-25 10:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784955158000,"timestamp_ms":1784955158000,"timestamp_seconds":1784955158,"priority":1,"record_length":96,"hex_timestamp":"0000019f979e3df0"} 
[2026-07-25 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-07-25 10:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 10:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948518400001,"66":27876,"91":206,"79":21504,"24":44,"16":357507180728942592,"45":9031476497928198144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-25 10:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948518400001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:24:01] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 10:24:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357507180728942592,"km_value":357507180728942.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031476497928198144,"description":"Unknown IO ID 45"} 
[2026-07-25 10:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948518400001,"power":27876,"unknown_91":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":9031476497928198144}} 
[2026-07-25 10:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":141025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:24:01] local.INFO: GPS data processed {"connection_id":141025,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:24:01] local.INFO: Acknowledgment sent {"connection_id":141025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:24:32] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979e6118012d7d9c0006283b78001c006729..."} 
[2026-07-25 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979e6118012d7d9c0006283b78001c006729..."} 
[2026-07-25 10:24:32] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979e6118012d7d9c0006283b78001c006729..."} 
[2026-07-25 10:24:32] local.INFO: Packet analysis {"connection_id":141025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979e"} 
[2026-07-25 10:24:32] local.INFO: Extracted packet for processing {"connection_id":141025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979e"} 
[2026-07-25 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763206656,"raw_latitude":103299960,"longitude_deg":76.3206656,"latitude_deg":10.329996,"altitude":28,"angle":103,"satellites":41,"speed":36,"hex_longitude":"2d7d9c00","hex_latitude":"06283b78","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948520448001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357507631700508672,"note":"Value kept but may cause issues"} 
[2026-07-25 10:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9041187384624252928,"note":"Value kept but may cause issues"} 
[2026-07-25 10:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784955167000,"timestamp_ms":1784955167000,"timestamp_seconds":1784955167,"priority":1,"record_length":96,"hex_timestamp":"0000019f979e6118"} 
[2026-07-25 10:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:24: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-07-25 10: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-07-25 10:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948520448001,"66":27908,"91":206,"79":21504,"24":36,"16":357507631700508672,"45":9041187384624252928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-25 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948520448001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357507631700508672,"km_value":357507631700508.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9041187384624252928,"description":"Unknown IO ID 45"} 
[2026-07-25 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948520448001,"power":27908,"unknown_91":206,"unknown_79":21504,"ignition":36,"odometer":null,"unknown_45":9041187384624252928}} 
[2026-07-25 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:24:32] local.INFO: GPS data processed {"connection_id":141025,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:24:32] local.INFO: Acknowledgment sent {"connection_id":141025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:25:01] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:01] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:01] local.INFO: IMEI packet received {"connection_id":141026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:25:01] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:01] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:01] local.INFO: IMEI packet received {"connection_id":141026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:25:06] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:06] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:06] local.INFO: IMEI packet received {"connection_id":141026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":141026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:25:06] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979f66d0012d7dea800627e268001700a724..."} 
[2026-07-25 10:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979f66d0012d7dea800627e268001700a724..."} 
[2026-07-25 10:25:06] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979f66d0012d7dea800627e268001700a724..."} 
[2026-07-25 10:25:06] local.INFO: Packet analysis {"connection_id":141026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:25:06] local.INFO: Extracted packet for processing {"connection_id":141026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763226752,"raw_latitude":103277160,"longitude_deg":76.3226752,"latitude_deg":10.327716,"altitude":23,"angle":167,"satellites":36,"speed":45,"hex_longitude":"2d7dea80","hex_latitude":"0627e268","is_valid_coordinates":true} 
[2026-07-25 10:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948537600001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357509517191151616,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071375575872382976,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784955234000,"timestamp_ms":1784955234000,"timestamp_seconds":1784955234,"priority":1,"record_length":96,"hex_timestamp":"0000019f979f66d0"} 
[2026-07-25 10:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948537600001,"66":27832,"53":206,"79":21504,"24":45,"16":357509517191151616,"45":9071375575872382976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,79,24,16,45]} 
[2026-07-25 10:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948537600001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:25:06] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-25 10:25:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357509517191151616,"km_value":357509517191151.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071375575872382976,"description":"Unknown IO ID 45"} 
[2026-07-25 10:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948537600001,"power":27832,"unknown_53":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":9071375575872382976}} 
[2026-07-25 10:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":141026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:25:06] local.INFO: GPS data processed {"connection_id":141026,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:25:06] local.INFO: Acknowledgment sent {"connection_id":141026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:25:08] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979f8610012d7df5000627bdc8001500a127..."} 
[2026-07-25 10:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979f8610012d7df5000627bdc8001500a127..."} 
[2026-07-25 10:25:08] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979f8610012d7df5000627bdc8001500a127..."} 
[2026-07-25 10:25:08] local.INFO: Packet analysis {"connection_id":141026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:25:08] local.INFO: Extracted packet for processing {"connection_id":141026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763229440,"raw_latitude":103267784,"longitude_deg":76.322944,"latitude_deg":10.3267784,"altitude":21,"angle":161,"satellites":39,"speed":50,"hex_longitude":"2d7df500","hex_latitude":"0627bdc8","is_valid_coordinates":true} 
[2026-07-25 10:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948539904001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357509989637554176,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073205163218593792,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784955242000,"timestamp_ms":1784955242000,"timestamp_seconds":1784955242,"priority":1,"record_length":96,"hex_timestamp":"0000019f979f8610"} 
[2026-07-25 10:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 10:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948539904001,"66":27919,"52":206,"79":21504,"24":50,"16":357509989637554176,"45":9073205163218593792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-25 10:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948539904001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:25:08] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 10:25:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357509989637554176,"km_value":357509989637554.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073205163218593792,"description":"Unknown IO ID 45"} 
[2026-07-25 10:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948539904001,"power":27919,"unknown_52":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":9073205163218593792}} 
[2026-07-25 10:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":141026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:25:08] local.INFO: GPS data processed {"connection_id":141026,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:25:08] local.INFO: Acknowledgment sent {"connection_id":141026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:25:13] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979fa168012d7e01c006279ca80015009c2c..."} 
[2026-07-25 10:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979fa168012d7e01c006279ca80015009c2c..."} 
[2026-07-25 10:25:13] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979fa168012d7e01c006279ca80015009c2c..."} 
[2026-07-25 10:25:13] local.INFO: Packet analysis {"connection_id":141026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:25:13] local.INFO: Extracted packet for processing {"connection_id":141026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763232704,"raw_latitude":103259304,"longitude_deg":76.3232704,"latitude_deg":10.3259304,"altitude":21,"angle":156,"satellites":44,"speed":51,"hex_longitude":"2d7e01c0","hex_latitude":"06279ca8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948541952001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357510427724218368,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9076160650471655424,"note":"Value kept but may cause issues"} 
[2026-07-25 10:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784955249000,"timestamp_ms":1784955249000,"timestamp_seconds":1784955249,"priority":1,"record_length":96,"hex_timestamp":"0000019f979fa168"} 
[2026-07-25 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-07-25 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948541952001,"66":27919,"52":206,"79":21504,"24":51,"16":357510427724218368,"45":9076160650471655424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-25 10:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948541952001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:25:13] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 10:25:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357510427724218368,"km_value":357510427724218.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9076160650471655424,"description":"Unknown IO ID 45"} 
[2026-07-25 10:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948541952001,"power":27919,"unknown_52":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":9076160650471655424}} 
[2026-07-25 10:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":141026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:25:13] local.INFO: GPS data processed {"connection_id":141026,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:25:13] local.INFO: Acknowledgment sent {"connection_id":141026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:25:56] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:56] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:56] local.INFO: IMEI packet received {"connection_id":140970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":140970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:25:58] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:58] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:25:58] local.INFO: IMEI packet received {"connection_id":140970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":140970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:26:00] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f979fbcc0012d7e110006277bd00013009d2a..."} 
[2026-07-25 10:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f979fbcc0012d7e110006277bd00013009d2a..."} 
[2026-07-25 10:26:00] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f979fbcc0012d7e110006277bd00013009d2a..."} 
[2026-07-25 10:26:00] local.INFO: Packet analysis {"connection_id":140970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:26:00] local.INFO: Extracted packet for processing {"connection_id":140970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f979f"} 
[2026-07-25 10:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":103250896,"longitude_deg":76.3236608,"latitude_deg":10.3250896,"altitude":19,"angle":157,"satellites":42,"speed":53,"hex_longitude":"2d7e1100","hex_latitude":"06277bd0","is_valid_coordinates":true} 
[2026-07-25 10:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948543744001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357510878695784448,"note":"Value kept but may cause issues"} 
[2026-07-25 10:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749456422545408,"note":"Value kept but may cause issues"} 
[2026-07-25 10:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784955256000,"timestamp_ms":1784955256000,"timestamp_seconds":1784955256,"priority":1,"record_length":96,"hex_timestamp":"0000019f979fbcc0"} 
[2026-07-25 10:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":140970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":140970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":140970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948543744001,"66":27995,"52":206,"79":21504,"24":53,"16":357510878695784448,"45":9079749456422545408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-25 10:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948543744001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:26:00] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 10:26:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357510878695784448,"km_value":357510878695784.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749456422545408,"description":"Unknown IO ID 45"} 
[2026-07-25 10:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948543744001,"power":27995,"unknown_52":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":9079749456422545408}} 
[2026-07-25 10:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":140970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:26:00] local.INFO: GPS data processed {"connection_id":140970,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:26:00] local.INFO: Acknowledgment sent {"connection_id":140970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:26:39] local.INFO: TCP Data received {"connection_id":140970,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a100f8012d7ee7000625ebf0000e00982b..."} 
[2026-07-25 10:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a100f8012d7ee7000625ebf0000e00982b..."} 
[2026-07-25 10:26:39] local.INFO: Processing buffer {"connection_id":140970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a100f8012d7ee7000625ebf0000e00982b..."} 
[2026-07-25 10:26:39] local.INFO: Packet analysis {"connection_id":140970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:26:39] local.INFO: Extracted packet for processing {"connection_id":140970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:26:39] local.INFO: GPS Element Parsed {"raw_longitude":763291392,"raw_latitude":103148528,"longitude_deg":76.3291392,"latitude_deg":10.3148528,"altitude":14,"angle":152,"satellites":43,"speed":59,"hex_longitude":"2d7ee700","hex_latitude":"0625ebf0","is_valid_coordinates":true} 
[2026-07-25 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948565248001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357516487923073024,"note":"Value kept but may cause issues"} 
[2026-07-25 10:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139562888947214336,"note":"Value kept but may cause issues"} 
[2026-07-25 10:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784955339000,"timestamp_ms":1784955339000,"timestamp_seconds":1784955339,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a100f8"} 
[2026-07-25 10:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948565248001,"66":27919,"52":206,"79":21504,"24":59,"16":357516487923073024,"45":9139562888947214336},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-25 10:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948565248001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:26:39] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 10:26:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357516487923073024,"km_value":357516487923073.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139562888947214336,"description":"Unknown IO ID 45"} 
[2026-07-25 10:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948565248001,"power":27919,"unknown_52":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":9139562888947214336}} 
[2026-07-25 10:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":140970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:26:39] local.INFO: GPS data processed {"connection_id":140970,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:26:39] local.INFO: Acknowledgment sent {"connection_id":140970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:27:31] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:31] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:31] local.INFO: IMEI packet received {"connection_id":140971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":140971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:27:31] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:31] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:31] local.INFO: IMEI packet received {"connection_id":140971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":140971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:27:36] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:36] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:27:36] local.INFO: IMEI packet received {"connection_id":140971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":140971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:27:37] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a11c50012d7ef9800625c9b0000e00972b..."} 
[2026-07-25 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a11c50012d7ef9800625c9b0000e00972b..."} 
[2026-07-25 10:27:37] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a11c50012d7ef9800625c9b0000e00972b..."} 
[2026-07-25 10:27:37] local.INFO: Packet analysis {"connection_id":140971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:27:37] local.INFO: Extracted packet for processing {"connection_id":140971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763296128,"raw_latitude":103139760,"longitude_deg":76.3296128,"latitude_deg":10.313976,"altitude":14,"angle":151,"satellites":43,"speed":54,"hex_longitude":"2d7ef980","hex_latitude":"0625c9b0","is_valid_coordinates":true} 
[2026-07-25 10:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948566784001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357516968959410176,"note":"Value kept but may cause issues"} 
[2026-07-25 10:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144277594805104640,"note":"Value kept but may cause issues"} 
[2026-07-25 10:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784955346000,"timestamp_ms":1784955346000,"timestamp_seconds":1784955346,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a11c50"} 
[2026-07-25 10:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948566784001,"66":28006,"52":206,"79":21504,"24":54,"16":357516968959410176,"45":9144277594805104640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-25 10:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948566784001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:27:37] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 10:27:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357516968959410176,"km_value":357516968959410.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144277594805104640,"description":"Unknown IO ID 45"} 
[2026-07-25 10:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948566784001,"power":28006,"unknown_52":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":9144277594805104640}} 
[2026-07-25 10:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":140971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:27:37] local.INFO: GPS data processed {"connection_id":140971,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:27:37] local.INFO: Acknowledgment sent {"connection_id":140971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:27:39] local.INFO: TCP Data received {"connection_id":140971,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a13b90012d7f0bc00625a850000d00982b..."} 
[2026-07-25 10:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a13b90012d7f0bc00625a850000d00982b..."} 
[2026-07-25 10:27:39] local.INFO: Processing buffer {"connection_id":140971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a13b90012d7f0bc00625a850000d00982b..."} 
[2026-07-25 10:27:39] local.INFO: Packet analysis {"connection_id":140971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:27:39] local.INFO: Extracted packet for processing {"connection_id":140971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:27:39] local.INFO: GPS Element Parsed {"raw_longitude":763300800,"raw_latitude":103131216,"longitude_deg":76.33008,"latitude_deg":10.3131216,"altitude":13,"angle":152,"satellites":43,"speed":45,"hex_longitude":"2d7f0bc0","hex_latitude":"0625a850","is_valid_coordinates":true} 
[2026-07-25 10:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948568576001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357517437110845440,"note":"Value kept but may cause issues"} 
[2026-07-25 10:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149484881872007168,"note":"Value kept but may cause issues"} 
[2026-07-25 10:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784955354000,"timestamp_ms":1784955354000,"timestamp_seconds":1784955354,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a13b90"} 
[2026-07-25 10:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 10:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948568576001,"66":27974,"52":206,"79":21504,"24":45,"16":357517437110845440,"45":9149484881872007168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-25 10:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948568576001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:27:39] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-25 10:27:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357517437110845440,"km_value":357517437110845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149484881872007168,"description":"Unknown IO ID 45"} 
[2026-07-25 10:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948568576001,"power":27974,"unknown_52":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":9149484881872007168}} 
[2026-07-25 10:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":140971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:27:39] local.INFO: GPS data processed {"connection_id":140971,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:27:39] local.INFO: Acknowledgment sent {"connection_id":140971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:28:06] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:06] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:06] local.INFO: IMEI packet received {"connection_id":141027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":141027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:28:07] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:07] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:07] local.INFO: IMEI packet received {"connection_id":141027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":141027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:28:11] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:11] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:11] local.INFO: IMEI packet received {"connection_id":141027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":141027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:28:13] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a15ad0012d7f1d00062588d0000d00992b..."} 
[2026-07-25 10:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a15ad0012d7f1d00062588d0000d00992b..."} 
[2026-07-25 10:28:13] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a15ad0012d7f1d00062588d0000d00992b..."} 
[2026-07-25 10:28:13] local.INFO: Packet analysis {"connection_id":141027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:28:13] local.INFO: Extracted packet for processing {"connection_id":141027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763305216,"raw_latitude":103123152,"longitude_deg":76.3305216,"latitude_deg":10.3123152,"altitude":13,"angle":153,"satellites":43,"speed":47,"hex_longitude":"2d7f1d00","hex_latitude":"062588d0","is_valid_coordinates":true} 
[2026-07-25 10:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948570624001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357517883787444224,"note":"Value kept but may cause issues"} 
[2026-07-25 10:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154621800194789376,"note":"Value kept but may cause issues"} 
[2026-07-25 10:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784955362000,"timestamp_ms":1784955362000,"timestamp_seconds":1784955362,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a15ad0"} 
[2026-07-25 10:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948570624001,"66":27919,"102":206,"79":21504,"24":47,"16":357517883787444224,"45":9154621800194789376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,79,24,16,45]} 
[2026-07-25 10:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948570624001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:28:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 10:28:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357517883787444224,"km_value":357517883787444.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154621800194789376,"description":"Unknown IO ID 45"} 
[2026-07-25 10:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948570624001,"power":27919,"unknown_102":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":9154621800194789376}} 
[2026-07-25 10:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":141027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:28:13] local.INFO: GPS data processed {"connection_id":141027,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:28:13] local.INFO: Acknowledgment sent {"connection_id":141027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:28:15] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a17a10012d7f2f80062567d8000e00932a..."} 
[2026-07-25 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a17a10012d7f2f80062567d8000e00932a..."} 
[2026-07-25 10:28:15] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a17a10012d7f2f80062567d8000e00932a..."} 
[2026-07-25 10:28:15] local.INFO: Packet analysis {"connection_id":141027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:28:15] local.INFO: Extracted packet for processing {"connection_id":141027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a1"} 
[2026-07-25 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763309952,"raw_latitude":103114712,"longitude_deg":76.3309952,"latitude_deg":10.3114712,"altitude":14,"angle":147,"satellites":42,"speed":48,"hex_longitude":"2d7f2f80","hex_latitude":"062567d8","is_valid_coordinates":true} 
[2026-07-25 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948572672001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357518351938879488,"note":"Value kept but may cause issues"} 
[2026-07-25 10:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159477243540983808,"note":"Value kept but may cause issues"} 
[2026-07-25 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784955370000,"timestamp_ms":1784955370000,"timestamp_seconds":1784955370,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a17a10"} 
[2026-07-25 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948572672001,"66":27974,"212":206,"79":21504,"24":48,"16":357518351938879488,"45":9159477243540983808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,79,24,16,45]} 
[2026-07-25 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948572672001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:28:15] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-25 10:28:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357518351938879488,"km_value":357518351938879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159477243540983808,"description":"Unknown IO ID 45"} 
[2026-07-25 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948572672001,"power":27974,"unknown_212":206,"unknown_79":21504,"ignition":48,"odometer":null,"unknown_45":9159477243540983808}} 
[2026-07-25 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":141027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:28:15] local.INFO: GPS data processed {"connection_id":141027,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:28:15] local.INFO: Acknowledgment sent {"connection_id":141027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:28:56] local.INFO: TCP Data received {"connection_id":140972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:56] local.INFO: Processing buffer {"connection_id":140972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:56] local.INFO: IMEI packet received {"connection_id":140972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":140972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:28:57] local.INFO: TCP Data received {"connection_id":140972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:57] local.INFO: Processing buffer {"connection_id":140972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:28:57] local.INFO: IMEI packet received {"connection_id":140972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":140972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:29:07] local.INFO: TCP Data received {"connection_id":140972,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:29:07] local.INFO: Processing buffer {"connection_id":140972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:29:07] local.INFO: IMEI packet received {"connection_id":140972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":140972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:29:14] local.INFO: TCP Data received {"connection_id":140972,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a2fcc8012d801e800623c468001600b129..."} 
[2026-07-25 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a2fcc8012d801e800623c468001600b129..."} 
[2026-07-25 10:29:14] local.INFO: Processing buffer {"connection_id":140972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a2fcc8012d801e800623c468001600b129..."} 
[2026-07-25 10:29:14] local.INFO: Packet analysis {"connection_id":140972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a2"} 
[2026-07-25 10:29:14] local.INFO: Extracted packet for processing {"connection_id":140972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a2"} 
[2026-07-25 10:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763371136,"raw_latitude":103007336,"longitude_deg":76.3371136,"latitude_deg":10.3007336,"altitude":22,"angle":177,"satellites":41,"speed":51,"hex_longitude":"2d801e80","hex_latitude":"0623c468","is_valid_coordinates":true} 
[2026-07-25 10:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948600064001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357524364893093888,"note":"Value kept but may cause issues"} 
[2026-07-25 10:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214787023695222784,"note":"Value kept but may cause issues"} 
[2026-07-25 10:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784955469000,"timestamp_ms":1784955469000,"timestamp_seconds":1784955469,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a2fcc8"} 
[2026-07-25 10:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":140972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":140972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":140972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948600064001,"66":27843,"114":206,"79":21504,"24":51,"16":357524364893093888,"45":-9214787023695222784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,79,24,16,45]} 
[2026-07-25 10:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948600064001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:29:14] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-25 10:29:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357524364893093888,"km_value":357524364893093.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214787023695222784,"description":"Unknown IO ID 45"} 
[2026-07-25 10:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948600064001,"power":27843,"unknown_114":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-9214787023695222784}} 
[2026-07-25 10:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":140972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:29:14] local.INFO: GPS data processed {"connection_id":140972,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:29:14] local.INFO: Acknowledgment sent {"connection_id":140972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:29:15] local.INFO: TCP Data received {"connection_id":140972,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a31820012d801d8006239f60001300b62a..."} 
[2026-07-25 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a31820012d801d8006239f60001300b62a..."} 
[2026-07-25 10:29:15] local.INFO: Processing buffer {"connection_id":140972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a31820012d801d8006239f60001300b62a..."} 
[2026-07-25 10:29:15] local.INFO: Packet analysis {"connection_id":140972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a3"} 
[2026-07-25 10:29:15] local.INFO: Extracted packet for processing {"connection_id":140972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a3"} 
[2026-07-25 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763370880,"raw_latitude":102997856,"longitude_deg":76.337088,"latitude_deg":10.2997856,"altitude":19,"angle":182,"satellites":42,"speed":54,"hex_longitude":"2d801d80","hex_latitude":"06239f60","is_valid_coordinates":true} 
[2026-07-25 10:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948600064001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357524824454594560,"note":"Value kept but may cause issues"} 
[2026-07-25 10:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214787023695222784,"note":"Value kept but may cause issues"} 
[2026-07-25 10:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784955476000,"timestamp_ms":1784955476000,"timestamp_seconds":1784955476,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a31820"} 
[2026-07-25 10:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10: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-07-25 10:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":140972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":140972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":140972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948600064001,"66":27919,"114":206,"79":21504,"24":54,"16":357524824454594560,"45":-9214787023695222784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,79,24,16,45]} 
[2026-07-25 10:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948600064001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:29:15] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-25 10:29:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357524824454594560,"km_value":357524824454594.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214787023695222784,"description":"Unknown IO ID 45"} 
[2026-07-25 10:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948600064001,"power":27919,"unknown_114":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":-9214787023695222784}} 
[2026-07-25 10:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":140972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:29:15] local.INFO: GPS data processed {"connection_id":140972,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:29:15] local.INFO: Acknowledgment sent {"connection_id":140972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:29:56] local.INFO: TCP Data received {"connection_id":142021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:29:56] local.INFO: Processing buffer {"connection_id":142021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:29:56] local.INFO: IMEI packet received {"connection_id":142021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":142021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:29:58] local.INFO: TCP Data received {"connection_id":142021,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 10:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142021,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 10:29:58] local.INFO: Processing buffer {"connection_id":142021,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 10:29:58] local.INFO: IMEI packet received {"connection_id":142021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":142021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:30:02] local.INFO: TCP Data received {"connection_id":142021,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:30:02] local.INFO: Processing buffer {"connection_id":142021,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 10:30:02] local.INFO: IMEI packet received {"connection_id":142021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":142021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:30:05] local.INFO: TCP Data received {"connection_id":142021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a44100012d7ff44006223620000e009e2b..."} 
[2026-07-25 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a44100012d7ff44006223620000e009e2b..."} 
[2026-07-25 10:30:05] local.INFO: Processing buffer {"connection_id":142021,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f97..."} 
[2026-07-25 10:30:05] local.INFO: IMEI packet received {"connection_id":142021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":142021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:30:08] local.INFO: TCP Data received {"connection_id":142021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a45c58012d800780062212a0000d00912c..."} 
[2026-07-25 10:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a45c58012d800780062212a0000d00912c..."} 
[2026-07-25 10:30:08] local.INFO: Processing buffer {"connection_id":142021,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f97a44100012d7ff44006223620000e009e2b..."} 
[2026-07-25 10:30:08] local.INFO: Packet analysis {"connection_id":142021,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:30:08] local.INFO: Extracted packet for processing {"connection_id":142021,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763360320,"raw_latitude":102905376,"longitude_deg":76.336032,"latitude_deg":10.2905376,"altitude":14,"angle":158,"satellites":43,"speed":59,"hex_longitude":"2d7ff440","hex_latitude":"06223620","is_valid_coordinates":true} 
[2026-07-25 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948620032001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357529445839405056,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9217742563666219008,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784955552000,"timestamp_ms":1784955552000,"timestamp_seconds":1784955552,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a44100"} 
[2026-07-25 10:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948620032001,"66":27908,"147":206,"79":21504,"24":59,"16":357529445839405056,"45":9217742563666219008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948620032001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357529445839405056,"km_value":357529445839405.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9217742563666219008,"description":"Unknown IO ID 45"} 
[2026-07-25 10:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948620032001,"power":27908,"unknown_147":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":9217742563666219008}} 
[2026-07-25 10:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":142021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:30:08] local.INFO: GPS data processed {"connection_id":142021,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:30:08] local.INFO: Acknowledgment sent {"connection_id":142021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:30:08] local.INFO: Packet analysis {"connection_id":142021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:30:08] local.INFO: Extracted packet for processing {"connection_id":142021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":763365248,"raw_latitude":102896288,"longitude_deg":76.3365248,"latitude_deg":10.2896288,"altitude":13,"angle":145,"satellites":44,"speed":58,"hex_longitude":"2d800780","hex_latitude":"062212a0","is_valid_coordinates":true} 
[2026-07-25 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948621312001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357529948350578688,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220064732222201856,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784955559000,"timestamp_ms":1784955559000,"timestamp_seconds":1784955559,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a45c58"} 
[2026-07-25 10:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948621312001,"66":27789,"147":206,"79":21504,"24":58,"16":357529948350578688,"45":9220064732222201856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-25 10:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948621312001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357529948350578688,"km_value":357529948350578.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220064732222201856,"description":"Unknown IO ID 45"} 
[2026-07-25 10:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948621312001,"power":27789,"unknown_147":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":9220064732222201856}} 
[2026-07-25 10:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":142021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:30:08] local.INFO: GPS data processed {"connection_id":142021,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:30:08] local.INFO: Acknowledgment sent {"connection_id":142021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:30:13] local.INFO: TCP Data received {"connection_id":142021,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a45c58012d800780062212a0000d00912c..."} 
[2026-07-25 10:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a45c58012d800780062212a0000d00912c..."} 
[2026-07-25 10:30:13] local.INFO: Processing buffer {"connection_id":142021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a45c58012d800780062212a0000d00912c..."} 
[2026-07-25 10:30:13] local.INFO: Packet analysis {"connection_id":142021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:30:13] local.INFO: Extracted packet for processing {"connection_id":142021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763365248,"raw_latitude":102896288,"longitude_deg":76.3365248,"latitude_deg":10.2896288,"altitude":13,"angle":145,"satellites":44,"speed":58,"hex_longitude":"2d800780","hex_latitude":"062212a0","is_valid_coordinates":true} 
[2026-07-25 10:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948623104001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357529948350578688,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221260948187996160,"note":"Value kept but may cause issues"} 
[2026-07-25 10:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784955559000,"timestamp_ms":1784955559000,"timestamp_seconds":1784955559,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a45c58"} 
[2026-07-25 10:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 10:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948623104001,"66":27789,"147":206,"79":21504,"24":58,"16":357529948350578688,"45":-9221260948187996160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-25 10:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948623104001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:30:13] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 10:30:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357529948350578688,"km_value":357529948350578.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221260948187996160,"description":"Unknown IO ID 45"} 
[2026-07-25 10:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948623104001,"power":27789,"unknown_147":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":-9221260948187996160}} 
[2026-07-25 10:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":142021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:30:14] local.INFO: GPS data processed {"connection_id":142021,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:30:14] local.INFO: Acknowledgment sent {"connection_id":142021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:30:56] local.INFO: TCP Data received {"connection_id":143372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:30:56] local.INFO: Processing buffer {"connection_id":143372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:30:56] local.INFO: IMEI packet received {"connection_id":143372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":143372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:31:00] local.INFO: TCP Data received {"connection_id":143372,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:31:00] local.INFO: Processing buffer {"connection_id":143372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:31:00] local.INFO: IMEI packet received {"connection_id":143372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":143372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:31:01] local.INFO: TCP Data received {"connection_id":143372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a46810012d80134006220578000e00842b..."} 
[2026-07-25 10:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a46810012d80134006220578000e00842b..."} 
[2026-07-25 10:31:01] local.INFO: Processing buffer {"connection_id":143372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a46810012d80134006220578000e00842b..."} 
[2026-07-25 10:31:01] local.INFO: Packet analysis {"connection_id":143372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:31:01] local.INFO: Extracted packet for processing {"connection_id":143372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a4"} 
[2026-07-25 10:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763368256,"raw_latitude":102892920,"longitude_deg":76.3368256,"latitude_deg":10.289292,"altitude":14,"angle":132,"satellites":43,"speed":59,"hex_longitude":"2d801340","hex_latitude":"06220578","is_valid_coordinates":true} 
[2026-07-25 10:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948623104001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357530163098943488,"note":"Value kept but may cause issues"} 
[2026-07-25 10:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221260948187996160,"note":"Value kept but may cause issues"} 
[2026-07-25 10:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784955562000,"timestamp_ms":1784955562000,"timestamp_seconds":1784955562,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a46810"} 
[2026-07-25 10:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 10:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948623104001,"66":27908,"147":206,"79":21504,"24":59,"16":357530163098943488,"45":-9221260948187996160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-25 10:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948623104001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:31:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 10:31:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357530163098943488,"km_value":357530163098943.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221260948187996160,"description":"Unknown IO ID 45"} 
[2026-07-25 10:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948623104001,"power":27908,"unknown_147":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":-9221260948187996160}} 
[2026-07-25 10:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":143372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:31:01] local.INFO: GPS data processed {"connection_id":143372,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:31:01] local.INFO: Acknowledgment sent {"connection_id":143372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:31:32] local.INFO: TCP Data received {"connection_id":143372,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a594d8012d8121800620f6d00019009e2b..."} 
[2026-07-25 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a594d8012d8121800620f6d00019009e2b..."} 
[2026-07-25 10:31:32] local.INFO: Processing buffer {"connection_id":143372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a594d8012d8121800620f6d00019009e2b..."} 
[2026-07-25 10:31:32] local.INFO: Packet analysis {"connection_id":143372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:31:32] local.INFO: Extracted packet for processing {"connection_id":143372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763437440,"raw_latitude":102823632,"longitude_deg":76.343744,"latitude_deg":10.2823632,"altitude":25,"angle":158,"satellites":43,"speed":53,"hex_longitude":"2d812180","hex_latitude":"0620f6d0","is_valid_coordinates":true} 
[2026-07-25 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948641536001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357535085131464704,"note":"Value kept but may cause issues"} 
[2026-07-25 10:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146318235655077888,"note":"Value kept but may cause issues"} 
[2026-07-25 10:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784955639000,"timestamp_ms":1784955639000,"timestamp_seconds":1784955639,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a594d8"} 
[2026-07-25 10:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948641536001,"66":27550,"49":206,"79":21504,"24":53,"16":357535085131464704,"45":-9146318235655077888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948641536001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357535085131464704,"km_value":357535085131464.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146318235655077888,"description":"Unknown IO ID 45"} 
[2026-07-25 10:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948641536001,"power":27550,"unknown_49":206,"unknown_79":21504,"ignition":53,"odometer":null,"unknown_45":-9146318235655077888}} 
[2026-07-25 10:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":143372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:31:32] local.INFO: GPS data processed {"connection_id":143372,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:31:32] local.INFO: Acknowledgment sent {"connection_id":143372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:31:56] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:31:56] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:31:56] local.INFO: IMEI packet received {"connection_id":141028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":141028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:32:01] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:32:01] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:32:01] local.INFO: IMEI packet received {"connection_id":141028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":141028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:32:02] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a5b030012d812d000620d170001700a72c..."} 
[2026-07-25 10:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a5b030012d812d000620d170001700a72c..."} 
[2026-07-25 10:32:02] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a5b030012d812d000620d170001700a72c..."} 
[2026-07-25 10:32:02] local.INFO: Packet analysis {"connection_id":141028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:32:02] local.INFO: Extracted packet for processing {"connection_id":141028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763440384,"raw_latitude":102814064,"longitude_deg":76.3440384,"latitude_deg":10.2814064,"altitude":23,"angle":167,"satellites":44,"speed":60,"hex_longitude":"2d812d00","hex_latitude":"0620d170","is_valid_coordinates":true} 
[2026-07-25 10:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948643584001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357535570462769152,"note":"Value kept but may cause issues"} 
[2026-07-25 10:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9141885004774191104,"note":"Value kept but may cause issues"} 
[2026-07-25 10:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784955646000,"timestamp_ms":1784955646000,"timestamp_seconds":1784955646,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a5b030"} 
[2026-07-25 10:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-25 10:32:02] 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-07-25 10:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948643584001,"66":27887,"49":206,"79":21504,"24":60,"16":357535570462769152,"45":-9141885004774191104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948643584001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:32:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:32:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357535570462769152,"km_value":357535570462769.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9141885004774191104,"description":"Unknown IO ID 45"} 
[2026-07-25 10:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948643584001,"power":27887,"unknown_49":206,"unknown_79":21504,"ignition":60,"odometer":null,"unknown_45":-9141885004774191104}} 
[2026-07-25 10:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":141028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:32:02] local.INFO: GPS data processed {"connection_id":141028,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:32:02] local.INFO: Acknowledgment sent {"connection_id":141028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:32:33] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a5c7a0012d8131c00620ae38001500b12b..."} 
[2026-07-25 10:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a5c7a0012d8131c00620ae38001500b12b..."} 
[2026-07-25 10:32:33] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a5c7a0012d8131c00620ae38001500b12b..."} 
[2026-07-25 10:32:33] local.INFO: Packet analysis {"connection_id":141028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:32:33] local.INFO: Extracted packet for processing {"connection_id":141028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:32:33] local.INFO: GPS Element Parsed {"raw_longitude":763441600,"raw_latitude":102805048,"longitude_deg":76.34416,"latitude_deg":10.2805048,"altitude":21,"angle":177,"satellites":43,"speed":58,"hex_longitude":"2d8131c0","hex_latitude":"0620ae38","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948645376001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357536012844400640,"note":"Value kept but may cause issues"} 
[2026-07-25 10:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9138648042544467968,"note":"Value kept but may cause issues"} 
[2026-07-25 10:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784955652000,"timestamp_ms":1784955652000,"timestamp_seconds":1784955652,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a5c7a0"} 
[2026-07-25 10:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 10:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948645376001,"66":27865,"49":206,"79":21504,"24":58,"16":357536012844400640,"45":-9138648042544467968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948645376001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:32:33] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:32:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357536012844400640,"km_value":357536012844400.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9138648042544467968,"description":"Unknown IO ID 45"} 
[2026-07-25 10:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948645376001,"power":27865,"unknown_49":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":-9138648042544467968}} 
[2026-07-25 10:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":141028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:32:33] local.INFO: GPS data processed {"connection_id":141028,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:32:33] local.INFO: Acknowledgment sent {"connection_id":141028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:33:01] local.INFO: TCP Data received {"connection_id":143373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:01] local.INFO: Processing buffer {"connection_id":143373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:01] local.INFO: IMEI packet received {"connection_id":143373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":143373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:33:06] local.INFO: TCP Data received {"connection_id":143373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:06] local.INFO: Processing buffer {"connection_id":143373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:06] local.INFO: IMEI packet received {"connection_id":143373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":143373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:33:07] local.INFO: TCP Data received {"connection_id":143373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a5e2f8012d813140062089d8001600b52b..."} 
[2026-07-25 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a5e2f8012d813140062089d8001600b52b..."} 
[2026-07-25 10:33:07] local.INFO: Processing buffer {"connection_id":143373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a5e2f8012d813140062089d8001600b52b..."} 
[2026-07-25 10:33:07] local.INFO: Packet analysis {"connection_id":143373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:33:07] local.INFO: Extracted packet for processing {"connection_id":143373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a5"} 
[2026-07-25 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763441472,"raw_latitude":102795736,"longitude_deg":76.3441472,"latitude_deg":10.2795736,"altitude":22,"angle":181,"satellites":43,"speed":45,"hex_longitude":"2d813140","hex_latitude":"062089d8","is_valid_coordinates":true} 
[2026-07-25 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948646912001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357536463815966720,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137311036407400448,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784955659000,"timestamp_ms":1784955659000,"timestamp_seconds":1784955659,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a5e2f8"} 
[2026-07-25 10:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948646912001,"66":27876,"49":206,"79":21504,"24":45,"16":357536463815966720,"45":-9137311036407400448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948646912001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357536463815966720,"km_value":357536463815966.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137311036407400448,"description":"Unknown IO ID 45"} 
[2026-07-25 10:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948646912001,"power":27876,"unknown_49":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":-9137311036407400448}} 
[2026-07-25 10:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":143373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:33:07] local.INFO: GPS data processed {"connection_id":143373,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:33:07] local.INFO: Acknowledgment sent {"connection_id":143373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:33:07] local.INFO: TCP Data received {"connection_id":143373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a60620012d81314006206420001600b228..."} 
[2026-07-25 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a60620012d81314006206420001600b228..."} 
[2026-07-25 10:33:07] local.INFO: Processing buffer {"connection_id":143373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a60620012d81314006206420001600b228..."} 
[2026-07-25 10:33:07] local.INFO: Packet analysis {"connection_id":143373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:33:07] local.INFO: Extracted packet for processing {"connection_id":143373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763441472,"raw_latitude":102786080,"longitude_deg":76.3441472,"latitude_deg":10.278608,"altitude":22,"angle":178,"satellites":40,"speed":41,"hex_longitude":"2d813140","hex_latitude":"06206420","is_valid_coordinates":true} 
[2026-07-25 10:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948648704001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357536931967401984,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137451773898139648,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784955668000,"timestamp_ms":1784955668000,"timestamp_seconds":1784955668,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a60620"} 
[2026-07-25 10:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948648704001,"66":27821,"49":206,"79":21504,"24":41,"16":357536931967401984,"45":-9137451773898139648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948648704001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357536931967401984,"km_value":357536931967402.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137451773898139648,"description":"Unknown IO ID 45"} 
[2026-07-25 10:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948648704001,"power":27821,"unknown_49":206,"unknown_79":21504,"ignition":41,"odometer":null,"unknown_45":-9137451773898139648}} 
[2026-07-25 10:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":143373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:33:07] local.INFO: GPS data processed {"connection_id":143373,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:33:07] local.INFO: Acknowledgment sent {"connection_id":143373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:33:38] local.INFO: TCP Data received {"connection_id":143373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a62560012d813580062042e0001700a729..."} 
[2026-07-25 10:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a62560012d813580062042e0001700a729..."} 
[2026-07-25 10:33:38] local.INFO: Processing buffer {"connection_id":143373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a62560012d813580062042e0001700a729..."} 
[2026-07-25 10:33:38] local.INFO: Packet analysis {"connection_id":143373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:33:38] local.INFO: Extracted packet for processing {"connection_id":143373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763442560,"raw_latitude":102777568,"longitude_deg":76.344256,"latitude_deg":10.2777568,"altitude":23,"angle":167,"satellites":41,"speed":44,"hex_longitude":"2d813580","hex_latitude":"062042e0","is_valid_coordinates":true} 
[2026-07-25 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948651008001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357537348579229696,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9137451773900611584,"note":"Value kept but may cause issues"} 
[2026-07-25 10:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784955676000,"timestamp_ms":1784955676000,"timestamp_seconds":1784955676,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a62560"} 
[2026-07-25 10:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10: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-07-25 10:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 10:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948651008001,"66":27745,"49":206,"79":21504,"24":44,"16":357537348579229696,"45":-9137451773900611584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948651008001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:33:38] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:33:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357537348579229696,"km_value":357537348579229.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9137451773900611584,"description":"Unknown IO ID 45"} 
[2026-07-25 10:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948651008001,"power":27745,"unknown_49":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-9137451773900611584}} 
[2026-07-25 10:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":143373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:33:38] local.INFO: GPS data processed {"connection_id":143373,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:33:38] local.INFO: Acknowledgment sent {"connection_id":143373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:33:56] local.INFO: TCP Data received {"connection_id":143374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:56] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:33:56] local.INFO: IMEI packet received {"connection_id":143374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":143374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:34:01] local.INFO: TCP Data received {"connection_id":143374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:34:01] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:34:01] local.INFO: IMEI packet received {"connection_id":143374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":143374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:34:02] local.INFO: TCP Data received {"connection_id":143374,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a640b8012d813f40062024a80018009b27..."} 
[2026-07-25 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a640b8012d813f40062024a80018009b27..."} 
[2026-07-25 10:34:02] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a640b8012d813f40062024a80018009b27..."} 
[2026-07-25 10:34:02] local.INFO: Packet analysis {"connection_id":143374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:34:02] local.INFO: Extracted packet for processing {"connection_id":143374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763445056,"raw_latitude":102769832,"longitude_deg":76.3445056,"latitude_deg":10.2769832,"altitude":24,"angle":155,"satellites":39,"speed":47,"hex_longitude":"2d813f40","hex_latitude":"062024a8","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948653056001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357537743716220928,"note":"Value kept but may cause issues"} 
[2026-07-25 10:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9136255505251770368,"note":"Value kept but may cause issues"} 
[2026-07-25 10:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784955683000,"timestamp_ms":1784955683000,"timestamp_seconds":1784955683,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a640b8"} 
[2026-07-25 10:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 10:34: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-07-25 10: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-07-25 10:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948653056001,"66":27908,"49":206,"79":21504,"24":47,"16":357537743716220928,"45":-9136255505251770368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,79,24,16,45]} 
[2026-07-25 10:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948653056001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:34:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 10:34:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357537743716220928,"km_value":357537743716220.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9136255505251770368,"description":"Unknown IO ID 45"} 
[2026-07-25 10:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948653056001,"power":27908,"unknown_49":206,"unknown_79":21504,"ignition":47,"odometer":null,"unknown_45":-9136255505251770368}} 
[2026-07-25 10:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":143374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:34:02] local.INFO: GPS data processed {"connection_id":143374,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:34:02] local.INFO: Acknowledgment sent {"connection_id":143374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:34:32] local.INFO: TCP Data received {"connection_id":143374,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a65ff8012d815200062002e80018009128..."} 
[2026-07-25 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a65ff8012d815200062002e80018009128..."} 
[2026-07-25 10:34:32] local.INFO: Processing buffer {"connection_id":143374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a65ff8012d815200062002e80018009128..."} 
[2026-07-25 10:34:32] local.INFO: Packet analysis {"connection_id":143374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:34:32] local.INFO: Extracted packet for processing {"connection_id":143374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":763449856,"raw_latitude":102761192,"longitude_deg":76.3449856,"latitude_deg":10.2761192,"altitude":24,"angle":145,"satellites":40,"speed":51,"hex_longitude":"2d815200","hex_latitude":"062002e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948654848001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357538224752558080,"note":"Value kept but may cause issues"} 
[2026-07-25 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133511124230821888,"note":"Value kept but may cause issues"} 
[2026-07-25 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784955691000,"timestamp_ms":1784955691000,"timestamp_seconds":1784955691,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a65ff8"} 
[2026-07-25 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-07-25 10:34: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-07-25 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948654848001,"66":27745,"159":206,"79":21504,"24":51,"16":357538224752558080,"45":-9133511124230821888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-25 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948654848001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357538224752558080,"km_value":357538224752558.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133511124230821888,"description":"Unknown IO ID 45"} 
[2026-07-25 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948654848001,"power":27745,"unknown_159":206,"unknown_79":21504,"ignition":51,"odometer":null,"unknown_45":-9133511124230821888}} 
[2026-07-25 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":143374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:34:32] local.INFO: GPS data processed {"connection_id":143374,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:34:32] local.INFO: Acknowledgment sent {"connection_id":143374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:34:56] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:34:56] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:34:56] local.INFO: IMEI packet received {"connection_id":143375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":143375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:35:01] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:35:01] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:35:01] local.INFO: IMEI packet received {"connection_id":143375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":143375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:35:02] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a67b50012d816780061fe7200019008d29..."} 
[2026-07-25 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a67b50012d816780061fe7200019008d29..."} 
[2026-07-25 10:35:02] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a67b50012d816780061fe7200019008d29..."} 
[2026-07-25 10:35:02] local.INFO: Packet analysis {"connection_id":143375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:35:02] local.INFO: Extracted packet for processing {"connection_id":143375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763455360,"raw_latitude":102754080,"longitude_deg":76.345536,"latitude_deg":10.275408,"altitude":25,"angle":141,"satellites":41,"speed":50,"hex_longitude":"2d816780","hex_latitude":"061fe720","is_valid_coordinates":true} 
[2026-07-25 10:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948656896001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357538654249287680,"note":"Value kept but may cause issues"} 
[2026-07-25 10:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128233468419708928,"note":"Value kept but may cause issues"} 
[2026-07-25 10:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784955698000,"timestamp_ms":1784955698000,"timestamp_seconds":1784955698,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a67b50"} 
[2026-07-25 10:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 10:35: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-07-25 10:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948656896001,"66":27876,"159":206,"79":21504,"24":50,"16":357538654249287680,"45":-9128233468419708928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-25 10:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948656896001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:35:02] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-25 10:35:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357538654249287680,"km_value":357538654249287.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128233468419708928,"description":"Unknown IO ID 45"} 
[2026-07-25 10:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948656896001,"power":27876,"unknown_159":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-9128233468419708928}} 
[2026-07-25 10:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":143375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:35:02] local.INFO: GPS data processed {"connection_id":143375,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:35:02] local.INFO: Acknowledgment sent {"connection_id":143375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:35:33] local.INFO: TCP Data received {"connection_id":143375,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a69a90012d818000061fc8f80019008c29..."} 
[2026-07-25 10:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a69a90012d818000061fc8f80019008c29..."} 
[2026-07-25 10:35:33] local.INFO: Processing buffer {"connection_id":143375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a69a90012d818000061fc8f80019008c29..."} 
[2026-07-25 10:35:33] local.INFO: Packet analysis {"connection_id":143375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:35:33] local.INFO: Extracted packet for processing {"connection_id":143375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a6"} 
[2026-07-25 10:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763461632,"raw_latitude":102746360,"longitude_deg":76.3461632,"latitude_deg":10.274636,"altitude":25,"angle":140,"satellites":41,"speed":45,"hex_longitude":"2d818000","hex_latitude":"061fc8f8","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948658688001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357539135285624832,"note":"Value kept but may cause issues"} 
[2026-07-25 10:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122181756422250496,"note":"Value kept but may cause issues"} 
[2026-07-25 10:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784955706000,"timestamp_ms":1784955706000,"timestamp_seconds":1784955706,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a69a90"} 
[2026-07-25 10:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948658688001,"66":27865,"159":206,"79":21504,"24":45,"16":357539135285624832,"45":-9122181756422250496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,79,24,16,45]} 
[2026-07-25 10:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948658688001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:35:33] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-25 10:35:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357539135285624832,"km_value":357539135285624.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122181756422250496,"description":"Unknown IO ID 45"} 
[2026-07-25 10:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948658688001,"power":27865,"unknown_159":206,"unknown_79":21504,"ignition":45,"odometer":null,"unknown_45":-9122181756422250496}} 
[2026-07-25 10:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":143375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:35:33] local.INFO: GPS data processed {"connection_id":143375,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:35:33] local.INFO: Acknowledgment sent {"connection_id":143375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:35:56] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:35:56] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:35:56] local.INFO: IMEI packet received {"connection_id":141029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":141029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:36:01] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:01] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:01] local.INFO: IMEI packet received {"connection_id":141029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":141029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:36:02] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a96d38012d820d40061ec8a8001b008b2a..."} 
[2026-07-25 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a96d38012d820d40061ec8a8001b008b2a..."} 
[2026-07-25 10:36:02] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a96d38012d820d40061ec8a8001b008b2a..."} 
[2026-07-25 10:36:02] local.INFO: Packet analysis {"connection_id":141029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:36:02] local.INFO: Extracted packet for processing {"connection_id":141029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763497792,"raw_latitude":102680744,"longitude_deg":76.3497792,"latitude_deg":10.2680744,"altitude":27,"angle":139,"satellites":42,"speed":27,"hex_longitude":"2d820d40","hex_latitude":"061ec8a8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948704000001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357542790302793728,"note":"Value kept but may cause issues"} 
[2026-07-25 10:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9082353047234592768,"note":"Value kept but may cause issues"} 
[2026-07-25 10:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784955891000,"timestamp_ms":1784955891000,"timestamp_seconds":1784955891,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a96d38"} 
[2026-07-25 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-07-25 10:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948704000001,"66":27908,"157":206,"79":21504,"24":27,"16":357542790302793728,"45":-9082353047234592768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-25 10:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948704000001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:36:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 10:36:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357542790302793728,"km_value":357542790302793.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9082353047234592768,"description":"Unknown IO ID 45"} 
[2026-07-25 10:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948704000001,"power":27908,"unknown_157":206,"unknown_79":21504,"ignition":27,"odometer":null,"unknown_45":-9082353047234592768}} 
[2026-07-25 10:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":141029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:36:02] local.INFO: GPS data processed {"connection_id":141029,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:36:02] local.INFO: Acknowledgment sent {"connection_id":141029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:36:33] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a99830012d8224c0061eaec0001b008a29..."} 
[2026-07-25 10:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a99830012d8224c0061eaec0001b008a29..."} 
[2026-07-25 10:36:33] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a99830012d8224c0061eaec0001b008a29..."} 
[2026-07-25 10:36:33] local.INFO: Packet analysis {"connection_id":141029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:36:33] local.INFO: Extracted packet for processing {"connection_id":141029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":763503808,"raw_latitude":102674112,"longitude_deg":76.3503808,"latitude_deg":10.2674112,"altitude":27,"angle":138,"satellites":41,"speed":34,"hex_longitude":"2d8224c0","hex_latitude":"061eaec0","is_valid_coordinates":true} 
[2026-07-25 10:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948708096001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357543219799523328,"note":"Value kept but may cause issues"} 
[2026-07-25 10:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075527279051233280,"note":"Value kept but may cause issues"} 
[2026-07-25 10:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784955902000,"timestamp_ms":1784955902000,"timestamp_seconds":1784955902,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a99830"} 
[2026-07-25 10:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948708096001,"66":27908,"157":206,"79":21504,"24":34,"16":357543219799523328,"45":-9075527279051233280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-25 10:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948708096001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:36:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 10:36:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357543219799523328,"km_value":357543219799523.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075527279051233280,"description":"Unknown IO ID 45"} 
[2026-07-25 10:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948708096001,"power":27908,"unknown_157":206,"unknown_79":21504,"ignition":34,"odometer":null,"unknown_45":-9075527279051233280}} 
[2026-07-25 10:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":141029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:36:33] local.INFO: GPS data processed {"connection_id":141029,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:36:33] local.INFO: Acknowledgment sent {"connection_id":141029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:36:56] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:56] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:56] local.INFO: IMEI packet received {"connection_id":141030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":141030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:36:59] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:59] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:36:59] local.INFO: IMEI packet received {"connection_id":141030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":141030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:37:01] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:01] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:01] local.INFO: IMEI packet received {"connection_id":141030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":141030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:37:01] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a9caf8012d823dc0061e93680018008b29..."} 
[2026-07-25 10:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a9caf8012d823dc0061e93680018008b29..."} 
[2026-07-25 10:37:01] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a9caf8012d823dc0061e93680018008b29..."} 
[2026-07-25 10:37:01] local.INFO: Packet analysis {"connection_id":141030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:37:01] local.INFO: Extracted packet for processing {"connection_id":141030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763510208,"raw_latitude":102667112,"longitude_deg":76.3510208,"latitude_deg":10.2667112,"altitude":24,"angle":139,"satellites":41,"speed":28,"hex_longitude":"2d823dc0","hex_latitude":"061e9368","is_valid_coordinates":true} 
[2026-07-25 10:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948710912001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357543679361024000,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9068912617100230656,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784955915000,"timestamp_ms":1784955915000,"timestamp_seconds":1784955915,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a9caf8"} 
[2026-07-25 10:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948710912001,"66":27767,"157":206,"79":21504,"24":28,"16":357543679361024000,"45":-9068912617100230656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-25 10:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948710912001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:37:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 10:37:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357543679361024000,"km_value":357543679361024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9068912617100230656,"description":"Unknown IO ID 45"} 
[2026-07-25 10:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948710912001,"power":27767,"unknown_157":206,"unknown_79":21504,"ignition":28,"odometer":null,"unknown_45":-9068912617100230656}} 
[2026-07-25 10:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:37:01] local.INFO: GPS data processed {"connection_id":141030,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:37:01] local.INFO: Acknowledgment sent {"connection_id":141030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:37:06] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97a9fdc0012d825480061e77800017009026..."} 
[2026-07-25 10:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97a9fdc0012d825480061e77800017009026..."} 
[2026-07-25 10:37:06] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97a9fdc0012d825480061e77800017009026..."} 
[2026-07-25 10:37:06] local.INFO: Packet analysis {"connection_id":141030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:37:06] local.INFO: Extracted packet for processing {"connection_id":141030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97a9"} 
[2026-07-25 10:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763516032,"raw_latitude":102659968,"longitude_deg":76.3516032,"latitude_deg":10.2659968,"altitude":23,"angle":144,"satellites":38,"speed":12,"hex_longitude":"2d825480","hex_latitude":"061e7780","is_valid_coordinates":true} 
[2026-07-25 10:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948714240001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357544121742655488,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061875742684256256,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784955928000,"timestamp_ms":1784955928000,"timestamp_seconds":1784955928,"priority":1,"record_length":96,"hex_timestamp":"0000019f97a9fdc0"} 
[2026-07-25 10:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 10:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948714240001,"66":28050,"157":206,"79":21504,"24":12,"16":357544121742655488,"45":-9061875742684256256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-25 10:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948714240001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:37:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 10:37:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357544121742655488,"km_value":357544121742655.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061875742684256256,"description":"Unknown IO ID 45"} 
[2026-07-25 10:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948714240001,"power":28050,"unknown_157":206,"unknown_79":21504,"ignition":12,"odometer":null,"unknown_45":-9061875742684256256}} 
[2026-07-25 10:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":141030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:37:06] local.INFO: GPS data processed {"connection_id":141030,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:37:06] local.INFO: Acknowledgment sent {"connection_id":141030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:37:39] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97aa4fc8012d826640061e61a00017008b26..."} 
[2026-07-25 10:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97aa4fc8012d826640061e61a00017008b26..."} 
[2026-07-25 10:37:39] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97aa4fc8012d826640061e61a00017008b26..."} 
[2026-07-25 10:37:39] local.INFO: Packet analysis {"connection_id":141030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97aa"} 
[2026-07-25 10:37:39] local.INFO: Extracted packet for processing {"connection_id":141030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97aa"} 
[2026-07-25 10:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763520576,"raw_latitude":102654368,"longitude_deg":76.3520576,"latitude_deg":10.2654368,"altitude":23,"angle":139,"satellites":38,"speed":22,"hex_longitude":"2d826640","hex_latitude":"061e61a0","is_valid_coordinates":true} 
[2026-07-25 10:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948717568001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357544469635006464,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9055472186965917696,"note":"Value kept but may cause issues"} 
[2026-07-25 10:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784955949000,"timestamp_ms":1784955949000,"timestamp_seconds":1784955949,"priority":1,"record_length":96,"hex_timestamp":"0000019f97aa4fc8"} 
[2026-07-25 10:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 10:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948717568001,"66":27865,"157":206,"79":21504,"24":22,"16":357544469635006464,"45":-9055472186965917696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-25 10:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948717568001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:37:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 10:37:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357544469635006464,"km_value":357544469635006.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9055472186965917696,"description":"Unknown IO ID 45"} 
[2026-07-25 10:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948717568001,"power":27865,"unknown_157":206,"unknown_79":21504,"ignition":22,"odometer":null,"unknown_45":-9055472186965917696}} 
[2026-07-25 10:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":141030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:37:39] local.INFO: GPS data processed {"connection_id":141030,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:37:39] local.INFO: Acknowledgment sent {"connection_id":141030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:37:56] local.INFO: TCP Data received {"connection_id":143376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:56] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:56] local.INFO: IMEI packet received {"connection_id":143376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":143376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:37:56] local.INFO: TCP Data received {"connection_id":143376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:56] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:37:56] local.INFO: IMEI packet received {"connection_id":143376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":143376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:38:01] local.INFO: TCP Data received {"connection_id":143376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:01] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:01] local.INFO: IMEI packet received {"connection_id":143376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:38:03] local.INFO: TCP Data received {"connection_id":143376,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97aa9618012d827d40061e46900015008c26..."} 
[2026-07-25 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97aa9618012d827d40061e46900015008c26..."} 
[2026-07-25 10:38:03] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97aa9618012d827d40061e46900015008c26..."} 
[2026-07-25 10:38:03] local.INFO: Packet analysis {"connection_id":143376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97aa"} 
[2026-07-25 10:38:03] local.INFO: Extracted packet for processing {"connection_id":143376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97aa"} 
[2026-07-25 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763526464,"raw_latitude":102647440,"longitude_deg":76.3526464,"latitude_deg":10.264744,"altitude":21,"angle":140,"satellites":38,"speed":16,"hex_longitude":"2d827d40","hex_latitude":"061e4690","is_valid_coordinates":true} 
[2026-07-25 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948722944001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357544907721670656,"note":"Value kept but may cause issues"} 
[2026-07-25 10:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9050476006130737152,"note":"Value kept but may cause issues"} 
[2026-07-25 10:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784955967000,"timestamp_ms":1784955967000,"timestamp_seconds":1784955967,"priority":1,"record_length":96,"hex_timestamp":"0000019f97aa9618"} 
[2026-07-25 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948722944001,"66":27800,"157":206,"79":21504,"24":16,"16":357544907721670656,"45":-9050476006130737152},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,79,24,16,45]} 
[2026-07-25 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948722944001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:38:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 10:38:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357544907721670656,"km_value":357544907721670.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9050476006130737152,"description":"Unknown IO ID 45"} 
[2026-07-25 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948722944001,"power":27800,"unknown_157":206,"unknown_79":21504,"ignition":16,"odometer":null,"unknown_45":-9050476006130737152}} 
[2026-07-25 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":143376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:38:03] local.INFO: GPS data processed {"connection_id":143376,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:38:03] local.INFO: Acknowledgment sent {"connection_id":143376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:38:41] local.INFO: TCP Data received {"connection_id":143376,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ac2488012d83ffc0061d7050000b00702b..."} 
[2026-07-25 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ac2488012d83ffc0061d7050000b00702b..."} 
[2026-07-25 10:38:41] local.INFO: Processing buffer {"connection_id":143376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ac2488012d83ffc0061d7050000b00702b..."} 
[2026-07-25 10:38:41] local.INFO: Packet analysis {"connection_id":143376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:38:41] local.INFO: Extracted packet for processing {"connection_id":143376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":763625408,"raw_latitude":102592592,"longitude_deg":76.3625408,"latitude_deg":10.2592592,"altitude":11,"angle":112,"satellites":43,"speed":54,"hex_longitude":"2d83ffc0","hex_latitude":"061d7050","is_valid_coordinates":true} 
[2026-07-25 10:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948751872001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357550362330136576,"note":"Value kept but may cause issues"} 
[2026-07-25 10:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8944711783646605312,"note":"Value kept but may cause issues"} 
[2026-07-25 10:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784956069000,"timestamp_ms":1784956069000,"timestamp_seconds":1784956069,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ac2488"} 
[2026-07-25 10:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948751872001,"66":27908,"117":206,"79":21504,"24":54,"16":357550362330136576,"45":-8944711783646605312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,79,24,16,45]} 
[2026-07-25 10:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948751872001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:38:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 10:38:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357550362330136576,"km_value":357550362330136.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8944711783646605312,"description":"Unknown IO ID 45"} 
[2026-07-25 10:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948751872001,"power":27908,"unknown_117":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":-8944711783646605312}} 
[2026-07-25 10:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":143376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:38:41] local.INFO: GPS data processed {"connection_id":143376,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:38:41] local.INFO: Acknowledgment sent {"connection_id":143376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:38:59] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:59] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:59] local.INFO: IMEI packet received {"connection_id":142022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":142022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:38:59] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:59] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:38:59] local.INFO: IMEI packet received {"connection_id":142022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":142022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:39:01] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:01] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:01] local.INFO: IMEI packet received {"connection_id":142022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":142022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:39:06] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:06] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:06] local.INFO: IMEI packet received {"connection_id":142022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":142022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:39:07] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ac3fe0012d8423c0061d6250000b006f2a..."} 
[2026-07-25 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ac3fe0012d8423c0061d6250000b006f2a..."} 
[2026-07-25 10:39:07] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ac3fe0012d8423c0061d6250000b006f2a..."} 
[2026-07-25 10:39:07] local.INFO: Packet analysis {"connection_id":142022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:39:07] local.INFO: Extracted packet for processing {"connection_id":142022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763634624,"raw_latitude":102589008,"longitude_deg":76.3634624,"latitude_deg":10.2589008,"altitude":11,"angle":111,"satellites":42,"speed":57,"hex_longitude":"2d8423c0","hex_latitude":"061d6250","is_valid_coordinates":true} 
[2026-07-25 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948753664001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357550834776539136,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935212003183538176,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784956076000,"timestamp_ms":1784956076000,"timestamp_seconds":1784956076,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ac3fe0"} 
[2026-07-25 10:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948753664001,"66":27919,"115":206,"79":21504,"24":57,"16":357550834776539136,"45":-8935212003183538176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948753664001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357550834776539136,"km_value":357550834776539.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935212003183538176,"description":"Unknown IO ID 45"} 
[2026-07-25 10:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948753664001,"power":27919,"unknown_115":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":-8935212003183538176}} 
[2026-07-25 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":142022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:39:07] local.INFO: GPS data processed {"connection_id":142022,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:39:07] local.INFO: Acknowledgment sent {"connection_id":142022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:39:07] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ac5750012d8442c0061d5330000c007b2a..."} 
[2026-07-25 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ac5750012d8442c0061d5330000c007b2a..."} 
[2026-07-25 10:39:07] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ac5750012d8442c0061d5330000c007b2a..."} 
[2026-07-25 10:39:07] local.INFO: Packet analysis {"connection_id":142022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:39:07] local.INFO: Extracted packet for processing {"connection_id":142022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":763642560,"raw_latitude":102585136,"longitude_deg":76.364256,"latitude_deg":10.2585136,"altitude":12,"angle":123,"satellites":42,"speed":59,"hex_longitude":"2d8442c0","hex_latitude":"061d5330","is_valid_coordinates":true} 
[2026-07-25 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948755456001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357551259978301440,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8925078904022872064,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784956082000,"timestamp_ms":1784956082000,"timestamp_seconds":1784956082,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ac5750"} 
[2026-07-25 10:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948755456001,"66":27800,"115":206,"79":21504,"24":59,"16":357551259978301440,"45":-8925078904022872064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948755456001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357551259978301440,"km_value":357551259978301.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8925078904022872064,"description":"Unknown IO ID 45"} 
[2026-07-25 10:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948755456001,"power":27800,"unknown_115":206,"unknown_79":21504,"ignition":59,"odometer":null,"unknown_45":-8925078904022872064}} 
[2026-07-25 10:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":142022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:39:07] local.INFO: GPS data processed {"connection_id":142022,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:39:07] local.INFO: Acknowledgment sent {"connection_id":142022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:39:38] local.INFO: TCP Data received {"connection_id":142022,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ac6ad8012d8459c0061d4128000e008628..."} 
[2026-07-25 10:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ac6ad8012d8459c0061d4128000e008628..."} 
[2026-07-25 10:39:38] local.INFO: Processing buffer {"connection_id":142022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ac6ad8012d8459c0061d4128000e008628..."} 
[2026-07-25 10:39:38] local.INFO: Packet analysis {"connection_id":142022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:39:38] local.INFO: Extracted packet for processing {"connection_id":142022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763648448,"raw_latitude":102580520,"longitude_deg":76.3648448,"latitude_deg":10.258052,"altitude":14,"angle":134,"satellites":40,"speed":58,"hex_longitude":"2d8459c0","hex_latitude":"061d4128","is_valid_coordinates":true} 
[2026-07-25 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948756992001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357551616460587008,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8916353179745832960,"note":"Value kept but may cause issues"} 
[2026-07-25 10:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784956087000,"timestamp_ms":1784956087000,"timestamp_seconds":1784956087,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ac6ad8"} 
[2026-07-25 10:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 10:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948756992001,"66":27887,"115":206,"79":21504,"24":58,"16":357551616460587008,"45":-8916353179745832960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948756992001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:39:38] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:39:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357551616460587008,"km_value":357551616460587.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8916353179745832960,"description":"Unknown IO ID 45"} 
[2026-07-25 10:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948756992001,"power":27887,"unknown_115":206,"unknown_79":21504,"ignition":58,"odometer":null,"unknown_45":-8916353179745832960}} 
[2026-07-25 10:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":142022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:39:38] local.INFO: GPS data processed {"connection_id":142022,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:39:38] local.INFO: Acknowledgment sent {"connection_id":142022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:39:56] local.INFO: TCP Data received {"connection_id":142023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:56] local.INFO: Processing buffer {"connection_id":142023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:56] local.INFO: IMEI packet received {"connection_id":142023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":142023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:39:56] local.INFO: TCP Data received {"connection_id":142023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:56] local.INFO: Processing buffer {"connection_id":142023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:39:56] local.INFO: IMEI packet received {"connection_id":142023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":142023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:40:01] local.INFO: TCP Data received {"connection_id":142023,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:01] local.INFO: Processing buffer {"connection_id":142023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:01] local.INFO: IMEI packet received {"connection_id":142023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":142023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:40:01] local.INFO: TCP Data received {"connection_id":142023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ac8630012d847300061d22880011008f2a..."} 
[2026-07-25 10:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ac8630012d847300061d22880011008f2a..."} 
[2026-07-25 10:40:01] local.INFO: Processing buffer {"connection_id":142023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ac8630012d847300061d22880011008f2a..."} 
[2026-07-25 10:40:01] local.INFO: Packet analysis {"connection_id":142023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:40:01] local.INFO: Extracted packet for processing {"connection_id":142023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763654912,"raw_latitude":102572680,"longitude_deg":76.3654912,"latitude_deg":10.257268,"altitude":17,"angle":143,"satellites":42,"speed":57,"hex_longitude":"2d847300","hex_latitude":"061d2288","is_valid_coordinates":true} 
[2026-07-25 10:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948758272001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357552110381826048,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8909879255282669568,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784956094000,"timestamp_ms":1784956094000,"timestamp_seconds":1784956094,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ac8630"} 
[2026-07-25 10:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 10:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948758272001,"66":27843,"115":206,"79":21504,"24":57,"16":357552110381826048,"45":-8909879255282669568},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948758272001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:40:01] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:40:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357552110381826048,"km_value":357552110381826.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8909879255282669568,"description":"Unknown IO ID 45"} 
[2026-07-25 10:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948758272001,"power":27843,"unknown_115":206,"unknown_79":21504,"ignition":57,"odometer":null,"unknown_45":-8909879255282669568}} 
[2026-07-25 10:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":142023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:40:01] local.INFO: GPS data processed {"connection_id":142023,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:40:01] local.INFO: Acknowledgment sent {"connection_id":142023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:40:03] local.INFO: TCP Data received {"connection_id":142023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97aca188012d848740061d01f80014009a2a..."} 
[2026-07-25 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97aca188012d848740061d01f80014009a2a..."} 
[2026-07-25 10:40:03] local.INFO: Processing buffer {"connection_id":142023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97aca188012d848740061d01f80014009a2a..."} 
[2026-07-25 10:40:03] local.INFO: Packet analysis {"connection_id":142023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:40:03] local.INFO: Extracted packet for processing {"connection_id":142023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ac"} 
[2026-07-25 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763660096,"raw_latitude":102564344,"longitude_deg":76.3660096,"latitude_deg":10.2564344,"altitude":20,"angle":154,"satellites":42,"speed":54,"hex_longitude":"2d848740","hex_latitude":"061d01f8","is_valid_coordinates":true} 
[2026-07-25 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948760064001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357552582828228608,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8902772012122732544,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784956101000,"timestamp_ms":1784956101000,"timestamp_seconds":1784956101,"priority":1,"record_length":96,"hex_timestamp":"0000019f97aca188"} 
[2026-07-25 10:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10: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-07-25 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948760064001,"66":27865,"115":206,"79":21504,"24":54,"16":357552582828228608,"45":-8902772012122732544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948760064001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:40:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:40:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357552582828228608,"km_value":357552582828228.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8902772012122732544,"description":"Unknown IO ID 45"} 
[2026-07-25 10:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948760064001,"power":27865,"unknown_115":206,"unknown_79":21504,"ignition":54,"odometer":null,"unknown_45":-8902772012122732544}} 
[2026-07-25 10:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":142023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:40:03] local.INFO: GPS data processed {"connection_id":142023,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:40:03] local.INFO: Acknowledgment sent {"connection_id":142023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:40:35] local.INFO: TCP Data received {"connection_id":142023,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97adbac8012d8516c0061bada00019009c29..."} 
[2026-07-25 10:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97adbac8012d8516c0061bada00019009c29..."} 
[2026-07-25 10:40:35] local.INFO: Processing buffer {"connection_id":142023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97adbac8012d8516c0061bada00019009c29..."} 
[2026-07-25 10:40:35] local.INFO: Packet analysis {"connection_id":142023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ad"} 
[2026-07-25 10:40:35] local.INFO: Extracted packet for processing {"connection_id":142023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ad"} 
[2026-07-25 10:40:35] local.INFO: GPS Element Parsed {"raw_longitude":763696832,"raw_latitude":102477216,"longitude_deg":76.3696832,"latitude_deg":10.2477216,"altitude":25,"angle":156,"satellites":41,"speed":44,"hex_longitude":"2d8516c0","hex_latitude":"061bada0","is_valid_coordinates":true} 
[2026-07-25 10:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948778240001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357557161263366144,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8860832240615014400,"note":"Value kept but may cause issues"} 
[2026-07-25 10:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784956173000,"timestamp_ms":1784956173000,"timestamp_seconds":1784956173,"priority":1,"record_length":96,"hex_timestamp":"0000019f97adbac8"} 
[2026-07-25 10:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 10:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948778240001,"66":27876,"115":206,"79":21504,"24":44,"16":357557161263366144,"45":-8860832240615014400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948778240001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:40:35] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:40:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357557161263366144,"km_value":357557161263366.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8860832240615014400,"description":"Unknown IO ID 45"} 
[2026-07-25 10:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948778240001,"power":27876,"unknown_115":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-8860832240615014400}} 
[2026-07-25 10:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":142023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:40:35] local.INFO: GPS data processed {"connection_id":142023,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:40:35] local.INFO: Acknowledgment sent {"connection_id":142023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:40:54] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:54] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:54] local.INFO: IMEI packet received {"connection_id":141031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":141031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:40:56] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:56] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:40:56] local.INFO: IMEI packet received {"connection_id":141031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":141031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:41:01] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:01] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:01] local.INFO: IMEI packet received {"connection_id":141031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":141031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:41:03] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97adddf0012d852840061b8bb0001a009428..."} 
[2026-07-25 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97adddf0012d852840061b8bb0001a009428..."} 
[2026-07-25 10:41:03] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97adddf0012d852840061b8bb0001a009428..."} 
[2026-07-25 10:41:03] local.INFO: Packet analysis {"connection_id":141031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ad"} 
[2026-07-25 10:41:03] local.INFO: Extracted packet for processing {"connection_id":141031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ad"} 
[2026-07-25 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763701312,"raw_latitude":102468528,"longitude_deg":76.3701312,"latitude_deg":10.2468528,"altitude":26,"angle":148,"satellites":40,"speed":44,"hex_longitude":"2d852840","hex_latitude":"061b8bb0","is_valid_coordinates":true} 
[2026-07-25 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948780288001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357557633709768704,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8856680484710801408,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784956182000,"timestamp_ms":1784956182000,"timestamp_seconds":1784956182,"priority":1,"record_length":96,"hex_timestamp":"0000019f97adddf0"} 
[2026-07-25 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948780288001,"66":27865,"115":206,"79":21504,"24":44,"16":357557633709768704,"45":-8856680484710801408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948780288001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:41:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:41:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357557633709768704,"km_value":357557633709768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8856680484710801408,"description":"Unknown IO ID 45"} 
[2026-07-25 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948780288001,"power":27865,"unknown_115":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-8856680484710801408}} 
[2026-07-25 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":141031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:41:03] local.INFO: GPS data processed {"connection_id":141031,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:41:03] local.INFO: Acknowledgment sent {"connection_id":141031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:41:04] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97adfd30012d853c40061b6e00001c008f29..."} 
[2026-07-25 10:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97adfd30012d853c40061b6e00001c008f29..."} 
[2026-07-25 10:41:04] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97adfd30012d853c40061b6e00001c008f29..."} 
[2026-07-25 10:41:04] local.INFO: Packet analysis {"connection_id":141031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ad"} 
[2026-07-25 10:41:04] local.INFO: Extracted packet for processing {"connection_id":141031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ad"} 
[2026-07-25 10:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763706432,"raw_latitude":102460928,"longitude_deg":76.3706432,"latitude_deg":10.2460928,"altitude":28,"angle":143,"satellites":41,"speed":44,"hex_longitude":"2d853c40","hex_latitude":"061b6e00","is_valid_coordinates":true} 
[2026-07-25 10:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948782592001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357558076091400192,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8851754672620589056,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784956190000,"timestamp_ms":1784956190000,"timestamp_seconds":1784956190,"priority":1,"record_length":96,"hex_timestamp":"0000019f97adfd30"} 
[2026-07-25 10:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948782592001,"66":27930,"115":206,"79":21504,"24":44,"16":357558076091400192,"45":-8851754672620589056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-07-25 10:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948782592001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357558076091400192,"km_value":357558076091400.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8851754672620589056,"description":"Unknown IO ID 45"} 
[2026-07-25 10:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948782592001,"power":27930,"unknown_115":206,"unknown_79":21504,"ignition":44,"odometer":null,"unknown_45":-8851754672620589056}} 
[2026-07-25 10:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":141031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:41:04] local.INFO: GPS data processed {"connection_id":141031,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:41:04] local.INFO: Acknowledgment sent {"connection_id":141031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:41:35] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97aedfc00100000000000000000000000000..."} 
[2026-07-25 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97aedfc00100000000000000000000000000..."} 
[2026-07-25 10:41:35] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97aedfc00100000000000000000000000000..."} 
[2026-07-25 10:41:35] local.INFO: Packet analysis {"connection_id":141031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ae"} 
[2026-07-25 10:41:35] local.INFO: Extracted packet for processing {"connection_id":141031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ae"} 
[2026-07-25 10:41:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 10:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948784640001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357558492703227904,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8846125173088321536,"note":"Value kept but may cause issues"} 
[2026-07-25 10:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784956248000,"timestamp_ms":1784956248000,"timestamp_seconds":1784956248,"priority":1,"record_length":96,"hex_timestamp":"0000019f97aedfc0"} 
[2026-07-25 10:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":141031,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 10:41:35] local.INFO: GPS data processed {"connection_id":141031,"processed":0,"errors":0,"total":1} 
[2026-07-25 10:41:35] local.INFO: Acknowledgment sent {"connection_id":141031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:41:56] local.INFO: TCP Data received {"connection_id":142024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:56] local.INFO: Processing buffer {"connection_id":142024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:56] local.INFO: IMEI packet received {"connection_id":142024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":142024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:41:59] local.INFO: TCP Data received {"connection_id":142024,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:59] local.INFO: Processing buffer {"connection_id":142024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:41:59] local.INFO: IMEI packet received {"connection_id":142024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":142024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:42:00] local.INFO: TCP Data received {"connection_id":142024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97aeef60012d85a140061aadc0002a00af26..."} 
[2026-07-25 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97aeef60012d85a140061aadc0002a00af26..."} 
[2026-07-25 10:42:00] local.INFO: Processing buffer {"connection_id":142024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97aeef60012d85a140061aadc0002a00af26..."} 
[2026-07-25 10:42:00] local.INFO: Packet analysis {"connection_id":142024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ae"} 
[2026-07-25 10:42:00] local.INFO: Extracted packet for processing {"connection_id":142024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ae"} 
[2026-07-25 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763732288,"raw_latitude":102411712,"longitude_deg":76.3732288,"latitude_deg":10.2411712,"altitude":42,"angle":175,"satellites":38,"speed":38,"hex_longitude":"2d85a140","hex_latitude":"061aadc0","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357558492703227904,"note":"Value kept but may cause issues"} 
[2026-07-25 10:42:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,113,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 10:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784956252000,"timestamp_ms":1784956252000,"timestamp_seconds":1784956252,"priority":1,"record_length":96,"hex_timestamp":"0000019f97aeef60"} 
[2026-07-25 10:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"113":206,"79":21504,"24":38,"16":357558492703227904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16]} 
[2026-07-25 10:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 10:42:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-25 10:42:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357558492703227904,"km_value":357558492703227.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:42:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_113":206,"unknown_79":21504,"ignition":38,"odometer":null}} 
[2026-07-25 10:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":142024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:42:00] local.INFO: GPS data processed {"connection_id":142024,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:42:00] local.INFO: Acknowledgment sent {"connection_id":142024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:42:31] local.INFO: TCP Data received {"connection_id":142024,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97af1288012d85a400061a86a8002a00b02a..."} 
[2026-07-25 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97af1288012d85a400061a86a8002a00b02a..."} 
[2026-07-25 10:42:31] local.INFO: Processing buffer {"connection_id":142024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97af1288012d85a400061a86a8002a00b02a..."} 
[2026-07-25 10:42:31] local.INFO: Packet analysis {"connection_id":142024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97af"} 
[2026-07-25 10:42:31] local.INFO: Extracted packet for processing {"connection_id":142024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97af"} 
[2026-07-25 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763732992,"raw_latitude":102401704,"longitude_deg":76.3732992,"latitude_deg":10.2401704,"altitude":42,"angle":176,"satellites":42,"speed":50,"hex_longitude":"2d85a400","hex_latitude":"061a86a8","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948800512001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357558978034532352,"note":"Value kept but may cause issues"} 
[2026-07-25 10:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8817696200453144576,"note":"Value kept but may cause issues"} 
[2026-07-25 10:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784956261000,"timestamp_ms":1784956261000,"timestamp_seconds":1784956261,"priority":1,"record_length":96,"hex_timestamp":"0000019f97af1288"} 
[2026-07-25 10:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948800512001,"66":27919,"113":206,"79":21504,"24":50,"16":357558978034532352,"45":-8817696200453144576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-07-25 10:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948800512001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:42:31] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-25 10:42:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":21504,"description":"Unknown IO ID 79"} 
[2026-07-25 10:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357558978034532352,"km_value":357558978034532.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8817696200453144576,"description":"Unknown IO ID 45"} 
[2026-07-25 10:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948800512001,"power":27919,"unknown_113":206,"unknown_79":21504,"ignition":50,"odometer":null,"unknown_45":-8817696200453144576}} 
[2026-07-25 10:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":142024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:42:31] local.INFO: GPS data processed {"connection_id":142024,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:42:31] local.INFO: Acknowledgment sent {"connection_id":142024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:42:56] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:42:56] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:42:56] local.INFO: IMEI packet received {"connection_id":143377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":143377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:42:59] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:42:59] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:42:59] local.INFO: IMEI packet received {"connection_id":143377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":143377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:43:00] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:43:00] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:43:00] local.INFO: IMEI packet received {"connection_id":143377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":143377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:43:01] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b03780012d85c8400618f1e0001e00a62a..."} 
[2026-07-25 10:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b03780012d85c8400618f1e0001e00a62a..."} 
[2026-07-25 10:43:01] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b03780012d85c8400618f1e0001e00a62a..."} 
[2026-07-25 10:43:01] local.INFO: Packet analysis {"connection_id":143377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:43:01] local.INFO: Extracted packet for processing {"connection_id":143377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763742272,"raw_latitude":102298080,"longitude_deg":76.3742272,"latitude_deg":10.229808,"altitude":30,"angle":166,"satellites":42,"speed":59,"hex_longitude":"2d85c840","hex_latitude":"0618f1e0","is_valid_coordinates":true} 
[2026-07-25 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948820480001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357564054685876224,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8809111213690290176,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784956336000,"timestamp_ms":1784956336000,"timestamp_seconds":1784956336,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b03780"} 
[2026-07-25 10:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 10:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948820480001,"66":27908,"133":206,"79":46592,"24":59,"16":357564054685876224,"45":-8809111213690290176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948820480001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:43:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:43:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357564054685876224,"km_value":357564054685876.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8809111213690290176,"description":"Unknown IO ID 45"} 
[2026-07-25 10:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948820480001,"power":27908,"unknown_133":206,"unknown_79":46592,"ignition":59,"odometer":null,"unknown_45":-8809111213690290176}} 
[2026-07-25 10:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":143377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:43:01] local.INFO: GPS data processed {"connection_id":143377,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:43:01] local.INFO: Acknowledgment sent {"connection_id":143377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:43:06] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b052d8012d85d2400618cb00001e00a62b..."} 
[2026-07-25 10:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b052d8012d85d2400618cb00001e00a62b..."} 
[2026-07-25 10:43:06] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b052d8012d85d2400618cb00001e00a62b..."} 
[2026-07-25 10:43:06] local.INFO: Packet analysis {"connection_id":143377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:43:06] local.INFO: Extracted packet for processing {"connection_id":143377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763744832,"raw_latitude":102288128,"longitude_deg":76.3744832,"latitude_deg":10.2288128,"altitude":30,"angle":166,"satellites":43,"speed":57,"hex_longitude":"2d85d240","hex_latitude":"0618cb00","is_valid_coordinates":true} 
[2026-07-25 10:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948822016001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357564552902082560,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8806718676390518784,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784956343000,"timestamp_ms":1784956343000,"timestamp_seconds":1784956343,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b052d8"} 
[2026-07-25 10:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948822016001,"66":27843,"133":206,"79":46592,"24":57,"16":357564552902082560,"45":-8806718676390518784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948822016001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:43:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:43:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357564552902082560,"km_value":357564552902082.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8806718676390518784,"description":"Unknown IO ID 45"} 
[2026-07-25 10:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948822016001,"power":27843,"unknown_133":206,"unknown_79":46592,"ignition":57,"odometer":null,"unknown_45":-8806718676390518784}} 
[2026-07-25 10:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":143377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:43:06] local.INFO: GPS data processed {"connection_id":143377,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:43:06] local.INFO: Acknowledgment sent {"connection_id":143377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:43:39] local.INFO: TCP Data received {"connection_id":143377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b06e30012d85db000618a618001e00a62b..."} 
[2026-07-25 10:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b06e30012d85db000618a618001e00a62b..."} 
[2026-07-25 10:43:39] local.INFO: Processing buffer {"connection_id":143377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b06e30012d85db000618a618001e00a62b..."} 
[2026-07-25 10:43:39] local.INFO: Packet analysis {"connection_id":143377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:43:39] local.INFO: Extracted packet for processing {"connection_id":143377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:43:39] local.INFO: GPS Element Parsed {"raw_longitude":763747072,"raw_latitude":102278680,"longitude_deg":76.3747072,"latitude_deg":10.227868,"altitude":30,"angle":166,"satellites":43,"speed":51,"hex_longitude":"2d85db00","hex_latitude":"0618a618","is_valid_coordinates":true} 
[2026-07-25 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948823808001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357565025348485120,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8803903926625959936,"note":"Value kept but may cause issues"} 
[2026-07-25 10:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784956350000,"timestamp_ms":1784956350000,"timestamp_seconds":1784956350,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b06e30"} 
[2026-07-25 10:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948823808001,"66":28028,"133":206,"79":46592,"24":51,"16":357565025348485120,"45":-8803903926625959936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948823808001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:43:39] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:43:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357565025348485120,"km_value":357565025348485.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8803903926625959936,"description":"Unknown IO ID 45"} 
[2026-07-25 10:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948823808001,"power":28028,"unknown_133":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8803903926625959936}} 
[2026-07-25 10:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":143377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:43:39] local.INFO: GPS data processed {"connection_id":143377,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:43:39] local.INFO: Acknowledgment sent {"connection_id":143377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:44:01] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:01] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:01] local.INFO: IMEI packet received {"connection_id":141032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":141032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:44:01] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:01] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:01] local.INFO: IMEI packet received {"connection_id":141032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":141032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:44:06] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:06] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:06] local.INFO: IMEI packet received {"connection_id":141032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":141032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:44:07] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b08d70012d85e3c006188268001e00a52a..."} 
[2026-07-25 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b08d70012d85e3c006188268001e00a52a..."} 
[2026-07-25 10:44:07] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b08d70012d85e3c006188268001e00a52a..."} 
[2026-07-25 10:44:07] local.INFO: Packet analysis {"connection_id":141032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:44:07] local.INFO: Extracted packet for processing {"connection_id":141032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763749312,"raw_latitude":102269544,"longitude_deg":76.3749312,"latitude_deg":10.2269544,"altitude":30,"angle":165,"satellites":42,"speed":43,"hex_longitude":"2d85e3c0","hex_latitude":"06188268","is_valid_coordinates":true} 
[2026-07-25 10:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948825600001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357565480615018496,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8801441020582160384,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784956358000,"timestamp_ms":1784956358000,"timestamp_seconds":1784956358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b08d70"} 
[2026-07-25 10:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 10:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948825600001,"66":27984,"133":206,"79":46592,"24":43,"16":357565480615018496,"45":-8801441020582160384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948825600001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:44:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:44:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357565480615018496,"km_value":357565480615018.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8801441020582160384,"description":"Unknown IO ID 45"} 
[2026-07-25 10:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948825600001,"power":27984,"unknown_133":206,"unknown_79":46592,"ignition":43,"odometer":null,"unknown_45":-8801441020582160384}} 
[2026-07-25 10:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":141032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:44:07] local.INFO: GPS data processed {"connection_id":141032,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:44:07] local.INFO: Acknowledgment sent {"connection_id":141032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:44:08] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b0b098012d85ed0006185e30001d00a628..."} 
[2026-07-25 10:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b0b098012d85ed0006185e30001d00a628..."} 
[2026-07-25 10:44:08] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b0b098012d85ed0006185e30001d00a628..."} 
[2026-07-25 10:44:08] local.INFO: Packet analysis {"connection_id":141032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:44:08] local.INFO: Extracted packet for processing {"connection_id":141032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:44:08] local.INFO: GPS Element Parsed {"raw_longitude":763751680,"raw_latitude":102260272,"longitude_deg":76.375168,"latitude_deg":10.2260272,"altitude":29,"angle":166,"satellites":40,"speed":41,"hex_longitude":"2d85ed00","hex_latitude":"06185e30","is_valid_coordinates":true} 
[2026-07-25 10:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948827648001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357565944471486464,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8798978114538280960,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784956367000,"timestamp_ms":1784956367000,"timestamp_seconds":1784956367,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b0b098"} 
[2026-07-25 10:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 10:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948827648001,"66":27876,"133":206,"79":46592,"24":41,"16":357565944471486464,"45":-8798978114538280960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948827648001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:44:08] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:44:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357565944471486464,"km_value":357565944471486.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8798978114538280960,"description":"Unknown IO ID 45"} 
[2026-07-25 10:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948827648001,"power":27876,"unknown_133":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8798978114538280960}} 
[2026-07-25 10:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":141032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:44:08] local.INFO: GPS data processed {"connection_id":141032,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:44:08] local.INFO: Acknowledgment sent {"connection_id":141032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:44:39] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b0d3c0012d85f60006183a00001d00a62b..."} 
[2026-07-25 10:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b0d3c0012d85f60006183a00001d00a62b..."} 
[2026-07-25 10:44:39] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b0d3c0012d85f60006183a00001d00a62b..."} 
[2026-07-25 10:44:39] local.INFO: Packet analysis {"connection_id":141032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:44:39] local.INFO: Extracted packet for processing {"connection_id":141032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763753984,"raw_latitude":102251008,"longitude_deg":76.3753984,"latitude_deg":10.2251008,"altitude":29,"angle":166,"satellites":43,"speed":44,"hex_longitude":"2d85f600","hex_latitude":"06183a00","is_valid_coordinates":true} 
[2026-07-25 10:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948829952001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357566404032987136,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8796374471006081024,"note":"Value kept but may cause issues"} 
[2026-07-25 10:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784956376000,"timestamp_ms":1784956376000,"timestamp_seconds":1784956376,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b0d3c0"} 
[2026-07-25 10:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948829952001,"66":27843,"133":206,"79":46592,"24":44,"16":357566404032987136,"45":-8796374471006081024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948829952001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:44:39] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:44:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357566404032987136,"km_value":357566404032987.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8796374471006081024,"description":"Unknown IO ID 45"} 
[2026-07-25 10:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948829952001,"power":27843,"unknown_133":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8796374471006081024}} 
[2026-07-25 10:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":141032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:44:39] local.INFO: GPS data processed {"connection_id":141032,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:44:39] local.INFO: Acknowledgment sent {"connection_id":141032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:44:54] local.INFO: TCP Data received {"connection_id":140973,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:54] local.INFO: Processing buffer {"connection_id":140973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:54] local.INFO: IMEI packet received {"connection_id":140973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":140973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:44:58] local.INFO: TCP Data received {"connection_id":140973,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:58] local.INFO: Processing buffer {"connection_id":140973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:44:58] local.INFO: IMEI packet received {"connection_id":140973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":140973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:45:04] local.INFO: TCP Data received {"connection_id":140973,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:45:04] local.INFO: Processing buffer {"connection_id":140973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:45:04] local.INFO: IMEI packet received {"connection_id":140973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":140973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:45:05] local.INFO: TCP Data received {"connection_id":140973,"ip":"42.109.136.1","data_length":1348,"data_hex":"000000000000030f8e0a0000019f97b0f300012d85fe40061816f8001d00a62a..."} 
[2026-07-25 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140973,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f97b0f300012d85fe40061816f8001d00a62a..."} 
[2026-07-25 10:45:05] local.INFO: Processing buffer {"connection_id":140973,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f97b0f300012d85fe40061816f8001d00a62a..."} 
[2026-07-25 10:45:05] local.INFO: Packet analysis {"connection_id":140973,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:45:05] local.INFO: Extracted packet for processing {"connection_id":140973,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f97b0"} 
[2026-07-25 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763756096,"raw_latitude":102242040,"longitude_deg":76.3756096,"latitude_deg":10.224204,"altitude":29,"angle":166,"satellites":42,"speed":46,"hex_longitude":"2d85fe40","hex_latitude":"061816f8","is_valid_coordinates":true} 
[2026-07-25 10:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948832256001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357566850709585920,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8793841196218056704,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784956384000,"timestamp_ms":1784956384000,"timestamp_seconds":1784956384,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b0f300"} 
[2026-07-25 10:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":140973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948832256001,"66":27843,"133":206,"79":46592,"24":46,"16":357566850709585920,"45":-8793841196218056704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948832256001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:45:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:45:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357566850709585920,"km_value":357566850709585.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8793841196218056704,"description":"Unknown IO ID 45"} 
[2026-07-25 10:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948832256001,"power":27843,"unknown_133":206,"unknown_79":46592,"ignition":46,"odometer":null,"unknown_45":-8793841196218056704}} 
[2026-07-25 10:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":140973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:45:05] local.INFO: GPS data processed {"connection_id":140973,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:45:05] local.INFO: Acknowledgment sent {"connection_id":140973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:45:05] local.INFO: Packet analysis {"connection_id":140973,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":140973,"needed":795,"available":553} 
[2026-07-25 10:45:07] local.INFO: TCP Data received {"connection_id":140973,"ip":"42.109.136.1","data_length":1037,"data_hex":"0000000000019f97b03780012d85c8400618f1e0001e00a62a003b0000000a00..."} 
[2026-07-25 10:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140973,"packet_length":1037,"packet_hex":"0000000000019f97b03780012d85c8400618f1e0001e00a62a003b0000000a00..."} 
[2026-07-25 10:45:07] local.INFO: Processing buffer {"connection_id":140973,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f97b11240012d8607000617f4d0001d00a529..."} 
[2026-07-25 10:45:07] local.INFO: Packet analysis {"connection_id":140973,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:07] local.INFO: Extracted packet for processing {"connection_id":140973,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763758336,"raw_latitude":102233296,"longitude_deg":76.3758336,"latitude_deg":10.2233296,"altitude":29,"angle":165,"satellites":41,"speed":43,"hex_longitude":"2d860700","hex_latitude":"0617f4d0","is_valid_coordinates":true} 
[2026-07-25 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948834304001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357567288796250112,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8791519027662489600,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784956392000,"timestamp_ms":1784956392000,"timestamp_seconds":1784956392,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b11240"} 
[2026-07-25 10:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948834304001,"66":27865,"133":206,"79":46592,"24":43,"16":357567288796250112,"45":-8791519027662489600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948834304001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357567288796250112,"km_value":357567288796250.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8791519027662489600,"description":"Unknown IO ID 45"} 
[2026-07-25 10:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948834304001,"power":27865,"unknown_133":206,"unknown_79":46592,"ignition":43,"odometer":null,"unknown_45":-8791519027662489600}} 
[2026-07-25 10:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":140973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:45:07] local.INFO: GPS data processed {"connection_id":140973,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:45:07] local.INFO: Acknowledgment sent {"connection_id":140973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:45:07] local.INFO: Packet analysis {"connection_id":140973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:07] local.INFO: Extracted packet for processing {"connection_id":140973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763761280,"raw_latitude":102223800,"longitude_deg":76.376128,"latitude_deg":10.22238,"altitude":29,"angle":162,"satellites":43,"speed":44,"hex_longitude":"2d861280","hex_latitude":"0617cfb8","is_valid_coordinates":true} 
[2026-07-25 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948836352001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357567769832587264,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8789056121618509824,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784956401000,"timestamp_ms":1784956401000,"timestamp_seconds":1784956401,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b13568"} 
[2026-07-25 10:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948836352001,"66":27800,"133":206,"79":46592,"24":44,"16":357567769832587264,"45":-8789056121618509824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948836352001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357567769832587264,"km_value":357567769832587.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8789056121618509824,"description":"Unknown IO ID 45"} 
[2026-07-25 10:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948836352001,"power":27800,"unknown_133":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8789056121618509824}} 
[2026-07-25 10:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":140973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:45:07] local.INFO: GPS data processed {"connection_id":140973,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:45:07] local.INFO: Acknowledgment sent {"connection_id":140973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:45:42] local.INFO: TCP Data received {"connection_id":140973,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b154a8012d861dc00617ad70001c00a12a..."} 
[2026-07-25 10:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b154a8012d861dc00617ad70001c00a12a..."} 
[2026-07-25 10:45:42] local.INFO: Processing buffer {"connection_id":140973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b154a8012d861dc00617ad70001c00a12a..."} 
[2026-07-25 10:45:42] local.INFO: Packet analysis {"connection_id":140973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:42] local.INFO: Extracted packet for processing {"connection_id":140973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763764160,"raw_latitude":102215024,"longitude_deg":76.376416,"latitude_deg":10.2215024,"altitude":28,"angle":161,"satellites":42,"speed":47,"hex_longitude":"2d861dc0","hex_latitude":"0617ad70","is_valid_coordinates":true} 
[2026-07-25 10:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948838656001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357568220804153344,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8785819159388768256,"note":"Value kept but may cause issues"} 
[2026-07-25 10:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784956409000,"timestamp_ms":1784956409000,"timestamp_seconds":1784956409,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b154a8"} 
[2026-07-25 10:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 10:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":140973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":140973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948838656001,"66":27843,"133":206,"79":46592,"24":47,"16":357568220804153344,"45":-8785819159388768256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948838656001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:45:42] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:45:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357568220804153344,"km_value":357568220804153.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8785819159388768256,"description":"Unknown IO ID 45"} 
[2026-07-25 10:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948838656001,"power":27843,"unknown_133":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8785819159388768256}} 
[2026-07-25 10:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":140973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:45:42] local.INFO: GPS data processed {"connection_id":140973,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:45:42] local.INFO: Acknowledgment sent {"connection_id":140973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:46:01] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:01] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:01] local.INFO: IMEI packet received {"connection_id":141033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":141033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:46:06] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:06] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:06] local.INFO: IMEI packet received {"connection_id":141033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":141033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:46:07] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b173e8012d862980061789d0001b00a32a..."} 
[2026-07-25 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b173e8012d862980061789d0001b00a32a..."} 
[2026-07-25 10:46:07] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b173e8012d862980061789d0001b00a32a..."} 
[2026-07-25 10:46:07] local.INFO: Packet analysis {"connection_id":141033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:46:07] local.INFO: Extracted packet for processing {"connection_id":141033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763767168,"raw_latitude":102205904,"longitude_deg":76.3767168,"latitude_deg":10.2205904,"altitude":27,"angle":163,"satellites":42,"speed":49,"hex_longitude":"2d862980","hex_latitude":"061789d0","is_valid_coordinates":true} 
[2026-07-25 10:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948840704001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357568684660621312,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8782652565903020032,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784956417000,"timestamp_ms":1784956417000,"timestamp_seconds":1784956417,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b173e8"} 
[2026-07-25 10:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948840704001,"66":27930,"133":206,"79":46592,"24":49,"16":357568684660621312,"45":-8782652565903020032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,79,24,16,45]} 
[2026-07-25 10:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948840704001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:46:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-25 10:46:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357568684660621312,"km_value":357568684660621.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8782652565903020032,"description":"Unknown IO ID 45"} 
[2026-07-25 10:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948840704001,"power":27930,"unknown_133":206,"unknown_79":46592,"ignition":49,"odometer":null,"unknown_45":-8782652565903020032}} 
[2026-07-25 10:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":141033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:46:07] local.INFO: GPS data processed {"connection_id":141033,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:46:07] local.INFO: Acknowledgment sent {"connection_id":141033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:46:08] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b18f40012d863480061768c8001a00a129..."} 
[2026-07-25 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b18f40012d863480061768c8001a00a129..."} 
[2026-07-25 10:46:08] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b18f40012d863480061768c8001a00a129..."} 
[2026-07-25 10:46:08] local.INFO: Packet analysis {"connection_id":141033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:46:08] local.INFO: Extracted packet for processing {"connection_id":141033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b1"} 
[2026-07-25 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763769984,"raw_latitude":102197448,"longitude_deg":76.3769984,"latitude_deg":10.2197448,"altitude":26,"angle":161,"satellites":41,"speed":51,"hex_longitude":"2d863480","hex_latitude":"061768c8","is_valid_coordinates":true} 
[2026-07-25 10:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948842752001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357569114157350912,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8779345234929004544,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784956424000,"timestamp_ms":1784956424000,"timestamp_seconds":1784956424,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b18f40"} 
[2026-07-25 10:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948842752001,"66":27930,"131":206,"79":46592,"24":51,"16":357569114157350912,"45":-8779345234929004544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-25 10:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948842752001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:46:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 10:46:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357569114157350912,"km_value":357569114157350.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8779345234929004544,"description":"Unknown IO ID 45"} 
[2026-07-25 10:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948842752001,"power":27930,"unknown_131":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8779345234929004544}} 
[2026-07-25 10:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":141033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:46:08] local.INFO: GPS data processed {"connection_id":141033,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:46:08] local.INFO: Acknowledgment sent {"connection_id":141033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:46:39] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b35078012d86e40006161370001a00972c..."} 
[2026-07-25 10:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b35078012d86e40006161370001a00972c..."} 
[2026-07-25 10:46:39] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b35078012d86e40006161370001a00972c..."} 
[2026-07-25 10:46:39] local.INFO: Packet analysis {"connection_id":141033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:46:39] local.INFO: Extracted packet for processing {"connection_id":141033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763814912,"raw_latitude":102110064,"longitude_deg":76.3814912,"latitude_deg":10.2110064,"altitude":26,"angle":151,"satellites":44,"speed":30,"hex_longitude":"2d86e400","hex_latitude":"06161370","is_valid_coordinates":true} 
[2026-07-25 10:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948869376001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357573881571049472,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8731846332631578624,"note":"Value kept but may cause issues"} 
[2026-07-25 10:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784956539000,"timestamp_ms":1784956539000,"timestamp_seconds":1784956539,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b35078"} 
[2026-07-25 10:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948869376001,"66":27865,"154":206,"79":46592,"24":30,"16":357573881571049472,"45":-8731846332631578624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948869376001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:46:39] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:46:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357573881571049472,"km_value":357573881571049.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8731846332631578624,"description":"Unknown IO ID 45"} 
[2026-07-25 10:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948869376001,"power":27865,"unknown_154":206,"unknown_79":46592,"ignition":30,"odometer":null,"unknown_45":-8731846332631578624}} 
[2026-07-25 10:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":141033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:46:39] local.INFO: GPS data processed {"connection_id":141033,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:46:39] local.INFO: Acknowledgment sent {"connection_id":141033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:46:56] local.INFO: TCP Data received {"connection_id":143378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:56] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:56] local.INFO: IMEI packet received {"connection_id":143378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":143378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:46:57] local.INFO: TCP Data received {"connection_id":143378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:57] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:46:57] local.INFO: IMEI packet received {"connection_id":143378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":143378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:47:01] local.INFO: TCP Data received {"connection_id":143378,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:47:01] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:47:01] local.INFO: IMEI packet received {"connection_id":143378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":143378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:47:04] local.INFO: TCP Data received {"connection_id":143378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b37b70012d86f2400615f318001700a12b..."} 
[2026-07-25 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b37b70012d86f2400615f318001700a12b..."} 
[2026-07-25 10:47:04] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b37b70012d86f2400615f318001700a12b..."} 
[2026-07-25 10:47:04] local.INFO: Packet analysis {"connection_id":143378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:47:04] local.INFO: Extracted packet for processing {"connection_id":143378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763818560,"raw_latitude":102101784,"longitude_deg":76.381856,"latitude_deg":10.2101784,"altitude":23,"angle":161,"satellites":43,"speed":36,"hex_longitude":"2d86f240","hex_latitude":"0615f318","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948873984001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357574319657713664,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8726850151797002240,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784956550000,"timestamp_ms":1784956550000,"timestamp_seconds":1784956550,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b37b70"} 
[2026-07-25 10:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948873984001,"66":27876,"154":206,"79":46592,"24":36,"16":357574319657713664,"45":-8726850151797002240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948873984001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357574319657713664,"km_value":357574319657713.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8726850151797002240,"description":"Unknown IO ID 45"} 
[2026-07-25 10:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948873984001,"power":27876,"unknown_154":206,"unknown_79":46592,"ignition":36,"odometer":null,"unknown_45":-8726850151797002240}} 
[2026-07-25 10:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":143378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:47:04] local.INFO: GPS data processed {"connection_id":143378,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:47:04] local.INFO: Acknowledgment sent {"connection_id":143378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:47:06] local.INFO: TCP Data received {"connection_id":143378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b39e98012d86fa800615d090001500aa2d..."} 
[2026-07-25 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b39e98012d86fa800615d090001500aa2d..."} 
[2026-07-25 10:47:06] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b39e98012d86fa800615d090001500aa2d..."} 
[2026-07-25 10:47:06] local.INFO: Packet analysis {"connection_id":143378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:47:06] local.INFO: Extracted packet for processing {"connection_id":143378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763820672,"raw_latitude":102092944,"longitude_deg":76.3820672,"latitude_deg":10.2092944,"altitude":21,"angle":170,"satellites":45,"speed":41,"hex_longitude":"2d86fa80","hex_latitude":"0615d090","is_valid_coordinates":true} 
[2026-07-25 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948876800001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357574762039345152,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8722839133380995072,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784956559000,"timestamp_ms":1784956559000,"timestamp_seconds":1784956559,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b39e98"} 
[2026-07-25 10:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948876800001,"66":27930,"154":206,"79":46592,"24":41,"16":357574762039345152,"45":-8722839133380995072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948876800001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:47:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:47:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357574762039345152,"km_value":357574762039345.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8722839133380995072,"description":"Unknown IO ID 45"} 
[2026-07-25 10:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948876800001,"power":27930,"unknown_154":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8722839133380995072}} 
[2026-07-25 10:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":143378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:47:06] local.INFO: GPS data processed {"connection_id":143378,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:47:06] local.INFO: Acknowledgment sent {"connection_id":143378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:47:38] local.INFO: TCP Data received {"connection_id":143378,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b3c1c0012d86fc400615ad10001200b42d..."} 
[2026-07-25 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b3c1c0012d86fc400615ad10001200b42d..."} 
[2026-07-25 10:47:38] local.INFO: Processing buffer {"connection_id":143378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b3c1c0012d86fc400615ad10001200b42d..."} 
[2026-07-25 10:47:38] local.INFO: Packet analysis {"connection_id":143378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:47:38] local.INFO: Extracted packet for processing {"connection_id":143378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:47:38] local.INFO: GPS Element Parsed {"raw_longitude":763821120,"raw_latitude":102083856,"longitude_deg":76.382112,"latitude_deg":10.2083856,"altitude":18,"angle":180,"satellites":45,"speed":37,"hex_longitude":"2d86fc40","hex_latitude":"0615ad10","is_valid_coordinates":true} 
[2026-07-25 10:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948879104001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357575200126009344,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720516964825395200,"note":"Value kept but may cause issues"} 
[2026-07-25 10:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784956568000,"timestamp_ms":1784956568000,"timestamp_seconds":1784956568,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b3c1c0"} 
[2026-07-25 10:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 10:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948879104001,"66":28115,"154":206,"79":46592,"24":37,"16":357575200126009344,"45":-8720516964825395200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948879104001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:47:38] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:47:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357575200126009344,"km_value":357575200126009.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720516964825395200,"description":"Unknown IO ID 45"} 
[2026-07-25 10:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948879104001,"power":28115,"unknown_154":206,"unknown_79":46592,"ignition":37,"odometer":null,"unknown_45":-8720516964825395200}} 
[2026-07-25 10:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":143378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:47:38] local.INFO: GPS data processed {"connection_id":143378,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:47:38] local.INFO: Acknowledgment sent {"connection_id":143378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:47:56] local.INFO: TCP Data received {"connection_id":143379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:47:56] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:47:56] local.INFO: IMEI packet received {"connection_id":143379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":143379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:48:01] local.INFO: TCP Data received {"connection_id":143379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:48:01] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:48:01] local.INFO: IMEI packet received {"connection_id":143379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":143379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:48:02] local.INFO: TCP Data received {"connection_id":143379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b3e8d0012d86fac0061588a8001200b82d..."} 
[2026-07-25 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b3e8d0012d86fac0061588a8001200b82d..."} 
[2026-07-25 10:48:02] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b3e8d0012d86fac0061588a8001200b82d..."} 
[2026-07-25 10:48:02] local.INFO: Packet analysis {"connection_id":143379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:48:02] local.INFO: Extracted packet for processing {"connection_id":143379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b3"} 
[2026-07-25 10:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763820736,"raw_latitude":102074536,"longitude_deg":76.3820736,"latitude_deg":10.2074536,"altitude":18,"angle":184,"satellites":45,"speed":39,"hex_longitude":"2d86fac0","hex_latitude":"061588a8","is_valid_coordinates":true} 
[2026-07-25 10:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948881408001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357575655392542720,"note":"Value kept but may cause issues"} 
[2026-07-25 10:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720024383618478080,"note":"Value kept but may cause issues"} 
[2026-07-25 10:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784956578000,"timestamp_ms":1784956578000,"timestamp_seconds":1784956578,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b3e8d0"} 
[2026-07-25 10:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 10:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948881408001,"66":27865,"154":206,"79":46592,"24":39,"16":357575655392542720,"45":-8720024383618478080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948881408001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:48:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:48:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357575655392542720,"km_value":357575655392542.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720024383618478080,"description":"Unknown IO ID 45"} 
[2026-07-25 10:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948881408001,"power":27865,"unknown_154":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8720024383618478080}} 
[2026-07-25 10:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":143379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:48:02] local.INFO: GPS data processed {"connection_id":143379,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:48:02] local.INFO: Acknowledgment sent {"connection_id":143379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:48:33] local.INFO: TCP Data received {"connection_id":143379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b40428012d86fac006156ba8001000aa2d..."} 
[2026-07-25 10:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b40428012d86fac006156ba8001000aa2d..."} 
[2026-07-25 10:48:33] local.INFO: Processing buffer {"connection_id":143379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b40428012d86fac006156ba8001000aa2d..."} 
[2026-07-25 10:48:33] local.INFO: Packet analysis {"connection_id":143379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:48:33] local.INFO: Extracted packet for processing {"connection_id":143379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763820736,"raw_latitude":102067112,"longitude_deg":76.3820736,"latitude_deg":10.2067112,"altitude":16,"angle":170,"satellites":45,"speed":45,"hex_longitude":"2d86fac0","hex_latitude":"06156ba8","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948883968001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357576016169795584,"note":"Value kept but may cause issues"} 
[2026-07-25 10:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720446596085929984,"note":"Value kept but may cause issues"} 
[2026-07-25 10:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784956585000,"timestamp_ms":1784956585000,"timestamp_seconds":1784956585,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b40428"} 
[2026-07-25 10:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:48: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-07-25 10: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-07-25 10:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948883968001,"66":27876,"154":206,"79":46592,"24":45,"16":357576016169795584,"45":-8720446596085929984},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948883968001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:48:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:48:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357576016169795584,"km_value":357576016169795.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720446596085929984,"description":"Unknown IO ID 45"} 
[2026-07-25 10:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948883968001,"power":27876,"unknown_154":206,"unknown_79":46592,"ignition":45,"odometer":null,"unknown_45":-8720446596085929984}} 
[2026-07-25 10:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":143379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:48:33] local.INFO: GPS data processed {"connection_id":143379,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:48:33] local.INFO: Acknowledgment sent {"connection_id":143379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:48:56] local.INFO: TCP Data received {"connection_id":142025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:48:56] local.INFO: Processing buffer {"connection_id":142025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:48:56] local.INFO: IMEI packet received {"connection_id":142025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":142025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:49:01] local.INFO: TCP Data received {"connection_id":142025,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:49:01] local.INFO: Processing buffer {"connection_id":142025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:49:01] local.INFO: IMEI packet received {"connection_id":142025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":142025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:49:02] local.INFO: TCP Data received {"connection_id":142025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b42368012d87028006154978001000a52c..."} 
[2026-07-25 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b42368012d87028006154978001000a52c..."} 
[2026-07-25 10:49:02] local.INFO: Processing buffer {"connection_id":142025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b42368012d87028006154978001000a52c..."} 
[2026-07-25 10:49:02] local.INFO: Packet analysis {"connection_id":142025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:49:02] local.INFO: Extracted packet for processing {"connection_id":142025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763822720,"raw_latitude":102058360,"longitude_deg":76.382272,"latitude_deg":10.205836,"altitude":16,"angle":165,"satellites":44,"speed":41,"hex_longitude":"2d870280","hex_latitude":"06154978","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948885760001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357576449961492480,"note":"Value kept but may cause issues"} 
[2026-07-25 10:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8720446596087830528,"note":"Value kept but may cause issues"} 
[2026-07-25 10:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784956593000,"timestamp_ms":1784956593000,"timestamp_seconds":1784956593,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b42368"} 
[2026-07-25 10:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948885760001,"66":27995,"154":206,"79":46592,"24":41,"16":357576449961492480,"45":-8720446596087830528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948885760001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:49:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:49:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357576449961492480,"km_value":357576449961492.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8720446596087830528,"description":"Unknown IO ID 45"} 
[2026-07-25 10:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948885760001,"power":27995,"unknown_154":206,"unknown_79":46592,"ignition":41,"odometer":null,"unknown_45":-8720446596087830528}} 
[2026-07-25 10:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":142025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:49:02] local.INFO: GPS data processed {"connection_id":142025,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:49:02] local.INFO: Acknowledgment sent {"connection_id":142025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:49:33] local.INFO: TCP Data received {"connection_id":142025,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b45630012d870bc0061525c8001000a62d..."} 
[2026-07-25 10:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b45630012d870bc0061525c8001000a62d..."} 
[2026-07-25 10:49:33] local.INFO: Processing buffer {"connection_id":142025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b45630012d870bc0061525c8001000a62d..."} 
[2026-07-25 10:49:33] local.INFO: Packet analysis {"connection_id":142025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:49:33] local.INFO: Extracted packet for processing {"connection_id":142025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763825088,"raw_latitude":102049224,"longitude_deg":76.3825088,"latitude_deg":10.2049224,"altitude":16,"angle":166,"satellites":45,"speed":23,"hex_longitude":"2d870bc0","hex_latitude":"061525c8","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948887808001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357576909522993152,"note":"Value kept but may cause issues"} 
[2026-07-25 10:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8718265165020563456,"note":"Value kept but may cause issues"} 
[2026-07-25 10:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784956606000,"timestamp_ms":1784956606000,"timestamp_seconds":1784956606,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b45630"} 
[2026-07-25 10:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 10:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948887808001,"66":27919,"154":206,"79":46592,"24":23,"16":357576909522993152,"45":-8718265165020563456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948887808001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:49:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:49:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357576909522993152,"km_value":357576909522993.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8718265165020563456,"description":"Unknown IO ID 45"} 
[2026-07-25 10:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948887808001,"power":27919,"unknown_154":206,"unknown_79":46592,"ignition":23,"odometer":null,"unknown_45":-8718265165020563456}} 
[2026-07-25 10:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":142025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:49:33] local.INFO: GPS data processed {"connection_id":142025,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:49:33] local.INFO: Acknowledgment sent {"connection_id":142025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:49:56] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:49:56] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:49:56] local.INFO: IMEI packet received {"connection_id":143380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":143380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:50:01] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:50:01] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:50:01] local.INFO: IMEI packet received {"connection_id":143380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":143380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:50:02] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b4a068012d8711c006150ac8001000a82d..."} 
[2026-07-25 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b4a068012d8711c006150ac8001000a82d..."} 
[2026-07-25 10:50:02] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b4a068012d8711c006150ac8001000a82d..."} 
[2026-07-25 10:50:02] local.INFO: Packet analysis {"connection_id":143380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:50:02] local.INFO: Extracted packet for processing {"connection_id":143380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763826624,"raw_latitude":102042312,"longitude_deg":76.3826624,"latitude_deg":10.2042312,"altitude":16,"angle":168,"satellites":45,"speed":10,"hex_longitude":"2d8711c0","hex_latitude":"06150ac8","is_valid_coordinates":true} 
[2026-07-25 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948891136001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357577253120376832,"note":"Value kept but may cause issues"} 
[2026-07-25 10:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8715661521488328704,"note":"Value kept but may cause issues"} 
[2026-07-25 10:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784956625000,"timestamp_ms":1784956625000,"timestamp_seconds":1784956625,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b4a068"} 
[2026-07-25 10:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 10:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948891136001,"66":28050,"154":206,"79":46592,"24":10,"16":357577253120376832,"45":-8715661521488328704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948891136001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:50:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:50:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357577253120376832,"km_value":357577253120376.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8715661521488328704,"description":"Unknown IO ID 45"} 
[2026-07-25 10:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948891136001,"power":28050,"unknown_154":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8715661521488328704}} 
[2026-07-25 10:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":143380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:50:02] local.INFO: GPS data processed {"connection_id":143380,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:50:02] local.INFO: Acknowledgment sent {"connection_id":143380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:50:33] local.INFO: TCP Data received {"connection_id":143380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b4ee88012d8717000614eff0001100a62d..."} 
[2026-07-25 10:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b4ee88012d8717000614eff0001100a62d..."} 
[2026-07-25 10:50:33] local.INFO: Processing buffer {"connection_id":143380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b4ee88012d8717000614eff0001100a62d..."} 
[2026-07-25 10:50:33] local.INFO: Packet analysis {"connection_id":143380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:50:33] local.INFO: Extracted packet for processing {"connection_id":143380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b4"} 
[2026-07-25 10:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763827968,"raw_latitude":102035440,"longitude_deg":76.3827968,"latitude_deg":10.203544,"altitude":17,"angle":166,"satellites":45,"speed":20,"hex_longitude":"2d871700","hex_latitude":"0614eff0","is_valid_coordinates":true} 
[2026-07-25 10:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948896000001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357577592422793216,"note":"Value kept but may cause issues"} 
[2026-07-25 10:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8713972671629834240,"note":"Value kept but may cause issues"} 
[2026-07-25 10:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784956645000,"timestamp_ms":1784956645000,"timestamp_seconds":1784956645,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b4ee88"} 
[2026-07-25 10:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 10:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948896000001,"66":27767,"154":206,"79":46592,"24":20,"16":357577592422793216,"45":-8713972671629834240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948896000001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:50:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:50:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357577592422793216,"km_value":357577592422793.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8713972671629834240,"description":"Unknown IO ID 45"} 
[2026-07-25 10:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948896000001,"power":27767,"unknown_154":206,"unknown_79":46592,"ignition":20,"odometer":null,"unknown_45":-8713972671629834240}} 
[2026-07-25 10:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":143380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:50:33] local.INFO: GPS data processed {"connection_id":143380,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:50:33] local.INFO: Acknowledgment sent {"connection_id":143380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:50:56] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:50:56] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:50:56] local.INFO: IMEI packet received {"connection_id":140974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":140974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:51:01] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:51:01] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:51:01] local.INFO: IMEI packet received {"connection_id":140974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":140974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:51:02] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b54090012d871d000614d5c0001300a82d..."} 
[2026-07-25 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b54090012d871d000614d5c0001300a82d..."} 
[2026-07-25 10:51:02] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b54090012d871d000614d5c0001300a82d..."} 
[2026-07-25 10:51:02] local.INFO: Packet analysis {"connection_id":140974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b5"} 
[2026-07-25 10:51:02] local.INFO: Extracted packet for processing {"connection_id":140974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b5"} 
[2026-07-25 10:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763829504,"raw_latitude":102028736,"longitude_deg":76.3829504,"latitude_deg":10.2028736,"altitude":19,"angle":168,"satellites":45,"speed":11,"hex_longitude":"2d871d00","hex_latitude":"0614d5c0","is_valid_coordinates":true} 
[2026-07-25 10:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948901120001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357577927430242304,"note":"Value kept but may cause issues"} 
[2026-07-25 10:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8712494928003862528,"note":"Value kept but may cause issues"} 
[2026-07-25 10:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784956666000,"timestamp_ms":1784956666000,"timestamp_seconds":1784956666,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b54090"} 
[2026-07-25 10:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 10:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948901120001,"66":28006,"154":206,"79":46592,"24":11,"16":357577927430242304,"45":-8712494928003862528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948901120001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:51:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:51:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357577927430242304,"km_value":357577927430242.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8712494928003862528,"description":"Unknown IO ID 45"} 
[2026-07-25 10:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948901120001,"power":28006,"unknown_154":206,"unknown_79":46592,"ignition":11,"odometer":null,"unknown_45":-8712494928003862528}} 
[2026-07-25 10:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":140974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:51:03] local.INFO: GPS data processed {"connection_id":140974,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:51:03] local.INFO: Acknowledgment sent {"connection_id":140974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:51:34] local.INFO: TCP Data received {"connection_id":140974,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b59298012d871f000614caf8001500a32c..."} 
[2026-07-25 10:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b59298012d871f000614caf8001500a32c..."} 
[2026-07-25 10:51:34] local.INFO: Processing buffer {"connection_id":140974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b59298012d871f000614caf8001500a32c..."} 
[2026-07-25 10:51:34] local.INFO: Packet analysis {"connection_id":140974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b5"} 
[2026-07-25 10:51:34] local.INFO: Extracted packet for processing {"connection_id":140974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b5"} 
[2026-07-25 10:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763830016,"raw_latitude":102025976,"longitude_deg":76.3830016,"latitude_deg":10.2025976,"altitude":21,"angle":163,"satellites":44,"speed":0,"hex_longitude":"2d871f00","hex_latitude":"0614caf8","is_valid_coordinates":true} 
[2026-07-25 10:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948906496001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357578064869195776,"note":"Value kept but may cause issues"} 
[2026-07-25 10:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8710806078145314816,"note":"Value kept but may cause issues"} 
[2026-07-25 10:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784956687000,"timestamp_ms":1784956687000,"timestamp_seconds":1784956687,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b59298"} 
[2026-07-25 10:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 10:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948906496001,"66":27908,"154":206,"79":46592,"24":0,"16":357578064869195776,"45":-8710806078145314816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948906496001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:51:34] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:51:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357578064869195776,"km_value":357578064869195.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8710806078145314816,"description":"Unknown IO ID 45"} 
[2026-07-25 10:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948906496001,"power":27908,"unknown_154":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8710806078145314816}} 
[2026-07-25 10:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":140974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:51:34] local.INFO: GPS data processed {"connection_id":140974,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:51:34] local.INFO: Acknowledgment sent {"connection_id":140974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:52:01] local.INFO: TCP Data received {"connection_id":142026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:01] local.INFO: Processing buffer {"connection_id":142026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:01] local.INFO: IMEI packet received {"connection_id":142026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":142026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:52:09] local.INFO: TCP Data received {"connection_id":142026,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:09] local.INFO: Processing buffer {"connection_id":142026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:09] local.INFO: IMEI packet received {"connection_id":142026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":142026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:52:10] local.INFO: TCP Data received {"connection_id":142026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b5e4a0012d871fc00614c9d8001400a32d..."} 
[2026-07-25 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b5e4a0012d871fc00614c9d8001400a32d..."} 
[2026-07-25 10:52:10] local.INFO: Processing buffer {"connection_id":142026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b5e4a0012d871fc00614c9d8001400a32d..."} 
[2026-07-25 10:52:10] local.INFO: Packet analysis {"connection_id":142026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b5"} 
[2026-07-25 10:52:10] local.INFO: Extracted packet for processing {"connection_id":142026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b5"} 
[2026-07-25 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":763830208,"raw_latitude":102025688,"longitude_deg":76.3830208,"latitude_deg":10.2025688,"altitude":20,"angle":163,"satellites":45,"speed":0,"hex_longitude":"2d871fc0","hex_latitude":"0614c9d8","is_valid_coordinates":true} 
[2026-07-25 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948911872001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357578082049064960,"note":"Value kept but may cause issues"} 
[2026-07-25 10:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8710243128192600064,"note":"Value kept but may cause issues"} 
[2026-07-25 10:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784956708000,"timestamp_ms":1784956708000,"timestamp_seconds":1784956708,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b5e4a0"} 
[2026-07-25 10:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948911872001,"66":27821,"154":206,"79":46592,"24":0,"16":357578082049064960,"45":-8710243128192600064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-07-25 10:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948911872001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:52:10] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 10:52:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357578082049064960,"km_value":357578082049064.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8710243128192600064,"description":"Unknown IO ID 45"} 
[2026-07-25 10:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948911872001,"power":27821,"unknown_154":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8710243128192600064}} 
[2026-07-25 10:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":142026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:52:10] local.INFO: GPS data processed {"connection_id":142026,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:52:10] local.INFO: Acknowledgment sent {"connection_id":142026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:52:11] local.INFO: TCP Data received {"connection_id":142026,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b636a8012d8720c00614c6b8001400a92e..."} 
[2026-07-25 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b636a8012d8720c00614c6b8001400a92e..."} 
[2026-07-25 10:52:11] local.INFO: Processing buffer {"connection_id":142026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b636a8012d8720c00614c6b8001400a92e..."} 
[2026-07-25 10:52:11] local.INFO: Packet analysis {"connection_id":142026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b6"} 
[2026-07-25 10:52:11] local.INFO: Extracted packet for processing {"connection_id":142026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b6"} 
[2026-07-25 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":763830464,"raw_latitude":102024888,"longitude_deg":76.3830464,"latitude_deg":10.2024888,"altitude":20,"angle":169,"satellites":46,"speed":0,"hex_longitude":"2d8720c0","hex_latitude":"0614c6b8","is_valid_coordinates":true} 
[2026-07-25 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948917248001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357578124998737920,"note":"Value kept but may cause issues"} 
[2026-07-25 10:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8710032021960140800,"note":"Value kept but may cause issues"} 
[2026-07-25 10:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784956729000,"timestamp_ms":1784956729000,"timestamp_seconds":1784956729,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b636a8"} 
[2026-07-25 10:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 10:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948917248001,"66":27876,"156":206,"79":46592,"24":0,"16":357578124998737920,"45":-8710032021960140800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-25 10:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948917248001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:52:11] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 10:52:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357578124998737920,"km_value":357578124998737.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8710032021960140800,"description":"Unknown IO ID 45"} 
[2026-07-25 10:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948917248001,"power":27876,"unknown_156":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8710032021960140800}} 
[2026-07-25 10:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":142026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:52:11] local.INFO: GPS data processed {"connection_id":142026,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:52:11] local.INFO: Acknowledgment sent {"connection_id":142026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:52:56] local.INFO: TCP Data received {"connection_id":143381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:56] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:52:56] local.INFO: IMEI packet received {"connection_id":143381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":143381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:53:01] local.INFO: TCP Data received {"connection_id":143381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:53:01] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:53:01] local.INFO: IMEI packet received {"connection_id":143381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":143381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:53:04] local.INFO: TCP Data received {"connection_id":143381,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b659d0012d8724800614bc600014009d2e..."} 
[2026-07-25 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b659d0012d8724800614bc600014009d2e..."} 
[2026-07-25 10:53:04] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b659d0012d8724800614bc600014009d2e..."} 
[2026-07-25 10:53:04] local.INFO: Packet analysis {"connection_id":143381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b6"} 
[2026-07-25 10:53:04] local.INFO: Extracted packet for processing {"connection_id":143381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b6"} 
[2026-07-25 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763831424,"raw_latitude":102022240,"longitude_deg":76.3831424,"latitude_deg":10.202224,"altitude":20,"angle":157,"satellites":46,"speed":15,"hex_longitude":"2d872480","hex_latitude":"0614bc60","is_valid_coordinates":true} 
[2026-07-25 10:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948922624001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357578262437691392,"note":"Value kept but may cause issues"} 
[2026-07-25 10:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8709750546983634944,"note":"Value kept but may cause issues"} 
[2026-07-25 10:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784956738000,"timestamp_ms":1784956738000,"timestamp_seconds":1784956738,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b659d0"} 
[2026-07-25 10:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948922624001,"66":27865,"156":206,"79":46592,"24":15,"16":357578262437691392,"45":-8709750546983634944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,79,24,16,45]} 
[2026-07-25 10:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948922624001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:53:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 10:53:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357578262437691392,"km_value":357578262437691.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8709750546983634944,"description":"Unknown IO ID 45"} 
[2026-07-25 10:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948922624001,"power":27865,"unknown_156":206,"unknown_79":46592,"ignition":15,"odometer":null,"unknown_45":-8709750546983634944}} 
[2026-07-25 10:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":143381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:53:04] local.INFO: GPS data processed {"connection_id":143381,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:53:04] local.INFO: Acknowledgment sent {"connection_id":143381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:53:36] local.INFO: TCP Data received {"connection_id":143381,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b9d858012d877dc00613e7900016007d2c..."} 
[2026-07-25 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b9d858012d877dc00613e7900016007d2c..."} 
[2026-07-25 10:53:36] local.INFO: Processing buffer {"connection_id":143381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b9d858012d877dc00613e7900016007d2c..."} 
[2026-07-25 10:53:36] local.INFO: Packet analysis {"connection_id":143381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b9"} 
[2026-07-25 10:53:36] local.INFO: Extracted packet for processing {"connection_id":143381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b9"} 
[2026-07-25 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763854272,"raw_latitude":101967760,"longitude_deg":76.3854272,"latitude_deg":10.196776,"altitude":22,"angle":125,"satellites":44,"speed":12,"hex_longitude":"2d877dc0","hex_latitude":"0613e790","is_valid_coordinates":true} 
[2026-07-25 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948983296001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357581144360747008,"note":"Value kept but may cause issues"} 
[2026-07-25 10:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8683784480396652544,"note":"Value kept but may cause issues"} 
[2026-07-25 10:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784956967000,"timestamp_ms":1784956967000,"timestamp_seconds":1784956967,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b9d858"} 
[2026-07-25 10:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948983296001,"66":27865,"195":206,"79":46592,"24":12,"16":357581144360747008,"45":-8683784480396652544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948983296001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:53:36] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:53:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357581144360747008,"km_value":357581144360747.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8683784480396652544,"description":"Unknown IO ID 45"} 
[2026-07-25 10:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948983296001,"power":27865,"unknown_195":206,"unknown_79":46592,"ignition":12,"odometer":null,"unknown_45":-8683784480396652544}} 
[2026-07-25 10:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":143381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:53:36] local.INFO: GPS data processed {"connection_id":143381,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:53:36] local.INFO: Acknowledgment sent {"connection_id":143381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:54:00] local.INFO: TCP Data received {"connection_id":142027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:00] local.INFO: Processing buffer {"connection_id":142027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:00] local.INFO: IMEI packet received {"connection_id":142027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":142027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:54:01] local.INFO: TCP Data received {"connection_id":142027,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:01] local.INFO: Processing buffer {"connection_id":142027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:01] local.INFO: IMEI packet received {"connection_id":142027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":142027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:54:02] local.INFO: TCP Data received {"connection_id":142027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b9dc40012d877f000613e7200016006d2b..."} 
[2026-07-25 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b9dc40012d877f000613e7200016006d2b..."} 
[2026-07-25 10:54:02] local.INFO: Processing buffer {"connection_id":142027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b9dc40012d877f000613e7200016006d2b..."} 
[2026-07-25 10:54:02] local.INFO: Packet analysis {"connection_id":142027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b9"} 
[2026-07-25 10:54:02] local.INFO: Extracted packet for processing {"connection_id":142027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b9"} 
[2026-07-25 10:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763854592,"raw_latitude":101967648,"longitude_deg":76.3854592,"latitude_deg":10.1967648,"altitude":22,"angle":109,"satellites":43,"speed":14,"hex_longitude":"2d877f00","hex_latitude":"0613e720","is_valid_coordinates":true} 
[2026-07-25 10:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948983552001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357581161540616192,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8683573374164168704,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784956968000,"timestamp_ms":1784956968000,"timestamp_seconds":1784956968,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b9dc40"} 
[2026-07-25 10:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948983552001,"66":27865,"195":206,"79":46592,"24":14,"16":357581161540616192,"45":-8683573374164168704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948983552001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:54:02] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:54:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357581161540616192,"km_value":357581161540616.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8683573374164168704,"description":"Unknown IO ID 45"} 
[2026-07-25 10:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948983552001,"power":27865,"unknown_195":206,"unknown_79":46592,"ignition":14,"odometer":null,"unknown_45":-8683573374164168704}} 
[2026-07-25 10:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":142027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:54:02] local.INFO: GPS data processed {"connection_id":142027,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:54:02] local.INFO: Acknowledgment sent {"connection_id":142027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:54:06] local.INFO: TCP Data received {"connection_id":142027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97b9e028012d8780800613e6e80016005a2f..."} 
[2026-07-25 10:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97b9e028012d8780800613e6e80016005a2f..."} 
[2026-07-25 10:54:06] local.INFO: Processing buffer {"connection_id":142027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97b9e028012d8780800613e6e80016005a2f..."} 
[2026-07-25 10:54:06] local.INFO: Packet analysis {"connection_id":142027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97b9"} 
[2026-07-25 10:54:06] local.INFO: Extracted packet for processing {"connection_id":142027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97b9"} 
[2026-07-25 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763854976,"raw_latitude":101967592,"longitude_deg":76.3854976,"latitude_deg":10.1967592,"altitude":22,"angle":90,"satellites":47,"speed":14,"hex_longitude":"2d878080","hex_latitude":"0613e6e8","is_valid_coordinates":true} 
[2026-07-25 10:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948983808001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357581178720485376,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8683221530443309056,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784956969000,"timestamp_ms":1784956969000,"timestamp_seconds":1784956969,"priority":1,"record_length":96,"hex_timestamp":"0000019f97b9e028"} 
[2026-07-25 10:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948983808001,"66":27843,"195":206,"79":46592,"24":14,"16":357581178720485376,"45":-8683221530443309056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948983808001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:54:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:54:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357581178720485376,"km_value":357581178720485.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8683221530443309056,"description":"Unknown IO ID 45"} 
[2026-07-25 10:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948983808001,"power":27843,"unknown_195":206,"unknown_79":46592,"ignition":14,"odometer":null,"unknown_45":-8683221530443309056}} 
[2026-07-25 10:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":142027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:54:06] local.INFO: GPS data processed {"connection_id":142027,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:54:06] local.INFO: Acknowledgment sent {"connection_id":142027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:54:36] local.INFO: TCP Data received {"connection_id":142027,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ba3230012d8794400613e6f8001400672e..."} 
[2026-07-25 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ba3230012d8794400613e6f8001400672e..."} 
[2026-07-25 10:54:36] local.INFO: Processing buffer {"connection_id":142027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ba3230012d8794400613e6f8001400672e..."} 
[2026-07-25 10:54:36] local.INFO: Packet analysis {"connection_id":142027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ba"} 
[2026-07-25 10:54:36] local.INFO: Extracted packet for processing {"connection_id":142027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ba"} 
[2026-07-25 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763860032,"raw_latitude":101967608,"longitude_deg":76.3860032,"latitude_deg":10.1967608,"altitude":20,"angle":103,"satellites":46,"speed":10,"hex_longitude":"2d879440","hex_latitude":"0613e6f8","is_valid_coordinates":true} 
[2026-07-25 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948984064001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357581419238653952,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8682799317978257408,"note":"Value kept but may cause issues"} 
[2026-07-25 10:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784956990000,"timestamp_ms":1784956990000,"timestamp_seconds":1784956990,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ba3230"} 
[2026-07-25 10:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 10:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948984064001,"66":27908,"195":206,"79":46592,"24":10,"16":357581419238653952,"45":-8682799317978257408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948984064001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:54:36] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:54:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357581419238653952,"km_value":357581419238653.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8682799317978257408,"description":"Unknown IO ID 45"} 
[2026-07-25 10:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948984064001,"power":27908,"unknown_195":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8682799317978257408}} 
[2026-07-25 10:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":142027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:54:36] local.INFO: GPS data processed {"connection_id":142027,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:54:36] local.INFO: Acknowledgment sent {"connection_id":142027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:54:56] local.INFO: TCP Data received {"connection_id":142028,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:56] local.INFO: Processing buffer {"connection_id":142028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:54:56] local.INFO: IMEI packet received {"connection_id":142028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":142028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:55:02] local.INFO: TCP Data received {"connection_id":142028,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:55:02] local.INFO: Processing buffer {"connection_id":142028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:55:02] local.INFO: IMEI packet received {"connection_id":142028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":142028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:55:03] local.INFO: TCP Data received {"connection_id":142028,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ba3230012d8794400613e6f8001400672e..."} 
[2026-07-25 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ba3230012d8794400613e6f8001400672e..."} 
[2026-07-25 10:55:03] local.INFO: Processing buffer {"connection_id":142028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ba3230012d8794400613e6f8001400672e..."} 
[2026-07-25 10:55:03] local.INFO: Packet analysis {"connection_id":142028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ba"} 
[2026-07-25 10:55:03] local.INFO: Extracted packet for processing {"connection_id":142028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ba"} 
[2026-07-25 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":763860032,"raw_latitude":101967608,"longitude_deg":76.3860032,"latitude_deg":10.1967608,"altitude":20,"angle":103,"satellites":46,"speed":10,"hex_longitude":"2d879440","hex_latitude":"0613e6f8","is_valid_coordinates":true} 
[2026-07-25 10:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948989440001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357581419238653952,"note":"Value kept but may cause issues"} 
[2026-07-25 10:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8677240187188217856,"note":"Value kept but may cause issues"} 
[2026-07-25 10:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784956990000,"timestamp_ms":1784956990000,"timestamp_seconds":1784956990,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ba3230"} 
[2026-07-25 10:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948989440001,"66":27908,"195":206,"79":46592,"24":10,"16":357581419238653952,"45":-8677240187188217856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948989440001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357581419238653952,"km_value":357581419238653.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8677240187188217856,"description":"Unknown IO ID 45"} 
[2026-07-25 10:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948989440001,"power":27908,"unknown_195":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8677240187188217856}} 
[2026-07-25 10:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":142028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:55:03] local.INFO: GPS data processed {"connection_id":142028,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:55:03] local.INFO: Acknowledgment sent {"connection_id":142028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:55:38] local.INFO: TCP Data received {"connection_id":142028,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ba7498012d87b9800613e0d80015006228..."} 
[2026-07-25 10:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ba7498012d87b9800613e0d80015006228..."} 
[2026-07-25 10:55:38] local.INFO: Processing buffer {"connection_id":142028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ba7498012d87b9800613e0d80015006228..."} 
[2026-07-25 10:55:38] local.INFO: Packet analysis {"connection_id":142028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ba"} 
[2026-07-25 10:55:38] local.INFO: Extracted packet for processing {"connection_id":142028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ba"} 
[2026-07-25 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":763869568,"raw_latitude":101966040,"longitude_deg":76.3869568,"latitude_deg":10.196604,"altitude":21,"angle":98,"satellites":40,"speed":29,"hex_longitude":"2d87b980","hex_latitude":"0613e0d8","is_valid_coordinates":true} 
[2026-07-25 10:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456948989440001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357581883095121920,"note":"Value kept but may cause issues"} 
[2026-07-25 10:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8677240187188217856,"note":"Value kept but may cause issues"} 
[2026-07-25 10:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784957007000,"timestamp_ms":1784957007000,"timestamp_seconds":1784957007,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ba7498"} 
[2026-07-25 10:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456948989440001,"66":27571,"195":206,"79":46592,"24":29,"16":357581883095121920,"45":-8677240187188217856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 10:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456948989440001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:55:38] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 10:55:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357581883095121920,"km_value":357581883095121.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8677240187188217856,"description":"Unknown IO ID 45"} 
[2026-07-25 10:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456948989440001,"power":27571,"unknown_195":206,"unknown_79":46592,"ignition":29,"odometer":null,"unknown_45":-8677240187188217856}} 
[2026-07-25 10:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":142028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:55:38] local.INFO: GPS data processed {"connection_id":142028,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:55:38] local.INFO: Acknowledgment sent {"connection_id":142028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:55:56] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:55:56] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:55:56] local.INFO: IMEI packet received {"connection_id":140975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":140975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:56:00] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:56:00] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:56:00] local.INFO: IMEI packet received {"connection_id":140975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":140975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:56:00] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:56:00] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:56:00] local.INFO: IMEI packet received {"connection_id":140975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":140975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:56:01] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bbc0a0012d87f800061332f0001b00af2c..."} 
[2026-07-25 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bbc0a0012d87f800061332f0001b00af2c..."} 
[2026-07-25 10:56:01] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bbc0a0012d87f800061332f0001b00af2c..."} 
[2026-07-25 10:56:01] local.INFO: Packet analysis {"connection_id":140975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bb"} 
[2026-07-25 10:56:01] local.INFO: Extracted packet for processing {"connection_id":140975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bb"} 
[2026-07-25 10:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763885568,"raw_latitude":101921520,"longitude_deg":76.3885568,"latitude_deg":10.192152,"altitude":27,"angle":175,"satellites":44,"speed":10,"hex_longitude":"2d87f800","hex_latitude":"061332f0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 10:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949011456001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357584614694322176,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8649374164503394304,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784957092000,"timestamp_ms":1784957092000,"timestamp_seconds":1784957092,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bbc0a0"} 
[2026-07-25 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-07-25 10:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 10:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 10:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949011456001,"66":27865,"214":206,"79":46592,"24":10,"16":357584614694322176,"45":-8649374164503394304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 10:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949011456001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:56:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 10:56:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357584614694322176,"km_value":357584614694322.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8649374164503394304,"description":"Unknown IO ID 45"} 
[2026-07-25 10:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949011456001,"power":27865,"unknown_214":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8649374164503394304}} 
[2026-07-25 10:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":140975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:56:01] local.INFO: GPS data processed {"connection_id":140975,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:56:01] local.INFO: Acknowledgment sent {"connection_id":140975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:56:02] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bc12a8012d87fa0006131668001b00a72b..."} 
[2026-07-25 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bc12a8012d87fa0006131668001b00a72b..."} 
[2026-07-25 10:56:02] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bc12a8012d87fa0006131668001b00a72b..."} 
[2026-07-25 10:56:02] local.INFO: Packet analysis {"connection_id":140975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:56:02] local.INFO: Extracted packet for processing {"connection_id":140975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763886080,"raw_latitude":101914216,"longitude_deg":76.388608,"latitude_deg":10.1914216,"altitude":27,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d87fa00","hex_latitude":"06131668","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949015552001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357584975471575040,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8649163058273128448,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784957113000,"timestamp_ms":1784957113000,"timestamp_seconds":1784957113,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bc12a8"} 
[2026-07-25 10:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 10:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949015552001,"66":27626,"214":206,"79":46592,"24":0,"16":357584975471575040,"45":-8649163058273128448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 10:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949015552001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:56:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 10:56:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357584975471575040,"km_value":357584975471575.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8649163058273128448,"description":"Unknown IO ID 45"} 
[2026-07-25 10:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949015552001,"power":27626,"unknown_214":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8649163058273128448}} 
[2026-07-25 10:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":140975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:56:02] local.INFO: GPS data processed {"connection_id":140975,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:56:02] local.INFO: Acknowledgment sent {"connection_id":140975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:56:33] local.INFO: TCP Data received {"connection_id":140975,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bc31e8012d87fc4006130f40001c00922e..."} 
[2026-07-25 10:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bc31e8012d87fc4006130f40001c00922e..."} 
[2026-07-25 10:56:33] local.INFO: Processing buffer {"connection_id":140975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bc31e8012d87fc4006130f40001c00922e..."} 
[2026-07-25 10:56:33] local.INFO: Packet analysis {"connection_id":140975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:56:33] local.INFO: Extracted packet for processing {"connection_id":140975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763886656,"raw_latitude":101912384,"longitude_deg":76.3886656,"latitude_deg":10.1912384,"altitude":28,"angle":146,"satellites":46,"speed":13,"hex_longitude":"2d87fc40","hex_latitude":"06130f40","is_valid_coordinates":true} 
[2026-07-25 10: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-07-25 10:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949020928001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357585069960855552,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8648600108321576960,"note":"Value kept but may cause issues"} 
[2026-07-25 10:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784957121000,"timestamp_ms":1784957121000,"timestamp_seconds":1784957121,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bc31e8"} 
[2026-07-25 10:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 10:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10: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-07-25 10:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949020928001,"66":27876,"214":206,"79":46592,"24":13,"16":357585069960855552,"45":-8648600108321576960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 10:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949020928001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:56:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 10:56:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357585069960855552,"km_value":357585069960855.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8648600108321576960,"description":"Unknown IO ID 45"} 
[2026-07-25 10:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949020928001,"power":27876,"unknown_214":206,"unknown_79":46592,"ignition":13,"odometer":null,"unknown_45":-8648600108321576960}} 
[2026-07-25 10:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":140975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:56:33] local.INFO: GPS data processed {"connection_id":140975,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:56:33] local.INFO: Acknowledgment sent {"connection_id":140975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:57:00] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:00] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:00] local.INFO: IMEI packet received {"connection_id":141034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":141034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:57:01] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:01] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:01] local.INFO: IMEI packet received {"connection_id":141034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":141034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:57:06] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:06] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:06] local.INFO: IMEI packet received {"connection_id":141034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":141034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:57:07] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bc39b8012d87fe0006130d20001c00872e..."} 
[2026-07-25 10:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bc39b8012d87fe0006130d20001c00872e..."} 
[2026-07-25 10:57:07] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bc39b8012d87fe0006130d20001c00872e..."} 
[2026-07-25 10:57:07] local.INFO: Packet analysis {"connection_id":141034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:57:07] local.INFO: Extracted packet for processing {"connection_id":141034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763887104,"raw_latitude":101911840,"longitude_deg":76.3887104,"latitude_deg":10.191184,"altitude":28,"angle":135,"satellites":46,"speed":15,"hex_longitude":"2d87fe00","hex_latitude":"06130d20","is_valid_coordinates":true} 
[2026-07-25 10:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949022976001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357585104320593920,"note":"Value kept but may cause issues"} 
[2026-07-25 10:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647966789624446976,"note":"Value kept but may cause issues"} 
[2026-07-25 10:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784957123000,"timestamp_ms":1784957123000,"timestamp_seconds":1784957123,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bc39b8"} 
[2026-07-25 10:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 10:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949022976001,"66":28028,"214":206,"79":46592,"24":15,"16":357585104320593920,"45":-8647966789624446976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 10:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949022976001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:57:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 10:57:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357585104320593920,"km_value":357585104320593.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647966789624446976,"description":"Unknown IO ID 45"} 
[2026-07-25 10:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949022976001,"power":28028,"unknown_214":206,"unknown_79":46592,"ignition":15,"odometer":null,"unknown_45":-8647966789624446976}} 
[2026-07-25 10:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":141034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:57:07] local.INFO: GPS data processed {"connection_id":141034,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:57:07] local.INFO: Acknowledgment sent {"connection_id":141034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:57:11] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bc4958012d88014006130a70001d00922f..."} 
[2026-07-25 10:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bc4958012d88014006130a70001d00922f..."} 
[2026-07-25 10:57:11] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bc4958012d88014006130a70001d00922f..."} 
[2026-07-25 10:57:11] local.INFO: Packet analysis {"connection_id":141034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:57:11] local.INFO: Extracted packet for processing {"connection_id":141034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763887936,"raw_latitude":101911152,"longitude_deg":76.3887936,"latitude_deg":10.1911152,"altitude":29,"angle":146,"satellites":47,"speed":6,"hex_longitude":"2d880140","hex_latitude":"06130a70","is_valid_coordinates":true} 
[2026-07-25 10:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949023488001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357585155860201472,"note":"Value kept but may cause issues"} 
[2026-07-25 10:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8647474208415342592,"note":"Value kept but may cause issues"} 
[2026-07-25 10:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784957127000,"timestamp_ms":1784957127000,"timestamp_seconds":1784957127,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bc4958"} 
[2026-07-25 10:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 10:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949023488001,"66":27908,"214":206,"79":46592,"24":6,"16":357585155860201472,"45":-8647474208415342592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 10:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949023488001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:57:11] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 10:57:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357585155860201472,"km_value":357585155860201.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8647474208415342592,"description":"Unknown IO ID 45"} 
[2026-07-25 10:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949023488001,"power":27908,"unknown_214":206,"unknown_79":46592,"ignition":6,"odometer":null,"unknown_45":-8647474208415342592}} 
[2026-07-25 10:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":141034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:57:11] local.INFO: GPS data processed {"connection_id":141034,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:57:11] local.INFO: Acknowledgment sent {"connection_id":141034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:57:56] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:56] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:57:56] local.INFO: IMEI packet received {"connection_id":140976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":140976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:58:01] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:01] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:01] local.INFO: IMEI packet received {"connection_id":140976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":140976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:58:02] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bc4d40012d8801c0061309d8001d00862f..."} 
[2026-07-25 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bc4d40012d8801c0061309d8001d00862f..."} 
[2026-07-25 10:58:02] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bc4d40012d8801c0061309d8001d00862f..."} 
[2026-07-25 10:58:02] local.INFO: Packet analysis {"connection_id":140976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:58:02] local.INFO: Extracted packet for processing {"connection_id":140976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763888064,"raw_latitude":101911000,"longitude_deg":76.3888064,"latitude_deg":10.1911,"altitude":29,"angle":134,"satellites":47,"speed":8,"hex_longitude":"2d8801c0","hex_latitude":"061309d8","is_valid_coordinates":true} 
[2026-07-25 10:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949024512001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357585168745103360,"note":"Value kept but may cause issues"} 
[2026-07-25 10:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646559414741209088,"note":"Value kept but may cause issues"} 
[2026-07-25 10:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784957128000,"timestamp_ms":1784957128000,"timestamp_seconds":1784957128,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bc4d40"} 
[2026-07-25 10:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949024512001,"66":27908,"238":206,"79":46592,"24":8,"16":357585168745103360,"45":-8646559414741209088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-07-25 10:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949024512001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:58:02] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-25 10:58:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357585168745103360,"km_value":357585168745103.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646559414741209088,"description":"Unknown IO ID 45"} 
[2026-07-25 10:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949024512001,"power":27908,"unknown_238":206,"unknown_79":46592,"ignition":8,"odometer":null,"unknown_45":-8646559414741209088}} 
[2026-07-25 10:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":140976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:58:02] local.INFO: GPS data processed {"connection_id":140976,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:58:02] local.INFO: Acknowledgment sent {"connection_id":140976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:58:39] local.INFO: TCP Data received {"connection_id":140976,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bc9f48012d8817400612f6b0001f00842e..."} 
[2026-07-25 10:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bc9f48012d8817400612f6b0001f00842e..."} 
[2026-07-25 10:58:39] local.INFO: Processing buffer {"connection_id":140976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bc9f48012d8817400612f6b0001f00842e..."} 
[2026-07-25 10:58:39] local.INFO: Packet analysis {"connection_id":140976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:58:39] local.INFO: Extracted packet for processing {"connection_id":140976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763893568,"raw_latitude":101906096,"longitude_deg":76.3893568,"latitude_deg":10.1906096,"altitude":31,"angle":132,"satellites":46,"speed":10,"hex_longitude":"2d881740","hex_latitude":"0612f6b0","is_valid_coordinates":true} 
[2026-07-25 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949024768001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357585520932421632,"note":"Value kept but may cause issues"} 
[2026-07-25 10:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8646418677252892672,"note":"Value kept but may cause issues"} 
[2026-07-25 10:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784957149000,"timestamp_ms":1784957149000,"timestamp_seconds":1784957149,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bc9f48"} 
[2026-07-25 10:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949024768001,"66":27908,"238":206,"79":46592,"24":10,"16":357585520932421632,"45":-8646418677252892672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-07-25 10:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949024768001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:58:39] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-25 10:58:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357585520932421632,"km_value":357585520932421.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8646418677252892672,"description":"Unknown IO ID 45"} 
[2026-07-25 10:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949024768001,"power":27908,"unknown_238":206,"unknown_79":46592,"ignition":10,"odometer":null,"unknown_45":-8646418677252892672}} 
[2026-07-25 10:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":140976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:58:39] local.INFO: GPS data processed {"connection_id":140976,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:58:39] local.INFO: Acknowledgment sent {"connection_id":140976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:58:56] local.INFO: TCP Data received {"connection_id":142029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:56] local.INFO: Processing buffer {"connection_id":142029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:56] local.INFO: IMEI packet received {"connection_id":142029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":142029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:58:56] local.INFO: TCP Data received {"connection_id":142029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:56] local.INFO: Processing buffer {"connection_id":142029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:58:56] local.INFO: IMEI packet received {"connection_id":142029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":142029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:59:02] local.INFO: TCP Data received {"connection_id":142029,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:02] local.INFO: Processing buffer {"connection_id":142029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:02] local.INFO: IMEI packet received {"connection_id":142029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":142029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:59:03] local.INFO: TCP Data received {"connection_id":142029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bcf150012d8820c00612eeb8002400832b..."} 
[2026-07-25 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bcf150012d8820c00612eeb8002400832b..."} 
[2026-07-25 10:59:03] local.INFO: Processing buffer {"connection_id":142029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bcf150012d8820c00612eeb8002400832b..."} 
[2026-07-25 10:59:03] local.INFO: Packet analysis {"connection_id":142029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:59:03] local.INFO: Extracted packet for processing {"connection_id":142029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bc"} 
[2026-07-25 10:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763896000,"raw_latitude":101904056,"longitude_deg":76.3896,"latitude_deg":10.1904056,"altitude":36,"angle":131,"satellites":43,"speed":14,"hex_longitude":"2d8820c0","hex_latitude":"0612eeb8","is_valid_coordinates":true} 
[2026-07-25 10:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949030144001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357585675551244288,"note":"Value kept but may cause issues"} 
[2026-07-25 10:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8640366965254868992,"note":"Value kept but may cause issues"} 
[2026-07-25 10:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784957170000,"timestamp_ms":1784957170000,"timestamp_seconds":1784957170,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bcf150"} 
[2026-07-25 10:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 10:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949030144001,"66":27876,"238":206,"79":46592,"24":14,"16":357585675551244288,"45":-8640366965254868992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,79,24,16,45]} 
[2026-07-25 10:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949030144001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357585675551244288,"km_value":357585675551244.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8640366965254868992,"description":"Unknown IO ID 45"} 
[2026-07-25 10:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949030144001,"power":27876,"unknown_238":206,"unknown_79":46592,"ignition":14,"odometer":null,"unknown_45":-8640366965254868992}} 
[2026-07-25 10:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":142029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:59:03] local.INFO: GPS data processed {"connection_id":142029,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:59:03] local.INFO: Acknowledgment sent {"connection_id":142029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:59:35] local.INFO: TCP Data received {"connection_id":142029,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bf23d0012d890fc006126fa0001800772f..."} 
[2026-07-25 10:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bf23d0012d890fc006126fa0001800772f..."} 
[2026-07-25 10:59:35] local.INFO: Processing buffer {"connection_id":142029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bf23d0012d890fc006126fa0001800772f..."} 
[2026-07-25 10:59:35] local.INFO: Packet analysis {"connection_id":142029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bf"} 
[2026-07-25 10:59:35] local.INFO: Extracted packet for processing {"connection_id":142029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bf"} 
[2026-07-25 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763957184,"raw_latitude":101871520,"longitude_deg":76.3957184,"latitude_deg":10.187152,"altitude":24,"angle":119,"satellites":47,"speed":25,"hex_longitude":"2d890fc0","hex_latitude":"06126fa0","is_valid_coordinates":true} 
[2026-07-25 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 10:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949068288001,"note":"Value kept but may cause issues"} 
[2026-07-25 10:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357589008445865984,"note":"Value kept but may cause issues"} 
[2026-07-25 10:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8579779476525670400,"note":"Value kept but may cause issues"} 
[2026-07-25 10:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 10:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784957314000,"timestamp_ms":1784957314000,"timestamp_seconds":1784957314,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bf23d0"} 
[2026-07-25 10:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 10:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 10:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 10:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 10:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 10:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 10:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 10:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 10:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 10:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 10:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 10:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 10:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949068288001,"66":28028,"38":206,"79":46592,"24":25,"16":357589008445865984,"45":-8579779476525670400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,79,24,16,45]} 
[2026-07-25 10:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 10:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 10:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949068288001,"description":"Unknown IO ID 0"} 
[2026-07-25 10:59:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 10:59:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 10:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357589008445865984,"km_value":357589008445866.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 10:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8579779476525670400,"description":"Unknown IO ID 45"} 
[2026-07-25 10:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949068288001,"power":28028,"unknown_38":206,"unknown_79":46592,"ignition":25,"odometer":null,"unknown_45":-8579779476525670400}} 
[2026-07-25 10:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":142029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 10:59:35] local.INFO: GPS data processed {"connection_id":142029,"processed":1,"errors":0,"total":1} 
[2026-07-25 10:59:35] local.INFO: Acknowledgment sent {"connection_id":142029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 10:59:54] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:54] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:54] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 10:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 10:59:56] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:56] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:56] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 10:59:57] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:57] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 10:59:57] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 10:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:00:02] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:02] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:02] local.INFO: IMEI packet received {"connection_id":143382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":143382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:00:04] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bf4ec8012d892e0006125c500019007c2f..."} 
[2026-07-25 11:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bf4ec8012d892e0006125c500019007c2f..."} 
[2026-07-25 11:00:04] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bf4ec8012d892e0006125c500019007c2f..."} 
[2026-07-25 11:00:04] local.INFO: Packet analysis {"connection_id":143382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bf"} 
[2026-07-25 11:00:04] local.INFO: Extracted packet for processing {"connection_id":143382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bf"} 
[2026-07-25 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763964928,"raw_latitude":101866576,"longitude_deg":76.3964928,"latitude_deg":10.1866576,"altitude":25,"angle":124,"satellites":47,"speed":39,"hex_longitude":"2d892e00","hex_latitude":"06125c50","is_valid_coordinates":true} 
[2026-07-25 11:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949072384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357589446532530176,"note":"Value kept but may cause issues"} 
[2026-07-25 11:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8570420433551122432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784957325000,"timestamp_ms":1784957325000,"timestamp_seconds":1784957325,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bf4ec8"} 
[2026-07-25 11:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 11:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949072384001,"66":27843,"38":206,"79":46592,"24":39,"16":357589446532530176,"45":-8570420433551122432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,79,24,16,45]} 
[2026-07-25 11:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949072384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:00:04] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 11:00:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357589446532530176,"km_value":357589446532530.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8570420433551122432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949072384001,"power":27843,"unknown_38":206,"unknown_79":46592,"ignition":39,"odometer":null,"unknown_45":-8570420433551122432}} 
[2026-07-25 11:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":143382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:00:04] local.INFO: GPS data processed {"connection_id":143382,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:00:04] local.INFO: Acknowledgment sent {"connection_id":143382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:00:35] local.INFO: TCP Data received {"connection_id":143382,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97bf71f0012d894c40061246200017007d30..."} 
[2026-07-25 11:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97bf71f0012d894c40061246200017007d30..."} 
[2026-07-25 11:00:35] local.INFO: Processing buffer {"connection_id":143382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97bf71f0012d894c40061246200017007d30..."} 
[2026-07-25 11:00:35] local.INFO: Packet analysis {"connection_id":143382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97bf"} 
[2026-07-25 11:00:35] local.INFO: Extracted packet for processing {"connection_id":143382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97bf"} 
[2026-07-25 11:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763972672,"raw_latitude":101860896,"longitude_deg":76.3972672,"latitude_deg":10.1860896,"altitude":23,"angle":125,"satellites":48,"speed":43,"hex_longitude":"2d894c40","hex_latitude":"06124620","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949075200001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357589910388998144,"note":"Value kept but may cause issues"} 
[2026-07-25 11:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561905815506890752,"note":"Value kept but may cause issues"} 
[2026-07-25 11:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784957334000,"timestamp_ms":1784957334000,"timestamp_seconds":1784957334,"priority":1,"record_length":96,"hex_timestamp":"0000019f97bf71f0"} 
[2026-07-25 11:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:00: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-07-25 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 11:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949075200001,"66":27908,"38":206,"79":46592,"24":43,"16":357589910388998144,"45":-8561905815506890752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,79,24,16,45]} 
[2026-07-25 11:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949075200001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:00:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 11:00:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357589910388998144,"km_value":357589910388998.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561905815506890752,"description":"Unknown IO ID 45"} 
[2026-07-25 11:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949075200001,"power":27908,"unknown_38":206,"unknown_79":46592,"ignition":43,"odometer":null,"unknown_45":-8561905815506890752}} 
[2026-07-25 11:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":143382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:00:35] local.INFO: GPS data processed {"connection_id":143382,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:00:35] local.INFO: Acknowledgment sent {"connection_id":143382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:00:54] local.INFO: TCP Data received {"connection_id":142030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:54] local.INFO: Processing buffer {"connection_id":142030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:54] local.INFO: IMEI packet received {"connection_id":142030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":142030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:00:56] local.INFO: TCP Data received {"connection_id":142030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:56] local.INFO: Processing buffer {"connection_id":142030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:00:56] local.INFO: IMEI packet received {"connection_id":142030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":142030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:01:01] local.INFO: TCP Data received {"connection_id":142030,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:01] local.INFO: Processing buffer {"connection_id":142030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:01] local.INFO: IMEI packet received {"connection_id":142030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":142030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:01:02] local.INFO: TCP Data received {"connection_id":142030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c05480012d8a1fc006120a48000e00642e..."} 
[2026-07-25 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c05480012d8a1fc006120a48000e00642e..."} 
[2026-07-25 11:01:02] local.INFO: Processing buffer {"connection_id":142030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c05480012d8a1fc006120a48000e00642e..."} 
[2026-07-25 11:01:02] local.INFO: Packet analysis {"connection_id":142030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:01:02] local.INFO: Extracted packet for processing {"connection_id":142030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:01:02] local.INFO: GPS Element Parsed {"raw_longitude":764026816,"raw_latitude":101845576,"longitude_deg":76.4026816,"latitude_deg":10.1845576,"altitude":14,"angle":100,"satellites":46,"speed":48,"hex_longitude":"2d8a1fc0","hex_latitude":"06120a48","is_valid_coordinates":true} 
[2026-07-25 11:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949090304001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357592732182511616,"note":"Value kept but may cause issues"} 
[2026-07-25 11:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8504062707797706752,"note":"Value kept but may cause issues"} 
[2026-07-25 11:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784957392000,"timestamp_ms":1784957392000,"timestamp_seconds":1784957392,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c05480"} 
[2026-07-25 11:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949090304001,"66":27952,"214":206,"79":46592,"24":48,"16":357592732182511616,"45":-8504062707797706752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 11:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949090304001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:01:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 11:01:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357592732182511616,"km_value":357592732182511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8504062707797706752,"description":"Unknown IO ID 45"} 
[2026-07-25 11:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949090304001,"power":27952,"unknown_214":206,"unknown_79":46592,"ignition":48,"odometer":null,"unknown_45":-8504062707797706752}} 
[2026-07-25 11:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":142030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:01:02] local.INFO: GPS data processed {"connection_id":142030,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:01:02] local.INFO: Acknowledgment sent {"connection_id":142030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:01:33] local.INFO: TCP Data received {"connection_id":142030,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c073c0012d8a468006120340000e006531..."} 
[2026-07-25 11:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c073c0012d8a468006120340000e006531..."} 
[2026-07-25 11:01:33] local.INFO: Processing buffer {"connection_id":142030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c073c0012d8a468006120340000e006531..."} 
[2026-07-25 11:01:33] local.INFO: Packet analysis {"connection_id":142030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:01:33] local.INFO: Extracted packet for processing {"connection_id":142030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:01:33] local.INFO: GPS Element Parsed {"raw_longitude":764036736,"raw_latitude":101843776,"longitude_deg":76.4036736,"latitude_deg":10.1843776,"altitude":14,"angle":101,"satellites":49,"speed":49,"hex_longitude":"2d8a4680","hex_latitude":"06120340","is_valid_coordinates":true} 
[2026-07-25 11:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949092352001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357593213218848768,"note":"Value kept but may cause issues"} 
[2026-07-25 11:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8493859239892465664,"note":"Value kept but may cause issues"} 
[2026-07-25 11:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784957400000,"timestamp_ms":1784957400000,"timestamp_seconds":1784957400,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c073c0"} 
[2026-07-25 11:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-25 11:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949092352001,"66":27908,"214":206,"79":46592,"24":49,"16":357593213218848768,"45":-8493859239892465664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 11:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949092352001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:01:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 11:01:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357593213218848768,"km_value":357593213218848.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8493859239892465664,"description":"Unknown IO ID 45"} 
[2026-07-25 11:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949092352001,"power":27908,"unknown_214":206,"unknown_79":46592,"ignition":49,"odometer":null,"unknown_45":-8493859239892465664}} 
[2026-07-25 11:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":142030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:01:33] local.INFO: GPS data processed {"connection_id":142030,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:01:33] local.INFO: Acknowledgment sent {"connection_id":142030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:01:55] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:55] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:55] local.INFO: IMEI packet received {"connection_id":141035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":141035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:01:55] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:55] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:01:55] local.INFO: IMEI packet received {"connection_id":141035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":141035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:02:01] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:02:01] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:02:01] local.INFO: IMEI packet received {"connection_id":141035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":141035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:02:06] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c09300012d8a6c000611fb70000f00652f..."} 
[2026-07-25 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c09300012d8a6c000611fb70000f00652f..."} 
[2026-07-25 11:02:06] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c09300012d8a6c000611fb70000f00652f..."} 
[2026-07-25 11:02:06] local.INFO: Packet analysis {"connection_id":141035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:02:06] local.INFO: Extracted packet for processing {"connection_id":141035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":764046336,"raw_latitude":101841776,"longitude_deg":76.4046336,"latitude_deg":10.1841776,"altitude":15,"angle":101,"satellites":47,"speed":47,"hex_longitude":"2d8a6c00","hex_latitude":"0611fb70","is_valid_coordinates":true} 
[2026-07-25 11:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949094400001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357593681370284032,"note":"Value kept but may cause issues"} 
[2026-07-25 11:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8482952084545388544,"note":"Value kept but may cause issues"} 
[2026-07-25 11:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784957408000,"timestamp_ms":1784957408000,"timestamp_seconds":1784957408,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c09300"} 
[2026-07-25 11:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949094400001,"66":27919,"214":206,"79":46592,"24":47,"16":357593681370284032,"45":-8482952084545388544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 11:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949094400001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:02:06] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 11:02:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357593681370284032,"km_value":357593681370284.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8482952084545388544,"description":"Unknown IO ID 45"} 
[2026-07-25 11:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949094400001,"power":27919,"unknown_214":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8482952084545388544}} 
[2026-07-25 11:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":141035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:02:06] local.INFO: GPS data processed {"connection_id":141035,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:02:06] local.INFO: Acknowledgment sent {"connection_id":141035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:02:37] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c0b240012d8a8ec00611f4d0001100632e..."} 
[2026-07-25 11:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c0b240012d8a8ec00611f4d0001100632e..."} 
[2026-07-25 11:02:37] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c0b240012d8a8ec00611f4d0001100632e..."} 
[2026-07-25 11:02:37] local.INFO: Packet analysis {"connection_id":141035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:02:37] local.INFO: Extracted packet for processing {"connection_id":141035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c0"} 
[2026-07-25 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":764055232,"raw_latitude":101840080,"longitude_deg":76.4055232,"latitude_deg":10.184008,"altitude":17,"angle":99,"satellites":46,"speed":42,"hex_longitude":"2d8a8ec0","hex_latitude":"0611f4d0","is_valid_coordinates":true} 
[2026-07-25 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949096448001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357594115161980928,"note":"Value kept but may cause issues"} 
[2026-07-25 11:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8472396772919250944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784957416000,"timestamp_ms":1784957416000,"timestamp_seconds":1784957416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c0b240"} 
[2026-07-25 11:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949096448001,"66":27908,"214":206,"79":46592,"24":42,"16":357594115161980928,"45":-8472396772919250944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,79,24,16,45]} 
[2026-07-25 11:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949096448001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:02:37] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-25 11:02:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357594115161980928,"km_value":357594115161980.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8472396772919250944,"description":"Unknown IO ID 45"} 
[2026-07-25 11:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949096448001,"power":27908,"unknown_214":206,"unknown_79":46592,"ignition":42,"odometer":null,"unknown_45":-8472396772919250944}} 
[2026-07-25 11:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":141035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:02:37] local.INFO: GPS data processed {"connection_id":141035,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:02:37] local.INFO: Acknowledgment sent {"connection_id":141035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:02:55] local.INFO: TCP Data received {"connection_id":143383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:02:55] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:02:55] local.INFO: IMEI packet received {"connection_id":143383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":143383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:03:01] local.INFO: TCP Data received {"connection_id":143383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:03:01] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:03:01] local.INFO: IMEI packet received {"connection_id":143383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":143383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:03:02] local.INFO: TCP Data received {"connection_id":143383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c22940012d8be80006117008001000772e..."} 
[2026-07-25 11:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c22940012d8be80006117008001000772e..."} 
[2026-07-25 11:03:02] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c22940012d8be80006117008001000772e..."} 
[2026-07-25 11:03:02] local.INFO: Packet analysis {"connection_id":143383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:03:02] local.INFO: Extracted packet for processing {"connection_id":143383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:03:02] local.INFO: GPS Element Parsed {"raw_longitude":764143616,"raw_latitude":101806088,"longitude_deg":76.4143616,"latitude_deg":10.1806088,"altitude":16,"angle":119,"satellites":46,"speed":47,"hex_longitude":"2d8be800","hex_latitude":"06117008","is_valid_coordinates":true} 
[2026-07-25 11:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949121024001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357598702187053056,"note":"Value kept but may cause issues"} 
[2026-07-25 11:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8374513849776121856,"note":"Value kept but may cause issues"} 
[2026-07-25 11:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784957512000,"timestamp_ms":1784957512000,"timestamp_seconds":1784957512,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c22940"} 
[2026-07-25 11:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949121024001,"66":27843,"213":206,"79":46592,"24":47,"16":357598702187053056,"45":-8374513849776121856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,79,24,16,45]} 
[2026-07-25 11:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949121024001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:03:02] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-25 11:03:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357598702187053056,"km_value":357598702187053.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8374513849776121856,"description":"Unknown IO ID 45"} 
[2026-07-25 11:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949121024001,"power":27843,"unknown_213":206,"unknown_79":46592,"ignition":47,"odometer":null,"unknown_45":-8374513849776121856}} 
[2026-07-25 11:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":143383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:03:02] local.INFO: GPS data processed {"connection_id":143383,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:03:02] local.INFO: Acknowledgment sent {"connection_id":143383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:03:33] local.INFO: TCP Data received {"connection_id":143383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c24498012d8c074006115ff8000f00742f..."} 
[2026-07-25 11:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c24498012d8c074006115ff8000f00742f..."} 
[2026-07-25 11:03:33] local.INFO: Processing buffer {"connection_id":143383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c24498012d8c074006115ff8000f00742f..."} 
[2026-07-25 11:03:33] local.INFO: Packet analysis {"connection_id":143383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:03:33] local.INFO: Extracted packet for processing {"connection_id":143383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:03:33] local.INFO: GPS Element Parsed {"raw_longitude":764151616,"raw_latitude":101801976,"longitude_deg":76.4151616,"latitude_deg":10.1801976,"altitude":15,"angle":116,"satellites":47,"speed":52,"hex_longitude":"2d8c0740","hex_latitude":"06115ff8","is_valid_coordinates":true} 
[2026-07-25 11:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949123072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357599131683782656,"note":"Value kept but may cause issues"} 
[2026-07-25 11:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8365436281778337792,"note":"Value kept but may cause issues"} 
[2026-07-25 11:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784957519000,"timestamp_ms":1784957519000,"timestamp_seconds":1784957519,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c24498"} 
[2026-07-25 11:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 11:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949123072001,"66":27919,"46":206,"79":46592,"24":52,"16":357599131683782656,"45":-8365436281778337792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-25 11:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949123072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:03:33] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-25 11:03:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357599131683782656,"km_value":357599131683782.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8365436281778337792,"description":"Unknown IO ID 45"} 
[2026-07-25 11:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949123072001,"power":27919,"unknown_46":206,"unknown_79":46592,"ignition":52,"odometer":null,"unknown_45":-8365436281778337792}} 
[2026-07-25 11:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":143383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:03:33] local.INFO: GPS data processed {"connection_id":143383,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:03:33] local.INFO: Acknowledgment sent {"connection_id":143383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:04:06] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:04:06] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:04:06] local.INFO: IMEI packet received {"connection_id":143384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":143384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:04:11] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:04:11] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:04:11] local.INFO: IMEI packet received {"connection_id":143384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":143384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:04:12] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c25ff0012d8c284006114f38000f00752f..."} 
[2026-07-25 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c25ff0012d8c284006114f38000f00752f..."} 
[2026-07-25 11:04:12] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c25ff0012d8c284006114f38000f00752f..."} 
[2026-07-25 11:04:12] local.INFO: Packet analysis {"connection_id":143384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:04:12] local.INFO: Extracted packet for processing {"connection_id":143384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:04:12] local.INFO: GPS Element Parsed {"raw_longitude":764160064,"raw_latitude":101797688,"longitude_deg":76.4160064,"latitude_deg":10.1797688,"altitude":15,"angle":117,"satellites":47,"speed":53,"hex_longitude":"2d8c2840","hex_latitude":"06114f38","is_valid_coordinates":true} 
[2026-07-25 11:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949124864001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357599586950316032,"note":"Value kept but may cause issues"} 
[2026-07-25 11:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8356640188757182464,"note":"Value kept but may cause issues"} 
[2026-07-25 11:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784957526000,"timestamp_ms":1784957526000,"timestamp_seconds":1784957526,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c25ff0"} 
[2026-07-25 11:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:04: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-07-25 11:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949124864001,"66":27908,"46":206,"79":46592,"24":53,"16":357599586950316032,"45":-8356640188757182464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-25 11:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949124864001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:04:12] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-25 11:04:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357599586950316032,"km_value":357599586950316.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8356640188757182464,"description":"Unknown IO ID 45"} 
[2026-07-25 11:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949124864001,"power":27908,"unknown_46":206,"unknown_79":46592,"ignition":53,"odometer":null,"unknown_45":-8356640188757182464}} 
[2026-07-25 11:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":143384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:04:12] local.INFO: GPS data processed {"connection_id":143384,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:04:12] local.INFO: Acknowledgment sent {"connection_id":143384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:04:13] local.INFO: TCP Data received {"connection_id":143384,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c27f30012d8c48c006113eb8000e00752f..."} 
[2026-07-25 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c27f30012d8c48c006113eb8000e00752f..."} 
[2026-07-25 11:04:13] local.INFO: Processing buffer {"connection_id":143384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c27f30012d8c48c006113eb8000e00752f..."} 
[2026-07-25 11:04:13] local.INFO: Packet analysis {"connection_id":143384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:04:13] local.INFO: Extracted packet for processing {"connection_id":143384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c2"} 
[2026-07-25 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":764168384,"raw_latitude":101793464,"longitude_deg":76.4168384,"latitude_deg":10.1793464,"altitude":14,"angle":117,"satellites":47,"speed":40,"hex_longitude":"2d8c48c0","hex_latitude":"06113eb8","is_valid_coordinates":true} 
[2026-07-25 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949126656001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357600033626914816,"note":"Value kept but may cause issues"} 
[2026-07-25 11:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8347351514526828544,"note":"Value kept but may cause issues"} 
[2026-07-25 11:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784957534000,"timestamp_ms":1784957534000,"timestamp_seconds":1784957534,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c27f30"} 
[2026-07-25 11:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949126656001,"66":27919,"46":206,"79":46592,"24":40,"16":357600033626914816,"45":-8347351514526828544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-07-25 11:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949126656001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:04:13] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-25 11:04:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357600033626914816,"km_value":357600033626914.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8347351514526828544,"description":"Unknown IO ID 45"} 
[2026-07-25 11:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949126656001,"power":27919,"unknown_46":206,"unknown_79":46592,"ignition":40,"odometer":null,"unknown_45":-8347351514526828544}} 
[2026-07-25 11:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":143384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:04:13] local.INFO: GPS data processed {"connection_id":143384,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:04:13] local.INFO: Acknowledgment sent {"connection_id":143384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:05:25] local.INFO: TCP Data received {"connection_id":143385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:25] local.INFO: Processing buffer {"connection_id":143385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:25] local.INFO: IMEI packet received {"connection_id":143385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":143385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:05:31] local.INFO: TCP Data received {"connection_id":143385,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:31] local.INFO: Processing buffer {"connection_id":143385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:31] local.INFO: IMEI packet received {"connection_id":143385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":143385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:05:32] local.INFO: TCP Data received {"connection_id":143385,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c42510012d8d940006105938001700852f..."} 
[2026-07-25 11:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c42510012d8d940006105938001700852f..."} 
[2026-07-25 11:05:32] local.INFO: Processing buffer {"connection_id":143385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c42510012d8d940006105938001700852f..."} 
[2026-07-25 11:05:32] local.INFO: Packet analysis {"connection_id":143385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:05:32] local.INFO: Extracted packet for processing {"connection_id":143385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:05:32] local.INFO: GPS Element Parsed {"raw_longitude":764253184,"raw_latitude":101734712,"longitude_deg":76.4253184,"latitude_deg":10.1734712,"altitude":23,"angle":133,"satellites":47,"speed":51,"hex_longitude":"2d8d9400","hex_latitude":"06105938","is_valid_coordinates":true} 
[2026-07-25 11:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949154304001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357605024378912768,"note":"Value kept but may cause issues"} 
[2026-07-25 11:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8252705553622360064,"note":"Value kept but may cause issues"} 
[2026-07-25 11:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784957642000,"timestamp_ms":1784957642000,"timestamp_seconds":1784957642,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c42510"} 
[2026-07-25 11:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 11:05: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-07-25 11:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949154304001,"66":27974,"209":206,"79":46592,"24":51,"16":357605024378912768,"45":-8252705553622360064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-25 11:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949154304001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:05:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 11:05:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357605024378912768,"km_value":357605024378912.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8252705553622360064,"description":"Unknown IO ID 45"} 
[2026-07-25 11:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949154304001,"power":27974,"unknown_209":206,"unknown_79":46592,"ignition":51,"odometer":null,"unknown_45":-8252705553622360064}} 
[2026-07-25 11:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":143385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:05:32] local.INFO: GPS data processed {"connection_id":143385,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:05:32] local.INFO: Acknowledgment sent {"connection_id":143385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:05:55] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:55] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:05:55] local.INFO: IMEI packet received {"connection_id":141036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":141036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:06:01] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:06:01] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:06:01] local.INFO: IMEI packet received {"connection_id":141036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":141036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:06:02] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c44068012d8dae4006103ff8001700852f..."} 
[2026-07-25 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c44068012d8dae4006103ff8001700852f..."} 
[2026-07-25 11:06:02] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c44068012d8dae4006103ff8001700852f..."} 
[2026-07-25 11:06:02] local.INFO: Packet analysis {"connection_id":141036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:06:02] local.INFO: Extracted packet for processing {"connection_id":141036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":764259904,"raw_latitude":101728248,"longitude_deg":76.4259904,"latitude_deg":10.1728248,"altitude":23,"angle":133,"satellites":47,"speed":50,"hex_longitude":"2d8dae40","hex_latitude":"06103ff8","is_valid_coordinates":true} 
[2026-07-25 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949156352001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357605471055511552,"note":"Value kept but may cause issues"} 
[2026-07-25 11:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8244964991764449280,"note":"Value kept but may cause issues"} 
[2026-07-25 11:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784957649000,"timestamp_ms":1784957649000,"timestamp_seconds":1784957649,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c44068"} 
[2026-07-25 11:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 11:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949156352001,"66":27876,"209":206,"79":46592,"24":50,"16":357605471055511552,"45":-8244964991764449280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-25 11:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949156352001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:06:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 11:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357605471055511552,"km_value":357605471055511.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8244964991764449280,"description":"Unknown IO ID 45"} 
[2026-07-25 11:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949156352001,"power":27876,"unknown_209":206,"unknown_79":46592,"ignition":50,"odometer":null,"unknown_45":-8244964991764449280}} 
[2026-07-25 11:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":141036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:06:02] local.INFO: GPS data processed {"connection_id":141036,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:06:02] local.INFO: Acknowledgment sent {"connection_id":141036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:06:33] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c45fa8012d8dc940061026d0001800832f..."} 
[2026-07-25 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c45fa8012d8dc940061026d0001800832f..."} 
[2026-07-25 11:06:33] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c45fa8012d8dc940061026d0001800832f..."} 
[2026-07-25 11:06:33] local.INFO: Packet analysis {"connection_id":141036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:06:33] local.INFO: Extracted packet for processing {"connection_id":141036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":764266816,"raw_latitude":101721808,"longitude_deg":76.4266816,"latitude_deg":10.1721808,"altitude":24,"angle":131,"satellites":47,"speed":46,"hex_longitude":"2d8dc940","hex_latitude":"061026d0","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949158144001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357605926322044928,"note":"Value kept but may cause issues"} 
[2026-07-25 11:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8237576273627449344,"note":"Value kept but may cause issues"} 
[2026-07-25 11:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784957657000,"timestamp_ms":1784957657000,"timestamp_seconds":1784957657,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c45fa8"} 
[2026-07-25 11:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":228,"data_length":795,"current_offset":136} 
[2026-07-25 11:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949158144001,"66":27995,"209":206,"79":46592,"24":46,"16":357605926322044928,"45":-8237576273627449344},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-25 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949158144001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:06:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 11:06:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357605926322044928,"km_value":357605926322044.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8237576273627449344,"description":"Unknown IO ID 45"} 
[2026-07-25 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949158144001,"power":27995,"unknown_209":206,"unknown_79":46592,"ignition":46,"odometer":null,"unknown_45":-8237576273627449344}} 
[2026-07-25 11:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":141036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:06:33] local.INFO: GPS data processed {"connection_id":141036,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:06:33] local.INFO: Acknowledgment sent {"connection_id":141036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:06:59] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:06:59] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:06:59] local.INFO: IMEI packet received {"connection_id":140977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":140977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:07:00] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:00] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:00] local.INFO: IMEI packet received {"connection_id":140977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":140977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:07:06] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:06] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:06] local.INFO: IMEI packet received {"connection_id":140977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":140977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:07:07] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c47ee8012d8de680061012c0001a00772f..."} 
[2026-07-25 11:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c47ee8012d8de680061012c0001a00772f..."} 
[2026-07-25 11:07:07] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c47ee8012d8de680061012c0001a00772f..."} 
[2026-07-25 11:07:07] local.INFO: Packet analysis {"connection_id":140977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:07:07] local.INFO: Extracted packet for processing {"connection_id":140977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:07:07] local.INFO: GPS Element Parsed {"raw_longitude":764274304,"raw_latitude":101716672,"longitude_deg":76.4274304,"latitude_deg":10.1716672,"altitude":26,"angle":119,"satellites":47,"speed":44,"hex_longitude":"2d8de680","hex_latitude":"061012c0","is_valid_coordinates":true} 
[2026-07-25 11:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949160192001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357606364408709120,"note":"Value kept but may cause issues"} 
[2026-07-25 11:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8229976449257910272,"note":"Value kept but may cause issues"} 
[2026-07-25 11:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784957665000,"timestamp_ms":1784957665000,"timestamp_seconds":1784957665,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c47ee8"} 
[2026-07-25 11:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 11:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949160192001,"66":27908,"209":206,"79":46592,"24":44,"16":357606364408709120,"45":-8229976449257910272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-25 11:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949160192001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:07:07] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 11:07:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357606364408709120,"km_value":357606364408709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8229976449257910272,"description":"Unknown IO ID 45"} 
[2026-07-25 11:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949160192001,"power":27908,"unknown_209":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8229976449257910272}} 
[2026-07-25 11:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":140977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:07:07] local.INFO: GPS data processed {"connection_id":140977,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:07:07] local.INFO: Acknowledgment sent {"connection_id":140977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:07:11] local.INFO: TCP Data received {"connection_id":140977,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c47ee8012d8de680061012c0001a00772f..."} 
[2026-07-25 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c47ee8012d8de680061012c0001a00772f..."} 
[2026-07-25 11:07:11] local.INFO: Processing buffer {"connection_id":140977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c47ee8012d8de680061012c0001a00772f..."} 
[2026-07-25 11:07:11] local.INFO: Packet analysis {"connection_id":140977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:07:11] local.INFO: Extracted packet for processing {"connection_id":140977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c4"} 
[2026-07-25 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":764274304,"raw_latitude":101716672,"longitude_deg":76.4274304,"latitude_deg":10.1716672,"altitude":26,"angle":119,"satellites":47,"speed":44,"hex_longitude":"2d8de680","hex_latitude":"061012c0","is_valid_coordinates":true} 
[2026-07-25 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949162240001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357606364408709120,"note":"Value kept but may cause issues"} 
[2026-07-25 11:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8221743306190438400,"note":"Value kept but may cause issues"} 
[2026-07-25 11:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784957665000,"timestamp_ms":1784957665000,"timestamp_seconds":1784957665,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c47ee8"} 
[2026-07-25 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949162240001,"66":27908,"209":206,"79":46592,"24":44,"16":357606364408709120,"45":-8221743306190438400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-07-25 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949162240001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:07:11] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 11:07:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-07-25 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357606364408709120,"km_value":357606364408709.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8221743306190438400,"description":"Unknown IO ID 45"} 
[2026-07-25 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949162240001,"power":27908,"unknown_209":206,"unknown_79":46592,"ignition":44,"odometer":null,"unknown_45":-8221743306190438400}} 
[2026-07-25 11:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":140977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:07:11] local.INFO: GPS data processed {"connection_id":140977,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:07:11] local.INFO: Acknowledgment sent {"connection_id":140977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:07:55] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:55] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:07:55] local.INFO: IMEI packet received {"connection_id":141037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":141037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:08:01] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:01] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:01] local.INFO: IMEI packet received {"connection_id":141037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":141037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:08:15] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c67ea0012d8f4d80060f6808001100732d..."} 
[2026-07-25 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c67ea0012d8f4d80060f6808001100732d..."} 
[2026-07-25 11:08:15] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c67ea0012d8f4d80060f6808001100732d..."} 
[2026-07-25 11:08:15] local.INFO: Packet analysis {"connection_id":141037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c6"} 
[2026-07-25 11:08:15] local.INFO: Extracted packet for processing {"connection_id":141037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c6"} 
[2026-07-25 11:08:15] local.INFO: GPS Element Parsed {"raw_longitude":764366208,"raw_latitude":101672968,"longitude_deg":76.4366208,"latitude_deg":10.1672968,"altitude":17,"angle":115,"satellites":45,"speed":24,"hex_longitude":"2d8f4d80","hex_latitude":"060f6808","is_valid_coordinates":true} 
[2026-07-25 11:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949191936001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357611234901622784,"note":"Value kept but may cause issues"} 
[2026-07-25 11:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8130123201281259520,"note":"Value kept but may cause issues"} 
[2026-07-25 11:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784957796000,"timestamp_ms":1784957796000,"timestamp_seconds":1784957796,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c67ea0"} 
[2026-07-25 11:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 11:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949191936001,"66":27865,"197":206,"79":46848,"24":24,"16":357611234901622784,"45":-8130123201281259520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 11:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949191936001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:08:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 11:08:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357611234901622784,"km_value":357611234901622.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8130123201281259520,"description":"Unknown IO ID 45"} 
[2026-07-25 11:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949191936001,"power":27865,"unknown_197":206,"unknown_79":46848,"ignition":24,"odometer":null,"unknown_45":-8130123201281259520}} 
[2026-07-25 11:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":141037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:08:16] local.INFO: GPS data processed {"connection_id":141037,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:08:16] local.INFO: Acknowledgment sent {"connection_id":141037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:08:56] local.INFO: TCP Data received {"connection_id":143386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:56] local.INFO: Processing buffer {"connection_id":143386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:56] local.INFO: IMEI packet received {"connection_id":143386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":143386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:08:59] local.INFO: TCP Data received {"connection_id":143386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:59] local.INFO: Processing buffer {"connection_id":143386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:08:59] local.INFO: IMEI packet received {"connection_id":143386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":143386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:08:59] local.INFO: TCP Data received {"connection_id":143386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c6b550012d8f6dc0060f59a0001100752e..."} 
[2026-07-25 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c6b550012d8f6dc0060f59a0001100752e..."} 
[2026-07-25 11:08:59] local.INFO: Processing buffer {"connection_id":143386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c6b550012d8f6dc0060f59a0001100752e..."} 
[2026-07-25 11:08:59] local.INFO: Packet analysis {"connection_id":143386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c6"} 
[2026-07-25 11:08:59] local.INFO: Extracted packet for processing {"connection_id":143386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c6"} 
[2026-07-25 11:08:59] local.INFO: GPS Element Parsed {"raw_longitude":764374464,"raw_latitude":101669280,"longitude_deg":76.4374464,"latitude_deg":10.166928,"altitude":17,"angle":117,"satellites":46,"speed":27,"hex_longitude":"2d8f6dc0","hex_latitude":"060f59a0","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949195776001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357611668693319680,"note":"Value kept but may cause issues"} 
[2026-07-25 11:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8120693789562501120,"note":"Value kept but may cause issues"} 
[2026-07-25 11:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784957810000,"timestamp_ms":1784957810000,"timestamp_seconds":1784957810,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c6b550"} 
[2026-07-25 11:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 11:08: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-07-25 11: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-07-25 11:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949195776001,"66":27865,"197":206,"79":46848,"24":27,"16":357611668693319680,"45":-8120693789562501120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 11:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949195776001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:08:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 11:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357611668693319680,"km_value":357611668693319.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8120693789562501120,"description":"Unknown IO ID 45"} 
[2026-07-25 11:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949195776001,"power":27865,"unknown_197":206,"unknown_79":46848,"ignition":27,"odometer":null,"unknown_45":-8120693789562501120}} 
[2026-07-25 11:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":143386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:08:59] local.INFO: GPS data processed {"connection_id":143386,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:08:59] local.INFO: Acknowledgment sent {"connection_id":143386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:09:30] local.INFO: TCP Data received {"connection_id":143386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c70758012d8f8d00060f4b48001100732d..."} 
[2026-07-25 11:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c70758012d8f8d00060f4b48001100732d..."} 
[2026-07-25 11:09:30] local.INFO: Processing buffer {"connection_id":143386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c70758012d8f8d00060f4b48001100732d..."} 
[2026-07-25 11:09:30] local.INFO: Packet analysis {"connection_id":143386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:09:30] local.INFO: Extracted packet for processing {"connection_id":143386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":764382464,"raw_latitude":101665608,"longitude_deg":76.4382464,"latitude_deg":10.1665608,"altitude":17,"angle":115,"satellites":45,"speed":20,"hex_longitude":"2d8f8d00","hex_latitude":"060f4b48","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949199360001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357612089600114688,"note":"Value kept but may cause issues"} 
[2026-07-25 11:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8111616221564526592,"note":"Value kept but may cause issues"} 
[2026-07-25 11:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784957831000,"timestamp_ms":1784957831000,"timestamp_seconds":1784957831,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c70758"} 
[2026-07-25 11:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 11:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949199360001,"66":27995,"197":206,"79":46848,"24":20,"16":357612089600114688,"45":-8111616221564526592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 11:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949199360001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:09:30] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 11:09:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357612089600114688,"km_value":357612089600114.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8111616221564526592,"description":"Unknown IO ID 45"} 
[2026-07-25 11:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949199360001,"power":27995,"unknown_197":206,"unknown_79":46848,"ignition":20,"odometer":null,"unknown_45":-8111616221564526592}} 
[2026-07-25 11:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":143386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:09:30] local.INFO: GPS data processed {"connection_id":143386,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:09:30] local.INFO: Acknowledgment sent {"connection_id":143386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:09:55] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:09:55] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:09:55] local.INFO: IMEI packet received {"connection_id":141038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":141038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:09:56] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:09:56] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:09:56] local.INFO: IMEI packet received {"connection_id":141038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":141038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:10:01] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:10:01] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:10:01] local.INFO: IMEI packet received {"connection_id":141038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":141038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:10:02] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c75960012d8fa280060f3e680010007a2e..."} 
[2026-07-25 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c75960012d8fa280060f3e680010007a2e..."} 
[2026-07-25 11:10:02] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c75960012d8fa280060f3e680010007a2e..."} 
[2026-07-25 11:10:02] local.INFO: Packet analysis {"connection_id":141038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:10:02] local.INFO: Extracted packet for processing {"connection_id":141038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:10:02] local.INFO: GPS Element Parsed {"raw_longitude":764387968,"raw_latitude":101662312,"longitude_deg":76.4387968,"latitude_deg":10.1662312,"altitude":16,"angle":122,"satellites":46,"speed":8,"hex_longitude":"2d8fa280","hex_latitude":"060f3e68","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949204736001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357612398837760000,"note":"Value kept but may cause issues"} 
[2026-07-25 11:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8102820128543258624,"note":"Value kept but may cause issues"} 
[2026-07-25 11:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784957852000,"timestamp_ms":1784957852000,"timestamp_seconds":1784957852,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c75960"} 
[2026-07-25 11:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 11:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949204736001,"66":27843,"197":206,"79":46848,"24":8,"16":357612398837760000,"45":-8102820128543258624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 11:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949204736001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:10:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 11:10:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357612398837760000,"km_value":357612398837760,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8102820128543258624,"description":"Unknown IO ID 45"} 
[2026-07-25 11:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949204736001,"power":27843,"unknown_197":206,"unknown_79":46848,"ignition":8,"odometer":null,"unknown_45":-8102820128543258624}} 
[2026-07-25 11:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":141038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:10:02] local.INFO: GPS data processed {"connection_id":141038,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:10:02] local.INFO: Acknowledgment sent {"connection_id":141038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:10:33] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c76900012d8fa540060f3cc0001200852e..."} 
[2026-07-25 11:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c76900012d8fa540060f3cc0001200852e..."} 
[2026-07-25 11:10:33] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c76900012d8fa540060f3cc0001200852e..."} 
[2026-07-25 11:10:33] local.INFO: Packet analysis {"connection_id":141038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:10:33] local.INFO: Extracted packet for processing {"connection_id":141038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":764388672,"raw_latitude":101661888,"longitude_deg":76.4388672,"latitude_deg":10.1661888,"altitude":18,"angle":133,"satellites":46,"speed":8,"hex_longitude":"2d8fa540","hex_latitude":"060f3cc0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 11:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949210112001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357612437492465664,"note":"Value kept but may cause issues"} 
[2026-07-25 11:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8096768416544823296,"note":"Value kept but may cause issues"} 
[2026-07-25 11:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784957856000,"timestamp_ms":1784957856000,"timestamp_seconds":1784957856,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c76900"} 
[2026-07-25 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-07-25 11:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 11:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 11:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949210112001,"66":28050,"197":206,"79":46848,"24":8,"16":357612437492465664,"45":-8096768416544823296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 11:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949210112001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:10:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 11:10:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357612437492465664,"km_value":357612437492465.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8096768416544823296,"description":"Unknown IO ID 45"} 
[2026-07-25 11:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949210112001,"power":28050,"unknown_197":206,"unknown_79":46848,"ignition":8,"odometer":null,"unknown_45":-8096768416544823296}} 
[2026-07-25 11:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":141038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:10:33] local.INFO: GPS data processed {"connection_id":141038,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:10:33] local.INFO: Acknowledgment sent {"connection_id":141038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:10:55] local.INFO: TCP Data received {"connection_id":143387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:10:55] local.INFO: Processing buffer {"connection_id":143387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:10:55] local.INFO: IMEI packet received {"connection_id":143387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":143387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:11:12] local.INFO: TCP Data received {"connection_id":143387,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:11:12] local.INFO: Processing buffer {"connection_id":143387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:11:12] local.INFO: IMEI packet received {"connection_id":143387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":143387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:11:13] local.INFO: TCP Data received {"connection_id":143387,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97c77c88012d8fa900060f37d8001500922e..."} 
[2026-07-25 11:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97c77c88012d8fa900060f37d8001500922e..."} 
[2026-07-25 11:11:13] local.INFO: Processing buffer {"connection_id":143387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97c77c88012d8fa900060f37d8001500922e..."} 
[2026-07-25 11:11:13] local.INFO: Packet analysis {"connection_id":143387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:11:13] local.INFO: Extracted packet for processing {"connection_id":143387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97c7"} 
[2026-07-25 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":764389632,"raw_latitude":101660632,"longitude_deg":76.4389632,"latitude_deg":10.1660632,"altitude":21,"angle":146,"satellites":46,"speed":13,"hex_longitude":"2d8fa900","hex_latitude":"060f37d8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 11:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949211136001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357612514801876992,"note":"Value kept but may cause issues"} 
[2026-07-25 11:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8095994360358977536,"note":"Value kept but may cause issues"} 
[2026-07-25 11:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784957861000,"timestamp_ms":1784957861000,"timestamp_seconds":1784957861,"priority":1,"record_length":96,"hex_timestamp":"0000019f97c77c88"} 
[2026-07-25 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-07-25 11: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-07-25 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 11:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 11:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949211136001,"66":28137,"197":206,"79":46848,"24":13,"16":357612514801876992,"45":-8095994360358977536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-07-25 11:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949211136001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:11:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 11:11:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357612514801876992,"km_value":357612514801877.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8095994360358977536,"description":"Unknown IO ID 45"} 
[2026-07-25 11:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949211136001,"power":28137,"unknown_197":206,"unknown_79":46848,"ignition":13,"odometer":null,"unknown_45":-8095994360358977536}} 
[2026-07-25 11:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":143387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:11:13] local.INFO: GPS data processed {"connection_id":143387,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:11:13] local.INFO: Acknowledgment sent {"connection_id":143387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:11:59] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:11:59] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:11:59] local.INFO: IMEI packet received {"connection_id":140978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":140978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:12:01] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:01] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:01] local.INFO: IMEI packet received {"connection_id":140978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":140978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:12:06] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:06] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:06] local.INFO: IMEI packet received {"connection_id":140978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":140978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:12:07] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ca2c08012d903d80060e5c680015009d2d..."} 
[2026-07-25 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ca2c08012d903d80060e5c680015009d2d..."} 
[2026-07-25 11:12:07] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ca2c08012d903d80060e5c680015009d2d..."} 
[2026-07-25 11:12:07] local.INFO: Packet analysis {"connection_id":140978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:12:07] local.INFO: Extracted packet for processing {"connection_id":140978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:12:07] local.INFO: GPS Element Parsed {"raw_longitude":764427648,"raw_latitude":101604456,"longitude_deg":76.4427648,"latitude_deg":10.1604456,"altitude":21,"angle":157,"satellites":45,"speed":23,"hex_longitude":"2d903d80","hex_latitude":"060e5c68","is_valid_coordinates":true} 
[2026-07-25 11:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949252096001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357615813336760320,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8057080444841981952,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784958037000,"timestamp_ms":1784958037000,"timestamp_seconds":1784958037,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ca2c08"} 
[2026-07-25 11:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 11:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949252096001,"66":27865,"195":206,"79":46848,"24":23,"16":357615813336760320,"45":-8057080444841981952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,79,24,16,45]} 
[2026-07-25 11:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949252096001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:12:07] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 11:12:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357615813336760320,"km_value":357615813336760.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8057080444841981952,"description":"Unknown IO ID 45"} 
[2026-07-25 11:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949252096001,"power":27865,"unknown_195":206,"unknown_79":46848,"ignition":23,"odometer":null,"unknown_45":-8057080444841981952}} 
[2026-07-25 11:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":140978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:12:07] local.INFO: GPS data processed {"connection_id":140978,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:12:07] local.INFO: Acknowledgment sent {"connection_id":140978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:12:08] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ca3ba8012d904080060e52b8001500a82d..."} 
[2026-07-25 11:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ca3ba8012d904080060e52b8001500a82d..."} 
[2026-07-25 11:12:08] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ca3ba8012d904080060e52b8001500a82d..."} 
[2026-07-25 11:12:08] local.INFO: Packet analysis {"connection_id":140978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:12:08] local.INFO: Extracted packet for processing {"connection_id":140978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:12:08] local.INFO: GPS Element Parsed {"raw_longitude":764428416,"raw_latitude":101601976,"longitude_deg":76.4428416,"latitude_deg":10.1601976,"altitude":21,"angle":168,"satellites":45,"speed":25,"hex_longitude":"2d904080","hex_latitude":"060e52b8","is_valid_coordinates":true} 
[2026-07-25 11:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949257472001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357615937890811904,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8053139795169482752,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784958041000,"timestamp_ms":1784958041000,"timestamp_seconds":1784958041,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ca3ba8"} 
[2026-07-25 11:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 11:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949257472001,"66":27984,"175":206,"79":46848,"24":25,"16":357615937890811904,"45":-8053139795169482752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,79,24,16,45]} 
[2026-07-25 11:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949257472001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:12:08] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 11:12:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357615937890811904,"km_value":357615937890811.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8053139795169482752,"description":"Unknown IO ID 45"} 
[2026-07-25 11:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949257472001,"power":27984,"unknown_175":206,"unknown_79":46848,"ignition":25,"odometer":null,"unknown_45":-8053139795169482752}} 
[2026-07-25 11:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":140978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:12:08] local.INFO: GPS data processed {"connection_id":140978,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:12:08] local.INFO: Acknowledgment sent {"connection_id":140978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:12:40] local.INFO: TCP Data received {"connection_id":140978,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ca8db0012d9044c0060e33200018009f2d..."} 
[2026-07-25 11:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ca8db0012d9044c0060e33200018009f2d..."} 
[2026-07-25 11:12:40] local.INFO: Processing buffer {"connection_id":140978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ca8db0012d9044c0060e33200018009f2d..."} 
[2026-07-25 11:12:40] local.INFO: Packet analysis {"connection_id":140978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:12:40] local.INFO: Extracted packet for processing {"connection_id":140978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:12:40] local.INFO: GPS Element Parsed {"raw_longitude":764429504,"raw_latitude":101593888,"longitude_deg":76.4429504,"latitude_deg":10.1593888,"altitude":24,"angle":159,"satellites":45,"speed":23,"hex_longitude":"2d9044c0","hex_latitude":"060e3320","is_valid_coordinates":true} 
[2026-07-25 11:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949258496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357616337322770432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8052295370239985664,"note":"Value kept but may cause issues"} 
[2026-07-25 11:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784958062000,"timestamp_ms":1784958062000,"timestamp_seconds":1784958062,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ca8db0"} 
[2026-07-25 11:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 11:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":140978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":140978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949258496001,"66":27930,"175":206,"79":46848,"24":23,"16":357616337322770432,"45":-8052295370239985664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,79,24,16,45]} 
[2026-07-25 11:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949258496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:12:40] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 11:12:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357616337322770432,"km_value":357616337322770.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8052295370239985664,"description":"Unknown IO ID 45"} 
[2026-07-25 11:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949258496001,"power":27930,"unknown_175":206,"unknown_79":46848,"ignition":23,"odometer":null,"unknown_45":-8052295370239985664}} 
[2026-07-25 11:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":140978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:12:40] local.INFO: GPS data processed {"connection_id":140978,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:12:40] local.INFO: Acknowledgment sent {"connection_id":140978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:12:56] local.INFO: TCP Data received {"connection_id":142031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:56] local.INFO: Processing buffer {"connection_id":142031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:12:56] local.INFO: IMEI packet received {"connection_id":142031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":142031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:13:00] local.INFO: TCP Data received {"connection_id":142031,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:13:00] local.INFO: Processing buffer {"connection_id":142031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:13:00] local.INFO: IMEI packet received {"connection_id":142031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":142031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:13:01] local.INFO: TCP Data received {"connection_id":142031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97caa138012d904a80060e27f8001600922d..."} 
[2026-07-25 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97caa138012d904a80060e27f8001600922d..."} 
[2026-07-25 11:13:01] local.INFO: Processing buffer {"connection_id":142031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97caa138012d904a80060e27f8001600922d..."} 
[2026-07-25 11:13:01] local.INFO: Packet analysis {"connection_id":142031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:13:01] local.INFO: Extracted packet for processing {"connection_id":142031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":764430976,"raw_latitude":101591032,"longitude_deg":76.4430976,"latitude_deg":10.1591032,"altitude":22,"angle":146,"satellites":45,"speed":28,"hex_longitude":"2d904a80","hex_latitude":"060e27f8","is_valid_coordinates":true} 
[2026-07-25 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949263872001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357616491941593088,"note":"Value kept but may cause issues"} 
[2026-07-25 11:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8051099101591035904,"note":"Value kept but may cause issues"} 
[2026-07-25 11:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784958067000,"timestamp_ms":1784958067000,"timestamp_seconds":1784958067,"priority":1,"record_length":96,"hex_timestamp":"0000019f97caa138"} 
[2026-07-25 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949263872001,"66":27919,"177":206,"79":46848,"24":28,"16":357616491941593088,"45":-8051099101591035904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-25 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949263872001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:13:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 11:13:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357616491941593088,"km_value":357616491941593.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8051099101591035904,"description":"Unknown IO ID 45"} 
[2026-07-25 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949263872001,"power":27919,"unknown_177":206,"unknown_79":46848,"ignition":28,"odometer":null,"unknown_45":-8051099101591035904}} 
[2026-07-25 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":142031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:13:01] local.INFO: GPS data processed {"connection_id":142031,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:13:01] local.INFO: Acknowledgment sent {"connection_id":142031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:13:32] local.INFO: TCP Data received {"connection_id":142031,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97cab0d8012d905240060e1f60001500852d..."} 
[2026-07-25 11:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97cab0d8012d905240060e1f60001500852d..."} 
[2026-07-25 11:13:32] local.INFO: Processing buffer {"connection_id":142031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97cab0d8012d905240060e1f60001500852d..."} 
[2026-07-25 11:13:32] local.INFO: Packet analysis {"connection_id":142031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:13:32] local.INFO: Extracted packet for processing {"connection_id":142031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ca"} 
[2026-07-25 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":764432960,"raw_latitude":101588832,"longitude_deg":76.443296,"latitude_deg":10.1588832,"altitude":21,"angle":133,"satellites":45,"speed":32,"hex_longitude":"2d905240","hex_latitude":"060e1f60","is_valid_coordinates":true} 
[2026-07-25 11:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949265152001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357616637970481152,"note":"Value kept but may cause issues"} 
[2026-07-25 11:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8049480620475680768,"note":"Value kept but may cause issues"} 
[2026-07-25 11:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784958071000,"timestamp_ms":1784958071000,"timestamp_seconds":1784958071,"priority":1,"record_length":96,"hex_timestamp":"0000019f97cab0d8"} 
[2026-07-25 11:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949265152001,"66":27908,"177":206,"79":46848,"24":32,"16":357616637970481152,"45":-8049480620475680768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,79,24,16,45]} 
[2026-07-25 11:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949265152001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:13:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 11:13:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357616637970481152,"km_value":357616637970481.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8049480620475680768,"description":"Unknown IO ID 45"} 
[2026-07-25 11:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949265152001,"power":27908,"unknown_177":206,"unknown_79":46848,"ignition":32,"odometer":null,"unknown_45":-8049480620475680768}} 
[2026-07-25 11:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":142031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:13:32] local.INFO: GPS data processed {"connection_id":142031,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:13:32] local.INFO: Acknowledgment sent {"connection_id":142031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:13:56] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:13:56] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:13:56] local.INFO: IMEI packet received {"connection_id":140979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":140979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:14:00] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:14:00] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:14:00] local.INFO: IMEI packet received {"connection_id":140979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":140979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:14:00] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97cc3f48012d918ac0060d11c8001400832d..."} 
[2026-07-25 11:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97cc3f48012d918ac0060d11c8001400832d..."} 
[2026-07-25 11:14:00] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97cc3f48012d918ac0060d11c8001400832d..."} 
[2026-07-25 11:14:00] local.INFO: Packet analysis {"connection_id":140979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:14:00] local.INFO: Extracted packet for processing {"connection_id":140979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:14:00] local.INFO: GPS Element Parsed {"raw_longitude":764512960,"raw_latitude":101519816,"longitude_deg":76.451296,"latitude_deg":10.1519816,"altitude":20,"angle":131,"satellites":45,"speed":34,"hex_longitude":"2d918ac0","hex_latitude":"060d11c8","is_valid_coordinates":true} 
[2026-07-25 11:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949289472001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357621710326857728,"note":"Value kept but may cause issues"} 
[2026-07-25 11:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7967501033525364736,"note":"Value kept but may cause issues"} 
[2026-07-25 11:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784958173000,"timestamp_ms":1784958173000,"timestamp_seconds":1784958173,"priority":1,"record_length":96,"hex_timestamp":"0000019f97cc3f48"} 
[2026-07-25 11:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 11:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":140979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949289472001,"66":27974,"176":206,"79":46848,"24":34,"16":357621710326857728,"45":-7967501033525364736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-25 11:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949289472001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:14:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 11:14:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357621710326857728,"km_value":357621710326857.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7967501033525364736,"description":"Unknown IO ID 45"} 
[2026-07-25 11:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949289472001,"power":27974,"unknown_176":206,"unknown_79":46848,"ignition":34,"odometer":null,"unknown_45":-7967501033525364736}} 
[2026-07-25 11:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":140979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:14:00] local.INFO: GPS data processed {"connection_id":140979,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:14:00] local.INFO: Acknowledgment sent {"connection_id":140979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:14:31] local.INFO: TCP Data received {"connection_id":140979,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97cc6658012d91a580060cfb000014007e2b..."} 
[2026-07-25 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97cc6658012d91a580060cfb000014007e2b..."} 
[2026-07-25 11:14:31] local.INFO: Processing buffer {"connection_id":140979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97cc6658012d91a580060cfb000014007e2b..."} 
[2026-07-25 11:14:31] local.INFO: Packet analysis {"connection_id":140979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:14:31] local.INFO: Extracted packet for processing {"connection_id":140979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:14:31] local.INFO: GPS Element Parsed {"raw_longitude":764519808,"raw_latitude":101513984,"longitude_deg":76.4519808,"latitude_deg":10.1513984,"altitude":20,"angle":126,"satellites":43,"speed":37,"hex_longitude":"2d91a580","hex_latitude":"060cfb00","is_valid_coordinates":true} 
[2026-07-25 11:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949292288001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357622144118554624,"note":"Value kept but may cause issues"} 
[2026-07-25 11:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7959338259202324480,"note":"Value kept but may cause issues"} 
[2026-07-25 11:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784958183000,"timestamp_ms":1784958183000,"timestamp_seconds":1784958183,"priority":1,"record_length":96,"hex_timestamp":"0000019f97cc6658"} 
[2026-07-25 11:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 11:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":140979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":140979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949292288001,"66":27876,"176":206,"79":46848,"24":37,"16":357622144118554624,"45":-7959338259202324480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-25 11:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949292288001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:14:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 11:14:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357622144118554624,"km_value":357622144118554.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7959338259202324480,"description":"Unknown IO ID 45"} 
[2026-07-25 11:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949292288001,"power":27876,"unknown_176":206,"unknown_79":46848,"ignition":37,"odometer":null,"unknown_45":-7959338259202324480}} 
[2026-07-25 11:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":140979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:14:31] local.INFO: GPS data processed {"connection_id":140979,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:14:31] local.INFO: Acknowledgment sent {"connection_id":140979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:15:01] local.INFO: TCP Data received {"connection_id":142032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:15:01] local.INFO: Processing buffer {"connection_id":142032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:15:01] local.INFO: IMEI packet received {"connection_id":142032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":142032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:15:17] local.INFO: TCP Data received {"connection_id":142032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:15:17] local.INFO: Processing buffer {"connection_id":142032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:15:17] local.INFO: IMEI packet received {"connection_id":142032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":142032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:15:18] local.INFO: TCP Data received {"connection_id":142032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97cc8d68012d91c500060ce4f80012007c2d..."} 
[2026-07-25 11:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97cc8d68012d91c500060ce4f80012007c2d..."} 
[2026-07-25 11:15:18] local.INFO: Processing buffer {"connection_id":142032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97cc8d68012d91c500060ce4f80012007c2d..."} 
[2026-07-25 11:15:18] local.INFO: Packet analysis {"connection_id":142032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:15:18] local.INFO: Extracted packet for processing {"connection_id":142032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:15:18] local.INFO: GPS Element Parsed {"raw_longitude":764527872,"raw_latitude":101508344,"longitude_deg":76.4527872,"latitude_deg":10.1508344,"altitude":18,"angle":124,"satellites":45,"speed":41,"hex_longitude":"2d91c500","hex_latitude":"060ce4f8","is_valid_coordinates":true} 
[2026-07-25 11:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949294848001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357622616564957184,"note":"Value kept but may cause issues"} 
[2026-07-25 11:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7951808803576807424,"note":"Value kept but may cause issues"} 
[2026-07-25 11:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784958193000,"timestamp_ms":1784958193000,"timestamp_seconds":1784958193,"priority":1,"record_length":96,"hex_timestamp":"0000019f97cc8d68"} 
[2026-07-25 11:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 11:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949294848001,"66":27984,"176":206,"79":46848,"24":41,"16":357622616564957184,"45":-7951808803576807424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-25 11:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949294848001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357622616564957184,"km_value":357622616564957.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7951808803576807424,"description":"Unknown IO ID 45"} 
[2026-07-25 11:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949294848001,"power":27984,"unknown_176":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-7951808803576807424}} 
[2026-07-25 11:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":142032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:15:18] local.INFO: GPS data processed {"connection_id":142032,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:15:18] local.INFO: Acknowledgment sent {"connection_id":142032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:15:19] local.INFO: TCP Data received {"connection_id":142032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ccb090012d91e400060ccfa80011007c2c..."} 
[2026-07-25 11:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ccb090012d91e400060ccfa80011007c2c..."} 
[2026-07-25 11:15:19] local.INFO: Processing buffer {"connection_id":142032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ccb090012d91e400060ccfa80011007c2c..."} 
[2026-07-25 11:15:19] local.INFO: Packet analysis {"connection_id":142032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:15:19] local.INFO: Extracted packet for processing {"connection_id":142032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97cc"} 
[2026-07-25 11:15:19] local.INFO: GPS Element Parsed {"raw_longitude":764535808,"raw_latitude":101502888,"longitude_deg":76.4535808,"latitude_deg":10.1502888,"altitude":17,"angle":124,"satellites":44,"speed":43,"hex_longitude":"2d91e400","hex_latitude":"060ccfa8","is_valid_coordinates":true} 
[2026-07-25 11:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949297408001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357623080421425152,"note":"Value kept but may cause issues"} 
[2026-07-25 11:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7942942341811865600,"note":"Value kept but may cause issues"} 
[2026-07-25 11:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784958202000,"timestamp_ms":1784958202000,"timestamp_seconds":1784958202,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ccb090"} 
[2026-07-25 11:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 11:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949297408001,"66":27974,"176":206,"79":46848,"24":43,"16":357623080421425152,"45":-7942942341811865600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,79,24,16,45]} 
[2026-07-25 11:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949297408001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:15:19] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 11:15:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-07-25 11:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357623080421425152,"km_value":357623080421425.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7942942341811865600,"description":"Unknown IO ID 45"} 
[2026-07-25 11:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949297408001,"power":27974,"unknown_176":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-7942942341811865600}} 
[2026-07-25 11:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":142032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:15:19] local.INFO: GPS data processed {"connection_id":142032,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:15:19] local.INFO: Acknowledgment sent {"connection_id":142032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:16:01] local.INFO: TCP Data received {"connection_id":143388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:01] local.INFO: Processing buffer {"connection_id":143388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:01] local.INFO: IMEI packet received {"connection_id":143388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":143388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:16:02] local.INFO: TCP Data received {"connection_id":143388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:02] local.INFO: Processing buffer {"connection_id":143388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:02] local.INFO: IMEI packet received {"connection_id":143388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":143388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:16:05] local.INFO: TCP Data received {"connection_id":143388,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:05] local.INFO: Processing buffer {"connection_id":143388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:05] local.INFO: IMEI packet received {"connection_id":143388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":143388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:16:11] local.INFO: TCP Data received {"connection_id":143388,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ce0080012d930540060c07b00011009e2b..."} 
[2026-07-25 11:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ce0080012d930540060c07b00011009e2b..."} 
[2026-07-25 11:16:11] local.INFO: Processing buffer {"connection_id":143388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ce0080012d930540060c07b00011009e2b..."} 
[2026-07-25 11:16:11] local.INFO: Packet analysis {"connection_id":143388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ce"} 
[2026-07-25 11:16:11] local.INFO: Extracted packet for processing {"connection_id":143388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ce"} 
[2026-07-25 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":764609856,"raw_latitude":101451696,"longitude_deg":76.4609856,"latitude_deg":10.1451696,"altitude":17,"angle":158,"satellites":43,"speed":35,"hex_longitude":"2d930540","hex_latitude":"060c07b0","is_valid_coordinates":true} 
[2026-07-25 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949321216001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357627409748459520,"note":"Value kept but may cause issues"} 
[2026-07-25 11:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7853714774208675840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784958288000,"timestamp_ms":1784958288000,"timestamp_seconds":1784958288,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ce0080"} 
[2026-07-25 11:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-07-25 11:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949321216001,"66":27843,"224":206,"79":48640,"24":35,"16":357627409748459520,"45":-7853714774208675840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,79,24,16,45]} 
[2026-07-25 11:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949321216001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:16:11] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 11:16:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357627409748459520,"km_value":357627409748459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7853714774208675840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949321216001,"power":27843,"unknown_224":206,"unknown_79":48640,"ignition":35,"odometer":null,"unknown_45":-7853714774208675840}} 
[2026-07-25 11:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":143388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:16:11] local.INFO: GPS data processed {"connection_id":143388,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:16:11] local.INFO: Acknowledgment sent {"connection_id":143388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:16:56] local.INFO: TCP Data received {"connection_id":142033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:56] local.INFO: Processing buffer {"connection_id":142033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:16:56] local.INFO: IMEI packet received {"connection_id":142033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":142033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:17:00] local.INFO: TCP Data received {"connection_id":142033,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:17:00] local.INFO: Processing buffer {"connection_id":142033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:17:00] local.INFO: IMEI packet received {"connection_id":142033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:17:01] local.INFO: TCP Data received {"connection_id":142033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ce2790012d931000060be508001500a22c..."} 
[2026-07-25 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ce2790012d931000060be508001500a22c..."} 
[2026-07-25 11:17:01] local.INFO: Processing buffer {"connection_id":142033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ce2790012d931000060be508001500a22c..."} 
[2026-07-25 11:17:01] local.INFO: Packet analysis {"connection_id":142033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ce"} 
[2026-07-25 11:17:01] local.INFO: Extracted packet for processing {"connection_id":142033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ce"} 
[2026-07-25 11:17:01] local.INFO: GPS Element Parsed {"raw_longitude":764612608,"raw_latitude":101442824,"longitude_deg":76.4612608,"latitude_deg":10.1442824,"altitude":21,"angle":162,"satellites":44,"speed":37,"hex_longitude":"2d931000","hex_latitude":"060be508","is_valid_coordinates":true} 
[2026-07-25 11:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949321728001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357627860720025600,"note":"Value kept but may cause issues"} 
[2026-07-25 11:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7852799980534779904,"note":"Value kept but may cause issues"} 
[2026-07-25 11:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784958298000,"timestamp_ms":1784958298000,"timestamp_seconds":1784958298,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ce2790"} 
[2026-07-25 11:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 11:17: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-07-25 11:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949321728001,"66":27930,"224":206,"79":48640,"24":37,"16":357627860720025600,"45":-7852799980534779904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,79,24,16,45]} 
[2026-07-25 11:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949321728001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:17:01] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 11:17:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357627860720025600,"km_value":357627860720025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7852799980534779904,"description":"Unknown IO ID 45"} 
[2026-07-25 11:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949321728001,"power":27930,"unknown_224":206,"unknown_79":48640,"ignition":37,"odometer":null,"unknown_45":-7852799980534779904}} 
[2026-07-25 11:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":142033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:17:01] local.INFO: GPS data processed {"connection_id":142033,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:17:01] local.INFO: Acknowledgment sent {"connection_id":142033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:17:32] local.INFO: TCP Data received {"connection_id":142033,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ce4ab8012d931bc0060bc3d00016009e2d..."} 
[2026-07-25 11:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ce4ab8012d931bc0060bc3d00016009e2d..."} 
[2026-07-25 11:17:32] local.INFO: Processing buffer {"connection_id":142033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ce4ab8012d931bc0060bc3d00016009e2d..."} 
[2026-07-25 11:17:32] local.INFO: Packet analysis {"connection_id":142033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ce"} 
[2026-07-25 11:17:32] local.INFO: Extracted packet for processing {"connection_id":142033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ce"} 
[2026-07-25 11:17:32] local.INFO: GPS Element Parsed {"raw_longitude":764615616,"raw_latitude":101434320,"longitude_deg":76.4615616,"latitude_deg":10.143432,"altitude":22,"angle":158,"satellites":45,"speed":42,"hex_longitude":"2d931bc0","hex_latitude":"060bc3d0","is_valid_coordinates":true} 
[2026-07-25 11:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949324288001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357628298806689792,"note":"Value kept but may cause issues"} 
[2026-07-25 11:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7849774124537411584,"note":"Value kept but may cause issues"} 
[2026-07-25 11:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784958307000,"timestamp_ms":1784958307000,"timestamp_seconds":1784958307,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ce4ab8"} 
[2026-07-25 11:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949324288001,"66":27908,"224":206,"79":48640,"24":42,"16":357628298806689792,"45":-7849774124537411584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,79,24,16,45]} 
[2026-07-25 11:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949324288001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:17:32] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 11:17:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357628298806689792,"km_value":357628298806689.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7849774124537411584,"description":"Unknown IO ID 45"} 
[2026-07-25 11:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949324288001,"power":27908,"unknown_224":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7849774124537411584}} 
[2026-07-25 11:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":142033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:17:32] local.INFO: GPS data processed {"connection_id":142033,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:17:32] local.INFO: Acknowledgment sent {"connection_id":142033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:17:56] local.INFO: TCP Data received {"connection_id":143389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:17:56] local.INFO: Processing buffer {"connection_id":143389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:17:56] local.INFO: IMEI packet received {"connection_id":143389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":143389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:18:00] local.INFO: TCP Data received {"connection_id":143389,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:18:00] local.INFO: Processing buffer {"connection_id":143389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:18:00] local.INFO: IMEI packet received {"connection_id":143389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":143389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:18:01] local.INFO: TCP Data received {"connection_id":143389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97cfc1b8012d940bc0060a98100010008f2c..."} 
[2026-07-25 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97cfc1b8012d940bc0060a98100010008f2c..."} 
[2026-07-25 11:18:01] local.INFO: Processing buffer {"connection_id":143389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97cfc1b8012d940bc0060a98100010008f2c..."} 
[2026-07-25 11:18:01] local.INFO: Packet analysis {"connection_id":143389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97cf"} 
[2026-07-25 11:18:01] local.INFO: Extracted packet for processing {"connection_id":143389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97cf"} 
[2026-07-25 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":764677056,"raw_latitude":101357584,"longitude_deg":76.4677056,"latitude_deg":10.1357584,"altitude":16,"angle":143,"satellites":44,"speed":13,"hex_longitude":"2d940bc0","hex_latitude":"060a9810","is_valid_coordinates":true} 
[2026-07-25 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949348608001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357633113465028608,"note":"Value kept but may cause issues"} 
[2026-07-25 11:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7782431236380499968,"note":"Value kept but may cause issues"} 
[2026-07-25 11:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784958403000,"timestamp_ms":1784958403000,"timestamp_seconds":1784958403,"priority":1,"record_length":96,"hex_timestamp":"0000019f97cfc1b8"} 
[2026-07-25 11:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949348608001,"66":27930,"146":206,"79":48640,"24":13,"16":357633113465028608,"45":-7782431236380499968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-07-25 11:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949348608001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:18:01] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 11:18:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357633113465028608,"km_value":357633113465028.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7782431236380499968,"description":"Unknown IO ID 45"} 
[2026-07-25 11:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949348608001,"power":27930,"unknown_146":206,"unknown_79":48640,"ignition":13,"odometer":null,"unknown_45":-7782431236380499968}} 
[2026-07-25 11:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":143389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:18:01] local.INFO: GPS data processed {"connection_id":143389,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:18:01] local.INFO: Acknowledgment sent {"connection_id":143389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:18:32] local.INFO: TCP Data received {"connection_id":143389,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d00420012d942000060a78f8001100972d..."} 
[2026-07-25 11:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d00420012d942000060a78f8001100972d..."} 
[2026-07-25 11:18:32] local.INFO: Processing buffer {"connection_id":143389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d00420012d942000060a78f8001100972d..."} 
[2026-07-25 11:18:32] local.INFO: Packet analysis {"connection_id":143389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d0"} 
[2026-07-25 11:18:32] local.INFO: Extracted packet for processing {"connection_id":143389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d0"} 
[2026-07-25 11:18:32] local.INFO: GPS Element Parsed {"raw_longitude":764682240,"raw_latitude":101349624,"longitude_deg":76.468224,"latitude_deg":10.1349624,"altitude":17,"angle":151,"satellites":45,"speed":27,"hex_longitude":"2d942000","hex_latitude":"060a78f8","is_valid_coordinates":true} 
[2026-07-25 11:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949351168001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357633573026529280,"note":"Value kept but may cause issues"} 
[2026-07-25 11:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7778912799172325376,"note":"Value kept but may cause issues"} 
[2026-07-25 11:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784958420000,"timestamp_ms":1784958420000,"timestamp_seconds":1784958420,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d00420"} 
[2026-07-25 11:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949351168001,"66":27908,"146":206,"79":48640,"24":27,"16":357633573026529280,"45":-7778912799172325376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-07-25 11:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949351168001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:18:32] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 11:18:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357633573026529280,"km_value":357633573026529.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7778912799172325376,"description":"Unknown IO ID 45"} 
[2026-07-25 11:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949351168001,"power":27908,"unknown_146":206,"unknown_79":48640,"ignition":27,"odometer":null,"unknown_45":-7778912799172325376}} 
[2026-07-25 11:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":143389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:18:32] local.INFO: GPS data processed {"connection_id":143389,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:18:32] local.INFO: Acknowledgment sent {"connection_id":143389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:19:05] local.INFO: TCP Data received {"connection_id":143390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:05] local.INFO: Processing buffer {"connection_id":143390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:05] local.INFO: IMEI packet received {"connection_id":143390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":143390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:19:10] local.INFO: TCP Data received {"connection_id":141039,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:19:10] local.INFO: Processing buffer {"connection_id":141039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:19:10] local.INFO: IMEI packet received {"connection_id":141039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":141039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:19:11] local.INFO: TCP Data received {"connection_id":143390,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:11] local.INFO: Processing buffer {"connection_id":143390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:11] local.INFO: IMEI packet received {"connection_id":143390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":143390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:19:12] local.INFO: TCP Data received {"connection_id":143390,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d03ad0012d943240060a58d0001200972c..."} 
[2026-07-25 11:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d03ad0012d943240060a58d0001200972c..."} 
[2026-07-25 11:19:12] local.INFO: Processing buffer {"connection_id":143390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d03ad0012d943240060a58d0001200972c..."} 
[2026-07-25 11:19:12] local.INFO: Packet analysis {"connection_id":143390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d0"} 
[2026-07-25 11:19:12] local.INFO: Extracted packet for processing {"connection_id":143390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d0"} 
[2026-07-25 11:19:12] local.INFO: GPS Element Parsed {"raw_longitude":764686912,"raw_latitude":101341392,"longitude_deg":76.4686912,"latitude_deg":10.1341392,"altitude":18,"angle":151,"satellites":44,"speed":32,"hex_longitude":"2d943240","hex_latitude":"060a58d0","is_valid_coordinates":true} 
[2026-07-25 11:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949355520001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357634032588029952,"note":"Value kept but may cause issues"} 
[2026-07-25 11:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7773212930895972352,"note":"Value kept but may cause issues"} 
[2026-07-25 11:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784958434000,"timestamp_ms":1784958434000,"timestamp_seconds":1784958434,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d03ad0"} 
[2026-07-25 11:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949355520001,"66":27974,"146":206,"79":48640,"24":32,"16":357634032588029952,"45":-7773212930895972352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,79,24,16,45]} 
[2026-07-25 11:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949355520001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:19:12] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-25 11:19:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357634032588029952,"km_value":357634032588029.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7773212930895972352,"description":"Unknown IO ID 45"} 
[2026-07-25 11:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949355520001,"power":27974,"unknown_146":206,"unknown_79":48640,"ignition":32,"odometer":null,"unknown_45":-7773212930895972352}} 
[2026-07-25 11:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":143390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:19:12] local.INFO: GPS data processed {"connection_id":143390,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:19:12] local.INFO: Acknowledgment sent {"connection_id":143390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:19:56] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:56] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:19:56] local.INFO: IMEI packet received {"connection_id":141040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":141040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:20:01] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:01] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:01] local.INFO: IMEI packet received {"connection_id":141040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":141040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:20:02] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d1c170012d94d94006094ea00017007f2c..."} 
[2026-07-25 11:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d1c170012d94d94006094ea00017007f2c..."} 
[2026-07-25 11:20:02] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d1c170012d94d94006094ea00017007f2c..."} 
[2026-07-25 11:20:02] local.INFO: Packet analysis {"connection_id":141040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d1"} 
[2026-07-25 11:20:02] local.INFO: Extracted packet for processing {"connection_id":141040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d1"} 
[2026-07-25 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":764729664,"raw_latitude":101273248,"longitude_deg":76.4729664,"latitude_deg":10.1273248,"altitude":23,"angle":127,"satellites":44,"speed":39,"hex_longitude":"2d94d940","hex_latitude":"06094ea0","is_valid_coordinates":true} 
[2026-07-25 11:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949382912001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357638031202582528,"note":"Value kept but may cause issues"} 
[2026-07-25 11:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7727895459664439296,"note":"Value kept but may cause issues"} 
[2026-07-25 11:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784958534000,"timestamp_ms":1784958534000,"timestamp_seconds":1784958534,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d1c170"} 
[2026-07-25 11:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949382912001,"66":27908,"243":206,"79":48640,"24":39,"16":357638031202582528,"45":-7727895459664439296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 11:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949382912001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:20:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 11:20:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357638031202582528,"km_value":357638031202582.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7727895459664439296,"description":"Unknown IO ID 45"} 
[2026-07-25 11:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949382912001,"power":27908,"unknown_243":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7727895459664439296}} 
[2026-07-25 11:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":141040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:20:02] local.INFO: GPS data processed {"connection_id":141040,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:20:02] local.INFO: Acknowledgment sent {"connection_id":141040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:20:33] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d1c940012d94dec0060948f0001700932c..."} 
[2026-07-25 11:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d1c940012d94dec0060948f0001700932c..."} 
[2026-07-25 11:20:33] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d1c940012d94dec0060948f0001700932c..."} 
[2026-07-25 11:20:33] local.INFO: Packet analysis {"connection_id":141040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d1"} 
[2026-07-25 11:20:33] local.INFO: Extracted packet for processing {"connection_id":141040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d1"} 
[2026-07-25 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":764731072,"raw_latitude":101271792,"longitude_deg":76.4731072,"latitude_deg":10.1271792,"altitude":23,"angle":147,"satellites":44,"speed":38,"hex_longitude":"2d94dec0","hex_latitude":"060948f0","is_valid_coordinates":true} 
[2026-07-25 11:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949384704001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357638129986830336,"note":"Value kept but may cause issues"} 
[2026-07-25 11:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7721069691479875584,"note":"Value kept but may cause issues"} 
[2026-07-25 11:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784958536000,"timestamp_ms":1784958536000,"timestamp_seconds":1784958536,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d1c940"} 
[2026-07-25 11:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949384704001,"66":27876,"243":206,"79":48640,"24":38,"16":357638129986830336,"45":-7721069691479875584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 11:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949384704001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:20:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 11:20:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357638129986830336,"km_value":357638129986830.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7721069691479875584,"description":"Unknown IO ID 45"} 
[2026-07-25 11:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949384704001,"power":27876,"unknown_243":206,"unknown_79":48640,"ignition":38,"odometer":null,"unknown_45":-7721069691479875584}} 
[2026-07-25 11:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":141040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:20:33] local.INFO: GPS data processed {"connection_id":141040,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:20:33] local.INFO: Acknowledgment sent {"connection_id":141040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:20:55] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:55] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:55] local.INFO: IMEI packet received {"connection_id":140980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":140980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:20:57] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:57] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:20:57] local.INFO: IMEI packet received {"connection_id":140980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":140980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:21:01] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:21:01] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:21:01] local.INFO: IMEI packet received {"connection_id":140980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":140980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:21:02] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d1d110012d94e1c006094228001700a12a..."} 
[2026-07-25 11:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d1d110012d94e1c006094228001700a12a..."} 
[2026-07-25 11:21:02] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d1d110012d94e1c006094228001700a12a..."} 
[2026-07-25 11:21:02] local.INFO: Packet analysis {"connection_id":140980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d1"} 
[2026-07-25 11:21:02] local.INFO: Extracted packet for processing {"connection_id":140980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d1"} 
[2026-07-25 11:21:02] local.INFO: GPS Element Parsed {"raw_longitude":764731840,"raw_latitude":101270056,"longitude_deg":76.473184,"latitude_deg":10.1270056,"altitude":23,"angle":161,"satellites":42,"speed":37,"hex_longitude":"2d94e1c0","hex_latitude":"06094228","is_valid_coordinates":true} 
[2026-07-25 11:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949385216001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357638220181143552,"note":"Value kept but may cause issues"} 
[2026-07-25 11:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7719521579108339712,"note":"Value kept but may cause issues"} 
[2026-07-25 11:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784958538000,"timestamp_ms":1784958538000,"timestamp_seconds":1784958538,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d1d110"} 
[2026-07-25 11:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 11:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949385216001,"66":27571,"243":206,"79":48640,"24":37,"16":357638220181143552,"45":-7719521579108339712},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,79,24,16,45]} 
[2026-07-25 11:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949385216001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:21:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-25 11:21:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357638220181143552,"km_value":357638220181143.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7719521579108339712,"description":"Unknown IO ID 45"} 
[2026-07-25 11:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949385216001,"power":27571,"unknown_243":206,"unknown_79":48640,"ignition":37,"odometer":null,"unknown_45":-7719521579108339712}} 
[2026-07-25 11:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":140980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:21:02] local.INFO: GPS data processed {"connection_id":140980,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:21:02] local.INFO: Acknowledgment sent {"connection_id":140980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:21:33] local.INFO: TCP Data received {"connection_id":140980,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d30d78012d95028006083bc8001900962d..."} 
[2026-07-25 11:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d30d78012d95028006083bc8001900962d..."} 
[2026-07-25 11:21:33] local.INFO: Processing buffer {"connection_id":140980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d30d78012d95028006083bc8001900962d..."} 
[2026-07-25 11:21:33] local.INFO: Packet analysis {"connection_id":140980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d3"} 
[2026-07-25 11:21:33] local.INFO: Extracted packet for processing {"connection_id":140980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d3"} 
[2026-07-25 11:21:33] local.INFO: GPS Element Parsed {"raw_longitude":764740224,"raw_latitude":101202888,"longitude_deg":76.4740224,"latitude_deg":10.1202888,"altitude":25,"angle":150,"satellites":45,"speed":39,"hex_longitude":"2d950280","hex_latitude":"06083bc8","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949403904001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357641621795241984,"note":"Value kept but may cause issues"} 
[2026-07-25 11:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7714666135775533056,"note":"Value kept but may cause issues"} 
[2026-07-25 11:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784958619000,"timestamp_ms":1784958619000,"timestamp_seconds":1784958619,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d30d78"} 
[2026-07-25 11:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949403904001,"66":27843,"36":206,"79":48640,"24":39,"16":357641621795241984,"45":-7714666135775533056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-25 11:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949403904001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:21:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 11:21:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357641621795241984,"km_value":357641621795242.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7714666135775533056,"description":"Unknown IO ID 45"} 
[2026-07-25 11:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949403904001,"power":27843,"unknown_36":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7714666135775533056}} 
[2026-07-25 11:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":140980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:21:33] local.INFO: GPS data processed {"connection_id":140980,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:21:33] local.INFO: Acknowledgment sent {"connection_id":140980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:22:31] local.INFO: TCP Data received {"connection_id":142034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:22:31] local.INFO: Processing buffer {"connection_id":142034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:22:31] local.INFO: IMEI packet received {"connection_id":142034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":142034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:22:36] local.INFO: TCP Data received {"connection_id":142034,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:22:36] local.INFO: Processing buffer {"connection_id":142034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:22:36] local.INFO: IMEI packet received {"connection_id":142034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":142034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:22:38] local.INFO: TCP Data received {"connection_id":142034,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d33488012d9514c006081ce8001a00952d..."} 
[2026-07-25 11:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d33488012d9514c006081ce8001a00952d..."} 
[2026-07-25 11:22:38] local.INFO: Processing buffer {"connection_id":142034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d33488012d9514c006081ce8001a00952d..."} 
[2026-07-25 11:22:38] local.INFO: Packet analysis {"connection_id":142034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d3"} 
[2026-07-25 11:22:38] local.INFO: Extracted packet for processing {"connection_id":142034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d3"} 
[2026-07-25 11:22:38] local.INFO: GPS Element Parsed {"raw_longitude":764744896,"raw_latitude":101194984,"longitude_deg":76.4744896,"latitude_deg":10.1194984,"altitude":26,"angle":149,"satellites":45,"speed":32,"hex_longitude":"2d9514c0","hex_latitude":"06081ce8","is_valid_coordinates":true} 
[2026-07-25 11:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949406464001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357642064176873472,"note":"Value kept but may cause issues"} 
[2026-07-25 11:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7709458848708573184,"note":"Value kept but may cause issues"} 
[2026-07-25 11:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784958629000,"timestamp_ms":1784958629000,"timestamp_seconds":1784958629,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d33488"} 
[2026-07-25 11:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 11:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949406464001,"66":27789,"36":206,"79":48640,"24":32,"16":357642064176873472,"45":-7709458848708573184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-25 11:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949406464001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:22:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 11:22:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357642064176873472,"km_value":357642064176873.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7709458848708573184,"description":"Unknown IO ID 45"} 
[2026-07-25 11:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949406464001,"power":27789,"unknown_36":206,"unknown_79":48640,"ignition":32,"odometer":null,"unknown_45":-7709458848708573184}} 
[2026-07-25 11:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":142034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:22:38] local.INFO: GPS data processed {"connection_id":142034,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:22:38] local.INFO: Acknowledgment sent {"connection_id":142034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:23:01] local.INFO: TCP Data received {"connection_id":143391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:01] local.INFO: Processing buffer {"connection_id":143391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:01] local.INFO: IMEI packet received {"connection_id":143391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":143391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:23:05] local.INFO: TCP Data received {"connection_id":143391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:05] local.INFO: Processing buffer {"connection_id":143391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:05] local.INFO: IMEI packet received {"connection_id":143391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":143391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:23:06] local.INFO: TCP Data received {"connection_id":143391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:06] local.INFO: Processing buffer {"connection_id":143391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:23:06] local.INFO: IMEI packet received {"connection_id":143391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":143391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:23:09] local.INFO: TCP Data received {"connection_id":143391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d4c2f8012d9553000607c4780023001b2d..."} 
[2026-07-25 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d4c2f8012d9553000607c4780023001b2d..."} 
[2026-07-25 11:23:09] local.INFO: Processing buffer {"connection_id":143391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d4c2f8012d9553000607c4780023001b2d..."} 
[2026-07-25 11:23:09] local.INFO: Packet analysis {"connection_id":143391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d4"} 
[2026-07-25 11:23:09] local.INFO: Extracted packet for processing {"connection_id":143391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d4"} 
[2026-07-25 11:23:09] local.INFO: GPS Element Parsed {"raw_longitude":764760832,"raw_latitude":101172344,"longitude_deg":76.4760832,"latitude_deg":10.1172344,"altitude":35,"angle":27,"satellites":45,"speed":13,"hex_longitude":"2d955300","hex_latitude":"0607c478","is_valid_coordinates":true} 
[2026-07-25 11:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949434880001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357643468631179264,"note":"Value kept but may cause issues"} 
[2026-07-25 11:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7687011219323791360,"note":"Value kept but may cause issues"} 
[2026-07-25 11:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784958731000,"timestamp_ms":1784958731000,"timestamp_seconds":1784958731,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d4c2f8"} 
[2026-07-25 11:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949434880001,"66":27908,"36":206,"79":48640,"24":13,"16":357643468631179264,"45":-7687011219323791360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-25 11:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949434880001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:23:09] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 11:23:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357643468631179264,"km_value":357643468631179.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7687011219323791360,"description":"Unknown IO ID 45"} 
[2026-07-25 11:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949434880001,"power":27908,"unknown_36":206,"unknown_79":48640,"ignition":13,"odometer":null,"unknown_45":-7687011219323791360}} 
[2026-07-25 11:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":143391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:23:09] local.INFO: GPS data processed {"connection_id":143391,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:23:09] local.INFO: Acknowledgment sent {"connection_id":143391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:23:10] local.INFO: TCP Data received {"connection_id":143391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d4c6e0012d9553800607c5d00023000b2c..."} 
[2026-07-25 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d4c6e0012d9553800607c5d00023000b2c..."} 
[2026-07-25 11:23:10] local.INFO: Processing buffer {"connection_id":143391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d4c6e0012d9553800607c5d00023000b2c..."} 
[2026-07-25 11:23:10] local.INFO: Packet analysis {"connection_id":143391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d4"} 
[2026-07-25 11:23:10] local.INFO: Extracted packet for processing {"connection_id":143391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d4"} 
[2026-07-25 11:23:10] local.INFO: GPS Element Parsed {"raw_longitude":764760960,"raw_latitude":101172688,"longitude_deg":76.476096,"latitude_deg":10.1172688,"altitude":35,"angle":11,"satellites":44,"speed":13,"hex_longitude":"2d955380","hex_latitude":"0607c5d0","is_valid_coordinates":true} 
[2026-07-25 11:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949435136001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357643490106015744,"note":"Value kept but may cause issues"} 
[2026-07-25 11:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686800113091184640,"note":"Value kept but may cause issues"} 
[2026-07-25 11:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784958732000,"timestamp_ms":1784958732000,"timestamp_seconds":1784958732,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d4c6e0"} 
[2026-07-25 11:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:23: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-07-25 11:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949435136001,"66":27908,"36":206,"79":48640,"24":13,"16":357643490106015744,"45":-7686800113091184640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,79,24,16,45]} 
[2026-07-25 11:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949435136001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:23:10] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 11:23:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357643490106015744,"km_value":357643490106015.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686800113091184640,"description":"Unknown IO ID 45"} 
[2026-07-25 11:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949435136001,"power":27908,"unknown_36":206,"unknown_79":48640,"ignition":13,"odometer":null,"unknown_45":-7686800113091184640}} 
[2026-07-25 11:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":143391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:23:10] local.INFO: GPS data processed {"connection_id":143391,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:23:10] local.INFO: Acknowledgment sent {"connection_id":143391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:24:01] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:01] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:01] local.INFO: IMEI packet received {"connection_id":140981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":140981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:24:05] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:05] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:05] local.INFO: IMEI packet received {"connection_id":140981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":140981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:24:07] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d50178012d9559c00607e598001900252c..."} 
[2026-07-25 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d50178012d9559c00607e598001900252c..."} 
[2026-07-25 11:24:07] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d50178012d9559c00607e598001900252c..."} 
[2026-07-25 11:24:07] local.INFO: Packet analysis {"connection_id":140981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d5"} 
[2026-07-25 11:24:07] local.INFO: Extracted packet for processing {"connection_id":140981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d5"} 
[2026-07-25 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":764762560,"raw_latitude":101180824,"longitude_deg":76.476256,"latitude_deg":10.1180824,"altitude":25,"angle":37,"satellites":44,"speed":16,"hex_longitude":"2d9559c0","hex_latitude":"0607e598","is_valid_coordinates":true} 
[2026-07-25 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949435392001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357643893832941568,"note":"Value kept but may cause issues"} 
[2026-07-25 11:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7686659375602741248,"note":"Value kept but may cause issues"} 
[2026-07-25 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784958747000,"timestamp_ms":1784958747000,"timestamp_seconds":1784958747,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d50178"} 
[2026-07-25 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949435392001,"66":27908,"34":206,"79":48640,"24":16,"16":357643893832941568,"45":-7686659375602741248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-07-25 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949435392001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:24:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 11:24:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357643893832941568,"km_value":357643893832941.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7686659375602741248,"description":"Unknown IO ID 45"} 
[2026-07-25 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949435392001,"power":27908,"unknown_34":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7686659375602741248}} 
[2026-07-25 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":140981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:24:07] local.INFO: GPS data processed {"connection_id":140981,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:24:07] local.INFO: Acknowledgment sent {"connection_id":140981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:24:39] local.INFO: TCP Data received {"connection_id":140981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d50560012d955b000607e6b0001900342c..."} 
[2026-07-25 11:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d50560012d955b000607e6b0001900342c..."} 
[2026-07-25 11:24:39] local.INFO: Processing buffer {"connection_id":140981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d50560012d955b000607e6b0001900342c..."} 
[2026-07-25 11:24:39] local.INFO: Packet analysis {"connection_id":140981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d5"} 
[2026-07-25 11:24:39] local.INFO: Extracted packet for processing {"connection_id":140981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d5"} 
[2026-07-25 11:24:39] local.INFO: GPS Element Parsed {"raw_longitude":764762880,"raw_latitude":101181104,"longitude_deg":76.476288,"latitude_deg":10.1181104,"altitude":25,"angle":52,"satellites":44,"speed":15,"hex_longitude":"2d955b00","hex_latitude":"0607e6b0","is_valid_coordinates":true} 
[2026-07-25 11:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949439232001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357643911012810752,"note":"Value kept but may cause issues"} 
[2026-07-25 11:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7684900156996216832,"note":"Value kept but may cause issues"} 
[2026-07-25 11:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784958748000,"timestamp_ms":1784958748000,"timestamp_seconds":1784958748,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d50560"} 
[2026-07-25 11:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949439232001,"66":27908,"34":206,"79":48640,"24":15,"16":357643911012810752,"45":-7684900156996216832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-07-25 11:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949439232001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:24:39] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 11:24:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357643911012810752,"km_value":357643911012810.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7684900156996216832,"description":"Unknown IO ID 45"} 
[2026-07-25 11:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949439232001,"power":27908,"unknown_34":206,"unknown_79":48640,"ignition":15,"odometer":null,"unknown_45":-7684900156996216832}} 
[2026-07-25 11:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":140981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:24:39] local.INFO: GPS data processed {"connection_id":140981,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:24:39] local.INFO: Acknowledgment sent {"connection_id":140981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:24:45] local.INFO: TCP Data received {"connection_id":143392,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:24:45] local.INFO: Processing buffer {"connection_id":143392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:24:45] local.INFO: IMEI packet received {"connection_id":143392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":143392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:24:56] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:56] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:24:56] local.INFO: IMEI packet received {"connection_id":141041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":141041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:25:01] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:25:01] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:25:01] local.INFO: IMEI packet received {"connection_id":141041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:25:02] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d67878012d95db800607ceb8001700592d..."} 
[2026-07-25 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d67878012d95db800607ceb8001700592d..."} 
[2026-07-25 11:25:02] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d67878012d95db800607ceb8001700592d..."} 
[2026-07-25 11:25:02] local.INFO: Packet analysis {"connection_id":141041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d6"} 
[2026-07-25 11:25:02] local.INFO: Extracted packet for processing {"connection_id":141041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d6"} 
[2026-07-25 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":764795776,"raw_latitude":101174968,"longitude_deg":76.4795776,"latitude_deg":10.1174968,"altitude":23,"angle":89,"satellites":45,"speed":12,"hex_longitude":"2d95db80","hex_latitude":"0607ceb8","is_valid_coordinates":true} 
[2026-07-25 11:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949463040001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357645530215481344,"note":"Value kept but may cause issues"} 
[2026-07-25 11:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7649293572443850752,"note":"Value kept but may cause issues"} 
[2026-07-25 11:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784958843000,"timestamp_ms":1784958843000,"timestamp_seconds":1784958843,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d67878"} 
[2026-07-25 11:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949463040001,"66":27821,"34":206,"79":48640,"24":12,"16":357645530215481344,"45":-7649293572443850752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,79,24,16,45]} 
[2026-07-25 11:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949463040001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:25:02] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 11:25:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357645530215481344,"km_value":357645530215481.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7649293572443850752,"description":"Unknown IO ID 45"} 
[2026-07-25 11:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949463040001,"power":27821,"unknown_34":206,"unknown_79":48640,"ignition":12,"odometer":null,"unknown_45":-7649293572443850752}} 
[2026-07-25 11:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":141041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:25:02] local.INFO: GPS data processed {"connection_id":141041,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:25:02] local.INFO: Acknowledgment sent {"connection_id":141041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:25:33] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d68818012d95e1800607ce78001700692d..."} 
[2026-07-25 11:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d68818012d95e1800607ce78001700692d..."} 
[2026-07-25 11:25:33] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d68818012d95e1800607ce78001700692d..."} 
[2026-07-25 11:25:33] local.INFO: Packet analysis {"connection_id":141041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d6"} 
[2026-07-25 11:25:33] local.INFO: Extracted packet for processing {"connection_id":141041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d6"} 
[2026-07-25 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":764797312,"raw_latitude":101174904,"longitude_deg":76.4797312,"latitude_deg":10.1174904,"altitude":23,"angle":105,"satellites":45,"speed":15,"hex_longitude":"2d95e180","hex_latitude":"0607ce78","is_valid_coordinates":true} 
[2026-07-25 11:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949463808001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357645603229925376,"note":"Value kept but may cause issues"} 
[2026-07-25 11:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7648378778769508352,"note":"Value kept but may cause issues"} 
[2026-07-25 11:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784958847000,"timestamp_ms":1784958847000,"timestamp_seconds":1784958847,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d68818"} 
[2026-07-25 11:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 11:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949463808001,"66":27930,"228":206,"79":48640,"24":15,"16":357645603229925376,"45":-7648378778769508352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 11:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949463808001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:25:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 11:25:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357645603229925376,"km_value":357645603229925.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7648378778769508352,"description":"Unknown IO ID 45"} 
[2026-07-25 11:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949463808001,"power":27930,"unknown_228":206,"unknown_79":48640,"ignition":15,"odometer":null,"unknown_45":-7648378778769508352}} 
[2026-07-25 11:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":141041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:25:33] local.INFO: GPS data processed {"connection_id":141041,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:25:33] local.INFO: Acknowledgment sent {"connection_id":141041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:25:56] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:25:56] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:25:56] local.INFO: IMEI packet received {"connection_id":141042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":141042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:26:01] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:01] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:01] local.INFO: IMEI packet received {"connection_id":141042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":141042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:26:02] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d68c00012d95e3000607ce380018005c2d..."} 
[2026-07-25 11:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d68c00012d95e3000607ce380018005c2d..."} 
[2026-07-25 11:26:02] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d68c00012d95e3000607ce380018005c2d..."} 
[2026-07-25 11:26:02] local.INFO: Packet analysis {"connection_id":141042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d6"} 
[2026-07-25 11:26:02] local.INFO: Extracted packet for processing {"connection_id":141042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d6"} 
[2026-07-25 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":764797696,"raw_latitude":101174840,"longitude_deg":76.4797696,"latitude_deg":10.117484,"altitude":24,"angle":92,"satellites":45,"speed":17,"hex_longitude":"2d95e300","hex_latitude":"0607ce38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 11:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949464832001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357645620409794560,"note":"Value kept but may cause issues"} 
[2026-07-25 11:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7646689928909260800,"note":"Value kept but may cause issues"} 
[2026-07-25 11:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784958848000,"timestamp_ms":1784958848000,"timestamp_seconds":1784958848,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d68c00"} 
[2026-07-25 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-07-25 11:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 11:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949464832001,"66":27930,"228":206,"79":48640,"24":17,"16":357645620409794560,"45":-7646689928909260800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 11:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949464832001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:26:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 11:26:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357645620409794560,"km_value":357645620409794.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7646689928909260800,"description":"Unknown IO ID 45"} 
[2026-07-25 11:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949464832001,"power":27930,"unknown_228":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7646689928909260800}} 
[2026-07-25 11:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":141042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:26:02] local.INFO: GPS data processed {"connection_id":141042,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:26:02] local.INFO: Acknowledgment sent {"connection_id":141042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:26:33] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d7f360012d96150006077a38002000222d..."} 
[2026-07-25 11:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d7f360012d96150006077a38002000222d..."} 
[2026-07-25 11:26:33] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d7f360012d96150006077a38002000222d..."} 
[2026-07-25 11:26:33] local.INFO: Packet analysis {"connection_id":141042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d7"} 
[2026-07-25 11:26:33] local.INFO: Extracted packet for processing {"connection_id":141042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d7"} 
[2026-07-25 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":764810496,"raw_latitude":101153336,"longitude_deg":76.4810496,"latitude_deg":10.1153336,"altitude":32,"angle":34,"satellites":45,"speed":2,"hex_longitude":"2d961500","hex_latitude":"06077a38","is_valid_coordinates":true} 
[2026-07-25 11:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949488384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357647286857105408,"note":"Value kept but may cause issues"} 
[2026-07-25 11:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7632405073846736896,"note":"Value kept but may cause issues"} 
[2026-07-25 11:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784958940000,"timestamp_ms":1784958940000,"timestamp_seconds":1784958940,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d7f360"} 
[2026-07-25 11:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949488384001,"66":27930,"228":206,"79":48640,"24":2,"16":357647286857105408,"45":-7632405073846736896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 11:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949488384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:26:33] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 11:26:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357647286857105408,"km_value":357647286857105.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7632405073846736896,"description":"Unknown IO ID 45"} 
[2026-07-25 11:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949488384001,"power":27930,"unknown_228":206,"unknown_79":48640,"ignition":2,"odometer":null,"unknown_45":-7632405073846736896}} 
[2026-07-25 11:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":141042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:26:33] local.INFO: GPS data processed {"connection_id":141042,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:26:33] local.INFO: Acknowledgment sent {"connection_id":141042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:26:55] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:55] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:55] local.INFO: IMEI packet received {"connection_id":140982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":140982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:26:58] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:58] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:26:58] local.INFO: IMEI packet received {"connection_id":140982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":140982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:27:01] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:27:01] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:27:01] local.INFO: IMEI packet received {"connection_id":140982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":140982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:27:02] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d7fb30012d96154006077a80002000332d..."} 
[2026-07-25 11:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d7fb30012d96154006077a80002000332d..."} 
[2026-07-25 11:27:02] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d7fb30012d96154006077a80002000332d..."} 
[2026-07-25 11:27:02] local.INFO: Packet analysis {"connection_id":140982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d7"} 
[2026-07-25 11:27:02] local.INFO: Extracted packet for processing {"connection_id":140982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d7"} 
[2026-07-25 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":764810560,"raw_latitude":101153408,"longitude_deg":76.481056,"latitude_deg":10.1153408,"altitude":32,"angle":51,"satellites":45,"speed":2,"hex_longitude":"2d961540","hex_latitude":"06077a80","is_valid_coordinates":true} 
[2026-07-25 11:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949488640001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357647291152072704,"note":"Value kept but may cause issues"} 
[2026-07-25 11:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7632193967614183424,"note":"Value kept but may cause issues"} 
[2026-07-25 11:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784958942000,"timestamp_ms":1784958942000,"timestamp_seconds":1784958942,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d7fb30"} 
[2026-07-25 11:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949488640001,"66":27974,"228":206,"79":48640,"24":2,"16":357647291152072704,"45":-7632193967614183424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 11:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949488640001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:27:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 11:27:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357647291152072704,"km_value":357647291152072.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7632193967614183424,"description":"Unknown IO ID 45"} 
[2026-07-25 11:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949488640001,"power":27974,"unknown_228":206,"unknown_79":48640,"ignition":2,"odometer":null,"unknown_45":-7632193967614183424}} 
[2026-07-25 11:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":140982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:27:02] local.INFO: GPS data processed {"connection_id":140982,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:27:02] local.INFO: Acknowledgment sent {"connection_id":140982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:27:34] local.INFO: TCP Data received {"connection_id":140982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d8d9d8012d9649c006076018001900c82b..."} 
[2026-07-25 11:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d8d9d8012d9649c006076018001900c82b..."} 
[2026-07-25 11:27:34] local.INFO: Processing buffer {"connection_id":140982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d8d9d8012d9649c006076018001900c82b..."} 
[2026-07-25 11:27:34] local.INFO: Packet analysis {"connection_id":140982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d8"} 
[2026-07-25 11:27:34] local.INFO: Extracted packet for processing {"connection_id":140982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d8"} 
[2026-07-25 11:27:34] local.INFO: GPS Element Parsed {"raw_longitude":764824000,"raw_latitude":101146648,"longitude_deg":76.4824,"latitude_deg":10.1146648,"altitude":25,"angle":200,"satellites":43,"speed":17,"hex_longitude":"2d9649c0","hex_latitude":"06076018","is_valid_coordinates":true} 
[2026-07-25 11:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949503232001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357648553872457728,"note":"Value kept but may cause issues"} 
[2026-07-25 11:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7616923950129178624,"note":"Value kept but may cause issues"} 
[2026-07-25 11:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784958999000,"timestamp_ms":1784958999000,"timestamp_seconds":1784958999,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d8d9d8"} 
[2026-07-25 11:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949503232001,"66":27800,"228":206,"79":48640,"24":17,"16":357648553872457728,"45":-7616923950129178624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 11:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949503232001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:27:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 11:27:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357648553872457728,"km_value":357648553872457.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7616923950129178624,"description":"Unknown IO ID 45"} 
[2026-07-25 11:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949503232001,"power":27800,"unknown_228":206,"unknown_79":48640,"ignition":17,"odometer":null,"unknown_45":-7616923950129178624}} 
[2026-07-25 11:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":140982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:27:34] local.INFO: GPS data processed {"connection_id":140982,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:27:34] local.INFO: Acknowledgment sent {"connection_id":140982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:27:55] local.INFO: TCP Data received {"connection_id":142035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:27:55] local.INFO: Processing buffer {"connection_id":142035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:27:55] local.INFO: IMEI packet received {"connection_id":142035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":142035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:28:00] local.INFO: TCP Data received {"connection_id":142035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:00] local.INFO: Processing buffer {"connection_id":142035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:00] local.INFO: IMEI packet received {"connection_id":142035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":142035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:28:00] local.INFO: TCP Data received {"connection_id":142035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:00] local.INFO: Processing buffer {"connection_id":142035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:00] local.INFO: IMEI packet received {"connection_id":142035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":142035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:28:01] local.INFO: TCP Data received {"connection_id":142035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d8ddc0012d96490006075df0001900b62b..."} 
[2026-07-25 11:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d8ddc0012d96490006075df0001900b62b..."} 
[2026-07-25 11:28:01] local.INFO: Processing buffer {"connection_id":142035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d8ddc0012d96490006075df0001900b62b..."} 
[2026-07-25 11:28:01] local.INFO: Packet analysis {"connection_id":142035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d8"} 
[2026-07-25 11:28:01] local.INFO: Extracted packet for processing {"connection_id":142035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d8"} 
[2026-07-25 11:28:01] local.INFO: GPS Element Parsed {"raw_longitude":764823808,"raw_latitude":101146096,"longitude_deg":76.4823808,"latitude_deg":10.1146096,"altitude":25,"angle":182,"satellites":43,"speed":21,"hex_longitude":"2d964900","hex_latitude":"06075df0","is_valid_coordinates":true} 
[2026-07-25 11:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949503744001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357648579642261504,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617346162594408448,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784959000000,"timestamp_ms":1784959000000,"timestamp_seconds":1784959000,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d8ddc0"} 
[2026-07-25 11:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 11:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949503744001,"66":27800,"228":206,"79":48640,"24":21,"16":357648579642261504,"45":-7617346162594408448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 11:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949503744001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:28:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 11:28:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357648579642261504,"km_value":357648579642261.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617346162594408448,"description":"Unknown IO ID 45"} 
[2026-07-25 11:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949503744001,"power":27800,"unknown_228":206,"unknown_79":48640,"ignition":21,"odometer":null,"unknown_45":-7617346162594408448}} 
[2026-07-25 11:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":142035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:28:01] local.INFO: GPS data processed {"connection_id":142035,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:28:01] local.INFO: Acknowledgment sent {"connection_id":142035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:28:06] local.INFO: TCP Data received {"connection_id":142035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d90ca0012d96474006073e28001b00c22a..."} 
[2026-07-25 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d90ca0012d96474006073e28001b00c22a..."} 
[2026-07-25 11:28:06] local.INFO: Processing buffer {"connection_id":142035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d90ca0012d96474006073e28001b00c22a..."} 
[2026-07-25 11:28:06] local.INFO: Packet analysis {"connection_id":142035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d9"} 
[2026-07-25 11:28:06] local.INFO: Extracted packet for processing {"connection_id":142035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d9"} 
[2026-07-25 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":764823360,"raw_latitude":101137960,"longitude_deg":76.482336,"latitude_deg":10.113796,"altitude":27,"angle":194,"satellites":42,"speed":31,"hex_longitude":"2d964740","hex_latitude":"06073e28","is_valid_coordinates":true} 
[2026-07-25 11:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949504000001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357648979074220032,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617557268827082752,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784959012000,"timestamp_ms":1784959012000,"timestamp_seconds":1784959012,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d90ca0"} 
[2026-07-25 11:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 11:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949504000001,"66":27876,"254":206,"79":48640,"24":31,"16":357648979074220032,"45":-7617557268827082752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-25 11:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949504000001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:28:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-25 11:28:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357648979074220032,"km_value":357648979074220.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617557268827082752,"description":"Unknown IO ID 45"} 
[2026-07-25 11:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949504000001,"power":27876,"unknown_254":206,"unknown_79":48640,"ignition":31,"odometer":null,"unknown_45":-7617557268827082752}} 
[2026-07-25 11:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":142035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:28:06] local.INFO: GPS data processed {"connection_id":142035,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:28:06] local.INFO: Acknowledgment sent {"connection_id":142035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:28:38] local.INFO: TCP Data received {"connection_id":142035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97d92028012d96444006072ff8001b00b62b..."} 
[2026-07-25 11:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97d92028012d96444006072ff8001b00b62b..."} 
[2026-07-25 11:28:38] local.INFO: Processing buffer {"connection_id":142035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97d92028012d96444006072ff8001b00b62b..."} 
[2026-07-25 11:28:38] local.INFO: Packet analysis {"connection_id":142035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97d9"} 
[2026-07-25 11:28:38] local.INFO: Extracted packet for processing {"connection_id":142035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97d9"} 
[2026-07-25 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":764822592,"raw_latitude":101134328,"longitude_deg":76.4822592,"latitude_deg":10.1134328,"altitude":27,"angle":182,"satellites":43,"speed":19,"hex_longitude":"2d964440","hex_latitude":"06072ff8","is_valid_coordinates":true} 
[2026-07-25 11:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949507072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357649159462846464,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7618049850038409216,"note":"Value kept but may cause issues"} 
[2026-07-25 11:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784959017000,"timestamp_ms":1784959017000,"timestamp_seconds":1784959017,"priority":1,"record_length":96,"hex_timestamp":"0000019f97d92028"} 
[2026-07-25 11:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 11:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949507072001,"66":27908,"254":206,"79":48640,"24":19,"16":357649159462846464,"45":-7618049850038409216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,79,24,16,45]} 
[2026-07-25 11:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949507072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:28:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-25 11:28:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357649159462846464,"km_value":357649159462846.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7618049850038409216,"description":"Unknown IO ID 45"} 
[2026-07-25 11:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949507072001,"power":27908,"unknown_254":206,"unknown_79":48640,"ignition":19,"odometer":null,"unknown_45":-7618049850038409216}} 
[2026-07-25 11:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":142035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:28:38] local.INFO: GPS data processed {"connection_id":142035,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:28:38] local.INFO: Acknowledgment sent {"connection_id":142035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:28:57] local.INFO: TCP Data received {"connection_id":141043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:57] local.INFO: Processing buffer {"connection_id":141043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:57] local.INFO: IMEI packet received {"connection_id":141043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":141043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:28:58] local.INFO: TCP Data received {"connection_id":141043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:58] local.INFO: Processing buffer {"connection_id":141043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:58] local.INFO: IMEI packet received {"connection_id":141043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":141043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:28:59] local.INFO: TCP Data received {"connection_id":141043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:59] local.INFO: Processing buffer {"connection_id":141043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:28:59] local.INFO: IMEI packet received {"connection_id":141043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":141043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:29:01] local.INFO: TCP Data received {"connection_id":141043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:29:01] local.INFO: Processing buffer {"connection_id":141043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:29:01] local.INFO: IMEI packet received {"connection_id":141043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":141043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:30:20] local.INFO: TCP Data received {"connection_id":142036,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:30:20] local.INFO: Processing buffer {"connection_id":142036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:30:20] local.INFO: IMEI packet received {"connection_id":142036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":142036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:34:01] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:34:01] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:34:01] local.INFO: IMEI packet received {"connection_id":141045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":141045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:34:02] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97dda850012d964bc0060655c8000e00532a..."} 
[2026-07-25 11:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97dda850012d964bc0060655c8000e00532a..."} 
[2026-07-25 11:34:02] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97dda850012d964bc0060655c8000e00532a..."} 
[2026-07-25 11:34:02] local.INFO: Packet analysis {"connection_id":141045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97dd"} 
[2026-07-25 11:34:02] local.INFO: Extracted packet for processing {"connection_id":141045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97dd"} 
[2026-07-25 11:34:02] local.INFO: GPS Element Parsed {"raw_longitude":764824512,"raw_latitude":101078472,"longitude_deg":76.4824512,"latitude_deg":10.1078472,"altitude":14,"angle":83,"satellites":42,"speed":23,"hex_longitude":"2d964bc0","hex_latitude":"060655c8","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949579776001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357653853862100992,"note":"Value kept but may cause issues"} 
[2026-07-25 11:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7626634836843405312,"note":"Value kept but may cause issues"} 
[2026-07-25 11:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959314000,"timestamp_ms":1784959314000,"timestamp_seconds":1784959314,"priority":1,"record_length":96,"hex_timestamp":"0000019f97dda850"} 
[2026-07-25 11:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 11:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949579776001,"66":27908,"255":206,"79":48640,"24":23,"16":357653853862100992,"45":-7626634836843405312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949579776001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:34:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:34:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357653853862100992,"km_value":357653853862101.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7626634836843405312,"description":"Unknown IO ID 45"} 
[2026-07-25 11:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949579776001,"power":27908,"unknown_255":206,"unknown_79":48640,"ignition":23,"odometer":null,"unknown_45":-7626634836843405312}} 
[2026-07-25 11:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":141045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:34:02] local.INFO: GPS data processed {"connection_id":141045,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:34:02] local.INFO: Acknowledgment sent {"connection_id":141045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:34:34] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ddb020012d965080060656c8000e00442b..."} 
[2026-07-25 11:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ddb020012d965080060656c8000e00442b..."} 
[2026-07-25 11:34:34] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ddb020012d965080060656c8000e00442b..."} 
[2026-07-25 11:34:34] local.INFO: Packet analysis {"connection_id":141045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97dd"} 
[2026-07-25 11:34:34] local.INFO: Extracted packet for processing {"connection_id":141045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97dd"} 
[2026-07-25 11:34:34] local.INFO: GPS Element Parsed {"raw_longitude":764825728,"raw_latitude":101078728,"longitude_deg":76.4825728,"latitude_deg":10.1078728,"altitude":14,"angle":68,"satellites":43,"speed":23,"hex_longitude":"2d965080","hex_latitude":"060656c8","is_valid_coordinates":true} 
[2026-07-25 11:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949584384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357653913991643136,"note":"Value kept but may cause issues"} 
[2026-07-25 11:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7616783212658440192,"note":"Value kept but may cause issues"} 
[2026-07-25 11:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784959316000,"timestamp_ms":1784959316000,"timestamp_seconds":1784959316,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ddb020"} 
[2026-07-25 11:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949584384001,"66":27865,"255":206,"79":48640,"24":23,"16":357653913991643136,"45":-7616783212658440192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949584384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:34:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:34:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357653913991643136,"km_value":357653913991643.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7616783212658440192,"description":"Unknown IO ID 45"} 
[2026-07-25 11:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949584384001,"power":27865,"unknown_255":206,"unknown_79":48640,"ignition":23,"odometer":null,"unknown_45":-7616783212658440192}} 
[2026-07-25 11:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":141045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:34:34] local.INFO: GPS data processed {"connection_id":141045,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:34:34] local.INFO: Acknowledgment sent {"connection_id":141045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:34:55] local.INFO: TCP Data received {"connection_id":142037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:34:55] local.INFO: Processing buffer {"connection_id":142037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:34:55] local.INFO: IMEI packet received {"connection_id":142037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":142037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:35:01] local.INFO: TCP Data received {"connection_id":142037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:35:01] local.INFO: Processing buffer {"connection_id":142037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:35:01] local.INFO: IMEI packet received {"connection_id":142037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":142037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:35:02] local.INFO: TCP Data received {"connection_id":142037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97dddf00012d96680006066078001000532c..."} 
[2026-07-25 11:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97dddf00012d96680006066078001000532c..."} 
[2026-07-25 11:35:02] local.INFO: Processing buffer {"connection_id":142037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97dddf00012d96680006066078001000532c..."} 
[2026-07-25 11:35:02] local.INFO: Packet analysis {"connection_id":142037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97dd"} 
[2026-07-25 11:35:02] local.INFO: Extracted packet for processing {"connection_id":142037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97dd"} 
[2026-07-25 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":764831744,"raw_latitude":101081208,"longitude_deg":76.4831744,"latitude_deg":10.1081208,"altitude":16,"angle":83,"satellites":44,"speed":15,"hex_longitude":"2d966800","hex_latitude":"06066078","is_valid_coordinates":true} 
[2026-07-25 11:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949584896001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654227524255744,"note":"Value kept but may cause issues"} 
[2026-07-25 11:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7615446206518999040,"note":"Value kept but may cause issues"} 
[2026-07-25 11:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959328000,"timestamp_ms":1784959328000,"timestamp_seconds":1784959328,"priority":1,"record_length":96,"hex_timestamp":"0000019f97dddf00"} 
[2026-07-25 11:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 11:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949584896001,"66":27930,"172":206,"79":48640,"24":15,"16":357654227524255744,"45":-7615446206518999040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949584896001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:35:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:35:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654227524255744,"km_value":357654227524255.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7615446206518999040,"description":"Unknown IO ID 45"} 
[2026-07-25 11:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949584896001,"power":27930,"unknown_172":206,"unknown_79":48640,"ignition":15,"odometer":null,"unknown_45":-7615446206518999040}} 
[2026-07-25 11:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":142037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:35:02] local.INFO: GPS data processed {"connection_id":142037,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:35:02] local.INFO: Acknowledgment sent {"connection_id":142037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:35:33] local.INFO: TCP Data received {"connection_id":142037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97de0228012d966f0006066178001100702b..."} 
[2026-07-25 11:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97de0228012d966f0006066178001100702b..."} 
[2026-07-25 11:35:33] local.INFO: Processing buffer {"connection_id":142037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97de0228012d966f0006066178001100702b..."} 
[2026-07-25 11:35:33] local.INFO: Packet analysis {"connection_id":142037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:35:33] local.INFO: Extracted packet for processing {"connection_id":142037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":764833536,"raw_latitude":101081464,"longitude_deg":76.4833536,"latitude_deg":10.1081464,"altitude":17,"angle":112,"satellites":43,"speed":5,"hex_longitude":"2d966f00","hex_latitude":"06066178","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949587968001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654313423601664,"note":"Value kept but may cause issues"} 
[2026-07-25 11:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7608831544565663744,"note":"Value kept but may cause issues"} 
[2026-07-25 11:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959337000,"timestamp_ms":1784959337000,"timestamp_seconds":1784959337,"priority":1,"record_length":96,"hex_timestamp":"0000019f97de0228"} 
[2026-07-25 11:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 11:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949587968001,"66":27919,"172":206,"79":48640,"24":5,"16":357654313423601664,"45":-7608831544565663744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949587968001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:35:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:35:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654313423601664,"km_value":357654313423601.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7608831544565663744,"description":"Unknown IO ID 45"} 
[2026-07-25 11:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949587968001,"power":27919,"unknown_172":206,"unknown_79":48640,"ignition":5,"odometer":null,"unknown_45":-7608831544565663744}} 
[2026-07-25 11:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":142037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:35:33] local.INFO: GPS data processed {"connection_id":142037,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:35:33] local.INFO: Acknowledgment sent {"connection_id":142037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:35:55] local.INFO: TCP Data received {"connection_id":143395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:35:55] local.INFO: Processing buffer {"connection_id":143395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:35:55] local.INFO: IMEI packet received {"connection_id":143395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":143395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:35:56] local.INFO: TCP Data received {"connection_id":143396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:35:56] local.INFO: Processing buffer {"connection_id":143396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:35:56] local.INFO: IMEI packet received {"connection_id":143396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":143396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:36:01] local.INFO: TCP Data received {"connection_id":143396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:36:01] local.INFO: Processing buffer {"connection_id":143396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:36:01] local.INFO: IMEI packet received {"connection_id":143396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":143396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:36:02] local.INFO: TCP Data received {"connection_id":143396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97de5430012d966fc0060661180011007029..."} 
[2026-07-25 11:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97de5430012d966fc0060661180011007029..."} 
[2026-07-25 11:36:02] local.INFO: Processing buffer {"connection_id":143396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97de5430012d966fc0060661180011007029..."} 
[2026-07-25 11:36:02] local.INFO: Packet analysis {"connection_id":143396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:36:02] local.INFO: Extracted packet for processing {"connection_id":143396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:36:02] local.INFO: GPS Element Parsed {"raw_longitude":764833728,"raw_latitude":101081368,"longitude_deg":76.4833728,"latitude_deg":10.1081368,"altitude":17,"angle":112,"satellites":41,"speed":0,"hex_longitude":"2d966fc0","hex_latitude":"06066118","is_valid_coordinates":true} 
[2026-07-25 11:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949590272001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654326308503552,"note":"Value kept but may cause issues"} 
[2026-07-25 11:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606861219728623616,"note":"Value kept but may cause issues"} 
[2026-07-25 11:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959358000,"timestamp_ms":1784959358000,"timestamp_seconds":1784959358,"priority":1,"record_length":96,"hex_timestamp":"0000019f97de5430"} 
[2026-07-25 11:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949590272001,"66":27789,"172":206,"79":48640,"24":0,"16":357654326308503552,"45":-7606861219728623616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949590272001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:36:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:36:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654326308503552,"km_value":357654326308503.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606861219728623616,"description":"Unknown IO ID 45"} 
[2026-07-25 11:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949590272001,"power":27789,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606861219728623616}} 
[2026-07-25 11:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":143396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:36:02] local.INFO: GPS data processed {"connection_id":143396,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:36:02] local.INFO: Acknowledgment sent {"connection_id":143396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:36:33] local.INFO: TCP Data received {"connection_id":143396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97dea638012d966fc0060661180011007028..."} 
[2026-07-25 11:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97dea638012d966fc0060661180011007028..."} 
[2026-07-25 11:36:33] local.INFO: Processing buffer {"connection_id":143396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97dea638012d966fc0060661180011007028..."} 
[2026-07-25 11:36:33] local.INFO: Packet analysis {"connection_id":143396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:36:33] local.INFO: Extracted packet for processing {"connection_id":143396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":764833728,"raw_latitude":101081368,"longitude_deg":76.4833728,"latitude_deg":10.1081368,"altitude":17,"angle":112,"satellites":40,"speed":0,"hex_longitude":"2d966fc0","hex_latitude":"06066118","is_valid_coordinates":true} 
[2026-07-25 11:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949595648001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654326308503552,"note":"Value kept but may cause issues"} 
[2026-07-25 11:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606650113496115200,"note":"Value kept but may cause issues"} 
[2026-07-25 11:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959379000,"timestamp_ms":1784959379000,"timestamp_seconds":1784959379,"priority":1,"record_length":96,"hex_timestamp":"0000019f97dea638"} 
[2026-07-25 11:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 11:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949595648001,"66":27767,"172":206,"79":48640,"24":0,"16":357654326308503552,"45":-7606650113496115200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949595648001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:36:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:36:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654326308503552,"km_value":357654326308503.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606650113496115200,"description":"Unknown IO ID 45"} 
[2026-07-25 11:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949595648001,"power":27767,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606650113496115200}} 
[2026-07-25 11:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":143396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:36:33] local.INFO: GPS data processed {"connection_id":143396,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:36:33] local.INFO: Acknowledgment sent {"connection_id":143396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:36:56] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:36:56] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:36:56] local.INFO: IMEI packet received {"connection_id":140984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":140984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:37:00] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:37:00] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:37:00] local.INFO: IMEI packet received {"connection_id":140984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":140984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:37:02] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97def840012d96720006065fc0001400702b..."} 
[2026-07-25 11:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97def840012d96720006065fc0001400702b..."} 
[2026-07-25 11:37:02] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97def840012d96720006065fc0001400702b..."} 
[2026-07-25 11:37:02] local.INFO: Packet analysis {"connection_id":140984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:37:02] local.INFO: Extracted packet for processing {"connection_id":140984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97de"} 
[2026-07-25 11:37:02] local.INFO: GPS Element Parsed {"raw_longitude":764834304,"raw_latitude":101081024,"longitude_deg":76.4834304,"latitude_deg":10.1081024,"altitude":20,"angle":112,"satellites":43,"speed":2,"hex_longitude":"2d967200","hex_latitude":"06065fc0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 11:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949601024001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654369258176512,"note":"Value kept but may cause issues"} 
[2026-07-25 11:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606650113496115200,"note":"Value kept but may cause issues"} 
[2026-07-25 11:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959400000,"timestamp_ms":1784959400000,"timestamp_seconds":1784959400,"priority":1,"record_length":96,"hex_timestamp":"0000019f97def840"} 
[2026-07-25 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-07-25 11:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 11:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 11:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949601024001,"66":28028,"172":206,"79":48640,"24":2,"16":357654369258176512,"45":-7606650113496115200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949601024001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:37:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:37:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654369258176512,"km_value":357654369258176.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606650113496115200,"description":"Unknown IO ID 45"} 
[2026-07-25 11:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949601024001,"power":28028,"unknown_172":206,"unknown_79":48640,"ignition":2,"odometer":null,"unknown_45":-7606650113496115200}} 
[2026-07-25 11:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":140984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:37:02] local.INFO: GPS data processed {"connection_id":140984,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:37:02] local.INFO: Acknowledgment sent {"connection_id":140984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:37:33] local.INFO: TCP Data received {"connection_id":140984,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97df4a48012d966d8006066138001600702c..."} 
[2026-07-25 11:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97df4a48012d966d8006066138001600702c..."} 
[2026-07-25 11:37:33] local.INFO: Processing buffer {"connection_id":140984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97df4a48012d966d8006066138001600702c..."} 
[2026-07-25 11:37:33] local.INFO: Packet analysis {"connection_id":140984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97df"} 
[2026-07-25 11:37:33] local.INFO: Extracted packet for processing {"connection_id":140984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97df"} 
[2026-07-25 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":764833152,"raw_latitude":101081400,"longitude_deg":76.4833152,"latitude_deg":10.10814,"altitude":22,"angle":112,"satellites":44,"speed":1,"hex_longitude":"2d966d80","hex_latitude":"06066138","is_valid_coordinates":true} 
[2026-07-25 11:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949606400001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654433682685952,"note":"Value kept but may cause issues"} 
[2026-07-25 11:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606016794798604288,"note":"Value kept but may cause issues"} 
[2026-07-25 11:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959421000,"timestamp_ms":1784959421000,"timestamp_seconds":1784959421,"priority":1,"record_length":96,"hex_timestamp":"0000019f97df4a48"} 
[2026-07-25 11:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 11:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949606400001,"66":27908,"172":206,"79":48640,"24":1,"16":357654433682685952,"45":-7606016794798604288},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949606400001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:37:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:37:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654433682685952,"km_value":357654433682685.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606016794798604288,"description":"Unknown IO ID 45"} 
[2026-07-25 11:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949606400001,"power":27908,"unknown_172":206,"unknown_79":48640,"ignition":1,"odometer":null,"unknown_45":-7606016794798604288}} 
[2026-07-25 11:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":140984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:37:33] local.INFO: GPS data processed {"connection_id":140984,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:37:33] local.INFO: Acknowledgment sent {"connection_id":140984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:37:56] local.INFO: TCP Data received {"connection_id":143397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:37:56] local.INFO: Processing buffer {"connection_id":143397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:37:56] local.INFO: IMEI packet received {"connection_id":143397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":143397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:38:01] local.INFO: TCP Data received {"connection_id":143397,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:38:01] local.INFO: Processing buffer {"connection_id":143397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:38:01] local.INFO: IMEI packet received {"connection_id":143397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:38:02] local.INFO: TCP Data received {"connection_id":143397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97df9c50012d966c40060663c80018007026..."} 
[2026-07-25 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97df9c50012d966c40060663c80018007026..."} 
[2026-07-25 11:38:02] local.INFO: Processing buffer {"connection_id":143397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97df9c50012d966c40060663c80018007026..."} 
[2026-07-25 11:38:02] local.INFO: Packet analysis {"connection_id":143397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97df"} 
[2026-07-25 11:38:02] local.INFO: Extracted packet for processing {"connection_id":143397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97df"} 
[2026-07-25 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":764832832,"raw_latitude":101082056,"longitude_deg":76.4832832,"latitude_deg":10.1082056,"altitude":24,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d966c40","hex_latitude":"060663c8","is_valid_coordinates":true} 
[2026-07-25 11:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949611776001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654480927326208,"note":"Value kept but may cause issues"} 
[2026-07-25 11:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607283432193705984,"note":"Value kept but may cause issues"} 
[2026-07-25 11:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959442000,"timestamp_ms":1784959442000,"timestamp_seconds":1784959442,"priority":1,"record_length":96,"hex_timestamp":"0000019f97df9c50"} 
[2026-07-25 11:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949611776001,"66":28006,"172":206,"79":48640,"24":0,"16":357654480927326208,"45":-7607283432193705984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949611776001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:38:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:38:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654480927326208,"km_value":357654480927326.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607283432193705984,"description":"Unknown IO ID 45"} 
[2026-07-25 11:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949611776001,"power":28006,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607283432193705984}} 
[2026-07-25 11:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":143397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:38:02] local.INFO: GPS data processed {"connection_id":143397,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:38:02] local.INFO: Acknowledgment sent {"connection_id":143397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:38:33] local.INFO: TCP Data received {"connection_id":143397,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97dfee58012d966c40060663c80018007026..."} 
[2026-07-25 11:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97dfee58012d966c40060663c80018007026..."} 
[2026-07-25 11:38:33] local.INFO: Processing buffer {"connection_id":143397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97dfee58012d966c40060663c80018007026..."} 
[2026-07-25 11:38:33] local.INFO: Packet analysis {"connection_id":143397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97df"} 
[2026-07-25 11:38:33] local.INFO: Extracted packet for processing {"connection_id":143397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97df"} 
[2026-07-25 11:38:33] local.INFO: GPS Element Parsed {"raw_longitude":764832832,"raw_latitude":101082056,"longitude_deg":76.4832832,"latitude_deg":10.1082056,"altitude":24,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d966c40","hex_latitude":"060663c8","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949617152001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654480927326208,"note":"Value kept but may cause issues"} 
[2026-07-25 11:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914426368,"note":"Value kept but may cause issues"} 
[2026-07-25 11:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959463000,"timestamp_ms":1784959463000,"timestamp_seconds":1784959463,"priority":1,"record_length":96,"hex_timestamp":"0000019f97dfee58"} 
[2026-07-25 11:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 11:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949617152001,"66":27919,"172":206,"79":48640,"24":0,"16":357654480927326208,"45":-7607635275914426368},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949617152001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:38:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:38:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654480927326208,"km_value":357654480927326.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914426368,"description":"Unknown IO ID 45"} 
[2026-07-25 11:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949617152001,"power":27919,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914426368}} 
[2026-07-25 11:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":143397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:38:33] local.INFO: GPS data processed {"connection_id":143397,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:38:33] local.INFO: Acknowledgment sent {"connection_id":143397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:38:55] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:38:55] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:38:55] local.INFO: IMEI packet received {"connection_id":141046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":141046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:39:00] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:39:00] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:39:00] local.INFO: IMEI packet received {"connection_id":141046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":141046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:39:01] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e030c0012d966c80060662f0001a015d27..."} 
[2026-07-25 11:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e030c0012d966c80060662f0001a015d27..."} 
[2026-07-25 11:39:01] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e030c0012d966c80060662f0001a015d27..."} 
[2026-07-25 11:39:01] local.INFO: Packet analysis {"connection_id":141046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:39:01] local.INFO: Extracted packet for processing {"connection_id":141046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:39:01] local.INFO: GPS Element Parsed {"raw_longitude":764832896,"raw_latitude":101081840,"longitude_deg":76.4832896,"latitude_deg":10.108184,"altitude":26,"angle":349,"satellites":39,"speed":2,"hex_longitude":"2d966c80","hex_latitude":"060662f0","is_valid_coordinates":true} 
[2026-07-25 11:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949622528001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654489517260800,"note":"Value kept but may cause issues"} 
[2026-07-25 11:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914426368,"note":"Value kept but may cause issues"} 
[2026-07-25 11:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784959480000,"timestamp_ms":1784959480000,"timestamp_seconds":1784959480,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e030c0"} 
[2026-07-25 11:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 11:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949622528001,"66":27800,"172":206,"79":48640,"24":2,"16":357654489517260800,"45":-7607635275914426368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949622528001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:39:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:39:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654489517260800,"km_value":357654489517260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914426368,"description":"Unknown IO ID 45"} 
[2026-07-25 11:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949622528001,"power":27800,"unknown_172":206,"unknown_79":48640,"ignition":2,"odometer":null,"unknown_45":-7607635275914426368}} 
[2026-07-25 11:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":141046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:39:01] local.INFO: GPS data processed {"connection_id":141046,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:39:01] local.INFO: Acknowledgment sent {"connection_id":141046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:39:33] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e082c8012d966c00060665b8001b015d29..."} 
[2026-07-25 11:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e082c8012d966c00060665b8001b015d29..."} 
[2026-07-25 11:39:33] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e082c8012d966c00060665b8001b015d29..."} 
[2026-07-25 11:39:33] local.INFO: Packet analysis {"connection_id":141046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:39:33] local.INFO: Extracted packet for processing {"connection_id":141046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:39:33] local.INFO: GPS Element Parsed {"raw_longitude":764832768,"raw_latitude":101082552,"longitude_deg":76.4832768,"latitude_deg":10.1082552,"altitude":27,"angle":349,"satellites":41,"speed":1,"hex_longitude":"2d966c00","hex_latitude":"060665b8","is_valid_coordinates":true} 
[2026-07-25 11:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949626880001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654541056868352,"note":"Value kept but may cause issues"} 
[2026-07-25 11:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607564907170304000,"note":"Value kept but may cause issues"} 
[2026-07-25 11:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959501000,"timestamp_ms":1784959501000,"timestamp_seconds":1784959501,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e082c8"} 
[2026-07-25 11:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 11:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949626880001,"66":27974,"172":206,"79":48640,"24":1,"16":357654541056868352,"45":-7607564907170304000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949626880001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:39:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:39:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654541056868352,"km_value":357654541056868.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607564907170304000,"description":"Unknown IO ID 45"} 
[2026-07-25 11:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949626880001,"power":27974,"unknown_172":206,"unknown_79":48640,"ignition":1,"odometer":null,"unknown_45":-7607564907170304000}} 
[2026-07-25 11:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":141046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:39:33] local.INFO: GPS data processed {"connection_id":141046,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:39:33] local.INFO: Acknowledgment sent {"connection_id":141046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:40:00] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:00] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:00] local.INFO: IMEI packet received {"connection_id":141047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":141047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:40:06] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:06] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:06] local.INFO: IMEI packet received {"connection_id":141047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":141047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:40:06] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e0adc0012d966c4006066658001b015d27..."} 
[2026-07-25 11:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e0adc0012d966c4006066658001b015d27..."} 
[2026-07-25 11:40:06] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e0adc0012d966c4006066658001b015d27..."} 
[2026-07-25 11:40:06] local.INFO: Packet analysis {"connection_id":141047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:40:06] local.INFO: Extracted packet for processing {"connection_id":141047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":764832832,"raw_latitude":101082712,"longitude_deg":76.4832832,"latitude_deg":10.1082712,"altitude":27,"angle":349,"satellites":39,"speed":0,"hex_longitude":"2d966c40","hex_latitude":"06066658","is_valid_coordinates":true} 
[2026-07-25 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949632256001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607705644658477056,"note":"Value kept but may cause issues"} 
[2026-07-25 11:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784959512000,"timestamp_ms":1784959512000,"timestamp_seconds":1784959512,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e0adc0"} 
[2026-07-25 11:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 11:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949632256001,"66":27908,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607705644658477056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949632256001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:40:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607705644658477056,"description":"Unknown IO ID 45"} 
[2026-07-25 11:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949632256001,"power":27908,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607705644658477056}} 
[2026-07-25 11:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":141047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:40:06] local.INFO: GPS data processed {"connection_id":141047,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:40:06] local.INFO: Acknowledgment sent {"connection_id":141047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:40:11] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e0adc0012d966c4006066658001b015d27..."} 
[2026-07-25 11:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e0adc0012d966c4006066658001b015d27..."} 
[2026-07-25 11:40:11] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e0adc0012d966c4006066658001b015d27..."} 
[2026-07-25 11:40:11] local.INFO: Packet analysis {"connection_id":141047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:40:11] local.INFO: Extracted packet for processing {"connection_id":141047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e0"} 
[2026-07-25 11:40:11] local.INFO: GPS Element Parsed {"raw_longitude":764832832,"raw_latitude":101082712,"longitude_deg":76.4832832,"latitude_deg":10.1082712,"altitude":27,"angle":349,"satellites":39,"speed":0,"hex_longitude":"2d966c40","hex_latitude":"06066658","is_valid_coordinates":true} 
[2026-07-25 11:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949632256001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607705644658477056,"note":"Value kept but may cause issues"} 
[2026-07-25 11:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784959512000,"timestamp_ms":1784959512000,"timestamp_seconds":1784959512,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e0adc0"} 
[2026-07-25 11:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 11:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949632256001,"66":27908,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607705644658477056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949632256001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:40:11] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:40:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607705644658477056,"description":"Unknown IO ID 45"} 
[2026-07-25 11:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949632256001,"power":27908,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607705644658477056}} 
[2026-07-25 11:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":141047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:40:11] local.INFO: GPS data processed {"connection_id":141047,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:40:11] local.INFO: Acknowledgment sent {"connection_id":141047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:40:52] local.INFO: TCP Data received {"connection_id":143398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:52] local.INFO: Processing buffer {"connection_id":143398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:52] local.INFO: IMEI packet received {"connection_id":143398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":143398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:40:56] local.INFO: TCP Data received {"connection_id":143398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:56] local.INFO: Processing buffer {"connection_id":143398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:40:56] local.INFO: IMEI packet received {"connection_id":143398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":143398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:41:00] local.INFO: TCP Data received {"connection_id":143398,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:41:00] local.INFO: Processing buffer {"connection_id":143398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:41:00] local.INFO: IMEI packet received {"connection_id":143398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":143398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:41:01] local.INFO: TCP Data received {"connection_id":143398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:41:01] local.INFO: Processing buffer {"connection_id":143398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:41:01] local.INFO: Packet analysis {"connection_id":143398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:41:01] local.INFO: Extracted packet for processing {"connection_id":143398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:41:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:41:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:41:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":143398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:41:01] local.INFO: GPS data processed {"connection_id":143398,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:41:01] local.INFO: Acknowledgment sent {"connection_id":143398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:41:30] local.INFO: TCP Data received {"connection_id":140985,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:41:30] local.INFO: Processing buffer {"connection_id":140985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:41:30] local.INFO: IMEI packet received {"connection_id":140985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":140985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:41:33] local.INFO: TCP Data received {"connection_id":143398,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:41:33] local.INFO: Processing buffer {"connection_id":143398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:41:33] local.INFO: Packet analysis {"connection_id":143398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:41:33] local.INFO: Extracted packet for processing {"connection_id":143398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:41:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:41:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":143398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:41:33] local.INFO: GPS data processed {"connection_id":143398,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:41:33] local.INFO: Acknowledgment sent {"connection_id":143398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:41:55] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:41:55] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:41:55] local.INFO: IMEI packet received {"connection_id":141048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":141048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:42:00] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:42:00] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:42:00] local.INFO: IMEI packet received {"connection_id":141048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":141048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:42:01] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:42:01] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:42:01] local.INFO: Packet analysis {"connection_id":141048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:42:01] local.INFO: Extracted packet for processing {"connection_id":141048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:42:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:42:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:42:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":141048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:42:01] local.INFO: GPS data processed {"connection_id":141048,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:42:01] local.INFO: Acknowledgment sent {"connection_id":141048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:42:32] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:42:32] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:42:32] local.INFO: Packet analysis {"connection_id":141048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:42:32] local.INFO: Extracted packet for processing {"connection_id":141048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:42:32] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":141048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:42:32] local.INFO: GPS data processed {"connection_id":141048,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:42:32] local.INFO: Acknowledgment sent {"connection_id":141048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:42:54] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:54] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:54] local.INFO: IMEI packet received {"connection_id":140986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":140986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:42:55] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:55] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:55] local.INFO: IMEI packet received {"connection_id":140986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":140986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:42:55] local.INFO: TCP Data received {"connection_id":143399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:42:55] local.INFO: Processing buffer {"connection_id":143399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:42:55] local.INFO: IMEI packet received {"connection_id":143399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":143399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:42:58] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:58] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:42:58] local.INFO: IMEI packet received {"connection_id":140986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":140986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:42:59] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 11:42:59] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 11:42:59] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 11:42:59] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:42:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:42:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:42:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 11:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 11:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 11:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 11:42:59] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 11:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 11:42:59] local.ERROR: GPS data processing failed {"connection_id":140986,"error":"No valid data to process"} 
[2026-07-25 11:42:59] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 11:43:00] local.INFO: TCP Data received {"connection_id":143399,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:43:00] local.INFO: Processing buffer {"connection_id":143399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:43:00] local.INFO: IMEI packet received {"connection_id":143399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":143399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:43:02] local.INFO: TCP Data received {"connection_id":143399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:43:02] local.INFO: Processing buffer {"connection_id":143399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:43:02] local.INFO: Packet analysis {"connection_id":143399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:43:02] local.INFO: Extracted packet for processing {"connection_id":143399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:43:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:43:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":143399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:43:02] local.INFO: GPS data processed {"connection_id":143399,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:43:02] local.INFO: Acknowledgment sent {"connection_id":143399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:43:30] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 11:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 11:43:30] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 11:43:30] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 11:43:30] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 11:43:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:43:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:43:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 11:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 11:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 11:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 11:43:30] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 11:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 11:43:30] local.ERROR: GPS data processing failed {"connection_id":140986,"error":"No valid data to process"} 
[2026-07-25 11:43:30] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 11:43:33] local.INFO: TCP Data received {"connection_id":143399,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:43:33] local.INFO: Processing buffer {"connection_id":143399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:43:33] local.INFO: Packet analysis {"connection_id":143399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:43:33] local.INFO: Extracted packet for processing {"connection_id":143399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:43:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:43:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:43:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":143399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:43:33] local.INFO: GPS data processed {"connection_id":143399,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:43:33] local.INFO: Acknowledgment sent {"connection_id":143399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:43:55] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:43:55] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:43:55] local.INFO: IMEI packet received {"connection_id":140988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":140988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:44:00] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:44:00] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:44:00] local.INFO: IMEI packet received {"connection_id":140988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":140988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:44:01] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e85a980100000000000000000000000000..."} 
[2026-07-25 11:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e85a980100000000000000000000000000..."} 
[2026-07-25 11:44:01] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e85a980100000000000000000000000000..."} 
[2026-07-25 11:44:01] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e8"} 
[2026-07-25 11:44:01] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e8"} 
[2026-07-25 11:44: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-07-25 11:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784960015000,"timestamp_ms":1784960015000,"timestamp_seconds":1784960015,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e85a98"} 
[2026-07-25 11:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 11:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:44: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-07-25 11:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:44:01] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:44:01] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:44:02] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:44:02] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:44:02] local.INFO: Packet analysis {"connection_id":140988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:44:02] local.INFO: Extracted packet for processing {"connection_id":140988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:44:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:44:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:44:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":140988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:44:02] local.INFO: GPS data processed {"connection_id":140988,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:44:02] local.INFO: Acknowledgment sent {"connection_id":140988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:44:33] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e8aca00100000000000000000000000000..."} 
[2026-07-25 11:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e8aca00100000000000000000000000000..."} 
[2026-07-25 11:44:33] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e8aca00100000000000000000000000000..."} 
[2026-07-25 11:44:33] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e8"} 
[2026-07-25 11:44:33] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e8"} 
[2026-07-25 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960036000,"timestamp_ms":1784960036000,"timestamp_seconds":1784960036,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e8aca0"} 
[2026-07-25 11:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-07-25 11:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:44:33] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:44:33] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:44:33] local.INFO: TCP Data received {"connection_id":140988,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:44:33] local.INFO: Processing buffer {"connection_id":140988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:44:33] local.INFO: Packet analysis {"connection_id":140988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:44:33] local.INFO: Extracted packet for processing {"connection_id":140988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:44:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:44:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":140988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:44:33] local.INFO: GPS data processed {"connection_id":140988,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:44:33] local.INFO: Acknowledgment sent {"connection_id":140988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:45:01] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:01] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:01] local.INFO: IMEI packet received {"connection_id":141049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":141049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:45:04] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e8fea80100000000000000000000000000..."} 
[2026-07-25 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e8fea80100000000000000000000000000..."} 
[2026-07-25 11:45:04] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e8fea80100000000000000000000000000..."} 
[2026-07-25 11:45:04] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e8"} 
[2026-07-25 11:45:04] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e8"} 
[2026-07-25 11:45:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784960057000,"timestamp_ms":1784960057000,"timestamp_seconds":1784960057,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e8fea8"} 
[2026-07-25 11:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 11:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:45:04] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:45:04] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:45:06] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:06] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:06] local.INFO: IMEI packet received {"connection_id":141049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":141049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:45:07] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:45:07] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:45:07] local.INFO: Packet analysis {"connection_id":141049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:45:07] local.INFO: Extracted packet for processing {"connection_id":141049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:45:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:45:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":141049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:45:07] local.INFO: GPS data processed {"connection_id":141049,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:45:07] local.INFO: Acknowledgment sent {"connection_id":141049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:45:11] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:45:11] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e54970012d966ec006066650001a015d23..."} 
[2026-07-25 11:45:11] local.INFO: Packet analysis {"connection_id":141049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:45:11] local.INFO: Extracted packet for processing {"connection_id":141049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e5"} 
[2026-07-25 11:45:11] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949635072001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7607635275914258432,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784959814000,"timestamp_ms":1784959814000,"timestamp_seconds":1784959814,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e54970"} 
[2026-07-25 11:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 11:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949635072001,"66":26180,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7607635275914258432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949635072001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:45:11] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:45:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7607635275914258432,"description":"Unknown IO ID 45"} 
[2026-07-25 11:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949635072001,"power":26180,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7607635275914258432}} 
[2026-07-25 11:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":141049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:45:11] local.INFO: GPS data processed {"connection_id":141049,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:45:11] local.INFO: Acknowledgment sent {"connection_id":141049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:45:35] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e950b00100000000000000000000000000..."} 
[2026-07-25 11:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e950b00100000000000000000000000000..."} 
[2026-07-25 11:45:35] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e950b00100000000000000000000000000..."} 
[2026-07-25 11:45:35] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:45:35] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:45:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:45:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784960078000,"timestamp_ms":1784960078000,"timestamp_seconds":1784960078,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e950b0"} 
[2026-07-25 11:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 11:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:45:35] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:45:35] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:45:52] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:52] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:52] local.INFO: IMEI packet received {"connection_id":141050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":141050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:45:59] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:59] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:45:59] local.INFO: IMEI packet received {"connection_id":141050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":141050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:46:06] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:46:06] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:46:06] local.INFO: IMEI packet received {"connection_id":141050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":141050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:46:06] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9a2b80100000000000000000000000000..."} 
[2026-07-25 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9a2b80100000000000000000000000000..."} 
[2026-07-25 11:46:06] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9a2b80100000000000000000000000000..."} 
[2026-07-25 11:46:06] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:06] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784960099000,"timestamp_ms":1784960099000,"timestamp_seconds":1784960099,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9a2b8"} 
[2026-07-25 11:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-25 11:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:46:06] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:46:06] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:46:07] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:07] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:07] local.INFO: Packet analysis {"connection_id":141050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:07] local.INFO: Extracted packet for processing {"connection_id":141050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:07] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:46:07] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:46:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":141050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:46:07] local.INFO: GPS data processed {"connection_id":141050,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:46:07] local.INFO: Acknowledgment sent {"connection_id":141050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:46:08] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:08] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:08] local.INFO: Packet analysis {"connection_id":141050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:08] local.INFO: Extracted packet for processing {"connection_id":141050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:08] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":141050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:46:08] local.INFO: GPS data processed {"connection_id":141050,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:46:08] local.INFO: Acknowledgment sent {"connection_id":141050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:46:37] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9f4c00100000000000000000000000000..."} 
[2026-07-25 11:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9f4c00100000000000000000000000000..."} 
[2026-07-25 11:46:37] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9f4c00100000000000000000000000000..."} 
[2026-07-25 11:46:37] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:37] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784960120000,"timestamp_ms":1784960120000,"timestamp_seconds":1784960120,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9f4c0"} 
[2026-07-25 11:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 11:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:46: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-07-25 11:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:46:37] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:46:37] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:46:39] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:39] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:46:39] local.INFO: Packet analysis {"connection_id":141050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:39] local.INFO: Extracted packet for processing {"connection_id":141050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:46:39] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:46:39] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:46:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":141050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:46:39] local.INFO: GPS data processed {"connection_id":141050,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:46:39] local.INFO: Acknowledgment sent {"connection_id":141050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:46:57] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:46:57] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:46:57] local.INFO: IMEI packet received {"connection_id":141051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":141051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:47:01] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:47:01] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:47:01] local.INFO: IMEI packet received {"connection_id":141051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":141051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:47:02] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:47:02] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:47:02] local.INFO: Packet analysis {"connection_id":141051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:47:02] local.INFO: Extracted packet for processing {"connection_id":141051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:47:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:47:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":141051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:47:02] local.INFO: GPS data processed {"connection_id":141051,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:47:02] local.INFO: Acknowledgment sent {"connection_id":141051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:47:05] local.INFO: TCP Data received {"connection_id":140987,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:47:05] local.INFO: Processing buffer {"connection_id":140987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:47:05] local.INFO: IMEI packet received {"connection_id":140987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":140987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:47:08] local.INFO: TCP Data received {"connection_id":140986,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ea46c80100000000000000000000000000..."} 
[2026-07-25 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ea46c80100000000000000000000000000..."} 
[2026-07-25 11:47:08] local.INFO: Processing buffer {"connection_id":140986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ea46c80100000000000000000000000000..."} 
[2026-07-25 11:47:08] local.INFO: Packet analysis {"connection_id":140986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ea"} 
[2026-07-25 11:47:08] local.INFO: Extracted packet for processing {"connection_id":140986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ea"} 
[2026-07-25 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784960141000,"timestamp_ms":1784960141000,"timestamp_seconds":1784960141,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ea46c8"} 
[2026-07-25 11:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 11:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:47: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-07-25 11:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":140986,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:47:08] local.INFO: GPS data processed {"connection_id":140986,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:47:08] local.INFO: Acknowledgment sent {"connection_id":140986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:47:34] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:47:34] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:47:34] local.INFO: Packet analysis {"connection_id":141051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:47:34] local.INFO: Extracted packet for processing {"connection_id":141051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:47:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:47:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":141051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:47:34] local.INFO: GPS data processed {"connection_id":141051,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:47:34] local.INFO: Acknowledgment sent {"connection_id":141051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:47:38] local.INFO: TCP Data received {"connection_id":143400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:47:38] local.INFO: Processing buffer {"connection_id":143400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:47:38] local.INFO: IMEI packet received {"connection_id":143400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":143400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:47:44] local.INFO: TCP Data received {"connection_id":143400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:47:44] local.INFO: Processing buffer {"connection_id":143400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:47:44] local.INFO: IMEI packet received {"connection_id":143400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":143400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:47:44] local.INFO: TCP Data received {"connection_id":143400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ea98d00100000000000000000000000000..."} 
[2026-07-25 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ea98d00100000000000000000000000000..."} 
[2026-07-25 11:47:44] local.INFO: Processing buffer {"connection_id":143400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ea98d00100000000000000000000000000..."} 
[2026-07-25 11:47:44] local.INFO: Packet analysis {"connection_id":143400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ea"} 
[2026-07-25 11:47:44] local.INFO: Extracted packet for processing {"connection_id":143400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ea"} 
[2026-07-25 11:47: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-07-25 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-07-25 11:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:47:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784960162000,"timestamp_ms":1784960162000,"timestamp_seconds":1784960162,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ea98d0"} 
[2026-07-25 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-07-25 11:47:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 11:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 11:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":143400,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:47:44] local.INFO: GPS data processed {"connection_id":143400,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:47:44] local.INFO: Acknowledgment sent {"connection_id":143400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:47:56] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:47:56] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:47:56] local.INFO: IMEI packet received {"connection_id":141052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":141052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:48:00] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:48:00] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:48:00] local.INFO: IMEI packet received {"connection_id":141052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":141052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:48:02] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:48:02] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:48:02] local.INFO: Packet analysis {"connection_id":141052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:48:02] local.INFO: Extracted packet for processing {"connection_id":141052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":141052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:48:02] local.INFO: GPS data processed {"connection_id":141052,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:48:02] local.INFO: Acknowledgment sent {"connection_id":141052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:48:17] local.INFO: TCP Data received {"connection_id":143400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97eaead80100000000000000000000000000..."} 
[2026-07-25 11:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97eaead80100000000000000000000000000..."} 
[2026-07-25 11:48:17] local.INFO: Processing buffer {"connection_id":143400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97eaead80100000000000000000000000000..."} 
[2026-07-25 11:48:17] local.INFO: Packet analysis {"connection_id":143400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ea"} 
[2026-07-25 11:48:17] local.INFO: Extracted packet for processing {"connection_id":143400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ea"} 
[2026-07-25 11:48:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 11:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784960183000,"timestamp_ms":1784960183000,"timestamp_seconds":1784960183,"priority":1,"record_length":96,"hex_timestamp":"0000019f97eaead8"} 
[2026-07-25 11:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 11:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":143400,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 11:48:17] local.INFO: GPS data processed {"connection_id":143400,"processed":0,"errors":0,"total":1} 
[2026-07-25 11:48:17] local.INFO: Acknowledgment sent {"connection_id":143400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:48:33] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:48:33] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:48:33] local.INFO: Packet analysis {"connection_id":141052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:48:33] local.INFO: Extracted packet for processing {"connection_id":141052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:48:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:48:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:48:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":141052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:48:33] local.INFO: GPS data processed {"connection_id":141052,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:48:33] local.INFO: Acknowledgment sent {"connection_id":141052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:48:48] local.INFO: TCP Data received {"connection_id":143400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97eb0630012d7eec8005e781f00008014d09..."} 
[2026-07-25 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97eb0630012d7eec8005e781f00008014d09..."} 
[2026-07-25 11:48:48] local.INFO: Processing buffer {"connection_id":143400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97eb0630012d7eec8005e781f00008014d09..."} 
[2026-07-25 11:48:48] local.INFO: Packet analysis {"connection_id":143400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97eb"} 
[2026-07-25 11:48:48] local.INFO: Extracted packet for processing {"connection_id":143400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97eb"} 
[2026-07-25 11:48:48] local.INFO: GPS Element Parsed {"raw_longitude":763292800,"raw_latitude":99058160,"longitude_deg":76.32928,"latitude_deg":9.905816,"altitude":8,"angle":333,"satellites":9,"speed":14,"hex_longitude":"2d7eec80","hex_latitude":"05e781f0","is_valid_coordinates":true} 
[2026-07-25 11:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110130198489333760,"note":"Value kept but may cause issues"} 
[2026-07-25 11:48:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 11:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784960190000,"timestamp_ms":1784960190000,"timestamp_seconds":1784960190,"priority":1,"record_length":96,"hex_timestamp":"0000019f97eb0630"} 
[2026-07-25 11:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 11:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13526,"131":206,"87":13824,"24":14,"16":110130198489333760},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16]} 
[2026-07-25 11:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 11:48:49] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 11:48:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110130198489333760,"km_value":110130198489333.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:48:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13526,"unknown_131":206,"unknown_87":13824,"ignition":14,"odometer":null}} 
[2026-07-25 11:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":143400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:48:49] local.INFO: GPS data processed {"connection_id":143400,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:48:49] local.INFO: Acknowledgment sent {"connection_id":143400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:49:01] local.INFO: TCP Data received {"connection_id":142038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:01] local.INFO: Processing buffer {"connection_id":142038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:01] local.INFO: IMEI packet received {"connection_id":142038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":142038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:49:06] local.INFO: TCP Data received {"connection_id":142038,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:06] local.INFO: Processing buffer {"connection_id":142038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:06] local.INFO: IMEI packet received {"connection_id":142038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":142038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:49:08] local.INFO: TCP Data received {"connection_id":142038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:49:08] local.INFO: Processing buffer {"connection_id":142038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:49:08] local.INFO: Packet analysis {"connection_id":142038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:49:08] local.INFO: Extracted packet for processing {"connection_id":142038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:49:08] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:49:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":142038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:49:08] local.INFO: GPS data processed {"connection_id":142038,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:49:08] local.INFO: Acknowledgment sent {"connection_id":142038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:49:12] local.INFO: TCP Data received {"connection_id":142038,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:49:12] local.INFO: Processing buffer {"connection_id":142038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:49:12] local.INFO: Packet analysis {"connection_id":142038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:49:12] local.INFO: Extracted packet for processing {"connection_id":142038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:49:12] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:49:12] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:49:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":142038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:49:12] local.INFO: GPS data processed {"connection_id":142038,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:49:12] local.INFO: Acknowledgment sent {"connection_id":142038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:49:33] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:49:33] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:49:33] local.INFO: IMEI packet received {"connection_id":141053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":141053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:49:35] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:49:35] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:49:35] local.INFO: IMEI packet received {"connection_id":141053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":141053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:49:36] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ed7348012d7e9b4005e87da80006000110..."} 
[2026-07-25 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ed7348012d7e9b4005e87da80006000110..."} 
[2026-07-25 11:49:36] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ed7348012d7e9b4005e87da80006000110..."} 
[2026-07-25 11:49:36] local.INFO: Packet analysis {"connection_id":141053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:49:36] local.INFO: Extracted packet for processing {"connection_id":141053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":763272000,"raw_latitude":99122600,"longitude_deg":76.3272,"latitude_deg":9.91226,"altitude":6,"angle":1,"satellites":16,"speed":16,"hex_longitude":"2d7e9b40","hex_latitude":"05e87da8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 11:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949847040001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133544268857344,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123448445496641536,"note":"Value kept but may cause issues"} 
[2026-07-25 11:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784960349000,"timestamp_ms":1784960349000,"timestamp_seconds":1784960349,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ed7348"} 
[2026-07-25 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-07-25 11:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":80,"data_length":795,"current_offset":136} 
[2026-07-25 11:49: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-07-25 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-07-25 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-07-25 11:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:49: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-07-25 11:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949847040001,"66":13493,"30":206,"87":13824,"24":16,"16":110133544268857344,"45":9123448445496641536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949847040001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:49:36] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:49:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133544268857344,"km_value":110133544268857.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123448445496641536,"description":"Unknown IO ID 45"} 
[2026-07-25 11:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949847040001,"power":13493,"unknown_30":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9123448445496641536}} 
[2026-07-25 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":141053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:49:36] local.INFO: GPS data processed {"connection_id":141053,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:49:36] local.INFO: Acknowledgment sent {"connection_id":141053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:49:57] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:57] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:49:57] local.INFO: IMEI packet received {"connection_id":140990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":140990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:50:00] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:00] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:00] local.INFO: IMEI packet received {"connection_id":140990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":140990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:50:02] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:50:02] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:50:02] local.INFO: Packet analysis {"connection_id":140990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:50:02] local.INFO: Extracted packet for processing {"connection_id":140990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:50:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:50:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":140990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:50:02] local.INFO: GPS data processed {"connection_id":140990,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:50:02] local.INFO: Acknowledgment sent {"connection_id":140990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:50:07] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ed7f00012d7e9ac005e882400006015b11..."} 
[2026-07-25 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ed7f00012d7e9ac005e882400006015b11..."} 
[2026-07-25 11:50:07] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ed7f00012d7e9ac005e882400006015b11..."} 
[2026-07-25 11:50:07] local.INFO: Packet analysis {"connection_id":141053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:50:07] local.INFO: Extracted packet for processing {"connection_id":141053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":763271872,"raw_latitude":99123776,"longitude_deg":76.3271872,"latitude_deg":9.9123776,"altitude":6,"angle":347,"satellites":17,"speed":13,"hex_longitude":"2d7e9ac0","hex_latitude":"05e88240","is_valid_coordinates":true} 
[2026-07-25 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949849344001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133600103432192,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122955864288634880,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784960352000,"timestamp_ms":1784960352000,"timestamp_seconds":1784960352,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ed7f00"} 
[2026-07-25 11:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-25 11:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949849344001,"66":12982,"30":206,"87":13824,"24":13,"16":110133600103432192,"45":9122955864288634880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949849344001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:50:07] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133600103432192,"km_value":110133600103432.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122955864288634880,"description":"Unknown IO ID 45"} 
[2026-07-25 11:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949849344001,"power":12982,"unknown_30":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9122955864288634880}} 
[2026-07-25 11:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":141053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:50:07] local.INFO: GPS data processed {"connection_id":141053,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:50:07] local.INFO: Acknowledgment sent {"connection_id":141053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:50:33] local.INFO: TCP Data received {"connection_id":140990,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:50:33] local.INFO: Processing buffer {"connection_id":140990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97e9e138012d966ec006066650001a015d24..."} 
[2026-07-25 11:50:33] local.INFO: Packet analysis {"connection_id":140990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:50:33] local.INFO: Extracted packet for processing {"connection_id":140990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97e9"} 
[2026-07-25 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949712384001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960115000,"timestamp_ms":1784960115000,"timestamp_seconds":1784960115,"priority":1,"record_length":96,"hex_timestamp":"0000019f97e9e138"} 
[2026-07-25 11:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 11:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949712384001,"66":25875,"172":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,79,24,16,45]} 
[2026-07-25 11:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949712384001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:50:33] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-07-25 11:50:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949712384001,"power":25875,"unknown_172":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":140990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:50:33] local.INFO: GPS data processed {"connection_id":140990,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:50:33] local.INFO: Acknowledgment sent {"connection_id":140990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:50:33] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:50:33] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:50:33] local.INFO: IMEI packet received {"connection_id":140991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":140991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:50:38] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:50:38] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:50:38] local.INFO: IMEI packet received {"connection_id":140991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":140991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:50:39] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ed86d0012d7e998005e884a00007014a11..."} 
[2026-07-25 11:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ed86d0012d7e998005e884a00007014a11..."} 
[2026-07-25 11:50:39] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ed86d0012d7e998005e884a00007014a11..."} 
[2026-07-25 11:50:39] local.INFO: Packet analysis {"connection_id":140991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:50:39] local.INFO: Extracted packet for processing {"connection_id":140991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":763271552,"raw_latitude":99124384,"longitude_deg":76.3271552,"latitude_deg":9.9124384,"altitude":7,"angle":330,"satellites":17,"speed":12,"hex_longitude":"2d7e9980","hex_latitude":"05e884a0","is_valid_coordinates":true} 
[2026-07-25 11:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949850112001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133634463170560,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122815126800580608,"note":"Value kept but may cause issues"} 
[2026-07-25 11:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784960354000,"timestamp_ms":1784960354000,"timestamp_seconds":1784960354,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ed86d0"} 
[2026-07-25 11:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 11:50: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-07-25 11:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":140991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":140991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":140991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:50: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-07-25 11:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949850112001,"66":13406,"30":206,"87":13824,"24":12,"16":110133634463170560,"45":9122815126800580608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949850112001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:50:39] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:50:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133634463170560,"km_value":110133634463170.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122815126800580608,"description":"Unknown IO ID 45"} 
[2026-07-25 11:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949850112001,"power":13406,"unknown_30":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9122815126800580608}} 
[2026-07-25 11:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":140991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:50:39] local.INFO: GPS data processed {"connection_id":140991,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:50:39] local.INFO: Acknowledgment sent {"connection_id":140991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:50:53] local.INFO: TCP Data received {"connection_id":142039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:53] local.INFO: Processing buffer {"connection_id":142039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:53] local.INFO: IMEI packet received {"connection_id":142039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":142039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:50:55] local.INFO: TCP Data received {"connection_id":142039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:55] local.INFO: Processing buffer {"connection_id":142039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:50:55] local.INFO: IMEI packet received {"connection_id":142039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":142039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:51:02] local.INFO: TCP Data received {"connection_id":142039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:51:02] local.INFO: Processing buffer {"connection_id":142039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:51:02] local.INFO: IMEI packet received {"connection_id":142039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":142039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:51:03] local.INFO: TCP Data received {"connection_id":142039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:51:03] local.INFO: Processing buffer {"connection_id":142039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:51:03] local.INFO: Packet analysis {"connection_id":142039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:51:03] local.INFO: Extracted packet for processing {"connection_id":142039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 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-07-25 11:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 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-07-25 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 11:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:51:03] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:51:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":142039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:51:03] local.INFO: GPS data processed {"connection_id":142039,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:51:03] local.INFO: Acknowledgment sent {"connection_id":142039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:51:10] local.INFO: TCP Data received {"connection_id":140991,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97edd4f0012d7e97c005e887b80005014d11..."} 
[2026-07-25 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97edd4f0012d7e97c005e887b80005014d11..."} 
[2026-07-25 11:51:10] local.INFO: Processing buffer {"connection_id":140991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97edd4f0012d7e97c005e887b80005014d11..."} 
[2026-07-25 11:51:10] local.INFO: Packet analysis {"connection_id":140991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:51:10] local.INFO: Extracted packet for processing {"connection_id":140991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ed"} 
[2026-07-25 11:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763271104,"raw_latitude":99125176,"longitude_deg":76.3271104,"latitude_deg":9.9125176,"altitude":5,"angle":333,"satellites":17,"speed":0,"hex_longitude":"2d7e97c0","hex_latitude":"05e887b8","is_valid_coordinates":true} 
[2026-07-25 11:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949850624001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133681707810816,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122463283079847936,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784960374000,"timestamp_ms":1784960374000,"timestamp_seconds":1784960374,"priority":1,"record_length":96,"hex_timestamp":"0000019f97edd4f0"} 
[2026-07-25 11:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-25 11:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":140991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":140991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":140991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949850624001,"66":13406,"30":206,"87":13824,"24":0,"16":110133681707810816,"45":9122463283079847936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949850624001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:51:10] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:51:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133681707810816,"km_value":110133681707810.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122463283079847936,"description":"Unknown IO ID 45"} 
[2026-07-25 11:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949850624001,"power":13406,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9122463283079847936}} 
[2026-07-25 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":140991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:51:11] local.INFO: GPS data processed {"connection_id":140991,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:51:11] local.INFO: Acknowledgment sent {"connection_id":140991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:51:33] local.INFO: TCP Data received {"connection_id":143401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:51:33] local.INFO: Processing buffer {"connection_id":143401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:51:33] local.INFO: IMEI packet received {"connection_id":143401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":143401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:51:34] local.INFO: TCP Data received {"connection_id":142039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:51:34] local.INFO: Processing buffer {"connection_id":142039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:51:34] local.INFO: Packet analysis {"connection_id":142039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:51:34] local.INFO: Extracted packet for processing {"connection_id":142039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:51:34] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:51: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-07-25 11:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:51:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:51:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":142039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:51:34] local.INFO: GPS data processed {"connection_id":142039,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:51:34] local.INFO: Acknowledgment sent {"connection_id":142039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:51:36] local.INFO: TCP Data received {"connection_id":143401,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:51:36] local.INFO: Processing buffer {"connection_id":143401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:51:36] local.INFO: IMEI packet received {"connection_id":143401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":143401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:51:37] local.INFO: TCP Data received {"connection_id":143401,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ef7300012d7e88c005e88310000700e715..."} 
[2026-07-25 11:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ef7300012d7e88c005e88310000700e715..."} 
[2026-07-25 11:51:37] local.INFO: Processing buffer {"connection_id":143401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ef7300012d7e88c005e88310000700e715..."} 
[2026-07-25 11:51:37] local.INFO: Packet analysis {"connection_id":143401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:51:37] local.INFO: Extracted packet for processing {"connection_id":143401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763267264,"raw_latitude":99123984,"longitude_deg":76.3267264,"latitude_deg":9.9123984,"altitude":7,"angle":231,"satellites":21,"speed":2,"hex_longitude":"2d7e88c0","hex_latitude":"05e88310","is_valid_coordinates":true} 
[2026-07-25 11:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949881600001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133952290750464,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9118100420940769280,"note":"Value kept but may cause issues"} 
[2026-07-25 11:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784960480000,"timestamp_ms":1784960480000,"timestamp_seconds":1784960480,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ef7300"} 
[2026-07-25 11:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 11:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11: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-07-25 11:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949881600001,"66":13254,"30":206,"87":13824,"24":2,"16":110133952290750464,"45":9118100420940769280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949881600001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:51:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:51:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133952290750464,"km_value":110133952290750.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9118100420940769280,"description":"Unknown IO ID 45"} 
[2026-07-25 11:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949881600001,"power":13254,"unknown_30":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9118100420940769280}} 
[2026-07-25 11:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":143401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:51:37] local.INFO: GPS data processed {"connection_id":143401,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:51:37] local.INFO: Acknowledgment sent {"connection_id":143401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:52:00] local.INFO: TCP Data received {"connection_id":142040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:00] local.INFO: Processing buffer {"connection_id":142040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:00] local.INFO: IMEI packet received {"connection_id":142040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":142040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:52:06] local.INFO: TCP Data received {"connection_id":142040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:06] local.INFO: Processing buffer {"connection_id":142040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:06] local.INFO: IMEI packet received {"connection_id":142040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":142040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:52:07] local.INFO: TCP Data received {"connection_id":142040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:52:07] local.INFO: Processing buffer {"connection_id":142040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:52:07] local.INFO: Packet analysis {"connection_id":142040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:52:07] local.INFO: Extracted packet for processing {"connection_id":142040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:52:07] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:52:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":142040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:52:07] local.INFO: GPS data processed {"connection_id":142040,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:52:07] local.INFO: Acknowledgment sent {"connection_id":142040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:52:08] local.INFO: TCP Data received {"connection_id":143401,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ef8e58012d7e86c005e88218000700d015..."} 
[2026-07-25 11:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ef8e58012d7e86c005e88218000700d015..."} 
[2026-07-25 11:52:08] local.INFO: Processing buffer {"connection_id":143401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ef8e58012d7e86c005e88218000700d015..."} 
[2026-07-25 11:52:08] local.INFO: Packet analysis {"connection_id":143401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:52:08] local.INFO: Extracted packet for processing {"connection_id":143401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763266752,"raw_latitude":99123736,"longitude_deg":76.3266752,"latitude_deg":9.9123736,"altitude":7,"angle":208,"satellites":21,"speed":0,"hex_longitude":"2d7e86c0","hex_latitude":"05e88218","is_valid_coordinates":true} 
[2026-07-25 11:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949882880001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133982355521536,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117748577219842048,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784960487000,"timestamp_ms":1784960487000,"timestamp_seconds":1784960487,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ef8e58"} 
[2026-07-25 11:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 11:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:52: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-07-25 11:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949882880001,"66":13319,"30":206,"87":13824,"24":0,"16":110133982355521536,"45":9117748577219842048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949882880001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:52:08] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133982355521536,"km_value":110133982355521.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117748577219842048,"description":"Unknown IO ID 45"} 
[2026-07-25 11:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949882880001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9117748577219842048}} 
[2026-07-25 11:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":143401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:52:08] local.INFO: GPS data processed {"connection_id":143401,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:52:08] local.INFO: Acknowledgment sent {"connection_id":143401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:52:11] local.INFO: TCP Data received {"connection_id":142040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:52:11] local.INFO: Processing buffer {"connection_id":142040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:52:11] local.INFO: Packet analysis {"connection_id":142040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:52:11] local.INFO: Extracted packet for processing {"connection_id":142040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:52:11] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:52:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":142040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:52:11] local.INFO: GPS data processed {"connection_id":142040,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:52:11] local.INFO: Acknowledgment sent {"connection_id":142040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:52:33] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:33] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:33] local.INFO: IMEI packet received {"connection_id":142041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":142041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:52:34] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:34] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:34] local.INFO: IMEI packet received {"connection_id":142041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":142041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:52:36] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:36] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:36] local.INFO: IMEI packet received {"connection_id":142041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":142041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:52:38] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:38] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:52:38] local.INFO: IMEI packet received {"connection_id":142041,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":142041,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:52:39] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ef9240012d7e86c005e881f8000700c215..."} 
[2026-07-25 11:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ef9240012d7e86c005e881f8000700c215..."} 
[2026-07-25 11:52:39] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ef9240012d7e86c005e881f8000700c215..."} 
[2026-07-25 11:52:39] local.INFO: Packet analysis {"connection_id":142041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:52:39] local.INFO: Extracted packet for processing {"connection_id":142041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763266752,"raw_latitude":99123704,"longitude_deg":76.3266752,"latitude_deg":9.9123704,"altitude":7,"angle":194,"satellites":21,"speed":0,"hex_longitude":"2d7e86c0","hex_latitude":"05e881f8","is_valid_coordinates":true} 
[2026-07-25 11:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949884672001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133982355521536,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117185627266357248,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784960488000,"timestamp_ms":1784960488000,"timestamp_seconds":1784960488,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ef9240"} 
[2026-07-25 11:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2548996160,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4011659265,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8775263852440907264,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4026609022,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.WARNING: Large IO value detected {"io_id":238,"raw_value":7030120313234243589,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:39] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,30,87,24,241,157,16,70,159,115,45,192,131,7,21,10,66,95,8,40,128,1,240,79,227,151,232,4,113,205,3,206,150,19,239,52,2,135,5,187,238],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 11:52:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504631946878386176,"timestamp_seconds":504631946878386.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:52: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-07-25 11:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949884672001,"66":13319,"30":206,"87":13824,"24":0,"16":110133982355521536,"45":9117185627266357248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949884672001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:52:39] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:52:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133982355521536,"km_value":110133982355521.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117185627266357248,"description":"Unknown IO ID 45"} 
[2026-07-25 11:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949884672001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9117185627266357248}} 
[2026-07-25 11:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":142041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:52:39] local.INFO: GPS data processed {"connection_id":142041,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:52:39] local.INFO: Acknowledgment sent {"connection_id":142041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:52:41] local.INFO: TCP Data received {"connection_id":140989,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:52:41] local.INFO: Processing buffer {"connection_id":140989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:52:41] local.INFO: IMEI packet received {"connection_id":140989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":140989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:52:44] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97efad98012d7e870005e88168000600e015..."} 
[2026-07-25 11:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97efad98012d7e870005e88168000600e015..."} 
[2026-07-25 11:52:44] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97efad98012d7e870005e88168000600e015..."} 
[2026-07-25 11:52:44] local.INFO: Packet analysis {"connection_id":142041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:52:44] local.INFO: Extracted packet for processing {"connection_id":142041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:52:44] local.INFO: GPS Element Parsed {"raw_longitude":763266816,"raw_latitude":99123560,"longitude_deg":76.3266816,"latitude_deg":9.912356,"altitude":6,"angle":224,"satellites":21,"speed":3,"hex_longitude":"2d7e8700","hex_latitude":"05e88168","is_valid_coordinates":true} 
[2026-07-25 11:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949884928001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110133990945456128,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117185627266349056,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784960495000,"timestamp_ms":1784960495000,"timestamp_seconds":1784960495,"priority":1,"record_length":96,"hex_timestamp":"0000019f97efad98"} 
[2026-07-25 11:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:52: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-07-25 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2549010160,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4012427265,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8766256653197176064,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2147870852,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138849,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3901128704,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.WARNING: Large IO value detected {"io_id":238,"raw_value":-7475974086526091259,"note":"Value kept but may cause issues"} 
[2026-07-25 11:52:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,30,87,24,241,157,16,70,159,142,45,192,130,7,21,10,66,115,131,95,1,240,62,227,151,232,4,113,205,3,29,144,18,239,51,2,135,5,6,116,238],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 11:52:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504616553715597312,"timestamp_seconds":504616553715597.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949884928001,"66":13341,"30":206,"87":13824,"24":3,"16":110133990945456128,"45":9117185627266349056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949884928001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:52:44] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:52:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110133990945456128,"km_value":110133990945456.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117185627266349056,"description":"Unknown IO ID 45"} 
[2026-07-25 11:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949884928001,"power":13341,"unknown_30":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9117185627266349056}} 
[2026-07-25 11:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":142041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:52:44] local.INFO: GPS data processed {"connection_id":142041,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:52:44] local.INFO: Acknowledgment sent {"connection_id":142041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:52:56] local.INFO: TCP Data received {"connection_id":143402,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:56] local.INFO: Processing buffer {"connection_id":143402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:52:56] local.INFO: IMEI packet received {"connection_id":143402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":143402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:53:01] local.INFO: TCP Data received {"connection_id":143402,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:53:01] local.INFO: Processing buffer {"connection_id":143402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:53:01] local.INFO: IMEI packet received {"connection_id":143402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":143402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:53:02] local.INFO: TCP Data received {"connection_id":143402,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:53:02] local.INFO: Processing buffer {"connection_id":143402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:53:02] local.INFO: Packet analysis {"connection_id":143402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:53:02] local.INFO: Extracted packet for processing {"connection_id":143402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:53:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:53:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":143402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:53:02] local.INFO: GPS data processed {"connection_id":143402,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:53:02] local.INFO: Acknowledgment sent {"connection_id":143402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:53:15] local.INFO: TCP Data received {"connection_id":142041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97efd0c0012d7e854005e88000000500d015..."} 
[2026-07-25 11:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97efd0c0012d7e854005e88000000500d015..."} 
[2026-07-25 11:53:15] local.INFO: Processing buffer {"connection_id":142041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97efd0c0012d7e854005e88000000500d015..."} 
[2026-07-25 11:53:15] local.INFO: Packet analysis {"connection_id":142041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:53:15] local.INFO: Extracted packet for processing {"connection_id":142041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ef"} 
[2026-07-25 11:53:15] local.INFO: GPS Element Parsed {"raw_longitude":763266368,"raw_latitude":99123200,"longitude_deg":76.3266368,"latitude_deg":9.91232,"altitude":5,"angle":208,"satellites":21,"speed":1,"hex_longitude":"2d7e8540","hex_latitude":"05e88000","is_valid_coordinates":true} 
[2026-07-25 11:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949886720001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134021010227200,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117255996010489856,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784960504000,"timestamp_ms":1784960504000,"timestamp_seconds":1784960504,"priority":1,"record_length":96,"hex_timestamp":"0000019f97efd0c0"} 
[2026-07-25 11:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 11:53:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142041,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949886720001,"66":13319,"30":206,"87":13824,"24":1,"16":110134021010227200,"45":9117255996010489856},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949886720001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:53:15] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:53:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110134021010227200,"km_value":110134021010227.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117255996010489856,"description":"Unknown IO ID 45"} 
[2026-07-25 11:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949886720001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9117255996010489856}} 
[2026-07-25 11:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":142041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:53:15] local.INFO: GPS data processed {"connection_id":142041,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:53:15] local.INFO: Acknowledgment sent {"connection_id":142041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:53:33] local.INFO: TCP Data received {"connection_id":143403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:53:33] local.INFO: Processing buffer {"connection_id":143403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:53:33] local.INFO: IMEI packet received {"connection_id":143403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":143403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:53:34] local.INFO: TCP Data received {"connection_id":143402,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:53:34] local.INFO: Processing buffer {"connection_id":143402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:53:34] local.INFO: Packet analysis {"connection_id":143402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:53:34] local.INFO: Extracted packet for processing {"connection_id":143402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:53:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:53:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":143402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:53:34] local.INFO: GPS data processed {"connection_id":143402,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:53:34] local.INFO: Acknowledgment sent {"connection_id":143402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:53:38] local.INFO: TCP Data received {"connection_id":143403,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:53:38] local.INFO: Processing buffer {"connection_id":143403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:53:38] local.INFO: IMEI packet received {"connection_id":143403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":143403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:53:39] local.INFO: TCP Data received {"connection_id":143403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f01ee0012d7e854005e88018000500c714..."} 
[2026-07-25 11:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f01ee0012d7e854005e88018000500c714..."} 
[2026-07-25 11:53:39] local.INFO: Processing buffer {"connection_id":143403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f01ee0012d7e854005e88018000500c714..."} 
[2026-07-25 11:53:39] local.INFO: Packet analysis {"connection_id":143403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:53:39] local.INFO: Extracted packet for processing {"connection_id":143403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763266368,"raw_latitude":99123224,"longitude_deg":76.3266368,"latitude_deg":9.9123224,"altitude":5,"angle":199,"satellites":20,"speed":0,"hex_longitude":"2d7e8540","hex_latitude":"05e88018","is_valid_coordinates":true} 
[2026-07-25 11:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949889024001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134025305194496,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116763414801154048,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784960524000,"timestamp_ms":1784960524000,"timestamp_seconds":1784960524,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f01ee0"} 
[2026-07-25 11:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2549033160,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4017291265,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8935141630622166528,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2094175121635835909,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900952576,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 11:53:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,30,87,24,241,157,16,70,159,173,45,129,6,21,10,66,146,192,7,142,1,240,227,151,232,4,113,205,2,95,138,168,239,52,135,5,3,79],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 11:53:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360516758802595840,"timestamp_seconds":360516758802595.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:53: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-07-25 11:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949889024001,"66":13319,"30":206,"87":13824,"24":0,"16":110134025305194496,"45":9116763414801154048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949889024001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:53:39] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:53:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110134025305194496,"km_value":110134025305194.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116763414801154048,"description":"Unknown IO ID 45"} 
[2026-07-25 11:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949889024001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9116763414801154048}} 
[2026-07-25 11:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":143403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:53:39] local.INFO: GPS data processed {"connection_id":143403,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:53:39] local.INFO: Acknowledgment sent {"connection_id":143403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:53:56] local.INFO: TCP Data received {"connection_id":142042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:53:56] local.INFO: Processing buffer {"connection_id":142042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:53:56] local.INFO: IMEI packet received {"connection_id":142042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":142042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:54:01] local.INFO: TCP Data received {"connection_id":142042,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:54:01] local.INFO: Processing buffer {"connection_id":142042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:54:01] local.INFO: IMEI packet received {"connection_id":142042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":142042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:54:02] local.INFO: TCP Data received {"connection_id":142042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:54:02] local.INFO: Processing buffer {"connection_id":142042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:54:02] local.INFO: Packet analysis {"connection_id":142042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:54:02] local.INFO: Extracted packet for processing {"connection_id":142042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:54:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:54:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:54:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":142042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:54:02] local.INFO: GPS data processed {"connection_id":142042,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:54:02] local.INFO: Acknowledgment sent {"connection_id":142042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:54:10] local.INFO: TCP Data received {"connection_id":143403,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f070e8012d7e854005e88018000500c715..."} 
[2026-07-25 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f070e8012d7e854005e88018000500c715..."} 
[2026-07-25 11:54:10] local.INFO: Processing buffer {"connection_id":143403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f070e8012d7e854005e88018000500c715..."} 
[2026-07-25 11:54:10] local.INFO: Packet analysis {"connection_id":143403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:54:10] local.INFO: Extracted packet for processing {"connection_id":143403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763266368,"raw_latitude":99123224,"longitude_deg":76.3266368,"latitude_deg":9.9123224,"altitude":5,"angle":199,"satellites":21,"speed":0,"hex_longitude":"2d7e8540","hex_latitude":"05e88018","is_valid_coordinates":true} 
[2026-07-25 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949894144001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134025305194496,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116763414801160192,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784960545000,"timestamp_ms":1784960545000,"timestamp_seconds":1784960545,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f070e8"} 
[2026-07-25 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2549047160,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900942336,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4019083265,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8948652429503360256,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221612675,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2938600051767738373,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941345,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,30,87,24,241,157,16,70,159,208,45,64,128,5,21,10,66,173,129,6,146,192,1,240,7,227,151,232,4,113,205,115,136,239,51,2,135,8,62],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 11:54:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360506858902913024,"timestamp_seconds":360506858902913.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949894144001,"66":13319,"30":206,"87":13824,"24":0,"16":110134025305194496,"45":9116763414801160192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949894144001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:54:10] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:54:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110134025305194496,"km_value":110134025305194.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116763414801160192,"description":"Unknown IO ID 45"} 
[2026-07-25 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949894144001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9116763414801160192}} 
[2026-07-25 11:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":143403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:54:11] local.INFO: GPS data processed {"connection_id":143403,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:54:11] local.INFO: Acknowledgment sent {"connection_id":143403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:54:34] local.INFO: TCP Data received {"connection_id":142042,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:54:34] local.INFO: Processing buffer {"connection_id":142042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:54:34] local.INFO: Packet analysis {"connection_id":142042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:54:34] local.INFO: Extracted packet for processing {"connection_id":142042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:54: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-07-25 11:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:54:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:54:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":142042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:54:34] local.INFO: GPS data processed {"connection_id":142042,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:54:34] local.INFO: Acknowledgment sent {"connection_id":142042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:54:38] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:54:38] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:54:38] local.INFO: IMEI packet received {"connection_id":140992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":140992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:54:43] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:54:43] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:54:43] local.INFO: IMEI packet received {"connection_id":140992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":140992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:54:44] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f08c40012d7e850005e87f78000400f417..."} 
[2026-07-25 11:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f08c40012d7e850005e87f78000400f417..."} 
[2026-07-25 11:54:44] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f08c40012d7e850005e87f78000400f417..."} 
[2026-07-25 11:54:44] local.INFO: Packet analysis {"connection_id":140992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:54:44] local.INFO: Extracted packet for processing {"connection_id":140992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763266304,"raw_latitude":99123064,"longitude_deg":76.3266304,"latitude_deg":9.9123064,"altitude":4,"angle":244,"satellites":23,"speed":2,"hex_longitude":"2d7e8500","hex_latitude":"05e87f78","is_valid_coordinates":true} 
[2026-07-25 11:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949899520001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134033895129088,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116763414801160192,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784960552000,"timestamp_ms":1784960552000,"timestamp_seconds":1784960552,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f08c40"} 
[2026-07-25 11:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2549052160,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900903424,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4019339265,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-8959911424277998336,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221612674,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":239,"raw_value":6879249725716561925,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,30,87,24,241,157,16,70,159,45,64,128,5,20,10,66,208,21,173,1,240,29,227,151,232,4,113,205,142,134,239,52,2,135,7,198],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 11:54:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360506863197880320,"timestamp_seconds":360506863197880.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":140992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":140992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":140992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949899520001,"66":13276,"30":206,"87":13824,"24":2,"16":110134033895129088,"45":9116763414801160192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949899520001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:54:44] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:54:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110134033895129088,"km_value":110134033895129.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116763414801160192,"description":"Unknown IO ID 45"} 
[2026-07-25 11:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949899520001,"power":13276,"unknown_30":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9116763414801160192}} 
[2026-07-25 11:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":140992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:54:44] local.INFO: GPS data processed {"connection_id":140992,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:54:44] local.INFO: Acknowledgment sent {"connection_id":140992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:54:49] local.INFO: TCP Data received {"connection_id":140992,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f097f8012d7e844005e87f30000400e717..."} 
[2026-07-25 11:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f097f8012d7e844005e87f30000400e717..."} 
[2026-07-25 11:54:49] local.INFO: Processing buffer {"connection_id":140992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f097f8012d7e844005e87f30000400e717..."} 
[2026-07-25 11:54:49] local.INFO: Packet analysis {"connection_id":140992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:54:49] local.INFO: Extracted packet for processing {"connection_id":140992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:54:49] local.INFO: GPS Element Parsed {"raw_longitude":763266112,"raw_latitude":99122992,"longitude_deg":76.3266112,"latitude_deg":9.9122992,"altitude":4,"angle":231,"satellites":23,"speed":2,"hex_longitude":"2d7e8440","hex_latitude":"05e87f30","is_valid_coordinates":true} 
[2026-07-25 11:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949901312001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134042485063680,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116693046056941568,"note":"Value kept but may cause issues"} 
[2026-07-25 11:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784960555000,"timestamp_ms":1784960555000,"timestamp_seconds":1784960555,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f097f8"} 
[2026-07-25 11:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 11:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":140992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":140992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":140992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949901312001,"66":13319,"30":206,"87":13824,"24":2,"16":110134042485063680,"45":9116693046056941568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949901312001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:54:49] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:54:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110134042485063680,"km_value":110134042485063.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116693046056941568,"description":"Unknown IO ID 45"} 
[2026-07-25 11:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949901312001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9116693046056941568}} 
[2026-07-25 11:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":140992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:54:49] local.INFO: GPS data processed {"connection_id":140992,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:54:49] local.INFO: Acknowledgment sent {"connection_id":140992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:54:56] local.INFO: TCP Data received {"connection_id":143404,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:54:56] local.INFO: Processing buffer {"connection_id":143404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:54:56] local.INFO: IMEI packet received {"connection_id":143404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":143404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:55:01] local.INFO: TCP Data received {"connection_id":143404,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:01] local.INFO: Processing buffer {"connection_id":143404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:01] local.INFO: IMEI packet received {"connection_id":143404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":143404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:55:02] local.INFO: TCP Data received {"connection_id":143404,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:55:02] local.INFO: Processing buffer {"connection_id":143404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:55:02] local.INFO: Packet analysis {"connection_id":143404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:55:02] local.INFO: Extracted packet for processing {"connection_id":143404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:55:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:55:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:55:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":143404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:55:02] local.INFO: GPS data processed {"connection_id":143404,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:55:02] local.INFO: Acknowledgment sent {"connection_id":143404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:55:33] local.INFO: TCP Data received {"connection_id":143404,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:55:33] local.INFO: Processing buffer {"connection_id":143404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97ee7900012d966ec006066650001a015d25..."} 
[2026-07-25 11:55:33] local.INFO: Packet analysis {"connection_id":143404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:55:33] local.INFO: Extracted packet for processing {"connection_id":143404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97ee"} 
[2026-07-25 11:55:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":26,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949789440001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960416000,"timestamp_ms":1784960416000,"timestamp_seconds":1784960416,"priority":1,"record_length":96,"hex_timestamp":"0000019f97ee7900"} 
[2026-07-25 11:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:55: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-07-25 11: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-07-25 11:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949789440001,"66":25875,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949789440001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:55:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:55:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949789440001,"power":25875,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":143404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:55:33] local.INFO: GPS data processed {"connection_id":143404,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:55:33] local.INFO: Acknowledgment sent {"connection_id":143404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:55:33] local.INFO: TCP Data received {"connection_id":142043,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:55:33] local.INFO: Processing buffer {"connection_id":142043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:55:33] local.INFO: IMEI packet received {"connection_id":142043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 11:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":142043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:55:38] local.INFO: TCP Data received {"connection_id":142043,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:55:38] local.INFO: Processing buffer {"connection_id":142043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 11:55:38] local.INFO: IMEI packet received {"connection_id":142043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 11:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":142043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:55:39] local.INFO: TCP Data received {"connection_id":142043,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f0d290012d7e840005e87ef0000400e117..."} 
[2026-07-25 11:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f0d290012d7e840005e87ef0000400e117..."} 
[2026-07-25 11:55:39] local.INFO: Processing buffer {"connection_id":142043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f0d290012d7e840005e87ef0000400e117..."} 
[2026-07-25 11:55:39] local.INFO: Packet analysis {"connection_id":142043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:55:39] local.INFO: Extracted packet for processing {"connection_id":142043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f0"} 
[2026-07-25 11:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763266048,"raw_latitude":99122928,"longitude_deg":76.3266048,"latitude_deg":9.9122928,"altitude":4,"angle":225,"satellites":23,"speed":0,"hex_longitude":"2d7e8400","hex_latitude":"05e87ef0","is_valid_coordinates":true} 
[2026-07-25 11:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949902080001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116481939824390144,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784960570000,"timestamp_ms":1784960570000,"timestamp_seconds":1784960570,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f0d290"} 
[2026-07-25 11:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 11:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2549060160,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3900831744,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57809151716120374,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4023435265,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":232,"raw_value":-9072501419259456256,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629356238,"corrected_to":0} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":173,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.WARNING: Large IO value detected {"io_id":239,"raw_value":-8189794627465330683,"note":"Value kept but may cause issues"} 
[2026-07-25 11:55:39] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,30,87,24,241,157,16,70,159,140,45,127,4,23,10,66,112,64,128,5,21,1,240,7,227,151,232,113,205,173,135,104,239,52,2],"length":527,"final_offset":657,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1629356238,"validated":0}]} 
[2026-07-25 11:55:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288484462122106880,"timestamp_seconds":288484462122106.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 11:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 11:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 11:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 11:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949902080001,"66":13319,"30":206,"87":13824,"24":0,"16":110134051074998272,"45":9116481939824390144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,87,24,16,45]} 
[2026-07-25 11:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 11:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 11:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949902080001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:55:39] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 11:55:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 11:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110134051074998272,"km_value":110134051074998.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116481939824390144,"description":"Unknown IO ID 45"} 
[2026-07-25 11:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949902080001,"power":13319,"unknown_30":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9116481939824390144}} 
[2026-07-25 11:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":142043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:55:39] local.INFO: GPS data processed {"connection_id":142043,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:55:39] local.INFO: Acknowledgment sent {"connection_id":142043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:55:54] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:54] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:54] local.INFO: IMEI packet received {"connection_id":141055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":141055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:55:55] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:55] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:55:55] local.INFO: IMEI packet received {"connection_id":141055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":141055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:56:00] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:56:00] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:56:00] local.INFO: IMEI packet received {"connection_id":141055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":141055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:56:01] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:56:01] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:56:01] local.INFO: Packet analysis {"connection_id":141055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:56:01] local.INFO: Extracted packet for processing {"connection_id":141055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:56:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:56: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-07-25 11:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:56:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:56:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":141055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:56:01] local.INFO: GPS data processed {"connection_id":141055,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:56:01] local.INFO: Acknowledgment sent {"connection_id":141055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:56:33] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:56:33] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:56:33] local.INFO: Packet analysis {"connection_id":141055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:56:33] local.INFO: Extracted packet for processing {"connection_id":141055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:56:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11: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-07-25 11:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11: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-07-25 11:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:56:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:56:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":141055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:56:33] local.INFO: GPS data processed {"connection_id":141055,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:56:33] local.INFO: Acknowledgment sent {"connection_id":141055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:57:01] local.INFO: TCP Data received {"connection_id":143405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:01] local.INFO: Processing buffer {"connection_id":143405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:01] local.INFO: IMEI packet received {"connection_id":143405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":143405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:57:06] local.INFO: TCP Data received {"connection_id":143405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:06] local.INFO: Processing buffer {"connection_id":143405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:06] local.INFO: IMEI packet received {"connection_id":143405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":143405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:57:07] local.INFO: TCP Data received {"connection_id":143405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:57:07] local.INFO: Processing buffer {"connection_id":143405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:57:07] local.INFO: Packet analysis {"connection_id":143405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:57:07] local.INFO: Extracted packet for processing {"connection_id":143405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:57:07] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:57:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":143405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:57:07] local.INFO: GPS data processed {"connection_id":143405,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:57:07] local.INFO: Acknowledgment sent {"connection_id":143405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:57:11] local.INFO: TCP Data received {"connection_id":143405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:57:11] local.INFO: Processing buffer {"connection_id":143405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:57:11] local.INFO: Packet analysis {"connection_id":143405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:57:11] local.INFO: Extracted packet for processing {"connection_id":143405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:57:11] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:57:11] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:57:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":143405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:57:11] local.INFO: GPS data processed {"connection_id":143405,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:57:11] local.INFO: Acknowledgment sent {"connection_id":143405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:57:56] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:56] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:57:56] local.INFO: IMEI packet received {"connection_id":141056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":141056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:58:00] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:58:00] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:58:00] local.INFO: IMEI packet received {"connection_id":141056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":141056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:58:01] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:58:01] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:58:01] local.INFO: Packet analysis {"connection_id":141056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:58:01] local.INFO: Extracted packet for processing {"connection_id":141056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:58: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-07-25 11:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":141056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:58:01] local.INFO: GPS data processed {"connection_id":141056,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:58:01] local.INFO: Acknowledgment sent {"connection_id":141056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:58:15] local.INFO: TCP Data received {"connection_id":141054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:58:15] local.INFO: Processing buffer {"connection_id":141054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:58:15] local.INFO: IMEI packet received {"connection_id":141054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":141054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:58:32] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:58:32] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:58:32] local.INFO: Packet analysis {"connection_id":141056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:58:32] local.INFO: Extracted packet for processing {"connection_id":141056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:58:32] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:58: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-07-25 11:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:58:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:58:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":141056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:58:32] local.INFO: GPS data processed {"connection_id":141056,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:58:32] local.INFO: Acknowledgment sent {"connection_id":141056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:58:50] local.INFO: TCP Data received {"connection_id":140993,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:58:50] local.INFO: Processing buffer {"connection_id":140993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 11:58:50] local.INFO: IMEI packet received {"connection_id":140993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 11:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":140993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:58:56] local.INFO: TCP Data received {"connection_id":142044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:58:56] local.INFO: Processing buffer {"connection_id":142044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:58:56] local.INFO: IMEI packet received {"connection_id":142044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":142044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 11:59:01] local.INFO: TCP Data received {"connection_id":142044,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:59:01] local.INFO: Processing buffer {"connection_id":142044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:59:01] local.INFO: IMEI packet received {"connection_id":142044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 11:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":142044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 11:59:02] local.INFO: TCP Data received {"connection_id":142044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:59:02] local.INFO: Processing buffer {"connection_id":142044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:59:02] local.INFO: Packet analysis {"connection_id":142044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:59:02] local.INFO: Extracted packet for processing {"connection_id":142044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 11:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:59:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:59:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":142044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:59:02] local.INFO: GPS data processed {"connection_id":142044,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:59:02] local.INFO: Acknowledgment sent {"connection_id":142044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:59:33] local.INFO: TCP Data received {"connection_id":142044,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:59:33] local.INFO: Processing buffer {"connection_id":142044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 11:59:33] local.INFO: Packet analysis {"connection_id":142044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:59:33] local.INFO: Extracted packet for processing {"connection_id":142044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 11:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 11:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 11:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 11:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 11:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 11:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 11:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 11:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 11: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 11:59: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-07-25 11:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 11:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 11:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 11:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 11:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 11:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 11:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 11:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 11:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 11:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 11:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 11:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 11:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 11:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 11:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":142044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 11:59:33] local.INFO: GPS data processed {"connection_id":142044,"processed":1,"errors":0,"total":1} 
[2026-07-25 11:59:33] local.INFO: Acknowledgment sent {"connection_id":142044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 11:59:56] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:59:56] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 11:59:56] local.INFO: IMEI packet received {"connection_id":141057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 11:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":141057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:00:00] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:00] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:00] local.INFO: IMEI packet received {"connection_id":141057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":141057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:00:01] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 12:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 12:00:01] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 12:00:01] local.INFO: Packet analysis {"connection_id":141057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 12:00:01] local.INFO: Extracted packet for processing {"connection_id":141057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 12:00:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 12:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 12:00: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-07-25 12:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:00:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:00:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":141057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:00:01] local.INFO: GPS data processed {"connection_id":141057,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:00:01] local.INFO: Acknowledgment sent {"connection_id":141057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:00:33] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 12:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 12:00:33] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f310c8012d966ec0060666500017015d25..."} 
[2026-07-25 12:00:33] local.INFO: Packet analysis {"connection_id":141057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 12:00:33] local.INFO: Extracted packet for processing {"connection_id":141057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f3"} 
[2026-07-25 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":37,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949866496001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784960717000,"timestamp_ms":1784960717000,"timestamp_seconds":1784960717,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f310c8"} 
[2026-07-25 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-07-25 12:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 12: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-07-25 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-07-25 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-07-25 12:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949866496001,"66":25647,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949866496001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:00:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:00:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949866496001,"power":25647,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":141057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:00:33] local.INFO: GPS data processed {"connection_id":141057,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:00:33] local.INFO: Acknowledgment sent {"connection_id":141057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:00:56] local.INFO: TCP Data received {"connection_id":142045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:56] local.INFO: Processing buffer {"connection_id":142045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:56] local.INFO: IMEI packet received {"connection_id":142045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":142045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:00:56] local.INFO: TCP Data received {"connection_id":142045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:56] local.INFO: Processing buffer {"connection_id":142045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:00:56] local.INFO: IMEI packet received {"connection_id":142045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":142045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:01:01] local.INFO: TCP Data received {"connection_id":142045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:01:01] local.INFO: Processing buffer {"connection_id":142045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:01:01] local.INFO: IMEI packet received {"connection_id":142045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":142045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:01:01] local.INFO: TCP Data received {"connection_id":142045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:01:01] local.INFO: Processing buffer {"connection_id":142045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:01:01] local.INFO: Packet analysis {"connection_id":142045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:01:01] local.INFO: Extracted packet for processing {"connection_id":142045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:01:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:01:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:01:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":142045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:01:02] local.INFO: GPS data processed {"connection_id":142045,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:01:02] local.INFO: Acknowledgment sent {"connection_id":142045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:01:33] local.INFO: TCP Data received {"connection_id":142045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:01:33] local.INFO: Processing buffer {"connection_id":142045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:01:33] local.INFO: Packet analysis {"connection_id":142045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:01:33] local.INFO: Extracted packet for processing {"connection_id":142045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:01:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:01: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-07-25 12:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:01:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:01:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":142045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:01:33] local.INFO: GPS data processed {"connection_id":142045,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:01:33] local.INFO: Acknowledgment sent {"connection_id":142045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:02:00] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:00] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:00] local.INFO: IMEI packet received {"connection_id":140994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":140994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:02:06] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:06] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:06] local.INFO: IMEI packet received {"connection_id":140994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":140994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:02:08] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:02:08] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:02:08] local.INFO: Packet analysis {"connection_id":140994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:02:08] local.INFO: Extracted packet for processing {"connection_id":140994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:02:08] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":140994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":140994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":140994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:02:08] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:02:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":140994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:02:08] local.INFO: GPS data processed {"connection_id":140994,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:02:08] local.INFO: Acknowledgment sent {"connection_id":140994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:02:13] local.INFO: TCP Data received {"connection_id":140994,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:02:13] local.INFO: Processing buffer {"connection_id":140994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:02:13] local.INFO: Packet analysis {"connection_id":140994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:02:13] local.INFO: Extracted packet for processing {"connection_id":140994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":140994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":140994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":140994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:02:13] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:02:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":140994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:02:13] local.INFO: GPS data processed {"connection_id":140994,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:02:13] local.INFO: Acknowledgment sent {"connection_id":140994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:02:56] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:56] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:02:56] local.INFO: IMEI packet received {"connection_id":140995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":140995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:03:01] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:03:01] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:03:01] local.INFO: IMEI packet received {"connection_id":140995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":140995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:03:02] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:03:02] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:03:02] local.INFO: Packet analysis {"connection_id":140995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:03:02] local.INFO: Extracted packet for processing {"connection_id":140995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:03: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-07-25 12:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:03:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:03:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":140995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:03:02] local.INFO: GPS data processed {"connection_id":140995,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:03:02] local.INFO: Acknowledgment sent {"connection_id":140995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:03:34] local.INFO: TCP Data received {"connection_id":140995,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:03:34] local.INFO: Processing buffer {"connection_id":140995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:03:34] local.INFO: Packet analysis {"connection_id":140995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:03:34] local.INFO: Extracted packet for processing {"connection_id":140995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:03:34] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:03: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-07-25 12: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-07-25 12:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:03:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:03:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":140995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:03:34] local.INFO: GPS data processed {"connection_id":140995,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:03:34] local.INFO: Acknowledgment sent {"connection_id":140995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:03:56] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:03:56] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:03:56] local.INFO: IMEI packet received {"connection_id":141058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":141058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:04:00] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:04:00] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:04:00] local.INFO: IMEI packet received {"connection_id":141058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":141058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:04:02] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:04:02] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:04:02] local.INFO: Packet analysis {"connection_id":141058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:04:02] local.INFO: Extracted packet for processing {"connection_id":141058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:04:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:04: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-07-25 12:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:04:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:04:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":141058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:04:02] local.INFO: GPS data processed {"connection_id":141058,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:04:02] local.INFO: Acknowledgment sent {"connection_id":141058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:04:20] local.INFO: TCP Data received {"connection_id":143406,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:04:20] local.INFO: Processing buffer {"connection_id":143406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:04:20] local.INFO: IMEI packet received {"connection_id":143406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":143406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:04:33] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:04:33] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:04:33] local.INFO: Packet analysis {"connection_id":141058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:04:33] local.INFO: Extracted packet for processing {"connection_id":141058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 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-07-25 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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-07-25 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-07-25 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-07-25 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-07-25 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:04:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:04:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":141058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:04:33] local.INFO: GPS data processed {"connection_id":141058,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:04:33] local.INFO: Acknowledgment sent {"connection_id":141058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:04:56] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:04:56] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:04:56] local.INFO: IMEI packet received {"connection_id":140996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":140996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:05:01] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:01] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:01] local.INFO: IMEI packet received {"connection_id":140996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":140996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:05:02] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:05:02] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:05:02] local.INFO: Packet analysis {"connection_id":140996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:05:02] local.INFO: Extracted packet for processing {"connection_id":140996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:05:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:05: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-07-25 12:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:05:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:05:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":140996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:05:02] local.INFO: GPS data processed {"connection_id":140996,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:05:02] local.INFO: Acknowledgment sent {"connection_id":140996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:05:34] local.INFO: TCP Data received {"connection_id":140996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:05:34] local.INFO: Processing buffer {"connection_id":140996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97f7a890012d966ec0060666500017015d22..."} 
[2026-07-25 12:05:34] local.INFO: Packet analysis {"connection_id":140996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:05:34] local.INFO: Extracted packet for processing {"connection_id":140996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97f7"} 
[2026-07-25 12:05:34] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":34,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456949943552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784961018000,"timestamp_ms":1784961018000,"timestamp_seconds":1784961018,"priority":1,"record_length":96,"hex_timestamp":"0000019f97f7a890"} 
[2026-07-25 12:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 12:05: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-07-25 12:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":140996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":140996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":140996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456949943552001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456949943552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:05:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:05:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456949943552001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":140996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:05:34] local.INFO: GPS data processed {"connection_id":140996,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:05:34] local.INFO: Acknowledgment sent {"connection_id":140996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:05:55] local.INFO: TCP Data received {"connection_id":142046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:55] local.INFO: Processing buffer {"connection_id":142046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:55] local.INFO: IMEI packet received {"connection_id":142046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":142046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:05:56] local.INFO: TCP Data received {"connection_id":142046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:56] local.INFO: Processing buffer {"connection_id":142046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:05:56] local.INFO: IMEI packet received {"connection_id":142046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":142046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:06:01] local.INFO: TCP Data received {"connection_id":142046,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:06:01] local.INFO: Processing buffer {"connection_id":142046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:06:01] local.INFO: IMEI packet received {"connection_id":142046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":142046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:06:02] local.INFO: TCP Data received {"connection_id":142046,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:06:02] local.INFO: Processing buffer {"connection_id":142046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:06:02] local.INFO: Packet analysis {"connection_id":142046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:06:02] local.INFO: Extracted packet for processing {"connection_id":142046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":142046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:06:02] local.INFO: GPS data processed {"connection_id":142046,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:06:02] local.INFO: Acknowledgment sent {"connection_id":142046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:06:35] local.INFO: TCP Data received {"connection_id":142046,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:06:35] local.INFO: Processing buffer {"connection_id":142046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:06:35] local.INFO: Packet analysis {"connection_id":142046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:06:35] local.INFO: Extracted packet for processing {"connection_id":142046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:06:35] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:06:35] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:06:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":142046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:06:35] local.INFO: GPS data processed {"connection_id":142046,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:06:35] local.INFO: Acknowledgment sent {"connection_id":142046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:07:01] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:01] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:01] local.INFO: IMEI packet received {"connection_id":141059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":141059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:07:06] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:06] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:06] local.INFO: IMEI packet received {"connection_id":141059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":141059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:07:07] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:07:07] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:07:07] local.INFO: Packet analysis {"connection_id":141059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:07:07] local.INFO: Extracted packet for processing {"connection_id":141059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:07:07] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:07:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":141059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:07:07] local.INFO: GPS data processed {"connection_id":141059,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:07:07] local.INFO: Acknowledgment sent {"connection_id":141059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:07:11] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:07:11] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:07:11] local.INFO: Packet analysis {"connection_id":141059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:07:11] local.INFO: Extracted packet for processing {"connection_id":141059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:07:11] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:07:11] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:07:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":141059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:07:11] local.INFO: GPS data processed {"connection_id":141059,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:07:11] local.INFO: Acknowledgment sent {"connection_id":141059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:07:56] local.INFO: TCP Data received {"connection_id":141060,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:56] local.INFO: Processing buffer {"connection_id":141060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:07:56] local.INFO: IMEI packet received {"connection_id":141060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":141060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:08:00] local.INFO: TCP Data received {"connection_id":141060,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:08:00] local.INFO: Processing buffer {"connection_id":141060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:08:00] local.INFO: IMEI packet received {"connection_id":141060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":141060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:08:01] local.INFO: TCP Data received {"connection_id":141060,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:08:01] local.INFO: Processing buffer {"connection_id":141060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:08:01] local.INFO: Packet analysis {"connection_id":141060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:08:01] local.INFO: Extracted packet for processing {"connection_id":141060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:08:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:08: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-07-25 12:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:08:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:08:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":141060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:08:01] local.INFO: GPS data processed {"connection_id":141060,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:08:01] local.INFO: Acknowledgment sent {"connection_id":141060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:08:33] local.INFO: TCP Data received {"connection_id":141060,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:08:33] local.INFO: Processing buffer {"connection_id":141060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:08:33] local.INFO: Packet analysis {"connection_id":141060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:08:33] local.INFO: Extracted packet for processing {"connection_id":141060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:08:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:08:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":141060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:08:33] local.INFO: GPS data processed {"connection_id":141060,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:08:33] local.INFO: Acknowledgment sent {"connection_id":141060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:08:56] local.INFO: TCP Data received {"connection_id":143407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:08:56] local.INFO: Processing buffer {"connection_id":143407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:08:56] local.INFO: IMEI packet received {"connection_id":143407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":143407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:09:01] local.INFO: TCP Data received {"connection_id":143407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:09:01] local.INFO: Processing buffer {"connection_id":143407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:09:01] local.INFO: IMEI packet received {"connection_id":143407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":143407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:09:01] local.INFO: TCP Data received {"connection_id":143407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:09:01] local.INFO: Processing buffer {"connection_id":143407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:09:01] local.INFO: Packet analysis {"connection_id":143407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:09:01] local.INFO: Extracted packet for processing {"connection_id":143407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:09:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:09:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:09:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":143407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:09:01] local.INFO: GPS data processed {"connection_id":143407,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:09:01] local.INFO: Acknowledgment sent {"connection_id":143407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:09:13] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:13] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:13] local.INFO: IMEI packet received {"connection_id":142048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":142048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:09:14] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:14] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:14] local.INFO: IMEI packet received {"connection_id":142048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":142048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:09:18] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:18] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:09:18] local.INFO: IMEI packet received {"connection_id":142048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":142048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:09:19] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 12:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 12:09:19] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 12:09:19] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 12:09:19] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 12:09:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:09:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:09:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 12:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 12:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 12:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 12:09:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 12:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 12:09:19] local.ERROR: GPS data processing failed {"connection_id":142048,"error":"No valid data to process"} 
[2026-07-25 12:09:19] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 12:09:33] local.INFO: TCP Data received {"connection_id":143407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:09:33] local.INFO: Processing buffer {"connection_id":143407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:09:33] local.INFO: Packet analysis {"connection_id":143407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:09:33] local.INFO: Extracted packet for processing {"connection_id":143407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:09:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:09:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:09:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":143407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:09:33] local.INFO: GPS data processed {"connection_id":143407,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:09:33] local.INFO: Acknowledgment sent {"connection_id":143407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:09:50] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 12:09:50] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 12:09:50] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 12:09:50] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 12:09:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:09:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:09:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:09:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 12:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 12:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 12:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 12:09:50] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 12:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 12:09:50] local.ERROR: GPS data processing failed {"connection_id":142048,"error":"No valid data to process"} 
[2026-07-25 12:09:50] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 12:09:55] local.INFO: TCP Data received {"connection_id":142047,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:09:55] local.INFO: Processing buffer {"connection_id":142047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:09:55] local.INFO: IMEI packet received {"connection_id":142047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":142047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:09:56] local.INFO: TCP Data received {"connection_id":142049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:09:56] local.INFO: Processing buffer {"connection_id":142049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:09:56] local.INFO: IMEI packet received {"connection_id":142049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":142049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:10:00] local.INFO: TCP Data received {"connection_id":142049,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:00] local.INFO: Processing buffer {"connection_id":142049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:00] local.INFO: IMEI packet received {"connection_id":142049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":142049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:10:01] local.INFO: TCP Data received {"connection_id":142049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:10:01] local.INFO: Processing buffer {"connection_id":142049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:10:01] local.INFO: Packet analysis {"connection_id":142049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:10:01] local.INFO: Extracted packet for processing {"connection_id":142049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:10:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:10:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":142049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:10:01] local.INFO: GPS data processed {"connection_id":142049,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:10:01] local.INFO: Acknowledgment sent {"connection_id":142049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:10:21] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980072900100000000000000000000000000..."} 
[2026-07-25 12:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980072900100000000000000000000000000..."} 
[2026-07-25 12:10:21] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980072900100000000000000000000000000..."} 
[2026-07-25 12:10:21] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:10:21] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:10:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784961594000,"timestamp_ms":1784961594000,"timestamp_seconds":1784961594,"priority":1,"record_length":96,"hex_timestamp":"0000019f98007290"} 
[2026-07-25 12:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 12:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:10:21] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:10:21] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:10:32] local.INFO: TCP Data received {"connection_id":142049,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:10:32] local.INFO: Processing buffer {"connection_id":142049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f97fc4058012d966ec0060666500017015d26..."} 
[2026-07-25 12:10:32] local.INFO: Packet analysis {"connection_id":142049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:10:32] local.INFO: Extracted packet for processing {"connection_id":142049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f97fc"} 
[2026-07-25 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":38,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950020608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784961319000,"timestamp_ms":1784961319000,"timestamp_seconds":1784961319,"priority":1,"record_length":96,"hex_timestamp":"0000019f97fc4058"} 
[2026-07-25 12:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:10: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-07-25 12:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950020608001,"66":25756,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950020608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:10:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:10:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950020608001,"power":25756,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":142049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:10:32] local.INFO: GPS data processed {"connection_id":142049,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:10:32] local.INFO: Acknowledgment sent {"connection_id":142049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:10:52] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800c4980100000000000000000000000000..."} 
[2026-07-25 12:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800c4980100000000000000000000000000..."} 
[2026-07-25 12:10:52] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800c4980100000000000000000000000000..."} 
[2026-07-25 12:10:52] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:10:52] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:10:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:10:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784961615000,"timestamp_ms":1784961615000,"timestamp_seconds":1784961615,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800c498"} 
[2026-07-25 12:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 12:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:10:52] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:10:52] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:10:56] local.INFO: TCP Data received {"connection_id":142050,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:56] local.INFO: Processing buffer {"connection_id":142050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:56] local.INFO: IMEI packet received {"connection_id":142050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":142050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:10:57] local.INFO: TCP Data received {"connection_id":142050,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:57] local.INFO: Processing buffer {"connection_id":142050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:10:57] local.INFO: IMEI packet received {"connection_id":142050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":142050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:11:01] local.INFO: TCP Data received {"connection_id":142050,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:11:01] local.INFO: Processing buffer {"connection_id":142050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:11:01] local.INFO: IMEI packet received {"connection_id":142050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":142050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:11:02] local.INFO: TCP Data received {"connection_id":142050,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:11:02] local.INFO: Processing buffer {"connection_id":142050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:11:02] local.INFO: Packet analysis {"connection_id":142050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:11:02] local.INFO: Extracted packet for processing {"connection_id":142050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:11:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:11:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:11:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":142050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:11:02] local.INFO: GPS data processed {"connection_id":142050,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:11:02] local.INFO: Acknowledgment sent {"connection_id":142050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:11:23] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980116a00100000000000000000000000000..."} 
[2026-07-25 12:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980116a00100000000000000000000000000..."} 
[2026-07-25 12:11:23] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980116a00100000000000000000000000000..."} 
[2026-07-25 12:11:23] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9801"} 
[2026-07-25 12:11:23] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9801"} 
[2026-07-25 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784961636000,"timestamp_ms":1784961636000,"timestamp_seconds":1784961636,"priority":1,"record_length":96,"hex_timestamp":"0000019f980116a0"} 
[2026-07-25 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-07-25 12:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 12:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:11:23] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:11:23] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:11:33] local.INFO: TCP Data received {"connection_id":142050,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:11:33] local.INFO: Processing buffer {"connection_id":142050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:11:33] local.INFO: Packet analysis {"connection_id":142050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:11:33] local.INFO: Extracted packet for processing {"connection_id":142050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:11:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":142050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:11:33] local.INFO: GPS data processed {"connection_id":142050,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:11:33] local.INFO: Acknowledgment sent {"connection_id":142050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:11:54] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980168a80100000000000000000000000000..."} 
[2026-07-25 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980168a80100000000000000000000000000..."} 
[2026-07-25 12:11:54] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980168a80100000000000000000000000000..."} 
[2026-07-25 12:11:54] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9801"} 
[2026-07-25 12:11:54] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9801"} 
[2026-07-25 12:11: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-07-25 12: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-07-25 12:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:11:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784961657000,"timestamp_ms":1784961657000,"timestamp_seconds":1784961657,"priority":1,"record_length":96,"hex_timestamp":"0000019f980168a8"} 
[2026-07-25 12:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 12:11: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-07-25 12: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-07-25 12:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:11:54] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:11:54] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:12:00] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:00] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:00] local.INFO: IMEI packet received {"connection_id":140997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":140997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:12:06] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:06] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:06] local.INFO: IMEI packet received {"connection_id":140997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":140997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:12:07] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:12:07] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:12:07] local.INFO: Packet analysis {"connection_id":140997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:12:07] local.INFO: Extracted packet for processing {"connection_id":140997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:12:07] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":140997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:12:07] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:12:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":140997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:12:07] local.INFO: GPS data processed {"connection_id":140997,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:12:07] local.INFO: Acknowledgment sent {"connection_id":140997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:12:11] local.INFO: TCP Data received {"connection_id":140997,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:12:11] local.INFO: Processing buffer {"connection_id":140997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:12:11] local.INFO: Packet analysis {"connection_id":140997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:12:11] local.INFO: Extracted packet for processing {"connection_id":140997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":140997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":140997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:12:11] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:12:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":140997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:12:11] local.INFO: GPS data processed {"connection_id":140997,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:12:11] local.INFO: Acknowledgment sent {"connection_id":140997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:12:26] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9801bab00100000000000000000000000000..."} 
[2026-07-25 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9801bab00100000000000000000000000000..."} 
[2026-07-25 12:12:26] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9801bab00100000000000000000000000000..."} 
[2026-07-25 12:12:26] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9801"} 
[2026-07-25 12:12:26] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9801"} 
[2026-07-25 12:12:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784961678000,"timestamp_ms":1784961678000,"timestamp_seconds":1784961678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9801bab0"} 
[2026-07-25 12:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 12:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:12:26] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:12:26] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:12:56] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:56] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:12:56] local.INFO: IMEI packet received {"connection_id":141061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":141061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:12:57] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98020cb80100000000000000000000000000..."} 
[2026-07-25 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98020cb80100000000000000000000000000..."} 
[2026-07-25 12:12:57] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98020cb80100000000000000000000000000..."} 
[2026-07-25 12:12:57] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9802"} 
[2026-07-25 12:12:57] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9802"} 
[2026-07-25 12:12: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-07-25 12:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:12:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784961699000,"timestamp_ms":1784961699000,"timestamp_seconds":1784961699,"priority":1,"record_length":96,"hex_timestamp":"0000019f98020cb8"} 
[2026-07-25 12:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 12:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:12:57] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:12:57] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:13:01] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:13:01] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:13:01] local.INFO: IMEI packet received {"connection_id":141061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":141061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:13:01] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:13:01] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:13:01] local.INFO: Packet analysis {"connection_id":141061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:13:01] local.INFO: Extracted packet for processing {"connection_id":141061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:13:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:13: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-07-25 12:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:13:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:13:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":141061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:13:01] local.INFO: GPS data processed {"connection_id":141061,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:13:01] local.INFO: Acknowledgment sent {"connection_id":141061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:13:33] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:13:33] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:13:33] local.INFO: Packet analysis {"connection_id":141061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:13:33] local.INFO: Extracted packet for processing {"connection_id":141061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:13: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-07-25 12:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:13:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:13:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":141061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:13:33] local.INFO: GPS data processed {"connection_id":141061,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:13:33] local.INFO: Acknowledgment sent {"connection_id":141061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:13:35] local.INFO: TCP Data received {"connection_id":142048,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98025ec00100000000000000000000000000..."} 
[2026-07-25 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98025ec00100000000000000000000000000..."} 
[2026-07-25 12:13:35] local.INFO: Processing buffer {"connection_id":142048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98025ec00100000000000000000000000000..."} 
[2026-07-25 12:13:35] local.INFO: Packet analysis {"connection_id":142048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9802"} 
[2026-07-25 12:13:35] local.INFO: Extracted packet for processing {"connection_id":142048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9802"} 
[2026-07-25 12:13:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,30,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784961720000,"timestamp_ms":1784961720000,"timestamp_seconds":1784961720,"priority":1,"record_length":96,"hex_timestamp":"0000019f98025ec0"} 
[2026-07-25 12:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 12:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":142048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":142048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":142048,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:13:35] local.INFO: GPS data processed {"connection_id":142048,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:13:35] local.INFO: Acknowledgment sent {"connection_id":142048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:13:53] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:13:53] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:13:53] local.INFO: IMEI packet received {"connection_id":140998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":140998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:13:56] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:13:56] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:13:56] local.INFO: IMEI packet received {"connection_id":140999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":140999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:13:58] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:13:58] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:13:58] local.INFO: IMEI packet received {"connection_id":140998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":140998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:13:59] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9802b0c80100000000000000000000000000..."} 
[2026-07-25 12:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9802b0c80100000000000000000000000000..."} 
[2026-07-25 12:13:59] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9802b0c80100000000000000000000000000..."} 
[2026-07-25 12:13:59] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9802"} 
[2026-07-25 12:13:59] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9802"} 
[2026-07-25 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:13:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,132,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784961741000,"timestamp_ms":1784961741000,"timestamp_seconds":1784961741,"priority":1,"record_length":96,"hex_timestamp":"0000019f9802b0c8"} 
[2026-07-25 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-07-25 12:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 12:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:13:59] local.INFO: GPS data processed {"connection_id":140998,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:13:59] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:14:00] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:14:00] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:14:00] local.INFO: IMEI packet received {"connection_id":140999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":140999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:14:01] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:14:01] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:14:01] local.INFO: Packet analysis {"connection_id":140999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:14:01] local.INFO: Extracted packet for processing {"connection_id":140999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:14:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":140999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:14:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:14:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":140999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:14:01] local.INFO: GPS data processed {"connection_id":140999,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:14:01] local.INFO: Acknowledgment sent {"connection_id":140999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:14:30] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980302d00100000000000000000000000000..."} 
[2026-07-25 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980302d00100000000000000000000000000..."} 
[2026-07-25 12:14:30] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980302d00100000000000000000000000000..."} 
[2026-07-25 12:14:30] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9803"} 
[2026-07-25 12:14:30] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9803"} 
[2026-07-25 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110134051074998272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784961762000,"timestamp_ms":1784961762000,"timestamp_seconds":1784961762,"priority":1,"record_length":96,"hex_timestamp":"0000019f980302d0"} 
[2026-07-25 12:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 12:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:14: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-07-25 12:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 12:14:30] local.INFO: GPS data processed {"connection_id":140998,"processed":0,"errors":0,"total":1} 
[2026-07-25 12:14:30] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:14:32] local.INFO: TCP Data received {"connection_id":140999,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:14:32] local.INFO: Processing buffer {"connection_id":140999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:14:32] local.INFO: Packet analysis {"connection_id":140999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:14:32] local.INFO: Extracted packet for processing {"connection_id":140999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:14: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-07-25 12:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":140999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":140999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:14:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:14:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":140999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:14:32] local.INFO: GPS data processed {"connection_id":140999,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:14:32] local.INFO: Acknowledgment sent {"connection_id":140999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:14:55] local.INFO: TCP Data received {"connection_id":142052,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:14:55] local.INFO: Processing buffer {"connection_id":142052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:14:55] local.INFO: IMEI packet received {"connection_id":142052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":142052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:15:01] local.INFO: TCP Data received {"connection_id":142052,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:01] local.INFO: Processing buffer {"connection_id":142052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:01] local.INFO: IMEI packet received {"connection_id":142052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":142052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:15:01] local.INFO: TCP Data received {"connection_id":142052,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:15:01] local.INFO: Processing buffer {"connection_id":142052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:15:01] local.INFO: Packet analysis {"connection_id":142052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:15:01] local.INFO: Extracted packet for processing {"connection_id":142052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:15:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:15: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-07-25 12:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:15:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:15:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":142052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:15:01] local.INFO: GPS data processed {"connection_id":142052,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:15:01] local.INFO: Acknowledgment sent {"connection_id":142052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:15:02] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9804d790012d7de38005e6e4700001012008..."} 
[2026-07-25 12:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9804d790012d7de38005e6e4700001012008..."} 
[2026-07-25 12:15:02] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9804d790012d7de38005e6e4700001012008..."} 
[2026-07-25 12:15:02] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9804"} 
[2026-07-25 12:15:02] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9804"} 
[2026-07-25 12:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763224960,"raw_latitude":99017840,"longitude_deg":76.322496,"latitude_deg":9.901784,"altitude":1,"angle":288,"satellites":8,"speed":7,"hex_longitude":"2d7de380","hex_latitude":"05e6e470","is_valid_coordinates":true} 
[2026-07-25 12:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950240256001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110135584378322944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9072149630965467136,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961882000,"timestamp_ms":1784961882000,"timestamp_seconds":1784961882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9804d790"} 
[2026-07-25 12:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:15: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-07-25 12:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950240256001,"66":206,"87":13824,"24":7,"16":110135584378322944,"45":9072149630965467136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-25 12:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950240256001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110135584378322944,"km_value":110135584378322.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9072149630965467136,"description":"Unknown IO ID 45"} 
[2026-07-25 12:15:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456950240256001,"power":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9072149630965467136}} 
[2026-07-25 12:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:15:02] local.INFO: GPS data processed {"connection_id":140998,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:15:02] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:15:30] local.INFO: TCP Data received {"connection_id":142051,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:15:30] local.INFO: Processing buffer {"connection_id":142051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:15:30] local.INFO: IMEI packet received {"connection_id":142051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":142051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:15:33] local.INFO: TCP Data received {"connection_id":142052,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:15:33] local.INFO: Processing buffer {"connection_id":142052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9800d820012d966ec0060666500017015d23..."} 
[2026-07-25 12:15:33] local.INFO: Packet analysis {"connection_id":142052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:15:33] local.INFO: Extracted packet for processing {"connection_id":142052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9800"} 
[2026-07-25 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":35,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950097664001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961620000,"timestamp_ms":1784961620000,"timestamp_seconds":1784961620,"priority":1,"record_length":96,"hex_timestamp":"0000019f9800d820"} 
[2026-07-25 12:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 12:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950097664001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950097664001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950097664001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":142052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:15:33] local.INFO: GPS data processed {"connection_id":142052,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:15:33] local.INFO: Acknowledgment sent {"connection_id":142052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:15:33] local.INFO: TCP Data received {"connection_id":140998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9804eb18012d7ddd8005e6e5600000011308..."} 
[2026-07-25 12:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":140998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9804eb18012d7ddd8005e6e5600000011308..."} 
[2026-07-25 12:15:33] local.INFO: Processing buffer {"connection_id":140998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9804eb18012d7ddd8005e6e5600000011308..."} 
[2026-07-25 12:15:33] local.INFO: Packet analysis {"connection_id":140998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9804"} 
[2026-07-25 12:15:33] local.INFO: Extracted packet for processing {"connection_id":140998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9804"} 
[2026-07-25 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763223424,"raw_latitude":99018080,"longitude_deg":76.3223424,"latitude_deg":9.901808,"altitude":0,"angle":275,"satellites":8,"speed":15,"hex_longitude":"2d7ddd80","hex_latitude":"05e6e560","is_valid_coordinates":true} 
[2026-07-25 12:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950241792001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110135661687734272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9071234837291233280,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961887000,"timestamp_ms":1784961887000,"timestamp_seconds":1784961887,"priority":1,"record_length":96,"hex_timestamp":"0000019f9804eb18"} 
[2026-07-25 12:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 12:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":140998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":140998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:15: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-07-25 12:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950241792001,"66":206,"87":13824,"24":15,"16":110135661687734272,"45":9071234837291233280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-25 12:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950241792001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110135661687734272,"km_value":110135661687734.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9071234837291233280,"description":"Unknown IO ID 45"} 
[2026-07-25 12:15:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456950241792001,"power":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9071234837291233280}} 
[2026-07-25 12:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":140998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:15:33] local.INFO: GPS data processed {"connection_id":140998,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:15:33] local.INFO: Acknowledgment sent {"connection_id":140998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:15:54] local.INFO: TCP Data received {"connection_id":141062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:15:54] local.INFO: Processing buffer {"connection_id":141062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:15:54] local.INFO: IMEI packet received {"connection_id":141062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":141062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:15:55] local.INFO: TCP Data received {"connection_id":143408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:55] local.INFO: Processing buffer {"connection_id":143408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:55] local.INFO: IMEI packet received {"connection_id":143408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":143408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:15:57] local.INFO: TCP Data received {"connection_id":141062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:15:57] local.INFO: Processing buffer {"connection_id":141062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:15:57] local.INFO: IMEI packet received {"connection_id":141062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":141062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:15:59] local.INFO: TCP Data received {"connection_id":143408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:59] local.INFO: Processing buffer {"connection_id":143408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:15:59] local.INFO: IMEI packet received {"connection_id":143408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":143408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:15:59] local.INFO: TCP Data received {"connection_id":141062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98050288012d7dd2c005e6e4080000010608..."} 
[2026-07-25 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98050288012d7dd2c005e6e4080000010608..."} 
[2026-07-25 12:15:59] local.INFO: Processing buffer {"connection_id":141062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98050288012d7dd2c005e6e4080000010608..."} 
[2026-07-25 12:15:59] local.INFO: Packet analysis {"connection_id":141062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:15:59] local.INFO: Extracted packet for processing {"connection_id":141062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763220672,"raw_latitude":99017736,"longitude_deg":76.3220672,"latitude_deg":9.9017736,"altitude":0,"angle":262,"satellites":8,"speed":17,"hex_longitude":"2d7dd2c0","hex_latitude":"05e6e408","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950243072001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110135799126687744,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069545987431030784,"note":"Value kept but may cause issues"} 
[2026-07-25 12:15:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784961893000,"timestamp_ms":1784961893000,"timestamp_seconds":1784961893,"priority":1,"record_length":96,"hex_timestamp":"0000019f98050288"} 
[2026-07-25 12:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":63,"data_length":795,"current_offset":136} 
[2026-07-25 12:15: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-07-25 12: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-07-25 12:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950243072001,"66":206,"87":13824,"24":17,"16":110135799126687744,"45":9069545987431030784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-07-25 12:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950243072001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:15:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110135799126687744,"km_value":110135799126687.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069545987431030784,"description":"Unknown IO ID 45"} 
[2026-07-25 12:15:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456950243072001,"power":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":9069545987431030784}} 
[2026-07-25 12:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":141062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:15:59] local.INFO: GPS data processed {"connection_id":141062,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:15:59] local.INFO: Acknowledgment sent {"connection_id":141062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:16:00] local.INFO: TCP Data received {"connection_id":143408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:16:00] local.INFO: Processing buffer {"connection_id":143408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:16:00] local.INFO: IMEI packet received {"connection_id":143408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":143408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:16:01] local.INFO: TCP Data received {"connection_id":143408,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:16:01] local.INFO: Processing buffer {"connection_id":143408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:16:01] local.INFO: Packet analysis {"connection_id":143408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:16:01] local.INFO: Extracted packet for processing {"connection_id":143408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:16:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:16:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:16:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":143408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:16:01] local.INFO: GPS data processed {"connection_id":143408,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:16:01] local.INFO: Acknowledgment sent {"connection_id":143408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:16:30] local.INFO: TCP Data received {"connection_id":141062,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98065e30012d7da44005e77d880000015108..."} 
[2026-07-25 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98065e30012d7da44005e77d880000015108..."} 
[2026-07-25 12:16:30] local.INFO: Processing buffer {"connection_id":141062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98065e30012d7da44005e77d880000015108..."} 
[2026-07-25 12:16:30] local.INFO: Packet analysis {"connection_id":141062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9806"} 
[2026-07-25 12:16:30] local.INFO: Extracted packet for processing {"connection_id":141062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9806"} 
[2026-07-25 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763208768,"raw_latitude":99057032,"longitude_deg":76.3208768,"latitude_deg":9.9057032,"altitude":0,"angle":337,"satellites":8,"speed":28,"hex_longitude":"2d7da440","hex_latitude":"05e77d88","is_valid_coordinates":true} 
[2026-07-25 12:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950267392001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110138023919747072,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053431545024317440,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784961982000,"timestamp_ms":1784961982000,"timestamp_seconds":1784961982,"priority":1,"record_length":96,"hex_timestamp":"0000019f98065e30"} 
[2026-07-25 12:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 12:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:16: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-07-25 12:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950267392001,"66":13363,"31":206,"87":13824,"24":28,"16":110138023919747072,"45":9053431545024317440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950267392001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:16:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:16:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110138023919747072,"km_value":110138023919747.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053431545024317440,"description":"Unknown IO ID 45"} 
[2026-07-25 12:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950267392001,"power":13363,"unknown_31":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9053431545024317440}} 
[2026-07-25 12:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":141062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:16:30] local.INFO: GPS data processed {"connection_id":141062,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:16:30] local.INFO: Acknowledgment sent {"connection_id":141062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:16:32] local.INFO: TCP Data received {"connection_id":143408,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:16:32] local.INFO: Processing buffer {"connection_id":143408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:16:32] local.INFO: Packet analysis {"connection_id":143408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:16:32] local.INFO: Extracted packet for processing {"connection_id":143408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:16:32] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12: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-07-25 12:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:16:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:16:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":143408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:16:32] local.INFO: GPS data processed {"connection_id":143408,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:16:32] local.INFO: Acknowledgment sent {"connection_id":143408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:16:53] local.INFO: TCP Data received {"connection_id":143409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:16:53] local.INFO: Processing buffer {"connection_id":143409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:16:53] local.INFO: IMEI packet received {"connection_id":143409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":143409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:16:57] local.INFO: TCP Data received {"connection_id":142053,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:16:57] local.INFO: Processing buffer {"connection_id":142053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:16:57] local.INFO: IMEI packet received {"connection_id":142053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":142053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:16:58] local.INFO: TCP Data received {"connection_id":143409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:16:58] local.INFO: Processing buffer {"connection_id":143409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:16:58] local.INFO: IMEI packet received {"connection_id":143409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":143409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:16:59] local.INFO: TCP Data received {"connection_id":143409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98066600012d7da10005e77d580000014208..."} 
[2026-07-25 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98066600012d7da10005e77d580000014208..."} 
[2026-07-25 12:16:59] local.INFO: Processing buffer {"connection_id":143409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98066600012d7da10005e77d580000014208..."} 
[2026-07-25 12:16:59] local.INFO: Packet analysis {"connection_id":143409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9806"} 
[2026-07-25 12:16:59] local.INFO: Extracted packet for processing {"connection_id":143409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9806"} 
[2026-07-25 12:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763207936,"raw_latitude":99056984,"longitude_deg":76.3207936,"latitude_deg":9.9056984,"altitude":0,"angle":322,"satellites":8,"speed":21,"hex_longitude":"2d7da100","hex_latitude":"05e77d58","is_valid_coordinates":true} 
[2026-07-25 12:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950267392001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110138075459354624,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053431545024317440,"note":"Value kept but may cause issues"} 
[2026-07-25 12:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784961984000,"timestamp_ms":1784961984000,"timestamp_seconds":1784961984,"priority":1,"record_length":96,"hex_timestamp":"0000019f98066600"} 
[2026-07-25 12:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 12:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:16: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-07-25 12:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950267392001,"66":13330,"31":206,"87":13824,"24":21,"16":110138075459354624,"45":9053431545024317440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950267392001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:16:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110138075459354624,"km_value":110138075459354.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053431545024317440,"description":"Unknown IO ID 45"} 
[2026-07-25 12:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950267392001,"power":13330,"unknown_31":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9053431545024317440}} 
[2026-07-25 12:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":143409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:16:59] local.INFO: GPS data processed {"connection_id":143409,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:16:59] local.INFO: Acknowledgment sent {"connection_id":143409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:17:01] local.INFO: TCP Data received {"connection_id":142053,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:17:01] local.INFO: Processing buffer {"connection_id":142053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:17:01] local.INFO: IMEI packet received {"connection_id":142053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":142053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:17:01] local.INFO: TCP Data received {"connection_id":142053,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:17:01] local.INFO: Processing buffer {"connection_id":142053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:17:01] local.INFO: Packet analysis {"connection_id":142053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:17:01] local.INFO: Extracted packet for processing {"connection_id":142053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:17:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:17:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:17:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":142053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:17:01] local.INFO: GPS data processed {"connection_id":142053,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:17:01] local.INFO: Acknowledgment sent {"connection_id":142053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:17:30] local.INFO: TCP Data received {"connection_id":143409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98066dd0012d7d9e0005e77f280000013308..."} 
[2026-07-25 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98066dd0012d7d9e0005e77f280000013308..."} 
[2026-07-25 12:17:30] local.INFO: Processing buffer {"connection_id":143409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98066dd0012d7d9e0005e77f280000013308..."} 
[2026-07-25 12:17:30] local.INFO: Packet analysis {"connection_id":143409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9806"} 
[2026-07-25 12:17:30] local.INFO: Extracted packet for processing {"connection_id":143409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9806"} 
[2026-07-25 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763207168,"raw_latitude":99057448,"longitude_deg":76.3207168,"latitude_deg":9.9057448,"altitude":0,"angle":307,"satellites":8,"speed":19,"hex_longitude":"2d7d9e00","hex_latitude":"05e77f28","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950267904001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110138118409027584,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052516751349995520,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784961986000,"timestamp_ms":1784961986000,"timestamp_seconds":1784961986,"priority":1,"record_length":96,"hex_timestamp":"0000019f98066dd0"} 
[2026-07-25 12:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2550530160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277961921359721056,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":231,"raw_value":4704009810789533696,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629421774,"corrected_to":0} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3221612364,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-812898437846384635,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":18,"raw_value":57785125669066550,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":75,"raw_value":4900143268542552064,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.WARNING: Large IO value detected {"io_id":41,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,31,87,24,241,157,16,73,159,94,45,64,125,8,10,66,43,128,1,240,7,227,152,231,4,113,205,20,178,168,239,51,2,135,5,18,75,41],"length":626,"final_offset":756,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1629421774,"validated":0}]} 
[2026-07-25 12:17:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":354077105258496,"timestamp_seconds":354077105258.496,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:17: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-07-25 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950267904001,"66":13330,"31":206,"87":13824,"24":19,"16":110138118409027584,"45":9052516751349995520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950267904001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:17:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110138118409027584,"km_value":110138118409027.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052516751349995520,"description":"Unknown IO ID 45"} 
[2026-07-25 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950267904001,"power":13330,"unknown_31":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9052516751349995520}} 
[2026-07-25 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":143409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:17:30] local.INFO: GPS data processed {"connection_id":143409,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:17:30] local.INFO: Acknowledgment sent {"connection_id":143409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:17:33] local.INFO: TCP Data received {"connection_id":142053,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:17:33] local.INFO: Processing buffer {"connection_id":142053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:17:33] local.INFO: Packet analysis {"connection_id":142053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:17:33] local.INFO: Extracted packet for processing {"connection_id":142053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:17:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:17: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-07-25 12: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-07-25 12:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:17:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:17:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":142053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:17:33] local.INFO: GPS data processed {"connection_id":142053,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:17:33] local.INFO: Acknowledgment sent {"connection_id":142053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:17:56] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:17:56] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:17:56] local.INFO: IMEI packet received {"connection_id":141000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":141000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:17:57] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:17:57] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:17:57] local.INFO: IMEI packet received {"connection_id":141001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":141001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:17:58] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:17:58] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:17:58] local.INFO: IMEI packet received {"connection_id":141001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":141001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:18:00] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:18:00] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:18:00] local.INFO: IMEI packet received {"connection_id":141000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:18:01] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:18:01] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:18:01] local.INFO: Packet analysis {"connection_id":141000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:18:01] local.INFO: Extracted packet for processing {"connection_id":141000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:18:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:18:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:18:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:18:01] local.INFO: GPS data processed {"connection_id":141000,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:18:01] local.INFO: Acknowledgment sent {"connection_id":141000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:18:03] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:03] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:03] local.INFO: IMEI packet received {"connection_id":141001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":141001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:18:04] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98076000012d7d660005e7e4e80000015008..."} 
[2026-07-25 12:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98076000012d7d660005e7e4e80000015008..."} 
[2026-07-25 12:18:04] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98076000012d7d660005e7e4e80000015008..."} 
[2026-07-25 12:18:04] local.INFO: Packet analysis {"connection_id":141001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9807"} 
[2026-07-25 12:18:04] local.INFO: Extracted packet for processing {"connection_id":141001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9807"} 
[2026-07-25 12:18:04] local.INFO: GPS Element Parsed {"raw_longitude":763192832,"raw_latitude":99083496,"longitude_deg":76.3192832,"latitude_deg":9.9083496,"altitude":0,"angle":336,"satellites":8,"speed":7,"hex_longitude":"2d7d6600","hex_latitude":"05e7e4e8","is_valid_coordinates":true} 
[2026-07-25 12:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950282752001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139681777123328,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036472677684168704,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784962048000,"timestamp_ms":1784962048000,"timestamp_seconds":1784962048,"priority":1,"record_length":96,"hex_timestamp":"0000019f98076000"} 
[2026-07-25 12:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 12:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950282752001,"66":12950,"31":206,"87":13824,"24":7,"16":110139681777123328,"45":9036472677684168704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950282752001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:18:04] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:18:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139681777123328,"km_value":110139681777123.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036472677684168704,"description":"Unknown IO ID 45"} 
[2026-07-25 12:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950282752001,"power":12950,"unknown_31":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9036472677684168704}} 
[2026-07-25 12:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":141001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:18:04] local.INFO: GPS data processed {"connection_id":141001,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:18:04] local.INFO: Acknowledgment sent {"connection_id":141001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:18:33] local.INFO: TCP Data received {"connection_id":141000,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:18:33] local.INFO: Processing buffer {"connection_id":141000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:18:33] local.INFO: Packet analysis {"connection_id":141000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:18:33] local.INFO: Extracted packet for processing {"connection_id":141000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:18:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:18: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-07-25 12:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:18:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:18:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":141000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:18:33] local.INFO: GPS data processed {"connection_id":141000,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:18:33] local.INFO: Acknowledgment sent {"connection_id":141000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:18:36] local.INFO: TCP Data received {"connection_id":141001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98076fa0012d7d650005e7e8180000015d08..."} 
[2026-07-25 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98076fa0012d7d650005e7e8180000015d08..."} 
[2026-07-25 12:18:36] local.INFO: Processing buffer {"connection_id":141001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98076fa0012d7d650005e7e8180000015d08..."} 
[2026-07-25 12:18:36] local.INFO: Packet analysis {"connection_id":141001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9807"} 
[2026-07-25 12:18:36] local.INFO: Extracted packet for processing {"connection_id":141001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9807"} 
[2026-07-25 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763192576,"raw_latitude":99084312,"longitude_deg":76.3192576,"latitude_deg":9.9084312,"altitude":0,"angle":349,"satellites":8,"speed":6,"hex_longitude":"2d7d6500","hex_latitude":"05e7e818","is_valid_coordinates":true} 
[2026-07-25 12:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950284288001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139724726796288,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9035909727730853888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784962052000,"timestamp_ms":1784962052000,"timestamp_seconds":1784962052,"priority":1,"record_length":96,"hex_timestamp":"0000019f98076fa0"} 
[2026-07-25 12:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 12:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950284288001,"66":13276,"31":206,"87":13824,"24":6,"16":110139724726796288,"45":9035909727730853888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950284288001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:18:36] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:18:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139724726796288,"km_value":110139724726796.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9035909727730853888,"description":"Unknown IO ID 45"} 
[2026-07-25 12:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950284288001,"power":13276,"unknown_31":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9035909727730853888}} 
[2026-07-25 12:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":141001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:18:36] local.INFO: GPS data processed {"connection_id":141001,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:18:36] local.INFO: Acknowledgment sent {"connection_id":141001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:18:52] local.INFO: TCP Data received {"connection_id":142054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:52] local.INFO: Processing buffer {"connection_id":142054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:52] local.INFO: IMEI packet received {"connection_id":142054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":142054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:18:53] local.INFO: TCP Data received {"connection_id":142054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:53] local.INFO: Processing buffer {"connection_id":142054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:53] local.INFO: IMEI packet received {"connection_id":142054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":142054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:18:55] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:18:55] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:18:55] local.INFO: IMEI packet received {"connection_id":141063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:18:58] local.INFO: TCP Data received {"connection_id":142054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:58] local.INFO: Processing buffer {"connection_id":142054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:18:58] local.INFO: IMEI packet received {"connection_id":142054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":142054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:18:59] local.INFO: TCP Data received {"connection_id":142054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98079e80012d7d5fc005e7fba80000015108..."} 
[2026-07-25 12:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98079e80012d7d5fc005e7fba80000015108..."} 
[2026-07-25 12:18:59] local.INFO: Processing buffer {"connection_id":142054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98079e80012d7d5fc005e7fba80000015108..."} 
[2026-07-25 12:18:59] local.INFO: Packet analysis {"connection_id":142054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9807"} 
[2026-07-25 12:18:59] local.INFO: Extracted packet for processing {"connection_id":142054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9807"} 
[2026-07-25 12:18:59] local.INFO: GPS Element Parsed {"raw_longitude":763191232,"raw_latitude":99089320,"longitude_deg":76.3191232,"latitude_deg":9.908932,"altitude":0,"angle":337,"satellites":8,"speed":22,"hex_longitude":"2d7d5fc0","hex_latitude":"05e7fba8","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950285312001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139982424834048,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9035628252754352128,"note":"Value kept but may cause issues"} 
[2026-07-25 12:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784962064000,"timestamp_ms":1784962064000,"timestamp_seconds":1784962064,"priority":1,"record_length":96,"hex_timestamp":"0000019f98079e80"} 
[2026-07-25 12:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 12:18: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-07-25 12: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-07-25 12:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:18: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-07-25 12:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950285312001,"66":12711,"31":206,"87":13824,"24":22,"16":110139982424834048,"45":9035628252754352128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950285312001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:18:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:18:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139982424834048,"km_value":110139982424834.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9035628252754352128,"description":"Unknown IO ID 45"} 
[2026-07-25 12:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950285312001,"power":12711,"unknown_31":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9035628252754352128}} 
[2026-07-25 12:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":142054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:18:59] local.INFO: GPS data processed {"connection_id":142054,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:18:59] local.INFO: Acknowledgment sent {"connection_id":142054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:19:01] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:19:01] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:19:01] local.INFO: IMEI packet received {"connection_id":141063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":141063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:19:02] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:19:02] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:19:02] local.INFO: Packet analysis {"connection_id":141063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:19:02] local.INFO: Extracted packet for processing {"connection_id":141063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:19:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:19: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-07-25 12:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:19:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:19:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":141063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:19:02] local.INFO: GPS data processed {"connection_id":141063,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:19:02] local.INFO: Acknowledgment sent {"connection_id":141063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:19:30] local.INFO: TCP Data received {"connection_id":142054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98092908012d7d1cc005e868c0000001250f..."} 
[2026-07-25 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98092908012d7d1cc005e868c0000001250f..."} 
[2026-07-25 12:19:30] local.INFO: Processing buffer {"connection_id":142054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98092908012d7d1cc005e868c0000001250f..."} 
[2026-07-25 12:19:30] local.INFO: Packet analysis {"connection_id":142054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:19:30] local.INFO: Extracted packet for processing {"connection_id":142054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99117248,"longitude_deg":76.317408,"latitude_deg":9.9117248,"altitude":0,"angle":293,"satellites":15,"speed":14,"hex_longitude":"2d7d1cc0","hex_latitude":"05e868c0","is_valid_coordinates":true} 
[2026-07-25 12:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950313984001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110141730476523520,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015573160672116736,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784962165000,"timestamp_ms":1784962165000,"timestamp_seconds":1784962165,"priority":1,"record_length":96,"hex_timestamp":"0000019f98092908"} 
[2026-07-25 12:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-25 12:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:19: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-07-25 12:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950313984001,"66":13472,"31":206,"87":13824,"24":14,"16":110141730476523520,"45":9015573160672116736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950313984001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:19:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:19:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110141730476523520,"km_value":110141730476523.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015573160672116736,"description":"Unknown IO ID 45"} 
[2026-07-25 12:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950313984001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9015573160672116736}} 
[2026-07-25 12:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":142054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:19:30] local.INFO: GPS data processed {"connection_id":142054,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:19:30] local.INFO: Acknowledgment sent {"connection_id":142054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:19:33] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:19:33] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:19:33] local.INFO: Packet analysis {"connection_id":141063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:19:33] local.INFO: Extracted packet for processing {"connection_id":141063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:19: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-07-25 12: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-07-25 12:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:19:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:19:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":141063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:19:33] local.INFO: GPS data processed {"connection_id":141063,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:19:33] local.INFO: Acknowledgment sent {"connection_id":141063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:19:53] local.INFO: TCP Data received {"connection_id":143410,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:19:53] local.INFO: Processing buffer {"connection_id":143410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:19:53] local.INFO: IMEI packet received {"connection_id":143410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":143410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:19:55] local.INFO: TCP Data received {"connection_id":143410,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143410,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:19:55] local.INFO: Processing buffer {"connection_id":143410,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:19:55] local.INFO: IMEI packet received {"connection_id":143410,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":143410,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:19:55] local.INFO: TCP Data received {"connection_id":142056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:19:55] local.INFO: Processing buffer {"connection_id":142056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:19:55] local.INFO: IMEI packet received {"connection_id":142056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":142056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:19:56] local.INFO: TCP Data received {"connection_id":143410,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98092cf0012d7d1b8005e868e8000001130f..."} 
[2026-07-25 12:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98092cf0012d7d1b8005e868e8000001130f..."} 
[2026-07-25 12:19:56] local.INFO: Processing buffer {"connection_id":143410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98092cf0012d7d1b8005e868e8000001130f..."} 
[2026-07-25 12:19:56] local.INFO: Packet analysis {"connection_id":143410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:19:56] local.INFO: Extracted packet for processing {"connection_id":143410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99117288,"longitude_deg":76.317376,"latitude_deg":9.9117288,"altitude":0,"angle":275,"satellites":15,"speed":13,"hex_longitude":"2d7d1b80","hex_latitude":"05e868e8","is_valid_coordinates":true} 
[2026-07-25 12:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950314240001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110141743361425408,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685695438848,"note":"Value kept but may cause issues"} 
[2026-07-25 12:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784962166000,"timestamp_ms":1784962166000,"timestamp_seconds":1784962166,"priority":1,"record_length":96,"hex_timestamp":"0000019f98092cf0"} 
[2026-07-25 12:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 12:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950314240001,"66":13472,"31":206,"87":13824,"24":13,"16":110141743361425408,"45":9015291685695438848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950314240001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110141743361425408,"km_value":110141743361425.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685695438848,"description":"Unknown IO ID 45"} 
[2026-07-25 12:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950314240001,"power":13472,"unknown_31":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015291685695438848}} 
[2026-07-25 12:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":143410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:19:56] local.INFO: GPS data processed {"connection_id":143410,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:19:56] local.INFO: Acknowledgment sent {"connection_id":143410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:20:00] local.INFO: TCP Data received {"connection_id":142056,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:20:00] local.INFO: Processing buffer {"connection_id":142056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:20:00] local.INFO: IMEI packet received {"connection_id":142056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:20:01] local.INFO: TCP Data received {"connection_id":142056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:20:01] local.INFO: Processing buffer {"connection_id":142056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:20:01] local.INFO: Packet analysis {"connection_id":142056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:20:01] local.INFO: Extracted packet for processing {"connection_id":142056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:20:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:20:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:20:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":142056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:20:01] local.INFO: GPS data processed {"connection_id":142056,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:20:01] local.INFO: Acknowledgment sent {"connection_id":142056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:20:27] local.INFO: TCP Data received {"connection_id":143410,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980930d8012d7d19c005e868b8000001010f..."} 
[2026-07-25 12:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980930d8012d7d19c005e868b8000001010f..."} 
[2026-07-25 12:20:27] local.INFO: Processing buffer {"connection_id":143410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980930d8012d7d19c005e868b8000001010f..."} 
[2026-07-25 12:20:27] local.INFO: Packet analysis {"connection_id":143410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:20:27] local.INFO: Extracted packet for processing {"connection_id":143410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763173312,"raw_latitude":99117240,"longitude_deg":76.3173312,"latitude_deg":9.911724,"altitude":0,"angle":257,"satellites":15,"speed":14,"hex_longitude":"2d7d19c0","hex_latitude":"05e868b8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950314496001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110141764836261888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939841974560768,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784962167000,"timestamp_ms":1784962167000,"timestamp_seconds":1784962167,"priority":1,"record_length":96,"hex_timestamp":"0000019f980930d8"} 
[2026-07-25 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-07-25 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 12:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143410,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:20: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-07-25 12:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950314496001,"66":13276,"31":206,"87":13824,"24":14,"16":110141764836261888,"45":9014939841974560768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950314496001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:20:27] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:20:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110141764836261888,"km_value":110141764836261.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939841974560768,"description":"Unknown IO ID 45"} 
[2026-07-25 12:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950314496001,"power":13276,"unknown_31":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9014939841974560768}} 
[2026-07-25 12:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":143410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:20:27] local.INFO: GPS data processed {"connection_id":143410,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:20:27] local.INFO: Acknowledgment sent {"connection_id":143410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:20:33] local.INFO: TCP Data received {"connection_id":142056,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:20:33] local.INFO: Processing buffer {"connection_id":142056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98056fe8012d966ec0060666500017015d24..."} 
[2026-07-25 12:20:33] local.INFO: Packet analysis {"connection_id":142056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:20:33] local.INFO: Extracted packet for processing {"connection_id":142056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9805"} 
[2026-07-25 12:20:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":23,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950174720001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784961921000,"timestamp_ms":1784961921000,"timestamp_seconds":1784961921,"priority":1,"record_length":96,"hex_timestamp":"0000019f98056fe8"} 
[2026-07-25 12:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:20: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-07-25 12: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-07-25 12:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950174720001,"66":25712,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950174720001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:20:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:20:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950174720001,"power":25712,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":142056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:20:33] local.INFO: GPS data processed {"connection_id":142056,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:20:33] local.INFO: Acknowledgment sent {"connection_id":142056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:20:52] local.INFO: TCP Data received {"connection_id":141002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:52] local.INFO: Processing buffer {"connection_id":141002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:52] local.INFO: IMEI packet received {"connection_id":141002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":141002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:20:53] local.INFO: TCP Data received {"connection_id":141002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:53] local.INFO: Processing buffer {"connection_id":141002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:53] local.INFO: IMEI packet received {"connection_id":141002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":141002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:20:55] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:20:55] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:20:55] local.INFO: IMEI packet received {"connection_id":141064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":141064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:20:58] local.INFO: TCP Data received {"connection_id":141002,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:58] local.INFO: Processing buffer {"connection_id":141002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:20:58] local.INFO: IMEI packet received {"connection_id":141002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":141002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:20:59] local.INFO: TCP Data received {"connection_id":141002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980934c0012d7d188005e867f0000000eb0f..."} 
[2026-07-25 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980934c0012d7d188005e867f0000000eb0f..."} 
[2026-07-25 12:20:59] local.INFO: Processing buffer {"connection_id":141002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980934c0012d7d188005e867f0000000eb0f..."} 
[2026-07-25 12:20:59] local.INFO: Packet analysis {"connection_id":141002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:20:59] local.INFO: Extracted packet for processing {"connection_id":141002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9809"} 
[2026-07-25 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763172992,"raw_latitude":99117040,"longitude_deg":76.3172992,"latitude_deg":9.911704,"altitude":0,"angle":235,"satellites":15,"speed":16,"hex_longitude":"2d7d1880","hex_latitude":"05e867f0","is_valid_coordinates":true} 
[2026-07-25 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950314752001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110141782016131072,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014447260765304832,"note":"Value kept but may cause issues"} 
[2026-07-25 12:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784962168000,"timestamp_ms":1784962168000,"timestamp_seconds":1784962168,"priority":1,"record_length":96,"hex_timestamp":"0000019f980934c0"} 
[2026-07-25 12:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 12:20: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-07-25 12:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:20: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-07-25 12:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950314752001,"66":13341,"31":206,"87":13824,"24":16,"16":110141782016131072,"45":9014447260765304832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950314752001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:20:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110141782016131072,"km_value":110141782016131.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014447260765304832,"description":"Unknown IO ID 45"} 
[2026-07-25 12:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950314752001,"power":13341,"unknown_31":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9014447260765304832}} 
[2026-07-25 12:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":141002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:20:59] local.INFO: GPS data processed {"connection_id":141002,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:20:59] local.INFO: Acknowledgment sent {"connection_id":141002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:21:00] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:00] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:00] local.INFO: IMEI packet received {"connection_id":141064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":141064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:21:01] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:01] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:01] local.INFO: IMEI packet received {"connection_id":141064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":141064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:21:02] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:02] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:02] local.INFO: Packet analysis {"connection_id":141064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:02] local.INFO: Extracted packet for processing {"connection_id":141064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:02] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:21:02] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:21:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":141064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:21:02] local.INFO: GPS data processed {"connection_id":141064,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:21:02] local.INFO: Acknowledgment sent {"connection_id":141064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:21:05] local.INFO: TCP Data received {"connection_id":142055,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:21:05] local.INFO: Processing buffer {"connection_id":142055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:21:05] local.INFO: IMEI packet received {"connection_id":142055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":142055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:21:06] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:06] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:06] local.INFO: Packet analysis {"connection_id":141064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:06] local.INFO: Extracted packet for processing {"connection_id":141064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":141064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:21:06] local.INFO: GPS data processed {"connection_id":141064,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:21:06] local.INFO: Acknowledgment sent {"connection_id":141064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:21:30] local.INFO: TCP Data received {"connection_id":141002,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980ab390012d7cca8005e71868001600bf12..."} 
[2026-07-25 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980ab390012d7cca8005e71868001600bf12..."} 
[2026-07-25 12:21:30] local.INFO: Processing buffer {"connection_id":141002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980ab390012d7cca8005e71868001600bf12..."} 
[2026-07-25 12:21:30] local.INFO: Packet analysis {"connection_id":141002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:30] local.INFO: Extracted packet for processing {"connection_id":141002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763153024,"raw_latitude":99031144,"longitude_deg":76.3153024,"latitude_deg":9.9031144,"altitude":22,"angle":191,"satellites":18,"speed":32,"hex_longitude":"2d7cca80","hex_latitude":"05e71868","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950336000001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110146068393492480,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994321799910813696,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784962266000,"timestamp_ms":1784962266000,"timestamp_seconds":1784962266,"priority":1,"record_length":96,"hex_timestamp":"0000019f980ab390"} 
[2026-07-25 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 12:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:21: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-07-25 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950336000001,"66":13135,"31":206,"87":13824,"24":32,"16":110146068393492480,"45":8994321799910813696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950336000001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:21:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:21:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110146068393492480,"km_value":110146068393492.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994321799910813696,"description":"Unknown IO ID 45"} 
[2026-07-25 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950336000001,"power":13135,"unknown_31":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8994321799910813696}} 
[2026-07-25 12:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":141002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:21:30] local.INFO: GPS data processed {"connection_id":141002,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:21:30] local.INFO: Acknowledgment sent {"connection_id":141002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:21:37] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:37] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:21:37] local.INFO: Packet analysis {"connection_id":141064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:37] local.INFO: Extracted packet for processing {"connection_id":141064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:21:37] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:21:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":141064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:21:37] local.INFO: GPS data processed {"connection_id":141064,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:21:37] local.INFO: Acknowledgment sent {"connection_id":141064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:21:53] local.INFO: TCP Data received {"connection_id":142057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:21:53] local.INFO: Processing buffer {"connection_id":142057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:21:53] local.INFO: IMEI packet received {"connection_id":142057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":142057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:21:56] local.INFO: TCP Data received {"connection_id":142058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:56] local.INFO: Processing buffer {"connection_id":142058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:21:56] local.INFO: IMEI packet received {"connection_id":142058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":142058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:21:58] local.INFO: TCP Data received {"connection_id":142057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:21:58] local.INFO: Processing buffer {"connection_id":142057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:21:58] local.INFO: IMEI packet received {"connection_id":142057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":142057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:21:59] local.INFO: TCP Data received {"connection_id":142057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980adaa0012d7cc18005e6f3c8001600c112..."} 
[2026-07-25 12:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980adaa0012d7cc18005e6f3c8001600c112..."} 
[2026-07-25 12:21:59] local.INFO: Processing buffer {"connection_id":142057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980adaa0012d7cc18005e6f3c8001600c112..."} 
[2026-07-25 12:21:59] local.INFO: Packet analysis {"connection_id":142057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:59] local.INFO: Extracted packet for processing {"connection_id":142057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763150720,"raw_latitude":99021768,"longitude_deg":76.315072,"latitude_deg":9.9021768,"altitude":22,"angle":193,"satellites":18,"speed":42,"hex_longitude":"2d7cc180","hex_latitude":"05e6f3c8","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950340096001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110146536544927744,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992140368838944768,"note":"Value kept but may cause issues"} 
[2026-07-25 12:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784962276000,"timestamp_ms":1784962276000,"timestamp_seconds":1784962276,"priority":1,"record_length":96,"hex_timestamp":"0000019f980adaa0"} 
[2026-07-25 12:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 12:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:21: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-07-25 12:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950340096001,"66":13363,"31":206,"87":13824,"24":42,"16":110146536544927744,"45":8992140368838944768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950340096001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:21:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:21:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110146536544927744,"km_value":110146536544927.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992140368838944768,"description":"Unknown IO ID 45"} 
[2026-07-25 12:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950340096001,"power":13363,"unknown_31":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8992140368838944768}} 
[2026-07-25 12:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":142057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:21:59] local.INFO: GPS data processed {"connection_id":142057,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:21:59] local.INFO: Acknowledgment sent {"connection_id":142057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:22:00] local.INFO: TCP Data received {"connection_id":142058,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:22:00] local.INFO: Processing buffer {"connection_id":142058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:22:00] local.INFO: IMEI packet received {"connection_id":142058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":142058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:22:01] local.INFO: TCP Data received {"connection_id":142058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:22:01] local.INFO: Processing buffer {"connection_id":142058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:22:01] local.INFO: Packet analysis {"connection_id":142058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:22:01] local.INFO: Extracted packet for processing {"connection_id":142058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:22:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":142058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:22:01] local.INFO: GPS data processed {"connection_id":142058,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:22:01] local.INFO: Acknowledgment sent {"connection_id":142058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:22:30] local.INFO: TCP Data received {"connection_id":142057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980bdc70012d7c880005e60780000a014c11..."} 
[2026-07-25 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980bdc70012d7c880005e60780000a014c11..."} 
[2026-07-25 12:22:30] local.INFO: Processing buffer {"connection_id":142057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980bdc70012d7c880005e60780000a014c11..."} 
[2026-07-25 12:22:30] local.INFO: Packet analysis {"connection_id":142057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:22:30] local.INFO: Extracted packet for processing {"connection_id":142057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763136000,"raw_latitude":98961280,"longitude_deg":76.3136,"latitude_deg":9.896128,"altitude":10,"angle":332,"satellites":17,"speed":8,"hex_longitude":"2d7c8800","hex_latitude":"05e60780","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950359296001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149641806282752,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973492651613919232,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784962342000,"timestamp_ms":1784962342000,"timestamp_seconds":1784962342,"priority":1,"record_length":96,"hex_timestamp":"0000019f980bdc70"} 
[2026-07-25 12:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 12:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:22: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-07-25 12:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950359296001,"66":12950,"31":206,"87":13824,"24":8,"16":110149641806282752,"45":8973492651613919232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950359296001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:22:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:22:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149641806282752,"km_value":110149641806282.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973492651613919232,"description":"Unknown IO ID 45"} 
[2026-07-25 12:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950359296001,"power":12950,"unknown_31":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8973492651613919232}} 
[2026-07-25 12:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":142057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:22:30] local.INFO: GPS data processed {"connection_id":142057,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:22:30] local.INFO: Acknowledgment sent {"connection_id":142057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:22:33] local.INFO: TCP Data received {"connection_id":142058,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:22:33] local.INFO: Processing buffer {"connection_id":142058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:22:33] local.INFO: Packet analysis {"connection_id":142058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:22:33] local.INFO: Extracted packet for processing {"connection_id":142058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:22:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12: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":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:22:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:22:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":142058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:22:33] local.INFO: GPS data processed {"connection_id":142058,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:22:33] local.INFO: Acknowledgment sent {"connection_id":142058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:22:53] local.INFO: TCP Data received {"connection_id":141003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:53] local.INFO: Processing buffer {"connection_id":141003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:53] local.INFO: IMEI packet received {"connection_id":141003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":141003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:22:54] local.INFO: TCP Data received {"connection_id":141003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:54] local.INFO: Processing buffer {"connection_id":141003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:54] local.INFO: IMEI packet received {"connection_id":141003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":141003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:22:56] local.INFO: TCP Data received {"connection_id":142059,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:22:56] local.INFO: Processing buffer {"connection_id":142059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:22:56] local.INFO: IMEI packet received {"connection_id":142059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":142059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:22:58] local.INFO: TCP Data received {"connection_id":141003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:58] local.INFO: Processing buffer {"connection_id":141003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:22:58] local.INFO: IMEI packet received {"connection_id":141003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":141003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:22:59] local.INFO: TCP Data received {"connection_id":141003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980be058012d7c880005e60868000a015d12..."} 
[2026-07-25 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980be058012d7c880005e60868000a015d12..."} 
[2026-07-25 12:22:59] local.INFO: Processing buffer {"connection_id":141003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980be058012d7c880005e60868000a015d12..."} 
[2026-07-25 12:22:59] local.INFO: Packet analysis {"connection_id":141003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:22:59] local.INFO: Extracted packet for processing {"connection_id":141003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763136000,"raw_latitude":98961512,"longitude_deg":76.3136,"latitude_deg":9.8961512,"altitude":10,"angle":349,"satellites":18,"speed":9,"hex_longitude":"2d7c8800","hex_latitude":"05e60868","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950359552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149650396217344,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973422282869800960,"note":"Value kept but may cause issues"} 
[2026-07-25 12:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784962343000,"timestamp_ms":1784962343000,"timestamp_seconds":1784962343,"priority":1,"record_length":96,"hex_timestamp":"0000019f980be058"} 
[2026-07-25 12:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 12:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:22: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-07-25 12:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950359552001,"66":13341,"31":206,"87":13824,"24":9,"16":110149650396217344,"45":8973422282869800960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950359552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:22:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:22:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149650396217344,"km_value":110149650396217.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973422282869800960,"description":"Unknown IO ID 45"} 
[2026-07-25 12:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950359552001,"power":13341,"unknown_31":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8973422282869800960}} 
[2026-07-25 12:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":141003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:22:59] local.INFO: GPS data processed {"connection_id":141003,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:22:59] local.INFO: Acknowledgment sent {"connection_id":141003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:23:01] local.INFO: TCP Data received {"connection_id":142059,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:23:01] local.INFO: Processing buffer {"connection_id":142059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:23:01] local.INFO: IMEI packet received {"connection_id":142059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":142059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:23:01] local.INFO: TCP Data received {"connection_id":142059,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:23:01] local.INFO: Processing buffer {"connection_id":142059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:23:01] local.INFO: Packet analysis {"connection_id":142059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:23:01] local.INFO: Extracted packet for processing {"connection_id":142059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:23:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:23:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:23:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":142059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:23:01] local.INFO: GPS data processed {"connection_id":142059,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:23:01] local.INFO: Acknowledgment sent {"connection_id":142059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:23:30] local.INFO: TCP Data received {"connection_id":141003,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980be440012d7c880005e60988000a000112..."} 
[2026-07-25 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980be440012d7c880005e60988000a000112..."} 
[2026-07-25 12:23:30] local.INFO: Processing buffer {"connection_id":141003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980be440012d7c880005e60988000a000112..."} 
[2026-07-25 12:23:30] local.INFO: Packet analysis {"connection_id":141003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:23:30] local.INFO: Extracted packet for processing {"connection_id":141003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":763136000,"raw_latitude":98961800,"longitude_deg":76.3136,"latitude_deg":9.89618,"altitude":10,"angle":1,"satellites":18,"speed":11,"hex_longitude":"2d7c8800","hex_latitude":"05e60988","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950359808001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149667576086528,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973422282869860352,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784962344000,"timestamp_ms":1784962344000,"timestamp_seconds":1784962344,"priority":1,"record_length":96,"hex_timestamp":"0000019f980be440"} 
[2026-07-25 12:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 12:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:23: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-07-25 12:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950359808001,"66":13341,"31":206,"87":13824,"24":11,"16":110149667576086528,"45":8973422282869860352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950359808001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:23:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:23:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149667576086528,"km_value":110149667576086.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973422282869860352,"description":"Unknown IO ID 45"} 
[2026-07-25 12:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950359808001,"power":13341,"unknown_31":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8973422282869860352}} 
[2026-07-25 12:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":141003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:23:30] local.INFO: GPS data processed {"connection_id":141003,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:23:30] local.INFO: Acknowledgment sent {"connection_id":141003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:23:33] local.INFO: TCP Data received {"connection_id":142059,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:23:33] local.INFO: Processing buffer {"connection_id":142059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:23:33] local.INFO: Packet analysis {"connection_id":142059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:23:33] local.INFO: Extracted packet for processing {"connection_id":142059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:23:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:23:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":142059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:23:33] local.INFO: GPS data processed {"connection_id":142059,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:23:33] local.INFO: Acknowledgment sent {"connection_id":142059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:23:53] local.INFO: TCP Data received {"connection_id":143412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:53] local.INFO: Processing buffer {"connection_id":143412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:53] local.INFO: IMEI packet received {"connection_id":143412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":143412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:23:54] local.INFO: TCP Data received {"connection_id":143412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:54] local.INFO: Processing buffer {"connection_id":143412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:54] local.INFO: IMEI packet received {"connection_id":143412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":143412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:23:55] local.INFO: TCP Data received {"connection_id":143413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:23:55] local.INFO: Processing buffer {"connection_id":143413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:23:55] local.INFO: IMEI packet received {"connection_id":143413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":143413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:23:58] local.INFO: TCP Data received {"connection_id":143412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:58] local.INFO: Processing buffer {"connection_id":143412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:23:58] local.INFO: IMEI packet received {"connection_id":143412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":143412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:23:59] local.INFO: TCP Data received {"connection_id":143412,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980bff98012d7c894005e61270000b000c12..."} 
[2026-07-25 12:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980bff98012d7c894005e61270000b000c12..."} 
[2026-07-25 12:23:59] local.INFO: Processing buffer {"connection_id":143412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980bff98012d7c894005e61270000b000c12..."} 
[2026-07-25 12:23:59] local.INFO: Packet analysis {"connection_id":143412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:23:59] local.INFO: Extracted packet for processing {"connection_id":143412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980b"} 
[2026-07-25 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763136320,"raw_latitude":98964080,"longitude_deg":76.313632,"latitude_deg":9.896408,"altitude":11,"angle":12,"satellites":18,"speed":12,"hex_longitude":"2d7c8940","hex_latitude":"05e61270","is_valid_coordinates":true} 
[2026-07-25 12:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950360064001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149779245236224,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973422282869934080,"note":"Value kept but may cause issues"} 
[2026-07-25 12:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784962351000,"timestamp_ms":1784962351000,"timestamp_seconds":1784962351,"priority":1,"record_length":96,"hex_timestamp":"0000019f980bff98"} 
[2026-07-25 12:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 12:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:23: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-07-25 12:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950360064001,"66":13319,"31":206,"87":13824,"24":12,"16":110149779245236224,"45":8973422282869934080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950360064001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:23:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149779245236224,"km_value":110149779245236.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973422282869934080,"description":"Unknown IO ID 45"} 
[2026-07-25 12:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950360064001,"power":13319,"unknown_31":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8973422282869934080}} 
[2026-07-25 12:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":143412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:23:59] local.INFO: GPS data processed {"connection_id":143412,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:23:59] local.INFO: Acknowledgment sent {"connection_id":143412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:24:00] local.INFO: TCP Data received {"connection_id":143413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:24:00] local.INFO: Processing buffer {"connection_id":143413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:24:00] local.INFO: IMEI packet received {"connection_id":143413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":143413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:24:01] local.INFO: TCP Data received {"connection_id":143413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:24:01] local.INFO: Processing buffer {"connection_id":143413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:24:01] local.INFO: Packet analysis {"connection_id":143413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:24:01] local.INFO: Extracted packet for processing {"connection_id":143413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:24:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 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-07-25 12:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:24:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:24:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":143413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:24:01] local.INFO: GPS data processed {"connection_id":143413,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:24:01] local.INFO: Acknowledgment sent {"connection_id":143413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:24:30] local.INFO: TCP Data received {"connection_id":143412,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980c51a0012d7c8a4005e619c8000c000e12..."} 
[2026-07-25 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980c51a0012d7c8a4005e619c8000c000e12..."} 
[2026-07-25 12:24:30] local.INFO: Processing buffer {"connection_id":143412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980c51a0012d7c8a4005e619c8000c000e12..."} 
[2026-07-25 12:24:30] local.INFO: Packet analysis {"connection_id":143412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980c"} 
[2026-07-25 12:24:30] local.INFO: Extracted packet for processing {"connection_id":143412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980c"} 
[2026-07-25 12:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763136576,"raw_latitude":98965960,"longitude_deg":76.3136576,"latitude_deg":9.896596,"altitude":12,"angle":14,"satellites":18,"speed":0,"hex_longitude":"2d7c8a40","hex_latitude":"05e619c8","is_valid_coordinates":true} 
[2026-07-25 12:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950361856001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149878029484032,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973774126591406080,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784962372000,"timestamp_ms":1784962372000,"timestamp_seconds":1784962372,"priority":1,"record_length":96,"hex_timestamp":"0000019f980c51a0"} 
[2026-07-25 12:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2214592512,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2550910160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":230,"raw_value":353532618010595840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1629421774,"corrected_to":0} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221612037,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3859089408,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-3969921776652500987,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.WARNING: Large IO value detected {"io_id":42,"raw_value":57809156011087670,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,31,87,24,241,157,16,84,159,228,45,9,10,18,66,224,8,220,1,240,150,227,152,230,4,113,205,6,208,136,120,239,47,2,135,5,11,42],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1629421774,"validated":0}]} 
[2026-07-25 12:24:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792646805866938368,"timestamp_seconds":792646805866938.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:24: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-07-25 12:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950361856001,"66":13254,"31":206,"87":13824,"24":0,"16":110149878029484032,"45":8973774126591406080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950361856001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:24:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149878029484032,"km_value":110149878029484.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973774126591406080,"description":"Unknown IO ID 45"} 
[2026-07-25 12:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950361856001,"power":13254,"unknown_31":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8973774126591406080}} 
[2026-07-25 12:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":143412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:24:30] local.INFO: GPS data processed {"connection_id":143412,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:24:30] local.INFO: Acknowledgment sent {"connection_id":143412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:24:33] local.INFO: TCP Data received {"connection_id":143413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:24:33] local.INFO: Processing buffer {"connection_id":143413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:24:33] local.INFO: Packet analysis {"connection_id":143413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:24:33] local.INFO: Extracted packet for processing {"connection_id":143413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":143413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:24:33] local.INFO: GPS data processed {"connection_id":143413,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:24:33] local.INFO: Acknowledgment sent {"connection_id":143413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:24:55] local.INFO: TCP Data received {"connection_id":141005,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:24:55] local.INFO: Processing buffer {"connection_id":141005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:24:55] local.INFO: IMEI packet received {"connection_id":141005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":141005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:24:57] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:57] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:57] local.INFO: IMEI packet received {"connection_id":141004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":141004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:24:58] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:58] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:58] local.INFO: IMEI packet received {"connection_id":141004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":141004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:24:58] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:58] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:24:58] local.INFO: IMEI packet received {"connection_id":141004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":141004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:25:01] local.INFO: TCP Data received {"connection_id":141005,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:25:01] local.INFO: Processing buffer {"connection_id":141005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:25:01] local.INFO: IMEI packet received {"connection_id":141005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:25:01] local.INFO: TCP Data received {"connection_id":141005,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:25:01] local.INFO: Processing buffer {"connection_id":141005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:25:01] local.INFO: Packet analysis {"connection_id":141005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:25:01] local.INFO: Extracted packet for processing {"connection_id":141005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:25:01] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:25:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:25:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":141005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:25:01] local.INFO: GPS data processed {"connection_id":141005,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:25:01] local.INFO: Acknowledgment sent {"connection_id":141005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:25:02] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:02] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:02] local.INFO: IMEI packet received {"connection_id":141004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":141004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:25:04] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980c78b0012d7c8b0005e61958000b00b513..."} 
[2026-07-25 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980c78b0012d7c8b0005e61958000b00b513..."} 
[2026-07-25 12:25:04] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980c78b0012d7c8b0005e61958000b00b513..."} 
[2026-07-25 12:25:04] local.INFO: Packet analysis {"connection_id":141004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980c"} 
[2026-07-25 12:25:04] local.INFO: Extracted packet for processing {"connection_id":141004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980c"} 
[2026-07-25 12:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763136768,"raw_latitude":98965848,"longitude_deg":76.3136768,"latitude_deg":9.8965848,"altitude":11,"angle":181,"satellites":19,"speed":2,"hex_longitude":"2d7c8b00","hex_latitude":"05e61958","is_valid_coordinates":true} 
[2026-07-25 12:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950367232001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149886619418624,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974055601568598016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784962382000,"timestamp_ms":1784962382000,"timestamp_seconds":1784962382,"priority":1,"record_length":96,"hex_timestamp":"0000019f980c78b0"} 
[2026-07-25 12:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 12:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950367232001,"66":13178,"31":206,"87":13824,"24":2,"16":110149886619418624,"45":8974055601568598016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-07-25 12:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950367232001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:25:04] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-25 12:25:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149886619418624,"km_value":110149886619418.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974055601568598016,"description":"Unknown IO ID 45"} 
[2026-07-25 12:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950367232001,"power":13178,"unknown_31":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8974055601568598016}} 
[2026-07-25 12:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":141004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:25:04] local.INFO: GPS data processed {"connection_id":141004,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:25:04] local.INFO: Acknowledgment sent {"connection_id":141004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:25:05] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980ccab8012d7c8b0005e61910000b00ab12..."} 
[2026-07-25 12:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980ccab8012d7c8b0005e61910000b00ab12..."} 
[2026-07-25 12:25:05] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980ccab8012d7c8b0005e61910000b00ab12..."} 
[2026-07-25 12:25:05] local.INFO: Packet analysis {"connection_id":141004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980c"} 
[2026-07-25 12:25:05] local.INFO: Extracted packet for processing {"connection_id":141004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980c"} 
[2026-07-25 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763136768,"raw_latitude":98965776,"longitude_deg":76.3136768,"latitude_deg":9.8965776,"altitude":11,"angle":171,"satellites":18,"speed":0,"hex_longitude":"2d7c8b00","hex_latitude":"05e61910","is_valid_coordinates":true} 
[2026-07-25 12:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950369792001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149890914385920,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974266707801102336,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784962403000,"timestamp_ms":1784962403000,"timestamp_seconds":1784962403,"priority":1,"record_length":96,"hex_timestamp":"0000019f980ccab8"} 
[2026-07-25 12:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 12:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950369792001,"66":13363,"38":206,"87":13824,"24":0,"16":110149890914385920,"45":8974266707801102336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-25 12:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950369792001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:25:05] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 12:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149890914385920,"km_value":110149890914385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974266707801102336,"description":"Unknown IO ID 45"} 
[2026-07-25 12:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950369792001,"power":13363,"unknown_38":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8974266707801102336}} 
[2026-07-25 12:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":141004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:25:05] local.INFO: GPS data processed {"connection_id":141004,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:25:05] local.INFO: Acknowledgment sent {"connection_id":141004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:25:33] local.INFO: TCP Data received {"connection_id":141005,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:25:33] local.INFO: Processing buffer {"connection_id":141005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980a07b0012d966ec0060666500015015d1d..."} 
[2026-07-25 12:25:33] local.INFO: Packet analysis {"connection_id":141005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:25:33] local.INFO: Extracted packet for processing {"connection_id":141005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980a"} 
[2026-07-25 12:25:33] local.INFO: GPS Element Parsed {"raw_longitude":764833472,"raw_latitude":101082704,"longitude_deg":76.4833472,"latitude_deg":10.1082704,"altitude":21,"angle":349,"satellites":29,"speed":0,"hex_longitude":"2d966ec0","hex_latitude":"06066650","is_valid_coordinates":true} 
[2026-07-25 12:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950251776001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357654549646802944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7606931588472483840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784962222000,"timestamp_ms":1784962222000,"timestamp_seconds":1784962222,"priority":1,"record_length":96,"hex_timestamp":"0000019f980a07b0"} 
[2026-07-25 12:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 12:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 12:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950251776001,"66":25702,"255":206,"79":48640,"24":0,"16":357654549646802944,"45":-7606931588472483840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,79,24,16,45]} 
[2026-07-25 12:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950251776001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:25:33] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-25 12:25:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357654549646802944,"km_value":357654549646802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7606931588472483840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950251776001,"power":25702,"unknown_255":206,"unknown_79":48640,"ignition":0,"odometer":null,"unknown_45":-7606931588472483840}} 
[2026-07-25 12:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":141005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:25:33] local.INFO: GPS data processed {"connection_id":141005,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:25:33] local.INFO: Acknowledgment sent {"connection_id":141005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:25:36] local.INFO: TCP Data received {"connection_id":141004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980e5540012d7c8e0005e66b300010012712..."} 
[2026-07-25 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980e5540012d7c8e0005e66b300010012712..."} 
[2026-07-25 12:25:36] local.INFO: Processing buffer {"connection_id":141004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980e5540012d7c8e0005e66b300010012712..."} 
[2026-07-25 12:25:36] local.INFO: Packet analysis {"connection_id":141004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980e"} 
[2026-07-25 12:25:36] local.INFO: Extracted packet for processing {"connection_id":141004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980e"} 
[2026-07-25 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":98986800,"longitude_deg":76.3137536,"latitude_deg":9.89868,"altitude":16,"angle":295,"satellites":18,"speed":1,"hex_longitude":"2d7c8e00","hex_latitude":"05e66b30","is_valid_coordinates":true} 
[2026-07-25 12:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950400512001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151097800196096,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975181501480767488,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784962504000,"timestamp_ms":1784962504000,"timestamp_seconds":1784962504,"priority":1,"record_length":96,"hex_timestamp":"0000019f980e5540"} 
[2026-07-25 12:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 12:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950400512001,"66":13102,"38":206,"87":13824,"24":1,"16":110151097800196096,"45":8975181501480767488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-25 12:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950400512001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:25:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 12:25:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151097800196096,"km_value":110151097800196.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975181501480767488,"description":"Unknown IO ID 45"} 
[2026-07-25 12:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950400512001,"power":13102,"unknown_38":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8975181501480767488}} 
[2026-07-25 12:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":141004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:25:36] local.INFO: GPS data processed {"connection_id":141004,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:25:36] local.INFO: Acknowledgment sent {"connection_id":141004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:25:53] local.INFO: TCP Data received {"connection_id":142060,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:53] local.INFO: Processing buffer {"connection_id":142060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:53] local.INFO: IMEI packet received {"connection_id":142060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":142060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:25:55] local.INFO: TCP Data received {"connection_id":142060,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142060,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:55] local.INFO: Processing buffer {"connection_id":142060,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:25:55] local.INFO: IMEI packet received {"connection_id":142060,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":142060,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:25:55] local.INFO: TCP Data received {"connection_id":142061,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:25:55] local.INFO: Processing buffer {"connection_id":142061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:25:55] local.INFO: IMEI packet received {"connection_id":142061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":142061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:25:56] local.INFO: TCP Data received {"connection_id":142060,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980ea748012d7c8d4005e66b900010012e10..."} 
[2026-07-25 12:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980ea748012d7c8d4005e66b900010012e10..."} 
[2026-07-25 12:25:56] local.INFO: Processing buffer {"connection_id":142060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980ea748012d7c8d4005e66b900010012e10..."} 
[2026-07-25 12:25:56] local.INFO: Packet analysis {"connection_id":142060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980e"} 
[2026-07-25 12:25:56] local.INFO: Extracted packet for processing {"connection_id":142060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980e"} 
[2026-07-25 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763137344,"raw_latitude":98986896,"longitude_deg":76.3137344,"latitude_deg":9.8986896,"altitude":16,"angle":302,"satellites":16,"speed":0,"hex_longitude":"2d7c8d40","hex_latitude":"05e66b90","is_valid_coordinates":true} 
[2026-07-25 12:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950401024001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151106390130688,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132736598016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784962525000,"timestamp_ms":1784962525000,"timestamp_seconds":1784962525,"priority":1,"record_length":96,"hex_timestamp":"0000019f980ea748"} 
[2026-07-25 12:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 12:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950401024001,"66":13015,"94":206,"87":13824,"24":0,"16":110151106390130688,"45":8975111132736598016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-25 12:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950401024001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:25:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 12:25:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151106390130688,"km_value":110151106390130.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132736598016,"description":"Unknown IO ID 45"} 
[2026-07-25 12:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950401024001,"power":13015,"unknown_94":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8975111132736598016}} 
[2026-07-25 12:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":142060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:25:56] local.INFO: GPS data processed {"connection_id":142060,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:25:56] local.INFO: Acknowledgment sent {"connection_id":142060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:26:07] local.INFO: TCP Data received {"connection_id":142061,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:26:07] local.INFO: Processing buffer {"connection_id":142061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:26:07] local.INFO: IMEI packet received {"connection_id":142061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":142061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:26:07] local.INFO: TCP Data received {"connection_id":142061,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 12:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142061,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 12:26:07] local.INFO: Processing buffer {"connection_id":142061,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 12:26:07] local.INFO: IMEI packet received {"connection_id":142061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":142061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:26:27] local.INFO: TCP Data received {"connection_id":142060,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980ebad0012d7c8cc005e66b480010010811..."} 
[2026-07-25 12:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980ebad0012d7c8cc005e66b480010010811..."} 
[2026-07-25 12:26:27] local.INFO: Processing buffer {"connection_id":142060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980ebad0012d7c8cc005e66b480010010811..."} 
[2026-07-25 12:26:27] local.INFO: Packet analysis {"connection_id":142060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980e"} 
[2026-07-25 12:26:27] local.INFO: Extracted packet for processing {"connection_id":142060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980e"} 
[2026-07-25 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763137216,"raw_latitude":98986824,"longitude_deg":76.3137216,"latitude_deg":9.8986824,"altitude":16,"angle":264,"satellites":17,"speed":4,"hex_longitude":"2d7c8cc0","hex_latitude":"05e66b48","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950406400001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151114980065280,"note":"Value kept but may cause issues"} 
[2026-07-25 12:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974900026504089600,"note":"Value kept but may cause issues"} 
[2026-07-25 12:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784962530000,"timestamp_ms":1784962530000,"timestamp_seconds":1784962530,"priority":1,"record_length":96,"hex_timestamp":"0000019f980ebad0"} 
[2026-07-25 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-07-25 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 12:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142060,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950406400001,"66":13341,"94":206,"87":13824,"24":4,"16":110151114980065280,"45":8974900026504089600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-25 12:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950406400001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:26:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 12:26:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151114980065280,"km_value":110151114980065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974900026504089600,"description":"Unknown IO ID 45"} 
[2026-07-25 12:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950406400001,"power":13341,"unknown_94":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8974900026504089600}} 
[2026-07-25 12:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":142060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:26:27] local.INFO: GPS data processed {"connection_id":142060,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:26:27] local.INFO: Acknowledgment sent {"connection_id":142060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:26:30] local.INFO: TCP Data received {"connection_id":143411,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:26:30] local.INFO: Processing buffer {"connection_id":143411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:26:30] local.INFO: IMEI packet received {"connection_id":143411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":143411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:26:53] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:26:53] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:26:53] local.INFO: IMEI packet received {"connection_id":141065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":141065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:26:55] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:26:55] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:26:55] local.INFO: IMEI packet received {"connection_id":141065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":141065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:26:56] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980f9978012d7c604005e67928000b011813..."} 
[2026-07-25 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980f9978012d7c604005e67928000b011813..."} 
[2026-07-25 12:26:56] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980f9978012d7c604005e67928000b011813..."} 
[2026-07-25 12:26:56] local.INFO: Packet analysis {"connection_id":141065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:26:56] local.INFO: Extracted packet for processing {"connection_id":141065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763125824,"raw_latitude":98990376,"longitude_deg":76.3125824,"latitude_deg":9.8990376,"altitude":11,"angle":280,"satellites":19,"speed":9,"hex_longitude":"2d7c6040","hex_latitude":"05e67928","is_valid_coordinates":true} 
[2026-07-25 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950422016001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151793584898048,"note":"Value kept but may cause issues"} 
[2026-07-25 12:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962515127529691136,"note":"Value kept but may cause issues"} 
[2026-07-25 12:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784962587000,"timestamp_ms":1784962587000,"timestamp_seconds":1784962587,"priority":1,"record_length":96,"hex_timestamp":"0000019f980f9978"} 
[2026-07-25 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950422016001,"66":13135,"94":206,"87":13824,"24":9,"16":110151793584898048,"45":8962515127529691136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-25 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950422016001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151793584898048,"km_value":110151793584898.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962515127529691136,"description":"Unknown IO ID 45"} 
[2026-07-25 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950422016001,"power":13135,"unknown_94":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8962515127529691136}} 
[2026-07-25 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":141065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:26:56] local.INFO: GPS data processed {"connection_id":141065,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:26:56] local.INFO: Acknowledgment sent {"connection_id":141065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:27:27] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980f9d60012d7c5f8005e67930000a010713..."} 
[2026-07-25 12:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980f9d60012d7c5f8005e67930000a010713..."} 
[2026-07-25 12:27:27] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980f9d60012d7c5f8005e67930000a010713..."} 
[2026-07-25 12:27:27] local.INFO: Packet analysis {"connection_id":141065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:27:27] local.INFO: Extracted packet for processing {"connection_id":141065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763125632,"raw_latitude":98990384,"longitude_deg":76.3125632,"latitude_deg":9.8990384,"altitude":10,"angle":263,"satellites":19,"speed":9,"hex_longitude":"2d7c5f80","hex_latitude":"05e67930","is_valid_coordinates":true} 
[2026-07-25 12:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950422272001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151802174832640,"note":"Value kept but may cause issues"} 
[2026-07-25 12:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962233652553000960,"note":"Value kept but may cause issues"} 
[2026-07-25 12:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784962588000,"timestamp_ms":1784962588000,"timestamp_seconds":1784962588,"priority":1,"record_length":96,"hex_timestamp":"0000019f980f9d60"} 
[2026-07-25 12:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 12:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950422272001,"66":12982,"94":206,"87":13824,"24":9,"16":110151802174832640,"45":8962233652553000960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-25 12:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950422272001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:27:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 12:27:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151802174832640,"km_value":110151802174832.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962233652553000960,"description":"Unknown IO ID 45"} 
[2026-07-25 12:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950422272001,"power":12982,"unknown_94":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8962233652553000960}} 
[2026-07-25 12:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":141065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:27:27] local.INFO: GPS data processed {"connection_id":141065,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:27:27] local.INFO: Acknowledgment sent {"connection_id":141065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:27:53] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:27:53] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:27:53] local.INFO: IMEI packet received {"connection_id":141067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":141067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:27:57] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:27:57] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:27:57] local.INFO: IMEI packet received {"connection_id":141067,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":141067,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:27:57] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980fa148012d7c5e4005e678e0000b00f513..."} 
[2026-07-25 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980fa148012d7c5e4005e678e0000b00f513..."} 
[2026-07-25 12:27:57] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980fa148012d7c5e4005e678e0000b00f513..."} 
[2026-07-25 12:27:57] local.INFO: Packet analysis {"connection_id":141067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:27:57] local.INFO: Extracted packet for processing {"connection_id":141067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763125312,"raw_latitude":98990304,"longitude_deg":76.3125312,"latitude_deg":9.8990304,"altitude":11,"angle":245,"satellites":19,"speed":11,"hex_longitude":"2d7c5e40","hex_latitude":"05e678e0","is_valid_coordinates":true} 
[2026-07-25 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950422528001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151819354701824,"note":"Value kept but may cause issues"} 
[2026-07-25 12:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962022546320470016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784962589000,"timestamp_ms":1784962589000,"timestamp_seconds":1784962589,"priority":1,"record_length":96,"hex_timestamp":"0000019f980fa148"} 
[2026-07-25 12:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 12:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950422528001,"66":12982,"94":206,"87":13824,"24":11,"16":110151819354701824,"45":8962022546320470016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-25 12:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950422528001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:27:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 12:27:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151819354701824,"km_value":110151819354701.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962022546320470016,"description":"Unknown IO ID 45"} 
[2026-07-25 12:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950422528001,"power":12982,"unknown_94":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8962022546320470016}} 
[2026-07-25 12:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":141067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:27:58] local.INFO: GPS data processed {"connection_id":141067,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:27:58] local.INFO: Acknowledgment sent {"connection_id":141067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:28:28] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f980fd410012d7c510005e674380009010614..."} 
[2026-07-25 12:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f980fd410012d7c510005e674380009010614..."} 
[2026-07-25 12:28:29] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f980fd410012d7c510005e674380009010614..."} 
[2026-07-25 12:28:29] local.INFO: Packet analysis {"connection_id":141067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:28:29] local.INFO: Extracted packet for processing {"connection_id":141067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f980f"} 
[2026-07-25 12:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763121920,"raw_latitude":98989112,"longitude_deg":76.312192,"latitude_deg":9.8989112,"altitude":9,"angle":262,"satellites":20,"speed":14,"hex_longitude":"2d7c5100","hex_latitude":"05e67438","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950422784001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110151991153393664,"note":"Value kept but may cause issues"} 
[2026-07-25 12:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961670702599561216,"note":"Value kept but may cause issues"} 
[2026-07-25 12:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784962602000,"timestamp_ms":1784962602000,"timestamp_seconds":1784962602,"priority":1,"record_length":96,"hex_timestamp":"0000019f980fd410"} 
[2026-07-25 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-07-25 12:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 12:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141067,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950422784001,"66":13276,"94":206,"87":13824,"24":14,"16":110151991153393664,"45":8961670702599561216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,87,24,16,45]} 
[2026-07-25 12:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950422784001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:28:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-25 12:28:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110151991153393664,"km_value":110151991153393.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961670702599561216,"description":"Unknown IO ID 45"} 
[2026-07-25 12:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950422784001,"power":13276,"unknown_94":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8961670702599561216}} 
[2026-07-25 12:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":141067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:28:29] local.INFO: GPS data processed {"connection_id":141067,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:28:29] local.INFO: Acknowledgment sent {"connection_id":141067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:28:51] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:51] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:51] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:28:53] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:53] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:53] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:28:53] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:53] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:53] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:28:54] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:54] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:28:54] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:31:11] local.INFO: TCP Data received {"connection_id":141008,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:31:11] local.INFO: Processing buffer {"connection_id":141008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:31:11] local.INFO: IMEI packet received {"connection_id":141008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":141008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:31:12] local.INFO: TCP Data received {"connection_id":141008,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98119930012d9640800606d218001401382a..."} 
[2026-07-25 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98119930012d9640800606d218001401382a..."} 
[2026-07-25 12:31:12] local.INFO: Processing buffer {"connection_id":141008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98119930012d9640800606d218001401382a..."} 
[2026-07-25 12:31:12] local.INFO: Packet analysis {"connection_id":141008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9811"} 
[2026-07-25 12:31:12] local.INFO: Extracted packet for processing {"connection_id":141008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9811"} 
[2026-07-25 12:31:12] local.INFO: GPS Element Parsed {"raw_longitude":764821632,"raw_latitude":101110296,"longitude_deg":76.4821632,"latitude_deg":10.1110296,"altitude":20,"angle":312,"satellites":42,"speed":8,"hex_longitude":"2d964080","hex_latitude":"0606d218","is_valid_coordinates":true} 
[2026-07-25 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950454272001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357656937648619520,"note":"Value kept but may cause issues"} 
[2026-07-25 12:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7619035012464273408,"note":"Value kept but may cause issues"} 
[2026-07-25 12:31:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784962718000,"timestamp_ms":1784962718000,"timestamp_seconds":1784962718,"priority":1,"record_length":96,"hex_timestamp":"0000019f98119930"} 
[2026-07-25 12:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 12:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950454272001,"66":28137,"79":48640,"24":8,"16":357656937648619520,"45":-7619035012464273408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-25 12:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950454272001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:31:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357656937648619520,"km_value":357656937648619.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7619035012464273408,"description":"Unknown IO ID 45"} 
[2026-07-25 12:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456950454272001,"power":28137,"unknown_79":48640,"ignition":8,"odometer":null,"unknown_45":-7619035012464273408}} 
[2026-07-25 12:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":141008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:31:12] local.INFO: GPS data processed {"connection_id":141008,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:31:12] local.INFO: Acknowledgment sent {"connection_id":141008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:32:00] local.INFO: TCP Data received {"connection_id":143416,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:00] local.INFO: Processing buffer {"connection_id":143416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:00] local.INFO: IMEI packet received {"connection_id":143416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":143416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:32:05] local.INFO: TCP Data received {"connection_id":143414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:32:05] local.INFO: Processing buffer {"connection_id":143414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:32:05] local.INFO: IMEI packet received {"connection_id":143414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":143414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:32:05] local.INFO: TCP Data received {"connection_id":143416,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:05] local.INFO: Processing buffer {"connection_id":143416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:05] local.INFO: IMEI packet received {"connection_id":143416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":143416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:32:06] local.INFO: TCP Data received {"connection_id":143416,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9811b0a0012d963c400606d7300016014728..."} 
[2026-07-25 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9811b0a0012d963c400606d7300016014728..."} 
[2026-07-25 12:32:06] local.INFO: Processing buffer {"connection_id":143416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9811b0a0012d963c400606d7300016014728..."} 
[2026-07-25 12:32:06] local.INFO: Packet analysis {"connection_id":143416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9811"} 
[2026-07-25 12:32:06] local.INFO: Extracted packet for processing {"connection_id":143416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9811"} 
[2026-07-25 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":764820544,"raw_latitude":101111600,"longitude_deg":76.4820544,"latitude_deg":10.11116,"altitude":22,"angle":327,"satellites":40,"speed":12,"hex_longitude":"2d963c40","hex_latitude":"0606d730","is_valid_coordinates":true} 
[2026-07-25 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950455808001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357657019252998144,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7619949806138288128,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784962724000,"timestamp_ms":1784962724000,"timestamp_seconds":1784962724,"priority":1,"record_length":96,"hex_timestamp":"0000019f9811b0a0"} 
[2026-07-25 12:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 12:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950455808001,"66":27930,"79":48640,"24":12,"16":357657019252998144,"45":-7619949806138288128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-25 12:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950455808001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:32:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357657019252998144,"km_value":357657019252998.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7619949806138288128,"description":"Unknown IO ID 45"} 
[2026-07-25 12:32:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456950455808001,"power":27930,"unknown_79":48640,"ignition":12,"odometer":null,"unknown_45":-7619949806138288128}} 
[2026-07-25 12:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":143416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:32:06] local.INFO: GPS data processed {"connection_id":143416,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:32:06] local.INFO: Acknowledgment sent {"connection_id":143416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:32:09] local.INFO: TCP Data received {"connection_id":143416,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9811e750012d962c400606ebf00017013b2a..."} 
[2026-07-25 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9811e750012d962c400606ebf00017013b2a..."} 
[2026-07-25 12:32:09] local.INFO: Processing buffer {"connection_id":143416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9811e750012d962c400606ebf00017013b2a..."} 
[2026-07-25 12:32:09] local.INFO: Packet analysis {"connection_id":143416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9811"} 
[2026-07-25 12:32:09] local.INFO: Extracted packet for processing {"connection_id":143416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9811"} 
[2026-07-25 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":764816448,"raw_latitude":101116912,"longitude_deg":76.4816448,"latitude_deg":10.1116912,"altitude":23,"angle":315,"satellites":42,"speed":18,"hex_longitude":"2d962c40","hex_latitude":"0606ebf0","is_valid_coordinates":true} 
[2026-07-25 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950457344001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357657341375545344,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7621146074788974592,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 12:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784962738000,"timestamp_ms":1784962738000,"timestamp_seconds":1784962738,"priority":1,"record_length":96,"hex_timestamp":"0000019f9811e750"} 
[2026-07-25 12:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950457344001,"66":27974,"79":48640,"24":18,"16":357657341375545344,"45":-7621146074788974592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,24,16,45]} 
[2026-07-25 12:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950457344001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:32:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357657341375545344,"km_value":357657341375545.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7621146074788974592,"description":"Unknown IO ID 45"} 
[2026-07-25 12:32:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456950457344001,"power":27974,"unknown_79":48640,"ignition":18,"odometer":null,"unknown_45":-7621146074788974592}} 
[2026-07-25 12:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":143416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:32:09] local.INFO: GPS data processed {"connection_id":143416,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:32:09] local.INFO: Acknowledgment sent {"connection_id":143416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:32:40] local.INFO: TCP Data received {"connection_id":143416,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98145080012d95bec0060764180021004c27..."} 
[2026-07-25 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98145080012d95bec0060764180021004c27..."} 
[2026-07-25 12:32:40] local.INFO: Processing buffer {"connection_id":143416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98145080012d95bec0060764180021004c27..."} 
[2026-07-25 12:32:40] local.INFO: Packet analysis {"connection_id":143416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:32:40] local.INFO: Extracted packet for processing {"connection_id":143416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":764788416,"raw_latitude":101147672,"longitude_deg":76.4788416,"latitude_deg":10.1147672,"altitude":33,"angle":76,"satellites":39,"speed":16,"hex_longitude":"2d95bec0","hex_latitude":"06076418","is_valid_coordinates":true} 
[2026-07-25 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950500864001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357659454499454976,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7657174871798777856,"note":"Value kept but may cause issues"} 
[2026-07-25 12:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784962896000,"timestamp_ms":1784962896000,"timestamp_seconds":1784962896,"priority":1,"record_length":96,"hex_timestamp":"0000019f98145080"} 
[2026-07-25 12:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-25 12:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950500864001,"66":28006,"161":206,"79":48640,"24":16,"16":357659454499454976,"45":-7657174871798777856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,79,24,16,45]} 
[2026-07-25 12:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950500864001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:32:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-25 12:32:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357659454499454976,"km_value":357659454499455.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7657174871798777856,"description":"Unknown IO ID 45"} 
[2026-07-25 12:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950500864001,"power":28006,"unknown_161":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7657174871798777856}} 
[2026-07-25 12:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":143416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:32:40] local.INFO: GPS data processed {"connection_id":143416,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:32:40] local.INFO: Acknowledgment sent {"connection_id":143416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:32:55] local.INFO: TCP Data received {"connection_id":143417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:55] local.INFO: Processing buffer {"connection_id":143417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:55] local.INFO: IMEI packet received {"connection_id":143417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":143417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:32:56] local.INFO: TCP Data received {"connection_id":143417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:56] local.INFO: Processing buffer {"connection_id":143417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:32:56] local.INFO: IMEI packet received {"connection_id":143417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":143417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:33:01] local.INFO: TCP Data received {"connection_id":143417,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:33:01] local.INFO: Processing buffer {"connection_id":143417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:33:01] local.INFO: IMEI packet received {"connection_id":143417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":143417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:33:02] local.INFO: TCP Data received {"connection_id":143417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98148f00012d95e200060767700021005527..."} 
[2026-07-25 12:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98148f00012d95e200060767700021005527..."} 
[2026-07-25 12:33:02] local.INFO: Processing buffer {"connection_id":143417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98148f00012d95e200060767700021005527..."} 
[2026-07-25 12:33:02] local.INFO: Packet analysis {"connection_id":143417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:33:02] local.INFO: Extracted packet for processing {"connection_id":143417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":764797440,"raw_latitude":101148528,"longitude_deg":76.479744,"latitude_deg":10.1148528,"altitude":33,"angle":85,"satellites":39,"speed":28,"hex_longitude":"2d95e200","hex_latitude":"06076770","is_valid_coordinates":true} 
[2026-07-25 12:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950501376001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357659888291151872,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7656471184356927488,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784962912000,"timestamp_ms":1784962912000,"timestamp_seconds":1784962912,"priority":1,"record_length":96,"hex_timestamp":"0000019f98148f00"} 
[2026-07-25 12:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950501376001,"66":28028,"228":206,"79":48640,"24":28,"16":357659888291151872,"45":-7656471184356927488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950501376001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357659888291151872,"km_value":357659888291151.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7656471184356927488,"description":"Unknown IO ID 45"} 
[2026-07-25 12:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950501376001,"power":28028,"unknown_228":206,"unknown_79":48640,"ignition":28,"odometer":null,"unknown_45":-7656471184356927488}} 
[2026-07-25 12:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":143417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:33:02] local.INFO: GPS data processed {"connection_id":143417,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:33:02] local.INFO: Acknowledgment sent {"connection_id":143417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:33:06] local.INFO: TCP Data received {"connection_id":143417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9814a670012d95f300060769b80020004a26..."} 
[2026-07-25 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9814a670012d95f300060769b80020004a26..."} 
[2026-07-25 12:33:06] local.INFO: Processing buffer {"connection_id":143417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9814a670012d95f300060769b80020004a26..."} 
[2026-07-25 12:33:06] local.INFO: Packet analysis {"connection_id":143417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:33:06] local.INFO: Extracted packet for processing {"connection_id":143417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":764801792,"raw_latitude":101149112,"longitude_deg":76.4801792,"latitude_deg":10.1149112,"altitude":32,"angle":74,"satellites":38,"speed":27,"hex_longitude":"2d95f300","hex_latitude":"060769b8","is_valid_coordinates":true} 
[2026-07-25 12:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950505472001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357660098744549376,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7646549191427657728,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784962918000,"timestamp_ms":1784962918000,"timestamp_seconds":1784962918,"priority":1,"record_length":96,"hex_timestamp":"0000019f9814a670"} 
[2026-07-25 12:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 12:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950505472001,"66":28028,"228":206,"79":48640,"24":27,"16":357660098744549376,"45":-7646549191427657728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950505472001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:33:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:33:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357660098744549376,"km_value":357660098744549.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7646549191427657728,"description":"Unknown IO ID 45"} 
[2026-07-25 12:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950505472001,"power":28028,"unknown_228":206,"unknown_79":48640,"ignition":27,"odometer":null,"unknown_45":-7646549191427657728}} 
[2026-07-25 12:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":143417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:33:06] local.INFO: GPS data processed {"connection_id":143417,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:33:06] local.INFO: Acknowledgment sent {"connection_id":143417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:33:37] local.INFO: TCP Data received {"connection_id":143417,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9814f878012d9608c0060773b0001d004323..."} 
[2026-07-25 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9814f878012d9608c0060773b0001d004323..."} 
[2026-07-25 12:33:37] local.INFO: Processing buffer {"connection_id":143417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9814f878012d9608c0060773b0001d004323..."} 
[2026-07-25 12:33:37] local.INFO: Packet analysis {"connection_id":143417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:33:37] local.INFO: Extracted packet for processing {"connection_id":143417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9814"} 
[2026-07-25 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":764807360,"raw_latitude":101151664,"longitude_deg":76.480736,"latitude_deg":10.1151664,"altitude":29,"angle":67,"satellites":35,"speed":3,"hex_longitude":"2d9608c0","hex_latitude":"060773b0","is_valid_coordinates":true} 
[2026-07-25 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950507008001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357660390802325504,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7641764116823427072,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784962939000,"timestamp_ms":1784962939000,"timestamp_seconds":1784962939,"priority":1,"record_length":96,"hex_timestamp":"0000019f9814f878"} 
[2026-07-25 12:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 12:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950507008001,"66":27865,"228":206,"79":48640,"24":3,"16":357660390802325504,"45":-7641764116823427072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950507008001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:33:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:33:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357660390802325504,"km_value":357660390802325.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7641764116823427072,"description":"Unknown IO ID 45"} 
[2026-07-25 12:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950507008001,"power":27865,"unknown_228":206,"unknown_79":48640,"ignition":3,"odometer":null,"unknown_45":-7641764116823427072}} 
[2026-07-25 12:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":143417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:33:37] local.INFO: GPS data processed {"connection_id":143417,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:33:37] local.INFO: Acknowledgment sent {"connection_id":143417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:33:56] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:33:56] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:33:56] local.INFO: IMEI packet received {"connection_id":141071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":141071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:33:58] local.INFO: TCP Data received {"connection_id":142064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:33:58] local.INFO: Processing buffer {"connection_id":142064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:33:58] local.INFO: IMEI packet received {"connection_id":142064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":142064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:33:59] local.INFO: TCP Data received {"connection_id":142064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98158518012d7bff8005e5d2b00008008915..."} 
[2026-07-25 12:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98158518012d7bff8005e5d2b00008008915..."} 
[2026-07-25 12:33:59] local.INFO: Processing buffer {"connection_id":142064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98158518012d7bff8005e5d2b00008008915..."} 
[2026-07-25 12:33:59] local.INFO: Packet analysis {"connection_id":142064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:33:59] local.INFO: Extracted packet for processing {"connection_id":142064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763101056,"raw_latitude":98947760,"longitude_deg":76.3101056,"latitude_deg":9.894776,"altitude":8,"angle":137,"satellites":21,"speed":26,"hex_longitude":"2d7bff80","hex_latitude":"05e5d2b0","is_valid_coordinates":true} 
[2026-07-25 12:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950517248001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110155654760497152,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752967896594432,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784962975000,"timestamp_ms":1784962975000,"timestamp_seconds":1784962975,"priority":1,"record_length":96,"hex_timestamp":"0000019f98158518"} 
[2026-07-25 12:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159355428173,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2551475160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147870224,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":95,"raw_value":58079734643818500,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3860209664,"note":"Value kept but may cause issues"} 
[2026-07-25 12:33:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,40,87,24,241,157,16,89,159,51,45,192,240,6,17,10,66,35,128,245,15,209,64,1,242,227,152,230,4,113,205,166,212,136,20,239,95,2,135,5,7],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-07-25 12:33:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432491867994652672,"timestamp_seconds":432491867994652.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:33: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-07-25 12:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950517248001,"66":13319,"40":206,"87":13824,"24":26,"16":110155654760497152,"45":8927752967896594432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-25 12:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950517248001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110155654760497152,"km_value":110155654760497.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752967896594432,"description":"Unknown IO ID 45"} 
[2026-07-25 12:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950517248001,"power":13319,"unknown_40":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8927752967896594432}} 
[2026-07-25 12:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":142064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:33:59] local.INFO: GPS data processed {"connection_id":142064,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:33:59] local.INFO: Acknowledgment sent {"connection_id":142064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:34:00] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:34:00] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:34:00] local.INFO: IMEI packet received {"connection_id":141071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":141071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:34:01] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98154698012d960f0006077710001d004427..."} 
[2026-07-25 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98154698012d960f0006077710001d004427..."} 
[2026-07-25 12:34:01] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98154698012d960f0006077710001d004427..."} 
[2026-07-25 12:34:01] local.INFO: Packet analysis {"connection_id":141071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:01] local.INFO: Extracted packet for processing {"connection_id":141071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:01] local.INFO: GPS Element Parsed {"raw_longitude":764808960,"raw_latitude":101152528,"longitude_deg":76.480896,"latitude_deg":10.1152528,"altitude":29,"angle":68,"satellites":39,"speed":5,"hex_longitude":"2d960f00","hex_latitude":"06077710","is_valid_coordinates":true} 
[2026-07-25 12:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950512384001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357660480996638720,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7635642036079316992,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784962959000,"timestamp_ms":1784962959000,"timestamp_seconds":1784962959,"priority":1,"record_length":96,"hex_timestamp":"0000019f98154698"} 
[2026-07-25 12:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 12:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950512384001,"66":27800,"228":206,"79":48640,"24":5,"16":357660480996638720,"45":-7635642036079316992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950512384001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:34:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:34:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357660480996638720,"km_value":357660480996638.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7635642036079316992,"description":"Unknown IO ID 45"} 
[2026-07-25 12:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950512384001,"power":27800,"unknown_228":206,"unknown_79":48640,"ignition":5,"odometer":null,"unknown_45":-7635642036079316992}} 
[2026-07-25 12:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":141071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:34:01] local.INFO: GPS data processed {"connection_id":141071,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:34:01] local.INFO: Acknowledgment sent {"connection_id":141071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:34:30] local.INFO: TCP Data received {"connection_id":142064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98159c88012d7c080005e5c6280008009715..."} 
[2026-07-25 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98159c88012d7c080005e5c6280008009715..."} 
[2026-07-25 12:34:30] local.INFO: Processing buffer {"connection_id":142064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98159c88012d7c080005e5c6280008009715..."} 
[2026-07-25 12:34:30] local.INFO: Packet analysis {"connection_id":142064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:30] local.INFO: Extracted packet for processing {"connection_id":142064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":98944552,"longitude_deg":76.3103232,"latitude_deg":9.8944552,"altitude":8,"angle":151,"satellites":21,"speed":25,"hex_longitude":"2d7c0800","hex_latitude":"05e5c628","is_valid_coordinates":true} 
[2026-07-25 12:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950521600001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110155843739058176,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935000948545335296,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784962981000,"timestamp_ms":1784962981000,"timestamp_seconds":1784962981,"priority":1,"record_length":96,"hex_timestamp":"0000019f98159c88"} 
[2026-07-25 12:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2551490160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040077,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":230,"raw_value":1594274298163892992,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2147560827,"corrected_to":0} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3859843072,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.WARNING: Large IO value detected {"io_id":20,"raw_value":7770962451890372613,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,40,87,24,241,157,16,89,159,66,45,192,234,6,10,51,240,17,35,128,1,18,227,152,230,4,113,205,15,217,19,239,95,2,135,5,7,13,79,20],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2147560827,"validated":0}]} 
[2026-07-25 12:34:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576611475592445952,"timestamp_seconds":576611475592446.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:34: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-07-25 12:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950521600001,"66":13396,"40":206,"87":13824,"24":25,"16":110155843739058176,"45":8935000948545335296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-25 12:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950521600001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:34:30] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-25 12:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110155843739058176,"km_value":110155843739058.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935000948545335296,"description":"Unknown IO ID 45"} 
[2026-07-25 12:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950521600001,"power":13396,"unknown_40":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8935000948545335296}} 
[2026-07-25 12:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":142064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:34:30] local.INFO: GPS data processed {"connection_id":142064,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:34:30] local.INFO: Acknowledgment sent {"connection_id":142064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:34:32] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981598a0012d961040060777c8001e004428..."} 
[2026-07-25 12:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981598a0012d961040060777c8001e004428..."} 
[2026-07-25 12:34:32] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981598a0012d961040060777c8001e004428..."} 
[2026-07-25 12:34:32] local.INFO: Packet analysis {"connection_id":141071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:32] local.INFO: Extracted packet for processing {"connection_id":141071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:32] local.INFO: GPS Element Parsed {"raw_longitude":764809280,"raw_latitude":101152712,"longitude_deg":76.480928,"latitude_deg":10.1152712,"altitude":30,"angle":68,"satellites":40,"speed":3,"hex_longitude":"2d961040","hex_latitude":"060777c8","is_valid_coordinates":true} 
[2026-07-25 12:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950517504001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357660498176507904,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7633882817474654208,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784962980000,"timestamp_ms":1784962980000,"timestamp_seconds":1784962980,"priority":1,"record_length":96,"hex_timestamp":"0000019f981598a0"} 
[2026-07-25 12:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 12:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950517504001,"66":27767,"228":206,"79":48640,"24":3,"16":357660498176507904,"45":-7633882817474654208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950517504001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:34:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:34:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357660498176507904,"km_value":357660498176507.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7633882817474654208,"description":"Unknown IO ID 45"} 
[2026-07-25 12:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950517504001,"power":27767,"unknown_228":206,"unknown_79":48640,"ignition":3,"odometer":null,"unknown_45":-7633882817474654208}} 
[2026-07-25 12:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":141071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:34:32] local.INFO: GPS data processed {"connection_id":141071,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:34:32] local.INFO: Acknowledgment sent {"connection_id":141071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:34:53] local.INFO: TCP Data received {"connection_id":141010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:34:53] local.INFO: Processing buffer {"connection_id":141010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:34:53] local.INFO: IMEI packet received {"connection_id":141010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":141010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:34:57] local.INFO: TCP Data received {"connection_id":143419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:34:57] local.INFO: Processing buffer {"connection_id":143419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:34:57] local.INFO: IMEI packet received {"connection_id":143419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":143419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:34:58] local.INFO: TCP Data received {"connection_id":141010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:34:58] local.INFO: Processing buffer {"connection_id":141010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:34:58] local.INFO: IMEI packet received {"connection_id":141010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":141010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:34:59] local.INFO: TCP Data received {"connection_id":141010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9815ee90012d7c170005e5a7e80008009b14..."} 
[2026-07-25 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9815ee90012d7c170005e5a7e80008009b14..."} 
[2026-07-25 12:34:59] local.INFO: Processing buffer {"connection_id":141010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9815ee90012d7c170005e5a7e80008009b14..."} 
[2026-07-25 12:34:59] local.INFO: Packet analysis {"connection_id":141010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:59] local.INFO: Extracted packet for processing {"connection_id":141010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763107072,"raw_latitude":98936808,"longitude_deg":76.3107072,"latitude_deg":9.8936808,"altitude":8,"angle":155,"satellites":20,"speed":0,"hex_longitude":"2d7c1700","hex_latitude":"05e5a7e8","is_valid_coordinates":true} 
[2026-07-25 12:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950523136001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110156260350885888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485846554624,"note":"Value kept but may cause issues"} 
[2026-07-25 12:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963002000,"timestamp_ms":1784963002000,"timestamp_seconds":1784963002,"priority":1,"record_length":96,"hex_timestamp":"0000019f9815ee90"} 
[2026-07-25 12:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-25 12:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:34: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-07-25 12:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950523136001,"66":12939,"40":206,"87":13824,"24":0,"16":110156260350885888,"45":8937393485846554624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-25 12:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950523136001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110156260350885888,"km_value":110156260350885.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485846554624,"description":"Unknown IO ID 45"} 
[2026-07-25 12:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950523136001,"power":12939,"unknown_40":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8937393485846554624}} 
[2026-07-25 12:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":141010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:34:59] local.INFO: GPS data processed {"connection_id":141010,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:34:59] local.INFO: Acknowledgment sent {"connection_id":141010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:35:00] local.INFO: TCP Data received {"connection_id":143419,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:35:00] local.INFO: Processing buffer {"connection_id":143419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:35:00] local.INFO: IMEI packet received {"connection_id":143419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:35:01] local.INFO: TCP Data received {"connection_id":143419,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9815eaa8012d961d8006077db0002000412a..."} 
[2026-07-25 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9815eaa8012d961d8006077db0002000412a..."} 
[2026-07-25 12:35:01] local.INFO: Processing buffer {"connection_id":143419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9815eaa8012d961d8006077db0002000412a..."} 
[2026-07-25 12:35:01] local.INFO: Packet analysis {"connection_id":143419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:35:01] local.INFO: Extracted packet for processing {"connection_id":143419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9815"} 
[2026-07-25 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":764812672,"raw_latitude":101154224,"longitude_deg":76.4812672,"latitude_deg":10.1154224,"altitude":32,"angle":65,"satellites":42,"speed":16,"hex_longitude":"2d961d80","hex_latitude":"06077db0","is_valid_coordinates":true} 
[2026-07-25 12:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950522880001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357660678565134336,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7633530973753718784,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963001000,"timestamp_ms":1784963001000,"timestamp_seconds":1784963001,"priority":1,"record_length":96,"hex_timestamp":"0000019f9815eaa8"} 
[2026-07-25 12:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 12:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950522880001,"66":28028,"228":206,"79":48640,"24":16,"16":357660678565134336,"45":-7633530973753718784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950522880001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:35:01] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:35:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357660678565134336,"km_value":357660678565134.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7633530973753718784,"description":"Unknown IO ID 45"} 
[2026-07-25 12:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950522880001,"power":28028,"unknown_228":206,"unknown_79":48640,"ignition":16,"odometer":null,"unknown_45":-7633530973753718784}} 
[2026-07-25 12:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":143419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:35:01] local.INFO: GPS data processed {"connection_id":143419,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:35:01] local.INFO: Acknowledgment sent {"connection_id":143419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:35:30] local.INFO: TCP Data received {"connection_id":141010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98163cb0012d7c238005e58c68000b00a615..."} 
[2026-07-25 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98163cb0012d7c238005e58c68000b00a615..."} 
[2026-07-25 12:35:30] local.INFO: Processing buffer {"connection_id":141010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98163cb0012d7c238005e58c68000b00a615..."} 
[2026-07-25 12:35:30] local.INFO: Packet analysis {"connection_id":141010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:35:30] local.INFO: Extracted packet for processing {"connection_id":141010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763110272,"raw_latitude":98929768,"longitude_deg":76.3110272,"latitude_deg":9.8929768,"altitude":11,"angle":166,"satellites":21,"speed":7,"hex_longitude":"2d7c2380","hex_latitude":"05e58c68","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950528512001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110156638308007936,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941615610495232000,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963022000,"timestamp_ms":1784963022000,"timestamp_seconds":1784963022,"priority":1,"record_length":96,"hex_timestamp":"0000019f98163cb0"} 
[2026-07-25 12:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 12:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:35: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-07-25 12:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950528512001,"66":13059,"40":206,"87":13824,"24":7,"16":110156638308007936,"45":8941615610495232000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-25 12:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950528512001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:35:30] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-25 12:35:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110156638308007936,"km_value":110156638308007.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941615610495232000,"description":"Unknown IO ID 45"} 
[2026-07-25 12:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950528512001,"power":13059,"unknown_40":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8941615610495232000}} 
[2026-07-25 12:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":141010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:35:30] local.INFO: GPS data processed {"connection_id":141010,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:35:30] local.INFO: Acknowledgment sent {"connection_id":141010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:35:32] local.INFO: TCP Data received {"connection_id":143419,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98161d70012d962f4006078320001d005228..."} 
[2026-07-25 12:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98161d70012d962f4006078320001d005228..."} 
[2026-07-25 12:35:32] local.INFO: Processing buffer {"connection_id":143419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98161d70012d962f4006078320001d005228..."} 
[2026-07-25 12:35:32] local.INFO: Packet analysis {"connection_id":143419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:35:32] local.INFO: Extracted packet for processing {"connection_id":143419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":764817216,"raw_latitude":101155616,"longitude_deg":76.4817216,"latitude_deg":10.1155616,"altitude":29,"angle":82,"satellites":40,"speed":10,"hex_longitude":"2d962f40","hex_latitude":"06078320","is_valid_coordinates":true} 
[2026-07-25 12:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950528256001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357660906198401024,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7629801430311915520,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784963014000,"timestamp_ms":1784963014000,"timestamp_seconds":1784963014,"priority":1,"record_length":96,"hex_timestamp":"0000019f98161d70"} 
[2026-07-25 12:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 12:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950528256001,"66":27974,"228":206,"79":48640,"24":10,"16":357660906198401024,"45":-7629801430311915520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950528256001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357660906198401024,"km_value":357660906198401.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7629801430311915520,"description":"Unknown IO ID 45"} 
[2026-07-25 12:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950528256001,"power":27974,"unknown_228":206,"unknown_79":48640,"ignition":10,"odometer":null,"unknown_45":-7629801430311915520}} 
[2026-07-25 12:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":143419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:35:32] local.INFO: GPS data processed {"connection_id":143419,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:35:32] local.INFO: Acknowledgment sent {"connection_id":143419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:35:53] local.INFO: TCP Data received {"connection_id":142065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:35:53] local.INFO: Processing buffer {"connection_id":142065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:35:53] local.INFO: IMEI packet received {"connection_id":142065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":142065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:35:55] local.INFO: TCP Data received {"connection_id":143420,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:35:55] local.INFO: Processing buffer {"connection_id":143420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:35:55] local.INFO: IMEI packet received {"connection_id":143420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":143420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:35:58] local.INFO: TCP Data received {"connection_id":142065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:35:58] local.INFO: Processing buffer {"connection_id":142065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:35:58] local.INFO: IMEI packet received {"connection_id":142065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":142065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:35:59] local.INFO: TCP Data received {"connection_id":142065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9817ee48012d7c448005e51f80000400aa14..."} 
[2026-07-25 12:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9817ee48012d7c448005e51f80000400aa14..."} 
[2026-07-25 12:35:59] local.INFO: Processing buffer {"connection_id":142065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9817ee48012d7c448005e51f80000400aa14..."} 
[2026-07-25 12:35:59] local.INFO: Packet analysis {"connection_id":142065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9817"} 
[2026-07-25 12:35:59] local.INFO: Extracted packet for processing {"connection_id":142065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9817"} 
[2026-07-25 12:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763118720,"raw_latitude":98901888,"longitude_deg":76.311872,"latitude_deg":9.8901888,"altitude":4,"angle":170,"satellites":20,"speed":5,"hex_longitude":"2d7c4480","hex_latitude":"05e51f80","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950561792001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110158064237150208,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954352353182490624,"note":"Value kept but may cause issues"} 
[2026-07-25 12:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963133000,"timestamp_ms":1784963133000,"timestamp_seconds":1784963133,"priority":1,"record_length":96,"hex_timestamp":"0000019f9817ee48"} 
[2026-07-25 12:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 12:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950561792001,"66":13037,"39":206,"87":13824,"24":5,"16":110158064237150208,"45":8954352353182490624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-25 12:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950561792001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:35:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-25 12:35:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110158064237150208,"km_value":110158064237150.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954352353182490624,"description":"Unknown IO ID 45"} 
[2026-07-25 12:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950561792001,"power":13037,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8954352353182490624}} 
[2026-07-25 12:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":142065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:35:59] local.INFO: GPS data processed {"connection_id":142065,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:35:59] local.INFO: Acknowledgment sent {"connection_id":142065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:36:01] local.INFO: TCP Data received {"connection_id":143420,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:01] local.INFO: Processing buffer {"connection_id":143420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:01] local.INFO: IMEI packet received {"connection_id":143420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":143420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:36:02] local.INFO: TCP Data received {"connection_id":143420,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98165fd8012d963d40060786a8001e003c29..."} 
[2026-07-25 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98165fd8012d963d40060786a8001e003c29..."} 
[2026-07-25 12:36:02] local.INFO: Processing buffer {"connection_id":143420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98165fd8012d963d40060786a8001e003c29..."} 
[2026-07-25 12:36:02] local.INFO: Packet analysis {"connection_id":143420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:36:02] local.INFO: Extracted packet for processing {"connection_id":143420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":764820800,"raw_latitude":101156520,"longitude_deg":76.48208,"latitude_deg":10.115652,"altitude":30,"angle":60,"satellites":41,"speed":5,"hex_longitude":"2d963d40","hex_latitude":"060786a8","is_valid_coordinates":true} 
[2026-07-25 12:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950531584001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357661082292060160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7624805249474945024,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963031000,"timestamp_ms":1784963031000,"timestamp_seconds":1784963031,"priority":1,"record_length":96,"hex_timestamp":"0000019f98165fd8"} 
[2026-07-25 12:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 12:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950531584001,"66":27930,"228":206,"79":48640,"24":5,"16":357661082292060160,"45":-7624805249474945024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950531584001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:36:02] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:36:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357661082292060160,"km_value":357661082292060.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7624805249474945024,"description":"Unknown IO ID 45"} 
[2026-07-25 12:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950531584001,"power":27930,"unknown_228":206,"unknown_79":48640,"ignition":5,"odometer":null,"unknown_45":-7624805249474945024}} 
[2026-07-25 12:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":143420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:36:02] local.INFO: GPS data processed {"connection_id":143420,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:36:02] local.INFO: Acknowledgment sent {"connection_id":143420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:36:30] local.INFO: TCP Data received {"connection_id":142065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9817f618012d7c448005e51dd0000400ba15..."} 
[2026-07-25 12:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9817f618012d7c448005e51dd0000400ba15..."} 
[2026-07-25 12:36:30] local.INFO: Processing buffer {"connection_id":142065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9817f618012d7c448005e51dd0000400ba15..."} 
[2026-07-25 12:36:30] local.INFO: Packet analysis {"connection_id":142065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9817"} 
[2026-07-25 12:36:30] local.INFO: Extracted packet for processing {"connection_id":142065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9817"} 
[2026-07-25 12:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763118720,"raw_latitude":98901456,"longitude_deg":76.311872,"latitude_deg":9.8901456,"altitude":4,"angle":186,"satellites":21,"speed":9,"hex_longitude":"2d7c4480","hex_latitude":"05e51dd0","is_valid_coordinates":true} 
[2026-07-25 12:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950562048001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110158085711986688,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954422721926627328,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963135000,"timestamp_ms":1784963135000,"timestamp_seconds":1784963135,"priority":1,"record_length":96,"hex_timestamp":"0000019f9817f618"} 
[2026-07-25 12:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 12:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950562048001,"66":13048,"39":206,"87":13824,"24":9,"16":110158085711986688,"45":8954422721926627328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-25 12:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950562048001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:36:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-25 12:36:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110158085711986688,"km_value":110158085711986.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954422721926627328,"description":"Unknown IO ID 45"} 
[2026-07-25 12:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950562048001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8954422721926627328}} 
[2026-07-25 12:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":142065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:36:31] local.INFO: GPS data processed {"connection_id":142065,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:36:31] local.INFO: Acknowledgment sent {"connection_id":142065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:36:38] local.INFO: TCP Data received {"connection_id":143420,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98166f78012d963e8006078700001e00512a..."} 
[2026-07-25 12:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98166f78012d963e8006078700001e00512a..."} 
[2026-07-25 12:36:38] local.INFO: Processing buffer {"connection_id":143420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98166f78012d963e8006078700001e00512a..."} 
[2026-07-25 12:36:38] local.INFO: Packet analysis {"connection_id":143420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:36:38] local.INFO: Extracted packet for processing {"connection_id":143420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9816"} 
[2026-07-25 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":764821120,"raw_latitude":101156608,"longitude_deg":76.482112,"latitude_deg":10.1156608,"altitude":30,"angle":81,"satellites":42,"speed":6,"hex_longitude":"2d963e80","hex_latitude":"06078700","is_valid_coordinates":true} 
[2026-07-25 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950535936001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357661099471929344,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7620864599800764416,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784963035000,"timestamp_ms":1784963035000,"timestamp_seconds":1784963035,"priority":1,"record_length":96,"hex_timestamp":"0000019f98166f78"} 
[2026-07-25 12:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950535936001,"66":27745,"228":206,"79":48640,"24":6,"16":357661099471929344,"45":-7620864599800764416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-25 12:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950535936001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:36:38] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-25 12:36:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357661099471929344,"km_value":357661099471929.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7620864599800764416,"description":"Unknown IO ID 45"} 
[2026-07-25 12:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950535936001,"power":27745,"unknown_228":206,"unknown_79":48640,"ignition":6,"odometer":null,"unknown_45":-7620864599800764416}} 
[2026-07-25 12:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":143420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:36:38] local.INFO: GPS data processed {"connection_id":143420,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:36:38] local.INFO: Acknowledgment sent {"connection_id":143420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:36:52] local.INFO: TCP Data received {"connection_id":141011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:52] local.INFO: Processing buffer {"connection_id":141011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:52] local.INFO: IMEI packet received {"connection_id":141011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":141011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:36:53] local.INFO: TCP Data received {"connection_id":141011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:53] local.INFO: Processing buffer {"connection_id":141011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:53] local.INFO: IMEI packet received {"connection_id":141011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":141011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:36:55] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:55] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:55] local.INFO: IMEI packet received {"connection_id":141012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":141012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:36:58] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:58] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:36:58] local.INFO: IMEI packet received {"connection_id":141012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":141012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:36:58] local.INFO: TCP Data received {"connection_id":141011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:58] local.INFO: Processing buffer {"connection_id":141011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:36:58] local.INFO: IMEI packet received {"connection_id":141011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":141011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:36:59] local.INFO: TCP Data received {"connection_id":141011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9817fa00012d7c444005e51cf0000500c915..."} 
[2026-07-25 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9817fa00012d7c444005e51cf0000500c915..."} 
[2026-07-25 12:36:59] local.INFO: Processing buffer {"connection_id":141011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9817fa00012d7c444005e51cf0000500c915..."} 
[2026-07-25 12:36:59] local.INFO: Packet analysis {"connection_id":141011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9817"} 
[2026-07-25 12:36:59] local.INFO: Extracted packet for processing {"connection_id":141011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9817"} 
[2026-07-25 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763118656,"raw_latitude":98901232,"longitude_deg":76.3118656,"latitude_deg":9.8901232,"altitude":5,"angle":201,"satellites":21,"speed":9,"hex_longitude":"2d7c4440","hex_latitude":"05e51cf0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950562560001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110158094301921280,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954422721926516736,"note":"Value kept but may cause issues"} 
[2026-07-25 12:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963136000,"timestamp_ms":1784963136000,"timestamp_seconds":1784963136,"priority":1,"record_length":96,"hex_timestamp":"0000019f9817fa00"} 
[2026-07-25 12:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 12:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12: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-07-25 12:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950562560001,"66":13048,"39":206,"87":13824,"24":9,"16":110158094301921280,"45":8954422721926516736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-25 12:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950562560001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110158094301921280,"km_value":110158094301921.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954422721926516736,"description":"Unknown IO ID 45"} 
[2026-07-25 12:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950562560001,"power":13048,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8954422721926516736}} 
[2026-07-25 12:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":141011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:36:59] local.INFO: GPS data processed {"connection_id":141011,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:36:59] local.INFO: Acknowledgment sent {"connection_id":141011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:37:00] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:37:00] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:37:00] local.INFO: IMEI packet received {"connection_id":141012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":141012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:37:01] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98182cc8012d9791000607b330001e005a29..."} 
[2026-07-25 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98182cc8012d9791000607b330001e005a29..."} 
[2026-07-25 12:37:01] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98182cc8012d9791000607b330001e005a29..."} 
[2026-07-25 12:37:01] local.INFO: Packet analysis {"connection_id":141012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:01] local.INFO: Extracted packet for processing {"connection_id":141012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":764907776,"raw_latitude":101167920,"longitude_deg":76.4907776,"latitude_deg":10.116792,"altitude":30,"angle":90,"satellites":41,"speed":31,"hex_longitude":"2d979100","hex_latitude":"0607b330","is_valid_coordinates":true} 
[2026-07-25 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950563072001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357665287065042944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7535929525575368704,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963149000,"timestamp_ms":1784963149000,"timestamp_seconds":1784963149,"priority":1,"record_length":96,"hex_timestamp":"0000019f98182cc8"} 
[2026-07-25 12:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950563072001,"66":28017,"227":206,"79":48640,"24":31,"16":357665287065042944,"45":-7535929525575368704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,79,24,16,45]} 
[2026-07-25 12:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950563072001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:37:01] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-25 12:37:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357665287065042944,"km_value":357665287065042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7535929525575368704,"description":"Unknown IO ID 45"} 
[2026-07-25 12:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950563072001,"power":28017,"unknown_227":206,"unknown_79":48640,"ignition":31,"odometer":null,"unknown_45":-7535929525575368704}} 
[2026-07-25 12:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:37:01] local.INFO: GPS data processed {"connection_id":141012,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:37:01] local.INFO: Acknowledgment sent {"connection_id":141012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:37:33] local.INFO: TCP Data received {"connection_id":141012,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981857c0012d97b4800607ae100020006428..."} 
[2026-07-25 12:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981857c0012d97b4800607ae100020006428..."} 
[2026-07-25 12:37:33] local.INFO: Processing buffer {"connection_id":141012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981857c0012d97b4800607ae100020006428..."} 
[2026-07-25 12:37:33] local.INFO: Packet analysis {"connection_id":141012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:33] local.INFO: Extracted packet for processing {"connection_id":141012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":764916864,"raw_latitude":101166608,"longitude_deg":76.4916864,"latitude_deg":10.1166608,"altitude":32,"angle":100,"satellites":40,"speed":34,"hex_longitude":"2d97b480","hex_latitude":"0607ae10","is_valid_coordinates":true} 
[2026-07-25 12:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950566144001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357665725151707136,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7525233476460400640,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963160000,"timestamp_ms":1784963160000,"timestamp_seconds":1784963160,"priority":1,"record_length":96,"hex_timestamp":"0000019f981857c0"} 
[2026-07-25 12:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 12:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950566144001,"66":27974,"227":206,"79":48640,"24":34,"16":357665725151707136,"45":-7525233476460400640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,79,24,16,45]} 
[2026-07-25 12:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950566144001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:37:33] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-25 12:37:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357665725151707136,"km_value":357665725151707.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7525233476460400640,"description":"Unknown IO ID 45"} 
[2026-07-25 12:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950566144001,"power":27974,"unknown_227":206,"unknown_79":48640,"ignition":34,"odometer":null,"unknown_45":-7525233476460400640}} 
[2026-07-25 12:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":141012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:37:33] local.INFO: GPS data processed {"connection_id":141012,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:37:33] local.INFO: Acknowledgment sent {"connection_id":141012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:37:40] local.INFO: TCP Data received {"connection_id":143418,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:37:40] local.INFO: Processing buffer {"connection_id":143418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:37:40] local.INFO: IMEI packet received {"connection_id":143418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":143418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:37:48] local.INFO: TCP Data received {"connection_id":141011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98184820012d7c3c8005e50f50000500cb15..."} 
[2026-07-25 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98184820012d7c3c8005e50f50000500cb15..."} 
[2026-07-25 12:37:48] local.INFO: Processing buffer {"connection_id":141011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98184820012d7c3c8005e50f50000500cb15..."} 
[2026-07-25 12:37:48] local.INFO: Packet analysis {"connection_id":141011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:48] local.INFO: Extracted packet for processing {"connection_id":141011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":98897744,"longitude_deg":76.3116672,"latitude_deg":9.8897744,"altitude":5,"angle":203,"satellites":21,"speed":0,"hex_longitude":"2d7c3c80","hex_latitude":"05e50f50","is_valid_coordinates":true} 
[2026-07-25 12:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950562816001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110158291870416896,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954352353182281728,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784963156000,"timestamp_ms":1784963156000,"timestamp_seconds":1784963156,"priority":1,"record_length":96,"hex_timestamp":"0000019f98184820"} 
[2026-07-25 12:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 12:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950562816001,"66":13243,"39":206,"87":13824,"24":0,"16":110158291870416896,"45":8954352353182281728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-25 12:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950562816001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:37:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-25 12:37:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110158291870416896,"km_value":110158291870416.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954352353182281728,"description":"Unknown IO ID 45"} 
[2026-07-25 12:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950562816001,"power":13243,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8954352353182281728}} 
[2026-07-25 12:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":141011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:37:48] local.INFO: GPS data processed {"connection_id":141011,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:37:48] local.INFO: Acknowledgment sent {"connection_id":141011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:37:53] local.INFO: TCP Data received {"connection_id":143421,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:37:53] local.INFO: Processing buffer {"connection_id":143421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:37:53] local.INFO: IMEI packet received {"connection_id":143421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":143421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:37:55] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:37:55] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:37:55] local.INFO: IMEI packet received {"connection_id":141072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":141072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:37:58] local.INFO: TCP Data received {"connection_id":143421,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:37:58] local.INFO: Processing buffer {"connection_id":143421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:37:58] local.INFO: IMEI packet received {"connection_id":143421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":143421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:37:58] local.INFO: TCP Data received {"connection_id":143421,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981857c0012d7c3bc005e50e50000600d915..."} 
[2026-07-25 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981857c0012d7c3bc005e50e50000600d915..."} 
[2026-07-25 12:37:58] local.INFO: Processing buffer {"connection_id":143421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981857c0012d7c3bc005e50e50000600d915..."} 
[2026-07-25 12:37:58] local.INFO: Packet analysis {"connection_id":143421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:58] local.INFO: Extracted packet for processing {"connection_id":143421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763116480,"raw_latitude":98897488,"longitude_deg":76.311648,"latitude_deg":9.8897488,"altitude":6,"angle":217,"satellites":21,"speed":5,"hex_longitude":"2d7c3bc0","hex_latitude":"05e50e50","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950567936001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110158309050286080,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922111881216,"note":"Value kept but may cause issues"} 
[2026-07-25 12:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784963160000,"timestamp_ms":1784963160000,"timestamp_seconds":1784963160,"priority":1,"record_length":96,"hex_timestamp":"0000019f981857c0"} 
[2026-07-25 12:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 12:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:37: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-07-25 12:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950567936001,"66":13276,"39":206,"87":13824,"24":5,"16":110158309050286080,"45":8952170922111881216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-25 12:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950567936001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:37:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-25 12:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110158309050286080,"km_value":110158309050286.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922111881216,"description":"Unknown IO ID 45"} 
[2026-07-25 12:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950567936001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8952170922111881216}} 
[2026-07-25 12:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":143421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:37:59] local.INFO: GPS data processed {"connection_id":143421,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:37:59] local.INFO: Acknowledgment sent {"connection_id":143421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:38:00] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:00] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:00] local.INFO: IMEI packet received {"connection_id":141072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":141072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:38:00] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:00] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:00] local.INFO: IMEI packet received {"connection_id":141072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":141072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:38:01] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98187ed0012d97d7400607a8700021006124..."} 
[2026-07-25 12:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98187ed0012d97d7400607a8700021006124..."} 
[2026-07-25 12:38:01] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98187ed0012d97d7400607a8700021006124..."} 
[2026-07-25 12:38:01] local.INFO: Packet analysis {"connection_id":141072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:01] local.INFO: Extracted packet for processing {"connection_id":141072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:01] local.INFO: GPS Element Parsed {"raw_longitude":764925760,"raw_latitude":101165168,"longitude_deg":76.492576,"latitude_deg":10.1165168,"altitude":33,"angle":97,"satellites":36,"speed":35,"hex_longitude":"2d97d740","hex_latitude":"0607a870","is_valid_coordinates":true} 
[2026-07-25 12:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950568960001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357666158943404032,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7515241114787508224,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963170000,"timestamp_ms":1784963170000,"timestamp_seconds":1784963170,"priority":1,"record_length":96,"hex_timestamp":"0000019f98187ed0"} 
[2026-07-25 12:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 12:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950568960001,"66":27919,"109":206,"79":48640,"24":35,"16":357666158943404032,"45":-7515241114787508224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-07-25 12:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950568960001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:38:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 12:38:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357666158943404032,"km_value":357666158943404.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7515241114787508224,"description":"Unknown IO ID 45"} 
[2026-07-25 12:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950568960001,"power":27919,"unknown_109":206,"unknown_79":48640,"ignition":35,"odometer":null,"unknown_45":-7515241114787508224}} 
[2026-07-25 12:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":141072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:38:01] local.INFO: GPS data processed {"connection_id":141072,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:38:01] local.INFO: Acknowledgment sent {"connection_id":141072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:38:06] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9818a5e0012d97fb400607a4a00022006024..."} 
[2026-07-25 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9818a5e0012d97fb400607a4a00022006024..."} 
[2026-07-25 12:38:06] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9818a5e0012d97fb400607a4a00022006024..."} 
[2026-07-25 12:38:06] local.INFO: Packet analysis {"connection_id":141072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:06] local.INFO: Extracted packet for processing {"connection_id":141072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":764934976,"raw_latitude":101164192,"longitude_deg":76.4934976,"latitude_deg":10.1164192,"altitude":34,"angle":96,"satellites":36,"speed":38,"hex_longitude":"2d97fb40","hex_latitude":"0607a4a0","is_valid_coordinates":true} 
[2026-07-25 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950571520001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357666601325035520,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7505459859347181568,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784963180000,"timestamp_ms":1784963180000,"timestamp_seconds":1784963180,"priority":1,"record_length":96,"hex_timestamp":"0000019f9818a5e0"} 
[2026-07-25 12:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950571520001,"66":27821,"109":206,"79":48640,"24":38,"16":357666601325035520,"45":-7505459859347181568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-07-25 12:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950571520001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:38:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 12:38:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357666601325035520,"km_value":357666601325035.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7505459859347181568,"description":"Unknown IO ID 45"} 
[2026-07-25 12:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950571520001,"power":27821,"unknown_109":206,"unknown_79":48640,"ignition":38,"odometer":null,"unknown_45":-7505459859347181568}} 
[2026-07-25 12:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":141072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:38:06] local.INFO: GPS data processed {"connection_id":141072,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:38:06] local.INFO: Acknowledgment sent {"connection_id":141072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:38:30] local.INFO: TCP Data received {"connection_id":143421,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98187ed0012d7c338005e501d0000500cb16..."} 
[2026-07-25 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98187ed0012d7c338005e501d0000500cb16..."} 
[2026-07-25 12:38:30] local.INFO: Processing buffer {"connection_id":143421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98187ed0012d7c338005e501d0000500cb16..."} 
[2026-07-25 12:38:30] local.INFO: Packet analysis {"connection_id":143421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:30] local.INFO: Extracted packet for processing {"connection_id":143421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763114368,"raw_latitude":98894288,"longitude_deg":76.3114368,"latitude_deg":9.8894288,"altitude":5,"angle":203,"satellites":22,"speed":17,"hex_longitude":"2d7c3380","hex_latitude":"05e501d0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950568960001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110158493733879808,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951959815879282688,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963170000,"timestamp_ms":1784963170000,"timestamp_seconds":1784963170,"priority":1,"record_length":96,"hex_timestamp":"0000019f98187ed0"} 
[2026-07-25 12:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 12:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:38: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-07-25 12:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950568960001,"66":13298,"39":206,"87":13824,"24":17,"16":110158493733879808,"45":8951959815879282688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-25 12:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950568960001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:38:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-25 12:38:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 12:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110158493733879808,"km_value":110158493733879.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951959815879282688,"description":"Unknown IO ID 45"} 
[2026-07-25 12:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950568960001,"power":13298,"unknown_39":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8951959815879282688}} 
[2026-07-25 12:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":143421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:38:30] local.INFO: GPS data processed {"connection_id":143421,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:38:30] local.INFO: Acknowledgment sent {"connection_id":143421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:38:43] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9818c908012d981f000607a1080021005e28..."} 
[2026-07-25 12:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9818c908012d981f000607a1080021005e28..."} 
[2026-07-25 12:38:43] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9818c908012d981f000607a1080021005e28..."} 
[2026-07-25 12:38:43] local.INFO: Packet analysis {"connection_id":141072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:43] local.INFO: Extracted packet for processing {"connection_id":141072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:38:43] local.INFO: GPS Element Parsed {"raw_longitude":764944128,"raw_latitude":101163272,"longitude_deg":76.4944128,"latitude_deg":10.1163272,"altitude":33,"angle":94,"satellites":40,"speed":42,"hex_longitude":"2d981f00","hex_latitude":"0607a108","is_valid_coordinates":true} 
[2026-07-25 12:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950574080001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357667039411699712,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7495326760185847808,"note":"Value kept but may cause issues"} 
[2026-07-25 12:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784963189000,"timestamp_ms":1784963189000,"timestamp_seconds":1784963189,"priority":1,"record_length":96,"hex_timestamp":"0000019f9818c908"} 
[2026-07-25 12:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 12:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950574080001,"66":27919,"109":206,"79":48640,"24":42,"16":357667039411699712,"45":-7495326760185847808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-07-25 12:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950574080001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:38:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 12:38:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357667039411699712,"km_value":357667039411699.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7495326760185847808,"description":"Unknown IO ID 45"} 
[2026-07-25 12:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950574080001,"power":27919,"unknown_109":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7495326760185847808}} 
[2026-07-25 12:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":141072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:38:43] local.INFO: GPS data processed {"connection_id":141072,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:38:43] local.INFO: Acknowledgment sent {"connection_id":141072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:38:55] local.INFO: TCP Data received {"connection_id":141074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:55] local.INFO: Processing buffer {"connection_id":141074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:55] local.INFO: IMEI packet received {"connection_id":141074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":141074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:38:56] local.INFO: TCP Data received {"connection_id":141074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:56] local.INFO: Processing buffer {"connection_id":141074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:38:56] local.INFO: IMEI packet received {"connection_id":141074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":141074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:38:58] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:38:58] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:38:58] local.INFO: IMEI packet received {"connection_id":141073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":141073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:39:01] local.INFO: TCP Data received {"connection_id":141074,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:39:01] local.INFO: Processing buffer {"connection_id":141074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:39:01] local.INFO: IMEI packet received {"connection_id":141074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":141074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:39:02] local.INFO: TCP Data received {"connection_id":141074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9818ec30012d98450006079d900022005e25..."} 
[2026-07-25 12:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9818ec30012d98450006079d900022005e25..."} 
[2026-07-25 12:39:02] local.INFO: Processing buffer {"connection_id":141074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9818ec30012d98450006079d900022005e25..."} 
[2026-07-25 12:39:02] local.INFO: Packet analysis {"connection_id":141074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:39:02] local.INFO: Extracted packet for processing {"connection_id":141074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9818"} 
[2026-07-25 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":764953856,"raw_latitude":101162384,"longitude_deg":76.4953856,"latitude_deg":10.1162384,"altitude":34,"angle":94,"satellites":37,"speed":42,"hex_longitude":"2d984500","hex_latitude":"06079d90","is_valid_coordinates":true} 
[2026-07-25 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950576384001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357667503268167680,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7485264029768677376,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963198000,"timestamp_ms":1784963198000,"timestamp_seconds":1784963198,"priority":1,"record_length":96,"hex_timestamp":"0000019f9818ec30"} 
[2026-07-25 12:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950576384001,"66":27995,"109":206,"79":48640,"24":42,"16":357667503268167680,"45":-7485264029768677376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-07-25 12:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950576384001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:39:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 12:39:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357667503268167680,"km_value":357667503268167.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7485264029768677376,"description":"Unknown IO ID 45"} 
[2026-07-25 12:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950576384001,"power":27995,"unknown_109":206,"unknown_79":48640,"ignition":42,"odometer":null,"unknown_45":-7485264029768677376}} 
[2026-07-25 12:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":141074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:39:02] local.INFO: GPS data processed {"connection_id":141074,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:39:02] local.INFO: Acknowledgment sent {"connection_id":141074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:39:03] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:39:03] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:39:03] local.INFO: IMEI packet received {"connection_id":141073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":141073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:39:04] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981a6718012d7b6c8005e3d0d8000800d41a..."} 
[2026-07-25 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981a6718012d7b6c8005e3d0d8000800d41a..."} 
[2026-07-25 12:39:04] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981a6718012d7b6c8005e3d0d8000800d41a..."} 
[2026-07-25 12:39:04] local.INFO: Packet analysis {"connection_id":141073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:04] local.INFO: Extracted packet for processing {"connection_id":141073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763063424,"raw_latitude":98816216,"longitude_deg":76.3063424,"latitude_deg":9.8816216,"altitude":8,"angle":212,"satellites":26,"speed":25,"hex_longitude":"2d7b6c80","hex_latitude":"05e3d0d8","is_valid_coordinates":true} 
[2026-07-25 12:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950600192001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110162994859606016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257727219712,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784963295000,"timestamp_ms":1784963295000,"timestamp_seconds":1784963295,"priority":1,"record_length":96,"hex_timestamp":"0000019f981a6718"} 
[2026-07-25 12:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 12:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950600192001,"66":13222,"95":206,"85":15104,"24":25,"16":110162994859606016,"45":8899183257727219712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-25 12:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950600192001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:39:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 12:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110162994859606016,"km_value":110162994859606.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257727219712,"description":"Unknown IO ID 45"} 
[2026-07-25 12:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950600192001,"power":13222,"unknown_95":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8899183257727219712}} 
[2026-07-25 12:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":141073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:39:04] local.INFO: GPS data processed {"connection_id":141073,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:39:04] local.INFO: Acknowledgment sent {"connection_id":141073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:39:05] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981aa1b0012d7b564005e3b358000600d71a..."} 
[2026-07-25 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981aa1b0012d7b564005e3b358000600d71a..."} 
[2026-07-25 12:39:05] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981aa1b0012d7b564005e3b358000600d71a..."} 
[2026-07-25 12:39:05] local.INFO: Packet analysis {"connection_id":141073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:05] local.INFO: Extracted packet for processing {"connection_id":141073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763057728,"raw_latitude":98808664,"longitude_deg":76.3057728,"latitude_deg":9.8808664,"altitude":6,"angle":215,"satellites":26,"speed":29,"hex_longitude":"2d7b5640","hex_latitude":"05e3b358","is_valid_coordinates":true} 
[2026-07-25 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950603520001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110163450126139392,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893624126935193600,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784963310000,"timestamp_ms":1784963310000,"timestamp_seconds":1784963310,"priority":1,"record_length":96,"hex_timestamp":"0000019f981aa1b0"} 
[2026-07-25 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 12:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950603520001,"66":12472,"95":206,"85":15104,"24":29,"16":110163450126139392,"45":8893624126935193600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-25 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950603520001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:39:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 12:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110163450126139392,"km_value":110163450126139.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893624126935193600,"description":"Unknown IO ID 45"} 
[2026-07-25 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950603520001,"power":12472,"unknown_95":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8893624126935193600}} 
[2026-07-25 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":141073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:39:05] local.INFO: GPS data processed {"connection_id":141073,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:39:05] local.INFO: Acknowledgment sent {"connection_id":141073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:39:33] local.INFO: TCP Data received {"connection_id":141074,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981ab538012d9a210006072b38001d006429..."} 
[2026-07-25 12:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981ab538012d9a210006072b38001d006429..."} 
[2026-07-25 12:39:33] local.INFO: Processing buffer {"connection_id":141074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981ab538012d9a210006072b38001d006429..."} 
[2026-07-25 12:39:33] local.INFO: Packet analysis {"connection_id":141074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:33] local.INFO: Extracted packet for processing {"connection_id":141074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":765075712,"raw_latitude":101133112,"longitude_deg":76.5075712,"latitude_deg":10.1133112,"altitude":29,"angle":100,"satellites":41,"speed":46,"hex_longitude":"2d9a2100","hex_latitude":"06072b38","is_valid_coordinates":true} 
[2026-07-25 12:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950606592001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357673537697218560,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7350437515931496448,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963315000,"timestamp_ms":1784963315000,"timestamp_seconds":1784963315,"priority":1,"record_length":96,"hex_timestamp":"0000019f981ab538"} 
[2026-07-25 12:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950606592001,"66":27919,"234":206,"79":48640,"24":46,"16":357673537697218560,"45":-7350437515931496448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-07-25 12:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950606592001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:39:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 12:39:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357673537697218560,"km_value":357673537697218.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7350437515931496448,"description":"Unknown IO ID 45"} 
[2026-07-25 12:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950606592001,"power":27919,"unknown_234":206,"unknown_79":48640,"ignition":46,"odometer":null,"unknown_45":-7350437515931496448}} 
[2026-07-25 12:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":141074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:39:33] local.INFO: GPS data processed {"connection_id":141074,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:39:33] local.INFO: Acknowledgment sent {"connection_id":141074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:39:36] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981ad090012d7b40c005e39390000700d51a..."} 
[2026-07-25 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981ad090012d7b40c005e39390000700d51a..."} 
[2026-07-25 12:39:36] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981ad090012d7b40c005e39390000700d51a..."} 
[2026-07-25 12:39:36] local.INFO: Packet analysis {"connection_id":141073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:36] local.INFO: Extracted packet for processing {"connection_id":141073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763052224,"raw_latitude":98800528,"longitude_deg":76.3052224,"latitude_deg":9.8800528,"altitude":7,"angle":213,"satellites":26,"speed":38,"hex_longitude":"2d7b40c0","hex_latitude":"05e39390","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110163926867509248,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887361308701448192,"note":"Value kept but may cause issues"} 
[2026-07-25 12:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784963322000,"timestamp_ms":1784963322000,"timestamp_seconds":1784963322,"priority":1,"record_length":96,"hex_timestamp":"0000019f981ad090"} 
[2026-07-25 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-07-25 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 12:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950607360001,"66":11721,"95":206,"85":15104,"24":38,"16":110163926867509248,"45":8887361308701448192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-25 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:39:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 12:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110163926867509248,"km_value":110163926867509.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887361308701448192,"description":"Unknown IO ID 45"} 
[2026-07-25 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950607360001,"power":11721,"unknown_95":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8887361308701448192}} 
[2026-07-25 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":141073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:39:36] local.INFO: GPS data processed {"connection_id":141073,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:39:36] local.INFO: Acknowledgment sent {"connection_id":141073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:40:01] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:01] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:01] local.INFO: IMEI packet received {"connection_id":141013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":141013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:40:01] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:01] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:01] local.INFO: IMEI packet received {"connection_id":141013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":141013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:40:02] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981ad478012d9a45c0060723f8001c006328..."} 
[2026-07-25 12:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981ad478012d9a45c0060723f8001c006328..."} 
[2026-07-25 12:40:02] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981ad478012d9a45c0060723f8001c006328..."} 
[2026-07-25 12:40:02] local.INFO: Packet analysis {"connection_id":141013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:40:02] local.INFO: Extracted packet for processing {"connection_id":141013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:40:02] local.INFO: GPS Element Parsed {"raw_longitude":765085120,"raw_latitude":101131256,"longitude_deg":76.508512,"latitude_deg":10.1131256,"altitude":28,"angle":99,"satellites":40,"speed":47,"hex_longitude":"2d9a45c0","hex_latitude":"060723f8","is_valid_coordinates":true} 
[2026-07-25 12:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950608640001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357673997258719232,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7340585891747121152,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963323000,"timestamp_ms":1784963323000,"timestamp_seconds":1784963323,"priority":1,"record_length":96,"hex_timestamp":"0000019f981ad478"} 
[2026-07-25 12:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950608640001,"66":27832,"234":206,"79":48640,"24":47,"16":357673997258719232,"45":-7340585891747121152},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-07-25 12:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950608640001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:40:02] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 12:40:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357673997258719232,"km_value":357673997258719.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7340585891747121152,"description":"Unknown IO ID 45"} 
[2026-07-25 12:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950608640001,"power":27832,"unknown_234":206,"unknown_79":48640,"ignition":47,"odometer":null,"unknown_45":-7340585891747121152}} 
[2026-07-25 12:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":141013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:40:02] local.INFO: GPS data processed {"connection_id":141013,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:40:02] local.INFO: Acknowledgment sent {"connection_id":141013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:40:23] local.INFO: TCP Data received {"connection_id":143422,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:23] local.INFO: Processing buffer {"connection_id":143422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:23] local.INFO: IMEI packet received {"connection_id":143422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":143422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:40:28] local.INFO: TCP Data received {"connection_id":143422,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:28] local.INFO: Processing buffer {"connection_id":143422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:28] local.INFO: IMEI packet received {"connection_id":143422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":143422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:40:28] local.INFO: TCP Data received {"connection_id":143422,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981af3b8012d7b2d0005e375e0000700d419..."} 
[2026-07-25 12:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981af3b8012d7b2d0005e375e0000700d419..."} 
[2026-07-25 12:40:28] local.INFO: Processing buffer {"connection_id":143422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981af3b8012d7b2d0005e375e0000700d419..."} 
[2026-07-25 12:40:28] local.INFO: Packet analysis {"connection_id":143422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:40:28] local.INFO: Extracted packet for processing {"connection_id":143422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763047168,"raw_latitude":98792928,"longitude_deg":76.3047168,"latitude_deg":9.8792928,"altitude":7,"angle":212,"satellites":25,"speed":39,"hex_longitude":"2d7b2d00","hex_latitude":"05e375e0","is_valid_coordinates":true} 
[2026-07-25 12:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950610432001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110164364954173440,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881309596700086272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784963331000,"timestamp_ms":1784963331000,"timestamp_seconds":1784963331,"priority":1,"record_length":96,"hex_timestamp":"0000019f981af3b8"} 
[2026-07-25 12:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 12:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950610432001,"66":13091,"95":206,"85":15104,"24":39,"16":110164364954173440,"45":8881309596700086272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-25 12:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950610432001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:40:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 12:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110164364954173440,"km_value":110164364954173.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881309596700086272,"description":"Unknown IO ID 45"} 
[2026-07-25 12:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950610432001,"power":13091,"unknown_95":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8881309596700086272}} 
[2026-07-25 12:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":143422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:40:28] local.INFO: GPS data processed {"connection_id":143422,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:40:28] local.INFO: Acknowledgment sent {"connection_id":143422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:40:33] local.INFO: TCP Data received {"connection_id":141013,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981af3b8012d9a6a8006072008001d005f2a..."} 
[2026-07-25 12:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981af3b8012d9a6a8006072008001d005f2a..."} 
[2026-07-25 12:40:33] local.INFO: Processing buffer {"connection_id":141013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981af3b8012d9a6a8006072008001d005f2a..."} 
[2026-07-25 12:40:33] local.INFO: Packet analysis {"connection_id":141013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:40:33] local.INFO: Extracted packet for processing {"connection_id":141013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981a"} 
[2026-07-25 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765094528,"raw_latitude":101130248,"longitude_deg":76.5094528,"latitude_deg":10.1130248,"altitude":29,"angle":95,"satellites":42,"speed":46,"hex_longitude":"2d9a6a80","hex_latitude":"06072008","is_valid_coordinates":true} 
[2026-07-25 12:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950610688001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357674448230285312,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7330241686353479680,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963331000,"timestamp_ms":1784963331000,"timestamp_seconds":1784963331,"priority":1,"record_length":96,"hex_timestamp":"0000019f981af3b8"} 
[2026-07-25 12:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 12:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950610688001,"66":27984,"234":206,"79":48640,"24":46,"16":357674448230285312,"45":-7330241686353479680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-07-25 12:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950610688001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:40:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 12:40:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357674448230285312,"km_value":357674448230285.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7330241686353479680,"description":"Unknown IO ID 45"} 
[2026-07-25 12:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950610688001,"power":27984,"unknown_234":206,"unknown_79":48640,"ignition":46,"odometer":null,"unknown_45":-7330241686353479680}} 
[2026-07-25 12:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":141013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:40:33] local.INFO: GPS data processed {"connection_id":141013,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:40:33] local.INFO: Acknowledgment sent {"connection_id":141013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:40:51] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:51] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:51] local.INFO: IMEI packet received {"connection_id":141075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":141075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:40:53] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:53] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:53] local.INFO: IMEI packet received {"connection_id":141075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":141075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:40:56] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:56] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:40:56] local.INFO: IMEI packet received {"connection_id":141076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":141076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:40:58] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:58] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:40:58] local.INFO: IMEI packet received {"connection_id":141075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":141075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:40:59] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981b1eb0012d7b1a8005e35778000700ce19..."} 
[2026-07-25 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981b1eb0012d7b1a8005e35778000700ce19..."} 
[2026-07-25 12:40:59] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981b1eb0012d7b1a8005e35778000700ce19..."} 
[2026-07-25 12:40:59] local.INFO: Packet analysis {"connection_id":141075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:40:59] local.INFO: Extracted packet for processing {"connection_id":141075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98785144,"longitude_deg":76.3042432,"latitude_deg":9.8785144,"altitude":7,"angle":206,"satellites":25,"speed":23,"hex_longitude":"2d7b1a80","hex_latitude":"05e35778","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950612736001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110164807335804928,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875750465908105216,"note":"Value kept but may cause issues"} 
[2026-07-25 12:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963342000,"timestamp_ms":1784963342000,"timestamp_seconds":1784963342,"priority":1,"record_length":96,"hex_timestamp":"0000019f981b1eb0"} 
[2026-07-25 12:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:40: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-07-25 12: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-07-25 12:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:40: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-07-25 12:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950612736001,"66":13059,"95":206,"85":15104,"24":23,"16":110164807335804928,"45":8875750465908105216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-25 12:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950612736001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110164807335804928,"km_value":110164807335804.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875750465908105216,"description":"Unknown IO ID 45"} 
[2026-07-25 12:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950612736001,"power":13059,"unknown_95":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8875750465908105216}} 
[2026-07-25 12:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":141075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:40:59] local.INFO: GPS data processed {"connection_id":141075,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:40:59] local.INFO: Acknowledgment sent {"connection_id":141075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:41:01] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:01] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:01] local.INFO: IMEI packet received {"connection_id":141076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":141076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:41:02] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981b12f8012d9a8f8006071bd0001e006027..."} 
[2026-07-25 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981b12f8012d9a8f8006071bd0001e006027..."} 
[2026-07-25 12:41:02] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981b12f8012d9a8f8006071bd0001e006027..."} 
[2026-07-25 12:41:02] local.INFO: Packet analysis {"connection_id":141076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:41:02] local.INFO: Extracted packet for processing {"connection_id":141076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":765104000,"raw_latitude":101129168,"longitude_deg":76.5104,"latitude_deg":10.1129168,"altitude":30,"angle":96,"satellites":39,"speed":46,"hex_longitude":"2d9a8f80","hex_latitude":"06071bd0","is_valid_coordinates":true} 
[2026-07-25 12:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950612736001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357674903496818688,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7319897480959621120,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963339000,"timestamp_ms":1784963339000,"timestamp_seconds":1784963339,"priority":1,"record_length":96,"hex_timestamp":"0000019f981b12f8"} 
[2026-07-25 12:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 12:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950612736001,"66":27995,"234":206,"79":48640,"24":46,"16":357674903496818688,"45":-7319897480959621120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-07-25 12:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950612736001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:41:02] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 12:41:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357674903496818688,"km_value":357674903496818.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7319897480959621120,"description":"Unknown IO ID 45"} 
[2026-07-25 12:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950612736001,"power":27995,"unknown_234":206,"unknown_79":48640,"ignition":46,"odometer":null,"unknown_45":-7319897480959621120}} 
[2026-07-25 12:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":141076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:41:02] local.INFO: GPS data processed {"connection_id":141076,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:41:02] local.INFO: Acknowledgment sent {"connection_id":141076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:41:30] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981b5178012d7b0dc005e33938000700c218..."} 
[2026-07-25 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981b5178012d7b0dc005e33938000700c218..."} 
[2026-07-25 12:41:30] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981b5178012d7b0dc005e33938000700c218..."} 
[2026-07-25 12:41:30] local.INFO: Packet analysis {"connection_id":141075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:41:30] local.INFO: Extracted packet for processing {"connection_id":141075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98777400,"longitude_deg":76.3039168,"latitude_deg":9.87774,"altitude":7,"angle":194,"satellites":24,"speed":25,"hex_longitude":"2d7b0dc0","hex_latitude":"05e33938","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950615552001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110165215357698048,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178836965376,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963355000,"timestamp_ms":1784963355000,"timestamp_seconds":1784963355,"priority":1,"record_length":96,"hex_timestamp":"0000019f981b5178"} 
[2026-07-25 12:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":3,"data_length":795,"current_offset":136} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165378448806,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":95,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2551841160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3503816712,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791243982,"corrected_to":0} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826182144,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,95,85,24,241,157,16,98,159,243,45,117,7,25,10,66,97,208,192,147,26,161,64,1,240,184,227,152,4,113,205,52,128,56,239,51,2,135,5,13,29],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791243982,"validated":0}]} 
[2026-07-25 12:41:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504629765036507136,"timestamp_seconds":504629765036507.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:41: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-07-25 12:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950615552001,"66":13189,"95":206,"85":15104,"24":25,"16":110165215357698048,"45":8870543178836965376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-25 12:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950615552001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:41:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 12:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110165215357698048,"km_value":110165215357698.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178836965376,"description":"Unknown IO ID 45"} 
[2026-07-25 12:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950615552001,"power":13189,"unknown_95":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8870543178836965376}} 
[2026-07-25 12:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":141075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:41:30] local.INFO: GPS data processed {"connection_id":141075,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:41:30] local.INFO: Acknowledgment sent {"connection_id":141075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:41:33] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981b3238012d9ab3c0060717500020006128..."} 
[2026-07-25 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981b3238012d9ab3c0060717500020006128..."} 
[2026-07-25 12:41:33] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981b3238012d9ab3c0060717500020006128..."} 
[2026-07-25 12:41:33] local.INFO: Packet analysis {"connection_id":141076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:41:33] local.INFO: Extracted packet for processing {"connection_id":141076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981b"} 
[2026-07-25 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765113280,"raw_latitude":101128016,"longitude_deg":76.511328,"latitude_deg":10.1128016,"altitude":32,"angle":97,"satellites":40,"speed":45,"hex_longitude":"2d9ab3c0","hex_latitude":"06071750","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950614784001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357675350173417472,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7309482906821603328,"note":"Value kept but may cause issues"} 
[2026-07-25 12:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963347000,"timestamp_ms":1784963347000,"timestamp_seconds":1784963347,"priority":1,"record_length":96,"hex_timestamp":"0000019f981b3238"} 
[2026-07-25 12:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 12:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950614784001,"66":28006,"234":206,"79":48640,"24":45,"16":357675350173417472,"45":-7309482906821603328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-07-25 12:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950614784001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:41:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 12:41:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-07-25 12:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357675350173417472,"km_value":357675350173417.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7309482906821603328,"description":"Unknown IO ID 45"} 
[2026-07-25 12:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950614784001,"power":28006,"unknown_234":206,"unknown_79":48640,"ignition":45,"odometer":null,"unknown_45":-7309482906821603328}} 
[2026-07-25 12:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":141076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:41:33] local.INFO: GPS data processed {"connection_id":141076,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:41:33] local.INFO: Acknowledgment sent {"connection_id":141076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:41:56] local.INFO: TCP Data received {"connection_id":142067,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:56] local.INFO: Processing buffer {"connection_id":142067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:56] local.INFO: IMEI packet received {"connection_id":142067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":142067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:41:58] local.INFO: TCP Data received {"connection_id":143423,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:41:58] local.INFO: Processing buffer {"connection_id":143423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:41:58] local.INFO: IMEI packet received {"connection_id":143423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":143423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:41:58] local.INFO: TCP Data received {"connection_id":142067,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:58] local.INFO: Processing buffer {"connection_id":142067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:41:58] local.INFO: IMEI packet received {"connection_id":142067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":142067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:42:01] local.INFO: TCP Data received {"connection_id":142067,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:42:01] local.INFO: Processing buffer {"connection_id":142067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:42:01] local.INFO: IMEI packet received {"connection_id":142067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":142067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:42:02] local.INFO: TCP Data received {"connection_id":142067,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d2250012d9bae80060708000027006129..."} 
[2026-07-25 12:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d2250012d9bae80060708000027006129..."} 
[2026-07-25 12:42:02] local.INFO: Processing buffer {"connection_id":142067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d2250012d9bae80060708000027006129..."} 
[2026-07-25 12:42:02] local.INFO: Packet analysis {"connection_id":142067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:02] local.INFO: Extracted packet for processing {"connection_id":142067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:02] local.INFO: GPS Element Parsed {"raw_longitude":765177472,"raw_latitude":101124096,"longitude_deg":76.5177472,"latitude_deg":10.1124096,"altitude":39,"angle":97,"satellites":41,"speed":8,"hex_longitude":"2d9bae80","hex_latitude":"06070800","is_valid_coordinates":true} 
[2026-07-25 12:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950643968001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357678476909608960,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7231303232041324544,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963474000,"timestamp_ms":1784963474000,"timestamp_seconds":1784963474,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d2250"} 
[2026-07-25 12:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 12:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950643968001,"66":27800,"116":206,"88":20992,"24":8,"16":357678476909608960,"45":-7231303232041324544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,88,24,16,45]} 
[2026-07-25 12:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950643968001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:42:02] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 12:42:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357678476909608960,"km_value":357678476909608.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7231303232041324544,"description":"Unknown IO ID 45"} 
[2026-07-25 12:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950643968001,"power":27800,"unknown_116":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-7231303232041324544}} 
[2026-07-25 12:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":142067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:42:02] local.INFO: GPS data processed {"connection_id":142067,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:42:02] local.INFO: Acknowledgment sent {"connection_id":142067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:42:03] local.INFO: TCP Data received {"connection_id":143423,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143423,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:03] local.INFO: Processing buffer {"connection_id":143423,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:03] local.INFO: IMEI packet received {"connection_id":143423,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":143423,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:42:04] local.INFO: TCP Data received {"connection_id":143423,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d60d0012d7b394005e1f950000900ad10..."} 
[2026-07-25 12:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d60d0012d7b394005e1f950000900ad10..."} 
[2026-07-25 12:42:04] local.INFO: Processing buffer {"connection_id":143423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d60d0012d7b394005e1f950000900ad10..."} 
[2026-07-25 12:42:04] local.INFO: Packet analysis {"connection_id":143423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:04] local.INFO: Extracted packet for processing {"connection_id":143423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763050304,"raw_latitude":98695504,"longitude_deg":76.3050304,"latitude_deg":9.8695504,"altitude":9,"angle":173,"satellites":16,"speed":24,"hex_longitude":"2d7b3940","hex_latitude":"05e1f950","is_valid_coordinates":true} 
[2026-07-25 12:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950648064001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110169248331988992,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878635584396736512,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784963490000,"timestamp_ms":1784963490000,"timestamp_seconds":1784963490,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d60d0"} 
[2026-07-25 12:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 12:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950648064001,"66":13189,"96":206,"85":15104,"24":24,"16":110169248331988992,"45":8878635584396736512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 12:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950648064001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:42:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 12:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110169248331988992,"km_value":110169248331988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878635584396736512,"description":"Unknown IO ID 45"} 
[2026-07-25 12:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950648064001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8878635584396736512}} 
[2026-07-25 12:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":143423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:42:04] local.INFO: GPS data processed {"connection_id":143423,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:42:04] local.INFO: Acknowledgment sent {"connection_id":143423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:42:06] local.INFO: TCP Data received {"connection_id":142067,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d2250012d9bae80060708000027006129..."} 
[2026-07-25 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d2250012d9bae80060708000027006129..."} 
[2026-07-25 12:42:06] local.INFO: Processing buffer {"connection_id":142067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d2250012d9bae80060708000027006129..."} 
[2026-07-25 12:42:06] local.INFO: Packet analysis {"connection_id":142067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:06] local.INFO: Extracted packet for processing {"connection_id":142067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:06] local.INFO: GPS Element Parsed {"raw_longitude":765177472,"raw_latitude":101124096,"longitude_deg":76.5177472,"latitude_deg":10.1124096,"altitude":39,"angle":97,"satellites":41,"speed":8,"hex_longitude":"2d9bae80","hex_latitude":"06070800","is_valid_coordinates":true} 
[2026-07-25 12:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950649344001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357678476909608960,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7228699588506943488,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784963474000,"timestamp_ms":1784963474000,"timestamp_seconds":1784963474,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d2250"} 
[2026-07-25 12:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 12:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950649344001,"66":27800,"116":206,"88":20992,"24":8,"16":357678476909608960,"45":-7228699588506943488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,88,24,16,45]} 
[2026-07-25 12:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950649344001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:42:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 12:42:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357678476909608960,"km_value":357678476909608.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7228699588506943488,"description":"Unknown IO ID 45"} 
[2026-07-25 12:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950649344001,"power":27800,"unknown_116":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-7228699588506943488}} 
[2026-07-25 12:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":142067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:42:06] local.INFO: GPS data processed {"connection_id":142067,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:42:06] local.INFO: Acknowledgment sent {"connection_id":142067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:42:35] local.INFO: TCP Data received {"connection_id":143423,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d60d0012d7b394005e1f950000900ad10..."} 
[2026-07-25 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d60d0012d7b394005e1f950000900ad10..."} 
[2026-07-25 12:42:35] local.INFO: Processing buffer {"connection_id":143423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d60d0012d7b394005e1f950000900ad10..."} 
[2026-07-25 12:42:35] local.INFO: Packet analysis {"connection_id":143423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:35] local.INFO: Extracted packet for processing {"connection_id":143423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763050304,"raw_latitude":98695504,"longitude_deg":76.3050304,"latitude_deg":9.8695504,"altitude":9,"angle":173,"satellites":16,"speed":24,"hex_longitude":"2d7b3940","hex_latitude":"05e1f950","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950653440001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110169248331988992,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879198534347870208,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784963490000,"timestamp_ms":1784963490000,"timestamp_seconds":1784963490,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d60d0"} 
[2026-07-25 12:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 12:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143423,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950653440001,"66":13189,"96":206,"85":15104,"24":24,"16":110169248331988992,"45":8879198534347870208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 12:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950653440001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:42:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 12:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110169248331988992,"km_value":110169248331988.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879198534347870208,"description":"Unknown IO ID 45"} 
[2026-07-25 12:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950653440001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8879198534347870208}} 
[2026-07-25 12:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":143423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:42:35] local.INFO: GPS data processed {"connection_id":143423,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:42:35] local.INFO: Acknowledgment sent {"connection_id":143423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:42:38] local.INFO: TCP Data received {"connection_id":142067,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d39c0012d9bb280060706d00027006d29..."} 
[2026-07-25 12:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d39c0012d9bb280060706d00027006d29..."} 
[2026-07-25 12:42:38] local.INFO: Processing buffer {"connection_id":142067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d39c0012d9bb280060706d00027006d29..."} 
[2026-07-25 12:42:38] local.INFO: Packet analysis {"connection_id":142067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:38] local.INFO: Extracted packet for processing {"connection_id":142067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":765178496,"raw_latitude":101123792,"longitude_deg":76.5178496,"latitude_deg":10.1123792,"altitude":39,"angle":109,"satellites":41,"speed":8,"hex_longitude":"2d9bb280","hex_latitude":"060706d0","is_valid_coordinates":true} 
[2026-07-25 12:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950649344001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357678528449216512,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7228699588506943488,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784963480000,"timestamp_ms":1784963480000,"timestamp_seconds":1784963480,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d39c0"} 
[2026-07-25 12:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 12:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950649344001,"66":27865,"116":206,"88":20992,"24":8,"16":357678528449216512,"45":-7228699588506943488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,88,24,16,45]} 
[2026-07-25 12:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950649344001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:42:38] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 12:42:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357678528449216512,"km_value":357678528449216.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7228699588506943488,"description":"Unknown IO ID 45"} 
[2026-07-25 12:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950649344001,"power":27865,"unknown_116":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-7228699588506943488}} 
[2026-07-25 12:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":142067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:42:38] local.INFO: GPS data processed {"connection_id":142067,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:42:38] local.INFO: Acknowledgment sent {"connection_id":142067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:42:51] local.INFO: TCP Data received {"connection_id":142068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:51] local.INFO: Processing buffer {"connection_id":142068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:51] local.INFO: IMEI packet received {"connection_id":142068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":142068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:42:54] local.INFO: TCP Data received {"connection_id":142068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:54] local.INFO: Processing buffer {"connection_id":142068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:54] local.INFO: IMEI packet received {"connection_id":142068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":142068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:42:56] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:42:56] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:42:56] local.INFO: IMEI packet received {"connection_id":141014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":141014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:42:58] local.INFO: TCP Data received {"connection_id":142068,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142068,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:58] local.INFO: Processing buffer {"connection_id":142068,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:42:58] local.INFO: IMEI packet received {"connection_id":142068,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":142068,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:42:59] local.INFO: TCP Data received {"connection_id":142068,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d9f50012d7b3e0005e1d710000a00a60f..."} 
[2026-07-25 12:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d9f50012d7b3e0005e1d710000a00a60f..."} 
[2026-07-25 12:42:59] local.INFO: Processing buffer {"connection_id":142068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d9f50012d7b3e0005e1d710000a00a60f..."} 
[2026-07-25 12:42:59] local.INFO: Packet analysis {"connection_id":142068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:59] local.INFO: Extracted packet for processing {"connection_id":142068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763051520,"raw_latitude":98686736,"longitude_deg":76.305152,"latitude_deg":9.8686736,"altitude":10,"angle":166,"satellites":15,"speed":20,"hex_longitude":"2d7b3e00","hex_latitude":"05e1d710","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950653440001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110169677828718592,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879198534347870208,"note":"Value kept but may cause issues"} 
[2026-07-25 12:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963506000,"timestamp_ms":1784963506000,"timestamp_seconds":1784963506,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d9f50"} 
[2026-07-25 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-07-25 12:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 12:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:42: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-07-25 12:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950653440001,"66":13091,"96":206,"85":15104,"24":20,"16":110169677828718592,"45":8879198534347870208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 12:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950653440001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110169677828718592,"km_value":110169677828718.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879198534347870208,"description":"Unknown IO ID 45"} 
[2026-07-25 12:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950653440001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8879198534347870208}} 
[2026-07-25 12:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":142068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:42:59] local.INFO: GPS data processed {"connection_id":142068,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:42:59] local.INFO: Acknowledgment sent {"connection_id":142068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:43:01] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:01] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:01] local.INFO: IMEI packet received {"connection_id":141014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":141014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:43:01] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d87e0012d9bbec006070320002a006429..."} 
[2026-07-25 12:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d87e0012d9bbec006070320002a006429..."} 
[2026-07-25 12:43:01] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d87e0012d9bbec006070320002a006429..."} 
[2026-07-25 12:43:01] local.INFO: Packet analysis {"connection_id":141014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:01] local.INFO: Extracted packet for processing {"connection_id":141014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:01] local.INFO: GPS Element Parsed {"raw_longitude":765181632,"raw_latitude":101122848,"longitude_deg":76.5181632,"latitude_deg":10.1122848,"altitude":42,"angle":100,"satellites":41,"speed":5,"hex_longitude":"2d9bbec0","hex_latitude":"06070320","is_valid_coordinates":true} 
[2026-07-25 12:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950650880001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357678687363006464,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7227573688600178688,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963500000,"timestamp_ms":1784963500000,"timestamp_seconds":1784963500,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d87e0"} 
[2026-07-25 12:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 12:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950650880001,"66":27919,"116":206,"88":20992,"24":5,"16":357678687363006464,"45":-7227573688600178688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,88,24,16,45]} 
[2026-07-25 12:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950650880001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:43:01] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 12:43:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357678687363006464,"km_value":357678687363006.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7227573688600178688,"description":"Unknown IO ID 45"} 
[2026-07-25 12:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950650880001,"power":27919,"unknown_116":206,"unknown_88":20992,"ignition":5,"odometer":null,"unknown_45":-7227573688600178688}} 
[2026-07-25 12:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":141014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:43:01] local.INFO: GPS data processed {"connection_id":141014,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:43:01] local.INFO: Acknowledgment sent {"connection_id":141014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:43:15] local.INFO: TCP Data received {"connection_id":142066,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:43:15] local.INFO: Processing buffer {"connection_id":142066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:43:15] local.INFO: IMEI packet received {"connection_id":142066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":142066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:43:30] local.INFO: TCP Data received {"connection_id":142068,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981de5a0012d7b420005e1b3a8000b00b20e..."} 
[2026-07-25 12:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981de5a0012d7b420005e1b3a8000b00b20e..."} 
[2026-07-25 12:43:30] local.INFO: Processing buffer {"connection_id":142068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981de5a0012d7b420005e1b3a8000b00b20e..."} 
[2026-07-25 12:43:30] local.INFO: Packet analysis {"connection_id":142068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:30] local.INFO: Extracted packet for processing {"connection_id":142068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98677672,"longitude_deg":76.3052544,"latitude_deg":9.8677672,"altitude":11,"angle":178,"satellites":14,"speed":17,"hex_longitude":"2d7b4200","hex_latitude":"05e1b3a8","is_valid_coordinates":true} 
[2026-07-25 12:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950657536001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110170124505317376,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880535540485001216,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963524000,"timestamp_ms":1784963524000,"timestamp_seconds":1784963524,"priority":1,"record_length":96,"hex_timestamp":"0000019f981de5a0"} 
[2026-07-25 12:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:43: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-07-25 12:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142068,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:43: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-07-25 12:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950657536001,"66":13135,"96":206,"85":15104,"24":17,"16":110170124505317376,"45":8880535540485001216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 12:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950657536001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:43:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 12:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110170124505317376,"km_value":110170124505317.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880535540485001216,"description":"Unknown IO ID 45"} 
[2026-07-25 12:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950657536001,"power":13135,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8880535540485001216}} 
[2026-07-25 12:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":142068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:43:30] local.INFO: GPS data processed {"connection_id":142068,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:43:30] local.INFO: Acknowledgment sent {"connection_id":142068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:43:33] local.INFO: TCP Data received {"connection_id":141014,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981d9780012d9bc180060702580029007329..."} 
[2026-07-25 12:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981d9780012d9bc180060702580029007329..."} 
[2026-07-25 12:43:33] local.INFO: Processing buffer {"connection_id":141014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981d9780012d9bc180060702580029007329..."} 
[2026-07-25 12:43:33] local.INFO: Packet analysis {"connection_id":141014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:33] local.INFO: Extracted packet for processing {"connection_id":141014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:33] local.INFO: GPS Element Parsed {"raw_longitude":765182336,"raw_latitude":101122648,"longitude_deg":76.5182336,"latitude_deg":10.1122648,"altitude":41,"angle":115,"satellites":41,"speed":10,"hex_longitude":"2d9bc180","hex_latitude":"06070258","is_valid_coordinates":true} 
[2026-07-25 12:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950656000001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357678721722744832,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7224125620135714816,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963504000,"timestamp_ms":1784963504000,"timestamp_seconds":1784963504,"priority":1,"record_length":96,"hex_timestamp":"0000019f981d9780"} 
[2026-07-25 12:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950656000001,"66":27800,"116":206,"88":20992,"24":10,"16":357678721722744832,"45":-7224125620135714816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,88,24,16,45]} 
[2026-07-25 12:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950656000001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357678721722744832,"km_value":357678721722744.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7224125620135714816,"description":"Unknown IO ID 45"} 
[2026-07-25 12:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950656000001,"power":27800,"unknown_116":206,"unknown_88":20992,"ignition":10,"odometer":null,"unknown_45":-7224125620135714816}} 
[2026-07-25 12:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":141014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:43:33] local.INFO: GPS data processed {"connection_id":141014,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:43:33] local.INFO: Acknowledgment sent {"connection_id":141014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:43:49] local.INFO: TCP Data received {"connection_id":142069,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:43:49] local.INFO: Processing buffer {"connection_id":142069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:43:49] local.INFO: IMEI packet received {"connection_id":142069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":142069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:43:53] local.INFO: TCP Data received {"connection_id":142070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:43:53] local.INFO: Processing buffer {"connection_id":142070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:43:53] local.INFO: IMEI packet received {"connection_id":142070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":142070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:43:55] local.INFO: TCP Data received {"connection_id":143424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:55] local.INFO: Processing buffer {"connection_id":143424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:55] local.INFO: IMEI packet received {"connection_id":143424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":143424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:43:55] local.INFO: TCP Data received {"connection_id":143424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:55] local.INFO: Processing buffer {"connection_id":143424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:55] local.INFO: IMEI packet received {"connection_id":143424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":143424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:43:58] local.INFO: TCP Data received {"connection_id":143424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:58] local.INFO: Processing buffer {"connection_id":143424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:43:58] local.INFO: IMEI packet received {"connection_id":143424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":143424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:43:58] local.INFO: TCP Data received {"connection_id":142070,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:43:58] local.INFO: Processing buffer {"connection_id":142070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:43:58] local.INFO: IMEI packet received {"connection_id":142070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":142070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:43:59] local.INFO: TCP Data received {"connection_id":142070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981de5a0012d7b420005e1b3a8000b00b20e..."} 
[2026-07-25 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981de5a0012d7b420005e1b3a8000b00b20e..."} 
[2026-07-25 12:43:59] local.INFO: Processing buffer {"connection_id":142070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981de5a0012d7b420005e1b3a8000b00b20e..."} 
[2026-07-25 12:43:59] local.INFO: Packet analysis {"connection_id":142070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:59] local.INFO: Extracted packet for processing {"connection_id":142070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98677672,"longitude_deg":76.3052544,"latitude_deg":9.8677672,"altitude":11,"angle":178,"satellites":14,"speed":17,"hex_longitude":"2d7b4200","hex_latitude":"05e1b3a8","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950662144001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110170124505317376,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440389523456,"note":"Value kept but may cause issues"} 
[2026-07-25 12:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963524000,"timestamp_ms":1784963524000,"timestamp_seconds":1784963524,"priority":1,"record_length":96,"hex_timestamp":"0000019f981de5a0"} 
[2026-07-25 12:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 12:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:43: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-07-25 12:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950662144001,"66":13135,"96":206,"85":15104,"24":17,"16":110170124505317376,"45":8881661440389523456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 12:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950662144001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:43:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 12:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110170124505317376,"km_value":110170124505317.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440389523456,"description":"Unknown IO ID 45"} 
[2026-07-25 12:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950662144001,"power":13135,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8881661440389523456}} 
[2026-07-25 12:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":142070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:43:59] local.INFO: GPS data processed {"connection_id":142070,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:43:59] local.INFO: Acknowledgment sent {"connection_id":142070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:44:01] local.INFO: TCP Data received {"connection_id":143424,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:01] local.INFO: Processing buffer {"connection_id":143424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:01] local.INFO: IMEI packet received {"connection_id":143424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":143424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:44:02] local.INFO: TCP Data received {"connection_id":143424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981de5a0012d9bdd400606f6b00028006b2a..."} 
[2026-07-25 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981de5a0012d9bdd400606f6b00028006b2a..."} 
[2026-07-25 12:44:02] local.INFO: Processing buffer {"connection_id":143424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981de5a0012d9bdd400606f6b00028006b2a..."} 
[2026-07-25 12:44:02] local.INFO: Packet analysis {"connection_id":143424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:44:02] local.INFO: Extracted packet for processing {"connection_id":143424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:44:02] local.INFO: GPS Element Parsed {"raw_longitude":765189440,"raw_latitude":101119664,"longitude_deg":76.518944,"latitude_deg":10.1119664,"altitude":40,"angle":107,"satellites":42,"speed":11,"hex_longitude":"2d9bdd40","hex_latitude":"0606f6b0","is_valid_coordinates":true} 
[2026-07-25 12:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950657024001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357679091089932288,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7223351563949811712,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963524000,"timestamp_ms":1784963524000,"timestamp_seconds":1784963524,"priority":1,"record_length":96,"hex_timestamp":"0000019f981de5a0"} 
[2026-07-25 12:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 12:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950657024001,"66":28028,"115":206,"88":20992,"24":11,"16":357679091089932288,"45":-7223351563949811712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,88,24,16,45]} 
[2026-07-25 12:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950657024001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:44:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 12:44:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357679091089932288,"km_value":357679091089932.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7223351563949811712,"description":"Unknown IO ID 45"} 
[2026-07-25 12:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950657024001,"power":28028,"unknown_115":206,"unknown_88":20992,"ignition":11,"odometer":null,"unknown_45":-7223351563949811712}} 
[2026-07-25 12:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":143424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:44:02] local.INFO: GPS data processed {"connection_id":143424,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:44:02] local.INFO: Acknowledgment sent {"connection_id":143424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:44:30] local.INFO: TCP Data received {"connection_id":142070,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f981df158012d7b420005e1af80000b00bd0d..."} 
[2026-07-25 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981df158012d7b420005e1af80000b00bd0d..."} 
[2026-07-25 12:44:30] local.INFO: Processing buffer {"connection_id":142070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981df158012d7b420005e1af80000b00bd0d..."} 
[2026-07-25 12:44:30] local.INFO: Packet analysis {"connection_id":142070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:44:30] local.INFO: Extracted packet for processing {"connection_id":142070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981d"} 
[2026-07-25 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763052544,"raw_latitude":98676608,"longitude_deg":76.3052544,"latitude_deg":9.8676608,"altitude":11,"angle":189,"satellites":13,"speed":13,"hex_longitude":"2d7b4200","hex_latitude":"05e1af80","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950662144001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110170176044924928,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440389523456,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963527000,"timestamp_ms":1784963527000,"timestamp_seconds":1784963527,"priority":1,"record_length":96,"hex_timestamp":"0000019f981df158"} 
[2026-07-25 12:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 12:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:44: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-07-25 12:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950662144001,"66":13135,"96":206,"85":15104,"24":13,"16":110170176044924928,"45":8881661440389523456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 12:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950662144001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:44:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 12:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110170176044924928,"km_value":110170176044924.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440389523456,"description":"Unknown IO ID 45"} 
[2026-07-25 12:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950662144001,"power":13135,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8881661440389523456}} 
[2026-07-25 12:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":142070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:44:30] local.INFO: GPS data processed {"connection_id":142070,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:44:30] local.INFO: Acknowledgment sent {"connection_id":142070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:44:33] local.INFO: TCP Data received {"connection_id":143424,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981e3b90012d9be4800606f3b00029006828..."} 
[2026-07-25 12:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981e3b90012d9be4800606f3b00029006828..."} 
[2026-07-25 12:44:33] local.INFO: Processing buffer {"connection_id":143424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981e3b90012d9be4800606f3b00029006828..."} 
[2026-07-25 12:44:33] local.INFO: Packet analysis {"connection_id":143424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981e"} 
[2026-07-25 12:44:33] local.INFO: Extracted packet for processing {"connection_id":143424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981e"} 
[2026-07-25 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":765191296,"raw_latitude":101118896,"longitude_deg":76.5191296,"latitude_deg":10.1118896,"altitude":41,"angle":104,"satellites":40,"speed":0,"hex_longitude":"2d9be480","hex_latitude":"0606f3b0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950662144001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357679185579212800,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7215540633346854912,"note":"Value kept but may cause issues"} 
[2026-07-25 12:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963546000,"timestamp_ms":1784963546000,"timestamp_seconds":1784963546,"priority":1,"record_length":96,"hex_timestamp":"0000019f981e3b90"} 
[2026-07-25 12:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 12:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950662144001,"66":27995,"115":206,"88":20992,"24":0,"16":357679185579212800,"45":-7215540633346854912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,88,24,16,45]} 
[2026-07-25 12:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950662144001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:44:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 12:44:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357679185579212800,"km_value":357679185579212.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7215540633346854912,"description":"Unknown IO ID 45"} 
[2026-07-25 12:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950662144001,"power":27995,"unknown_115":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-7215540633346854912}} 
[2026-07-25 12:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":143424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:44:33] local.INFO: GPS data processed {"connection_id":143424,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:44:33] local.INFO: Acknowledgment sent {"connection_id":143424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:44:55] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:55] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:55] local.INFO: IMEI packet received {"connection_id":141016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":141016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:44:58] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:44:58] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:44:58] local.INFO: IMEI packet received {"connection_id":141015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":141015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:44:59] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:59] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:44:59] local.INFO: IMEI packet received {"connection_id":141016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":141016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:45:00] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:45:00] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:45:00] local.INFO: IMEI packet received {"connection_id":141016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":141016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:45:01] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981f9738012d9c8780060709180022007227..."} 
[2026-07-25 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981f9738012d9c8780060709180022007227..."} 
[2026-07-25 12:45:01] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981f9738012d9c8780060709180022007227..."} 
[2026-07-25 12:45:01] local.INFO: Packet analysis {"connection_id":141016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:45:01] local.INFO: Extracted packet for processing {"connection_id":141016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765233024,"raw_latitude":101124376,"longitude_deg":76.5233024,"latitude_deg":10.1124376,"altitude":34,"angle":114,"satellites":39,"speed":35,"hex_longitude":"2d9c8780","hex_latitude":"06070918","is_valid_coordinates":true} 
[2026-07-25 12:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950690048001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357681320177958912,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7169519474653308928,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963635000,"timestamp_ms":1784963635000,"timestamp_seconds":1784963635,"priority":1,"record_length":96,"hex_timestamp":"0000019f981f9738"} 
[2026-07-25 12:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 12:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950690048001,"66":27887,"113":206,"88":20992,"24":35,"16":357681320177958912,"45":-7169519474653308928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,88,24,16,45]} 
[2026-07-25 12:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950690048001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:45:01] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-25 12:45:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357681320177958912,"km_value":357681320177958.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7169519474653308928,"description":"Unknown IO ID 45"} 
[2026-07-25 12:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950690048001,"power":27887,"unknown_113":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7169519474653308928}} 
[2026-07-25 12:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":141016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:45:01] local.INFO: GPS data processed {"connection_id":141016,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:45:01] local.INFO: Acknowledgment sent {"connection_id":141016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:45:01] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:01] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:01] local.INFO: IMEI packet received {"connection_id":141015,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":141015,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:45:02] local.INFO: TCP Data received {"connection_id":141015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98201050012d7b5d4005e0dbd8000a00ab0e..."} 
[2026-07-25 12:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98201050012d7b5d4005e0dbd8000a00ab0e..."} 
[2026-07-25 12:45:02] local.INFO: Processing buffer {"connection_id":141015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98201050012d7b5d4005e0dbd8000a00ab0e..."} 
[2026-07-25 12:45:02] local.INFO: Packet analysis {"connection_id":141015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:45:02] local.INFO: Extracted packet for processing {"connection_id":141015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763059520,"raw_latitude":98622424,"longitude_deg":76.305952,"latitude_deg":9.8622424,"altitude":10,"angle":171,"satellites":14,"speed":41,"hex_longitude":"2d7b5d40","hex_latitude":"05e0dbd8","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950696192001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110172873284386816,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733586251776,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963666000,"timestamp_ms":1784963666000,"timestamp_seconds":1784963666,"priority":1,"record_length":96,"hex_timestamp":"0000019f98201050"} 
[2026-07-25 12:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-25 12:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141015,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950696192001,"66":13059,"170":206,"85":15104,"24":41,"16":110172873284386816,"45":8888205733586251776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-25 12:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950696192001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:45:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 12:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110172873284386816,"km_value":110172873284386.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733586251776,"description":"Unknown IO ID 45"} 
[2026-07-25 12:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950696192001,"power":13059,"unknown_170":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8888205733586251776}} 
[2026-07-25 12:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":141015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:45:02] local.INFO: GPS data processed {"connection_id":141015,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:45:02] local.INFO: Acknowledgment sent {"connection_id":141015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:45:32] local.INFO: TCP Data received {"connection_id":141016,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981fbe48012d9caa000606f8f0001f006f29..."} 
[2026-07-25 12:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981fbe48012d9caa000606f8f0001f006f29..."} 
[2026-07-25 12:45:32] local.INFO: Processing buffer {"connection_id":141016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981fbe48012d9caa000606f8f0001f006f29..."} 
[2026-07-25 12:45:32] local.INFO: Packet analysis {"connection_id":141016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:45:32] local.INFO: Extracted packet for processing {"connection_id":141016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765241856,"raw_latitude":101120240,"longitude_deg":76.5241856,"latitude_deg":10.112024,"altitude":31,"angle":111,"satellites":41,"speed":42,"hex_longitude":"2d9caa00","hex_latitude":"0606f8f0","is_valid_coordinates":true} 
[2026-07-25 12:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950690560001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357681788329394176,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7167619518560659456,"note":"Value kept but may cause issues"} 
[2026-07-25 12:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784963645000,"timestamp_ms":1784963645000,"timestamp_seconds":1784963645,"priority":1,"record_length":96,"hex_timestamp":"0000019f981fbe48"} 
[2026-07-25 12:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 12:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950690560001,"66":27930,"241":206,"88":20992,"24":42,"16":357681788329394176,"45":-7167619518560659456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-07-25 12:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950690560001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357681788329394176,"km_value":357681788329394.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7167619518560659456,"description":"Unknown IO ID 45"} 
[2026-07-25 12:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950690560001,"power":27930,"unknown_241":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-7167619518560659456}} 
[2026-07-25 12:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":141016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:45:32] local.INFO: GPS data processed {"connection_id":141016,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:45:32] local.INFO: Acknowledgment sent {"connection_id":141016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:45:53] local.INFO: TCP Data received {"connection_id":143425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:53] local.INFO: Processing buffer {"connection_id":143425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:53] local.INFO: IMEI packet received {"connection_id":143425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":143425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:45:58] local.INFO: TCP Data received {"connection_id":143425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:58] local.INFO: Processing buffer {"connection_id":143425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:45:58] local.INFO: IMEI packet received {"connection_id":143425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":143425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:46:00] local.INFO: TCP Data received {"connection_id":143425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98203760012d7b648005e0b968000b00ab0c..."} 
[2026-07-25 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98203760012d7b648005e0b968000b00ab0c..."} 
[2026-07-25 12:46:00] local.INFO: Processing buffer {"connection_id":143425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98203760012d7b648005e0b968000b00ab0c..."} 
[2026-07-25 12:46:00] local.INFO: Packet analysis {"connection_id":143425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:46:00] local.INFO: Extracted packet for processing {"connection_id":143425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763061376,"raw_latitude":98613608,"longitude_deg":76.3061376,"latitude_deg":9.8613608,"altitude":11,"angle":171,"satellites":12,"speed":30,"hex_longitude":"2d7b6480","hex_latitude":"05e0b968","is_valid_coordinates":true} 
[2026-07-25 12:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950698496001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110173307076083712,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889331633490745344,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784963676000,"timestamp_ms":1784963676000,"timestamp_seconds":1784963676,"priority":1,"record_length":96,"hex_timestamp":"0000019f98203760"} 
[2026-07-25 12:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015719,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2552181160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399426,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3221610857,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817383,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3781918720,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:00] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,170,85,24,241,157,16,105,159,237,45,64,255,10,13,66,198,36,169,104,192,1,240,187,227,152,225,4,113,205,8,65,73,239,49,2,135,5,9],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-25 12:46:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720764016999858176,"timestamp_seconds":720764016999858.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950698496001,"66":13091,"170":206,"85":15104,"24":30,"16":110173307076083712,"45":8889331633490745344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-25 12:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950698496001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:46:00] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 12:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110173307076083712,"km_value":110173307076083.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889331633490745344,"description":"Unknown IO ID 45"} 
[2026-07-25 12:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950698496001,"power":13091,"unknown_170":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8889331633490745344}} 
[2026-07-25 12:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":143425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:46:00] local.INFO: GPS data processed {"connection_id":143425,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:46:00] local.INFO: Acknowledgment sent {"connection_id":143425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:46:01] local.INFO: TCP Data received {"connection_id":143426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:01] local.INFO: Processing buffer {"connection_id":143426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:01] local.INFO: IMEI packet received {"connection_id":143426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":143426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:46:01] local.INFO: TCP Data received {"connection_id":143426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:01] local.INFO: Processing buffer {"connection_id":143426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:01] local.INFO: IMEI packet received {"connection_id":143426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":143426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:46:02] local.INFO: TCP Data received {"connection_id":143426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981fdd88012d9ccb400606eb78001f00702a..."} 
[2026-07-25 12:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981fdd88012d9ccb400606eb78001f00702a..."} 
[2026-07-25 12:46:02] local.INFO: Processing buffer {"connection_id":143426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981fdd88012d9ccb400606eb78001f00702a..."} 
[2026-07-25 12:46:02] local.INFO: Packet analysis {"connection_id":143426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:46:02] local.INFO: Extracted packet for processing {"connection_id":143426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:46:02] local.INFO: GPS Element Parsed {"raw_longitude":765250368,"raw_latitude":101116792,"longitude_deg":76.5250368,"latitude_deg":10.1116792,"altitude":31,"angle":112,"satellites":42,"speed":48,"hex_longitude":"2d9ccb40","hex_latitude":"0606eb78","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950693120001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357682230711025664,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7157908631865200640,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963653000,"timestamp_ms":1784963653000,"timestamp_seconds":1784963653,"priority":1,"record_length":96,"hex_timestamp":"0000019f981fdd88"} 
[2026-07-25 12:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950693120001,"66":27930,"241":206,"88":20992,"24":48,"16":357682230711025664,"45":-7157908631865200640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-07-25 12:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950693120001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:46:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 12:46:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357682230711025664,"km_value":357682230711025.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7157908631865200640,"description":"Unknown IO ID 45"} 
[2026-07-25 12:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950693120001,"power":27930,"unknown_241":206,"unknown_88":20992,"ignition":48,"odometer":null,"unknown_45":-7157908631865200640}} 
[2026-07-25 12:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":143426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:46:02] local.INFO: GPS data processed {"connection_id":143426,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:46:02] local.INFO: Acknowledgment sent {"connection_id":143426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:46:06] local.INFO: TCP Data received {"connection_id":143426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f981ffcc8012d9cf0800606dc60001f00702b..."} 
[2026-07-25 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f981ffcc8012d9cf0800606dc60001f00702b..."} 
[2026-07-25 12:46:06] local.INFO: Processing buffer {"connection_id":143426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f981ffcc8012d9cf0800606dc60001f00702b..."} 
[2026-07-25 12:46:06] local.INFO: Packet analysis {"connection_id":143426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:46:06] local.INFO: Extracted packet for processing {"connection_id":143426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f981f"} 
[2026-07-25 12:46:06] local.INFO: GPS Element Parsed {"raw_longitude":765259904,"raw_latitude":101112928,"longitude_deg":76.5259904,"latitude_deg":10.1112928,"altitude":31,"angle":112,"satellites":43,"speed":51,"hex_longitude":"2d9cf080","hex_latitude":"0606dc60","is_valid_coordinates":true} 
[2026-07-25 12:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950695168001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357682720337297408,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148549588890454016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784963661000,"timestamp_ms":1784963661000,"timestamp_seconds":1784963661,"priority":1,"record_length":96,"hex_timestamp":"0000019f981ffcc8"} 
[2026-07-25 12:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950695168001,"66":27995,"241":206,"88":20992,"24":51,"16":357682720337297408,"45":-7148549588890454016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-07-25 12:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950695168001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:46:06] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 12:46:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357682720337297408,"km_value":357682720337297.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148549588890454016,"description":"Unknown IO ID 45"} 
[2026-07-25 12:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950695168001,"power":27995,"unknown_241":206,"unknown_88":20992,"ignition":51,"odometer":null,"unknown_45":-7148549588890454016}} 
[2026-07-25 12:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":143426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:46:06] local.INFO: GPS data processed {"connection_id":143426,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:46:06] local.INFO: Acknowledgment sent {"connection_id":143426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:46:31] local.INFO: TCP Data received {"connection_id":143425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98206258012d7b68c005e09700000a00ab0d..."} 
[2026-07-25 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98206258012d7b68c005e09700000a00ab0d..."} 
[2026-07-25 12:46:31] local.INFO: Processing buffer {"connection_id":143425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98206258012d7b68c005e09700000a00ab0d..."} 
[2026-07-25 12:46:31] local.INFO: Packet analysis {"connection_id":143425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:46:31] local.INFO: Extracted packet for processing {"connection_id":143425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763062464,"raw_latitude":98604800,"longitude_deg":76.3062464,"latitude_deg":9.86048,"altitude":10,"angle":171,"satellites":13,"speed":30,"hex_longitude":"2d7b68c0","hex_latitude":"05e09700","is_valid_coordinates":true} 
[2026-07-25 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950701056001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110173740867780608,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891372327069640704,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784963687000,"timestamp_ms":1784963687000,"timestamp_seconds":1784963687,"priority":1,"record_length":96,"hex_timestamp":"0000019f98206258"} 
[2026-07-25 12:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950701056001,"66":13243,"170":206,"85":15104,"24":30,"16":110173740867780608,"45":8891372327069640704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-25 12:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950701056001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110173740867780608,"km_value":110173740867780.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891372327069640704,"description":"Unknown IO ID 45"} 
[2026-07-25 12:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950701056001,"power":13243,"unknown_170":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8891372327069640704}} 
[2026-07-25 12:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":143425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:46:31] local.INFO: GPS data processed {"connection_id":143425,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:46:31] local.INFO: Acknowledgment sent {"connection_id":143425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:46:39] local.INFO: TCP Data received {"connection_id":143426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982121c0012d9e03800606c290001f006a28..."} 
[2026-07-25 12:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982121c0012d9e03800606c290001f006a28..."} 
[2026-07-25 12:46:39] local.INFO: Processing buffer {"connection_id":143426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982121c0012d9e03800606c290001f006a28..."} 
[2026-07-25 12:46:39] local.INFO: Packet analysis {"connection_id":143426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:46:39] local.INFO: Extracted packet for processing {"connection_id":143426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:46:39] local.INFO: GPS Element Parsed {"raw_longitude":765330304,"raw_latitude":101106320,"longitude_deg":76.5330304,"latitude_deg":10.110632,"altitude":31,"angle":106,"satellites":40,"speed":35,"hex_longitude":"2d9e0380","hex_latitude":"0606c290","is_valid_coordinates":true} 
[2026-07-25 12:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950713344001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357686194965839872,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7070862495320469504,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784963736000,"timestamp_ms":1784963736000,"timestamp_seconds":1784963736,"priority":1,"record_length":96,"hex_timestamp":"0000019f982121c0"} 
[2026-07-25 12:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 12:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950713344001,"66":28006,"239":206,"88":20992,"24":35,"16":357686194965839872,"45":-7070862495320469504},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-25 12:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950713344001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:46:39] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 12:46:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357686194965839872,"km_value":357686194965839.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7070862495320469504,"description":"Unknown IO ID 45"} 
[2026-07-25 12:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950713344001,"power":28006,"unknown_239":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7070862495320469504}} 
[2026-07-25 12:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":143426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:46:39] local.INFO: GPS data processed {"connection_id":143426,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:46:39] local.INFO: Acknowledgment sent {"connection_id":143426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:46:53] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:46:53] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:46:53] local.INFO: IMEI packet received {"connection_id":141077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":141077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:46:53] local.INFO: TCP Data received {"connection_id":143427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:53] local.INFO: Processing buffer {"connection_id":143427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:53] local.INFO: IMEI packet received {"connection_id":143427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":143427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:46:56] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:46:56] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:46:56] local.INFO: IMEI packet received {"connection_id":141077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":141077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:46:57] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98209138012d7b6c8005e07380000b00ae0e..."} 
[2026-07-25 12:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98209138012d7b6c8005e07380000b00ae0e..."} 
[2026-07-25 12:46:57] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98209138012d7b6c8005e07380000b00ae0e..."} 
[2026-07-25 12:46:57] local.INFO: Packet analysis {"connection_id":141077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:46:57] local.INFO: Extracted packet for processing {"connection_id":141077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9820"} 
[2026-07-25 12:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763063424,"raw_latitude":98595712,"longitude_deg":76.3063424,"latitude_deg":9.8595712,"altitude":11,"angle":174,"satellites":14,"speed":31,"hex_longitude":"2d7b6c80","hex_latitude":"05e07380","is_valid_coordinates":true} 
[2026-07-25 12:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950703872001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110174183249412096,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892568595718406144,"note":"Value kept but may cause issues"} 
[2026-07-25 12:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784963699000,"timestamp_ms":1784963699000,"timestamp_seconds":1784963699,"priority":1,"record_length":96,"hex_timestamp":"0000019f98209138"} 
[2026-07-25 12:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 12:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950703872001,"66":13091,"170":206,"85":15104,"24":31,"16":110174183249412096,"45":8892568595718406144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-25 12:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950703872001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:46:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 12:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110174183249412096,"km_value":110174183249412.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892568595718406144,"description":"Unknown IO ID 45"} 
[2026-07-25 12:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950703872001,"power":13091,"unknown_170":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8892568595718406144}} 
[2026-07-25 12:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":141077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:46:57] local.INFO: GPS data processed {"connection_id":141077,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:46:57] local.INFO: Acknowledgment sent {"connection_id":141077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:46:58] local.INFO: TCP Data received {"connection_id":143427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:58] local.INFO: Processing buffer {"connection_id":143427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:58] local.INFO: IMEI packet received {"connection_id":143427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":143427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:46:59] local.INFO: TCP Data received {"connection_id":143427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:59] local.INFO: Processing buffer {"connection_id":143427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:46:59] local.INFO: IMEI packet received {"connection_id":143427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":143427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:47:00] local.INFO: TCP Data received {"connection_id":143427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982148d0012d9e24800606b4c8001d006f29..."} 
[2026-07-25 12:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982148d0012d9e24800606b4c8001d006f29..."} 
[2026-07-25 12:47:00] local.INFO: Processing buffer {"connection_id":143427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982148d0012d9e24800606b4c8001d006f29..."} 
[2026-07-25 12:47:00] local.INFO: Packet analysis {"connection_id":143427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:47:00] local.INFO: Extracted packet for processing {"connection_id":143427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:47:00] local.INFO: GPS Element Parsed {"raw_longitude":765338752,"raw_latitude":101102792,"longitude_deg":76.5338752,"latitude_deg":10.1102792,"altitude":29,"angle":111,"satellites":41,"speed":34,"hex_longitude":"2d9e2480","hex_latitude":"0606b4c8","is_valid_coordinates":true} 
[2026-07-25 12:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950716416001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357686637347471360,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060659027415232512,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784963746000,"timestamp_ms":1784963746000,"timestamp_seconds":1784963746,"priority":1,"record_length":96,"hex_timestamp":"0000019f982148d0"} 
[2026-07-25 12:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 12:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950716416001,"66":27919,"239":206,"88":20992,"24":34,"16":357686637347471360,"45":-7060659027415232512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-25 12:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950716416001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357686637347471360,"km_value":357686637347471.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060659027415232512,"description":"Unknown IO ID 45"} 
[2026-07-25 12:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950716416001,"power":27919,"unknown_239":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-7060659027415232512}} 
[2026-07-25 12:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":143427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:47:00] local.INFO: GPS data processed {"connection_id":143427,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:47:00] local.INFO: Acknowledgment sent {"connection_id":143427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:47:01] local.INFO: TCP Data received {"connection_id":143427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98216810012d9e3dc00606a8f0001c007d28..."} 
[2026-07-25 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98216810012d9e3dc00606a8f0001c007d28..."} 
[2026-07-25 12:47:01] local.INFO: Processing buffer {"connection_id":143427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98216810012d9e3dc00606a8f0001c007d28..."} 
[2026-07-25 12:47:01] local.INFO: Packet analysis {"connection_id":143427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:47:01] local.INFO: Extracted packet for processing {"connection_id":143427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":765345216,"raw_latitude":101099760,"longitude_deg":76.5345216,"latitude_deg":10.109976,"altitude":28,"angle":125,"satellites":40,"speed":35,"hex_longitude":"2d9e3dc0","hex_latitude":"0606a8f0","is_valid_coordinates":true} 
[2026-07-25 12:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950718976001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357686980944855040,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051370353184684032,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963754000,"timestamp_ms":1784963754000,"timestamp_seconds":1784963754,"priority":1,"record_length":96,"hex_timestamp":"0000019f98216810"} 
[2026-07-25 12:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950718976001,"66":27919,"239":206,"88":20992,"24":35,"16":357686980944855040,"45":-7051370353184684032},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-25 12:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950718976001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:47:01] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 12:47:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357686980944855040,"km_value":357686980944855.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051370353184684032,"description":"Unknown IO ID 45"} 
[2026-07-25 12:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950718976001,"power":27919,"unknown_239":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-7051370353184684032}} 
[2026-07-25 12:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":143427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:47:01] local.INFO: GPS data processed {"connection_id":143427,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:47:01] local.INFO: Acknowledgment sent {"connection_id":143427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:47:28] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98227598012d7ba00005dec260000200b00d..."} 
[2026-07-25 12:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98227598012d7ba00005dec260000200b00d..."} 
[2026-07-25 12:47:28] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98227598012d7ba00005dec260000200b00d..."} 
[2026-07-25 12:47:28] local.INFO: Packet analysis {"connection_id":141077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:47:28] local.INFO: Extracted packet for processing {"connection_id":141077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763076608,"raw_latitude":98484832,"longitude_deg":76.3076608,"latitude_deg":9.8484832,"altitude":2,"angle":176,"satellites":13,"speed":49,"hex_longitude":"2d7ba000","hex_latitude":"05dec260","is_valid_coordinates":true} 
[2026-07-25 12:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950736384001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110179629267943424,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907627506944296960,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784963823000,"timestamp_ms":1784963823000,"timestamp_seconds":1784963823,"priority":1,"record_length":96,"hex_timestamp":"0000019f98227598"} 
[2026-07-25 12:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 12:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950736384001,"66":12939,"49":206,"85":15104,"24":49,"16":110179629267943424,"45":8907627506944296960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 12:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950736384001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:47:28] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 12:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110179629267943424,"km_value":110179629267943.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907627506944296960,"description":"Unknown IO ID 45"} 
[2026-07-25 12:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950736384001,"power":12939,"unknown_49":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8907627506944296960}} 
[2026-07-25 12:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":141077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:47:28] local.INFO: GPS data processed {"connection_id":141077,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:47:28] local.INFO: Acknowledgment sent {"connection_id":141077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:47:32] local.INFO: TCP Data received {"connection_id":143427,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98218f20012d9e5940060690b0001a008528..."} 
[2026-07-25 12:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98218f20012d9e5940060690b0001a008528..."} 
[2026-07-25 12:47:32] local.INFO: Processing buffer {"connection_id":143427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98218f20012d9e5940060690b0001a008528..."} 
[2026-07-25 12:47:32] local.INFO: Packet analysis {"connection_id":143427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:47:32] local.INFO: Extracted packet for processing {"connection_id":143427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9821"} 
[2026-07-25 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":765352256,"raw_latitude":101093552,"longitude_deg":76.5352256,"latitude_deg":10.1093552,"altitude":26,"angle":133,"satellites":40,"speed":37,"hex_longitude":"2d9e5940","hex_latitude":"060690b0","is_valid_coordinates":true} 
[2026-07-25 12:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950721024001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357687431916421120,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044263110023516160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784963764000,"timestamp_ms":1784963764000,"timestamp_seconds":1784963764,"priority":1,"record_length":96,"hex_timestamp":"0000019f98218f20"} 
[2026-07-25 12:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950721024001,"66":27995,"239":206,"88":20992,"24":37,"16":357687431916421120,"45":-7044263110023516160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,88,24,16,45]} 
[2026-07-25 12:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950721024001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357687431916421120,"km_value":357687431916421.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044263110023516160,"description":"Unknown IO ID 45"} 
[2026-07-25 12:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950721024001,"power":27995,"unknown_239":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-7044263110023516160}} 
[2026-07-25 12:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":143427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:47:32] local.INFO: GPS data processed {"connection_id":143427,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:47:32] local.INFO: Acknowledgment sent {"connection_id":143427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:47:53] local.INFO: TCP Data received {"connection_id":143428,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:53] local.INFO: Processing buffer {"connection_id":143428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:53] local.INFO: IMEI packet received {"connection_id":143428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":143428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:47:53] local.INFO: TCP Data received {"connection_id":143428,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:53] local.INFO: Processing buffer {"connection_id":143428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:53] local.INFO: IMEI packet received {"connection_id":143428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":143428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:47:56] local.INFO: TCP Data received {"connection_id":143429,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:47:56] local.INFO: Processing buffer {"connection_id":143429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:47:56] local.INFO: IMEI packet received {"connection_id":143429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":143429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:47:58] local.INFO: TCP Data received {"connection_id":143428,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:58] local.INFO: Processing buffer {"connection_id":143428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:47:58] local.INFO: IMEI packet received {"connection_id":143428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":143428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:47:59] local.INFO: TCP Data received {"connection_id":143428,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982290f0012d7ba30005de9db0000100af0b..."} 
[2026-07-25 12:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982290f0012d7ba30005de9db0000100af0b..."} 
[2026-07-25 12:47:59] local.INFO: Processing buffer {"connection_id":143428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982290f0012d7ba30005de9db0000100af0b..."} 
[2026-07-25 12:47:59] local.INFO: Packet analysis {"connection_id":143428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:47:59] local.INFO: Extracted packet for processing {"connection_id":143428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:47:59] local.INFO: GPS Element Parsed {"raw_longitude":763077376,"raw_latitude":98475440,"longitude_deg":76.3077376,"latitude_deg":9.847544,"altitude":1,"angle":175,"satellites":11,"speed":52,"hex_longitude":"2d7ba300","hex_latitude":"05de9db0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950738688001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110180088829444096,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908120088150958080,"note":"Value kept but may cause issues"} 
[2026-07-25 12:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963830000,"timestamp_ms":1784963830000,"timestamp_seconds":1784963830,"priority":1,"record_length":96,"hex_timestamp":"0000019f982290f0"} 
[2026-07-25 12:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 12:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:47: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-07-25 12:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950738688001,"66":13189,"49":206,"85":15104,"24":52,"16":110180088829444096,"45":8908120088150958080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 12:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950738688001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:47:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 12:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110180088829444096,"km_value":110180088829444.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908120088150958080,"description":"Unknown IO ID 45"} 
[2026-07-25 12:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950738688001,"power":13189,"unknown_49":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8908120088150958080}} 
[2026-07-25 12:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":143428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:47:59] local.INFO: GPS data processed {"connection_id":143428,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:47:59] local.INFO: Acknowledgment sent {"connection_id":143428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:48:01] local.INFO: TCP Data received {"connection_id":143429,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:48:01] local.INFO: Processing buffer {"connection_id":143429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:48:01] local.INFO: IMEI packet received {"connection_id":143429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":143429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:48:02] local.INFO: TCP Data received {"connection_id":143429,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98226210012d9e87000605f4d00020007f26..."} 
[2026-07-25 12:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98226210012d9e87000605f4d00020007f26..."} 
[2026-07-25 12:48:02] local.INFO: Processing buffer {"connection_id":143429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98226210012d9e87000605f4d00020007f26..."} 
[2026-07-25 12:48:02] local.INFO: Packet analysis {"connection_id":143429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:02] local.INFO: Extracted packet for processing {"connection_id":143429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:02] local.INFO: GPS Element Parsed {"raw_longitude":765363968,"raw_latitude":101053648,"longitude_deg":76.5363968,"latitude_deg":10.1053648,"altitude":32,"angle":127,"satellites":38,"speed":33,"hex_longitude":"2d9e8700","hex_latitude":"0605f4d0","is_valid_coordinates":true} 
[2026-07-25 12:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950736896001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357689626644709376,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025052442874505216,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963818000,"timestamp_ms":1784963818000,"timestamp_seconds":1784963818,"priority":1,"record_length":96,"hex_timestamp":"0000019f98226210"} 
[2026-07-25 12:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 12:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950736896001,"66":27974,"69":206,"88":20992,"24":33,"16":357689626644709376,"45":-7025052442874505216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-25 12:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950736896001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:48:02] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 12:48:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357689626644709376,"km_value":357689626644709.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025052442874505216,"description":"Unknown IO ID 45"} 
[2026-07-25 12:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950736896001,"power":27974,"unknown_69":206,"unknown_88":20992,"ignition":33,"odometer":null,"unknown_45":-7025052442874505216}} 
[2026-07-25 12:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":143429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:48:02] local.INFO: GPS data processed {"connection_id":143429,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:48:02] local.INFO: Acknowledgment sent {"connection_id":143429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:48:30] local.INFO: TCP Data received {"connection_id":143428,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9822b030012d7ba60005de77e8000000ac0c..."} 
[2026-07-25 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9822b030012d7ba60005de77e8000000ac0c..."} 
[2026-07-25 12:48:30] local.INFO: Processing buffer {"connection_id":143428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9822b030012d7ba60005de77e8000000ac0c..."} 
[2026-07-25 12:48:30] local.INFO: Packet analysis {"connection_id":143428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:30] local.INFO: Extracted packet for processing {"connection_id":143428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763078144,"raw_latitude":98465768,"longitude_deg":76.3078144,"latitude_deg":9.8465768,"altitude":0,"angle":172,"satellites":12,"speed":44,"hex_longitude":"2d7ba600","hex_latitude":"05de77e8","is_valid_coordinates":true} 
[2026-07-25 12:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950740480001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110180556980879360,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908964513078685696,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963838000,"timestamp_ms":1784963838000,"timestamp_seconds":1784963838,"priority":1,"record_length":96,"hex_timestamp":"0000019f9822b030"} 
[2026-07-25 12:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 12:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950740480001,"66":13135,"49":206,"85":15104,"24":44,"16":110180556980879360,"45":8908964513078685696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 12:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950740480001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:48:30] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 12:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110180556980879360,"km_value":110180556980879.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908964513078685696,"description":"Unknown IO ID 45"} 
[2026-07-25 12:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950740480001,"power":13135,"unknown_49":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8908964513078685696}} 
[2026-07-25 12:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":143428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:48:30] local.INFO: GPS data processed {"connection_id":143428,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:48:30] local.INFO: Acknowledgment sent {"connection_id":143428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:48:33] local.INFO: TCP Data received {"connection_id":143429,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98227980012d9e99000605eb180021007228..."} 
[2026-07-25 12:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98227980012d9e99000605eb180021007228..."} 
[2026-07-25 12:48:33] local.INFO: Processing buffer {"connection_id":143429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98227980012d9e99000605eb180021007228..."} 
[2026-07-25 12:48:33] local.INFO: Packet analysis {"connection_id":143429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:33] local.INFO: Extracted packet for processing {"connection_id":143429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765368576,"raw_latitude":101051160,"longitude_deg":76.5368576,"latitude_deg":10.105116,"altitude":33,"angle":114,"satellites":40,"speed":37,"hex_longitude":"2d9e9900","hex_latitude":"0605eb18","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950737408001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357689875752812544,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7023645067991265280,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963824000,"timestamp_ms":1784963824000,"timestamp_seconds":1784963824,"priority":1,"record_length":96,"hex_timestamp":"0000019f98227980"} 
[2026-07-25 12:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 12:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950737408001,"66":27974,"69":206,"88":20992,"24":37,"16":357689875752812544,"45":-7023645067991265280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-25 12:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950737408001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:48:33] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 12:48:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357689875752812544,"km_value":357689875752812.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7023645067991265280,"description":"Unknown IO ID 45"} 
[2026-07-25 12:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950737408001,"power":27974,"unknown_69":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-7023645067991265280}} 
[2026-07-25 12:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":143429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:48:33] local.INFO: GPS data processed {"connection_id":143429,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:48:33] local.INFO: Acknowledgment sent {"connection_id":143429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:48:53] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:48:53] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:48:53] local.INFO: IMEI packet received {"connection_id":141079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":141079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:48:58] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:48:58] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:48:58] local.INFO: IMEI packet received {"connection_id":141079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":141079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:48:59] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9822d358012d7bab0005de52d8000100aa0c..."} 
[2026-07-25 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9822d358012d7bab0005de52d8000100aa0c..."} 
[2026-07-25 12:48:59] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9822d358012d7bab0005de52d8000100aa0c..."} 
[2026-07-25 12:48:59] local.INFO: Packet analysis {"connection_id":141079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:59] local.INFO: Extracted packet for processing {"connection_id":141079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763079424,"raw_latitude":98456280,"longitude_deg":76.3079424,"latitude_deg":9.845628,"altitude":1,"angle":170,"satellites":12,"speed":43,"hex_longitude":"2d7bab00","hex_latitude":"05de52d8","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950742528001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110181025132314624,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909808938006341632,"note":"Value kept but may cause issues"} 
[2026-07-25 12:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963847000,"timestamp_ms":1784963847000,"timestamp_seconds":1784963847,"priority":1,"record_length":96,"hex_timestamp":"0000019f9822d358"} 
[2026-07-25 12:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 12:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:48: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-07-25 12:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950742528001,"66":13178,"51":206,"85":15104,"24":43,"16":110181025132314624,"45":8909808938006341632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-07-25 12:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950742528001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:48:59] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-25 12:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110181025132314624,"km_value":110181025132314.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909808938006341632,"description":"Unknown IO ID 45"} 
[2026-07-25 12:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950742528001,"power":13178,"unknown_51":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8909808938006341632}} 
[2026-07-25 12:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":141079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:48:59] local.INFO: GPS data processed {"connection_id":141079,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:48:59] local.INFO: Acknowledgment sent {"connection_id":141079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:48:59] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:48:59] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:48:59] local.INFO: IMEI packet received {"connection_id":141080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":141080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:49:00] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:00] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:00] local.INFO: IMEI packet received {"connection_id":141080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":141080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:49:00] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:00] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:00] local.INFO: IMEI packet received {"connection_id":141080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":141080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:49:05] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:05] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:05] local.INFO: IMEI packet received {"connection_id":141080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":141080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:49:05] local.INFO: TCP Data received {"connection_id":141078,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:49:05] local.INFO: Processing buffer {"connection_id":141078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:49:05] local.INFO: IMEI packet received {"connection_id":141078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":141078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:49:06] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9822a090012d9ebc400605dc300021007328..."} 
[2026-07-25 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9822a090012d9ebc400605dc300021007328..."} 
[2026-07-25 12:49:06] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9822a090012d9ebc400605dc300021007328..."} 
[2026-07-25 12:49:06] local.INFO: Packet analysis {"connection_id":141080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:49:06] local.INFO: Extracted packet for processing {"connection_id":141080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":765377600,"raw_latitude":101047344,"longitude_deg":76.53776,"latitude_deg":10.1047344,"altitude":33,"angle":115,"satellites":40,"speed":38,"hex_longitude":"2d9ebc40","hex_latitude":"0605dc30","is_valid_coordinates":true} 
[2026-07-25 12:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950738944001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357690343904247808,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018578518411110400,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784963834000,"timestamp_ms":1784963834000,"timestamp_seconds":1784963834,"priority":1,"record_length":96,"hex_timestamp":"0000019f9822a090"} 
[2026-07-25 12:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 12:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950738944001,"66":27974,"69":206,"88":20992,"24":38,"16":357690343904247808,"45":-7018578518411110400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-25 12:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950738944001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:49:06] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 12:49:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357690343904247808,"km_value":357690343904247.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018578518411110400,"description":"Unknown IO ID 45"} 
[2026-07-25 12:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950738944001,"power":27974,"unknown_69":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-7018578518411110400}} 
[2026-07-25 12:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":141080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:49:06] local.INFO: GPS data processed {"connection_id":141080,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:49:06] local.INFO: Acknowledgment sent {"connection_id":141080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:49:30] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98242f00012d7be74005dcc200000400b10b..."} 
[2026-07-25 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98242f00012d7be74005dcc200000400b10b..."} 
[2026-07-25 12:49:30] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98242f00012d7be74005dcc200000400b10b..."} 
[2026-07-25 12:49:30] local.INFO: Packet analysis {"connection_id":141079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:49:30] local.INFO: Extracted packet for processing {"connection_id":141079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763094848,"raw_latitude":98353664,"longitude_deg":76.3094848,"latitude_deg":9.8353664,"altitude":4,"angle":177,"satellites":11,"speed":41,"hex_longitude":"2d7be740","hex_latitude":"05dcc200","is_valid_coordinates":true} 
[2026-07-25 12:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950765568001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186067423920128,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230256885760,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963936000,"timestamp_ms":1784963936000,"timestamp_seconds":1784963936,"priority":1,"record_length":96,"hex_timestamp":"0000019f98242f00"} 
[2026-07-25 12:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-07-25 12:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:49: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-07-25 12:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950765568001,"66":13341,"169":206,"85":15104,"24":41,"16":110186067423920128,"45":8927612230256885760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 12:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950765568001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:49:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 12:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186067423920128,"km_value":110186067423920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230256885760,"description":"Unknown IO ID 45"} 
[2026-07-25 12:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950765568001,"power":13341,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8927612230256885760}} 
[2026-07-25 12:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":141079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:49:30] local.INFO: GPS data processed {"connection_id":141079,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:49:30] local.INFO: Acknowledgment sent {"connection_id":141079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:49:37] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9822c7a0012d9edfc00605cc680020007326..."} 
[2026-07-25 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9822c7a0012d9edfc00605cc680020007326..."} 
[2026-07-25 12:49:37] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9822c7a0012d9edfc00605cc680020007326..."} 
[2026-07-25 12:49:37] local.INFO: Packet analysis {"connection_id":141080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:49:37] local.INFO: Extracted packet for processing {"connection_id":141080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9822"} 
[2026-07-25 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":765386688,"raw_latitude":101043304,"longitude_deg":76.5386688,"latitude_deg":10.1043304,"altitude":32,"angle":115,"satellites":38,"speed":41,"hex_longitude":"2d9edfc0","hex_latitude":"0605cc68","is_valid_coordinates":true} 
[2026-07-25 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950741504001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357690820645617664,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7008656525483036672,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784963844000,"timestamp_ms":1784963844000,"timestamp_seconds":1784963844,"priority":1,"record_length":96,"hex_timestamp":"0000019f9822c7a0"} 
[2026-07-25 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950741504001,"66":27745,"69":206,"88":20992,"24":41,"16":357690820645617664,"45":-7008656525483036672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-07-25 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950741504001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:49:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-25 12:49:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357690820645617664,"km_value":357690820645617.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7008656525483036672,"description":"Unknown IO ID 45"} 
[2026-07-25 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950741504001,"power":27745,"unknown_69":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-7008656525483036672}} 
[2026-07-25 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":141080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:49:37] local.INFO: GPS data processed {"connection_id":141080,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:49:37] local.INFO: Acknowledgment sent {"connection_id":141080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:49:53] local.INFO: TCP Data received {"connection_id":143431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:49:53] local.INFO: Processing buffer {"connection_id":143431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:49:53] local.INFO: IMEI packet received {"connection_id":143431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":143431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:49:56] local.INFO: TCP Data received {"connection_id":143430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:56] local.INFO: Processing buffer {"connection_id":143430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:56] local.INFO: IMEI packet received {"connection_id":143430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":143430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:49:57] local.INFO: TCP Data received {"connection_id":143430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:57] local.INFO: Processing buffer {"connection_id":143430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:49:57] local.INFO: IMEI packet received {"connection_id":143430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":143430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:49:58] local.INFO: TCP Data received {"connection_id":143431,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:49:58] local.INFO: Processing buffer {"connection_id":143431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:49:58] local.INFO: IMEI packet received {"connection_id":143431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":143431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:49:58] local.INFO: TCP Data received {"connection_id":143430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98243ab8012d9ff640060514300028007423..."} 
[2026-07-25 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98243ab8012d9ff640060514300028007423..."} 
[2026-07-25 12:49:58] local.INFO: Processing buffer {"connection_id":143430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98243ab8012d9ff640060514300028007423..."} 
[2026-07-25 12:49:58] local.INFO: Packet analysis {"connection_id":143430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:49:58] local.INFO: Extracted packet for processing {"connection_id":143430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":765457984,"raw_latitude":100996144,"longitude_deg":76.5457984,"latitude_deg":10.0996144,"altitude":40,"angle":116,"satellites":35,"speed":39,"hex_longitude":"2d9ff640","hex_latitude":"06051430","is_valid_coordinates":true} 
[2026-07-25 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950765824001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357694991058862080,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6929632425783476224,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784963939000,"timestamp_ms":1784963939000,"timestamp_seconds":1784963939,"priority":1,"record_length":96,"hex_timestamp":"0000019f98243ab8"} 
[2026-07-25 12:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950765824001,"66":27930,"135":206,"88":20992,"24":39,"16":357694991058862080,"45":-6929632425783476224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-25 12:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950765824001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:49:58] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-25 12:49:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357694991058862080,"km_value":357694991058862.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6929632425783476224,"description":"Unknown IO ID 45"} 
[2026-07-25 12:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950765824001,"power":27930,"unknown_135":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6929632425783476224}} 
[2026-07-25 12:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":143430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:49:58] local.INFO: GPS data processed {"connection_id":143430,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:49:58] local.INFO: Acknowledgment sent {"connection_id":143430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:49:59] local.INFO: TCP Data received {"connection_id":143431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98245228012d7be80005dc9ed0000300b10e..."} 
[2026-07-25 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98245228012d7be80005dc9ed0000300b10e..."} 
[2026-07-25 12:49:59] local.INFO: Processing buffer {"connection_id":143431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98245228012d7be80005dc9ed0000300b10e..."} 
[2026-07-25 12:49:59] local.INFO: Packet analysis {"connection_id":143431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:49:59] local.INFO: Extracted packet for processing {"connection_id":143431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763095040,"raw_latitude":98344656,"longitude_deg":76.309504,"latitude_deg":9.8344656,"altitude":3,"angle":177,"satellites":14,"speed":38,"hex_longitude":"2d7be800","hex_latitude":"05dc9ed0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950767616001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186505510584320,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928175180208013312,"note":"Value kept but may cause issues"} 
[2026-07-25 12:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963945000,"timestamp_ms":1784963945000,"timestamp_seconds":1784963945,"priority":1,"record_length":96,"hex_timestamp":"0000019f98245228"} 
[2026-07-25 12:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 12:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:49: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-07-25 12:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950767616001,"66":13048,"169":206,"85":15104,"24":38,"16":110186505510584320,"45":8928175180208013312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 12:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950767616001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186505510584320,"km_value":110186505510584.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928175180208013312,"description":"Unknown IO ID 45"} 
[2026-07-25 12:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950767616001,"power":13048,"unknown_169":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8928175180208013312}} 
[2026-07-25 12:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":143431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:49:59] local.INFO: GPS data processed {"connection_id":143431,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:49:59] local.INFO: Acknowledgment sent {"connection_id":143431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:50:30] local.INFO: TCP Data received {"connection_id":143430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982461c8012da01740060502780028007824..."} 
[2026-07-25 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982461c8012da01740060502780028007824..."} 
[2026-07-25 12:50:30] local.INFO: Processing buffer {"connection_id":143430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982461c8012da01740060502780028007824..."} 
[2026-07-25 12:50:30] local.INFO: Packet analysis {"connection_id":143430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:50:30] local.INFO: Extracted packet for processing {"connection_id":143430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":765466432,"raw_latitude":100991608,"longitude_deg":76.5466432,"latitude_deg":10.0991608,"altitude":40,"angle":120,"satellites":36,"speed":37,"hex_longitude":"2da01740","hex_latitude":"06050278","is_valid_coordinates":true} 
[2026-07-25 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950768384001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357695450620362752,"note":"Value kept but may cause issues"} 
[2026-07-25 12:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6920273382808997888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963949000,"timestamp_ms":1784963949000,"timestamp_seconds":1784963949,"priority":1,"record_length":96,"hex_timestamp":"0000019f982461c8"} 
[2026-07-25 12:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 12:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950768384001,"66":27908,"135":206,"88":20992,"24":37,"16":357695450620362752,"45":-6920273382808997888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950768384001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357695450620362752,"km_value":357695450620362.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6920273382808997888,"description":"Unknown IO ID 45"} 
[2026-07-25 12:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950768384001,"power":27908,"unknown_135":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6920273382808997888}} 
[2026-07-25 12:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":143430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:50:30] local.INFO: GPS data processed {"connection_id":143430,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:50:30] local.INFO: Acknowledgment sent {"connection_id":143430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:50:30] local.INFO: TCP Data received {"connection_id":143431,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982465b0012d7be80005dc93f0000400c30f..."} 
[2026-07-25 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982465b0012d7be80005dc93f0000400c30f..."} 
[2026-07-25 12:50:30] local.INFO: Processing buffer {"connection_id":143431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982465b0012d7be80005dc93f0000400c30f..."} 
[2026-07-25 12:50:30] local.INFO: Packet analysis {"connection_id":143431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:50:30] local.INFO: Extracted packet for processing {"connection_id":143431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763095040,"raw_latitude":98341872,"longitude_deg":76.309504,"latitude_deg":9.8341872,"altitude":4,"angle":195,"satellites":15,"speed":12,"hex_longitude":"2d7be800","hex_latitude":"05dc93f0","is_valid_coordinates":true} 
[2026-07-25 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950769920001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186638654570496,"note":"Value kept but may cause issues"} 
[2026-07-25 12:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928386286438240256,"note":"Value kept but may cause issues"} 
[2026-07-25 12:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784963950000,"timestamp_ms":1784963950000,"timestamp_seconds":1784963950,"priority":1,"record_length":96,"hex_timestamp":"0000019f982465b0"} 
[2026-07-25 12:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 12:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:50: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-07-25 12:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950769920001,"66":13059,"169":206,"85":15104,"24":12,"16":110186638654570496,"45":8928386286438240256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 12:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950769920001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186638654570496,"km_value":110186638654570.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928386286438240256,"description":"Unknown IO ID 45"} 
[2026-07-25 12:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950769920001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8928386286438240256}} 
[2026-07-25 12:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":143431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:50:30] local.INFO: GPS data processed {"connection_id":143431,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:50:30] local.INFO: Acknowledgment sent {"connection_id":143431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:50:56] local.INFO: TCP Data received {"connection_id":141017,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:50:56] local.INFO: Processing buffer {"connection_id":141017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:50:56] local.INFO: IMEI packet received {"connection_id":141017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":141017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:50:58] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:50:58] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:50:58] local.INFO: IMEI packet received {"connection_id":141018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":141018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:51:01] local.INFO: TCP Data received {"connection_id":141017,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:01] local.INFO: Processing buffer {"connection_id":141017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:01] local.INFO: IMEI packet received {"connection_id":141017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":141017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:51:02] local.INFO: TCP Data received {"connection_id":141017,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98248cc0012da038400604ef68002b007824..."} 
[2026-07-25 12:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98248cc0012da038400604ef68002b007824..."} 
[2026-07-25 12:51:02] local.INFO: Processing buffer {"connection_id":141017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98248cc0012da038400604ef68002b007824..."} 
[2026-07-25 12:51:02] local.INFO: Packet analysis {"connection_id":141017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:02] local.INFO: Extracted packet for processing {"connection_id":141017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:02] local.INFO: GPS Element Parsed {"raw_longitude":765474880,"raw_latitude":100986728,"longitude_deg":76.547488,"latitude_deg":10.0986728,"altitude":43,"angle":120,"satellites":36,"speed":35,"hex_longitude":"2da03840","hex_latitude":"0604ef68","is_valid_coordinates":true} 
[2026-07-25 12:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950770944001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357695918771798016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6910984708578707456,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784963960000,"timestamp_ms":1784963960000,"timestamp_seconds":1784963960,"priority":1,"record_length":96,"hex_timestamp":"0000019f98248cc0"} 
[2026-07-25 12:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 12:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950770944001,"66":27843,"135":206,"88":20992,"24":35,"16":357695918771798016,"45":-6910984708578707456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-25 12:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950770944001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357695918771798016,"km_value":357695918771798.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6910984708578707456,"description":"Unknown IO ID 45"} 
[2026-07-25 12:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950770944001,"power":27843,"unknown_135":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-6910984708578707456}} 
[2026-07-25 12:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":141017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:51:02] local.INFO: GPS data processed {"connection_id":141017,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:51:02] local.INFO: Acknowledgment sent {"connection_id":141017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:51:03] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:03] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:03] local.INFO: IMEI packet received {"connection_id":141018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":141018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:51:05] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9824b7b8012d7be8c005dc9598000300c70a..."} 
[2026-07-25 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9824b7b8012d7be8c005dc9598000300c70a..."} 
[2026-07-25 12:51:05] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9824b7b8012d7be8c005dc9598000300c70a..."} 
[2026-07-25 12:51:05] local.INFO: Packet analysis {"connection_id":141018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:05] local.INFO: Extracted packet for processing {"connection_id":141018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98342296,"longitude_deg":76.3095232,"latitude_deg":9.8342296,"altitude":3,"angle":199,"satellites":10,"speed":0,"hex_longitude":"2d7be8c0","hex_latitude":"05dc9598","is_valid_coordinates":true} 
[2026-07-25 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950771200001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186664424374272,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928386286437527552,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784963971000,"timestamp_ms":1784963971000,"timestamp_seconds":1784963971,"priority":1,"record_length":96,"hex_timestamp":"0000019f9824b7b8"} 
[2026-07-25 12:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:51: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-07-25 12:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517230,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399474,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2552475160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1476472187,"corrected_to":0} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040174,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3713263616,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,118,159,82,45,158,3,14,10,66,47,64,194,4,11,117,15,1,240,160,227,152,221,113,205,40,225,32,239,51,2,135,5,50],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1476472187,"validated":0}]} 
[2026-07-25 12:51:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288444845344423936,"timestamp_seconds":288444845344423.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950771200001,"66":13091,"185":206,"85":15104,"24":0,"16":110186664424374272,"45":8928386286437527552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950771200001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:51:05] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186664424374272,"km_value":110186664424374.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928386286437527552,"description":"Unknown IO ID 45"} 
[2026-07-25 12:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950771200001,"power":13091,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8928386286437527552}} 
[2026-07-25 12:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":141018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:51:05] local.INFO: GPS data processed {"connection_id":141018,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:51:05] local.INFO: Acknowledgment sent {"connection_id":141018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:51:33] local.INFO: TCP Data received {"connection_id":141017,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9824b7b8012da059800604dbc8002c007823..."} 
[2026-07-25 12:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9824b7b8012da059800604dbc8002c007823..."} 
[2026-07-25 12:51:33] local.INFO: Processing buffer {"connection_id":141017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9824b7b8012da059800604dbc8002c007823..."} 
[2026-07-25 12:51:33] local.INFO: Packet analysis {"connection_id":141017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:33] local.INFO: Extracted packet for processing {"connection_id":141017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765483392,"raw_latitude":100981704,"longitude_deg":76.5483392,"latitude_deg":10.0981704,"altitude":44,"angle":120,"satellites":35,"speed":35,"hex_longitude":"2da05980","hex_latitude":"0604dbc8","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950773760001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357696391218200576,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6901696034348505088,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784963971000,"timestamp_ms":1784963971000,"timestamp_seconds":1784963971,"priority":1,"record_length":96,"hex_timestamp":"0000019f9824b7b8"} 
[2026-07-25 12:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 12:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950773760001,"66":27908,"135":206,"88":20992,"24":35,"16":357696391218200576,"45":-6901696034348505088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-25 12:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950773760001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:51:33] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-25 12:51:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357696391218200576,"km_value":357696391218200.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6901696034348505088,"description":"Unknown IO ID 45"} 
[2026-07-25 12:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950773760001,"power":27908,"unknown_135":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-6901696034348505088}} 
[2026-07-25 12:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":141017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:51:33] local.INFO: GPS data processed {"connection_id":141017,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:51:33] local.INFO: Acknowledgment sent {"connection_id":141017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:51:36] local.INFO: TCP Data received {"connection_id":141018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9824d310012d7bea0005dc95980003006f0d..."} 
[2026-07-25 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9824d310012d7bea0005dc95980003006f0d..."} 
[2026-07-25 12:51:36] local.INFO: Processing buffer {"connection_id":141018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9824d310012d7bea0005dc95980003006f0d..."} 
[2026-07-25 12:51:36] local.INFO: Packet analysis {"connection_id":141018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:36] local.INFO: Extracted packet for processing {"connection_id":141018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763095552,"raw_latitude":98342296,"longitude_deg":76.3095552,"latitude_deg":9.8342296,"altitude":3,"angle":111,"satellites":13,"speed":0,"hex_longitude":"2d7bea00","hex_latitude":"05dc9598","is_valid_coordinates":true} 
[2026-07-25 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950776576001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186681604243456,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392670169088,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784963978000,"timestamp_ms":1784963978000,"timestamp_seconds":1784963978,"priority":1,"record_length":96,"hex_timestamp":"0000019f9824d310"} 
[2026-07-25 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950776576001,"66":13102,"185":206,"85":15104,"24":0,"16":110186681604243456,"45":8928597392670169088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950776576001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:51:36] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186681604243456,"km_value":110186681604243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392670169088,"description":"Unknown IO ID 45"} 
[2026-07-25 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950776576001,"power":13102,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8928597392670169088}} 
[2026-07-25 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":141018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:51:36] local.INFO: GPS data processed {"connection_id":141018,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:51:36] local.INFO: Acknowledgment sent {"connection_id":141018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:51:53] local.INFO: TCP Data received {"connection_id":143432,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:53] local.INFO: Processing buffer {"connection_id":143432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:53] local.INFO: IMEI packet received {"connection_id":143432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":143432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:51:55] local.INFO: TCP Data received {"connection_id":143433,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:55] local.INFO: Processing buffer {"connection_id":143433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:55] local.INFO: IMEI packet received {"connection_id":143433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":143433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:51:57] local.INFO: TCP Data received {"connection_id":143433,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:57] local.INFO: Processing buffer {"connection_id":143433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:51:57] local.INFO: IMEI packet received {"connection_id":143433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":143433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:51:58] local.INFO: TCP Data received {"connection_id":143432,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:58] local.INFO: Processing buffer {"connection_id":143432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:51:58] local.INFO: IMEI packet received {"connection_id":143432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":143432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:51:59] local.INFO: TCP Data received {"connection_id":143432,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9824d6f8012d7bea0005dc95980003004b0f..."} 
[2026-07-25 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9824d6f8012d7bea0005dc95980003004b0f..."} 
[2026-07-25 12:51:59] local.INFO: Processing buffer {"connection_id":143432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9824d6f8012d7bea0005dc95980003004b0f..."} 
[2026-07-25 12:51:59] local.INFO: Packet analysis {"connection_id":143432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:59] local.INFO: Extracted packet for processing {"connection_id":143432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763095552,"raw_latitude":98342296,"longitude_deg":76.3095552,"latitude_deg":9.8342296,"altitude":3,"angle":75,"satellites":15,"speed":0,"hex_longitude":"2d7bea00","hex_latitude":"05dc9598","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950778368001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186681604243456,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236391057408,"note":"Value kept but may cause issues"} 
[2026-07-25 12:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784963979000,"timestamp_ms":1784963979000,"timestamp_seconds":1784963979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9824d6f8"} 
[2026-07-25 12:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 12:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:51: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-07-25 12:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950778368001,"66":12232,"185":206,"85":15104,"24":0,"16":110186681604243456,"45":8928949236391057408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950778368001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:51:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186681604243456,"km_value":110186681604243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236391057408,"description":"Unknown IO ID 45"} 
[2026-07-25 12:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950778368001,"power":12232,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8928949236391057408}} 
[2026-07-25 12:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":143432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:51:59] local.INFO: GPS data processed {"connection_id":143432,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:51:59] local.INFO: Acknowledgment sent {"connection_id":143432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:52:01] local.INFO: TCP Data received {"connection_id":143433,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:52:01] local.INFO: Processing buffer {"connection_id":143433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:52:01] local.INFO: IMEI packet received {"connection_id":143433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":143433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:52:01] local.INFO: TCP Data received {"connection_id":143433,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9824e2b0012da07a000604c9a0002f007523..."} 
[2026-07-25 12:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9824e2b0012da07a000604c9a0002f007523..."} 
[2026-07-25 12:52:01] local.INFO: Processing buffer {"connection_id":143433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9824e2b0012da07a000604c9a0002f007523..."} 
[2026-07-25 12:52:01] local.INFO: Packet analysis {"connection_id":143433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:52:01] local.INFO: Extracted packet for processing {"connection_id":143433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9824"} 
[2026-07-25 12:52:01] local.INFO: GPS Element Parsed {"raw_longitude":765491712,"raw_latitude":100977056,"longitude_deg":76.5491712,"latitude_deg":10.0977056,"altitude":47,"angle":117,"satellites":35,"speed":31,"hex_longitude":"2da07a00","hex_latitude":"0604c9a0","is_valid_coordinates":true} 
[2026-07-25 12:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950776576001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357696850779701248,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6892336991374161920,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784963982000,"timestamp_ms":1784963982000,"timestamp_seconds":1784963982,"priority":1,"record_length":96,"hex_timestamp":"0000019f9824e2b0"} 
[2026-07-25 12:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 12:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950776576001,"66":27995,"135":206,"88":20992,"24":31,"16":357696850779701248,"45":-6892336991374161920},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-07-25 12:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950776576001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:52:01] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-25 12:52:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357696850779701248,"km_value":357696850779701.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6892336991374161920,"description":"Unknown IO ID 45"} 
[2026-07-25 12:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950776576001,"power":27995,"unknown_135":206,"unknown_88":20992,"ignition":31,"odometer":null,"unknown_45":-6892336991374161920}} 
[2026-07-25 12:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":143433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:52:01] local.INFO: GPS data processed {"connection_id":143433,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:52:01] local.INFO: Acknowledgment sent {"connection_id":143433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:52:31] local.INFO: TCP Data received {"connection_id":143432,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98252518012d7bea8005dc95a80004005210..."} 
[2026-07-25 12:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98252518012d7bea8005dc95a80004005210..."} 
[2026-07-25 12:52:31] local.INFO: Processing buffer {"connection_id":143432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98252518012d7bea8005dc95a80004005210..."} 
[2026-07-25 12:52:31] local.INFO: Packet analysis {"connection_id":143432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9825"} 
[2026-07-25 12:52:31] local.INFO: Extracted packet for processing {"connection_id":143432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9825"} 
[2026-07-25 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98342312,"longitude_deg":76.309568,"latitude_deg":9.8342312,"altitude":4,"angle":82,"satellites":16,"speed":0,"hex_longitude":"2d7bea80","hex_latitude":"05dc95a8","is_valid_coordinates":true} 
[2026-07-25 12:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950778624001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186685899210752,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928949236391057408,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784963999000,"timestamp_ms":1784963999000,"timestamp_seconds":1784963999,"priority":1,"record_length":96,"hex_timestamp":"0000019f98252518"} 
[2026-07-25 12:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 12:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950778624001,"66":13048,"185":206,"85":15104,"24":0,"16":110186685899210752,"45":8928949236391057408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950778624001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186685899210752,"km_value":110186685899210.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928949236391057408,"description":"Unknown IO ID 45"} 
[2026-07-25 12:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950778624001,"power":13048,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8928949236391057408}} 
[2026-07-25 12:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":143432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:52:31] local.INFO: GPS data processed {"connection_id":143432,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:52:31] local.INFO: Acknowledgment sent {"connection_id":143432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:52:32] local.INFO: TCP Data received {"connection_id":143433,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98267cd8012da1a1c006045dc00042006a29..."} 
[2026-07-25 12:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98267cd8012da1a1c006045dc00042006a29..."} 
[2026-07-25 12:52:32] local.INFO: Processing buffer {"connection_id":143433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98267cd8012da1a1c006045dc00042006a29..."} 
[2026-07-25 12:52:32] local.INFO: Packet analysis {"connection_id":143433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:52:32] local.INFO: Extracted packet for processing {"connection_id":143433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:52:32] local.INFO: GPS Element Parsed {"raw_longitude":765567424,"raw_latitude":100949440,"longitude_deg":76.5567424,"latitude_deg":10.094944,"altitude":66,"angle":106,"satellites":41,"speed":39,"hex_longitude":"2da1a1c0","hex_latitude":"06045dc0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950803968001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357700746315038720,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6810427773159124992,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784964087000,"timestamp_ms":1784964087000,"timestamp_seconds":1784964087,"priority":1,"record_length":96,"hex_timestamp":"0000019f98267cd8"} 
[2026-07-25 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-07-25 12:52: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-07-25 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 12:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950803968001,"66":27919,"134":206,"88":20992,"24":39,"16":357700746315038720,"45":-6810427773159124992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-25 12:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950803968001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:52:32] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-25 12:52:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357700746315038720,"km_value":357700746315038.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6810427773159124992,"description":"Unknown IO ID 45"} 
[2026-07-25 12:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950803968001,"power":27919,"unknown_134":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6810427773159124992}} 
[2026-07-25 12:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":143433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:52:32] local.INFO: GPS data processed {"connection_id":143433,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:52:32] local.INFO: Acknowledgment sent {"connection_id":143433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:52:53] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:53] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:53] local.INFO: IMEI packet received {"connection_id":141019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":141019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:52:55] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:55] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:55] local.INFO: IMEI packet received {"connection_id":141019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":141019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:52:58] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:58] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:52:58] local.INFO: IMEI packet received {"connection_id":141019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":141019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:52:59] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98255fb0012d7bea8005dc9518000400bc12..."} 
[2026-07-25 12:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98255fb0012d7bea8005dc9518000400bc12..."} 
[2026-07-25 12:52:59] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98255fb0012d7bea8005dc9518000400bc12..."} 
[2026-07-25 12:52:59] local.INFO: Packet analysis {"connection_id":141019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9825"} 
[2026-07-25 12:52:59] local.INFO: Extracted packet for processing {"connection_id":141019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9825"} 
[2026-07-25 12:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":98342168,"longitude_deg":76.309568,"latitude_deg":9.8342168,"altitude":4,"angle":188,"satellites":18,"speed":2,"hex_longitude":"2d7bea80","hex_latitude":"05dc9518","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186694489145344,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973879416832,"note":"Value kept but may cause issues"} 
[2026-07-25 12:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964014000,"timestamp_ms":1784964014000,"timestamp_seconds":1784964014,"priority":1,"record_length":96,"hex_timestamp":"0000019f98255fb0"} 
[2026-07-25 12:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 12:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:52: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-07-25 12:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950783744001,"66":13091,"185":206,"85":15104,"24":2,"16":110186694489145344,"45":8929089973879416832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:52:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186694489145344,"km_value":110186694489145.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973879416832,"description":"Unknown IO ID 45"} 
[2026-07-25 12:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950783744001,"power":13091,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8929089973879416832}} 
[2026-07-25 12:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":141019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:52:59] local.INFO: GPS data processed {"connection_id":141019,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:52:59] local.INFO: Acknowledgment sent {"connection_id":141019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:53:00] local.INFO: TCP Data received {"connection_id":142071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:00] local.INFO: Processing buffer {"connection_id":142071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:00] local.INFO: IMEI packet received {"connection_id":142071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":142071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:53:01] local.INFO: TCP Data received {"connection_id":142071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:01] local.INFO: Processing buffer {"connection_id":142071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:01] local.INFO: IMEI packet received {"connection_id":142071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":142071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:53:03] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98258aa8012d7be9c005dc89a0000400b012..."} 
[2026-07-25 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98258aa8012d7be9c005dc89a0000400b012..."} 
[2026-07-25 12:53:03] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98258aa8012d7be9c005dc89a0000400b012..."} 
[2026-07-25 12:53:03] local.INFO: Packet analysis {"connection_id":141019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9825"} 
[2026-07-25 12:53:03] local.INFO: Extracted packet for processing {"connection_id":141019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9825"} 
[2026-07-25 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":98339232,"longitude_deg":76.3095488,"latitude_deg":9.8339232,"altitude":4,"angle":176,"satellites":18,"speed":18,"hex_longitude":"2d7be9c0","hex_latitude":"05dc89a0","is_valid_coordinates":true} 
[2026-07-25 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950787584001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110186836223066112,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929089973879379968,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784964025000,"timestamp_ms":1784964025000,"timestamp_seconds":1784964025,"priority":1,"record_length":96,"hex_timestamp":"0000019f98258aa8"} 
[2026-07-25 12:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950787584001,"66":13124,"185":206,"85":15104,"24":18,"16":110186836223066112,"45":8929089973879379968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950787584001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110186836223066112,"km_value":110186836223066.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929089973879379968,"description":"Unknown IO ID 45"} 
[2026-07-25 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950787584001,"power":13124,"unknown_185":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8929089973879379968}} 
[2026-07-25 12:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":141019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:53:03] local.INFO: GPS data processed {"connection_id":141019,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:53:03] local.INFO: Acknowledgment sent {"connection_id":141019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:53:08] local.INFO: TCP Data received {"connection_id":142071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:08] local.INFO: Processing buffer {"connection_id":142071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:08] local.INFO: IMEI packet received {"connection_id":142071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":142071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:53:09] local.INFO: TCP Data received {"connection_id":142071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9826abb8012da1c400060450280044007325..."} 
[2026-07-25 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9826abb8012da1c400060450280044007325..."} 
[2026-07-25 12:53:09] local.INFO: Processing buffer {"connection_id":142071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9826abb8012da1c400060450280044007325..."} 
[2026-07-25 12:53:09] local.INFO: Packet analysis {"connection_id":142071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:53:09] local.INFO: Extracted packet for processing {"connection_id":142071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":765576192,"raw_latitude":100945960,"longitude_deg":76.5576192,"latitude_deg":10.094596,"altitude":68,"angle":115,"satellites":37,"speed":30,"hex_longitude":"2da1c400","hex_latitude":"06045028","is_valid_coordinates":true} 
[2026-07-25 12:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950806272001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357701197286604800,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6799942830277148672,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784964099000,"timestamp_ms":1784964099000,"timestamp_seconds":1784964099,"priority":1,"record_length":96,"hex_timestamp":"0000019f9826abb8"} 
[2026-07-25 12:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950806272001,"66":28093,"134":206,"88":20992,"24":30,"16":357701197286604800,"45":-6799942830277148672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-25 12:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950806272001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:53:09] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-25 12:53:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357701197286604800,"km_value":357701197286604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6799942830277148672,"description":"Unknown IO ID 45"} 
[2026-07-25 12:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950806272001,"power":28093,"unknown_134":206,"unknown_88":20992,"ignition":30,"odometer":null,"unknown_45":-6799942830277148672}} 
[2026-07-25 12:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":142071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:53:09] local.INFO: GPS data processed {"connection_id":142071,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:53:09] local.INFO: Acknowledgment sent {"connection_id":142071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:53:34] local.INFO: TCP Data received {"connection_id":141019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98281ae8012d7c220005db1560000f00b912..."} 
[2026-07-25 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98281ae8012d7c220005db1560000f00b912..."} 
[2026-07-25 12:53:34] local.INFO: Processing buffer {"connection_id":141019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98281ae8012d7c220005db1560000f00b912..."} 
[2026-07-25 12:53:34] local.INFO: Packet analysis {"connection_id":141019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:53:34] local.INFO: Extracted packet for processing {"connection_id":141019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98243936,"longitude_deg":76.3109888,"latitude_deg":9.8243936,"altitude":15,"angle":185,"satellites":18,"speed":8,"hex_longitude":"2d7c2200","hex_latitude":"05db1560","is_valid_coordinates":true} 
[2026-07-25 12:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950831616001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191560687091712,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944148885108652032,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784964193000,"timestamp_ms":1784964193000,"timestamp_seconds":1784964193,"priority":1,"record_length":96,"hex_timestamp":"0000019f98281ae8"} 
[2026-07-25 12:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 12:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950831616001,"66":13048,"185":206,"85":15104,"24":8,"16":110191560687091712,"45":8944148885108652032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950831616001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:53:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191560687091712,"km_value":110191560687091.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944148885108652032,"description":"Unknown IO ID 45"} 
[2026-07-25 12:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950831616001,"power":13048,"unknown_185":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8944148885108652032}} 
[2026-07-25 12:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":141019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:53:34] local.INFO: GPS data processed {"connection_id":141019,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:53:34] local.INFO: Acknowledgment sent {"connection_id":141019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:53:40] local.INFO: TCP Data received {"connection_id":142071,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9826da98012da1e68006043fa00043007927..."} 
[2026-07-25 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9826da98012da1e68006043fa00043007927..."} 
[2026-07-25 12:53:40] local.INFO: Processing buffer {"connection_id":142071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9826da98012da1e68006043fa00043007927..."} 
[2026-07-25 12:53:40] local.INFO: Packet analysis {"connection_id":142071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:53:40] local.INFO: Extracted packet for processing {"connection_id":142071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":765585024,"raw_latitude":100941728,"longitude_deg":76.5585024,"latitude_deg":10.0941728,"altitude":67,"angle":121,"satellites":39,"speed":40,"hex_longitude":"2da1e680","hex_latitude":"06043fa0","is_valid_coordinates":true} 
[2026-07-25 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950809344001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357701665438040064,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6790302312325699584,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784964111000,"timestamp_ms":1784964111000,"timestamp_seconds":1784964111,"priority":1,"record_length":96,"hex_timestamp":"0000019f9826da98"} 
[2026-07-25 12:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-25 12:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950809344001,"66":28028,"134":206,"88":20992,"24":40,"16":357701665438040064,"45":-6790302312325699584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-25 12:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950809344001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:53:40] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-25 12:53:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357701665438040064,"km_value":357701665438040.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6790302312325699584,"description":"Unknown IO ID 45"} 
[2026-07-25 12:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950809344001,"power":28028,"unknown_134":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6790302312325699584}} 
[2026-07-25 12:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":142071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:53:40] local.INFO: GPS data processed {"connection_id":142071,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:53:40] local.INFO: Acknowledgment sent {"connection_id":142071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:53:53] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:53:53] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:53:53] local.INFO: IMEI packet received {"connection_id":141082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":141082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:53:55] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:55] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:53:55] local.INFO: IMEI packet received {"connection_id":141020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":141020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:53:58] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:53:58] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:53:58] local.INFO: IMEI packet received {"connection_id":141082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":141082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:53:58] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982822b8012d7c220005db1418001000c813..."} 
[2026-07-25 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982822b8012d7c220005db1418001000c813..."} 
[2026-07-25 12:53:58] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982822b8012d7c220005db1418001000c813..."} 
[2026-07-25 12:53:58] local.INFO: Packet analysis {"connection_id":141082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:53:58] local.INFO: Extracted packet for processing {"connection_id":141082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98243608,"longitude_deg":76.3109888,"latitude_deg":9.8243608,"altitude":16,"angle":200,"satellites":19,"speed":7,"hex_longitude":"2d7c2200","hex_latitude":"05db1418","is_valid_coordinates":true} 
[2026-07-25 12:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950833408001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191577866960896,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835061673984,"note":"Value kept but may cause issues"} 
[2026-07-25 12:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784964195000,"timestamp_ms":1784964195000,"timestamp_seconds":1784964195,"priority":1,"record_length":96,"hex_timestamp":"0000019f982822b8"} 
[2026-07-25 12:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 12:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:53: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-07-25 12:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950833408001,"66":12906,"185":206,"85":15104,"24":7,"16":110191577866960896,"45":8944711835061673984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950833408001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:53:58] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191577866960896,"km_value":110191577866960.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835061673984,"description":"Unknown IO ID 45"} 
[2026-07-25 12:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950833408001,"power":12906,"unknown_185":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8944711835061673984}} 
[2026-07-25 12:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":141082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:53:58] local.INFO: GPS data processed {"connection_id":141082,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:53:58] local.INFO: Acknowledgment sent {"connection_id":141082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:54:01] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:54:01] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:54:01] local.INFO: IMEI packet received {"connection_id":141020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":141020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:54:19] local.INFO: TCP Data received {"connection_id":141020,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9826f9d8012da2048006042bf80040007b27..."} 
[2026-07-25 12:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9826f9d8012da2048006042bf80040007b27..."} 
[2026-07-25 12:54:19] local.INFO: Processing buffer {"connection_id":141020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9826f9d8012da2048006042bf80040007b27..."} 
[2026-07-25 12:54:19] local.INFO: Packet analysis {"connection_id":141020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:54:19] local.INFO: Extracted packet for processing {"connection_id":141020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9826"} 
[2026-07-25 12:54:19] local.INFO: GPS Element Parsed {"raw_longitude":765592704,"raw_latitude":100936696,"longitude_deg":76.5592704,"latitude_deg":10.0936696,"altitude":64,"angle":123,"satellites":39,"speed":49,"hex_longitude":"2da20480","hex_latitude":"06042bf8","is_valid_coordinates":true} 
[2026-07-25 12:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950812416001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357702107819671552,"note":"Value kept but may cause issues"} 
[2026-07-25 12:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780591425630265344,"note":"Value kept but may cause issues"} 
[2026-07-25 12:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784964119000,"timestamp_ms":1784964119000,"timestamp_seconds":1784964119,"priority":1,"record_length":96,"hex_timestamp":"0000019f9826f9d8"} 
[2026-07-25 12:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:54: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-07-25 12:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 12:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:54: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-07-25 12:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950812416001,"66":27974,"134":206,"88":20992,"24":49,"16":357702107819671552,"45":-6780591425630265344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-07-25 12:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950812416001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:54:19] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-07-25 12:54:19] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357702107819671552,"km_value":357702107819671.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780591425630265344,"description":"Unknown IO ID 45"} 
[2026-07-25 12:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950812416001,"power":27974,"unknown_134":206,"unknown_88":20992,"ignition":49,"odometer":null,"unknown_45":-6780591425630265344}} 
[2026-07-25 12:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":141020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:54:19] local.INFO: GPS data processed {"connection_id":141020,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:54:19] local.INFO: Acknowledgment sent {"connection_id":141020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:54:29] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98282a88012d7c220005db12f8001000d913..."} 
[2026-07-25 12:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98282a88012d7c220005db12f8001000d913..."} 
[2026-07-25 12:54:29] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98282a88012d7c220005db12f8001000d913..."} 
[2026-07-25 12:54:29] local.INFO: Packet analysis {"connection_id":141082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:54:29] local.INFO: Extracted packet for processing {"connection_id":141082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":98243320,"longitude_deg":76.3109888,"latitude_deg":9.824332,"altitude":16,"angle":217,"satellites":19,"speed":7,"hex_longitude":"2d7c2200","hex_latitude":"05db12f8","is_valid_coordinates":true} 
[2026-07-25 12:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950833920001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191590751862784,"note":"Value kept but may cause issues"} 
[2026-07-25 12:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835061590016,"note":"Value kept but may cause issues"} 
[2026-07-25 12:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784964197000,"timestamp_ms":1784964197000,"timestamp_seconds":1784964197,"priority":1,"record_length":96,"hex_timestamp":"0000019f98282a88"} 
[2026-07-25 12:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 12:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950833920001,"66":12906,"185":206,"85":15104,"24":7,"16":110191590751862784,"45":8944711835061590016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950833920001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:54:29] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191590751862784,"km_value":110191590751862.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835061590016,"description":"Unknown IO ID 45"} 
[2026-07-25 12:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950833920001,"power":12906,"unknown_185":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8944711835061590016}} 
[2026-07-25 12:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":141082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:54:29] local.INFO: GPS data processed {"connection_id":141082,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:54:29] local.INFO: Acknowledgment sent {"connection_id":141082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:54:40] local.INFO: TCP Data received {"connection_id":141081,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:54:40] local.INFO: Processing buffer {"connection_id":141081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 12:54:40] local.INFO: IMEI packet received {"connection_id":141081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":141081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:54:58] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:54:58] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:54:58] local.INFO: IMEI packet received {"connection_id":141021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":141021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:54:59] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:54:59] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:54:59] local.INFO: IMEI packet received {"connection_id":141021,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":141021,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:55:00] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98287c90012d7c224005db1280000f00e113..."} 
[2026-07-25 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98287c90012d7c224005db1280000f00e113..."} 
[2026-07-25 12:55:00] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98287c90012d7c224005db1280000f00e113..."} 
[2026-07-25 12:55:00] local.INFO: Packet analysis {"connection_id":141021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:00] local.INFO: Extracted packet for processing {"connection_id":141021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763109952,"raw_latitude":98243200,"longitude_deg":76.3109952,"latitude_deg":9.82432,"altitude":15,"angle":225,"satellites":19,"speed":0,"hex_longitude":"2d7c2240","hex_latitude":"05db1280","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950834432001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191625111601152,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835061516288,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784964218000,"timestamp_ms":1784964218000,"timestamp_seconds":1784964218,"priority":1,"record_length":96,"hex_timestamp":"0000019f98287c90"} 
[2026-07-25 12:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 12:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950834432001,"66":13048,"185":206,"85":15104,"24":0,"16":110191625111601152,"45":8944711835061516288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950834432001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:55:00] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191625111601152,"km_value":110191625111601.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835061516288,"description":"Unknown IO ID 45"} 
[2026-07-25 12:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950834432001,"power":13048,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944711835061516288}} 
[2026-07-25 12:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":141021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:55:00] local.INFO: GPS data processed {"connection_id":141021,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:55:00] local.INFO: Acknowledgment sent {"connection_id":141021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:55:00] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:00] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:00] local.INFO: IMEI packet received {"connection_id":141022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":141022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:55:01] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:01] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:01] local.INFO: IMEI packet received {"connection_id":141022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":141022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:55:02] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9828ce98012d7c224005db1280000f00e111..."} 
[2026-07-25 12:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9828ce98012d7c224005db1280000f00e111..."} 
[2026-07-25 12:55:02] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9828ce98012d7c224005db1280000f00e111..."} 
[2026-07-25 12:55:02] local.INFO: Packet analysis {"connection_id":141021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:02] local.INFO: Extracted packet for processing {"connection_id":141021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763109952,"raw_latitude":98243200,"longitude_deg":76.3109952,"latitude_deg":9.82432,"altitude":15,"angle":225,"satellites":17,"speed":0,"hex_longitude":"2d7c2240","hex_latitude":"05db1280","is_valid_coordinates":true} 
[2026-07-25 12:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950839808001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191625111601152,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944782203805663232,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784964239000,"timestamp_ms":1784964239000,"timestamp_seconds":1784964239,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828ce98"} 
[2026-07-25 12:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 12:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:55: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-07-25 12:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950839808001,"66":12917,"185":206,"85":15104,"24":0,"16":110191625111601152,"45":8944782203805663232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950839808001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:55:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191625111601152,"km_value":110191625111601.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944782203805663232,"description":"Unknown IO ID 45"} 
[2026-07-25 12:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950839808001,"power":12917,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944782203805663232}} 
[2026-07-25 12:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":141021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:55:02] local.INFO: GPS data processed {"connection_id":141021,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:55:02] local.INFO: Acknowledgment sent {"connection_id":141021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:55:06] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:06] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:06] local.INFO: IMEI packet received {"connection_id":141022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":141022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:55:13] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9828bb10012da397400602db100033008228..."} 
[2026-07-25 12:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9828bb10012da397400602db100033008228..."} 
[2026-07-25 12:55:13] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9828bb10012da397400602db100033008228..."} 
[2026-07-25 12:55:13] local.INFO: Packet analysis {"connection_id":141022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:13] local.INFO: Extracted packet for processing {"connection_id":141022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:13] local.INFO: GPS Element Parsed {"raw_longitude":765695808,"raw_latitude":100850448,"longitude_deg":76.5695808,"latitude_deg":10.0850448,"altitude":51,"angle":130,"satellites":40,"speed":46,"hex_longitude":"2da39740","hex_latitude":"0602db10","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950841856001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357708820853555200,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6666594060084285440,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784964234000,"timestamp_ms":1784964234000,"timestamp_seconds":1784964234,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828bb10"} 
[2026-07-25 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-07-25 12:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:55: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-07-25 12:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950841856001,"66":27876,"213":206,"88":20992,"24":46,"16":357708820853555200,"45":-6666594060084285440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-25 12:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950841856001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:55:13] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-25 12:55:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357708820853555200,"km_value":357708820853555.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6666594060084285440,"description":"Unknown IO ID 45"} 
[2026-07-25 12:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950841856001,"power":27876,"unknown_213":206,"unknown_88":20992,"ignition":46,"odometer":null,"unknown_45":-6666594060084285440}} 
[2026-07-25 12:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":141022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:55:13] local.INFO: GPS data processed {"connection_id":141022,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:55:13] local.INFO: Acknowledgment sent {"connection_id":141022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:55:14] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.3","data_length":1348,"data_hex":"000000000000030f8e0a0000019f9828de38012da3b4400602c4000033007528..."} 
[2026-07-25 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f9828de38012da3b4400602c4000033007528..."} 
[2026-07-25 12:55:14] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f9828de38012da3b4400602c4000033007528..."} 
[2026-07-25 12:55:14] local.INFO: Packet analysis {"connection_id":141022,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:14] local.INFO: Extracted packet for processing {"connection_id":141022,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:14] local.INFO: GPS Element Parsed {"raw_longitude":765703232,"raw_latitude":100844544,"longitude_deg":76.5703232,"latitude_deg":10.0844544,"altitude":51,"angle":117,"satellites":40,"speed":32,"hex_longitude":"2da3b440","hex_latitude":"0602c400","is_valid_coordinates":true} 
[2026-07-25 12:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950843904001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357709276120088576,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658783129482096640,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784964243000,"timestamp_ms":1784964243000,"timestamp_seconds":1784964243,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828de38"} 
[2026-07-25 12:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 12:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950843904001,"66":27691,"213":206,"88":20992,"24":32,"16":357709276120088576,"45":-6658783129482096640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-25 12:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950843904001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:55:14] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-25 12:55:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357709276120088576,"km_value":357709276120088.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658783129482096640,"description":"Unknown IO ID 45"} 
[2026-07-25 12:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950843904001,"power":27691,"unknown_213":206,"unknown_88":20992,"ignition":32,"odometer":null,"unknown_45":-6658783129482096640}} 
[2026-07-25 12:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":141022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:55:14] local.INFO: GPS data processed {"connection_id":141022,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:55:14] local.INFO: Acknowledgment sent {"connection_id":141022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:55:14] local.INFO: Packet analysis {"connection_id":141022,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:14] local.INFO: Incomplete packet, waiting for more data {"connection_id":141022,"needed":795,"available":553} 
[2026-07-25 12:55:16] local.INFO: TCP Data received {"connection_id":141022,"ip":"42.109.136.3","data_length":242,"data_hex":"0000000000019f982845e0012da35d8006034c880033009e2600270000000a00..."} 
[2026-07-25 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141022,"packet_length":242,"packet_hex":"0000000000019f982845e0012da35d8006034c880033009e2600270000000a00..."} 
[2026-07-25 12:55:16] local.INFO: Processing buffer {"connection_id":141022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9828de38012da3b4400602c4000033007528..."} 
[2026-07-25 12:55:16] local.INFO: Packet analysis {"connection_id":141022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:16] local.INFO: Extracted packet for processing {"connection_id":141022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:16] local.INFO: GPS Element Parsed {"raw_longitude":765703232,"raw_latitude":100844544,"longitude_deg":76.5703232,"latitude_deg":10.0844544,"altitude":51,"angle":117,"satellites":40,"speed":32,"hex_longitude":"2da3b440","hex_latitude":"0602c400","is_valid_coordinates":true} 
[2026-07-25 12:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950846208001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357709276120088576,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6650620355158999040,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784964243000,"timestamp_ms":1784964243000,"timestamp_seconds":1784964243,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828de38"} 
[2026-07-25 12:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:55: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-07-25 12:55: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":43,"data_length":795,"current_offset":136} 
[2026-07-25 12:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950846208001,"66":27691,"213":206,"88":20992,"24":32,"16":357709276120088576,"45":-6650620355158999040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-25 12:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950846208001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:55:16] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-25 12:55:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357709276120088576,"km_value":357709276120088.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6650620355158999040,"description":"Unknown IO ID 45"} 
[2026-07-25 12:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950846208001,"power":27691,"unknown_213":206,"unknown_88":20992,"ignition":32,"odometer":null,"unknown_45":-6650620355158999040}} 
[2026-07-25 12:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":141022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:55:16] local.INFO: GPS data processed {"connection_id":141022,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:55:16] local.INFO: Acknowledgment sent {"connection_id":141022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:55:34] local.INFO: TCP Data received {"connection_id":141021,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9828e220012d7c238005db12e0000f004211..."} 
[2026-07-25 12:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9828e220012d7c238005db12e0000f004211..."} 
[2026-07-25 12:55:34] local.INFO: Processing buffer {"connection_id":141021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9828e220012d7c238005db12e0000f004211..."} 
[2026-07-25 12:55:34] local.INFO: Packet analysis {"connection_id":141021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:34] local.INFO: Extracted packet for processing {"connection_id":141021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:55:34] local.INFO: GPS Element Parsed {"raw_longitude":763110272,"raw_latitude":98243296,"longitude_deg":76.3110272,"latitude_deg":9.8243296,"altitude":15,"angle":66,"satellites":17,"speed":1,"hex_longitude":"2d7c2380","hex_latitude":"05db12e0","is_valid_coordinates":true} 
[2026-07-25 12:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950845184001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191642291470336,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944782203805663232,"note":"Value kept but may cause issues"} 
[2026-07-25 12:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784964244000,"timestamp_ms":1784964244000,"timestamp_seconds":1784964244,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828e220"} 
[2026-07-25 12:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 12:55: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-07-25 12:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141021,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950845184001,"66":12982,"185":206,"85":15104,"24":1,"16":110191642291470336,"45":8944782203805663232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950845184001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:55:34] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:55:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191642291470336,"km_value":110191642291470.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944782203805663232,"description":"Unknown IO ID 45"} 
[2026-07-25 12:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950845184001,"power":12982,"unknown_185":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8944782203805663232}} 
[2026-07-25 12:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":141021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:55:34] local.INFO: GPS data processed {"connection_id":141021,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:55:34] local.INFO: Acknowledgment sent {"connection_id":141021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:55:53] local.INFO: TCP Data received {"connection_id":141083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:55:53] local.INFO: Processing buffer {"connection_id":141083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:55:53] local.INFO: IMEI packet received {"connection_id":141083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":141083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:55:55] local.INFO: TCP Data received {"connection_id":143434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:55] local.INFO: Processing buffer {"connection_id":143434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:55] local.INFO: IMEI packet received {"connection_id":143434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":143434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:55:55] local.INFO: TCP Data received {"connection_id":143434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:55] local.INFO: Processing buffer {"connection_id":143434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:55:55] local.INFO: IMEI packet received {"connection_id":143434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":143434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:56:01] local.INFO: TCP Data received {"connection_id":143434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:56:01] local.INFO: Processing buffer {"connection_id":143434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:56:01] local.INFO: IMEI packet received {"connection_id":143434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":143434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:56:01] local.INFO: TCP Data received {"connection_id":141083,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141083,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:01] local.INFO: Processing buffer {"connection_id":141083,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:01] local.INFO: IMEI packet received {"connection_id":141083,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":141083,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:56:01] local.INFO: TCP Data received {"connection_id":143434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9828f5a8012da3ca000602bc780031006928..."} 
[2026-07-25 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9828f5a8012da3ca000602bc780031006928..."} 
[2026-07-25 12:56:01] local.INFO: Processing buffer {"connection_id":143434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9828f5a8012da3ca000602bc780031006928..."} 
[2026-07-25 12:56:01] local.INFO: Packet analysis {"connection_id":143434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:56:01] local.INFO: Extracted packet for processing {"connection_id":143434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:56:01] local.INFO: GPS Element Parsed {"raw_longitude":765708800,"raw_latitude":100842616,"longitude_deg":76.57088,"latitude_deg":10.0842616,"altitude":49,"angle":105,"satellites":40,"speed":45,"hex_longitude":"2da3ca00","hex_latitude":"0602bc78","is_valid_coordinates":true} 
[2026-07-25 12:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950846208001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357709559587930112,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6650620355158999040,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784964249000,"timestamp_ms":1784964249000,"timestamp_seconds":1784964249,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828f5a8"} 
[2026-07-25 12:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-25 12:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950846208001,"66":27995,"213":206,"88":20992,"24":45,"16":357709559587930112,"45":-6650620355158999040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950846208001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357709559587930112,"km_value":357709559587930.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6650620355158999040,"description":"Unknown IO ID 45"} 
[2026-07-25 12:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950846208001,"power":27995,"unknown_213":206,"unknown_88":20992,"ignition":45,"odometer":null,"unknown_45":-6650620355158999040}} 
[2026-07-25 12:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":143434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:56:02] local.INFO: GPS data processed {"connection_id":143434,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:56:02] local.INFO: Acknowledgment sent {"connection_id":143434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:56:02] local.INFO: TCP Data received {"connection_id":141083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9828edd8012d7c240005db12f0000f005013..."} 
[2026-07-25 12:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9828edd8012d7c240005db12f0000f005013..."} 
[2026-07-25 12:56:02] local.INFO: Processing buffer {"connection_id":141083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9828edd8012d7c240005db12f0000f005013..."} 
[2026-07-25 12:56:02] local.INFO: Packet analysis {"connection_id":141083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:56:02] local.INFO: Extracted packet for processing {"connection_id":141083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9828"} 
[2026-07-25 12:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98243312,"longitude_deg":76.31104,"latitude_deg":9.8243312,"altitude":15,"angle":80,"satellites":19,"speed":1,"hex_longitude":"2d7c2400","hex_latitude":"05db12f0","is_valid_coordinates":true} 
[2026-07-25 12:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950846464001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191646586437632,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945134047526576128,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784964247000,"timestamp_ms":1784964247000,"timestamp_seconds":1784964247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9828edd8"} 
[2026-07-25 12:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 12:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:56: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-07-25 12:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950846464001,"66":13059,"185":206,"85":15104,"24":1,"16":110191646586437632,"45":8945134047526576128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950846464001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191646586437632,"km_value":110191646586437.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945134047526576128,"description":"Unknown IO ID 45"} 
[2026-07-25 12:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950846464001,"power":13059,"unknown_185":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8945134047526576128}} 
[2026-07-25 12:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":141083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:56:02] local.INFO: GPS data processed {"connection_id":141083,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:56:02] local.INFO: Acknowledgment sent {"connection_id":141083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:56:32] local.INFO: TCP Data received {"connection_id":143434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98291100012da3e7000602b3e8002e007627..."} 
[2026-07-25 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98291100012da3e7000602b3e8002e007627..."} 
[2026-07-25 12:56:32] local.INFO: Processing buffer {"connection_id":143434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98291100012da3e7000602b3e8002e007627..."} 
[2026-07-25 12:56:32] local.INFO: Packet analysis {"connection_id":143434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:56:32] local.INFO: Extracted packet for processing {"connection_id":143434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":765716224,"raw_latitude":100840424,"longitude_deg":76.5716224,"latitude_deg":10.0840424,"altitude":46,"angle":118,"satellites":39,"speed":44,"hex_longitude":"2da3e700","hex_latitude":"0602b3e8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 12:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950847744001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357709933250084864,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6644498274416035840,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784964256000,"timestamp_ms":1784964256000,"timestamp_seconds":1784964256,"priority":1,"record_length":96,"hex_timestamp":"0000019f98291100"} 
[2026-07-25 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-07-25 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 12:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 12:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950847744001,"66":27908,"213":206,"88":20992,"24":44,"16":357709933250084864,"45":-6644498274416035840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-07-25 12:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950847744001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357709933250084864,"km_value":357709933250084.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6644498274416035840,"description":"Unknown IO ID 45"} 
[2026-07-25 12:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950847744001,"power":27908,"unknown_213":206,"unknown_88":20992,"ignition":44,"odometer":null,"unknown_45":-6644498274416035840}} 
[2026-07-25 12:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":143434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:56:32] local.INFO: GPS data processed {"connection_id":143434,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:56:32] local.INFO: Acknowledgment sent {"connection_id":143434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:56:33] local.INFO: TCP Data received {"connection_id":141083,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98293fe0012d7c240005db12f0000f004d11..."} 
[2026-07-25 12:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98293fe0012d7c240005db12f0000f004d11..."} 
[2026-07-25 12:56:33] local.INFO: Processing buffer {"connection_id":141083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98293fe0012d7c240005db12f0000f004d11..."} 
[2026-07-25 12:56:33] local.INFO: Packet analysis {"connection_id":141083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:56:33] local.INFO: Extracted packet for processing {"connection_id":141083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98243312,"longitude_deg":76.31104,"latitude_deg":9.8243312,"altitude":15,"angle":77,"satellites":17,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05db12f0","is_valid_coordinates":true} 
[2026-07-25 12:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950847232001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191650881404928,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014935552,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784964268000,"timestamp_ms":1784964268000,"timestamp_seconds":1784964268,"priority":1,"record_length":96,"hex_timestamp":"0000019f98293fe0"} 
[2026-07-25 12:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311974,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":185,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2552765160,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-07-25 12:56:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3675611136,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:33] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,185,85,24,241,157,16,122,159,226,45,128,18,15,17,10,66,206,64,124,1,240,248,227,152,219,4,113,205,7,34,19,239,50,2,135,5,8],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-07-25 12:56:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080951953103585280,"timestamp_seconds":1080951953103585.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 12:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141083,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:56: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-07-25 12:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950847232001,"66":12645,"185":206,"85":15104,"24":0,"16":110191650881404928,"45":8945274785014935552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950847232001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:56:33] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191650881404928,"km_value":110191650881404.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014935552,"description":"Unknown IO ID 45"} 
[2026-07-25 12:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950847232001,"power":12645,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785014935552}} 
[2026-07-25 12:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":141083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:56:33] local.INFO: GPS data processed {"connection_id":141083,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:56:33] local.INFO: Acknowledgment sent {"connection_id":141083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:56:50] local.INFO: TCP Data received {"connection_id":142072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:50] local.INFO: Processing buffer {"connection_id":142072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:50] local.INFO: IMEI packet received {"connection_id":142072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":142072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:56:53] local.INFO: TCP Data received {"connection_id":142072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:53] local.INFO: Processing buffer {"connection_id":142072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:53] local.INFO: IMEI packet received {"connection_id":142072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":142072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:56:56] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:56:56] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:56:56] local.INFO: IMEI packet received {"connection_id":141023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":141023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:56:58] local.INFO: TCP Data received {"connection_id":142072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:58] local.INFO: Processing buffer {"connection_id":142072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:56:58] local.INFO: IMEI packet received {"connection_id":142072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":142072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:56:59] local.INFO: TCP Data received {"connection_id":142072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982991e8012d7c240005db12f0000f004d13..."} 
[2026-07-25 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982991e8012d7c240005db12f0000f004d13..."} 
[2026-07-25 12:56:59] local.INFO: Processing buffer {"connection_id":142072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982991e8012d7c240005db12f0000f004d13..."} 
[2026-07-25 12:56:59] local.INFO: Packet analysis {"connection_id":142072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:56:59] local.INFO: Extracted packet for processing {"connection_id":142072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98243312,"longitude_deg":76.31104,"latitude_deg":9.8243312,"altitude":15,"angle":77,"satellites":19,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05db12f0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950852608001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191650881404928,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014935552,"note":"Value kept but may cause issues"} 
[2026-07-25 12:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964289000,"timestamp_ms":1784964289000,"timestamp_seconds":1784964289,"priority":1,"record_length":96,"hex_timestamp":"0000019f982991e8"} 
[2026-07-25 12:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":101,"data_length":795,"current_offset":136} 
[2026-07-25 12:56: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-07-25 12: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-07-25 12:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950852608001,"66":12472,"185":206,"85":15104,"24":0,"16":110191650881404928,"45":8945274785014935552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950852608001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:56:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191650881404928,"km_value":110191650881404.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014935552,"description":"Unknown IO ID 45"} 
[2026-07-25 12:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950852608001,"power":12472,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785014935552}} 
[2026-07-25 12:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":142072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:56:59] local.INFO: GPS data processed {"connection_id":142072,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:56:59] local.INFO: Acknowledgment sent {"connection_id":142072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:57:00] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:57:00] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:57:00] local.INFO: IMEI packet received {"connection_id":141023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":141023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:57:00] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982a9b88012da4fec0060222300029006429..."} 
[2026-07-25 12:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982a9b88012da4fec0060222300029006429..."} 
[2026-07-25 12:57:00] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982a9b88012da4fec0060222300029006429..."} 
[2026-07-25 12:57:00] local.INFO: Packet analysis {"connection_id":141023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982a"} 
[2026-07-25 12:57:00] local.INFO: Extracted packet for processing {"connection_id":141023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982a"} 
[2026-07-25 12:57:00] local.INFO: GPS Element Parsed {"raw_longitude":765787840,"raw_latitude":100803120,"longitude_deg":76.578784,"latitude_deg":10.080312,"altitude":41,"angle":100,"satellites":41,"speed":15,"hex_longitude":"2da4fec0","hex_latitude":"06022230","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950870272001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357713991994179584,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6565122330993412096,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784964357000,"timestamp_ms":1784964357000,"timestamp_seconds":1784964357,"priority":1,"record_length":96,"hex_timestamp":"0000019f982a9b88"} 
[2026-07-25 12:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 12:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950870272001,"66":27908,"99":206,"88":20992,"24":15,"16":357713991994179584,"45":-6565122330993412096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-25 12:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950870272001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:57:00] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 12:57:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357713991994179584,"km_value":357713991994179.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6565122330993412096,"description":"Unknown IO ID 45"} 
[2026-07-25 12:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950870272001,"power":27908,"unknown_99":206,"unknown_88":20992,"ignition":15,"odometer":null,"unknown_45":-6565122330993412096}} 
[2026-07-25 12:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":141023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:57:00] local.INFO: GPS data processed {"connection_id":141023,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:57:00] local.INFO: Acknowledgment sent {"connection_id":141023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:57:30] local.INFO: TCP Data received {"connection_id":142072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9829b128012d7c24c005db12b8000f005911..."} 
[2026-07-25 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9829b128012d7c24c005db12b8000f005911..."} 
[2026-07-25 12:57:30] local.INFO: Processing buffer {"connection_id":142072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9829b128012d7c24c005db12b8000f005911..."} 
[2026-07-25 12:57:30] local.INFO: Packet analysis {"connection_id":142072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:57:30] local.INFO: Extracted packet for processing {"connection_id":142072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9829"} 
[2026-07-25 12:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763110592,"raw_latitude":98243256,"longitude_deg":76.3110592,"latitude_deg":9.8243256,"altitude":15,"angle":89,"satellites":17,"speed":1,"hex_longitude":"2d7c24c0","hex_latitude":"05db12b8","is_valid_coordinates":true} 
[2026-07-25 12:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950857984001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191659471339520,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014935552,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964297000,"timestamp_ms":1784964297000,"timestamp_seconds":1784964297,"priority":1,"record_length":96,"hex_timestamp":"0000019f9829b128"} 
[2026-07-25 12:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 12:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:57: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-07-25 12:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950857984001,"66":13048,"185":206,"85":15104,"24":1,"16":110191659471339520,"45":8945274785014935552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950857984001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:57:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191659471339520,"km_value":110191659471339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014935552,"description":"Unknown IO ID 45"} 
[2026-07-25 12:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950857984001,"power":13048,"unknown_185":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8945274785014935552}} 
[2026-07-25 12:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":142072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:57:30] local.INFO: GPS data processed {"connection_id":142072,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:57:30] local.INFO: Acknowledgment sent {"connection_id":142072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:57:31] local.INFO: TCP Data received {"connection_id":141023,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982ac298012da511c006021fe00027005229..."} 
[2026-07-25 12:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982ac298012da511c006021fe00027005229..."} 
[2026-07-25 12:57:31] local.INFO: Processing buffer {"connection_id":141023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982ac298012da511c006021fe00027005229..."} 
[2026-07-25 12:57:31] local.INFO: Packet analysis {"connection_id":141023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982a"} 
[2026-07-25 12:57:31] local.INFO: Extracted packet for processing {"connection_id":141023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982a"} 
[2026-07-25 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":765792704,"raw_latitude":100802528,"longitude_deg":76.5792704,"latitude_deg":10.0802528,"altitude":39,"angle":82,"satellites":41,"speed":23,"hex_longitude":"2da511c0","hex_latitude":"06021fe0","is_valid_coordinates":true} 
[2026-07-25 12:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950875392001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357714228217380864,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6557592875366731776,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784964367000,"timestamp_ms":1784964367000,"timestamp_seconds":1784964367,"priority":1,"record_length":96,"hex_timestamp":"0000019f982ac298"} 
[2026-07-25 12:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 12:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950875392001,"66":27952,"99":206,"88":20992,"24":23,"16":357714228217380864,"45":-6557592875366731776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-25 12:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950875392001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:57:31] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 12:57:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357714228217380864,"km_value":357714228217380.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6557592875366731776,"description":"Unknown IO ID 45"} 
[2026-07-25 12:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950875392001,"power":27952,"unknown_99":206,"unknown_88":20992,"ignition":23,"odometer":null,"unknown_45":-6557592875366731776}} 
[2026-07-25 12:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":141023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:57:31] local.INFO: GPS data processed {"connection_id":141023,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:57:31] local.INFO: Acknowledgment sent {"connection_id":141023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:57:53] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:53] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:53] local.INFO: IMEI packet received {"connection_id":141084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":141084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:57:53] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:53] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:53] local.INFO: IMEI packet received {"connection_id":141084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":141084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:57:56] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:57:56] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:57:56] local.INFO: IMEI packet received {"connection_id":141085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":141085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:57:58] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:58] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:57:58] local.INFO: IMEI packet received {"connection_id":141084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":141084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:57:59] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982bb4c8012d7c240005db12b0000f005d11..."} 
[2026-07-25 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982bb4c8012d7c240005db12b0000f005d11..."} 
[2026-07-25 12:57:59] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982bb4c8012d7c240005db12b0000f005d11..."} 
[2026-07-25 12:57:59] local.INFO: Packet analysis {"connection_id":141084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982b"} 
[2026-07-25 12:57:59] local.INFO: Extracted packet for processing {"connection_id":141084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982b"} 
[2026-07-25 12:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98243248,"longitude_deg":76.31104,"latitude_deg":9.8243248,"altitude":15,"angle":93,"satellites":17,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05db12b0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950888448001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191693831077888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014919168,"note":"Value kept but may cause issues"} 
[2026-07-25 12:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964429000,"timestamp_ms":1784964429000,"timestamp_seconds":1784964429,"priority":1,"record_length":96,"hex_timestamp":"0000019f982bb4c8"} 
[2026-07-25 12:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12: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-07-25 12: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-07-25 12:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:57: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-07-25 12:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950888448001,"66":12939,"185":206,"85":15104,"24":0,"16":110191693831077888,"45":8945274785014919168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950888448001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:57:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191693831077888,"km_value":110191693831077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014919168,"description":"Unknown IO ID 45"} 
[2026-07-25 12:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950888448001,"power":12939,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785014919168}} 
[2026-07-25 12:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":141084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:57:59] local.INFO: GPS data processed {"connection_id":141084,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:57:59] local.INFO: Acknowledgment sent {"connection_id":141084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:58:00] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:58:00] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:58:00] local.INFO: IMEI packet received {"connection_id":141085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":141085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:58:02] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982af948012da53600060225d80023004e2a..."} 
[2026-07-25 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982af948012da53600060225d80023004e2a..."} 
[2026-07-25 12:58:02] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982af948012da53600060225d80023004e2a..."} 
[2026-07-25 12:58:02] local.INFO: Packet analysis {"connection_id":141085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982a"} 
[2026-07-25 12:58:02] local.INFO: Extracted packet for processing {"connection_id":141085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982a"} 
[2026-07-25 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":765801984,"raw_latitude":100804056,"longitude_deg":76.5801984,"latitude_deg":10.0804056,"altitude":35,"angle":78,"satellites":42,"speed":24,"hex_longitude":"2da53600","hex_latitude":"060225d8","is_valid_coordinates":true} 
[2026-07-25 12:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950877952001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357714679188946944,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6552244850809380864,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784964381000,"timestamp_ms":1784964381000,"timestamp_seconds":1784964381,"priority":1,"record_length":96,"hex_timestamp":"0000019f982af948"} 
[2026-07-25 12:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-25 12:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950877952001,"66":27908,"99":206,"88":20992,"24":24,"16":357714679188946944,"45":-6552244850809380864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-25 12:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950877952001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:58:02] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 12:58:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357714679188946944,"km_value":357714679188946.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6552244850809380864,"description":"Unknown IO ID 45"} 
[2026-07-25 12:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950877952001,"power":27908,"unknown_99":206,"unknown_88":20992,"ignition":24,"odometer":null,"unknown_45":-6552244850809380864}} 
[2026-07-25 12:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":141085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:58:02] local.INFO: GPS data processed {"connection_id":141085,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:58:02] local.INFO: Acknowledgment sent {"connection_id":141085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:58:30] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982c06d0012d7c240005db12b0000f005d13..."} 
[2026-07-25 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982c06d0012d7c240005db12b0000f005d13..."} 
[2026-07-25 12:58:30] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982c06d0012d7c240005db12b0000f005d13..."} 
[2026-07-25 12:58:30] local.INFO: Packet analysis {"connection_id":141084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:58:30] local.INFO: Extracted packet for processing {"connection_id":141084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98243248,"longitude_deg":76.31104,"latitude_deg":9.8243248,"altitude":15,"angle":93,"satellites":19,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05db12b0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950893824001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191693831077888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014919168,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964450000,"timestamp_ms":1784964450000,"timestamp_seconds":1784964450,"priority":1,"record_length":96,"hex_timestamp":"0000019f982c06d0"} 
[2026-07-25 12:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 12:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12: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-07-25 12:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:58: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-07-25 12:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950893824001,"66":12613,"185":206,"85":15104,"24":0,"16":110191693831077888,"45":8945274785014919168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950893824001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:58:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191693831077888,"km_value":110191693831077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014919168,"description":"Unknown IO ID 45"} 
[2026-07-25 12:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950893824001,"power":12613,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785014919168}} 
[2026-07-25 12:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":141084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:58:30] local.INFO: GPS data processed {"connection_id":141084,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:58:30] local.INFO: Acknowledgment sent {"connection_id":141084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:58:33] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982b2ff8012da5530006022bc00026005a28..."} 
[2026-07-25 12:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982b2ff8012da5530006022bc00026005a28..."} 
[2026-07-25 12:58:33] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982b2ff8012da5530006022bc00026005a28..."} 
[2026-07-25 12:58:33] local.INFO: Packet analysis {"connection_id":141085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982b"} 
[2026-07-25 12:58:33] local.INFO: Extracted packet for processing {"connection_id":141085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982b"} 
[2026-07-25 12:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765809408,"raw_latitude":100805568,"longitude_deg":76.5809408,"latitude_deg":10.0805568,"altitude":38,"angle":90,"satellites":40,"speed":24,"hex_longitude":"2da55300","hex_latitude":"06022bc0","is_valid_coordinates":true} 
[2026-07-25 12:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950881536001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357715039966199808,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6542041382903228416,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784964395000,"timestamp_ms":1784964395000,"timestamp_seconds":1784964395,"priority":1,"record_length":96,"hex_timestamp":"0000019f982b2ff8"} 
[2026-07-25 12:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 12:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950881536001,"66":27767,"99":206,"88":20992,"24":24,"16":357715039966199808,"45":-6542041382903228416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-25 12:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950881536001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:58:33] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 12:58:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357715039966199808,"km_value":357715039966199.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6542041382903228416,"description":"Unknown IO ID 45"} 
[2026-07-25 12:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950881536001,"power":27767,"unknown_99":206,"unknown_88":20992,"ignition":24,"odometer":null,"unknown_45":-6542041382903228416}} 
[2026-07-25 12:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":141085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:58:33] local.INFO: GPS data processed {"connection_id":141085,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:58:33] local.INFO: Acknowledgment sent {"connection_id":141085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:58:53] local.INFO: TCP Data received {"connection_id":142074,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:58:53] local.INFO: Processing buffer {"connection_id":142074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:58:53] local.INFO: IMEI packet received {"connection_id":142074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":142074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:58:55] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:58:55] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:58:55] local.INFO: IMEI packet received {"connection_id":141024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:58:58] local.INFO: TCP Data received {"connection_id":142074,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:58:58] local.INFO: Processing buffer {"connection_id":142074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:58:58] local.INFO: IMEI packet received {"connection_id":142074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":142074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:58:59] local.INFO: TCP Data received {"connection_id":142074,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982c58d8012d7c240005db12b0000f005d17..."} 
[2026-07-25 12:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982c58d8012d7c240005db12b0000f005d17..."} 
[2026-07-25 12:58:59] local.INFO: Processing buffer {"connection_id":142074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982c58d8012d7c240005db12b0000f005d17..."} 
[2026-07-25 12:58:59] local.INFO: Packet analysis {"connection_id":142074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:58:59] local.INFO: Extracted packet for processing {"connection_id":142074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763110400,"raw_latitude":98243248,"longitude_deg":76.31104,"latitude_deg":9.8243248,"altitude":15,"angle":93,"satellites":23,"speed":0,"hex_longitude":"2d7c2400","hex_latitude":"05db12b0","is_valid_coordinates":true} 
[2026-07-25 12:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950899200001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191693831077888,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014919168,"note":"Value kept but may cause issues"} 
[2026-07-25 12:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964471000,"timestamp_ms":1784964471000,"timestamp_seconds":1784964471,"priority":1,"record_length":96,"hex_timestamp":"0000019f982c58d8"} 
[2026-07-25 12:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12: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-07-25 12:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:58: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-07-25 12:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950899200001,"66":12765,"185":206,"85":15104,"24":0,"16":110191693831077888,"45":8945274785014919168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950899200001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:58:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191693831077888,"km_value":110191693831077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014919168,"description":"Unknown IO ID 45"} 
[2026-07-25 12:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950899200001,"power":12765,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8945274785014919168}} 
[2026-07-25 12:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":142074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:58:59] local.INFO: GPS data processed {"connection_id":142074,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:58:59] local.INFO: Acknowledgment sent {"connection_id":142074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:59:01] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:59:01] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:59:01] local.INFO: IMEI packet received {"connection_id":141024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 12:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":141024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:59:01] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982b3bb0012da55ac006022ab0002700692a..."} 
[2026-07-25 12:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982b3bb0012da55ac006022ab0002700692a..."} 
[2026-07-25 12:59:01] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982b3bb0012da55ac006022ab0002700692a..."} 
[2026-07-25 12:59:01] local.INFO: Packet analysis {"connection_id":141024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982b"} 
[2026-07-25 12:59:01] local.INFO: Extracted packet for processing {"connection_id":141024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982b"} 
[2026-07-25 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765811392,"raw_latitude":100805296,"longitude_deg":76.5811392,"latitude_deg":10.0805296,"altitude":39,"angle":105,"satellites":42,"speed":26,"hex_longitude":"2da55ac0","hex_latitude":"06022ab0","is_valid_coordinates":true} 
[2026-07-25 12:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950885120001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357715138750447616,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6533878608578232320,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784964398000,"timestamp_ms":1784964398000,"timestamp_seconds":1784964398,"priority":1,"record_length":96,"hex_timestamp":"0000019f982b3bb0"} 
[2026-07-25 12:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 12:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950885120001,"66":27908,"99":206,"88":20992,"24":26,"16":357715138750447616,"45":-6533878608578232320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,88,24,16,45]} 
[2026-07-25 12:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950885120001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:59:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 12:59:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357715138750447616,"km_value":357715138750447.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6533878608578232320,"description":"Unknown IO ID 45"} 
[2026-07-25 12:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950885120001,"power":27908,"unknown_99":206,"unknown_88":20992,"ignition":26,"odometer":null,"unknown_45":-6533878608578232320}} 
[2026-07-25 12:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":141024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:59:02] local.INFO: GPS data processed {"connection_id":141024,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:59:02] local.INFO: Acknowledgment sent {"connection_id":141024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:59:30] local.INFO: TCP Data received {"connection_id":142074,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982c9370012d7c278005db12c8001000b316..."} 
[2026-07-25 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982c9370012d7c278005db12c8001000b316..."} 
[2026-07-25 12:59:30] local.INFO: Processing buffer {"connection_id":142074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982c9370012d7c278005db12c8001000b316..."} 
[2026-07-25 12:59:30] local.INFO: Packet analysis {"connection_id":142074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:59:30] local.INFO: Extracted packet for processing {"connection_id":142074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":98243272,"longitude_deg":76.3111296,"latitude_deg":9.8243272,"altitude":16,"angle":179,"satellites":22,"speed":2,"hex_longitude":"2d7c2780","hex_latitude":"05db12c8","is_valid_coordinates":true} 
[2026-07-25 12:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950904576001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191732485783552,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945274785014919168,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964486000,"timestamp_ms":1784964486000,"timestamp_seconds":1784964486,"priority":1,"record_length":96,"hex_timestamp":"0000019f982c9370"} 
[2026-07-25 12:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 12:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:59: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-07-25 12:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950904576001,"66":12515,"185":206,"85":15104,"24":2,"16":110191732485783552,"45":8945274785014919168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950904576001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:59:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191732485783552,"km_value":110191732485783.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945274785014919168,"description":"Unknown IO ID 45"} 
[2026-07-25 12:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950904576001,"power":12515,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8945274785014919168}} 
[2026-07-25 12:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":142074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:59:30] local.INFO: GPS data processed {"connection_id":142074,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:59:30] local.INFO: Acknowledgment sent {"connection_id":142074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:59:33] local.INFO: TCP Data received {"connection_id":141024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982cf900012da6b2000601bc600028007327..."} 
[2026-07-25 12:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982cf900012da6b2000601bc600028007327..."} 
[2026-07-25 12:59:33] local.INFO: Processing buffer {"connection_id":141024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982cf900012da6b2000601bc600028007327..."} 
[2026-07-25 12:59:33] local.INFO: Packet analysis {"connection_id":141024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:59:33] local.INFO: Extracted packet for processing {"connection_id":141024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":765899264,"raw_latitude":100777056,"longitude_deg":76.5899264,"latitude_deg":10.0777056,"altitude":40,"angle":115,"satellites":39,"speed":34,"hex_longitude":"2da6b200","hex_latitude":"0601bc60","is_valid_coordinates":true} 
[2026-07-25 12:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 12:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950913536001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357719631286239232,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6440358547572934656,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784964512000,"timestamp_ms":1784964512000,"timestamp_seconds":1784964512,"priority":1,"record_length":96,"hex_timestamp":"0000019f982cf900"} 
[2026-07-25 12:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 12:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 12:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 12:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 12:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 12:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 12:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 12:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950913536001,"66":27995,"189":206,"88":20992,"24":34,"16":357719631286239232,"45":-6440358547572934656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-25 12:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 12:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 12:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950913536001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:59:33] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 12:59:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 12:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357719631286239232,"km_value":357719631286239.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6440358547572934656,"description":"Unknown IO ID 45"} 
[2026-07-25 12:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950913536001,"power":27995,"unknown_189":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6440358547572934656}} 
[2026-07-25 12:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":141024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:59:33] local.INFO: GPS data processed {"connection_id":141024,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:59:33] local.INFO: Acknowledgment sent {"connection_id":141024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 12:59:53] local.INFO: TCP Data received {"connection_id":143435,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:59:53] local.INFO: Processing buffer {"connection_id":143435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:59:53] local.INFO: IMEI packet received {"connection_id":143435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 12:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":143435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:59:55] local.INFO: TCP Data received {"connection_id":142075,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:59:55] local.INFO: Processing buffer {"connection_id":142075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 12:59:55] local.INFO: IMEI packet received {"connection_id":142075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 12:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":142075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 12:59:58] local.INFO: TCP Data received {"connection_id":143435,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:59:58] local.INFO: Processing buffer {"connection_id":143435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 12:59:58] local.INFO: IMEI packet received {"connection_id":143435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 12:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":143435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 12:59:59] local.INFO: TCP Data received {"connection_id":143435,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982caec8012d7c270005db10d0001000bf16..."} 
[2026-07-25 12:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982caec8012d7c270005db10d0001000bf16..."} 
[2026-07-25 12:59:59] local.INFO: Processing buffer {"connection_id":143435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982caec8012d7c270005db10d0001000bf16..."} 
[2026-07-25 12:59:59] local.INFO: Packet analysis {"connection_id":143435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:59:59] local.INFO: Extracted packet for processing {"connection_id":143435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 12:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":98242768,"longitude_deg":76.3111168,"latitude_deg":9.8242768,"altitude":16,"angle":191,"satellites":22,"speed":3,"hex_longitude":"2d7c2700","hex_latitude":"05db10d0","is_valid_coordinates":true} 
[2026-07-25 12: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-07-25 12:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950908416001,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191766845521920,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946259947433412608,"note":"Value kept but may cause issues"} 
[2026-07-25 12:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 12:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964493000,"timestamp_ms":1784964493000,"timestamp_seconds":1784964493,"priority":1,"record_length":96,"hex_timestamp":"0000019f982caec8"} 
[2026-07-25 12:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 12:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 12: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-25 12:59: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-07-25 12: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-07-25 12:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 12:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 12:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 12:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 12:59: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-07-25 12:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 12:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 12:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950908416001,"66":13124,"185":206,"85":15104,"24":3,"16":110191766845521920,"45":8946259947433412608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 12:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 12:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 12:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950908416001,"description":"Unknown IO ID 0"} 
[2026-07-25 12:59:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 12:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 12:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191766845521920,"km_value":110191766845521.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 12:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946259947433412608,"description":"Unknown IO ID 45"} 
[2026-07-25 12:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950908416001,"power":13124,"unknown_185":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8946259947433412608}} 
[2026-07-25 12:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":143435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 12:59:59] local.INFO: GPS data processed {"connection_id":143435,"processed":1,"errors":0,"total":1} 
[2026-07-25 12:59:59] local.INFO: Acknowledgment sent {"connection_id":143435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:00:00] local.INFO: TCP Data received {"connection_id":142075,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:00:00] local.INFO: Processing buffer {"connection_id":142075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:00:00] local.INFO: IMEI packet received {"connection_id":142075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":142075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:00:00] local.INFO: TCP Data received {"connection_id":142075,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:00:00] local.INFO: Processing buffer {"connection_id":142075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:00:00] local.INFO: IMEI packet received {"connection_id":142075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":142075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:00:01] local.INFO: TCP Data received {"connection_id":142075,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982d1458012da6c4800601b4080027006727..."} 
[2026-07-25 13:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982d1458012da6c4800601b4080027006727..."} 
[2026-07-25 13:00:01] local.INFO: Processing buffer {"connection_id":142075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982d1458012da6c4800601b4080027006727..."} 
[2026-07-25 13:00:01] local.INFO: Packet analysis {"connection_id":142075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:00:01] local.INFO: Extracted packet for processing {"connection_id":142075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:00:01] local.INFO: GPS Element Parsed {"raw_longitude":765904000,"raw_latitude":100774920,"longitude_deg":76.5904,"latitude_deg":10.077492,"altitude":39,"angle":103,"satellites":39,"speed":16,"hex_longitude":"2da6c480","hex_latitude":"0601b408","is_valid_coordinates":true} 
[2026-07-25 13:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950915072001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357719880394342400,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6435080891760091136,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784964519000,"timestamp_ms":1784964519000,"timestamp_seconds":1784964519,"priority":1,"record_length":96,"hex_timestamp":"0000019f982d1458"} 
[2026-07-25 13:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950915072001,"66":27919,"189":206,"88":20992,"24":16,"16":357719880394342400,"45":-6435080891760091136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-25 13:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950915072001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:00:01] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 13:00:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357719880394342400,"km_value":357719880394342.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6435080891760091136,"description":"Unknown IO ID 45"} 
[2026-07-25 13:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950915072001,"power":27919,"unknown_189":206,"unknown_88":20992,"ignition":16,"odometer":null,"unknown_45":-6435080891760091136}} 
[2026-07-25 13:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":142075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:00:01] local.INFO: GPS data processed {"connection_id":142075,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:00:01] local.INFO: Acknowledgment sent {"connection_id":142075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:00:06] local.INFO: TCP Data received {"connection_id":142075,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982d1c28012da6c7800601b2a80027007a26..."} 
[2026-07-25 13:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982d1c28012da6c7800601b2a80027007a26..."} 
[2026-07-25 13:00:06] local.INFO: Processing buffer {"connection_id":142075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982d1c28012da6c7800601b2a80027007a26..."} 
[2026-07-25 13:00:06] local.INFO: Packet analysis {"connection_id":142075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:00:06] local.INFO: Extracted packet for processing {"connection_id":142075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":765904768,"raw_latitude":100774568,"longitude_deg":76.5904768,"latitude_deg":10.0774568,"altitude":39,"angle":122,"satellites":38,"speed":16,"hex_longitude":"2da6c780","hex_latitude":"0601b2a8","is_valid_coordinates":true} 
[2026-07-25 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950916864001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357719923344015360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6429873604691490816,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784964521000,"timestamp_ms":1784964521000,"timestamp_seconds":1784964521,"priority":1,"record_length":96,"hex_timestamp":"0000019f982d1c28"} 
[2026-07-25 13:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950916864001,"66":27865,"189":206,"88":20992,"24":16,"16":357719923344015360,"45":-6429873604691490816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-25 13:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950916864001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:00:06] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 13:00:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357719923344015360,"km_value":357719923344015.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6429873604691490816,"description":"Unknown IO ID 45"} 
[2026-07-25 13:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950916864001,"power":27865,"unknown_189":206,"unknown_88":20992,"ignition":16,"odometer":null,"unknown_45":-6429873604691490816}} 
[2026-07-25 13:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":142075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:00:06] local.INFO: GPS data processed {"connection_id":142075,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:00:06] local.INFO: Acknowledgment sent {"connection_id":142075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:00:15] local.INFO: TCP Data received {"connection_id":142073,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:00:15] local.INFO: Processing buffer {"connection_id":142073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:00:15] local.INFO: IMEI packet received {"connection_id":142073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":142073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:00:30] local.INFO: TCP Data received {"connection_id":143435,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982cb698012d7c270005db0fd0001000ae14..."} 
[2026-07-25 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982cb698012d7c270005db0fd0001000ae14..."} 
[2026-07-25 13:00:30] local.INFO: Processing buffer {"connection_id":143435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982cb698012d7c270005db0fd0001000ae14..."} 
[2026-07-25 13:00:30] local.INFO: Packet analysis {"connection_id":143435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 13:00:30] local.INFO: Extracted packet for processing {"connection_id":143435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982c"} 
[2026-07-25 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":98242512,"longitude_deg":76.3111168,"latitude_deg":9.8242512,"altitude":16,"angle":174,"satellites":20,"speed":7,"hex_longitude":"2d7c2700","hex_latitude":"05db0fd0","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950910208001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191779730423808,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119209944928256,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964495000,"timestamp_ms":1784964495000,"timestamp_seconds":1784964495,"priority":1,"record_length":96,"hex_timestamp":"0000019f982cb698"} 
[2026-07-25 13:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 13:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:00: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-07-25 13:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950910208001,"66":13319,"185":206,"85":15104,"24":7,"16":110191779730423808,"45":8946119209944928256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 13:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950910208001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:00:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 13:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191779730423808,"km_value":110191779730423.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119209944928256,"description":"Unknown IO ID 45"} 
[2026-07-25 13:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950910208001,"power":13319,"unknown_185":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8946119209944928256}} 
[2026-07-25 13:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":143435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:00:30] local.INFO: GPS data processed {"connection_id":143435,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:00:30] local.INFO: Acknowledgment sent {"connection_id":143435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:00:38] local.INFO: TCP Data received {"connection_id":142075,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982d5aa8012da6e7800601a2300028007126..."} 
[2026-07-25 13:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982d5aa8012da6e7800601a2300028007126..."} 
[2026-07-25 13:00:38] local.INFO: Processing buffer {"connection_id":142075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982d5aa8012da6e7800601a2300028007126..."} 
[2026-07-25 13:00:38] local.INFO: Packet analysis {"connection_id":142075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:00:38] local.INFO: Extracted packet for processing {"connection_id":142075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":765912960,"raw_latitude":100770352,"longitude_deg":76.591296,"latitude_deg":10.0770352,"altitude":40,"angle":113,"satellites":38,"speed":29,"hex_longitude":"2da6e780","hex_latitude":"0601a230","is_valid_coordinates":true} 
[2026-07-25 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950917376001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357720361430679552,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6429029179761448960,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784964537000,"timestamp_ms":1784964537000,"timestamp_seconds":1784964537,"priority":1,"record_length":96,"hex_timestamp":"0000019f982d5aa8"} 
[2026-07-25 13:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 13:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950917376001,"66":27974,"189":206,"88":20992,"24":29,"16":357720361430679552,"45":-6429029179761448960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-25 13:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950917376001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:00:38] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 13:00:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357720361430679552,"km_value":357720361430679.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6429029179761448960,"description":"Unknown IO ID 45"} 
[2026-07-25 13:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950917376001,"power":27974,"unknown_189":206,"unknown_88":20992,"ignition":29,"odometer":null,"unknown_45":-6429029179761448960}} 
[2026-07-25 13:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":142075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:00:38] local.INFO: GPS data processed {"connection_id":142075,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:00:38] local.INFO: Acknowledgment sent {"connection_id":142075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:00:52] local.INFO: TCP Data received {"connection_id":143436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:52] local.INFO: Processing buffer {"connection_id":143436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:52] local.INFO: IMEI packet received {"connection_id":143436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":143436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:00:53] local.INFO: TCP Data received {"connection_id":143436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:53] local.INFO: Processing buffer {"connection_id":143436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:53] local.INFO: IMEI packet received {"connection_id":143436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":143436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:00:58] local.INFO: TCP Data received {"connection_id":143436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:58] local.INFO: Processing buffer {"connection_id":143436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:00:58] local.INFO: IMEI packet received {"connection_id":143436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":143436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:00:59] local.INFO: TCP Data received {"connection_id":143436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982e9ee0012d7c5b4005da60a00012009e12..."} 
[2026-07-25 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982e9ee0012d7c5b4005da60a00012009e12..."} 
[2026-07-25 13:00:59] local.INFO: Processing buffer {"connection_id":143436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982e9ee0012d7c5b4005da60a00012009e12..."} 
[2026-07-25 13:00:59] local.INFO: Packet analysis {"connection_id":143436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:00:59] local.INFO: Extracted packet for processing {"connection_id":143436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763124544,"raw_latitude":98197664,"longitude_deg":76.3124544,"latitude_deg":9.8197664,"altitude":18,"angle":158,"satellites":18,"speed":29,"hex_longitude":"2d7c5b40","hex_latitude":"05da60a0","is_valid_coordinates":true} 
[2026-07-25 13:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950942720001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110194094717796352,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960826277466513408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964620000,"timestamp_ms":1784964620000,"timestamp_seconds":1784964620,"priority":1,"record_length":96,"hex_timestamp":"0000019f982e9ee0"} 
[2026-07-25 13:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:00: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-07-25 13:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:00: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-07-25 13:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950942720001,"66":13091,"187":206,"85":15104,"24":29,"16":110194094717796352,"45":8960826277466513408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 13:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950942720001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:00:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 13:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110194094717796352,"km_value":110194094717796.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960826277466513408,"description":"Unknown IO ID 45"} 
[2026-07-25 13:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950942720001,"power":13091,"unknown_187":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8960826277466513408}} 
[2026-07-25 13:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":143436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:00:59] local.INFO: GPS data processed {"connection_id":143436,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:00:59] local.INFO: Acknowledgment sent {"connection_id":143436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:01:00] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:00] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:00] local.INFO: IMEI packet received {"connection_id":141025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":141025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:01:01] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:01] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:01] local.INFO: IMEI packet received {"connection_id":141025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":141025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:01:06] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:06] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:01:06] local.INFO: IMEI packet received {"connection_id":141025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":141025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:01:07] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982d8988012da709c0060196080027006927..."} 
[2026-07-25 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982d8988012da709c0060196080027006927..."} 
[2026-07-25 13:01:07] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982d8988012da709c0060196080027006927..."} 
[2026-07-25 13:01:07] local.INFO: Packet analysis {"connection_id":141025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:01:07] local.INFO: Extracted packet for processing {"connection_id":141025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":765921728,"raw_latitude":100767240,"longitude_deg":76.5921728,"latitude_deg":10.076724,"altitude":39,"angle":105,"satellites":39,"speed":28,"hex_longitude":"2da709c0","hex_latitude":"06019608","is_valid_coordinates":true} 
[2026-07-25 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950921472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357720808107278336,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6420021980507787264,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784964549000,"timestamp_ms":1784964549000,"timestamp_seconds":1784964549,"priority":1,"record_length":96,"hex_timestamp":"0000019f982d8988"} 
[2026-07-25 13:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 13:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950921472001,"66":27908,"189":206,"88":20992,"24":28,"16":357720808107278336,"45":-6420021980507787264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-07-25 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950921472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:01:07] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-25 13:01:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357720808107278336,"km_value":357720808107278.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6420021980507787264,"description":"Unknown IO ID 45"} 
[2026-07-25 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950921472001,"power":27908,"unknown_189":206,"unknown_88":20992,"ignition":28,"odometer":null,"unknown_45":-6420021980507787264}} 
[2026-07-25 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":141025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:01:07] local.INFO: GPS data processed {"connection_id":141025,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:01:07] local.INFO: Acknowledgment sent {"connection_id":141025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:01:10] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982dbc50012da72c80060188800027007324..."} 
[2026-07-25 13:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982dbc50012da72c80060188800027007324..."} 
[2026-07-25 13:01:10] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982dbc50012da72c80060188800027007324..."} 
[2026-07-25 13:01:10] local.INFO: Packet analysis {"connection_id":141025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:01:10] local.INFO: Extracted packet for processing {"connection_id":141025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:01:10] local.INFO: GPS Element Parsed {"raw_longitude":765930624,"raw_latitude":100763776,"longitude_deg":76.5930624,"latitude_deg":10.0763776,"altitude":39,"angle":115,"satellites":36,"speed":29,"hex_longitude":"2da72c80","hex_latitude":"06018880","is_valid_coordinates":true} 
[2026-07-25 13:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950924544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357721267668779008,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6410381462556243968,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784964562000,"timestamp_ms":1784964562000,"timestamp_seconds":1784964562,"priority":1,"record_length":96,"hex_timestamp":"0000019f982dbc50"} 
[2026-07-25 13:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:01: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-07-25 13:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 13:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950924544001,"66":27919,"188":206,"88":20992,"24":29,"16":357721267668779008,"45":-6410381462556243968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-25 13:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950924544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:01:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 13:01:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357721267668779008,"km_value":357721267668779.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6410381462556243968,"description":"Unknown IO ID 45"} 
[2026-07-25 13:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950924544001,"power":27919,"unknown_188":206,"unknown_88":20992,"ignition":29,"odometer":null,"unknown_45":-6410381462556243968}} 
[2026-07-25 13:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":141025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:01:10] local.INFO: GPS data processed {"connection_id":141025,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:01:10] local.INFO: Acknowledgment sent {"connection_id":141025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:01:30] local.INFO: TCP Data received {"connection_id":143436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982ec9d8012d7c668005da3d88001200a110..."} 
[2026-07-25 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982ec9d8012d7c668005da3d88001200a110..."} 
[2026-07-25 13:01:30] local.INFO: Processing buffer {"connection_id":143436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982ec9d8012d7c668005da3d88001200a110..."} 
[2026-07-25 13:01:30] local.INFO: Packet analysis {"connection_id":143436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:01:30] local.INFO: Extracted packet for processing {"connection_id":143436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:01:30] local.INFO: GPS Element Parsed {"raw_longitude":763127424,"raw_latitude":98188680,"longitude_deg":76.3127424,"latitude_deg":9.818868,"altitude":18,"angle":161,"satellites":16,"speed":34,"hex_longitude":"2d7c6680","hex_latitude":"05da3d88","is_valid_coordinates":true} 
[2026-07-25 13:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950942720001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110194554279297024,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960826277466513408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964631000,"timestamp_ms":1784964631000,"timestamp_seconds":1784964631,"priority":1,"record_length":96,"hex_timestamp":"0000019f982ec9d8"} 
[2026-07-25 13:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:01: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-07-25 13:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:01: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-07-25 13:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950942720001,"66":13319,"187":206,"85":15104,"24":34,"16":110194554279297024,"45":8960826277466513408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 13:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950942720001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:01:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 13:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110194554279297024,"km_value":110194554279297.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960826277466513408,"description":"Unknown IO ID 45"} 
[2026-07-25 13:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950942720001,"power":13319,"unknown_187":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8960826277466513408}} 
[2026-07-25 13:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":143436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:01:30] local.INFO: GPS data processed {"connection_id":143436,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:01:30] local.INFO: Acknowledgment sent {"connection_id":143436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:01:40] local.INFO: TCP Data received {"connection_id":141025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982deb30012da74940060179c80028008126..."} 
[2026-07-25 13:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982deb30012da74940060179c80028008126..."} 
[2026-07-25 13:01:40] local.INFO: Processing buffer {"connection_id":141025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982deb30012da74940060179c80028008126..."} 
[2026-07-25 13:01:40] local.INFO: Packet analysis {"connection_id":141025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:01:40] local.INFO: Extracted packet for processing {"connection_id":141025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982d"} 
[2026-07-25 13:01:40] local.INFO: GPS Element Parsed {"raw_longitude":765937984,"raw_latitude":100760008,"longitude_deg":76.5937984,"latitude_deg":10.0760008,"altitude":40,"angle":129,"satellites":38,"speed":26,"hex_longitude":"2da74940","hex_latitude":"060179c8","is_valid_coordinates":true} 
[2026-07-25 13:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950927872001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357721662805770240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6400600207116435456,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784964574000,"timestamp_ms":1784964574000,"timestamp_seconds":1784964574,"priority":1,"record_length":96,"hex_timestamp":"0000019f982deb30"} 
[2026-07-25 13:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950927872001,"66":27876,"188":206,"88":20992,"24":26,"16":357721662805770240,"45":-6400600207116435456},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-25 13:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950927872001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:01:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 13:01:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357721662805770240,"km_value":357721662805770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6400600207116435456,"description":"Unknown IO ID 45"} 
[2026-07-25 13:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950927872001,"power":27876,"unknown_188":206,"unknown_88":20992,"ignition":26,"odometer":null,"unknown_45":-6400600207116435456}} 
[2026-07-25 13:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":141025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:01:41] local.INFO: GPS data processed {"connection_id":141025,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:01:41] local.INFO: Acknowledgment sent {"connection_id":141025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:01:53] local.INFO: TCP Data received {"connection_id":143438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:53] local.INFO: Processing buffer {"connection_id":143438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:53] local.INFO: IMEI packet received {"connection_id":143438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":143438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:01:56] local.INFO: TCP Data received {"connection_id":143438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:56] local.INFO: Processing buffer {"connection_id":143438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:56] local.INFO: IMEI packet received {"connection_id":143438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":143438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:01:58] local.INFO: TCP Data received {"connection_id":143438,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:58] local.INFO: Processing buffer {"connection_id":143438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:01:58] local.INFO: IMEI packet received {"connection_id":143438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":143438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:01:58] local.INFO: TCP Data received {"connection_id":143438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982ef0e8012d7c718005da18b0001200a412..."} 
[2026-07-25 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982ef0e8012d7c718005da18b0001200a412..."} 
[2026-07-25 13:01:58] local.INFO: Processing buffer {"connection_id":143438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982ef0e8012d7c718005da18b0001200a412..."} 
[2026-07-25 13:01:58] local.INFO: Packet analysis {"connection_id":143438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:01:58] local.INFO: Extracted packet for processing {"connection_id":143438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":98179248,"longitude_deg":76.313024,"latitude_deg":9.8179248,"altitude":18,"angle":164,"satellites":18,"speed":39,"hex_longitude":"2d7c7180","hex_latitude":"05da18b0","is_valid_coordinates":true} 
[2026-07-25 13:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950945536001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110195031020666880,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963992870952208384,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784964641000,"timestamp_ms":1784964641000,"timestamp_seconds":1784964641,"priority":1,"record_length":96,"hex_timestamp":"0000019f982ef0e8"} 
[2026-07-25 13:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2553135160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5721822031704670203,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-5663276488457317888,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3489738108,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3221609099,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3668795392,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-07-25 13:01:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,187,85,24,241,157,16,125,159,158,45,64,96,18,10,66,124,84,128,1,240,193,227,152,218,4,113,205,250,75,208,19,239,51,2,135,5,11,182],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-25 13:01:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297213782776479744,"timestamp_seconds":1297213782776479.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:01: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-07-25 13:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950945536001,"66":13200,"187":206,"85":15104,"24":39,"16":110195031020666880,"45":8963992870952208384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 13:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950945536001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:01:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 13:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110195031020666880,"km_value":110195031020666.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963992870952208384,"description":"Unknown IO ID 45"} 
[2026-07-25 13:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950945536001,"power":13200,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8963992870952208384}} 
[2026-07-25 13:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":143438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:01:59] local.INFO: GPS data processed {"connection_id":143438,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:01:59] local.INFO: Acknowledgment sent {"connection_id":143438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:02:00] local.INFO: TCP Data received {"connection_id":143437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:02:00] local.INFO: Processing buffer {"connection_id":143437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:02:00] local.INFO: IMEI packet received {"connection_id":143437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:02:00] local.INFO: TCP Data received {"connection_id":143437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:02:00] local.INFO: Processing buffer {"connection_id":143437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:02:00] local.INFO: IMEI packet received {"connection_id":143437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:02:01] local.INFO: TCP Data received {"connection_id":143437,"ip":"42.109.136.3","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f98..."} 
[2026-07-25 13:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143437,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f98..."} 
[2026-07-25 13:02:01] local.INFO: Processing buffer {"connection_id":143437,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f98..."} 
[2026-07-25 13:02:01] local.INFO: IMEI packet received {"connection_id":143437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":143437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:02:05] local.INFO: TCP Data received {"connection_id":143437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982e50c0012da784c0060149080027008627..."} 
[2026-07-25 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982e50c0012da784c0060149080027008627..."} 
[2026-07-25 13:02:05] local.INFO: Processing buffer {"connection_id":143437,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f982e21e0012da76640060162500028008026..."} 
[2026-07-25 13:02:05] local.INFO: Packet analysis {"connection_id":143437,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:02:05] local.INFO: Extracted packet for processing {"connection_id":143437,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":765945408,"raw_latitude":100754000,"longitude_deg":76.5945408,"latitude_deg":10.0754,"altitude":40,"angle":128,"satellites":38,"speed":30,"hex_longitude":"2da76640","hex_latitude":"06016250","is_valid_coordinates":true} 
[2026-07-25 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950930944001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357722122367270912,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6392507801536968704,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784964588000,"timestamp_ms":1784964588000,"timestamp_seconds":1784964588,"priority":1,"record_length":96,"hex_timestamp":"0000019f982e21e0"} 
[2026-07-25 13:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 13:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950930944001,"66":27865,"188":206,"88":20992,"24":30,"16":357722122367270912,"45":-6392507801536968704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,88,24,16,45]} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950930944001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357722122367270912,"km_value":357722122367270.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6392507801536968704,"description":"Unknown IO ID 45"} 
[2026-07-25 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950930944001,"power":27865,"unknown_188":206,"unknown_88":20992,"ignition":30,"odometer":null,"unknown_45":-6392507801536968704}} 
[2026-07-25 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":143437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:02:05] local.INFO: GPS data processed {"connection_id":143437,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:02:05] local.INFO: Acknowledgment sent {"connection_id":143437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:02:05] local.INFO: Packet analysis {"connection_id":143437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:02:05] local.INFO: Extracted packet for processing {"connection_id":143437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":765953216,"raw_latitude":100747528,"longitude_deg":76.5953216,"latitude_deg":10.0747528,"altitude":39,"angle":134,"satellites":39,"speed":35,"hex_longitude":"2da784c0","hex_latitude":"06014908","is_valid_coordinates":true} 
[2026-07-25 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950934528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357722607698575360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6384345027213897728,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784964600000,"timestamp_ms":1784964600000,"timestamp_seconds":1784964600,"priority":1,"record_length":96,"hex_timestamp":"0000019f982e50c0"} 
[2026-07-25 13:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:02: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-07-25 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 13:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950934528001,"66":27919,"221":206,"88":20992,"24":35,"16":357722607698575360,"45":-6384345027213897728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,88,24,16,45]} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950934528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357722607698575360,"km_value":357722607698575.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6384345027213897728,"description":"Unknown IO ID 45"} 
[2026-07-25 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950934528001,"power":27919,"unknown_221":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-6384345027213897728}} 
[2026-07-25 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":143437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:02:05] local.INFO: GPS data processed {"connection_id":143437,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:02:05] local.INFO: Acknowledgment sent {"connection_id":143437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:02:05] local.INFO: TCP Data received {"connection_id":143437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f982e77d0012da79c0006012ec80025008a27..."} 
[2026-07-25 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982e77d0012da79c0006012ec80025008a27..."} 
[2026-07-25 13:02:05] local.INFO: Processing buffer {"connection_id":143437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982e77d0012da79c0006012ec80025008a27..."} 
[2026-07-25 13:02:05] local.INFO: Packet analysis {"connection_id":143437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:02:05] local.INFO: Extracted packet for processing {"connection_id":143437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982e"} 
[2026-07-25 13:02:05] local.INFO: GPS Element Parsed {"raw_longitude":765959168,"raw_latitude":100740808,"longitude_deg":76.5959168,"latitude_deg":10.0740808,"altitude":37,"angle":138,"satellites":39,"speed":37,"hex_longitude":"2da79c00","hex_latitude":"06012ec8","is_valid_coordinates":true} 
[2026-07-25 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950937600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357723041490272256,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6375760040425879552,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784964610000,"timestamp_ms":1784964610000,"timestamp_seconds":1784964610,"priority":1,"record_length":96,"hex_timestamp":"0000019f982e77d0"} 
[2026-07-25 13:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:02: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-07-25 13:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950937600001,"66":27974,"221":206,"88":20992,"24":37,"16":357723041490272256,"45":-6375760040425879552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,88,24,16,45]} 
[2026-07-25 13:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950937600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357723041490272256,"km_value":357723041490272.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6375760040425879552,"description":"Unknown IO ID 45"} 
[2026-07-25 13:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950937600001,"power":27974,"unknown_221":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6375760040425879552}} 
[2026-07-25 13:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":143437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:02:05] local.INFO: GPS data processed {"connection_id":143437,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:02:05] local.INFO: Acknowledgment sent {"connection_id":143437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:02:30] local.INFO: TCP Data received {"connection_id":143438,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982f1410012d7c788005d9f6c0001200a70f..."} 
[2026-07-25 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982f1410012d7c788005d9f6c0001200a70f..."} 
[2026-07-25 13:02:30] local.INFO: Processing buffer {"connection_id":143438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982f1410012d7c788005d9f6c0001200a70f..."} 
[2026-07-25 13:02:30] local.INFO: Packet analysis {"connection_id":143438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982f"} 
[2026-07-25 13:02:30] local.INFO: Extracted packet for processing {"connection_id":143438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982f"} 
[2026-07-25 13:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763132032,"raw_latitude":98170560,"longitude_deg":76.3132032,"latitude_deg":9.817056,"altitude":18,"angle":167,"satellites":15,"speed":38,"hex_longitude":"2d7c7880","hex_latitude":"05d9f6c0","is_valid_coordinates":true} 
[2026-07-25 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950948096001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110195460517396480,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967089095693611008,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964650000,"timestamp_ms":1784964650000,"timestamp_seconds":1784964650,"priority":1,"record_length":96,"hex_timestamp":"0000019f982f1410"} 
[2026-07-25 13:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-25 13:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:02: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-07-25 13:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950948096001,"66":12961,"187":206,"85":15104,"24":38,"16":110195460517396480,"45":8967089095693611008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 13:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950948096001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:02:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 13:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110195460517396480,"km_value":110195460517396.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967089095693611008,"description":"Unknown IO ID 45"} 
[2026-07-25 13:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950948096001,"power":12961,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8967089095693611008}} 
[2026-07-25 13:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":143438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:02:30] local.INFO: GPS data processed {"connection_id":143438,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:02:30] local.INFO: Acknowledgment sent {"connection_id":143438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:02:36] local.INFO: TCP Data received {"connection_id":143437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98300258012da8ca00060094a8002c003928..."} 
[2026-07-25 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98300258012da8ca00060094a8002c003928..."} 
[2026-07-25 13:02:36] local.INFO: Processing buffer {"connection_id":143437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98300258012da8ca00060094a8002c003928..."} 
[2026-07-25 13:02:36] local.INFO: Packet analysis {"connection_id":143437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:02:36] local.INFO: Extracted packet for processing {"connection_id":143437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":766036480,"raw_latitude":100701352,"longitude_deg":76.603648,"latitude_deg":10.0701352,"altitude":44,"angle":57,"satellites":40,"speed":20,"hex_longitude":"2da8ca00","hex_latitude":"060094a8","is_valid_coordinates":true} 
[2026-07-25 13:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950963968001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357727576975736832,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6287447266495649792,"note":"Value kept but may cause issues"} 
[2026-07-25 13:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784964711000,"timestamp_ms":1784964711000,"timestamp_seconds":1784964711,"priority":1,"record_length":96,"hex_timestamp":"0000019f98300258"} 
[2026-07-25 13:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:02: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-07-25 13:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 13:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950963968001,"66":27995,"240":206,"88":20992,"24":20,"16":357727576975736832,"45":-6287447266495649792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-25 13:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950963968001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:02:36] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-25 13:02:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357727576975736832,"km_value":357727576975736.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6287447266495649792,"description":"Unknown IO ID 45"} 
[2026-07-25 13:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950963968001,"power":27995,"unknown_240":206,"unknown_88":20992,"ignition":20,"odometer":null,"unknown_45":-6287447266495649792}} 
[2026-07-25 13:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":143437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:02:37] local.INFO: GPS data processed {"connection_id":143437,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:02:37] local.INFO: Acknowledgment sent {"connection_id":143437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:02:55] local.INFO: TCP Data received {"connection_id":143439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:02:55] local.INFO: Processing buffer {"connection_id":143439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:02:55] local.INFO: IMEI packet received {"connection_id":143439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":143439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:02:58] local.INFO: TCP Data received {"connection_id":143439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:02:58] local.INFO: Processing buffer {"connection_id":143439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:02:58] local.INFO: IMEI packet received {"connection_id":143439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":143439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:00] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:00] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:00] local.INFO: IMEI packet received {"connection_id":141086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":141086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:03:01] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:01] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:01] local.INFO: IMEI packet received {"connection_id":141086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":141086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:03] local.INFO: TCP Data received {"connection_id":143439,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:03] local.INFO: Processing buffer {"connection_id":143439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:03] local.INFO: IMEI packet received {"connection_id":143439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":143439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:03] local.INFO: TCP Data received {"connection_id":143439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982f3b20012d7c7e8005d9d2c0001200ab0f..."} 
[2026-07-25 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982f3b20012d7c7e8005d9d2c0001200ab0f..."} 
[2026-07-25 13:03:03] local.INFO: Processing buffer {"connection_id":143439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982f3b20012d7c7e8005d9d2c0001200ab0f..."} 
[2026-07-25 13:03:03] local.INFO: Packet analysis {"connection_id":143439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982f"} 
[2026-07-25 13:03:03] local.INFO: Extracted packet for processing {"connection_id":143439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982f"} 
[2026-07-25 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":98161344,"longitude_deg":76.3133568,"latitude_deg":9.8161344,"altitude":18,"angle":171,"satellites":15,"speed":36,"hex_longitude":"2d7c7e80","hex_latitude":"05d9d2c0","is_valid_coordinates":true} 
[2026-07-25 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950950400001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110195915783929856,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969059420528361472,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784964660000,"timestamp_ms":1784964660000,"timestamp_seconds":1784964660,"priority":1,"record_length":96,"hex_timestamp":"0000019f982f3b20"} 
[2026-07-25 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-25 13:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950950400001,"66":13222,"187":206,"85":15104,"24":36,"16":110195915783929856,"45":8969059420528361472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950950400001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110195915783929856,"km_value":110195915783929.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969059420528361472,"description":"Unknown IO ID 45"} 
[2026-07-25 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950950400001,"power":13222,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8969059420528361472}} 
[2026-07-25 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":143439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:03:03] local.INFO: GPS data processed {"connection_id":143439,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:03:03] local.INFO: Acknowledgment sent {"connection_id":143439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:03:06] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:06] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:06] local.INFO: IMEI packet received {"connection_id":141086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":141086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:06] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98300a28012da8cd8006009668002c004629..."} 
[2026-07-25 13:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98300a28012da8cd8006009668002c004629..."} 
[2026-07-25 13:03:06] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98300a28012da8cd8006009668002c004629..."} 
[2026-07-25 13:03:06] local.INFO: Packet analysis {"connection_id":141086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:03:06] local.INFO: Extracted packet for processing {"connection_id":141086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":766037376,"raw_latitude":100701800,"longitude_deg":76.6037376,"latitude_deg":10.07018,"altitude":44,"angle":70,"satellites":41,"speed":20,"hex_longitude":"2da8cd80","hex_latitude":"06009668","is_valid_coordinates":true} 
[2026-07-25 13:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950966016001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357727624220377088,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6284210304262559744,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784964713000,"timestamp_ms":1784964713000,"timestamp_seconds":1784964713,"priority":1,"record_length":96,"hex_timestamp":"0000019f98300a28"} 
[2026-07-25 13:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950966016001,"66":27800,"240":206,"88":20992,"24":20,"16":357727624220377088,"45":-6284210304262559744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,88,24,16,45]} 
[2026-07-25 13:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950966016001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:03:06] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-25 13:03:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-07-25 13:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357727624220377088,"km_value":357727624220377.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6284210304262559744,"description":"Unknown IO ID 45"} 
[2026-07-25 13:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950966016001,"power":27800,"unknown_240":206,"unknown_88":20992,"ignition":20,"odometer":null,"unknown_45":-6284210304262559744}} 
[2026-07-25 13:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":141086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:03:06] local.INFO: GPS data processed {"connection_id":141086,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:03:06] local.INFO: Acknowledgment sent {"connection_id":141086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:03:08] local.INFO: TCP Data received {"connection_id":143439,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f982f6230012d7c824005d9afb0001300ad0d..."} 
[2026-07-25 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f982f6230012d7c824005d9afb0001300ad0d..."} 
[2026-07-25 13:03:08] local.INFO: Processing buffer {"connection_id":143439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f982f6230012d7c824005d9afb0001300ad0d..."} 
[2026-07-25 13:03:08] local.INFO: Packet analysis {"connection_id":143439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f982f"} 
[2026-07-25 13:03:08] local.INFO: Extracted packet for processing {"connection_id":143439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f982f"} 
[2026-07-25 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":763134528,"raw_latitude":98152368,"longitude_deg":76.3134528,"latitude_deg":9.8152368,"altitude":19,"angle":173,"satellites":13,"speed":37,"hex_longitude":"2d7c8240","hex_latitude":"05d9afb0","is_valid_coordinates":true} 
[2026-07-25 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950952960001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110196353870594048,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270386266112,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784964670000,"timestamp_ms":1784964670000,"timestamp_seconds":1784964670,"priority":1,"record_length":96,"hex_timestamp":"0000019f982f6230"} 
[2026-07-25 13:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 13:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950952960001,"66":13276,"245":206,"85":15104,"24":37,"16":110196353870594048,"45":8970748270386266112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 13:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950952960001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:03:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110196353870594048,"km_value":110196353870594.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270386266112,"description":"Unknown IO ID 45"} 
[2026-07-25 13:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950952960001,"power":13276,"geofence_id":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8970748270386266112}} 
[2026-07-25 13:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":143439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:03:08] local.INFO: GPS data processed {"connection_id":143439,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:03:08] local.INFO: Acknowledgment sent {"connection_id":143439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:03:38] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9830e4e8012da98d8006005ae00022005226..."} 
[2026-07-25 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9830e4e8012da98d8006005ae00022005226..."} 
[2026-07-25 13:03:38] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9830e4e8012da98d8006005ae00022005226..."} 
[2026-07-25 13:03:38] local.INFO: Packet analysis {"connection_id":141086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:03:38] local.INFO: Extracted packet for processing {"connection_id":141086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":766086528,"raw_latitude":100686560,"longitude_deg":76.6086528,"latitude_deg":10.068656,"altitude":34,"angle":82,"satellites":38,"speed":47,"hex_longitude":"2da98d80","hex_latitude":"06005ae0","is_valid_coordinates":true} 
[2026-07-25 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950978816001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357730214085656576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6239244676736794624,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784964769000,"timestamp_ms":1784964769000,"timestamp_seconds":1784964769,"priority":1,"record_length":96,"hex_timestamp":"0000019f9830e4e8"} 
[2026-07-25 13:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 13:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950978816001,"66":27930,"61":206,"88":20480,"24":47,"16":357730214085656576,"45":-6239244676736794624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,88,24,16,45]} 
[2026-07-25 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950978816001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:03:38] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 13:03:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357730214085656576,"km_value":357730214085656.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6239244676736794624,"description":"Unknown IO ID 45"} 
[2026-07-25 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950978816001,"power":27930,"unknown_61":206,"unknown_88":20480,"ignition":47,"odometer":null,"unknown_45":-6239244676736794624}} 
[2026-07-25 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":141086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:03:38] local.INFO: GPS data processed {"connection_id":141086,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:03:38] local.INFO: Acknowledgment sent {"connection_id":141086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:03:53] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:53] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:53] local.INFO: IMEI packet received {"connection_id":141027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":141027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:03:53] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:53] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:53] local.INFO: IMEI packet received {"connection_id":141027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":141027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:55] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:55] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:55] local.INFO: IMEI packet received {"connection_id":141028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":141028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:03:56] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:56] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:56] local.INFO: IMEI packet received {"connection_id":141028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":141028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:57] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:57] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:03:57] local.INFO: IMEI packet received {"connection_id":141028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":141028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:58] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:58] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:03:58] local.INFO: IMEI packet received {"connection_id":141027,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":141027,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:03:59] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983188f8012d7c9c8005d86918000f00b114..."} 
[2026-07-25 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983188f8012d7c9c8005d86918000f00b114..."} 
[2026-07-25 13:03:59] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983188f8012d7c9c8005d86918000f00b114..."} 
[2026-07-25 13:03:59] local.INFO: Packet analysis {"connection_id":141027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:03:59] local.INFO: Extracted packet for processing {"connection_id":141027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763141248,"raw_latitude":98068760,"longitude_deg":76.3141248,"latitude_deg":9.806876,"altitude":15,"angle":177,"satellites":20,"speed":31,"hex_longitude":"2d7c9c80","hex_latitude":"05d86918","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950987264001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110200498514034688,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979122150922090496,"note":"Value kept but may cause issues"} 
[2026-07-25 13:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964811000,"timestamp_ms":1784964811000,"timestamp_seconds":1784964811,"priority":1,"record_length":96,"hex_timestamp":"0000019f983188f8"} 
[2026-07-25 13:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13: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-07-25 13: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-07-25 13:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:03: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-07-25 13:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950987264001,"66":12982,"196":206,"85":15104,"24":31,"16":110200498514034688,"45":8979122150922090496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 13:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950987264001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:03:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 13:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110200498514034688,"km_value":110200498514034.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979122150922090496,"description":"Unknown IO ID 45"} 
[2026-07-25 13:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950987264001,"power":12982,"unknown_196":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8979122150922090496}} 
[2026-07-25 13:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":141027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:03:59] local.INFO: GPS data processed {"connection_id":141027,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:03:59] local.INFO: Acknowledgment sent {"connection_id":141027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:04:01] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:04:01] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:04:01] local.INFO: IMEI packet received {"connection_id":141028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":141028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:04:01] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9830e4e8012da98d8006005ae00022005226..."} 
[2026-07-25 13:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9830e4e8012da98d8006005ae00022005226..."} 
[2026-07-25 13:04:01] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9830e4e8012da98d8006005ae00022005226..."} 
[2026-07-25 13:04:01] local.INFO: Packet analysis {"connection_id":141028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:04:01] local.INFO: Extracted packet for processing {"connection_id":141028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":766086528,"raw_latitude":100686560,"longitude_deg":76.6086528,"latitude_deg":10.068656,"altitude":34,"angle":82,"satellites":38,"speed":47,"hex_longitude":"2da98d80","hex_latitude":"06005ae0","is_valid_coordinates":true} 
[2026-07-25 13:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950980864001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357730214085656576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6229181946319413248,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784964769000,"timestamp_ms":1784964769000,"timestamp_seconds":1784964769,"priority":1,"record_length":96,"hex_timestamp":"0000019f9830e4e8"} 
[2026-07-25 13:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950980864001,"66":27930,"61":206,"88":20480,"24":47,"16":357730214085656576,"45":-6229181946319413248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,88,24,16,45]} 
[2026-07-25 13:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950980864001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:04:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 13:04:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357730214085656576,"km_value":357730214085656.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6229181946319413248,"description":"Unknown IO ID 45"} 
[2026-07-25 13:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950980864001,"power":27930,"unknown_61":206,"unknown_88":20480,"ignition":47,"odometer":null,"unknown_45":-6229181946319413248}} 
[2026-07-25 13:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":141028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:04:01] local.INFO: GPS data processed {"connection_id":141028,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:04:01] local.INFO: Acknowledgment sent {"connection_id":141028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:04:30] local.INFO: TCP Data received {"connection_id":141027,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9831b008012d7c9e4005d84408001000b014..."} 
[2026-07-25 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9831b008012d7c9e4005d84408001000b014..."} 
[2026-07-25 13:04:30] local.INFO: Processing buffer {"connection_id":141027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9831b008012d7c9e4005d84408001000b014..."} 
[2026-07-25 13:04:30] local.INFO: Packet analysis {"connection_id":141027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:04:30] local.INFO: Extracted packet for processing {"connection_id":141027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763141696,"raw_latitude":98059272,"longitude_deg":76.3141696,"latitude_deg":9.8059272,"altitude":16,"angle":176,"satellites":20,"speed":38,"hex_longitude":"2d7c9e40","hex_latitude":"05d84408","is_valid_coordinates":true} 
[2026-07-25 13:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950991616001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110200958075535360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979192519663884288,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964821000,"timestamp_ms":1784964821000,"timestamp_seconds":1784964821,"priority":1,"record_length":96,"hex_timestamp":"0000019f9831b008"} 
[2026-07-25 13:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 13:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141027,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:04: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-07-25 13:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950991616001,"66":13091,"196":206,"85":15104,"24":38,"16":110200958075535360,"45":8979192519663884288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 13:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950991616001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:04:30] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 13:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110200958075535360,"km_value":110200958075535.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979192519663884288,"description":"Unknown IO ID 45"} 
[2026-07-25 13:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950991616001,"power":13091,"unknown_196":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8979192519663884288}} 
[2026-07-25 13:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":141027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:04:30] local.INFO: GPS data processed {"connection_id":141027,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:04:30] local.INFO: Acknowledgment sent {"connection_id":141027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:04:33] local.INFO: TCP Data received {"connection_id":141028,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9830fc58012da9a88006005d380021005e28..."} 
[2026-07-25 13:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9830fc58012da9a88006005d380021005e28..."} 
[2026-07-25 13:04:33] local.INFO: Processing buffer {"connection_id":141028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9830fc58012da9a88006005d380021005e28..."} 
[2026-07-25 13:04:33] local.INFO: Packet analysis {"connection_id":141028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:04:33] local.INFO: Extracted packet for processing {"connection_id":141028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9830"} 
[2026-07-25 13:04:33] local.INFO: GPS Element Parsed {"raw_longitude":766093440,"raw_latitude":100687160,"longitude_deg":76.609344,"latitude_deg":10.068716,"altitude":33,"angle":94,"satellites":40,"speed":45,"hex_longitude":"2da9a880","hex_latitude":"06005d38","is_valid_coordinates":true} 
[2026-07-25 13:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950980864001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357730549093105664,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6229181946319413248,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784964775000,"timestamp_ms":1784964775000,"timestamp_seconds":1784964775,"priority":1,"record_length":96,"hex_timestamp":"0000019f9830fc58"} 
[2026-07-25 13:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950980864001,"66":28028,"61":206,"88":20480,"24":45,"16":357730549093105664,"45":-6229181946319413248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,88,24,16,45]} 
[2026-07-25 13:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950980864001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:04:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 13:04:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357730549093105664,"km_value":357730549093105.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6229181946319413248,"description":"Unknown IO ID 45"} 
[2026-07-25 13:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950980864001,"power":28028,"unknown_61":206,"unknown_88":20480,"ignition":45,"odometer":null,"unknown_45":-6229181946319413248}} 
[2026-07-25 13:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":141028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:04:33] local.INFO: GPS data processed {"connection_id":141028,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:04:33] local.INFO: Acknowledgment sent {"connection_id":141028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:04:53] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:04:53] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:04:53] local.INFO: IMEI packet received {"connection_id":141087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":141087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:04:58] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:04:58] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:04:58] local.INFO: IMEI packet received {"connection_id":141087,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":141087,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:04:59] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9831d718012d7ca18005d81fe0000f00ad14..."} 
[2026-07-25 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9831d718012d7ca18005d81fe0000f00ad14..."} 
[2026-07-25 13:04:59] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9831d718012d7ca18005d81fe0000f00ad14..."} 
[2026-07-25 13:04:59] local.INFO: Packet analysis {"connection_id":141087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:04:59] local.INFO: Extracted packet for processing {"connection_id":141087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763142528,"raw_latitude":98050016,"longitude_deg":76.3142528,"latitude_deg":9.8050016,"altitude":15,"angle":173,"satellites":20,"speed":37,"hex_longitude":"2d7ca180","hex_latitude":"05d81fe0","is_valid_coordinates":true} 
[2026-07-25 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950994176001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110201413342068736,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979685100870699008,"note":"Value kept but may cause issues"} 
[2026-07-25 13:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784964831000,"timestamp_ms":1784964831000,"timestamp_seconds":1784964831,"priority":1,"record_length":96,"hex_timestamp":"0000019f9831d718"} 
[2026-07-25 13:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:04: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-07-25 13:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:04: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-07-25 13:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950994176001,"66":13200,"196":206,"85":15104,"24":37,"16":110201413342068736,"45":8979685100870699008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 13:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950994176001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:04:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 13:04:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110201413342068736,"km_value":110201413342068.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979685100870699008,"description":"Unknown IO ID 45"} 
[2026-07-25 13:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950994176001,"power":13200,"unknown_196":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8979685100870699008}} 
[2026-07-25 13:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":141087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:04:59] local.INFO: GPS data processed {"connection_id":141087,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:04:59] local.INFO: Acknowledgment sent {"connection_id":141087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:05:00] local.INFO: TCP Data received {"connection_id":143440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:05:00] local.INFO: Processing buffer {"connection_id":143440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:05:00] local.INFO: IMEI packet received {"connection_id":143440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:05:06] local.INFO: TCP Data received {"connection_id":143440,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:05:06] local.INFO: Processing buffer {"connection_id":143440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:05:06] local.INFO: IMEI packet received {"connection_id":143440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":143440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:05:07] local.INFO: TCP Data received {"connection_id":143440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9831c778012daa554006005570001c007529..."} 
[2026-07-25 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9831c778012daa554006005570001c007529..."} 
[2026-07-25 13:05:07] local.INFO: Processing buffer {"connection_id":143440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9831c778012daa554006005570001c007529..."} 
[2026-07-25 13:05:07] local.INFO: Packet analysis {"connection_id":143440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:05:07] local.INFO: Extracted packet for processing {"connection_id":143440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":766137664,"raw_latitude":100685168,"longitude_deg":76.6137664,"latitude_deg":10.0685168,"altitude":28,"angle":117,"satellites":41,"speed":29,"hex_longitude":"2daa5540","hex_latitude":"06005570","is_valid_coordinates":true} 
[2026-07-25 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950995712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357732864080478208,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6172957319721816064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784964827000,"timestamp_ms":1784964827000,"timestamp_seconds":1784964827,"priority":1,"record_length":96,"hex_timestamp":"0000019f9831c778"} 
[2026-07-25 13:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950995712001,"66":27919,"60":206,"88":20480,"24":29,"16":357732864080478208,"45":-6172957319721816064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-25 13:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950995712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:05:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 13:05:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357732864080478208,"km_value":357732864080478.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6172957319721816064,"description":"Unknown IO ID 45"} 
[2026-07-25 13:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950995712001,"power":27919,"unknown_60":206,"unknown_88":20480,"ignition":29,"odometer":null,"unknown_45":-6172957319721816064}} 
[2026-07-25 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":143440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:05:07] local.INFO: GPS data processed {"connection_id":143440,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:05:07] local.INFO: Acknowledgment sent {"connection_id":143440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:05:30] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9831fe28012d7ca24005d7fad8000f00af12..."} 
[2026-07-25 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9831fe28012d7ca24005d7fad8000f00af12..."} 
[2026-07-25 13:05:30] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9831fe28012d7ca24005d7fad8000f00af12..."} 
[2026-07-25 13:05:30] local.INFO: Packet analysis {"connection_id":141087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:05:30] local.INFO: Extracted packet for processing {"connection_id":141087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9831"} 
[2026-07-25 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763142720,"raw_latitude":98040536,"longitude_deg":76.314272,"latitude_deg":9.8040536,"altitude":15,"angle":175,"satellites":18,"speed":37,"hex_longitude":"2d7ca240","hex_latitude":"05d7fad8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950996736001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110201872903569408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980599894542639104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784964841000,"timestamp_ms":1784964841000,"timestamp_seconds":1784964841,"priority":1,"record_length":96,"hex_timestamp":"0000019f9831fe28"} 
[2026-07-25 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-25 13:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141087,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:05: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-07-25 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950996736001,"66":13178,"196":206,"85":15104,"24":37,"16":110201872903569408,"45":8980599894542639104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950996736001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:05:30] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 13:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110201872903569408,"km_value":110201872903569.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980599894542639104,"description":"Unknown IO ID 45"} 
[2026-07-25 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950996736001,"power":13178,"unknown_196":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8980599894542639104}} 
[2026-07-25 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":141087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:05:30] local.INFO: GPS data processed {"connection_id":141087,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:05:30] local.INFO: Acknowledgment sent {"connection_id":141087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:05:39] local.INFO: TCP Data received {"connection_id":143440,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98320210012daa75c006004630001a007929..."} 
[2026-07-25 13:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98320210012daa75c006004630001a007929..."} 
[2026-07-25 13:05:39] local.INFO: Processing buffer {"connection_id":143440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98320210012daa75c006004630001a007929..."} 
[2026-07-25 13:05:39] local.INFO: Packet analysis {"connection_id":143440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:05:39] local.INFO: Extracted packet for processing {"connection_id":143440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:05:39] local.INFO: GPS Element Parsed {"raw_longitude":766145984,"raw_latitude":100681264,"longitude_deg":76.6145984,"latitude_deg":10.0681264,"altitude":26,"angle":121,"satellites":41,"speed":8,"hex_longitude":"2daa75c0","hex_latitude":"06004630","is_valid_coordinates":true} 
[2026-07-25 13:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950995712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357733306462109696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6172957319721816064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784964842000,"timestamp_ms":1784964842000,"timestamp_seconds":1784964842,"priority":1,"record_length":96,"hex_timestamp":"0000019f98320210"} 
[2026-07-25 13:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950995712001,"66":27995,"60":206,"88":20480,"24":8,"16":357733306462109696,"45":-6172957319721816064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-25 13:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950995712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:05:39] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 13:05:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357733306462109696,"km_value":357733306462109.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6172957319721816064,"description":"Unknown IO ID 45"} 
[2026-07-25 13:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950995712001,"power":27995,"unknown_60":206,"unknown_88":20480,"ignition":8,"odometer":null,"unknown_45":-6172957319721816064}} 
[2026-07-25 13:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":143440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:05:39] local.INFO: GPS data processed {"connection_id":143440,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:05:39] local.INFO: Acknowledgment sent {"connection_id":143440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:05:50] local.INFO: TCP Data received {"connection_id":141026,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:05:50] local.INFO: Processing buffer {"connection_id":141026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:05:50] local.INFO: IMEI packet received {"connection_id":141026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":141026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:05:53] local.INFO: TCP Data received {"connection_id":142076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:05:53] local.INFO: Processing buffer {"connection_id":142076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:05:53] local.INFO: IMEI packet received {"connection_id":142076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":142076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:05:57] local.INFO: TCP Data received {"connection_id":142076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142076,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:05:57] local.INFO: Processing buffer {"connection_id":142076,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:05:57] local.INFO: IMEI packet received {"connection_id":142076,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":142076,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:05:58] local.INFO: TCP Data received {"connection_id":142076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98322538012d7ca3c005d7d6e8000f00b411..."} 
[2026-07-25 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98322538012d7ca3c005d7d6e8000f00b411..."} 
[2026-07-25 13:05:58] local.INFO: Processing buffer {"connection_id":142076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98322538012d7ca3c005d7d6e8000f00b411..."} 
[2026-07-25 13:05:58] local.INFO: Packet analysis {"connection_id":142076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:05:58] local.INFO: Extracted packet for processing {"connection_id":142076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763143104,"raw_latitude":98031336,"longitude_deg":76.3143104,"latitude_deg":9.8031336,"altitude":15,"angle":180,"satellites":17,"speed":32,"hex_longitude":"2d7ca3c0","hex_latitude":"05d7d6e8","is_valid_coordinates":true} 
[2026-07-25 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950999296001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110202319580168192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811000772745216,"note":"Value kept but may cause issues"} 
[2026-07-25 13:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784964851000,"timestamp_ms":1784964851000,"timestamp_seconds":1784964851,"priority":1,"record_length":96,"hex_timestamp":"0000019f98322538"} 
[2026-07-25 13:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 13:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":142076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":142076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":142076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:05: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-07-25 13:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950999296001,"66":12928,"196":206,"85":15104,"24":32,"16":110202319580168192,"45":8980811000772745216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-07-25 13:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950999296001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:05:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-25 13:05:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110202319580168192,"km_value":110202319580168.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811000772745216,"description":"Unknown IO ID 45"} 
[2026-07-25 13:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950999296001,"power":12928,"unknown_196":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8980811000772745216}} 
[2026-07-25 13:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":142076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:05:58] local.INFO: GPS data processed {"connection_id":142076,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:05:58] local.INFO: Acknowledgment sent {"connection_id":142076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:06:01] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:01] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:01] local.INFO: IMEI packet received {"connection_id":141029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":141029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:06:12] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:12] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:12] local.INFO: IMEI packet received {"connection_id":141029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":141029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:06:14] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98322538012daa7a4006004308001a008628..."} 
[2026-07-25 13:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98322538012daa7a4006004308001a008628..."} 
[2026-07-25 13:06:14] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98322538012daa7a4006004308001a008628..."} 
[2026-07-25 13:06:14] local.INFO: Packet analysis {"connection_id":141029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:06:14] local.INFO: Extracted packet for processing {"connection_id":141029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":766147136,"raw_latitude":100680456,"longitude_deg":76.6147136,"latitude_deg":10.0680456,"altitude":26,"angle":134,"satellites":40,"speed":12,"hex_longitude":"2daa7a40","hex_latitude":"06004308","is_valid_coordinates":true} 
[2026-07-25 13:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456950999552001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357733375181586432,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6163809382979719168,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784964851000,"timestamp_ms":1784964851000,"timestamp_seconds":1784964851,"priority":1,"record_length":96,"hex_timestamp":"0000019f98322538"} 
[2026-07-25 13:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456950999552001,"66":27876,"60":206,"88":20480,"24":12,"16":357733375181586432,"45":-6163809382979719168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-25 13:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456950999552001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:06:14] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 13:06:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357733375181586432,"km_value":357733375181586.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6163809382979719168,"description":"Unknown IO ID 45"} 
[2026-07-25 13:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456950999552001,"power":27876,"unknown_60":206,"unknown_88":20480,"ignition":12,"odometer":null,"unknown_45":-6163809382979719168}} 
[2026-07-25 13:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":141029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:06:14] local.INFO: GPS data processed {"connection_id":141029,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:06:14] local.INFO: Acknowledgment sent {"connection_id":141029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:06:26] local.INFO: TCP Data received {"connection_id":141029,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98326f70012daa92c006002800001d007f29..."} 
[2026-07-25 13:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98326f70012daa92c006002800001d007f29..."} 
[2026-07-25 13:06:26] local.INFO: Processing buffer {"connection_id":141029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98326f70012daa92c006002800001d007f29..."} 
[2026-07-25 13:06:26] local.INFO: Packet analysis {"connection_id":141029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:06:26] local.INFO: Extracted packet for processing {"connection_id":141029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":766153408,"raw_latitude":100673536,"longitude_deg":76.6153408,"latitude_deg":10.0673536,"altitude":29,"angle":127,"satellites":41,"speed":24,"hex_longitude":"2daa92c0","hex_latitude":"06002800","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951001856001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357733826153152512,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6162542745584728064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784964870000,"timestamp_ms":1784964870000,"timestamp_seconds":1784964870,"priority":1,"record_length":96,"hex_timestamp":"0000019f98326f70"} 
[2026-07-25 13:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 13:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951001856001,"66":27821,"60":206,"88":20480,"24":24,"16":357733826153152512,"45":-6162542745584728064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,88,24,16,45]} 
[2026-07-25 13:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951001856001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:06:26] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 13:06:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357733826153152512,"km_value":357733826153152.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6162542745584728064,"description":"Unknown IO ID 45"} 
[2026-07-25 13:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951001856001,"power":27821,"unknown_60":206,"unknown_88":20480,"ignition":24,"odometer":null,"unknown_45":-6162542745584728064}} 
[2026-07-25 13:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":141029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:06:26] local.INFO: GPS data processed {"connection_id":141029,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:06:26] local.INFO: Acknowledgment sent {"connection_id":141029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:06:29] local.INFO: TCP Data received {"connection_id":142076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98325be8012d7ca6c005d7b5d8000d00a815..."} 
[2026-07-25 13:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98325be8012d7ca6c005d7b5d8000d00a815..."} 
[2026-07-25 13:06:29] local.INFO: Processing buffer {"connection_id":142076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98325be8012d7ca6c005d7b5d8000d00a815..."} 
[2026-07-25 13:06:29] local.INFO: Packet analysis {"connection_id":142076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:06:29] local.INFO: Extracted packet for processing {"connection_id":142076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763143872,"raw_latitude":98022872,"longitude_deg":76.3143872,"latitude_deg":9.8022872,"altitude":13,"angle":168,"satellites":21,"speed":19,"hex_longitude":"2d7ca6c0","hex_latitude":"05d7b5d8","is_valid_coordinates":true} 
[2026-07-25 13:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951001856001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110202731897028608,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981233213235456000,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784964865000,"timestamp_ms":1784964865000,"timestamp_seconds":1784964865,"priority":1,"record_length":96,"hex_timestamp":"0000019f98325be8"} 
[2026-07-25 13:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-25 13:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":142076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":142076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":142076,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951001856001,"66":12798,"195":206,"85":15104,"24":19,"16":110202731897028608,"45":8981233213235456000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-25 13:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951001856001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:06:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 13:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110202731897028608,"km_value":110202731897028.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981233213235456000,"description":"Unknown IO ID 45"} 
[2026-07-25 13:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951001856001,"power":12798,"unknown_195":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8981233213235456000}} 
[2026-07-25 13:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":142076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:06:29] local.INFO: GPS data processed {"connection_id":142076,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:06:29] local.INFO: Acknowledgment sent {"connection_id":142076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:06:53] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:06:53] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:06:53] local.INFO: IMEI packet received {"connection_id":141030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":141030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:06:56] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:56] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:06:56] local.INFO: IMEI packet received {"connection_id":141031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":141031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:06:58] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:06:58] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:06:58] local.INFO: IMEI packet received {"connection_id":141030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":141030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:06:58] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98344818012d7cf54005d64920000700ac16..."} 
[2026-07-25 13:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98344818012d7cf54005d64920000700ac16..."} 
[2026-07-25 13:06:58] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98344818012d7cf54005d64920000700ac16..."} 
[2026-07-25 13:06:58] local.INFO: Packet analysis {"connection_id":141030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:06:58] local.INFO: Extracted packet for processing {"connection_id":141030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":97929504,"longitude_deg":76.3163968,"latitude_deg":9.7929504,"altitude":7,"angle":172,"satellites":22,"speed":45,"hex_longitude":"2d7cf540","hex_latitude":"05d64920","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951035648001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110207396231512064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003188261395120128,"note":"Value kept but may cause issues"} 
[2026-07-25 13:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784964991000,"timestamp_ms":1784964991000,"timestamp_seconds":1784964991,"priority":1,"record_length":96,"hex_timestamp":"0000019f98344818"} 
[2026-07-25 13:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 13:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:06: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-07-25 13:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951035648001,"66":13254,"30":206,"85":15104,"24":45,"16":110207396231512064,"45":9003188261395120128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-07-25 13:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951035648001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:06:58] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-25 13:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110207396231512064,"km_value":110207396231512.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003188261395120128,"description":"Unknown IO ID 45"} 
[2026-07-25 13:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951035648001,"power":13254,"unknown_30":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9003188261395120128}} 
[2026-07-25 13:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":141030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:06:58] local.INFO: GPS data processed {"connection_id":141030,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:06:58] local.INFO: Acknowledgment sent {"connection_id":141030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:07:00] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:07:00] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:07:00] local.INFO: IMEI packet received {"connection_id":141031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":141031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:07:01] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9832a620012daab3c0060012a00020007a29..."} 
[2026-07-25 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9832a620012daab3c0060012a00020007a29..."} 
[2026-07-25 13:07:01] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9832a620012daab3c0060012a00020007a29..."} 
[2026-07-25 13:07:01] local.INFO: Packet analysis {"connection_id":141031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:07:01] local.INFO: Extracted packet for processing {"connection_id":141031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:07:01] local.INFO: GPS Element Parsed {"raw_longitude":766161856,"raw_latitude":100668064,"longitude_deg":76.6161856,"latitude_deg":10.0668064,"altitude":32,"angle":122,"satellites":41,"speed":31,"hex_longitude":"2daab3c0","hex_latitude":"060012a0","is_valid_coordinates":true} 
[2026-07-25 13:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951006720001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357734307189489664,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6155646608657088512,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784964884000,"timestamp_ms":1784964884000,"timestamp_seconds":1784964884,"priority":1,"record_length":96,"hex_timestamp":"0000019f9832a620"} 
[2026-07-25 13:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 13:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951006720001,"66":27908,"130":206,"88":20480,"24":31,"16":357734307189489664,"45":-6155646608657088512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-25 13:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951006720001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:07:01] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-25 13:07:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357734307189489664,"km_value":357734307189489.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6155646608657088512,"description":"Unknown IO ID 45"} 
[2026-07-25 13:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951006720001,"power":27908,"unknown_130":206,"unknown_88":20480,"ignition":31,"odometer":null,"unknown_45":-6155646608657088512}} 
[2026-07-25 13:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":141031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:07:01] local.INFO: GPS data processed {"connection_id":141031,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:07:01] local.INFO: Acknowledgment sent {"connection_id":141031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:07:29] local.INFO: TCP Data received {"connection_id":141030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98346b40012d7cf98005d62388000800ad16..."} 
[2026-07-25 13:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98346b40012d7cf98005d62388000800ad16..."} 
[2026-07-25 13:07:29] local.INFO: Processing buffer {"connection_id":141030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98346b40012d7cf98005d62388000800ad16..."} 
[2026-07-25 13:07:29] local.INFO: Packet analysis {"connection_id":141030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:07:29] local.INFO: Extracted packet for processing {"connection_id":141030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763165056,"raw_latitude":97919880,"longitude_deg":76.3165056,"latitude_deg":9.791988,"altitude":8,"angle":173,"satellites":22,"speed":41,"hex_longitude":"2d7cf980","hex_latitude":"05d62388","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951037696001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110207864382947328,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173423811305472,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784965000000,"timestamp_ms":1784965000000,"timestamp_seconds":1784965000,"priority":1,"record_length":96,"hex_timestamp":"0000019f98346b40"} 
[2026-07-25 13:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 13:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951037696001,"66":12232,"195":206,"85":15104,"24":41,"16":110207864382947328,"45":9004173423811305472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-07-25 13:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951037696001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:07:29] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 13:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110207864382947328,"km_value":110207864382947.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173423811305472,"description":"Unknown IO ID 45"} 
[2026-07-25 13:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951037696001,"power":12232,"unknown_195":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9004173423811305472}} 
[2026-07-25 13:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":141030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:07:30] local.INFO: GPS data processed {"connection_id":141030,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:07:30] local.INFO: Acknowledgment sent {"connection_id":141030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:07:32] local.INFO: TCP Data received {"connection_id":141031,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9832bd90012daac60006000a08001e006e26..."} 
[2026-07-25 13:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9832bd90012daac60006000a08001e006e26..."} 
[2026-07-25 13:07:32] local.INFO: Processing buffer {"connection_id":141031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9832bd90012daac60006000a08001e006e26..."} 
[2026-07-25 13:07:32] local.INFO: Packet analysis {"connection_id":141031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:07:32] local.INFO: Extracted packet for processing {"connection_id":141031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:07:32] local.INFO: GPS Element Parsed {"raw_longitude":766166528,"raw_latitude":100665864,"longitude_deg":76.6166528,"latitude_deg":10.0665864,"altitude":30,"angle":110,"satellites":38,"speed":38,"hex_longitude":"2daac600","hex_latitude":"06000a08","is_valid_coordinates":true} 
[2026-07-25 13:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951010304001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357734556297592832,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6146357934427037696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784964890000,"timestamp_ms":1784964890000,"timestamp_seconds":1784964890,"priority":1,"record_length":96,"hex_timestamp":"0000019f9832bd90"} 
[2026-07-25 13:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:07: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-07-25 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 13:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951010304001,"66":27919,"130":206,"88":20480,"24":38,"16":357734556297592832,"45":-6146357934427037696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-25 13:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951010304001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:07:32] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-25 13:07:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357734556297592832,"km_value":357734556297592.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6146357934427037696,"description":"Unknown IO ID 45"} 
[2026-07-25 13:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951010304001,"power":27919,"unknown_130":206,"unknown_88":20480,"ignition":38,"odometer":null,"unknown_45":-6146357934427037696}} 
[2026-07-25 13:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":141031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:07:32] local.INFO: GPS data processed {"connection_id":141031,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:07:32] local.INFO: Acknowledgment sent {"connection_id":141031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:07:53] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:07:53] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:07:53] local.INFO: IMEI packet received {"connection_id":141032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":141032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:07:56] local.INFO: TCP Data received {"connection_id":142077,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:07:56] local.INFO: Processing buffer {"connection_id":142077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:07:56] local.INFO: IMEI packet received {"connection_id":142077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":142077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:07:58] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:07:58] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:07:58] local.INFO: IMEI packet received {"connection_id":141032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":141032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:07:59] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98348e68012d7cfcc005d60098000900ab13..."} 
[2026-07-25 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98348e68012d7cfcc005d60098000900ab13..."} 
[2026-07-25 13:07:59] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98348e68012d7cfcc005d60098000900ab13..."} 
[2026-07-25 13:07:59] local.INFO: Packet analysis {"connection_id":141032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:07:59] local.INFO: Extracted packet for processing {"connection_id":141032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763165888,"raw_latitude":97910936,"longitude_deg":76.3165888,"latitude_deg":9.7910936,"altitude":9,"angle":171,"satellites":19,"speed":40,"hex_longitude":"2d7cfcc0","hex_latitude":"05d60098","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951040000001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110208302469611520,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005369692459862016,"note":"Value kept but may cause issues"} 
[2026-07-25 13:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784965009000,"timestamp_ms":1784965009000,"timestamp_seconds":1784965009,"priority":1,"record_length":96,"hex_timestamp":"0000019f98348e68"} 
[2026-07-25 13:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 13:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:07: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-07-25 13:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951040000001,"66":13048,"29":206,"85":15104,"24":40,"16":110208302469611520,"45":9005369692459862016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 13:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951040000001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:07:59] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 13:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110208302469611520,"km_value":110208302469611.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005369692459862016,"description":"Unknown IO ID 45"} 
[2026-07-25 13:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951040000001,"power":13048,"unknown_29":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9005369692459862016}} 
[2026-07-25 13:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":141032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:07:59] local.INFO: GPS data processed {"connection_id":141032,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:07:59] local.INFO: Acknowledgment sent {"connection_id":141032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:08:01] local.INFO: TCP Data received {"connection_id":142077,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:08:01] local.INFO: Processing buffer {"connection_id":142077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:08:01] local.INFO: IMEI packet received {"connection_id":142077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":142077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:08:02] local.INFO: TCP Data received {"connection_id":142077,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9832e4a0012daae90005fffa10001b007527..."} 
[2026-07-25 13:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9832e4a0012daae90005fffa10001b007527..."} 
[2026-07-25 13:08:02] local.INFO: Processing buffer {"connection_id":142077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9832e4a0012daae90005fffa10001b007527..."} 
[2026-07-25 13:08:02] local.INFO: Packet analysis {"connection_id":142077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:08:02] local.INFO: Extracted packet for processing {"connection_id":142077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9832"} 
[2026-07-25 13:08:02] local.INFO: GPS Element Parsed {"raw_longitude":766175488,"raw_latitude":100661776,"longitude_deg":76.6175488,"latitude_deg":10.0661776,"altitude":27,"angle":117,"satellites":39,"speed":36,"hex_longitude":"2daae900","hex_latitude":"05fffa10","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951011840001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357735024449028096,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6141221016102631424,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784964900000,"timestamp_ms":1784964900000,"timestamp_seconds":1784964900,"priority":1,"record_length":96,"hex_timestamp":"0000019f9832e4a0"} 
[2026-07-25 13:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951011840001,"66":27713,"130":206,"88":20480,"24":36,"16":357735024449028096,"45":-6141221016102631424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,88,24,16,45]} 
[2026-07-25 13:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951011840001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:08:02] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-25 13:08:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357735024449028096,"km_value":357735024449028.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6141221016102631424,"description":"Unknown IO ID 45"} 
[2026-07-25 13:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951011840001,"power":27713,"unknown_130":206,"unknown_88":20480,"ignition":36,"odometer":null,"unknown_45":-6141221016102631424}} 
[2026-07-25 13:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":142077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:08:02] local.INFO: GPS data processed {"connection_id":142077,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:08:02] local.INFO: Acknowledgment sent {"connection_id":142077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:08:30] local.INFO: TCP Data received {"connection_id":141032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9834ada8012d7d070005d5dfd0000700a015..."} 
[2026-07-25 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9834ada8012d7d070005d5dfd0000700a015..."} 
[2026-07-25 13:08:30] local.INFO: Processing buffer {"connection_id":141032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9834ada8012d7d070005d5dfd0000700a015..."} 
[2026-07-25 13:08:30] local.INFO: Packet analysis {"connection_id":141032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:08:30] local.INFO: Extracted packet for processing {"connection_id":141032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9834"} 
[2026-07-25 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763168512,"raw_latitude":97902544,"longitude_deg":76.3168512,"latitude_deg":9.7902544,"altitude":7,"angle":160,"satellites":21,"speed":44,"hex_longitude":"2d7d0700","hex_latitude":"05d5dfd0","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951042304001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110208727671373824,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006284486131881984,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965017000,"timestamp_ms":1784965017000,"timestamp_seconds":1784965017,"priority":1,"record_length":96,"hex_timestamp":"0000019f9834ada8"} 
[2026-07-25 13:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 13:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141032,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:08: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-07-25 13:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951042304001,"66":13080,"29":206,"85":15104,"24":44,"16":110208727671373824,"45":9006284486131881984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 13:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951042304001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:08:30] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 13:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110208727671373824,"km_value":110208727671373.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006284486131881984,"description":"Unknown IO ID 45"} 
[2026-07-25 13:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951042304001,"power":13080,"unknown_29":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9006284486131881984}} 
[2026-07-25 13:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":141032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:08:30] local.INFO: GPS data processed {"connection_id":141032,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:08:30] local.INFO: Acknowledgment sent {"connection_id":141032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:08:34] local.INFO: TCP Data received {"connection_id":142077,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98353278012dab884005ff9830001a00e328..."} 
[2026-07-25 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98353278012dab884005ff9830001a00e328..."} 
[2026-07-25 13:08:34] local.INFO: Processing buffer {"connection_id":142077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98353278012dab884005ff9830001a00e328..."} 
[2026-07-25 13:08:34] local.INFO: Packet analysis {"connection_id":142077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9835"} 
[2026-07-25 13:08:34] local.INFO: Extracted packet for processing {"connection_id":142077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9835"} 
[2026-07-25 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":766216256,"raw_latitude":100636720,"longitude_deg":76.6216256,"latitude_deg":10.063672,"altitude":26,"angle":227,"satellites":40,"speed":12,"hex_longitude":"2dab8840","hex_latitude":"05ff9830","is_valid_coordinates":true} 
[2026-07-25 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951052800001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357737386681040896,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6086263026907279360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784965051000,"timestamp_ms":1784965051000,"timestamp_seconds":1784965051,"priority":1,"record_length":96,"hex_timestamp":"0000019f98353278"} 
[2026-07-25 13:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:08: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-07-25 13:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951052800001,"66":27930,"129":206,"88":20480,"24":12,"16":357737386681040896,"45":-6086263026907279360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,88,24,16,45]} 
[2026-07-25 13:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951052800001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:08:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 13:08:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357737386681040896,"km_value":357737386681040.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6086263026907279360,"description":"Unknown IO ID 45"} 
[2026-07-25 13:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951052800001,"power":27930,"unknown_129":206,"unknown_88":20480,"ignition":12,"odometer":null,"unknown_45":-6086263026907279360}} 
[2026-07-25 13:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":142077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:08:34] local.INFO: GPS data processed {"connection_id":142077,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:08:34] local.INFO: Acknowledgment sent {"connection_id":142077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:08:55] local.INFO: TCP Data received {"connection_id":141089,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:08:55] local.INFO: Processing buffer {"connection_id":141089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:08:55] local.INFO: IMEI packet received {"connection_id":141089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":141089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:09:00] local.INFO: TCP Data received {"connection_id":141089,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:09:00] local.INFO: Processing buffer {"connection_id":141089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:09:00] local.INFO: IMEI packet received {"connection_id":141089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":141089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:09:00] local.INFO: TCP Data received {"connection_id":141089,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983570f8012dab6f4005ff7cd8001800dd28..."} 
[2026-07-25 13:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983570f8012dab6f4005ff7cd8001800dd28..."} 
[2026-07-25 13:09:00] local.INFO: Processing buffer {"connection_id":141089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983570f8012dab6f4005ff7cd8001800dd28..."} 
[2026-07-25 13:09:00] local.INFO: Packet analysis {"connection_id":141089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9835"} 
[2026-07-25 13:09:00] local.INFO: Extracted packet for processing {"connection_id":141089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9835"} 
[2026-07-25 13:09:00] local.INFO: GPS Element Parsed {"raw_longitude":766209856,"raw_latitude":100629720,"longitude_deg":76.6209856,"latitude_deg":10.062972,"altitude":24,"angle":221,"satellites":40,"speed":28,"hex_longitude":"2dab6f40","hex_latitude":"05ff7cd8","is_valid_coordinates":true} 
[2026-07-25 13:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951053056001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357737846242541568,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6086544501884047360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784965067000,"timestamp_ms":1784965067000,"timestamp_seconds":1784965067,"priority":1,"record_length":96,"hex_timestamp":"0000019f983570f8"} 
[2026-07-25 13:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951053056001,"66":27865,"129":206,"88":20480,"24":28,"16":357737846242541568,"45":-6086544501884047360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,88,24,16,45]} 
[2026-07-25 13:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951053056001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:09:00] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 13:09:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357737846242541568,"km_value":357737846242541.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6086544501884047360,"description":"Unknown IO ID 45"} 
[2026-07-25 13:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951053056001,"power":27865,"unknown_129":206,"unknown_88":20480,"ignition":28,"odometer":null,"unknown_45":-6086544501884047360}} 
[2026-07-25 13:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":141089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:09:00] local.INFO: GPS data processed {"connection_id":141089,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:09:00] local.INFO: Acknowledgment sent {"connection_id":141089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:09:03] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:03] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:03] local.INFO: IMEI packet received {"connection_id":141090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":141090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:09:05] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:05] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:05] local.INFO: IMEI packet received {"connection_id":141090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":141090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:09:06] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98363830012d7d390005d49748000a00aa16..."} 
[2026-07-25 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98363830012d7d390005d49748000a00aa16..."} 
[2026-07-25 13:09:06] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98363830012d7d390005d49748000a00aa16..."} 
[2026-07-25 13:09:06] local.INFO: Packet analysis {"connection_id":141090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:09:06] local.INFO: Extracted packet for processing {"connection_id":141090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97818440,"longitude_deg":76.3181312,"latitude_deg":9.781844,"altitude":10,"angle":170,"satellites":22,"speed":46,"hex_longitude":"2d7d3900","hex_latitude":"05d49748","is_valid_coordinates":true} 
[2026-07-25 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951068160001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110212906674552832,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084806307840,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784965118000,"timestamp_ms":1784965118000,"timestamp_seconds":1784965118,"priority":1,"record_length":96,"hex_timestamp":"0000019f98363830"} 
[2026-07-25 13:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595432,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2553620160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":253,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505960,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2342453248,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3580930048,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,254,85,24,241,157,16,141,159,249,45,192,221,9,21,10,66,253,218,2,26,140,187,1,240,227,152,213,4,113,205,33,93,23,239,50,135,5,12],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-07-25 13:09:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648709764446748672,"timestamp_seconds":648709764446748.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951068160001,"66":13091,"254":206,"85":15104,"24":46,"16":110212906674552832,"45":9022047084806307840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-25 13:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951068160001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:09:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-25 13:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110212906674552832,"km_value":110212906674552.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084806307840,"description":"Unknown IO ID 45"} 
[2026-07-25 13:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951068160001,"power":13091,"unknown_254":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9022047084806307840}} 
[2026-07-25 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":141090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:09:06] local.INFO: GPS data processed {"connection_id":141090,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:09:06] local.INFO: Acknowledgment sent {"connection_id":141090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:09:31] local.INFO: TCP Data received {"connection_id":141089,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98359038012dab610005ff6ee8001800ee28..."} 
[2026-07-25 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98359038012dab610005ff6ee8001800ee28..."} 
[2026-07-25 13:09:31] local.INFO: Processing buffer {"connection_id":141089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98359038012dab610005ff6ee8001800ee28..."} 
[2026-07-25 13:09:31] local.INFO: Packet analysis {"connection_id":141089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9835"} 
[2026-07-25 13:09:31] local.INFO: Extracted packet for processing {"connection_id":141089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9835"} 
[2026-07-25 13:09:31] local.INFO: GPS Element Parsed {"raw_longitude":766206208,"raw_latitude":100626152,"longitude_deg":76.6206208,"latitude_deg":10.0626152,"altitude":24,"angle":238,"satellites":40,"speed":26,"hex_longitude":"2dab6100","hex_latitude":"05ff6ee8","is_valid_coordinates":true} 
[2026-07-25 13:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951057152001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357738091055677440,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6093581376303605760,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784965075000,"timestamp_ms":1784965075000,"timestamp_seconds":1784965075,"priority":1,"record_length":96,"hex_timestamp":"0000019f98359038"} 
[2026-07-25 13:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 13:09: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-07-25 13:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951057152001,"66":27974,"129":206,"88":20480,"24":26,"16":357738091055677440,"45":-6093581376303605760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,88,24,16,45]} 
[2026-07-25 13:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951057152001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:09:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 13:09:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357738091055677440,"km_value":357738091055677.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6093581376303605760,"description":"Unknown IO ID 45"} 
[2026-07-25 13:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951057152001,"power":27974,"unknown_129":206,"unknown_88":20480,"ignition":26,"odometer":null,"unknown_45":-6093581376303605760}} 
[2026-07-25 13:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":141089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:09:31] local.INFO: GPS data processed {"connection_id":141089,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:09:31] local.INFO: Acknowledgment sent {"connection_id":141089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:09:37] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98365770012d7d400005d47438000a00a917..."} 
[2026-07-25 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98365770012d7d400005d47438000a00a917..."} 
[2026-07-25 13:09:37] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98365770012d7d400005d47438000a00a917..."} 
[2026-07-25 13:09:37] local.INFO: Packet analysis {"connection_id":141090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:09:37] local.INFO: Extracted packet for processing {"connection_id":141090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97809464,"longitude_deg":76.3183104,"latitude_deg":9.7809464,"altitude":10,"angle":169,"satellites":23,"speed":44,"hex_longitude":"2d7d4000","hex_latitude":"05d47438","is_valid_coordinates":true} 
[2026-07-25 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951070208001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110213353351151616,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353455020032,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784965126000,"timestamp_ms":1784965126000,"timestamp_seconds":1784965126,"priority":1,"record_length":96,"hex_timestamp":"0000019f98365770"} 
[2026-07-25 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951070208001,"66":13091,"254":206,"85":15104,"24":44,"16":110213353351151616,"45":9023243353455020032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-07-25 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951070208001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:09:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-07-25 13:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110213353351151616,"km_value":110213353351151.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353455020032,"description":"Unknown IO ID 45"} 
[2026-07-25 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951070208001,"power":13091,"unknown_254":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9023243353455020032}} 
[2026-07-25 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":141090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:09:37] local.INFO: GPS data processed {"connection_id":141090,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:09:37] local.INFO: Acknowledgment sent {"connection_id":141090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:09:53] local.INFO: TCP Data received {"connection_id":142078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:53] local.INFO: Processing buffer {"connection_id":142078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:53] local.INFO: IMEI packet received {"connection_id":142078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":142078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:09:55] local.INFO: TCP Data received {"connection_id":143441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:09:55] local.INFO: Processing buffer {"connection_id":143441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:09:55] local.INFO: IMEI packet received {"connection_id":143441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":143441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:09:56] local.INFO: TCP Data received {"connection_id":142078,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:56] local.INFO: Processing buffer {"connection_id":142078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:09:56] local.INFO: IMEI packet received {"connection_id":142078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":142078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:09:57] local.INFO: TCP Data received {"connection_id":142078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983676b0012d7d43c005d45048000900b215..."} 
[2026-07-25 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983676b0012d7d43c005d45048000900b215..."} 
[2026-07-25 13:09:57] local.INFO: Processing buffer {"connection_id":142078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983676b0012d7d43c005d45048000900b215..."} 
[2026-07-25 13:09:57] local.INFO: Packet analysis {"connection_id":142078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:09:57] local.INFO: Extracted packet for processing {"connection_id":142078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97800264,"longitude_deg":76.3184064,"latitude_deg":9.7800264,"altitude":9,"angle":178,"satellites":21,"speed":45,"hex_longitude":"2d7d43c0","hex_latitude":"05d45048","is_valid_coordinates":true} 
[2026-07-25 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951072256001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110213800027750400,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678289696768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784965134000,"timestamp_ms":1784965134000,"timestamp_seconds":1784965134,"priority":1,"record_length":96,"hex_timestamp":"0000019f983676b0"} 
[2026-07-25 13:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951072256001,"66":13319,"29":206,"85":15104,"24":45,"16":110213800027750400,"45":9025213678289696768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 13:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951072256001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:09:57] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 13:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110213800027750400,"km_value":110213800027750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678289696768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951072256001,"power":13319,"unknown_29":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9025213678289696768}} 
[2026-07-25 13:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":142078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:09:57] local.INFO: GPS data processed {"connection_id":142078,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:09:57] local.INFO: Acknowledgment sent {"connection_id":142078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:10:01] local.INFO: TCP Data received {"connection_id":143441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:10:01] local.INFO: Processing buffer {"connection_id":143441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:10:01] local.INFO: IMEI packet received {"connection_id":143441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":143441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:10:02] local.INFO: TCP Data received {"connection_id":143441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98366ee0012daaf40005ff27b0001900e229..."} 
[2026-07-25 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98366ee0012daaf40005ff27b0001900e229..."} 
[2026-07-25 13:10:02] local.INFO: Processing buffer {"connection_id":143441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98366ee0012daaf40005ff27b0001900e229..."} 
[2026-07-25 13:10:02] local.INFO: Packet analysis {"connection_id":143441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:02] local.INFO: Extracted packet for processing {"connection_id":143441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":766178304,"raw_latitude":100607920,"longitude_deg":76.6178304,"latitude_deg":10.060792,"altitude":25,"angle":226,"satellites":41,"speed":27,"hex_longitude":"2daaf400","hex_latitude":"05ff27b0","is_valid_coordinates":true} 
[2026-07-25 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951072512001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357739817632530432,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6125247311188566016,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965132000,"timestamp_ms":1784965132000,"timestamp_seconds":1784965132,"priority":1,"record_length":96,"hex_timestamp":"0000019f98366ee0"} 
[2026-07-25 13:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 13:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951072512001,"66":27908,"118":206,"88":20480,"24":27,"16":357739817632530432,"45":-6125247311188566016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951072512001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:10:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:10:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357739817632530432,"km_value":357739817632530.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6125247311188566016,"description":"Unknown IO ID 45"} 
[2026-07-25 13:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951072512001,"power":27908,"unknown_118":206,"unknown_88":20480,"ignition":27,"odometer":null,"unknown_45":-6125247311188566016}} 
[2026-07-25 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":143441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:10:02] local.INFO: GPS data processed {"connection_id":143441,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:10:02] local.INFO: Acknowledgment sent {"connection_id":143441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:10:28] local.INFO: TCP Data received {"connection_id":142078,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983699d8012d7d43c005d42b38000800b619..."} 
[2026-07-25 13:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983699d8012d7d43c005d42b38000800b619..."} 
[2026-07-25 13:10:28] local.INFO: Processing buffer {"connection_id":142078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983699d8012d7d43c005d42b38000800b619..."} 
[2026-07-25 13:10:28] local.INFO: Packet analysis {"connection_id":142078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:28] local.INFO: Extracted packet for processing {"connection_id":142078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97790776,"longitude_deg":76.3184064,"latitude_deg":9.7790776,"altitude":8,"angle":182,"satellites":25,"speed":39,"hex_longitude":"2d7d43c0","hex_latitude":"05d42b38","is_valid_coordinates":true} 
[2026-07-25 13:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951074304001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110214263884218368,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209450006528,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784965143000,"timestamp_ms":1784965143000,"timestamp_seconds":1784965143,"priority":1,"record_length":96,"hex_timestamp":"0000019f983699d8"} 
[2026-07-25 13:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2553658160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3721920521,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2362966016,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3576066048,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57888174819398971,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7491736685245349883,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.WARNING: Large IO value detected {"io_id":213,"raw_value":5293981400640329984,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:28] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,29,85,24,241,157,16,142,159,87,45,116,10,23,66,254,56,151,22,192,1,240,3,227,141,152,212,4,113,205,46,218,49,88,26,239,51,253,2,135,5,41,187,53,213],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-07-25 13:10:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648714149608357888,"timestamp_seconds":648714149608357.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951074304001,"66":12939,"81":206,"85":15104,"24":39,"16":110214263884218368,"45":9026269209450006528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 13:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951074304001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:10:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 13:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110214263884218368,"km_value":110214263884218.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209450006528,"description":"Unknown IO ID 45"} 
[2026-07-25 13:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951074304001,"power":12939,"unknown_81":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9026269209450006528}} 
[2026-07-25 13:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":142078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:10:28] local.INFO: GPS data processed {"connection_id":142078,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:10:28] local.INFO: Acknowledgment sent {"connection_id":142078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:10:33] local.INFO: TCP Data received {"connection_id":143441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98368e20012daae58005ff1be0001900ed29..."} 
[2026-07-25 13:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98368e20012daae58005ff1be0001900ed29..."} 
[2026-07-25 13:10:33] local.INFO: Processing buffer {"connection_id":143441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98368e20012daae58005ff1be0001900ed29..."} 
[2026-07-25 13:10:33] local.INFO: Packet analysis {"connection_id":143441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:33] local.INFO: Extracted packet for processing {"connection_id":143441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":766174592,"raw_latitude":100604896,"longitude_deg":76.6174592,"latitude_deg":10.0604896,"altitude":25,"angle":237,"satellites":41,"speed":17,"hex_longitude":"2daae580","hex_latitude":"05ff1be0","is_valid_coordinates":true} 
[2026-07-25 13:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951073792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740045265797120,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6128273167188774912,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965140000,"timestamp_ms":1784965140000,"timestamp_seconds":1784965140,"priority":1,"record_length":96,"hex_timestamp":"0000019f98368e20"} 
[2026-07-25 13:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 13:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951073792001,"66":27995,"118":206,"88":20480,"24":17,"16":357740045265797120,"45":-6128273167188774912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951073792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:10:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:10:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740045265797120,"km_value":357740045265797.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6128273167188774912,"description":"Unknown IO ID 45"} 
[2026-07-25 13:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951073792001,"power":27995,"unknown_118":206,"unknown_88":20480,"ignition":17,"odometer":null,"unknown_45":-6128273167188774912}} 
[2026-07-25 13:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":143441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:10:33] local.INFO: GPS data processed {"connection_id":143441,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:10:33] local.INFO: Acknowledgment sent {"connection_id":143441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:10:53] local.INFO: TCP Data received {"connection_id":141091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:10:53] local.INFO: Processing buffer {"connection_id":141091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:10:53] local.INFO: IMEI packet received {"connection_id":141091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":141091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:10:55] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:10:55] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:10:55] local.INFO: IMEI packet received {"connection_id":141092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":141092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:10:58] local.INFO: TCP Data received {"connection_id":141091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:10:58] local.INFO: Processing buffer {"connection_id":141091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:10:58] local.INFO: IMEI packet received {"connection_id":141091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":141091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:10:59] local.INFO: TCP Data received {"connection_id":141091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9836cca0012d7d42c005d407c8000700b817..."} 
[2026-07-25 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9836cca0012d7d42c005d407c8000700b817..."} 
[2026-07-25 13:10:59] local.INFO: Processing buffer {"connection_id":141091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9836cca0012d7d42c005d407c8000700b817..."} 
[2026-07-25 13:10:59] local.INFO: Packet analysis {"connection_id":141091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:59] local.INFO: Extracted packet for processing {"connection_id":141091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763183808,"raw_latitude":97781704,"longitude_deg":76.3183808,"latitude_deg":9.7781704,"altitude":7,"angle":184,"satellites":23,"speed":22,"hex_longitude":"2d7d42c0","hex_latitude":"05d407c8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951076608001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110214701970882560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209447577600,"note":"Value kept but may cause issues"} 
[2026-07-25 13:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784965156000,"timestamp_ms":1784965156000,"timestamp_seconds":1784965156,"priority":1,"record_length":96,"hex_timestamp":"0000019f9836cca0"} 
[2026-07-25 13:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951076608001,"66":13059,"81":206,"85":15104,"24":22,"16":110214701970882560,"45":9026269209447577600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 13:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951076608001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 13:10:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110214701970882560,"km_value":110214701970882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209447577600,"description":"Unknown IO ID 45"} 
[2026-07-25 13:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951076608001,"power":13059,"unknown_81":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9026269209447577600}} 
[2026-07-25 13:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":141091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:10:59] local.INFO: GPS data processed {"connection_id":141091,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:10:59] local.INFO: Acknowledgment sent {"connection_id":141091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:11:01] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:11:01] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:11:01] local.INFO: IMEI packet received {"connection_id":141092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":141092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:11:01] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98369dc0012daadf4005ff1778001900e129..."} 
[2026-07-25 13:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98369dc0012daadf4005ff1778001900e129..."} 
[2026-07-25 13:11:01] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98369dc0012daadf4005ff1778001900e129..."} 
[2026-07-25 13:11:01] local.INFO: Packet analysis {"connection_id":141092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:11:01] local.INFO: Extracted packet for processing {"connection_id":141092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:11:01] local.INFO: GPS Element Parsed {"raw_longitude":766172992,"raw_latitude":100603768,"longitude_deg":76.6172992,"latitude_deg":10.0603768,"altitude":25,"angle":225,"satellites":41,"speed":21,"hex_longitude":"2daadf40","hex_latitude":"05ff1778","is_valid_coordinates":true} 
[2026-07-25 13:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951075840001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740139755077632,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6132354554351853568,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784965144000,"timestamp_ms":1784965144000,"timestamp_seconds":1784965144,"priority":1,"record_length":96,"hex_timestamp":"0000019f98369dc0"} 
[2026-07-25 13:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951075840001,"66":27800,"118":206,"88":20480,"24":21,"16":357740139755077632,"45":-6132354554351853568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951075840001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:11:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:11:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740139755077632,"km_value":357740139755077.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6132354554351853568,"description":"Unknown IO ID 45"} 
[2026-07-25 13:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951075840001,"power":27800,"unknown_118":206,"unknown_88":20480,"ignition":21,"odometer":null,"unknown_45":-6132354554351853568}} 
[2026-07-25 13:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":141092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:11:01] local.INFO: GPS data processed {"connection_id":141092,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:11:01] local.INFO: Acknowledgment sent {"connection_id":141092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:11:25] local.INFO: TCP Data received {"connection_id":141088,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:11:25] local.INFO: Processing buffer {"connection_id":141088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:11:25] local.INFO: IMEI packet received {"connection_id":141088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":141088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:11:31] local.INFO: TCP Data received {"connection_id":141091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98370350012d7d410005d3e4d0000600b419..."} 
[2026-07-25 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98370350012d7d410005d3e4d0000600b419..."} 
[2026-07-25 13:11:31] local.INFO: Processing buffer {"connection_id":141091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98370350012d7d410005d3e4d0000600b419..."} 
[2026-07-25 13:11:31] local.INFO: Packet analysis {"connection_id":141091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:11:31] local.INFO: Extracted packet for processing {"connection_id":141091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":97772752,"longitude_deg":76.318336,"latitude_deg":9.7772752,"altitude":6,"angle":180,"satellites":25,"speed":29,"hex_longitude":"2d7d4100","hex_latitude":"05d3e4d0","is_valid_coordinates":true} 
[2026-07-25 13:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951079936001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110215135762579456,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025987734468544512,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784965170000,"timestamp_ms":1784965170000,"timestamp_seconds":1784965170,"priority":1,"record_length":96,"hex_timestamp":"0000019f98370350"} 
[2026-07-25 13:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281640,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2553674160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2538078218,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221607610,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2376597504,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3571308544,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.WARNING: Large IO value detected {"io_id":253,"raw_value":58077557095399470,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:31] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,81,85,24,241,157,16,143,159,153,45,192,43,8,25,10,66,118,80,9,21,29,142,87,1,240,35,227,152,212,4,113,205,46,52,128,239,51,254,2,135,5,253],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-07-25 13:11:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504605567190695936,"timestamp_seconds":504605567190695.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951079936001,"66":13059,"81":206,"85":15104,"24":29,"16":110215135762579456,"45":9025987734468544512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 13:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951079936001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110215135762579456,"km_value":110215135762579.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025987734468544512,"description":"Unknown IO ID 45"} 
[2026-07-25 13:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951079936001,"power":13059,"unknown_81":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9025987734468544512}} 
[2026-07-25 13:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":141091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:11:31] local.INFO: GPS data processed {"connection_id":141091,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:11:31] local.INFO: Acknowledgment sent {"connection_id":141091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:11:33] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9836a978012daadc0005ff1280001900c828..."} 
[2026-07-25 13:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9836a978012daadc0005ff1280001900c828..."} 
[2026-07-25 13:11:33] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9836a978012daadc0005ff1280001900c828..."} 
[2026-07-25 13:11:33] local.INFO: Packet analysis {"connection_id":141092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:11:33] local.INFO: Extracted packet for processing {"connection_id":141092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":766172160,"raw_latitude":100602496,"longitude_deg":76.617216,"latitude_deg":10.0602496,"altitude":25,"angle":200,"satellites":40,"speed":18,"hex_longitude":"2daadc00","hex_latitude":"05ff1280","is_valid_coordinates":true} 
[2026-07-25 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951076864001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740212769521664,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134113772956583936,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965147000,"timestamp_ms":1784965147000,"timestamp_seconds":1784965147,"priority":1,"record_length":96,"hex_timestamp":"0000019f9836a978"} 
[2026-07-25 13:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 13:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951076864001,"66":27995,"118":206,"88":20480,"24":18,"16":357740212769521664,"45":-6134113772956583936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951076864001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:11:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:11:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740212769521664,"km_value":357740212769521.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134113772956583936,"description":"Unknown IO ID 45"} 
[2026-07-25 13:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951076864001,"power":27995,"unknown_118":206,"unknown_88":20480,"ignition":18,"odometer":null,"unknown_45":-6134113772956583936}} 
[2026-07-25 13:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":141092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:11:33] local.INFO: GPS data processed {"connection_id":141092,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:11:33] local.INFO: Acknowledgment sent {"connection_id":141092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:11:53] local.INFO: TCP Data received {"connection_id":143442,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:11:53] local.INFO: Processing buffer {"connection_id":143442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:11:53] local.INFO: IMEI packet received {"connection_id":143442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":143442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:11:58] local.INFO: TCP Data received {"connection_id":143442,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:11:58] local.INFO: Processing buffer {"connection_id":143442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:11:58] local.INFO: IMEI packet received {"connection_id":143442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":143442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:11:59] local.INFO: TCP Data received {"connection_id":143442,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98373230012d7d3e4005d3c210000700b316..."} 
[2026-07-25 13:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98373230012d7d3e4005d3c210000700b316..."} 
[2026-07-25 13:11:59] local.INFO: Processing buffer {"connection_id":143442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98373230012d7d3e4005d3c210000700b316..."} 
[2026-07-25 13:11:59] local.INFO: Packet analysis {"connection_id":143442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:11:59] local.INFO: Extracted packet for processing {"connection_id":143442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":97763856,"longitude_deg":76.3182656,"latitude_deg":9.7763856,"altitude":7,"angle":179,"satellites":22,"speed":25,"hex_longitude":"2d7d3e40","hex_latitude":"05d3c210","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951083520001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110215569554276352,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025495153257009152,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784965182000,"timestamp_ms":1784965182000,"timestamp_seconds":1784965182,"priority":1,"record_length":96,"hex_timestamp":"0000019f98373230"} 
[2026-07-25 13:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861352,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2553682160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835218638,"corrected_to":0} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":58077557095399469,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2383282176,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3568992256,"note":"Value kept but may cause issues"} 
[2026-07-25 13:11:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,81,85,24,241,157,16,144,159,204,45,192,7,23,10,66,143,153,43,8,25,118,1,240,227,142,152,212,4,113,205,44,56,57,72,22,239,51,254,2,135,5,9],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2835218638,"validated":0}]} 
[2026-07-25 13:11:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432543583696650240,"timestamp_seconds":432543583696650.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:11: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-07-25 13:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951083520001,"66":13135,"81":206,"85":15104,"24":25,"16":110215569554276352,"45":9025495153257009152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 13:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951083520001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 13:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110215569554276352,"km_value":110215569554276.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025495153257009152,"description":"Unknown IO ID 45"} 
[2026-07-25 13:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951083520001,"power":13135,"unknown_81":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9025495153257009152}} 
[2026-07-25 13:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":143442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:11:59] local.INFO: GPS data processed {"connection_id":143442,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:11:59] local.INFO: Acknowledgment sent {"connection_id":143442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:12:01] local.INFO: TCP Data received {"connection_id":142079,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:01] local.INFO: Processing buffer {"connection_id":142079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:01] local.INFO: IMEI packet received {"connection_id":142079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":142079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:12:06] local.INFO: TCP Data received {"connection_id":142079,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:06] local.INFO: Processing buffer {"connection_id":142079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:06] local.INFO: IMEI packet received {"connection_id":142079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":142079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:12:07] local.INFO: TCP Data received {"connection_id":142079,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9836fb80012daad78005ff07e8001700db26..."} 
[2026-07-25 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9836fb80012daad78005ff07e8001700db26..."} 
[2026-07-25 13:12:07] local.INFO: Processing buffer {"connection_id":142079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9836fb80012daad78005ff07e8001700db26..."} 
[2026-07-25 13:12:07] local.INFO: Packet analysis {"connection_id":142079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:12:07] local.INFO: Extracted packet for processing {"connection_id":142079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":766171008,"raw_latitude":100599784,"longitude_deg":76.6171008,"latitude_deg":10.0599784,"altitude":23,"angle":219,"satellites":38,"speed":5,"hex_longitude":"2daad780","hex_latitude":"05ff07e8","is_valid_coordinates":true} 
[2026-07-25 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951077632001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740358798409728,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135028566631219200,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784965168000,"timestamp_ms":1784965168000,"timestamp_seconds":1784965168,"priority":1,"record_length":96,"hex_timestamp":"0000019f9836fb80"} 
[2026-07-25 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951077632001,"66":27930,"118":206,"88":20480,"24":5,"16":357740358798409728,"45":-6135028566631219200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951077632001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:12:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:12:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740358798409728,"km_value":357740358798409.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135028566631219200,"description":"Unknown IO ID 45"} 
[2026-07-25 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951077632001,"power":27930,"unknown_118":206,"unknown_88":20480,"ignition":5,"odometer":null,"unknown_45":-6135028566631219200}} 
[2026-07-25 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":142079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:12:07] local.INFO: GPS data processed {"connection_id":142079,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:12:07] local.INFO: Acknowledgment sent {"connection_id":142079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:12:11] local.INFO: TCP Data received {"connection_id":142079,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9836fb80012daad78005ff07e8001700db26..."} 
[2026-07-25 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9836fb80012daad78005ff07e8001700db26..."} 
[2026-07-25 13:12:11] local.INFO: Processing buffer {"connection_id":142079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9836fb80012daad78005ff07e8001700db26..."} 
[2026-07-25 13:12:11] local.INFO: Packet analysis {"connection_id":142079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:12:11] local.INFO: Extracted packet for processing {"connection_id":142079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9836"} 
[2026-07-25 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":766171008,"raw_latitude":100599784,"longitude_deg":76.6171008,"latitude_deg":10.0599784,"altitude":23,"angle":219,"satellites":38,"speed":5,"hex_longitude":"2daad780","hex_latitude":"05ff07e8","is_valid_coordinates":true} 
[2026-07-25 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951083008001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740358798409728,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136295204027111424,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784965168000,"timestamp_ms":1784965168000,"timestamp_seconds":1784965168,"priority":1,"record_length":96,"hex_timestamp":"0000019f9836fb80"} 
[2026-07-25 13:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951083008001,"66":27930,"118":206,"88":20480,"24":5,"16":357740358798409728,"45":-6136295204027111424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951083008001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:12:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:12:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740358798409728,"km_value":357740358798409.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136295204027111424,"description":"Unknown IO ID 45"} 
[2026-07-25 13:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951083008001,"power":27930,"unknown_118":206,"unknown_88":20480,"ignition":5,"odometer":null,"unknown_45":-6136295204027111424}} 
[2026-07-25 13:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":142079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:12:11] local.INFO: GPS data processed {"connection_id":142079,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:12:11] local.INFO: Acknowledgment sent {"connection_id":142079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:12:30] local.INFO: TCP Data received {"connection_id":143442,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983964b0012d7d438005d2c770000700b71c..."} 
[2026-07-25 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983964b0012d7d438005d2c770000700b71c..."} 
[2026-07-25 13:12:30] local.INFO: Processing buffer {"connection_id":143442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983964b0012d7d438005d2c770000700b71c..."} 
[2026-07-25 13:12:30] local.INFO: Packet analysis {"connection_id":143442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:12:30] local.INFO: Extracted packet for processing {"connection_id":143442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97699696,"longitude_deg":76.3184,"latitude_deg":9.7699696,"altitude":7,"angle":183,"satellites":28,"speed":2,"hex_longitude":"2d7d4380","hex_latitude":"05d2c770","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951122944001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110218717765304320,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840680114176,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965326000,"timestamp_ms":1784965326000,"timestamp_seconds":1784965326,"priority":1,"record_length":96,"hex_timestamp":"0000019f983964b0"} 
[2026-07-25 13:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 13:12: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-07-25 13: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-07-25 13:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:12: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-07-25 13:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951122944001,"66":13102,"115":206,"85":15104,"24":2,"16":110218717765304320,"45":9026198840680114176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-25 13:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951122944001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:12:30] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 13:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110218717765304320,"km_value":110218717765304.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840680114176,"description":"Unknown IO ID 45"} 
[2026-07-25 13:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951122944001,"power":13102,"unknown_115":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9026198840680114176}} 
[2026-07-25 13:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":143442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:12:30] local.INFO: GPS data processed {"connection_id":143442,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:12:30] local.INFO: Acknowledgment sent {"connection_id":143442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:12:53] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:53] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:53] local.INFO: IMEI packet received {"connection_id":141033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":141033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:12:55] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:55] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:55] local.INFO: IMEI packet received {"connection_id":141033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":141033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:12:56] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:56] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:12:56] local.INFO: IMEI packet received {"connection_id":141034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":141034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:12:57] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:57] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:12:57] local.INFO: IMEI packet received {"connection_id":141033,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":141033,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:12:57] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98396898012d7d438005d2c6f8000700a91c..."} 
[2026-07-25 13:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98396898012d7d438005d2c6f8000700a91c..."} 
[2026-07-25 13:12:57] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98396898012d7d438005d2c6f8000700a91c..."} 
[2026-07-25 13:12:57] local.INFO: Packet analysis {"connection_id":141033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:12:57] local.INFO: Extracted packet for processing {"connection_id":141033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97699576,"longitude_deg":76.3184,"latitude_deg":9.7699576,"altitude":7,"angle":169,"satellites":28,"speed":3,"hex_longitude":"2d7d4380","hex_latitude":"05d2c6f8","is_valid_coordinates":true} 
[2026-07-25 13:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951123456001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110218722060271616,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840680083456,"note":"Value kept but may cause issues"} 
[2026-07-25 13:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784965327000,"timestamp_ms":1784965327000,"timestamp_seconds":1784965327,"priority":1,"record_length":96,"hex_timestamp":"0000019f98396898"} 
[2026-07-25 13:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 13:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951123456001,"66":12917,"115":206,"85":15104,"24":3,"16":110218722060271616,"45":9026198840680083456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-25 13:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951123456001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:12:57] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-25 13:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110218722060271616,"km_value":110218722060271.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840680083456,"description":"Unknown IO ID 45"} 
[2026-07-25 13:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951123456001,"power":12917,"unknown_115":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9026198840680083456}} 
[2026-07-25 13:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":141033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:12:57] local.INFO: GPS data processed {"connection_id":141033,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:12:57] local.INFO: Acknowledgment sent {"connection_id":141033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:13:01] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:13:01] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:13:01] local.INFO: IMEI packet received {"connection_id":141034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":141034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:13:02] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98370f08012daad58005ff06b00017010826..."} 
[2026-07-25 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98370f08012daad58005ff06b00017010826..."} 
[2026-07-25 13:13:02] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98370f08012daad58005ff06b00017010826..."} 
[2026-07-25 13:13:02] local.INFO: Packet analysis {"connection_id":141034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:13:02] local.INFO: Extracted packet for processing {"connection_id":141034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":766170496,"raw_latitude":100599472,"longitude_deg":76.6170496,"latitude_deg":10.0599472,"altitude":23,"angle":264,"satellites":38,"speed":7,"hex_longitude":"2daad580","hex_latitude":"05ff06b0","is_valid_coordinates":true} 
[2026-07-25 13:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951083008001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740388863180800,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136295204027111424,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965173000,"timestamp_ms":1784965173000,"timestamp_seconds":1784965173,"priority":1,"record_length":96,"hex_timestamp":"0000019f98370f08"} 
[2026-07-25 13:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951083008001,"66":27930,"118":206,"88":20480,"24":7,"16":357740388863180800,"45":-6136295204027111424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951083008001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:13:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:13:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740388863180800,"km_value":357740388863180.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136295204027111424,"description":"Unknown IO ID 45"} 
[2026-07-25 13:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951083008001,"power":27930,"unknown_118":206,"unknown_88":20480,"ignition":7,"odometer":null,"unknown_45":-6136295204027111424}} 
[2026-07-25 13:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":141034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:13:02] local.INFO: GPS data processed {"connection_id":141034,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:13:02] local.INFO: Acknowledgment sent {"connection_id":141034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:13:29] local.INFO: TCP Data received {"connection_id":141033,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983a7a08012d7d440005d2aa50000800aa1b..."} 
[2026-07-25 13:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983a7a08012d7d440005d2aa50000800aa1b..."} 
[2026-07-25 13:13:29] local.INFO: Processing buffer {"connection_id":141033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983a7a08012d7d440005d2aa50000800aa1b..."} 
[2026-07-25 13:13:29] local.INFO: Packet analysis {"connection_id":141033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983a"} 
[2026-07-25 13:13:29] local.INFO: Extracted packet for processing {"connection_id":141033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983a"} 
[2026-07-25 13:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763184128,"raw_latitude":97692240,"longitude_deg":76.3184128,"latitude_deg":9.769224,"altitude":8,"angle":170,"satellites":27,"speed":4,"hex_longitude":"2d7d4400","hex_latitude":"05d2aa50","is_valid_coordinates":true} 
[2026-07-25 13:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951139328001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110219087132491776,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209422612480,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784965397000,"timestamp_ms":1784965397000,"timestamp_seconds":1784965397,"priority":1,"record_length":96,"hex_timestamp":"0000019f983a7a08"} 
[2026-07-25 13:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:13: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-07-25 13: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 13:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141033,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951139328001,"66":13189,"117":206,"85":15104,"24":4,"16":110219087132491776,"45":9026269209422612480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 13:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951139328001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:13:29] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 13:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110219087132491776,"km_value":110219087132491.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209422612480,"description":"Unknown IO ID 45"} 
[2026-07-25 13:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951139328001,"power":13189,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9026269209422612480}} 
[2026-07-25 13:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":141033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:13:29] local.INFO: GPS data processed {"connection_id":141033,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:13:29] local.INFO: Acknowledgment sent {"connection_id":141033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:13:33] local.INFO: TCP Data received {"connection_id":141034,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983712f0012daad50005ff06b80018011726..."} 
[2026-07-25 13:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983712f0012daad50005ff06b80018011726..."} 
[2026-07-25 13:13:33] local.INFO: Processing buffer {"connection_id":141034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983712f0012daad50005ff06b80018011726..."} 
[2026-07-25 13:13:33] local.INFO: Packet analysis {"connection_id":141034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:13:33] local.INFO: Extracted packet for processing {"connection_id":141034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":766170368,"raw_latitude":100599480,"longitude_deg":76.6170368,"latitude_deg":10.059948,"altitude":24,"angle":279,"satellites":38,"speed":7,"hex_longitude":"2daad500","hex_latitude":"05ff06b8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951084288001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740393158148096,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136858153980612608,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965174000,"timestamp_ms":1784965174000,"timestamp_seconds":1784965174,"priority":1,"record_length":96,"hex_timestamp":"0000019f983712f0"} 
[2026-07-25 13:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951084288001,"66":27658,"118":206,"88":20480,"24":7,"16":357740393158148096,"45":-6136858153980612608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951084288001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:13:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:13:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740393158148096,"km_value":357740393158148.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136858153980612608,"description":"Unknown IO ID 45"} 
[2026-07-25 13:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951084288001,"power":27658,"unknown_118":206,"unknown_88":20480,"ignition":7,"odometer":null,"unknown_45":-6136858153980612608}} 
[2026-07-25 13:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":141034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:13:33] local.INFO: GPS data processed {"connection_id":141034,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:13:33] local.INFO: Acknowledgment sent {"connection_id":141034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:13:53] local.INFO: TCP Data received {"connection_id":143443,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:13:53] local.INFO: Processing buffer {"connection_id":143443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:13:53] local.INFO: IMEI packet received {"connection_id":143443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":143443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:13:56] local.INFO: TCP Data received {"connection_id":141093,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:13:56] local.INFO: Processing buffer {"connection_id":141093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:13:56] local.INFO: IMEI packet received {"connection_id":141093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":141093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:13:58] local.INFO: TCP Data received {"connection_id":143443,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:13:58] local.INFO: Processing buffer {"connection_id":143443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:13:58] local.INFO: IMEI packet received {"connection_id":143443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":143443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:13:59] local.INFO: TCP Data received {"connection_id":143443,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983a81d8012d7d444005d2a958000800b71a..."} 
[2026-07-25 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983a81d8012d7d444005d2a958000800b71a..."} 
[2026-07-25 13:13:59] local.INFO: Processing buffer {"connection_id":143443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983a81d8012d7d444005d2a958000800b71a..."} 
[2026-07-25 13:13:59] local.INFO: Packet analysis {"connection_id":143443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983a"} 
[2026-07-25 13:13:59] local.INFO: Extracted packet for processing {"connection_id":143443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983a"} 
[2026-07-25 13:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97691992,"longitude_deg":76.3184192,"latitude_deg":9.7691992,"altitude":8,"angle":183,"satellites":26,"speed":4,"hex_longitude":"2d7d4440","hex_latitude":"05d2a958","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951141632001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110219100017393664,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026339578166530048,"note":"Value kept but may cause issues"} 
[2026-07-25 13:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784965399000,"timestamp_ms":1784965399000,"timestamp_seconds":1784965399,"priority":1,"record_length":96,"hex_timestamp":"0000019f983a81d8"} 
[2026-07-25 13:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:13: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-07-25 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 13:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951141632001,"66":12917,"117":206,"85":15104,"24":4,"16":110219100017393664,"45":9026339578166530048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 13:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951141632001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:13:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 13:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110219100017393664,"km_value":110219100017393.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026339578166530048,"description":"Unknown IO ID 45"} 
[2026-07-25 13:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951141632001,"power":12917,"unknown_117":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9026339578166530048}} 
[2026-07-25 13:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":143443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:13:59] local.INFO: GPS data processed {"connection_id":143443,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:13:59] local.INFO: Acknowledgment sent {"connection_id":143443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:14:01] local.INFO: TCP Data received {"connection_id":141093,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:14:01] local.INFO: Processing buffer {"connection_id":141093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:14:01] local.INFO: IMEI packet received {"connection_id":141093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":141093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:14:01] local.INFO: TCP Data received {"connection_id":141093,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f983749a0012daad78005ff08100018005a26..."} 
[2026-07-25 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983749a0012daad78005ff08100018005a26..."} 
[2026-07-25 13:14:01] local.INFO: Processing buffer {"connection_id":141093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983749a0012daad78005ff08100018005a26..."} 
[2026-07-25 13:14:01] local.INFO: Packet analysis {"connection_id":141093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:14:01] local.INFO: Extracted packet for processing {"connection_id":141093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":766171008,"raw_latitude":100599824,"longitude_deg":76.6171008,"latitude_deg":10.0599824,"altitude":24,"angle":90,"satellites":38,"speed":5,"hex_longitude":"2daad780","hex_latitude":"05ff0810","is_valid_coordinates":true} 
[2026-07-25 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951084544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740453287690240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136998891468965888,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784965188000,"timestamp_ms":1784965188000,"timestamp_seconds":1784965188,"priority":1,"record_length":96,"hex_timestamp":"0000019f983749a0"} 
[2026-07-25 13:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 13:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951084544001,"66":27919,"118":206,"88":20480,"24":5,"16":357740453287690240,"45":-6136998891468965888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951084544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:14:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:14:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740453287690240,"km_value":357740453287690.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136998891468965888,"description":"Unknown IO ID 45"} 
[2026-07-25 13:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951084544001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":5,"odometer":null,"unknown_45":-6136998891468965888}} 
[2026-07-25 13:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":141093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:14:01] local.INFO: GPS data processed {"connection_id":141093,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:14:01] local.INFO: Acknowledgment sent {"connection_id":141093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:14:30] local.INFO: TCP Data received {"connection_id":143443,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983b4140012d7d428005d29100000600831e..."} 
[2026-07-25 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983b4140012d7d428005d29100000600831e..."} 
[2026-07-25 13:14:30] local.INFO: Processing buffer {"connection_id":143443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983b4140012d7d428005d29100000600831e..."} 
[2026-07-25 13:14:30] local.INFO: Packet analysis {"connection_id":143443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:14:30] local.INFO: Extracted packet for processing {"connection_id":143443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97685760,"longitude_deg":76.3183744,"latitude_deg":9.768576,"altitude":6,"angle":131,"satellites":30,"speed":6,"hex_longitude":"2d7d4280","hex_latitude":"05d29100","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951154176001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110219426434908160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890723192832,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965448000,"timestamp_ms":1784965448000,"timestamp_seconds":1784965448,"priority":1,"record_length":96,"hex_timestamp":"0000019f983b4140"} 
[2026-07-25 13:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 13:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:14: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-07-25 13:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951154176001,"66":12765,"117":206,"85":15104,"24":6,"16":110219426434908160,"45":9025635890723192832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 13:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951154176001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:14:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 13:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110219426434908160,"km_value":110219426434908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890723192832,"description":"Unknown IO ID 45"} 
[2026-07-25 13:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951154176001,"power":12765,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9025635890723192832}} 
[2026-07-25 13:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":143443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542828,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:14:30] local.INFO: GPS data processed {"connection_id":143443,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:14:30] local.INFO: Acknowledgment sent {"connection_id":143443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:14:33] local.INFO: TCP Data received {"connection_id":141093,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98378ff0012daadb8005ff08d00018004f28..."} 
[2026-07-25 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98378ff0012daadb8005ff08d00018004f28..."} 
[2026-07-25 13:14:33] local.INFO: Processing buffer {"connection_id":141093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98378ff0012daadb8005ff08d00018004f28..."} 
[2026-07-25 13:14:33] local.INFO: Packet analysis {"connection_id":141093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:14:33] local.INFO: Extracted packet for processing {"connection_id":141093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":766172032,"raw_latitude":100600016,"longitude_deg":76.6172032,"latitude_deg":10.0600016,"altitude":24,"angle":79,"satellites":40,"speed":3,"hex_longitude":"2daadb80","hex_latitude":"05ff08d0","is_valid_coordinates":true} 
[2026-07-25 13:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951088128001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740504827297792,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136295204027101184,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965206000,"timestamp_ms":1784965206000,"timestamp_seconds":1784965206,"priority":1,"record_length":96,"hex_timestamp":"0000019f98378ff0"} 
[2026-07-25 13:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951088128001,"66":27995,"118":206,"88":20480,"24":3,"16":357740504827297792,"45":-6136295204027101184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951088128001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:14:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:14:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740504827297792,"km_value":357740504827297.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136295204027101184,"description":"Unknown IO ID 45"} 
[2026-07-25 13:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951088128001,"power":27995,"unknown_118":206,"unknown_88":20480,"ignition":3,"odometer":null,"unknown_45":-6136295204027101184}} 
[2026-07-25 13:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":141093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:14:33] local.INFO: GPS data processed {"connection_id":141093,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:14:33] local.INFO: Acknowledgment sent {"connection_id":141093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:14:53] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:14:53] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:14:53] local.INFO: IMEI packet received {"connection_id":141035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":141035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:14:55] local.INFO: TCP Data received {"connection_id":142081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:14:55] local.INFO: Processing buffer {"connection_id":142081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:14:55] local.INFO: IMEI packet received {"connection_id":142081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":142081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:14:58] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:14:58] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:14:58] local.INFO: IMEI packet received {"connection_id":141035,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":141035,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:14:59] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983b4910012d7d438005d290500006006e1e..."} 
[2026-07-25 13:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983b4910012d7d438005d290500006006e1e..."} 
[2026-07-25 13:14:59] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983b4910012d7d438005d290500006006e1e..."} 
[2026-07-25 13:14:59] local.INFO: Packet analysis {"connection_id":141035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:14:59] local.INFO: Extracted packet for processing {"connection_id":141035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97685584,"longitude_deg":76.3184,"latitude_deg":9.7685584,"altitude":6,"angle":110,"satellites":30,"speed":5,"hex_longitude":"2d7d4380","hex_latitude":"05d29050","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951154688001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110219443614777344,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365699805184,"note":"Value kept but may cause issues"} 
[2026-07-25 13:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784965450000,"timestamp_ms":1784965450000,"timestamp_seconds":1784965450,"priority":1,"record_length":96,"hex_timestamp":"0000019f983b4910"} 
[2026-07-25 13:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:14: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-07-25 13: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":221,"data_length":795,"current_offset":136} 
[2026-07-25 13:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:14: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-07-25 13:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951154688001,"66":13189,"117":206,"85":15104,"24":5,"16":110219443614777344,"45":9025917365699805184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 13:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951154688001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:14:59] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 13:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110219443614777344,"km_value":110219443614777.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365699805184,"description":"Unknown IO ID 45"} 
[2026-07-25 13:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951154688001,"power":13189,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9025917365699805184}} 
[2026-07-25 13:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":141035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:14:59] local.INFO: GPS data processed {"connection_id":141035,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:14:59] local.INFO: Acknowledgment sent {"connection_id":141035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:15:01] local.INFO: TCP Data received {"connection_id":142081,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:15:01] local.INFO: Processing buffer {"connection_id":142081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:15:01] local.INFO: IMEI packet received {"connection_id":142081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":142081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:15:02] local.INFO: TCP Data received {"connection_id":142081,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98379ba8012daadc8005ff08f00019004428..."} 
[2026-07-25 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98379ba8012daadc8005ff08f00019004428..."} 
[2026-07-25 13:15:02] local.INFO: Processing buffer {"connection_id":142081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98379ba8012daadc8005ff08f00019004428..."} 
[2026-07-25 13:15:02] local.INFO: Packet analysis {"connection_id":142081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:15:02] local.INFO: Extracted packet for processing {"connection_id":142081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":68,"satellites":40,"speed":2,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951092736001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740513417232384,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135169304120209408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965209000,"timestamp_ms":1784965209000,"timestamp_seconds":1784965209,"priority":1,"record_length":96,"hex_timestamp":"0000019f98379ba8"} 
[2026-07-25 13:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951092736001,"66":27984,"118":206,"88":20480,"24":2,"16":357740513417232384,"45":-6135169304120209408},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951092736001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:15:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:15:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740513417232384,"km_value":357740513417232.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135169304120209408,"description":"Unknown IO ID 45"} 
[2026-07-25 13:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951092736001,"power":27984,"unknown_118":206,"unknown_88":20480,"ignition":2,"odometer":null,"unknown_45":-6135169304120209408}} 
[2026-07-25 13:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":142081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:15:02] local.INFO: GPS data processed {"connection_id":142081,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:15:02] local.INFO: Acknowledgment sent {"connection_id":142081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:15:30] local.INFO: TCP Data received {"connection_id":141035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983b54c8012d7d454005d28fe8000700611e..."} 
[2026-07-25 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983b54c8012d7d454005d28fe8000700611e..."} 
[2026-07-25 13:15:30] local.INFO: Processing buffer {"connection_id":141035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983b54c8012d7d454005d28fe8000700611e..."} 
[2026-07-25 13:15:30] local.INFO: Packet analysis {"connection_id":141035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:15:30] local.INFO: Extracted packet for processing {"connection_id":141035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:15:30] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97685480,"longitude_deg":76.3184448,"latitude_deg":9.768548,"altitude":7,"angle":97,"satellites":30,"speed":9,"hex_longitude":"2d7d4540","hex_latitude":"05d28fe8","is_valid_coordinates":true} 
[2026-07-25 13:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951155200001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110219465089613824,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840676470784,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965453000,"timestamp_ms":1784965453000,"timestamp_seconds":1784965453,"priority":1,"record_length":96,"hex_timestamp":"0000019f983b54c8"} 
[2026-07-25 13:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 13:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141035,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:15: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-07-25 13:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951155200001,"66":13059,"117":206,"85":15104,"24":9,"16":110219465089613824,"45":9026198840676470784},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 13:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951155200001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:15:30] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 13:15:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110219465089613824,"km_value":110219465089613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840676470784,"description":"Unknown IO ID 45"} 
[2026-07-25 13:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951155200001,"power":13059,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9026198840676470784}} 
[2026-07-25 13:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":141035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:15:30] local.INFO: GPS data processed {"connection_id":141035,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:15:30] local.INFO: Acknowledgment sent {"connection_id":141035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:15:33] local.INFO: TCP Data received {"connection_id":142081,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9837edb0012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9837edb0012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:15:33] local.INFO: Processing buffer {"connection_id":142081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9837edb0012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:15:33] local.INFO: Packet analysis {"connection_id":142081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:15:33] local.INFO: Extracted packet for processing {"connection_id":142081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9837"} 
[2026-07-25 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":74,"satellites":41,"speed":0,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951093504001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965230000,"timestamp_ms":1784965230000,"timestamp_seconds":1784965230,"priority":1,"record_length":96,"hex_timestamp":"0000019f9837edb0"} 
[2026-07-25 13:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 13:15: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-07-25 13:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951093504001,"66":27919,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951093504001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:15:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:15:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951093504001,"power":27919,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":142081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:15:33] local.INFO: GPS data processed {"connection_id":142081,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:15:33] local.INFO: Acknowledgment sent {"connection_id":142081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:15:55] local.INFO: TCP Data received {"connection_id":143444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:15:55] local.INFO: Processing buffer {"connection_id":143444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:15:55] local.INFO: IMEI packet received {"connection_id":143444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":143444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:15:58] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:15:58] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:15:58] local.INFO: IMEI packet received {"connection_id":141094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":141094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:16:01] local.INFO: TCP Data received {"connection_id":143444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:16:01] local.INFO: Processing buffer {"connection_id":143444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:16:01] local.INFO: IMEI packet received {"connection_id":143444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":143444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:16:02] local.INFO: TCP Data received {"connection_id":143444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98383fb8012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98383fb8012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:16:02] local.INFO: Processing buffer {"connection_id":143444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98383fb8012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:16:02] local.INFO: Packet analysis {"connection_id":143444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9838"} 
[2026-07-25 13:16:02] local.INFO: Extracted packet for processing {"connection_id":143444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9838"} 
[2026-07-25 13:16:02] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":74,"satellites":41,"speed":0,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951098880001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965251000,"timestamp_ms":1784965251000,"timestamp_seconds":1784965251,"priority":1,"record_length":96,"hex_timestamp":"0000019f98383fb8"} 
[2026-07-25 13:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951098880001,"66":28050,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951098880001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:16:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:16:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951098880001,"power":28050,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":143444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:16:02] local.INFO: GPS data processed {"connection_id":143444,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:16:02] local.INFO: Acknowledgment sent {"connection_id":143444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:16:03] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:03] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:03] local.INFO: IMEI packet received {"connection_id":141094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":141094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:16:04] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983ba2e8012d7d69c005d28fb8000800591c..."} 
[2026-07-25 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983ba2e8012d7d69c005d28fb8000800591c..."} 
[2026-07-25 13:16:04] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983ba2e8012d7d69c005d28fb8000800591c..."} 
[2026-07-25 13:16:04] local.INFO: Packet analysis {"connection_id":141094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:16:04] local.INFO: Extracted packet for processing {"connection_id":141094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983b"} 
[2026-07-25 13:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763193792,"raw_latitude":97685432,"longitude_deg":76.3193792,"latitude_deg":9.7685432,"altitude":8,"angle":89,"satellites":28,"speed":19,"hex_longitude":"2d7d69c0","hex_latitude":"05d28fb8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951155968001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110219911766212608,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421885687808,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784965473000,"timestamp_ms":1784965473000,"timestamp_seconds":1784965473,"priority":1,"record_length":96,"hex_timestamp":"0000019f983ba2e8"} 
[2026-07-25 13:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:16: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-07-25 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303156067093926,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":117,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2554012160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2147865236,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":147,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2476212230,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792685774,"corrected_to":0} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941414,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2482044928,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3533289472,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:04] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,117,85,24,241,157,16,148,159,73,45,128,144,6,30,10,66,65,145,147,57,1,240,63,227,152,210,4,113,205,49,192,239,51,2,135,5,9],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2792685774,"validated":0}]} 
[2026-07-25 13:16:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504509939742998528,"timestamp_seconds":504509939742998.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951155968001,"66":13102,"117":206,"85":15104,"24":19,"16":110219911766212608,"45":9026691421885687808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-07-25 13:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951155968001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110219911766212608,"km_value":110219911766212.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421885687808,"description":"Unknown IO ID 45"} 
[2026-07-25 13:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951155968001,"power":13102,"unknown_117":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9026691421885687808}} 
[2026-07-25 13:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":141094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:16:04] local.INFO: GPS data processed {"connection_id":141094,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:16:04] local.INFO: Acknowledgment sent {"connection_id":141094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:16:33] local.INFO: TCP Data received {"connection_id":143444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f983891c0012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983891c0012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:16:33] local.INFO: Processing buffer {"connection_id":143444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983891c0012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:16:33] local.INFO: Packet analysis {"connection_id":143444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9838"} 
[2026-07-25 13:16:33] local.INFO: Extracted packet for processing {"connection_id":143444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9838"} 
[2026-07-25 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":74,"satellites":39,"speed":0,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951104256001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965272000,"timestamp_ms":1784965272000,"timestamp_seconds":1784965272,"priority":1,"record_length":96,"hex_timestamp":"0000019f983891c0"} 
[2026-07-25 13:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 13:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951104256001,"66":28104,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951104256001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:16:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:16:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951104256001,"power":28104,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":143444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:16:33] local.INFO: GPS data processed {"connection_id":143444,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:16:33] local.INFO: Acknowledgment sent {"connection_id":143444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:16:35] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983d3158012d7e598005d2d148000b008e1b..."} 
[2026-07-25 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983d3158012d7e598005d2d148000b008e1b..."} 
[2026-07-25 13:16:35] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983d3158012d7e598005d2d148000b008e1b..."} 
[2026-07-25 13:16:35] local.INFO: Packet analysis {"connection_id":141094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:16:35] local.INFO: Extracted packet for processing {"connection_id":141094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763255168,"raw_latitude":97702216,"longitude_deg":76.3255168,"latitude_deg":9.7702216,"altitude":11,"angle":142,"satellites":27,"speed":9,"hex_longitude":"2d7e5980","hex_latitude":"05d2d148","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951186944001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110223184531292160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104237777973803008,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784965575000,"timestamp_ms":1784965575000,"timestamp_seconds":1784965575,"priority":1,"record_length":96,"hex_timestamp":"0000019f983d3158"} 
[2026-07-25 13:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 13:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951186944001,"66":13091,"116":206,"85":15104,"24":9,"16":110223184531292160,"45":9104237777973803008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951186944001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:16:35] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110223184531292160,"km_value":110223184531292.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104237777973803008,"description":"Unknown IO ID 45"} 
[2026-07-25 13:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951186944001,"power":13091,"unknown_116":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9104237777973803008}} 
[2026-07-25 13:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":141094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:16:35] local.INFO: GPS data processed {"connection_id":141094,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:16:35] local.INFO: Acknowledgment sent {"connection_id":141094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:16:53] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:53] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:53] local.INFO: IMEI packet received {"connection_id":141095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":141095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:16:53] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:53] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:53] local.INFO: IMEI packet received {"connection_id":141095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":141095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:16:55] local.INFO: TCP Data received {"connection_id":143445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:16:55] local.INFO: Processing buffer {"connection_id":143445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:16:55] local.INFO: IMEI packet received {"connection_id":143445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":143445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:16:58] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:58] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:16:58] local.INFO: IMEI packet received {"connection_id":141095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":141095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:16:58] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983d3540012d7e59c005d2d058000a00a61b..."} 
[2026-07-25 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983d3540012d7e59c005d2d058000a00a61b..."} 
[2026-07-25 13:16:58] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983d3540012d7e59c005d2d058000a00a61b..."} 
[2026-07-25 13:16:58] local.INFO: Packet analysis {"connection_id":141095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:16:58] local.INFO: Extracted packet for processing {"connection_id":141095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763255232,"raw_latitude":97701976,"longitude_deg":76.3255232,"latitude_deg":9.7701976,"altitude":10,"angle":166,"satellites":27,"speed":10,"hex_longitude":"2d7e59c0","hex_latitude":"05d2d058","is_valid_coordinates":true} 
[2026-07-25 13:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951187200001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110223193121226752,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104448884206290944,"note":"Value kept but may cause issues"} 
[2026-07-25 13:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784965576000,"timestamp_ms":1784965576000,"timestamp_seconds":1784965576,"priority":1,"record_length":96,"hex_timestamp":"0000019f983d3540"} 
[2026-07-25 13:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:16: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-07-25 13:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951187200001,"66":13091,"116":206,"85":15104,"24":10,"16":110223193121226752,"45":9104448884206290944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951187200001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:16:58] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110223193121226752,"km_value":110223193121226.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104448884206290944,"description":"Unknown IO ID 45"} 
[2026-07-25 13:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951187200001,"power":13091,"unknown_116":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9104448884206290944}} 
[2026-07-25 13:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":141095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:16:58] local.INFO: GPS data processed {"connection_id":141095,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:16:58] local.INFO: Acknowledgment sent {"connection_id":141095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:17:00] local.INFO: TCP Data received {"connection_id":142080,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:17:00] local.INFO: Processing buffer {"connection_id":142080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:17:00] local.INFO: IMEI packet received {"connection_id":142080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:17:01] local.INFO: TCP Data received {"connection_id":143445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:17:01] local.INFO: Processing buffer {"connection_id":143445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:17:01] local.INFO: IMEI packet received {"connection_id":143445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":143445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:17:02] local.INFO: TCP Data received {"connection_id":143445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9838e3c8012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9838e3c8012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:17:02] local.INFO: Processing buffer {"connection_id":143445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9838e3c8012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:17:02] local.INFO: Packet analysis {"connection_id":143445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9838"} 
[2026-07-25 13:17:02] local.INFO: Extracted packet for processing {"connection_id":143445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9838"} 
[2026-07-25 13:17:02] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":74,"satellites":39,"speed":0,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951109632001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965293000,"timestamp_ms":1784965293000,"timestamp_seconds":1784965293,"priority":1,"record_length":96,"hex_timestamp":"0000019f9838e3c8"} 
[2026-07-25 13:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 13:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951109632001,"66":28050,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951109632001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:17:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:17:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951109632001,"power":28050,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":143445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:17:02] local.INFO: GPS data processed {"connection_id":143445,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:17:02] local.INFO: Acknowledgment sent {"connection_id":143445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:17:03] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983d3d10012d7e5a0005d2cda0000a00b31b..."} 
[2026-07-25 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983d3d10012d7e5a0005d2cda0000a00b31b..."} 
[2026-07-25 13:17:03] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983d3d10012d7e5a0005d2cda0000a00b31b..."} 
[2026-07-25 13:17:03] local.INFO: Packet analysis {"connection_id":141095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:17:03] local.INFO: Extracted packet for processing {"connection_id":141095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763255296,"raw_latitude":97701280,"longitude_deg":76.3255296,"latitude_deg":9.770128,"altitude":10,"angle":179,"satellites":27,"speed":16,"hex_longitude":"2d7e5a00","hex_latitude":"05d2cda0","is_valid_coordinates":true} 
[2026-07-25 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951187456001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110223227480965120,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104519252950407168,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784965578000,"timestamp_ms":1784965578000,"timestamp_seconds":1784965578,"priority":1,"record_length":96,"hex_timestamp":"0000019f983d3d10"} 
[2026-07-25 13:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951187456001,"66":13178,"116":206,"85":15104,"24":16,"16":110223227480965120,"45":9104519252950407168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951187456001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110223227480965120,"km_value":110223227480965.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104519252950407168,"description":"Unknown IO ID 45"} 
[2026-07-25 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951187456001,"power":13178,"unknown_116":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9104519252950407168}} 
[2026-07-25 13:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":141095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:17:03] local.INFO: GPS data processed {"connection_id":141095,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:17:03] local.INFO: Acknowledgment sent {"connection_id":141095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:17:33] local.INFO: TCP Data received {"connection_id":143445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983935d0012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983935d0012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:17:33] local.INFO: Processing buffer {"connection_id":143445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983935d0012daadc8005ff08f00019004a29..."} 
[2026-07-25 13:17:33] local.INFO: Packet analysis {"connection_id":143445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:17:33] local.INFO: Extracted packet for processing {"connection_id":143445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":74,"satellites":41,"speed":0,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951115008001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965314000,"timestamp_ms":1784965314000,"timestamp_seconds":1784965314,"priority":1,"record_length":96,"hex_timestamp":"0000019f983935d0"} 
[2026-07-25 13:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 13:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951115008001,"66":27821,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951115008001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:17:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:17:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951115008001,"power":27821,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":143445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:17:33] local.INFO: GPS data processed {"connection_id":143445,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:17:33] local.INFO: Acknowledgment sent {"connection_id":143445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:17:34] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983d8f18012d7e58c005d2aa80000500bc1b..."} 
[2026-07-25 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983d8f18012d7e58c005d2aa80000500bc1b..."} 
[2026-07-25 13:17:34] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983d8f18012d7e58c005d2aa80000500bc1b..."} 
[2026-07-25 13:17:34] local.INFO: Packet analysis {"connection_id":141095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:17:34] local.INFO: Extracted packet for processing {"connection_id":141095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763254976,"raw_latitude":97692288,"longitude_deg":76.3254976,"latitude_deg":9.7692288,"altitude":5,"angle":188,"satellites":27,"speed":28,"hex_longitude":"2d7e58c0","hex_latitude":"05d2aa80","is_valid_coordinates":true} 
[2026-07-25 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951187968001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110223665567629312,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104589621694406656,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784965599000,"timestamp_ms":1784965599000,"timestamp_seconds":1784965599,"priority":1,"record_length":96,"hex_timestamp":"0000019f983d8f18"} 
[2026-07-25 13:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 13:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951187968001,"66":13048,"116":206,"85":15104,"24":28,"16":110223665567629312,"45":9104589621694406656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951187968001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:17:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:17:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110223665567629312,"km_value":110223665567629.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104589621694406656,"description":"Unknown IO ID 45"} 
[2026-07-25 13:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951187968001,"power":13048,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9104589621694406656}} 
[2026-07-25 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":141095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:17:34] local.INFO: GPS data processed {"connection_id":141095,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:17:34] local.INFO: Acknowledgment sent {"connection_id":141095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:17:52] local.INFO: TCP Data received {"connection_id":142082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:52] local.INFO: Processing buffer {"connection_id":142082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:52] local.INFO: IMEI packet received {"connection_id":142082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":142082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:17:53] local.INFO: TCP Data received {"connection_id":142082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:53] local.INFO: Processing buffer {"connection_id":142082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:53] local.INFO: IMEI packet received {"connection_id":142082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":142082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:17:55] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:17:55] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:17:55] local.INFO: IMEI packet received {"connection_id":141036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:17:56] local.INFO: TCP Data received {"connection_id":142082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:56] local.INFO: Processing buffer {"connection_id":142082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:17:56] local.INFO: IMEI packet received {"connection_id":142082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":142082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:17:57] local.INFO: TCP Data received {"connection_id":142082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983d8f18012d7e58c005d2aa80000500bc1b..."} 
[2026-07-25 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983d8f18012d7e58c005d2aa80000500bc1b..."} 
[2026-07-25 13:17:57] local.INFO: Processing buffer {"connection_id":142082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983d8f18012d7e58c005d2aa80000500bc1b..."} 
[2026-07-25 13:17:57] local.INFO: Packet analysis {"connection_id":142082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:17:57] local.INFO: Extracted packet for processing {"connection_id":142082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763254976,"raw_latitude":97692288,"longitude_deg":76.3254976,"latitude_deg":9.7692288,"altitude":5,"angle":188,"satellites":27,"speed":28,"hex_longitude":"2d7e58c0","hex_latitude":"05d2aa80","is_valid_coordinates":true} 
[2026-07-25 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951193344001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110223665567629312,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104237777971216384,"note":"Value kept but may cause issues"} 
[2026-07-25 13:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784965599000,"timestamp_ms":1784965599000,"timestamp_seconds":1784965599,"priority":1,"record_length":96,"hex_timestamp":"0000019f983d8f18"} 
[2026-07-25 13:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 13:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951193344001,"66":13048,"116":206,"85":15104,"24":28,"16":110223665567629312,"45":9104237777971216384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951193344001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:17:57] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110223665567629312,"km_value":110223665567629.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104237777971216384,"description":"Unknown IO ID 45"} 
[2026-07-25 13:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951193344001,"power":13048,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9104237777971216384}} 
[2026-07-25 13:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":142082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:17:57] local.INFO: GPS data processed {"connection_id":142082,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:17:57] local.INFO: Acknowledgment sent {"connection_id":142082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:18:00] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:18:00] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:18:00] local.INFO: IMEI packet received {"connection_id":141036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:18:01] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98394d40012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98394d40012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:18:01] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98394d40012daadc8005ff08f00019004a27..."} 
[2026-07-25 13:18:01] local.INFO: Packet analysis {"connection_id":141036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:18:01] local.INFO: Extracted packet for processing {"connection_id":141036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9839"} 
[2026-07-25 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":766172288,"raw_latitude":100600048,"longitude_deg":76.6172288,"latitude_deg":10.0600048,"altitude":25,"angle":74,"satellites":39,"speed":0,"hex_longitude":"2daadc80","hex_latitude":"05ff08f0","is_valid_coordinates":true} 
[2026-07-25 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951120384001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784965320000,"timestamp_ms":1784965320000,"timestamp_seconds":1784965320,"priority":1,"record_length":96,"hex_timestamp":"0000019f98394d40"} 
[2026-07-25 13:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 13:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951120384001,"66":27995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951120384001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:18:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:18:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951120384001,"power":27995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:18:01] local.INFO: GPS data processed {"connection_id":141036,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:18:01] local.INFO: Acknowledgment sent {"connection_id":141036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:18:28] local.INFO: TCP Data received {"connection_id":142082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983dbdf8012d7e540005d289f0000600ae1a..."} 
[2026-07-25 13:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983dbdf8012d7e540005d289f0000600ae1a..."} 
[2026-07-25 13:18:28] local.INFO: Processing buffer {"connection_id":142082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983dbdf8012d7e540005d289f0000600ae1a..."} 
[2026-07-25 13:18:28] local.INFO: Packet analysis {"connection_id":142082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:18:28] local.INFO: Extracted packet for processing {"connection_id":142082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763253760,"raw_latitude":97683952,"longitude_deg":76.325376,"latitude_deg":9.7683952,"altitude":6,"angle":174,"satellites":26,"speed":24,"hex_longitude":"2d7e5400","hex_latitude":"05d289f0","is_valid_coordinates":true} 
[2026-07-25 13:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951193344001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110224077884489728,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104237777971216384,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784965611000,"timestamp_ms":1784965611000,"timestamp_seconds":1784965611,"priority":1,"record_length":96,"hex_timestamp":"0000019f983dbdf8"} 
[2026-07-25 13:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 13:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951193344001,"66":13037,"116":206,"85":15104,"24":24,"16":110224077884489728,"45":9104237777971216384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951193344001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:18:28] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110224077884489728,"km_value":110224077884489.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104237777971216384,"description":"Unknown IO ID 45"} 
[2026-07-25 13:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951193344001,"power":13037,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9104237777971216384}} 
[2026-07-25 13:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":142082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:18:28] local.INFO: GPS data processed {"connection_id":142082,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:18:28] local.INFO: Acknowledgment sent {"connection_id":142082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:18:33] local.INFO: TCP Data received {"connection_id":141036,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:18:33] local.INFO: Processing buffer {"connection_id":141036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:18:33] local.INFO: Packet analysis {"connection_id":141036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:18:33] local.INFO: Extracted packet for processing {"connection_id":141036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:18:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:18:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":141036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:18:33] local.INFO: GPS data processed {"connection_id":141036,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:18:33] local.INFO: Acknowledgment sent {"connection_id":141036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:18:52] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:52] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:52] local.INFO: IMEI packet received {"connection_id":141096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":141096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:18:53] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:53] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:53] local.INFO: IMEI packet received {"connection_id":141096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":141096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:18:55] local.INFO: TCP Data received {"connection_id":141097,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:18:55] local.INFO: Processing buffer {"connection_id":141097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:18:55] local.INFO: IMEI packet received {"connection_id":141097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:18:58] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:58] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:18:58] local.INFO: IMEI packet received {"connection_id":141096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":141096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:18:58] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983f5c08012d7e788005d1f530000800291c..."} 
[2026-07-25 13:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983f5c08012d7e788005d1f530000800291c..."} 
[2026-07-25 13:18:58] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983f5c08012d7e788005d1f530000800291c..."} 
[2026-07-25 13:18:58] local.INFO: Packet analysis {"connection_id":141096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983f"} 
[2026-07-25 13:18:58] local.INFO: Extracted packet for processing {"connection_id":141096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983f"} 
[2026-07-25 13:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763263104,"raw_latitude":97645872,"longitude_deg":76.3263104,"latitude_deg":9.7645872,"altitude":8,"angle":41,"satellites":28,"speed":2,"hex_longitude":"2d7e7880","hex_latitude":"05d1f530","is_valid_coordinates":true} 
[2026-07-25 13:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951223296001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110226117993955328,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113174608469886976,"note":"Value kept but may cause issues"} 
[2026-07-25 13:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784965717000,"timestamp_ms":1784965717000,"timestamp_seconds":1784965717,"priority":1,"record_length":96,"hex_timestamp":"0000019f983f5c08"} 
[2026-07-25 13:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":74,"data_length":795,"current_offset":136} 
[2026-07-25 13:18: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-07-25 13:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:18: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-07-25 13:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951223296001,"66":12917,"116":206,"85":15104,"24":2,"16":110226117993955328,"45":9113174608469886976},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951223296001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:18:58] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110226117993955328,"km_value":110226117993955.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113174608469886976,"description":"Unknown IO ID 45"} 
[2026-07-25 13:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951223296001,"power":12917,"unknown_116":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9113174608469886976}} 
[2026-07-25 13:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":141096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:18:58] local.INFO: GPS data processed {"connection_id":141096,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:18:58] local.INFO: Acknowledgment sent {"connection_id":141096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:19:01] local.INFO: TCP Data received {"connection_id":141097,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:19:01] local.INFO: Processing buffer {"connection_id":141097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:19:01] local.INFO: IMEI packet received {"connection_id":141097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":141097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:19:02] local.INFO: TCP Data received {"connection_id":141097,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:19:02] local.INFO: Processing buffer {"connection_id":141097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:19:02] local.INFO: Packet analysis {"connection_id":141097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:19:02] local.INFO: Extracted packet for processing {"connection_id":141097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:19:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:19:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":141097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:19:02] local.INFO: GPS data processed {"connection_id":141097,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:19:02] local.INFO: Acknowledgment sent {"connection_id":141097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:19:30] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983f5ff0012d7e78c005d1f548000800341d..."} 
[2026-07-25 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983f5ff0012d7e78c005d1f548000800341d..."} 
[2026-07-25 13:19:30] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983f5ff0012d7e78c005d1f548000800341d..."} 
[2026-07-25 13:19:30] local.INFO: Packet analysis {"connection_id":141096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983f"} 
[2026-07-25 13:19:30] local.INFO: Extracted packet for processing {"connection_id":141096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983f"} 
[2026-07-25 13:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763263168,"raw_latitude":97645896,"longitude_deg":76.3263168,"latitude_deg":9.7645896,"altitude":8,"angle":52,"satellites":29,"speed":2,"hex_longitude":"2d7e78c0","hex_latitude":"05d1f548","is_valid_coordinates":true} 
[2026-07-25 13:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951223552001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110226122288922624,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113174608469897216,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965718000,"timestamp_ms":1784965718000,"timestamp_seconds":1784965718,"priority":1,"record_length":96,"hex_timestamp":"0000019f983f5ff0"} 
[2026-07-25 13:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 13:19: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-07-25 13:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:19: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-07-25 13:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951223552001,"66":12917,"116":206,"85":15104,"24":2,"16":110226122288922624,"45":9113174608469897216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951223552001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:19:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110226122288922624,"km_value":110226122288922.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113174608469897216,"description":"Unknown IO ID 45"} 
[2026-07-25 13:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951223552001,"power":12917,"unknown_116":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9113174608469897216}} 
[2026-07-25 13:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":141096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:19:30] local.INFO: GPS data processed {"connection_id":141096,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:19:30] local.INFO: Acknowledgment sent {"connection_id":141096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:19:33] local.INFO: TCP Data received {"connection_id":141097,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:19:33] local.INFO: Processing buffer {"connection_id":141097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:19:33] local.INFO: Packet analysis {"connection_id":141097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:19:33] local.INFO: Extracted packet for processing {"connection_id":141097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:19:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:19:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":141097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:19:33] local.INFO: GPS data processed {"connection_id":141097,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:19:33] local.INFO: Acknowledgment sent {"connection_id":141097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:19:53] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:19:53] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:19:53] local.INFO: IMEI packet received {"connection_id":141037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":141037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:19:55] local.INFO: TCP Data received {"connection_id":143446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:19:55] local.INFO: Processing buffer {"connection_id":143446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:19:55] local.INFO: IMEI packet received {"connection_id":143446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":143446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:19:58] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:19:58] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:19:58] local.INFO: IMEI packet received {"connection_id":141037,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":141037,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:19:59] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f983f7f30012d7e784005d1f5e8000801391d..."} 
[2026-07-25 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983f7f30012d7e784005d1f5e8000801391d..."} 
[2026-07-25 13:19:59] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983f7f30012d7e784005d1f5e8000801391d..."} 
[2026-07-25 13:19:59] local.INFO: Packet analysis {"connection_id":141037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983f"} 
[2026-07-25 13:19:59] local.INFO: Extracted packet for processing {"connection_id":141037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983f"} 
[2026-07-25 13:19:59] local.INFO: GPS Element Parsed {"raw_longitude":763263040,"raw_latitude":97646056,"longitude_deg":76.326304,"latitude_deg":9.7646056,"altitude":8,"angle":313,"satellites":29,"speed":3,"hex_longitude":"2d7e7840","hex_latitude":"05d1f5e8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110226139468791808,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9113244977214081024,"note":"Value kept but may cause issues"} 
[2026-07-25 13:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784965726000,"timestamp_ms":1784965726000,"timestamp_seconds":1784965726,"priority":1,"record_length":96,"hex_timestamp":"0000019f983f7f30"} 
[2026-07-25 13:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 13:19: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-07-25 13: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-07-25 13:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:19: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-07-25 13:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951223808001,"66":12982,"116":206,"85":15104,"24":3,"16":110226139468791808,"45":9113244977214081024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:19:59] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110226139468791808,"km_value":110226139468791.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9113244977214081024,"description":"Unknown IO ID 45"} 
[2026-07-25 13:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951223808001,"power":12982,"unknown_116":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9113244977214081024}} 
[2026-07-25 13:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":141037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:19:59] local.INFO: GPS data processed {"connection_id":141037,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:19:59] local.INFO: Acknowledgment sent {"connection_id":141037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:20:01] local.INFO: TCP Data received {"connection_id":143446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:20:01] local.INFO: Processing buffer {"connection_id":143446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:20:01] local.INFO: IMEI packet received {"connection_id":143446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":143446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:20:02] local.INFO: TCP Data received {"connection_id":143446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:20:02] local.INFO: Processing buffer {"connection_id":143446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:20:02] local.INFO: Packet analysis {"connection_id":143446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:20:02] local.INFO: Extracted packet for processing {"connection_id":143446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:20:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:20:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:20:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":143446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:20:02] local.INFO: GPS data processed {"connection_id":143446,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:20:02] local.INFO: Acknowledgment sent {"connection_id":143446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:20:30] local.INFO: TCP Data received {"connection_id":141037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9840a040012d7e528005d28eb8000900031b..."} 
[2026-07-25 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9840a040012d7e528005d28eb8000900031b..."} 
[2026-07-25 13:20:30] local.INFO: Processing buffer {"connection_id":141037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9840a040012d7e528005d28eb8000900031b..."} 
[2026-07-25 13:20:30] local.INFO: Packet analysis {"connection_id":141037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9840"} 
[2026-07-25 13:20:30] local.INFO: Extracted packet for processing {"connection_id":141037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9840"} 
[2026-07-25 13:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763253376,"raw_latitude":97685176,"longitude_deg":76.3253376,"latitude_deg":9.7685176,"altitude":9,"angle":3,"satellites":27,"speed":28,"hex_longitude":"2d7e5280","hex_latitude":"05d28eb8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951241984001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110228179578257408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103604459269697536,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965800000,"timestamp_ms":1784965800000,"timestamp_seconds":1784965800,"priority":1,"record_length":96,"hex_timestamp":"0000019f9840a040"} 
[2026-07-25 13:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 13:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141037,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:20: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-07-25 13:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951241984001,"66":13135,"116":206,"85":15104,"24":28,"16":110228179578257408,"45":9103604459269697536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951241984001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:20:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110228179578257408,"km_value":110228179578257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103604459269697536,"description":"Unknown IO ID 45"} 
[2026-07-25 13:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951241984001,"power":13135,"unknown_116":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9103604459269697536}} 
[2026-07-25 13:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":141037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:20:30] local.INFO: GPS data processed {"connection_id":141037,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:20:30] local.INFO: Acknowledgment sent {"connection_id":141037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:20:33] local.INFO: TCP Data received {"connection_id":143446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:20:33] local.INFO: Processing buffer {"connection_id":143446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:20:33] local.INFO: Packet analysis {"connection_id":143446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:20:33] local.INFO: Extracted packet for processing {"connection_id":143446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:20:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:20:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":143446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:20:33] local.INFO: GPS data processed {"connection_id":143446,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:20:33] local.INFO: Acknowledgment sent {"connection_id":143446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:20:53] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:53] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:53] local.INFO: IMEI packet received {"connection_id":141038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":141038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:20:54] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:54] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:54] local.INFO: IMEI packet received {"connection_id":141038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":141038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:20:55] local.INFO: TCP Data received {"connection_id":143447,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:20:55] local.INFO: Processing buffer {"connection_id":143447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:20:55] local.INFO: IMEI packet received {"connection_id":143447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":143447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:20:58] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:58] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:20:58] local.INFO: IMEI packet received {"connection_id":141038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":141038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:20:59] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e010000019f9840abf8012d7e540005d29748000800101b..."} 
[2026-07-25 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":93,"packet_hex":"00000000000000518e010000019f9840abf8012d7e540005d29748000800101b..."} 
[2026-07-25 13:20:59] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9840abf8012d7e540005d29748000800101b..."} 
[2026-07-25 13:20:59] local.INFO: Packet analysis {"connection_id":141038,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9840"} 
[2026-07-25 13:20:59] local.INFO: Extracted packet for processing {"connection_id":141038,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9840"} 
[2026-07-25 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763253760,"raw_latitude":97687368,"longitude_deg":76.325376,"latitude_deg":9.7687368,"altitude":8,"angle":16,"satellites":27,"speed":29,"hex_longitude":"2d7e5400","hex_latitude":"05d29748","is_valid_coordinates":true} 
[2026-07-25 13: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":93,"current_offset":40} 
[2026-07-25 13:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:20:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:20:59] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 13:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141038,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 13:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141038,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 13:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141038,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 13:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 13:20:59] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 13:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":141038,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 13:20:59] local.ERROR: GPS data processing failed {"connection_id":141038,"error":"No valid data to process"} 
[2026-07-25 13:20:59] local.INFO: Acknowledgment sent {"connection_id":141038,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 13:21:01] local.INFO: TCP Data received {"connection_id":143447,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:21:01] local.INFO: Processing buffer {"connection_id":143447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:21:01] local.INFO: IMEI packet received {"connection_id":143447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":143447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:21:02] local.INFO: TCP Data received {"connection_id":143447,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:21:02] local.INFO: Processing buffer {"connection_id":143447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:21:02] local.INFO: Packet analysis {"connection_id":143447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:21:02] local.INFO: Extracted packet for processing {"connection_id":143447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":143447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:21:02] local.INFO: GPS data processed {"connection_id":143447,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:21:02] local.INFO: Acknowledgment sent {"connection_id":143447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:21:30] local.INFO: TCP Data received {"connection_id":141038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9840cb38012d7e58c005d2acf0000900041e..."} 
[2026-07-25 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9840cb38012d7e58c005d2acf0000900041e..."} 
[2026-07-25 13:21:30] local.INFO: Processing buffer {"connection_id":141038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9840cb38012d7e58c005d2acf0000900041e..."} 
[2026-07-25 13:21:30] local.INFO: Packet analysis {"connection_id":141038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9840"} 
[2026-07-25 13:21:30] local.INFO: Extracted packet for processing {"connection_id":141038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9840"} 
[2026-07-25 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":763254976,"raw_latitude":97692912,"longitude_deg":76.3254976,"latitude_deg":9.7692912,"altitude":9,"angle":4,"satellites":30,"speed":24,"hex_longitude":"2d7e58c0","hex_latitude":"05d2acf0","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951245568001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110228561830346752,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102900771830581248,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784965811000,"timestamp_ms":1784965811000,"timestamp_seconds":1784965811,"priority":1,"record_length":96,"hex_timestamp":"0000019f9840cb38"} 
[2026-07-25 13:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 13:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:21: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-07-25 13:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951245568001,"66":13243,"116":206,"85":15104,"24":24,"16":110228561830346752,"45":9102900771830581248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951245568001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:21:30] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110228561830346752,"km_value":110228561830346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102900771830581248,"description":"Unknown IO ID 45"} 
[2026-07-25 13:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951245568001,"power":13243,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9102900771830581248}} 
[2026-07-25 13:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":141038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:21:30] local.INFO: GPS data processed {"connection_id":141038,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:21:30] local.INFO: Acknowledgment sent {"connection_id":141038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:21:33] local.INFO: TCP Data received {"connection_id":143447,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:21:33] local.INFO: Processing buffer {"connection_id":143447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:21:33] local.INFO: Packet analysis {"connection_id":143447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:21:33] local.INFO: Extracted packet for processing {"connection_id":143447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:21:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:21:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:21:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":143447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:21:33] local.INFO: GPS data processed {"connection_id":143447,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:21:33] local.INFO: Acknowledgment sent {"connection_id":143447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:21:55] local.INFO: TCP Data received {"connection_id":141039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:21:55] local.INFO: Processing buffer {"connection_id":141039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:21:55] local.INFO: IMEI packet received {"connection_id":141039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":141039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:21:55] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:21:55] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:21:55] local.INFO: IMEI packet received {"connection_id":141040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":141040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:21:58] local.INFO: TCP Data received {"connection_id":141039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:21:58] local.INFO: Processing buffer {"connection_id":141039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:21:58] local.INFO: IMEI packet received {"connection_id":141039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":141039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:22:01] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:22:01] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:22:01] local.INFO: IMEI packet received {"connection_id":141040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":141040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:22:02] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:22:02] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:22:02] local.INFO: Packet analysis {"connection_id":141040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:22:02] local.INFO: Extracted packet for processing {"connection_id":141040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:22:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:22:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":141040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:22:02] local.INFO: GPS data processed {"connection_id":141040,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:22:02] local.INFO: Acknowledgment sent {"connection_id":141040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:22:03] local.INFO: TCP Data received {"connection_id":141039,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:03] local.INFO: Processing buffer {"connection_id":141039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:03] local.INFO: IMEI packet received {"connection_id":141039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":141039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:22:04] local.INFO: TCP Data received {"connection_id":141039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9841ffd0012d7e644005d30470000a00271e..."} 
[2026-07-25 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9841ffd0012d7e644005d30470000a00271e..."} 
[2026-07-25 13:22:04] local.INFO: Processing buffer {"connection_id":141039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9841ffd0012d7e644005d30470000a00271e..."} 
[2026-07-25 13:22:04] local.INFO: Packet analysis {"connection_id":141039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9841"} 
[2026-07-25 13:22:04] local.INFO: Extracted packet for processing {"connection_id":141039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9841"} 
[2026-07-25 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":763257920,"raw_latitude":97715312,"longitude_deg":76.325792,"latitude_deg":9.7715312,"altitude":10,"angle":39,"satellites":30,"speed":7,"hex_longitude":"2d7e6440","hex_latitude":"05d30470","is_valid_coordinates":true} 
[2026-07-25 13:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951267584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110229747241320448,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107263633976721408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784965890000,"timestamp_ms":1784965890000,"timestamp_seconds":1784965890,"priority":1,"record_length":96,"hex_timestamp":"0000019f9841ffd0"} 
[2026-07-25 13:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 13:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951267584001,"66":12917,"116":206,"85":15104,"24":7,"16":110229747241320448,"45":9107263633976721408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951267584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:22:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:22:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110229747241320448,"km_value":110229747241320.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107263633976721408,"description":"Unknown IO ID 45"} 
[2026-07-25 13:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951267584001,"power":12917,"unknown_116":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107263633976721408}} 
[2026-07-25 13:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":141039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:22:04] local.INFO: GPS data processed {"connection_id":141039,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:22:04] local.INFO: Acknowledgment sent {"connection_id":141039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:22:08] local.INFO: TCP Data received {"connection_id":141039,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f984203b8012d7e648005d30508000a00131e..."} 
[2026-07-25 13:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984203b8012d7e648005d30508000a00131e..."} 
[2026-07-25 13:22:08] local.INFO: Processing buffer {"connection_id":141039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984203b8012d7e648005d30508000a00131e..."} 
[2026-07-25 13:22:08] local.INFO: Packet analysis {"connection_id":141039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:22:08] local.INFO: Extracted packet for processing {"connection_id":141039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763257984,"raw_latitude":97715464,"longitude_deg":76.3257984,"latitude_deg":9.7715464,"altitude":10,"angle":19,"satellites":30,"speed":7,"hex_longitude":"2d7e6480","hex_latitude":"05d30508","is_valid_coordinates":true} 
[2026-07-25 13:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951267840001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110229755831255040,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107474740209283072,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784965891000,"timestamp_ms":1784965891000,"timestamp_seconds":1784965891,"priority":1,"record_length":96,"hex_timestamp":"0000019f984203b8"} 
[2026-07-25 13:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 13:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951267840001,"66":12917,"116":206,"85":15104,"24":7,"16":110229755831255040,"45":9107474740209283072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 13:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951267840001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:22:08] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 13:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110229755831255040,"km_value":110229755831255.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107474740209283072,"description":"Unknown IO ID 45"} 
[2026-07-25 13:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951267840001,"power":12917,"unknown_116":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107474740209283072}} 
[2026-07-25 13:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":141039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:22:08] local.INFO: GPS data processed {"connection_id":141039,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:22:08] local.INFO: Acknowledgment sent {"connection_id":141039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:22:33] local.INFO: TCP Data received {"connection_id":141040,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:22:33] local.INFO: Processing buffer {"connection_id":141040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f983decd8012daae0c005ff0750001e004a28..."} 
[2026-07-25 13:22:33] local.INFO: Packet analysis {"connection_id":141040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:22:33] local.INFO: Extracted packet for processing {"connection_id":141040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f983d"} 
[2026-07-25 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":30,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951121920001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134887829143490560,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965623000,"timestamp_ms":1784965623000,"timestamp_seconds":1784965623,"priority":1,"record_length":96,"hex_timestamp":"0000019f983decd8"} 
[2026-07-25 13:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 13:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951121920001,"66":26419,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6134887829143490560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951121920001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:22:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:22:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134887829143490560,"description":"Unknown IO ID 45"} 
[2026-07-25 13:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951121920001,"power":26419,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6134887829143490560}} 
[2026-07-25 13:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":141040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:22:33] local.INFO: GPS data processed {"connection_id":141040,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:22:33] local.INFO: Acknowledgment sent {"connection_id":141040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:22:35] local.INFO: TCP Data received {"connection_id":142083,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:22:35] local.INFO: Processing buffer {"connection_id":142083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:22:35] local.INFO: IMEI packet received {"connection_id":142083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":142083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:22:53] local.INFO: TCP Data received {"connection_id":142084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:53] local.INFO: Processing buffer {"connection_id":142084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:53] local.INFO: IMEI packet received {"connection_id":142084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":142084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:22:53] local.INFO: TCP Data received {"connection_id":142084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:53] local.INFO: Processing buffer {"connection_id":142084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:53] local.INFO: IMEI packet received {"connection_id":142084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":142084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:22:56] local.INFO: TCP Data received {"connection_id":142084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:56] local.INFO: Processing buffer {"connection_id":142084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:22:56] local.INFO: IMEI packet received {"connection_id":142084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":142084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:22:57] local.INFO: TCP Data received {"connection_id":142084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f984324c8012d7e394005d359200006010d20..."} 
[2026-07-25 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984324c8012d7e394005d359200006010d20..."} 
[2026-07-25 13:22:57] local.INFO: Processing buffer {"connection_id":142084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984324c8012d7e394005d359200006010d20..."} 
[2026-07-25 13:22:57] local.INFO: Packet analysis {"connection_id":142084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9843"} 
[2026-07-25 13:22:57] local.INFO: Extracted packet for processing {"connection_id":142084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9843"} 
[2026-07-25 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97736992,"longitude_deg":76.3246912,"latitude_deg":9.7736992,"altitude":6,"angle":269,"satellites":32,"speed":10,"hex_longitude":"2d7e3940","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-07-25 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951285248001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231177465430016,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097623116029839360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784965965000,"timestamp_ms":1784965965000,"timestamp_seconds":1784965965,"priority":1,"record_length":96,"hex_timestamp":"0000019f984324c8"} 
[2026-07-25 13:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1369094286888403968,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2554506160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3222563027710548706,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4799728900114374592,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2654732288,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146304429830571,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755472455631089,"note":"Value kept but may cause issues"} 
[2026-07-25 13:22:57] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,158,159,234,45,192,87,5,31,10,66,199,64,7,191,128,1,240,248,227,152,211,4,113,205,18,175,94,239,51,2,135,17,50,59,54],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-25 13:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432654655844777984,"timestamp_seconds":432654655844778.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951285248001,"66":13276,"109":206,"85":15104,"24":10,"16":110231177465430016,"45":9097623116029839360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951285248001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:22:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231177465430016,"km_value":110231177465430.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097623116029839360,"description":"Unknown IO ID 45"} 
[2026-07-25 13:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951285248001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9097623116029839360}} 
[2026-07-25 13:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":142084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:22:57] local.INFO: GPS data processed {"connection_id":142084,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:22:57] local.INFO: Acknowledgment sent {"connection_id":142084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:23:01] local.INFO: TCP Data received {"connection_id":143448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:01] local.INFO: Processing buffer {"connection_id":143448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:01] local.INFO: IMEI packet received {"connection_id":143448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":143448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:23:06] local.INFO: TCP Data received {"connection_id":143448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:06] local.INFO: Processing buffer {"connection_id":143448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:06] local.INFO: IMEI packet received {"connection_id":143448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":143448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:23:07] local.INFO: TCP Data received {"connection_id":143448,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:23:07] local.INFO: Processing buffer {"connection_id":143448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:23:07] local.INFO: Packet analysis {"connection_id":143448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:23:07] local.INFO: Extracted packet for processing {"connection_id":143448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:23:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:23:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":143448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:23:07] local.INFO: GPS data processed {"connection_id":143448,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:23:07] local.INFO: Acknowledgment sent {"connection_id":143448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:23:11] local.INFO: TCP Data received {"connection_id":143448,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:23:11] local.INFO: Processing buffer {"connection_id":143448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:23:11] local.INFO: Packet analysis {"connection_id":143448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:23:11] local.INFO: Extracted packet for processing {"connection_id":143448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:23:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:23:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":143448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:23:11] local.INFO: GPS data processed {"connection_id":143448,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:23:11] local.INFO: Acknowledgment sent {"connection_id":143448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:23:28] local.INFO: TCP Data received {"connection_id":142084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98433c38012d7e334005d358300007010020..."} 
[2026-07-25 13:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98433c38012d7e334005d358300007010020..."} 
[2026-07-25 13:23:28] local.INFO: Processing buffer {"connection_id":142084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98433c38012d7e334005d358300007010020..."} 
[2026-07-25 13:23:28] local.INFO: Packet analysis {"connection_id":142084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9843"} 
[2026-07-25 13:23:28] local.INFO: Extracted packet for processing {"connection_id":142084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9843"} 
[2026-07-25 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763245376,"raw_latitude":97736752,"longitude_deg":76.3245376,"latitude_deg":9.7736752,"altitude":7,"angle":256,"satellites":32,"speed":9,"hex_longitude":"2d7e3340","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-07-25 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-07-25 13:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951287040001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231250479874048,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316216274944,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784965971000,"timestamp_ms":1784965971000,"timestamp_seconds":1784965971,"priority":1,"record_length":96,"hex_timestamp":"0000019f98433c38"} 
[2026-07-25 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-07-25 13:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 13:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 13:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951287040001,"66":13243,"109":206,"85":15104,"24":9,"16":110231250479874048,"45":9095371316216274944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951287040001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:23:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231250479874048,"km_value":110231250479874.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316216274944,"description":"Unknown IO ID 45"} 
[2026-07-25 13:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951287040001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9095371316216274944}} 
[2026-07-25 13:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":142084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:23:28] local.INFO: GPS data processed {"connection_id":142084,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:23:28] local.INFO: Acknowledgment sent {"connection_id":142084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:23:51] local.INFO: TCP Data received {"connection_id":143449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:51] local.INFO: Processing buffer {"connection_id":143449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:51] local.INFO: IMEI packet received {"connection_id":143449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":143449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:23:52] local.INFO: TCP Data received {"connection_id":143449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:52] local.INFO: Processing buffer {"connection_id":143449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:52] local.INFO: IMEI packet received {"connection_id":143449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":143449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:23:56] local.INFO: TCP Data received {"connection_id":143450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:56] local.INFO: Processing buffer {"connection_id":143450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:23:56] local.INFO: IMEI packet received {"connection_id":143450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":143450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:23:58] local.INFO: TCP Data received {"connection_id":143449,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:58] local.INFO: Processing buffer {"connection_id":143449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:23:58] local.INFO: IMEI packet received {"connection_id":143449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":143449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:23:59] local.INFO: TCP Data received {"connection_id":143449,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98440758012d7e378005d34e880008010322..."} 
[2026-07-25 13:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98440758012d7e378005d34e880008010322..."} 
[2026-07-25 13:23:59] local.INFO: Processing buffer {"connection_id":143449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98440758012d7e378005d34e880008010322..."} 
[2026-07-25 13:23:59] local.INFO: Packet analysis {"connection_id":143449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:23:59] local.INFO: Extracted packet for processing {"connection_id":143449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734280,"longitude_deg":76.3246464,"latitude_deg":9.773428,"altitude":8,"angle":259,"satellites":34,"speed":2,"hex_longitude":"2d7e3780","hex_latitude":"05d34e88","is_valid_coordinates":true} 
[2026-07-25 13:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231512472879104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727227392,"note":"Value kept but may cause issues"} 
[2026-07-25 13:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966023000,"timestamp_ms":1784966023000,"timestamp_seconds":1784966023,"priority":1,"record_length":96,"hex_timestamp":"0000019f98440758"} 
[2026-07-25 13:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-25 13:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:23: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-07-25 13:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951300864001,"66":13091,"109":206,"85":15104,"24":2,"16":110231512472879104,"45":9095230578727227392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:23:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231512472879104,"km_value":110231512472879.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727227392,"description":"Unknown IO ID 45"} 
[2026-07-25 13:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951300864001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9095230578727227392}} 
[2026-07-25 13:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":143449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:23:59] local.INFO: GPS data processed {"connection_id":143449,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:23:59] local.INFO: Acknowledgment sent {"connection_id":143449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:24:01] local.INFO: TCP Data received {"connection_id":143450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:24:01] local.INFO: Processing buffer {"connection_id":143450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:24:01] local.INFO: IMEI packet received {"connection_id":143450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":143450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:24:02] local.INFO: TCP Data received {"connection_id":143450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:24:02] local.INFO: Processing buffer {"connection_id":143450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:24:02] local.INFO: Packet analysis {"connection_id":143450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:24:02] local.INFO: Extracted packet for processing {"connection_id":143450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:24:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:24:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":143450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:24:02] local.INFO: GPS data processed {"connection_id":143450,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:24:02] local.INFO: Acknowledgment sent {"connection_id":143450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:24:30] local.INFO: TCP Data received {"connection_id":143449,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98441ae0012d7e368005d34e48000800e922..."} 
[2026-07-25 13:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98441ae0012d7e368005d34e48000800e922..."} 
[2026-07-25 13:24:30] local.INFO: Processing buffer {"connection_id":143449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98441ae0012d7e368005d34e48000800e922..."} 
[2026-07-25 13:24:30] local.INFO: Packet analysis {"connection_id":143449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:24:30] local.INFO: Extracted packet for processing {"connection_id":143449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97734216,"longitude_deg":76.3246208,"latitude_deg":9.7734216,"altitude":8,"angle":233,"satellites":34,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34e48","is_valid_coordinates":true} 
[2026-07-25 13:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951301888001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231521062813696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006337024,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966028000,"timestamp_ms":1784966028000,"timestamp_seconds":1784966028,"priority":1,"record_length":96,"hex_timestamp":"0000019f98441ae0"} 
[2026-07-25 13:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 13:24: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-07-25 13:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:24: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-07-25 13:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951301888001,"66":13124,"109":206,"85":15104,"24":0,"16":110231521062813696,"45":9094878735006337024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951301888001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:24:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231521062813696,"km_value":110231521062813.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006337024,"description":"Unknown IO ID 45"} 
[2026-07-25 13:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951301888001,"power":13124,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006337024}} 
[2026-07-25 13:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":143449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:24:30] local.INFO: GPS data processed {"connection_id":143449,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:24:30] local.INFO: Acknowledgment sent {"connection_id":143449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:24:33] local.INFO: TCP Data received {"connection_id":143450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:24:33] local.INFO: Processing buffer {"connection_id":143450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:24:33] local.INFO: Packet analysis {"connection_id":143450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:24:33] local.INFO: Extracted packet for processing {"connection_id":143450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:24:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:24:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":143450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:24:33] local.INFO: GPS data processed {"connection_id":143450,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:24:33] local.INFO: Acknowledgment sent {"connection_id":143450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:24:53] local.INFO: TCP Data received {"connection_id":142085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:24:53] local.INFO: Processing buffer {"connection_id":142085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:24:53] local.INFO: IMEI packet received {"connection_id":142085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":142085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:24:56] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:24:56] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:24:56] local.INFO: IMEI packet received {"connection_id":141041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":141041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:24:58] local.INFO: TCP Data received {"connection_id":142085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142085,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:24:58] local.INFO: Processing buffer {"connection_id":142085,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:24:58] local.INFO: IMEI packet received {"connection_id":142085,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":142085,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:24:59] local.INFO: TCP Data received {"connection_id":142085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98441ec8012d7e368005d34e30000800dd22..."} 
[2026-07-25 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98441ec8012d7e368005d34e30000800dd22..."} 
[2026-07-25 13:24:59] local.INFO: Processing buffer {"connection_id":142085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98441ec8012d7e368005d34e30000800dd22..."} 
[2026-07-25 13:24:59] local.INFO: Packet analysis {"connection_id":142085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:24:59] local.INFO: Extracted packet for processing {"connection_id":142085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:24:59] local.INFO: GPS Element Parsed {"raw_longitude":763246208,"raw_latitude":97734192,"longitude_deg":76.3246208,"latitude_deg":9.7734192,"altitude":8,"angle":221,"satellites":34,"speed":0,"hex_longitude":"2d7e3680","hex_latitude":"05d34e30","is_valid_coordinates":true} 
[2026-07-25 13:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951303168001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231525357780992,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029609984,"note":"Value kept but may cause issues"} 
[2026-07-25 13:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966029000,"timestamp_ms":1784966029000,"timestamp_seconds":1784966029,"priority":1,"record_length":96,"hex_timestamp":"0000019f98441ec8"} 
[2026-07-25 13:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 13:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:24: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-07-25 13:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951303168001,"66":13124,"109":206,"85":15104,"24":0,"16":110231525357780992,"45":9094597260029609984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951303168001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:24:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231525357780992,"km_value":110231525357780.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029609984,"description":"Unknown IO ID 45"} 
[2026-07-25 13:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951303168001,"power":13124,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094597260029609984}} 
[2026-07-25 13:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":142085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:24:59] local.INFO: GPS data processed {"connection_id":142085,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:24:59] local.INFO: Acknowledgment sent {"connection_id":142085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:25:01] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:25:01] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:25:01] local.INFO: IMEI packet received {"connection_id":141041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:25:02] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:25:02] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:25:02] local.INFO: Packet analysis {"connection_id":141041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:25:02] local.INFO: Extracted packet for processing {"connection_id":141041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:25:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:25:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:25:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":141041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:25:02] local.INFO: GPS data processed {"connection_id":141041,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:25:02] local.INFO: Acknowledgment sent {"connection_id":141041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:25:30] local.INFO: TCP Data received {"connection_id":142085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984449c0012d7e364005d34e680008000121..."} 
[2026-07-25 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984449c0012d7e364005d34e680008000121..."} 
[2026-07-25 13:25:30] local.INFO: Processing buffer {"connection_id":142085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984449c0012d7e364005d34e680008000121..."} 
[2026-07-25 13:25:30] local.INFO: Packet analysis {"connection_id":142085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:25:30] local.INFO: Extracted packet for processing {"connection_id":142085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:25:30] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734248,"longitude_deg":76.3246144,"latitude_deg":9.7734248,"altitude":8,"angle":1,"satellites":33,"speed":3,"hex_longitude":"2d7e3640","hex_latitude":"05d34e68","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951303424001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231529652748288,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094597260029603840,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966040000,"timestamp_ms":1784966040000,"timestamp_seconds":1784966040,"priority":1,"record_length":96,"hex_timestamp":"0000019f984449c0"} 
[2026-07-25 13:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 13:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142085,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:25: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-07-25 13:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951303424001,"66":13037,"109":206,"85":15104,"24":3,"16":110231529652748288,"45":9094597260029603840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951303424001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:25:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231529652748288,"km_value":110231529652748.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094597260029603840,"description":"Unknown IO ID 45"} 
[2026-07-25 13:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951303424001,"power":13037,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094597260029603840}} 
[2026-07-25 13:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":142085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:25:30] local.INFO: GPS data processed {"connection_id":142085,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:25:30] local.INFO: Acknowledgment sent {"connection_id":142085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:25:33] local.INFO: TCP Data received {"connection_id":141041,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:25:33] local.INFO: Processing buffer {"connection_id":141041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:25:33] local.INFO: Packet analysis {"connection_id":141041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:25:33] local.INFO: Extracted packet for processing {"connection_id":141041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:25:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:25:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":141041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:25:33] local.INFO: GPS data processed {"connection_id":141041,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:25:33] local.INFO: Acknowledgment sent {"connection_id":141041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:25:53] local.INFO: TCP Data received {"connection_id":142086,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:25:53] local.INFO: Processing buffer {"connection_id":142086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:25:53] local.INFO: IMEI packet received {"connection_id":142086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":142086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:25:55] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:25:55] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:25:55] local.INFO: IMEI packet received {"connection_id":141099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":141099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:25:58] local.INFO: TCP Data received {"connection_id":142086,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:25:58] local.INFO: Processing buffer {"connection_id":142086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:25:58] local.INFO: IMEI packet received {"connection_id":142086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":142086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:25:59] local.INFO: TCP Data received {"connection_id":142086,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98446130012d7e364005d34e58000800bd21..."} 
[2026-07-25 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98446130012d7e364005d34e58000800bd21..."} 
[2026-07-25 13:25:59] local.INFO: Processing buffer {"connection_id":142086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98446130012d7e364005d34e58000800bd21..."} 
[2026-07-25 13:25:59] local.INFO: Packet analysis {"connection_id":142086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:25:59] local.INFO: Extracted packet for processing {"connection_id":142086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763246144,"raw_latitude":97734232,"longitude_deg":76.3246144,"latitude_deg":9.7734232,"altitude":8,"angle":189,"satellites":33,"speed":2,"hex_longitude":"2d7e3640","hex_latitude":"05d34e58","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951306240001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231542537650176,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285440512,"note":"Value kept but may cause issues"} 
[2026-07-25 13:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966046000,"timestamp_ms":1784966046000,"timestamp_seconds":1784966046,"priority":1,"record_length":96,"hex_timestamp":"0000019f98446130"} 
[2026-07-25 13:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 13:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:25: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-07-25 13:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951306240001,"66":13059,"109":206,"85":15104,"24":2,"16":110231542537650176,"45":9094526891285440512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951306240001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:25:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:25:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231542537650176,"km_value":110231542537650.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285440512,"description":"Unknown IO ID 45"} 
[2026-07-25 13:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951306240001,"power":13059,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9094526891285440512}} 
[2026-07-25 13:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":142086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:25:59] local.INFO: GPS data processed {"connection_id":142086,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:25:59] local.INFO: Acknowledgment sent {"connection_id":142086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:26:01] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:26:01] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:26:01] local.INFO: IMEI packet received {"connection_id":141099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":141099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:26:02] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:26:02] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:26:02] local.INFO: Packet analysis {"connection_id":141099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:26:02] local.INFO: Extracted packet for processing {"connection_id":141099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:26:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:26:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":141099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:26:02] local.INFO: GPS data processed {"connection_id":141099,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:26:02] local.INFO: Acknowledgment sent {"connection_id":141099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:26:30] local.INFO: TCP Data received {"connection_id":142086,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984493f8012d7e360005d34db0000800bc22..."} 
[2026-07-25 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984493f8012d7e360005d34db0000800bc22..."} 
[2026-07-25 13:26:30] local.INFO: Processing buffer {"connection_id":142086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984493f8012d7e360005d34db0000800bc22..."} 
[2026-07-25 13:26:30] local.INFO: Packet analysis {"connection_id":142086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:26:30] local.INFO: Extracted packet for processing {"connection_id":142086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":8,"angle":188,"satellites":34,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-25 13:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951307776001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094526891285436416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966059000,"timestamp_ms":1784966059000,"timestamp_seconds":1784966059,"priority":1,"record_length":96,"hex_timestamp":"0000019f984493f8"} 
[2026-07-25 13:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159355428173,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399427,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2554579160,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 13:26:30] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3087084926,"corrected_to":0} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221607246,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2666921984,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545112576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:30] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,159,73,45,64,78,8,33,10,66,158,30,128,34,26,1,240,68,227,152,211,4,113,205,2,247,56,144,239,52,135,5,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0},{"io_id":247,"original":3087084926,"validated":0}]} 
[2026-07-25 13:26:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576668701735124992,"timestamp_seconds":576668701735125.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:26: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-07-25 13:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951307776001,"66":12928,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9094526891285436416},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951307776001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:26:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094526891285436416,"description":"Unknown IO ID 45"} 
[2026-07-25 13:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951307776001,"power":12928,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094526891285436416}} 
[2026-07-25 13:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":142086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:26:30] local.INFO: GPS data processed {"connection_id":142086,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:26:30] local.INFO: Acknowledgment sent {"connection_id":142086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:26:33] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:26:33] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:26:33] local.INFO: Packet analysis {"connection_id":141099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:26:33] local.INFO: Extracted packet for processing {"connection_id":141099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:26:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:26:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":141099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:26:33] local.INFO: GPS data processed {"connection_id":141099,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:26:33] local.INFO: Acknowledgment sent {"connection_id":141099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:26:55] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:26:55] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:26:55] local.INFO: IMEI packet received {"connection_id":141042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":141042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:26:58] local.INFO: TCP Data received {"connection_id":143451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:26:58] local.INFO: Processing buffer {"connection_id":143451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:26:58] local.INFO: IMEI packet received {"connection_id":143451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":143451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:27:01] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:27:01] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:27:01] local.INFO: IMEI packet received {"connection_id":141042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":141042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:27:01] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:27:01] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:27:01] local.INFO: Packet analysis {"connection_id":141042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:27:01] local.INFO: Extracted packet for processing {"connection_id":141042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:27:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:27:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:27:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":141042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:27:01] local.INFO: GPS data processed {"connection_id":141042,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:27:01] local.INFO: Acknowledgment sent {"connection_id":141042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:27:03] local.INFO: TCP Data received {"connection_id":143451,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:03] local.INFO: Processing buffer {"connection_id":143451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:03] local.INFO: IMEI packet received {"connection_id":143451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":143451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:27:04] local.INFO: TCP Data received {"connection_id":143451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984493f8012d7e360005d34db0000800bc22..."} 
[2026-07-25 13:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984493f8012d7e360005d34db0000800bc22..."} 
[2026-07-25 13:27:04] local.INFO: Processing buffer {"connection_id":143451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984493f8012d7e360005d34db0000800bc22..."} 
[2026-07-25 13:27:04] local.INFO: Packet analysis {"connection_id":143451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:27:04] local.INFO: Extracted packet for processing {"connection_id":143451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9844"} 
[2026-07-25 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":8,"angle":188,"satellites":34,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-25 13:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951311104001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784966059000,"timestamp_ms":1784966059000,"timestamp_seconds":1784966059,"priority":1,"record_length":96,"hex_timestamp":"0000019f984493f8"} 
[2026-07-25 13:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-25 13:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:27: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-07-25 13:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951311104001,"66":12928,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9094456522541215744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951311104001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-25 13:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951311104001,"power":12928,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-25 13:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":143451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:27:04] local.INFO: GPS data processed {"connection_id":143451,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:27:04] local.INFO: Acknowledgment sent {"connection_id":143451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:27:08] local.INFO: TCP Data received {"connection_id":143451,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:27:08] local.INFO: Processing buffer {"connection_id":143451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:27:08] local.INFO: Packet analysis {"connection_id":143451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:27:08] local.INFO: Extracted packet for processing {"connection_id":143451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:27: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-07-25 13:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951311104001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784966132000,"timestamp_ms":1784966132000,"timestamp_seconds":1784966132,"priority":1,"record_length":96,"hex_timestamp":"0000019f9845b120"} 
[2026-07-25 13:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-25 13:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951311104001,"66":5199,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9094456522541215744},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951311104001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:27:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:27:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-25 13:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951311104001,"power":5199,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-25 13:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":143451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:27:08] local.INFO: GPS data processed {"connection_id":143451,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:27:08] local.INFO: Acknowledgment sent {"connection_id":143451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:27:32] local.INFO: TCP Data received {"connection_id":141042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:27:33] local.INFO: Processing buffer {"connection_id":141042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984284a0012daae0c005ff0750001d004a26..."} 
[2026-07-25 13:27:33] local.INFO: Packet analysis {"connection_id":141042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:27:33] local.INFO: Extracted packet for processing {"connection_id":141042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9842"} 
[2026-07-25 13:27:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":29,"angle":74,"satellites":38,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784965924000,"timestamp_ms":1784965924000,"timestamp_seconds":1784965924,"priority":1,"record_length":96,"hex_timestamp":"0000019f984284a0"} 
[2026-07-25 13:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 13:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951199488001,"66":26136,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:27:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:27:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951199488001,"power":26136,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":141042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:27:33] local.INFO: GPS data processed {"connection_id":141042,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:27:33] local.INFO: Acknowledgment sent {"connection_id":141042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:27:53] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:53] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:53] local.INFO: IMEI packet received {"connection_id":141100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":141100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:27:58] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:58] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:27:58] local.INFO: IMEI packet received {"connection_id":141100,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":141100,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:27:59] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:27:59] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:27:59] local.INFO: Packet analysis {"connection_id":141100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:27:59] local.INFO: Extracted packet for processing {"connection_id":141100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966132000,"timestamp_ms":1784966132000,"timestamp_seconds":1784966132,"priority":1,"record_length":96,"hex_timestamp":"0000019f9845b120"} 
[2026-07-25 13:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:27: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-07-25 13:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":5199,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:27:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":5199,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":141100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542882,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:27:59] local.INFO: GPS data processed {"connection_id":141100,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:27:59] local.INFO: Acknowledgment sent {"connection_id":141100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:28:01] local.INFO: TCP Data received {"connection_id":142087,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:01] local.INFO: Processing buffer {"connection_id":142087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:01] local.INFO: IMEI packet received {"connection_id":142087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":142087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:28:06] local.INFO: TCP Data received {"connection_id":142087,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:06] local.INFO: Processing buffer {"connection_id":142087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:06] local.INFO: IMEI packet received {"connection_id":142087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":142087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:28:06] local.INFO: TCP Data received {"connection_id":142087,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:28:06] local.INFO: Processing buffer {"connection_id":142087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:28:06] local.INFO: Packet analysis {"connection_id":142087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:28:06] local.INFO: Extracted packet for processing {"connection_id":142087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:28:06] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:28:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:28:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":142087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:28:06] local.INFO: GPS data processed {"connection_id":142087,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:28:06] local.INFO: Acknowledgment sent {"connection_id":142087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:28:10] local.INFO: TCP Data received {"connection_id":141043,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:28:10] local.INFO: Processing buffer {"connection_id":141043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:28:10] local.INFO: IMEI packet received {"connection_id":141043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":141043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:28:11] local.INFO: TCP Data received {"connection_id":142087,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:28:11] local.INFO: Processing buffer {"connection_id":142087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:28:11] local.INFO: Packet analysis {"connection_id":142087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:28:11] local.INFO: Extracted packet for processing {"connection_id":142087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:28:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:28:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":142087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:28:11] local.INFO: GPS data processed {"connection_id":142087,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:28:11] local.INFO: Acknowledgment sent {"connection_id":142087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:28:30] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:28:30] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:28:30] local.INFO: Packet analysis {"connection_id":141100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:28:30] local.INFO: Extracted packet for processing {"connection_id":141100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:28:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966132000,"timestamp_ms":1784966132000,"timestamp_seconds":1784966132,"priority":1,"record_length":96,"hex_timestamp":"0000019f9845b120"} 
[2026-07-25 13:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141100,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:28: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-07-25 13:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":5199,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:28:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":5199,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":141100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:28:30] local.INFO: GPS data processed {"connection_id":141100,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:28:30] local.INFO: Acknowledgment sent {"connection_id":141100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:28:49] local.INFO: TCP Data received {"connection_id":141044,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:28:49] local.INFO: Processing buffer {"connection_id":141044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:28:49] local.INFO: IMEI packet received {"connection_id":141044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":141044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:28:53] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:28:53] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:28:53] local.INFO: IMEI packet received {"connection_id":141045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":141045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:28:55] local.INFO: TCP Data received {"connection_id":143452,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:55] local.INFO: Processing buffer {"connection_id":143452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:28:55] local.INFO: IMEI packet received {"connection_id":143452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":143452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:28:58] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:28:58] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:28:58] local.INFO: IMEI packet received {"connection_id":141045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":141045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:28:59] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:28:59] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9845b120012d7e380005d34d90000800bc23..."} 
[2026-07-25 13:28:59] local.INFO: Packet analysis {"connection_id":141045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:28:59] local.INFO: Extracted packet for processing {"connection_id":141045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9845"} 
[2026-07-25 13:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":35,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966132000,"timestamp_ms":1784966132000,"timestamp_seconds":1784966132,"priority":1,"record_length":96,"hex_timestamp":"0000019f9845b120"} 
[2026-07-25 13:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:28: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-07-25 13:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":5199,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:28:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":5199,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":141045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:28:59] local.INFO: GPS data processed {"connection_id":141045,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:28:59] local.INFO: Acknowledgment sent {"connection_id":141045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:29:01] local.INFO: TCP Data received {"connection_id":143452,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:29:01] local.INFO: Processing buffer {"connection_id":143452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:29:01] local.INFO: IMEI packet received {"connection_id":143452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":143452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:29:02] local.INFO: TCP Data received {"connection_id":143452,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:29:02] local.INFO: Processing buffer {"connection_id":143452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:29:02] local.INFO: Packet analysis {"connection_id":143452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:29:02] local.INFO: Extracted packet for processing {"connection_id":143452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:29:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:29:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":143452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:29:02] local.INFO: GPS data processed {"connection_id":143452,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:29:02] local.INFO: Acknowledgment sent {"connection_id":143452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:29:30] local.INFO: TCP Data received {"connection_id":141045,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:29:30] local.INFO: Processing buffer {"connection_id":141045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:29:30] local.INFO: Packet analysis {"connection_id":141045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:29:30] local.INFO: Extracted packet for processing {"connection_id":141045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:29: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-07-25 13:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":141045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:29:30] local.INFO: GPS data processed {"connection_id":141045,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:29:30] local.INFO: Acknowledgment sent {"connection_id":141045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:29:33] local.INFO: TCP Data received {"connection_id":143452,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:29:33] local.INFO: Processing buffer {"connection_id":143452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:29:33] local.INFO: Packet analysis {"connection_id":143452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:29:33] local.INFO: Extracted packet for processing {"connection_id":143452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:29:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:29:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":143452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:29:33] local.INFO: GPS data processed {"connection_id":143452,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:29:33] local.INFO: Acknowledgment sent {"connection_id":143452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:29:52] local.INFO: TCP Data received {"connection_id":143453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:29:52] local.INFO: Processing buffer {"connection_id":143453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:29:52] local.INFO: IMEI packet received {"connection_id":143453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":143453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:29:55] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:29:55] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:29:55] local.INFO: IMEI packet received {"connection_id":141101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:29:58] local.INFO: TCP Data received {"connection_id":143453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143453,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:29:58] local.INFO: Processing buffer {"connection_id":143453,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:29:58] local.INFO: IMEI packet received {"connection_id":143453,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":143453,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:29:59] local.INFO: TCP Data received {"connection_id":143453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:29:59] local.INFO: Processing buffer {"connection_id":143453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:29:59] local.INFO: Packet analysis {"connection_id":143453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:29:59] local.INFO: Extracted packet for processing {"connection_id":143453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:29: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-07-25 13:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:29:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":143453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:29:59] local.INFO: GPS data processed {"connection_id":143453,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:29:59] local.INFO: Acknowledgment sent {"connection_id":143453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:30:01] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:30:01] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:30:01] local.INFO: IMEI packet received {"connection_id":141101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":141101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:30:02] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:30:02] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:30:02] local.INFO: Packet analysis {"connection_id":141101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:30:02] local.INFO: Extracted packet for processing {"connection_id":141101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":141101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:30:02] local.INFO: GPS data processed {"connection_id":141101,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:30:02] local.INFO: Acknowledgment sent {"connection_id":141101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:30:30] local.INFO: TCP Data received {"connection_id":143453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:30:30] local.INFO: Processing buffer {"connection_id":143453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:30:30] local.INFO: Packet analysis {"connection_id":143453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:30:30] local.INFO: Extracted packet for processing {"connection_id":143453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143453,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:30: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-07-25 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":143453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:30:30] local.INFO: GPS data processed {"connection_id":143453,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:30:30] local.INFO: Acknowledgment sent {"connection_id":143453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:30:33] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:30:33] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:30:33] local.INFO: Packet analysis {"connection_id":141101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:30:33] local.INFO: Extracted packet for processing {"connection_id":141101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:30:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:30:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:30:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":141101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:30:33] local.INFO: GPS data processed {"connection_id":141101,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:30:33] local.INFO: Acknowledgment sent {"connection_id":141101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:30:52] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:30:52] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:30:52] local.INFO: IMEI packet received {"connection_id":141046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":141046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:30:55] local.INFO: TCP Data received {"connection_id":143454,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:30:55] local.INFO: Processing buffer {"connection_id":143454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:30:55] local.INFO: IMEI packet received {"connection_id":143454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":143454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:30:58] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:30:58] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:30:58] local.INFO: IMEI packet received {"connection_id":141046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":141046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:30:59] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:30:59] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:30:59] local.INFO: Packet analysis {"connection_id":141046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:30:59] local.INFO: Extracted packet for processing {"connection_id":141046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:30: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-07-25 13:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:30:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":141046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:30:59] local.INFO: GPS data processed {"connection_id":141046,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:30:59] local.INFO: Acknowledgment sent {"connection_id":141046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:31:01] local.INFO: TCP Data received {"connection_id":143454,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:31:01] local.INFO: Processing buffer {"connection_id":143454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:31:01] local.INFO: IMEI packet received {"connection_id":143454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":143454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:31:02] local.INFO: TCP Data received {"connection_id":143454,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:31:02] local.INFO: Processing buffer {"connection_id":143454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:31:02] local.INFO: Packet analysis {"connection_id":143454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:31:02] local.INFO: Extracted packet for processing {"connection_id":143454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":143454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:31:02] local.INFO: GPS data processed {"connection_id":143454,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:31:02] local.INFO: Acknowledgment sent {"connection_id":143454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:31:30] local.INFO: TCP Data received {"connection_id":141046,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:31:30] local.INFO: Processing buffer {"connection_id":141046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:31:30] local.INFO: Packet analysis {"connection_id":141046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:31:30] local.INFO: Extracted packet for processing {"connection_id":141046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:31: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-07-25 13:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:31:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":141046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:31:30] local.INFO: GPS data processed {"connection_id":141046,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:31:30] local.INFO: Acknowledgment sent {"connection_id":141046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:31:33] local.INFO: TCP Data received {"connection_id":143454,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:31:33] local.INFO: Processing buffer {"connection_id":143454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:31:33] local.INFO: Packet analysis {"connection_id":143454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:31:33] local.INFO: Extracted packet for processing {"connection_id":143454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:31:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:31:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:31:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":143454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:31:33] local.INFO: GPS data processed {"connection_id":143454,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:31:33] local.INFO: Acknowledgment sent {"connection_id":143454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:31:55] local.INFO: TCP Data received {"connection_id":142088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:31:55] local.INFO: Processing buffer {"connection_id":142088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:31:55] local.INFO: IMEI packet received {"connection_id":142088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":142088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:31:58] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:31:58] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:31:58] local.INFO: IMEI packet received {"connection_id":141047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":141047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:32:01] local.INFO: TCP Data received {"connection_id":142088,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:32:01] local.INFO: Processing buffer {"connection_id":142088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:32:01] local.INFO: IMEI packet received {"connection_id":142088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":142088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:32:02] local.INFO: TCP Data received {"connection_id":142088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:32:02] local.INFO: Processing buffer {"connection_id":142088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:32:02] local.INFO: Packet analysis {"connection_id":142088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:32:02] local.INFO: Extracted packet for processing {"connection_id":142088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:32:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:32:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:32:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":142088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:32:02] local.INFO: GPS data processed {"connection_id":142088,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:32:02] local.INFO: Acknowledgment sent {"connection_id":142088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:32:03] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:03] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:03] local.INFO: IMEI packet received {"connection_id":141047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":141047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:32:04] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:04] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:04] local.INFO: Packet analysis {"connection_id":141047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:32:04] local.INFO: Extracted packet for processing {"connection_id":141047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:32: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-07-25 13:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":141047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:32:04] local.INFO: GPS data processed {"connection_id":141047,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:32:04] local.INFO: Acknowledgment sent {"connection_id":141047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:32:08] local.INFO: TCP Data received {"connection_id":141047,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:08] local.INFO: Processing buffer {"connection_id":141047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:08] local.INFO: Packet analysis {"connection_id":141047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:32:08] local.INFO: Extracted packet for processing {"connection_id":141047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:32:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":141047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:32:08] local.INFO: GPS data processed {"connection_id":141047,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:32:08] local.INFO: Acknowledgment sent {"connection_id":141047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:32:33] local.INFO: TCP Data received {"connection_id":142088,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:32:33] local.INFO: Processing buffer {"connection_id":142088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98471c68012daae0c005ff07500021004a22..."} 
[2026-07-25 13:32:33] local.INFO: Packet analysis {"connection_id":142088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:32:33] local.INFO: Extracted packet for processing {"connection_id":142088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9847"} 
[2026-07-25 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":33,"angle":74,"satellites":34,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951276544001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966225000,"timestamp_ms":1784966225000,"timestamp_seconds":1784966225,"priority":1,"record_length":96,"hex_timestamp":"0000019f98471c68"} 
[2026-07-25 13:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951276544001,"66":25995,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951276544001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:32:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:32:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951276544001,"power":25995,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":142088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:32:33] local.INFO: GPS data processed {"connection_id":142088,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:32:33] local.INFO: Acknowledgment sent {"connection_id":142088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:32:53] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:53] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:53] local.INFO: IMEI packet received {"connection_id":141102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":141102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:32:58] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:58] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:32:58] local.INFO: IMEI packet received {"connection_id":141102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":141102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:32:58] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:58] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:32:58] local.INFO: Packet analysis {"connection_id":141102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:32:58] local.INFO: Extracted packet for processing {"connection_id":141102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:32:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":141102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:32:58] local.INFO: GPS data processed {"connection_id":141102,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:32:58] local.INFO: Acknowledgment sent {"connection_id":141102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:33:01] local.INFO: TCP Data received {"connection_id":143455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:01] local.INFO: Processing buffer {"connection_id":143455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:01] local.INFO: IMEI packet received {"connection_id":143455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":143455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:33:06] local.INFO: TCP Data received {"connection_id":143455,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:06] local.INFO: Processing buffer {"connection_id":143455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:06] local.INFO: IMEI packet received {"connection_id":143455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":143455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:33:07] local.INFO: TCP Data received {"connection_id":143455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:33:07] local.INFO: Processing buffer {"connection_id":143455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:33:07] local.INFO: Packet analysis {"connection_id":143455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:33:07] local.INFO: Extracted packet for processing {"connection_id":143455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:33:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:33:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":143455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:33:07] local.INFO: GPS data processed {"connection_id":143455,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:33:07] local.INFO: Acknowledgment sent {"connection_id":143455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:33:11] local.INFO: TCP Data received {"connection_id":143455,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:33:11] local.INFO: Processing buffer {"connection_id":143455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:33:11] local.INFO: Packet analysis {"connection_id":143455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:33:11] local.INFO: Extracted packet for processing {"connection_id":143455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:33:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:33:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":143455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:33:11] local.INFO: GPS data processed {"connection_id":143455,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:33:11] local.INFO: Acknowledgment sent {"connection_id":143455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:33:29] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:33:29] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:33:29] local.INFO: Packet analysis {"connection_id":141102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:33:29] local.INFO: Extracted packet for processing {"connection_id":141102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:33:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:33:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":141102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:33:30] local.INFO: GPS data processed {"connection_id":141102,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:33:30] local.INFO: Acknowledgment sent {"connection_id":141102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:33:53] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:33:53] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:33:53] local.INFO: IMEI packet received {"connection_id":141103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":141103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:33:56] local.INFO: TCP Data received {"connection_id":143457,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:56] local.INFO: Processing buffer {"connection_id":143457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:33:56] local.INFO: IMEI packet received {"connection_id":143457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":143457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:33:58] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:33:58] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:33:58] local.INFO: IMEI packet received {"connection_id":141103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":141103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:33:59] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:33:59] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98492fa8012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:33:59] local.INFO: Packet analysis {"connection_id":141103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:33:59] local.INFO: Extracted packet for processing {"connection_id":141103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9849"} 
[2026-07-25 13:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966361000,"timestamp_ms":1784966361000,"timestamp_seconds":1784966361,"priority":1,"record_length":96,"hex_timestamp":"0000019f98492fa8"} 
[2026-07-25 13:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 13:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1009,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:33: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-07-25 13:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951329792001,"66":12982,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:33:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951329792001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":141103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:33:59] local.INFO: GPS data processed {"connection_id":141103,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:33:59] local.INFO: Acknowledgment sent {"connection_id":141103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:34:01] local.INFO: TCP Data received {"connection_id":143457,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:34:01] local.INFO: Processing buffer {"connection_id":143457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:34:01] local.INFO: IMEI packet received {"connection_id":143457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":143457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:34:01] local.INFO: TCP Data received {"connection_id":143457,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:34:01] local.INFO: Processing buffer {"connection_id":143457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:34:01] local.INFO: Packet analysis {"connection_id":143457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:34:01] local.INFO: Extracted packet for processing {"connection_id":143457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:34:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:34:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:34:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":143457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:34:01] local.INFO: GPS data processed {"connection_id":143457,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:34:01] local.INFO: Acknowledgment sent {"connection_id":143457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:34:15] local.INFO: TCP Data received {"connection_id":143456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:34:15] local.INFO: Processing buffer {"connection_id":143456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:34:15] local.INFO: IMEI packet received {"connection_id":143456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":143456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:34:29] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984db7d0012d7e380005d34d90000800bc28..."} 
[2026-07-25 13:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984db7d0012d7e380005d34d90000800bc28..."} 
[2026-07-25 13:34:29] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984db7d0012d7e380005d34d90000800bc28..."} 
[2026-07-25 13:34:29] local.INFO: Packet analysis {"connection_id":141103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:34:29] local.INFO: Extracted packet for processing {"connection_id":141103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951388416001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784966658000,"timestamp_ms":1784966658000,"timestamp_seconds":1784966658,"priority":1,"record_length":96,"hex_timestamp":"0000019f984db7d0"} 
[2026-07-25 13:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 13:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951388416001,"66":5144,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951388416001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:34:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951388416001,"power":5144,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":141103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:34:29] local.INFO: GPS data processed {"connection_id":141103,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:34:29] local.INFO: Acknowledgment sent {"connection_id":141103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:34:33] local.INFO: TCP Data received {"connection_id":143457,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:34:33] local.INFO: Processing buffer {"connection_id":143457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:34:33] local.INFO: Packet analysis {"connection_id":143457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:34:33] local.INFO: Extracted packet for processing {"connection_id":143457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:34:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:34:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:34:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":143457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:34:33] local.INFO: GPS data processed {"connection_id":143457,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:34:33] local.INFO: Acknowledgment sent {"connection_id":143457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:34:52] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:34:52] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:34:52] local.INFO: IMEI packet received {"connection_id":141048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":141048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:34:55] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:34:55] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:34:55] local.INFO: IMEI packet received {"connection_id":141049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":141049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:34:58] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:34:58] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:34:58] local.INFO: IMEI packet received {"connection_id":141048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":141048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:34:59] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984db7d0012d7e380005d34d90000800bc28..."} 
[2026-07-25 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984db7d0012d7e380005d34d90000800bc28..."} 
[2026-07-25 13:34:59] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984db7d0012d7e380005d34d90000800bc28..."} 
[2026-07-25 13:34:59] local.INFO: Packet analysis {"connection_id":141048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:34:59] local.INFO: Extracted packet for processing {"connection_id":141048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":40,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966658000,"timestamp_ms":1784966658000,"timestamp_seconds":1784966658,"priority":1,"record_length":96,"hex_timestamp":"0000019f984db7d0"} 
[2026-07-25 13:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4941565900097467904,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220724644319282142,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124618491822080,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195044864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:34:59] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:34:59] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,109,85,24,241,157,16,159,47,45,77,8,41,10,66,177,35,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":34,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:34:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137247,"timestamp_seconds":576667632288137.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:34: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-07-25 13:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":5144,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":5144,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":141048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:34:59] local.INFO: GPS data processed {"connection_id":141048,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:34:59] local.INFO: Acknowledgment sent {"connection_id":141048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:35:01] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:35:01] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:35:01] local.INFO: IMEI packet received {"connection_id":141049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":141049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:35:01] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:35:01] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:35:01] local.INFO: Packet analysis {"connection_id":141049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:35:01] local.INFO: Extracted packet for processing {"connection_id":141049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:35:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:35:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:35:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":141049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:35:01] local.INFO: GPS data processed {"connection_id":141049,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:35:01] local.INFO: Acknowledgment sent {"connection_id":141049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:35:30] local.INFO: TCP Data received {"connection_id":141048,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:35:30] local.INFO: Processing buffer {"connection_id":141048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:35:30] local.INFO: Packet analysis {"connection_id":141048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:35:30] local.INFO: Extracted packet for processing {"connection_id":141048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:35:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:35:30] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:35:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:35: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-07-25 13:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:35:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":141048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:35:30] local.INFO: GPS data processed {"connection_id":141048,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:35:30] local.INFO: Acknowledgment sent {"connection_id":141048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:35:33] local.INFO: TCP Data received {"connection_id":141049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:35:33] local.INFO: Processing buffer {"connection_id":141049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:35:33] local.INFO: Packet analysis {"connection_id":141049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:35:33] local.INFO: Extracted packet for processing {"connection_id":141049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:35:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:35:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":141049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:35:33] local.INFO: GPS data processed {"connection_id":141049,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:35:33] local.INFO: Acknowledgment sent {"connection_id":141049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:35:52] local.INFO: TCP Data received {"connection_id":142089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:35:52] local.INFO: Processing buffer {"connection_id":142089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:35:52] local.INFO: IMEI packet received {"connection_id":142089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":142089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:35:55] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:35:55] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:35:55] local.INFO: IMEI packet received {"connection_id":141104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":141104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:35:58] local.INFO: TCP Data received {"connection_id":142089,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:35:58] local.INFO: Processing buffer {"connection_id":142089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:35:58] local.INFO: IMEI packet received {"connection_id":142089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":142089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:35:59] local.INFO: TCP Data received {"connection_id":142089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:35:59] local.INFO: Processing buffer {"connection_id":142089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:35:59] local.INFO: Packet analysis {"connection_id":142089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:35:59] local.INFO: Extracted packet for processing {"connection_id":142089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:35:59] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:35:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:35:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:35: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-07-25 13:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":142089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:35:59] local.INFO: GPS data processed {"connection_id":142089,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:35:59] local.INFO: Acknowledgment sent {"connection_id":142089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:36:01] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:36:01] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:36:01] local.INFO: IMEI packet received {"connection_id":141104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":141104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:36:02] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:36:02] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:36:02] local.INFO: Packet analysis {"connection_id":141104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:36:02] local.INFO: Extracted packet for processing {"connection_id":141104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:36:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:36:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:36:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":141104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:36:02] local.INFO: GPS data processed {"connection_id":141104,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:36:02] local.INFO: Acknowledgment sent {"connection_id":141104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:36:30] local.INFO: TCP Data received {"connection_id":142089,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:36:30] local.INFO: Processing buffer {"connection_id":142089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:36:30] local.INFO: Packet analysis {"connection_id":142089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:36:30] local.INFO: Extracted packet for processing {"connection_id":142089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:36:30] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:36:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:36: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-07-25 13:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":142089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:36:30] local.INFO: GPS data processed {"connection_id":142089,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:36:30] local.INFO: Acknowledgment sent {"connection_id":142089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:36:33] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:36:33] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:36:33] local.INFO: Packet analysis {"connection_id":141104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:36:33] local.INFO: Extracted packet for processing {"connection_id":141104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:36:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:36:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":141104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:36:33] local.INFO: GPS data processed {"connection_id":141104,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:36:33] local.INFO: Acknowledgment sent {"connection_id":141104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:36:55] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:36:55] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:36:55] local.INFO: IMEI packet received {"connection_id":141106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":141106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:36:58] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:36:58] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:36:58] local.INFO: IMEI packet received {"connection_id":141105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":141105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:37:01] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:37:01] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:37:01] local.INFO: IMEI packet received {"connection_id":141106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":141106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:37:02] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:37:02] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:37:02] local.INFO: Packet analysis {"connection_id":141106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:37:02] local.INFO: Extracted packet for processing {"connection_id":141106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:37:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:37:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:37:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":141106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:37:02] local.INFO: GPS data processed {"connection_id":141106,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:37:02] local.INFO: Acknowledgment sent {"connection_id":141106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:37:02] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:02] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:02] local.INFO: IMEI packet received {"connection_id":141105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":141105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:37:03] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:03] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:03] local.INFO: Packet analysis {"connection_id":141105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:37:03] local.INFO: Extracted packet for processing {"connection_id":141105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:37:03] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:03] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:37:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:37:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":141105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:37:03] local.INFO: GPS data processed {"connection_id":141105,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:37:03] local.INFO: Acknowledgment sent {"connection_id":141105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:37:08] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:08] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:08] local.INFO: Packet analysis {"connection_id":141105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:37:08] local.INFO: Extracted packet for processing {"connection_id":141105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:37:08] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:08] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:37:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":141105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:37:08] local.INFO: GPS data processed {"connection_id":141105,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:37:08] local.INFO: Acknowledgment sent {"connection_id":141105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:37:33] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:37:33] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984bb430012daae0c005ff07500020004a25..."} 
[2026-07-25 13:37:33] local.INFO: Packet analysis {"connection_id":141106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:37:33] local.INFO: Extracted packet for processing {"connection_id":141106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984b"} 
[2026-07-25 13:37:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":32,"angle":74,"satellites":37,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951353600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966526000,"timestamp_ms":1784966526000,"timestamp_seconds":1784966526,"priority":1,"record_length":96,"hex_timestamp":"0000019f984bb430"} 
[2026-07-25 13:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 13:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951353600001,"66":25908,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951353600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:37:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:37:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951353600001,"power":25908,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":141106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:37:33] local.INFO: GPS data processed {"connection_id":141106,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:37:33] local.INFO: Acknowledgment sent {"connection_id":141106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:37:53] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:53] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:53] local.INFO: IMEI packet received {"connection_id":143458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":143458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:37:58] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:58] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:37:58] local.INFO: IMEI packet received {"connection_id":143458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":143458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:37:59] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:59] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:37:59] local.INFO: Packet analysis {"connection_id":143458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:37:59] local.INFO: Extracted packet for processing {"connection_id":143458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:37:59] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:37:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:37:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:37: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-07-25 13:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:37:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":143458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:37:59] local.INFO: GPS data processed {"connection_id":143458,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:37:59] local.INFO: Acknowledgment sent {"connection_id":143458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:38:01] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:01] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:01] local.INFO: IMEI packet received {"connection_id":143459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":143459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:38:06] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:06] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:06] local.INFO: IMEI packet received {"connection_id":143459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":143459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:38:07] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:38:07] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:38:07] local.INFO: Packet analysis {"connection_id":143459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:38:07] local.INFO: Extracted packet for processing {"connection_id":143459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:38:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:38:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":143459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:38:07] local.INFO: GPS data processed {"connection_id":143459,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:38:07] local.INFO: Acknowledgment sent {"connection_id":143459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:38:11] local.INFO: TCP Data received {"connection_id":143459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:38:11] local.INFO: Processing buffer {"connection_id":143459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:38:11] local.INFO: Packet analysis {"connection_id":143459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:38:11] local.INFO: Extracted packet for processing {"connection_id":143459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:38:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:38:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":143459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:38:11] local.INFO: GPS data processed {"connection_id":143459,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:38:11] local.INFO: Acknowledgment sent {"connection_id":143459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:38:30] local.INFO: TCP Data received {"connection_id":143458,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:38:30] local.INFO: Processing buffer {"connection_id":143458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:38:30] local.INFO: Packet analysis {"connection_id":143458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:38:30] local.INFO: Extracted packet for processing {"connection_id":143458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:38:30] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:38:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:38: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-07-25 13:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":143458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:38:30] local.INFO: GPS data processed {"connection_id":143458,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:38:30] local.INFO: Acknowledgment sent {"connection_id":143458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:38:52] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:38:52] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:38:52] local.INFO: IMEI packet received {"connection_id":141050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":141050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:38:56] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:56] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:38:56] local.INFO: IMEI packet received {"connection_id":141108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":141108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:38:58] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:38:58] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:38:58] local.INFO: IMEI packet received {"connection_id":141050,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":141050,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:38:59] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:38:59] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f984dc770012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:38:59] local.INFO: Packet analysis {"connection_id":141050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:38:59] local.INFO: Extracted packet for processing {"connection_id":141050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f984d"} 
[2026-07-25 13:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951464448001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966662000,"timestamp_ms":1784966662000,"timestamp_seconds":1784966662,"priority":1,"record_length":96,"hex_timestamp":"0000019f984dc770"} 
[2026-07-25 13:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":20,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972523667,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505281627422720,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":5021830248925116416,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101781981135104,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8674209959245774848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":4035231671221485576,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":20,"raw_value":5692775661421252181,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220759828691370973,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124605606920192,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993193066240,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 13:38:59] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84862738383622989,"note":"Value kept but may cause issues"} 
[2026-07-25 13:38:59] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,159,183,45,77,8,40,10,66,47,41,177,240,79,227,152,211,4,113,2,1,126,20,59,5,239,69,205,248],"length":520,"final_offset":650,"validated_count":35,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 13:38:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576667632288137282,"timestamp_seconds":576667632288137.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 13:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951464448001,"66":3546,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951464448001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:38:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951464448001,"power":3546,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":141050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:38:59] local.INFO: GPS data processed {"connection_id":141050,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:38:59] local.INFO: Acknowledgment sent {"connection_id":141050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:39:01] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:39:01] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:39:01] local.INFO: IMEI packet received {"connection_id":141108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":141108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:39:02] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:39:02] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:39:02] local.INFO: Packet analysis {"connection_id":141108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:39:02] local.INFO: Extracted packet for processing {"connection_id":141108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:39:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:39:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":141108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:39:02] local.INFO: GPS data processed {"connection_id":141108,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:39:02] local.INFO: Acknowledgment sent {"connection_id":141108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:39:30] local.INFO: TCP Data received {"connection_id":141050,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:39:30] local.INFO: Processing buffer {"connection_id":141050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:39:30] local.INFO: Packet analysis {"connection_id":141050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:39:30] local.INFO: Extracted packet for processing {"connection_id":141050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141050,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:39: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-07-25 13:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:39:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":141050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:39:30] local.INFO: GPS data processed {"connection_id":141050,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:39:30] local.INFO: Acknowledgment sent {"connection_id":141050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:39:33] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:39:33] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:39:33] local.INFO: Packet analysis {"connection_id":141108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:39:33] local.INFO: Extracted packet for processing {"connection_id":141108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:39:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:39:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:39:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":141108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:39:33] local.INFO: GPS data processed {"connection_id":141108,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:39:33] local.INFO: Acknowledgment sent {"connection_id":141108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:39:50] local.INFO: TCP Data received {"connection_id":141107,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:39:50] local.INFO: Processing buffer {"connection_id":141107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:39:50] local.INFO: IMEI packet received {"connection_id":141107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":141107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:39:52] local.INFO: TCP Data received {"connection_id":143460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:39:53] local.INFO: Processing buffer {"connection_id":143460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:39:53] local.INFO: IMEI packet received {"connection_id":143460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":143460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:39:55] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:39:55] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:39:55] local.INFO: IMEI packet received {"connection_id":141051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":141051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:39:58] local.INFO: TCP Data received {"connection_id":143460,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:39:58] local.INFO: Processing buffer {"connection_id":143460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:39:58] local.INFO: IMEI packet received {"connection_id":143460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":143460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:39:59] local.INFO: TCP Data received {"connection_id":143460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:39:59] local.INFO: Processing buffer {"connection_id":143460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:39:59] local.INFO: Packet analysis {"connection_id":143460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:39:59] local.INFO: Extracted packet for processing {"connection_id":143460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:39: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-07-25 13:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":143460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:39:59] local.INFO: GPS data processed {"connection_id":143460,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:39:59] local.INFO: Acknowledgment sent {"connection_id":143460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:40:01] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:40:01] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:40:01] local.INFO: IMEI packet received {"connection_id":141051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":141051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:40:02] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:40:02] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:40:02] local.INFO: Packet analysis {"connection_id":141051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:40:02] local.INFO: Extracted packet for processing {"connection_id":141051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:40:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:40:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":141051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:40:02] local.INFO: GPS data processed {"connection_id":141051,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:40:02] local.INFO: Acknowledgment sent {"connection_id":141051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:40:31] local.INFO: TCP Data received {"connection_id":143460,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:40:31] local.INFO: Processing buffer {"connection_id":143460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:40:31] local.INFO: Packet analysis {"connection_id":143460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:40:31] local.INFO: Extracted packet for processing {"connection_id":143460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:40: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-07-25 13:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":143460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:40:31] local.INFO: GPS data processed {"connection_id":143460,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:40:31] local.INFO: Acknowledgment sent {"connection_id":143460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:40:33] local.INFO: TCP Data received {"connection_id":141051,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:40:33] local.INFO: Processing buffer {"connection_id":141051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:40:33] local.INFO: Packet analysis {"connection_id":141051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:40:33] local.INFO: Extracted packet for processing {"connection_id":141051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:40:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:40:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":141051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:40:33] local.INFO: GPS data processed {"connection_id":141051,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:40:33] local.INFO: Acknowledgment sent {"connection_id":141051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:40:52] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:40:52] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:40:52] local.INFO: IMEI packet received {"connection_id":143461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":143461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:40:55] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:40:55] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:40:55] local.INFO: IMEI packet received {"connection_id":141109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":141109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:40:58] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:40:58] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:40:58] local.INFO: IMEI packet received {"connection_id":143461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":143461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:40:59] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:40:59] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:40:59] local.INFO: Packet analysis {"connection_id":143461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:40:59] local.INFO: Extracted packet for processing {"connection_id":143461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:40:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":143461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:40:59] local.INFO: GPS data processed {"connection_id":143461,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:40:59] local.INFO: Acknowledgment sent {"connection_id":143461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:41:01] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:41:01] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:41:01] local.INFO: IMEI packet received {"connection_id":141109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":141109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:41:01] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:41:01] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:41:01] local.INFO: Packet analysis {"connection_id":141109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:41:01] local.INFO: Extracted packet for processing {"connection_id":141109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:41:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:41:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":141109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:41:01] local.INFO: GPS data processed {"connection_id":141109,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:41:01] local.INFO: Acknowledgment sent {"connection_id":141109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:41:30] local.INFO: TCP Data received {"connection_id":143461,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:41:30] local.INFO: Processing buffer {"connection_id":143461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:41:30] local.INFO: Packet analysis {"connection_id":143461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:41:30] local.INFO: Extracted packet for processing {"connection_id":143461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:41: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-07-25 13:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:41:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":143461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:41:30] local.INFO: GPS data processed {"connection_id":143461,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:41:30] local.INFO: Acknowledgment sent {"connection_id":143461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:41:33] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:41:33] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:41:33] local.INFO: Packet analysis {"connection_id":141109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:41:33] local.INFO: Extracted packet for processing {"connection_id":141109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:41:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:41:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:41:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":141109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:41:33] local.INFO: GPS data processed {"connection_id":141109,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:41:33] local.INFO: Acknowledgment sent {"connection_id":141109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:41:55] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:41:55] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:41:55] local.INFO: IMEI packet received {"connection_id":141111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":141111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:41:58] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:41:58] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:41:58] local.INFO: IMEI packet received {"connection_id":141110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":141110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:42:01] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:42:01] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:42:01] local.INFO: IMEI packet received {"connection_id":141111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":141111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:42:02] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:42:02] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:42:02] local.INFO: Packet analysis {"connection_id":141111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:42:02] local.INFO: Extracted packet for processing {"connection_id":141111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:42:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:42:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":141111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:42:02] local.INFO: GPS data processed {"connection_id":141111,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:42:02] local.INFO: Acknowledgment sent {"connection_id":141111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:42:03] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:03] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:03] local.INFO: IMEI packet received {"connection_id":141110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":141110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:42:04] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:04] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:04] local.INFO: Packet analysis {"connection_id":141110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:42:04] local.INFO: Extracted packet for processing {"connection_id":141110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:42: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-07-25 13:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:42:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":141110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:42:04] local.INFO: GPS data processed {"connection_id":141110,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:42:04] local.INFO: Acknowledgment sent {"connection_id":141110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:42:08] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:08] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:08] local.INFO: Packet analysis {"connection_id":141110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:42:08] local.INFO: Extracted packet for processing {"connection_id":141110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:42:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":141110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:42:08] local.INFO: GPS data processed {"connection_id":141110,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:42:08] local.INFO: Acknowledgment sent {"connection_id":141110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:42:33] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:42:33] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98504bf8012daae0c005ff07500023004a23..."} 
[2026-07-25 13:42:33] local.INFO: Packet analysis {"connection_id":141111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:42:33] local.INFO: Extracted packet for processing {"connection_id":141111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9850"} 
[2026-07-25 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951430656001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784966827000,"timestamp_ms":1784966827000,"timestamp_seconds":1784966827,"priority":1,"record_length":96,"hex_timestamp":"0000019f98504bf8"} 
[2026-07-25 13:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 13:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951430656001,"66":25854,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951430656001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:42:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:42:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951430656001,"power":25854,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":141111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:42:33] local.INFO: GPS data processed {"connection_id":141111,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:42:33] local.INFO: Acknowledgment sent {"connection_id":141111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:42:53] local.INFO: TCP Data received {"connection_id":142090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:53] local.INFO: Processing buffer {"connection_id":142090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:53] local.INFO: IMEI packet received {"connection_id":142090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":142090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:42:58] local.INFO: TCP Data received {"connection_id":142090,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:58] local.INFO: Processing buffer {"connection_id":142090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:42:58] local.INFO: IMEI packet received {"connection_id":142090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":142090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:42:59] local.INFO: TCP Data received {"connection_id":142090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:59] local.INFO: Processing buffer {"connection_id":142090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:42:59] local.INFO: Packet analysis {"connection_id":142090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:42:59] local.INFO: Extracted packet for processing {"connection_id":142090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 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-07-25 13:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 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-07-25 13:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 13:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:42: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-07-25 13:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:42:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":142090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:42:59] local.INFO: GPS data processed {"connection_id":142090,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:42:59] local.INFO: Acknowledgment sent {"connection_id":142090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:43:00] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:01] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:01] local.INFO: IMEI packet received {"connection_id":143462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":143462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:43:06] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:06] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:06] local.INFO: IMEI packet received {"connection_id":143462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":143462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:43:06] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:43:06] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:43:06] local.INFO: Packet analysis {"connection_id":143462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:43:06] local.INFO: Extracted packet for processing {"connection_id":143462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:43:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:43:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":143462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:43:06] local.INFO: GPS data processed {"connection_id":143462,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:43:06] local.INFO: Acknowledgment sent {"connection_id":143462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:43:11] local.INFO: TCP Data received {"connection_id":143462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:43:11] local.INFO: Processing buffer {"connection_id":143462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:43:11] local.INFO: Packet analysis {"connection_id":143462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:43:11] local.INFO: Extracted packet for processing {"connection_id":143462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:43:11] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:43:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":143462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:43:11] local.INFO: GPS data processed {"connection_id":143462,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:43:11] local.INFO: Acknowledgment sent {"connection_id":143462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:43:30] local.INFO: TCP Data received {"connection_id":142090,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:43:30] local.INFO: Processing buffer {"connection_id":142090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:43:30] local.INFO: Packet analysis {"connection_id":142090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:43:30] local.INFO: Extracted packet for processing {"connection_id":142090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:43:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":142090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:43:30] local.INFO: GPS data processed {"connection_id":142090,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:43:30] local.INFO: Acknowledgment sent {"connection_id":142090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:43:53] local.INFO: TCP Data received {"connection_id":142092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:43:53] local.INFO: Processing buffer {"connection_id":142092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:43:53] local.INFO: IMEI packet received {"connection_id":142092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":142092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:43:56] local.INFO: TCP Data received {"connection_id":142093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:56] local.INFO: Processing buffer {"connection_id":142093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:43:56] local.INFO: IMEI packet received {"connection_id":142093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":142093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:43:58] local.INFO: TCP Data received {"connection_id":142092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:43:58] local.INFO: Processing buffer {"connection_id":142092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:43:58] local.INFO: IMEI packet received {"connection_id":142092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":142092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:43:59] local.INFO: TCP Data received {"connection_id":142092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:43:59] local.INFO: Processing buffer {"connection_id":142092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98525f38012d7e380005d34d90000800bc29..."} 
[2026-07-25 13:43:59] local.INFO: Packet analysis {"connection_id":142092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:43:59] local.INFO: Extracted packet for processing {"connection_id":142092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9852"} 
[2026-07-25 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951465472001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784966963000,"timestamp_ms":1784966963000,"timestamp_seconds":1784966963,"priority":1,"record_length":96,"hex_timestamp":"0000019f98525f38"} 
[2026-07-25 13:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":13,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 13:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2225,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:43: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-07-25 13:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951465472001,"66":2220,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951465472001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951465472001,"power":2220,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":142092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:43:59] local.INFO: GPS data processed {"connection_id":142092,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:43:59] local.INFO: Acknowledgment sent {"connection_id":142092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:44:00] local.INFO: TCP Data received {"connection_id":142093,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:44:01] local.INFO: Processing buffer {"connection_id":142093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:44:01] local.INFO: IMEI packet received {"connection_id":142093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":142093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:44:01] local.INFO: TCP Data received {"connection_id":142093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:44:01] local.INFO: Processing buffer {"connection_id":142093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:44:01] local.INFO: Packet analysis {"connection_id":142093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:44:01] local.INFO: Extracted packet for processing {"connection_id":142093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:44:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:44:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":142093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:44:01] local.INFO: GPS data processed {"connection_id":142093,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:44:01] local.INFO: Acknowledgment sent {"connection_id":142093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:44:30] local.INFO: TCP Data received {"connection_id":142092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:44:30] local.INFO: Processing buffer {"connection_id":142092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:44:30] local.INFO: Packet analysis {"connection_id":142092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:44:30] local.INFO: Extracted packet for processing {"connection_id":142092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:44: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-07-25 13:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:44:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":142092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:44:30] local.INFO: GPS data processed {"connection_id":142092,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:44:30] local.INFO: Acknowledgment sent {"connection_id":142092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:44:32] local.INFO: TCP Data received {"connection_id":142093,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:44:32] local.INFO: Processing buffer {"connection_id":142093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:44:32] local.INFO: Packet analysis {"connection_id":142093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:44:32] local.INFO: Extracted packet for processing {"connection_id":142093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:44:32] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:44: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-07-25 13:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:44:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:44:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":142093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:44:32] local.INFO: GPS data processed {"connection_id":142093,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:44:32] local.INFO: Acknowledgment sent {"connection_id":142093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:44:52] local.INFO: TCP Data received {"connection_id":142094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:44:52] local.INFO: Processing buffer {"connection_id":142094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:44:52] local.INFO: IMEI packet received {"connection_id":142094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":142094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:44:56] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:44:56] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:44:56] local.INFO: IMEI packet received {"connection_id":141112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":141112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:44:58] local.INFO: TCP Data received {"connection_id":142094,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:44:58] local.INFO: Processing buffer {"connection_id":142094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:44:58] local.INFO: IMEI packet received {"connection_id":142094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":142094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:44:59] local.INFO: TCP Data received {"connection_id":142094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:44:59] local.INFO: Processing buffer {"connection_id":142094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:44:59] local.INFO: Packet analysis {"connection_id":142094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:44:59] local.INFO: Extracted packet for processing {"connection_id":142094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:44: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-07-25 13:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":142094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:44:59] local.INFO: GPS data processed {"connection_id":142094,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:44:59] local.INFO: Acknowledgment sent {"connection_id":142094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:45:01] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:45:01] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:45:01] local.INFO: IMEI packet received {"connection_id":141112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":141112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:45:02] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:45:02] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:45:02] local.INFO: Packet analysis {"connection_id":141112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:45:02] local.INFO: Extracted packet for processing {"connection_id":141112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:45:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:45:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":141112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:45:02] local.INFO: GPS data processed {"connection_id":141112,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:45:02] local.INFO: Acknowledgment sent {"connection_id":141112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:45:25] local.INFO: TCP Data received {"connection_id":142091,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:45:25] local.INFO: Processing buffer {"connection_id":142091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:45:25] local.INFO: IMEI packet received {"connection_id":142091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":142091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:45:30] local.INFO: TCP Data received {"connection_id":142094,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:45:30] local.INFO: Processing buffer {"connection_id":142094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:45:30] local.INFO: Packet analysis {"connection_id":142094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:45:30] local.INFO: Extracted packet for processing {"connection_id":142094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:45: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-07-25 13:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":142094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:45:30] local.INFO: GPS data processed {"connection_id":142094,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:45:30] local.INFO: Acknowledgment sent {"connection_id":142094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:45:33] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:45:33] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:45:33] local.INFO: Packet analysis {"connection_id":141112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:45:33] local.INFO: Extracted packet for processing {"connection_id":141112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:45:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:45:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:45:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":141112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:45:33] local.INFO: GPS data processed {"connection_id":141112,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:45:33] local.INFO: Acknowledgment sent {"connection_id":141112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:45:53] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:45:53] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:45:53] local.INFO: IMEI packet received {"connection_id":141113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":141113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:45:55] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:45:55] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:45:55] local.INFO: IMEI packet received {"connection_id":141114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":141114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:45:58] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:45:58] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:45:58] local.INFO: IMEI packet received {"connection_id":141113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":141113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:45:59] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:45:59] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:45:59] local.INFO: Packet analysis {"connection_id":141113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:45:59] local.INFO: Extracted packet for processing {"connection_id":141113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:45: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-07-25 13:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:45:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":141113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:45:59] local.INFO: GPS data processed {"connection_id":141113,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:45:59] local.INFO: Acknowledgment sent {"connection_id":141113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:46:01] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:46:01] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:46:01] local.INFO: IMEI packet received {"connection_id":141114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":141114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:46:02] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:46:02] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:46:02] local.INFO: Packet analysis {"connection_id":141114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:46:02] local.INFO: Extracted packet for processing {"connection_id":141114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:46:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:46:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":141114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:46:02] local.INFO: GPS data processed {"connection_id":141114,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:46:02] local.INFO: Acknowledgment sent {"connection_id":141114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:46:30] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:46:30] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:46:30] local.INFO: Packet analysis {"connection_id":141113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:46:30] local.INFO: Extracted packet for processing {"connection_id":141113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:46: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-07-25 13:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:46:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":141113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:46:30] local.INFO: GPS data processed {"connection_id":141113,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:46:30] local.INFO: Acknowledgment sent {"connection_id":141113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:46:33] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:46:33] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:46:33] local.INFO: Packet analysis {"connection_id":141114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:46:33] local.INFO: Extracted packet for processing {"connection_id":141114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:46:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:46:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":141114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:46:33] local.INFO: GPS data processed {"connection_id":141114,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:46:33] local.INFO: Acknowledgment sent {"connection_id":141114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:46:55] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:46:55] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:46:55] local.INFO: IMEI packet received {"connection_id":141053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":141053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:46:58] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:46:58] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:46:58] local.INFO: IMEI packet received {"connection_id":141052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":141052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:47:01] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:47:01] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:47:01] local.INFO: IMEI packet received {"connection_id":141053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":141053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:47:01] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:47:01] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:47:01] local.INFO: Packet analysis {"connection_id":141053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:47:01] local.INFO: Extracted packet for processing {"connection_id":141053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:47:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:47:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:47:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":141053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:47:01] local.INFO: GPS data processed {"connection_id":141053,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:47:01] local.INFO: Acknowledgment sent {"connection_id":141053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:47:03] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:03] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:03] local.INFO: IMEI packet received {"connection_id":141052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":141052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:47:04] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:04] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:04] local.INFO: Packet analysis {"connection_id":141052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:47:04] local.INFO: Extracted packet for processing {"connection_id":141052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:47: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-07-25 13:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:47:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":141052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:47:04] local.INFO: GPS data processed {"connection_id":141052,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:47:04] local.INFO: Acknowledgment sent {"connection_id":141052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:47:09] local.INFO: TCP Data received {"connection_id":141052,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:09] local.INFO: Processing buffer {"connection_id":141052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:09] local.INFO: Packet analysis {"connection_id":141052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:47:09] local.INFO: Extracted packet for processing {"connection_id":141052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:47:09] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:47:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:47:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":141052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:47:09] local.INFO: GPS data processed {"connection_id":141052,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:47:09] local.INFO: Acknowledgment sent {"connection_id":141052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:47:32] local.INFO: TCP Data received {"connection_id":141053,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:47:32] local.INFO: Processing buffer {"connection_id":141053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9854e3c0012daae0c005ff07500023004a24..."} 
[2026-07-25 13:47:32] local.INFO: Packet analysis {"connection_id":141053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:47:32] local.INFO: Extracted packet for processing {"connection_id":141053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9854"} 
[2026-07-25 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":35,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951507712001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784967128000,"timestamp_ms":1784967128000,"timestamp_seconds":1784967128,"priority":1,"record_length":96,"hex_timestamp":"0000019f9854e3c0"} 
[2026-07-25 13:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 13:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951507712001,"66":25832,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951507712001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:47:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:47:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951507712001,"power":25832,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":141053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:47:33] local.INFO: GPS data processed {"connection_id":141053,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:47:33] local.INFO: Acknowledgment sent {"connection_id":141053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:47:52] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:52] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:52] local.INFO: IMEI packet received {"connection_id":141115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":141115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:47:55] local.INFO: TCP Data received {"connection_id":141054,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:47:55] local.INFO: Processing buffer {"connection_id":141054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:47:55] local.INFO: IMEI packet received {"connection_id":141054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":141054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:47:57] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:57] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:47:57] local.INFO: IMEI packet received {"connection_id":141115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":141115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:47:58] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:58] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:47:58] local.INFO: Packet analysis {"connection_id":141115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:47:58] local.INFO: Extracted packet for processing {"connection_id":141115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:47:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":141115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:47:58] local.INFO: GPS data processed {"connection_id":141115,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:47:58] local.INFO: Acknowledgment sent {"connection_id":141115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:48:00] local.INFO: TCP Data received {"connection_id":141054,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:48:00] local.INFO: Processing buffer {"connection_id":141054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:48:00] local.INFO: IMEI packet received {"connection_id":141054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":141054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:48:01] local.INFO: TCP Data received {"connection_id":141054,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:48:01] local.INFO: Processing buffer {"connection_id":141054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:48:01] local.INFO: Packet analysis {"connection_id":141054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9859"} 
[2026-07-25 13:48:01] local.INFO: Extracted packet for processing {"connection_id":141054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9859"} 
[2026-07-25 13:48:01] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":27,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951584768001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967429000,"timestamp_ms":1784967429000,"timestamp_seconds":1784967429,"priority":1,"record_length":96,"hex_timestamp":"0000019f98597b88"} 
[2026-07-25 13:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 13:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951584768001,"66":25756,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951584768001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:48:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:48:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951584768001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":141054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:48:01] local.INFO: GPS data processed {"connection_id":141054,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:48:01] local.INFO: Acknowledgment sent {"connection_id":141054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:48:29] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:48:29] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:48:29] local.INFO: Packet analysis {"connection_id":141115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:48:29] local.INFO: Extracted packet for processing {"connection_id":141115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:48:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":141115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:48:29] local.INFO: GPS data processed {"connection_id":141115,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:48:29] local.INFO: Acknowledgment sent {"connection_id":141115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:48:33] local.INFO: TCP Data received {"connection_id":141054,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:48:33] local.INFO: Processing buffer {"connection_id":141054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:48:33] local.INFO: Packet analysis {"connection_id":141054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9859"} 
[2026-07-25 13:48:33] local.INFO: Extracted packet for processing {"connection_id":141054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9859"} 
[2026-07-25 13:48:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":27,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951584768001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784967429000,"timestamp_ms":1784967429000,"timestamp_seconds":1784967429,"priority":1,"record_length":96,"hex_timestamp":"0000019f98597b88"} 
[2026-07-25 13:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 13:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951584768001,"66":25756,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951584768001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951584768001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":141054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:48:33] local.INFO: GPS data processed {"connection_id":141054,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:48:33] local.INFO: Acknowledgment sent {"connection_id":141054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:48:53] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:48:53] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:48:53] local.INFO: IMEI packet received {"connection_id":141116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":141116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:48:55] local.INFO: TCP Data received {"connection_id":142095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:48:55] local.INFO: Processing buffer {"connection_id":142095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:48:55] local.INFO: IMEI packet received {"connection_id":142095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":142095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:48:58] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:48:58] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:48:58] local.INFO: IMEI packet received {"connection_id":141116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":141116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:48:59] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:48:59] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9856f700012d7e380005d34d90000800bc27..."} 
[2026-07-25 13:48:59] local.INFO: Packet analysis {"connection_id":141116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:48:59] local.INFO: Extracted packet for processing {"connection_id":141116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9856"} 
[2026-07-25 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951542528001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967264000,"timestamp_ms":1784967264000,"timestamp_seconds":1784967264,"priority":1,"record_length":96,"hex_timestamp":"0000019f9856f700"} 
[2026-07-25 13:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 13:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951542528001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951542528001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951542528001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":141116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:48:59] local.INFO: GPS data processed {"connection_id":141116,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:48:59] local.INFO: Acknowledgment sent {"connection_id":141116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:49:01] local.INFO: TCP Data received {"connection_id":142095,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:49:01] local.INFO: Processing buffer {"connection_id":142095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:49:01] local.INFO: IMEI packet received {"connection_id":142095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":142095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:49:02] local.INFO: TCP Data received {"connection_id":142095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:49:02] local.INFO: Processing buffer {"connection_id":142095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98597b88012daae0c005ff0750001b004a24..."} 
[2026-07-25 13:49:02] local.INFO: Packet analysis {"connection_id":142095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9859"} 
[2026-07-25 13:49:02] local.INFO: Extracted packet for processing {"connection_id":142095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9859"} 
[2026-07-25 13:49:02] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":27,"angle":74,"satellites":36,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951584768001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784967429000,"timestamp_ms":1784967429000,"timestamp_seconds":1784967429,"priority":1,"record_length":96,"hex_timestamp":"0000019f98597b88"} 
[2026-07-25 13:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 13:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951584768001,"66":25756,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951584768001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:49:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:49:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951584768001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":142095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:49:02] local.INFO: GPS data processed {"connection_id":142095,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:49:02] local.INFO: Acknowledgment sent {"connection_id":142095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:49:30] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:49:30] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:49:30] local.INFO: Packet analysis {"connection_id":141116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:49:30] local.INFO: Extracted packet for processing {"connection_id":141116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:49: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-07-25 13:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":141116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:49:30] local.INFO: GPS data processed {"connection_id":141116,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:49:30] local.INFO: Acknowledgment sent {"connection_id":141116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:49:33] local.INFO: TCP Data received {"connection_id":142095,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985aeea0012daae0c005ff0750001b004a28..."} 
[2026-07-25 13:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985aeea0012daae0c005ff0750001b004a28..."} 
[2026-07-25 13:49:33] local.INFO: Processing buffer {"connection_id":142095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985aeea0012daae0c005ff0750001b004a28..."} 
[2026-07-25 13:49:33] local.INFO: Packet analysis {"connection_id":142095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985a"} 
[2026-07-25 13:49:33] local.INFO: Extracted packet for processing {"connection_id":142095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985a"} 
[2026-07-25 13:49:33] local.INFO: GPS Element Parsed {"raw_longitude":766173376,"raw_latitude":100599632,"longitude_deg":76.6173376,"latitude_deg":10.0599632,"altitude":27,"angle":74,"satellites":40,"speed":0,"hex_longitude":"2daae0c0","hex_latitude":"05ff0750","is_valid_coordinates":true} 
[2026-07-25 13:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951661824001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784967524000,"timestamp_ms":1784967524000,"timestamp_seconds":1784967524,"priority":1,"record_length":96,"hex_timestamp":"0000019f985aeea0"} 
[2026-07-25 13:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 13:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951661824001,"66":25756,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951661824001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:49:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:49:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951661824001,"power":25756,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":142095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:49:33] local.INFO: GPS data processed {"connection_id":142095,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:49:33] local.INFO: Acknowledgment sent {"connection_id":142095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:49:52] local.INFO: TCP Data received {"connection_id":142096,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:49:52] local.INFO: Processing buffer {"connection_id":142096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:49:52] local.INFO: IMEI packet received {"connection_id":142096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":142096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:49:55] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:49:55] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:49:55] local.INFO: IMEI packet received {"connection_id":141055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:49:58] local.INFO: TCP Data received {"connection_id":142096,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:49:58] local.INFO: Processing buffer {"connection_id":142096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:49:58] local.INFO: IMEI packet received {"connection_id":142096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":142096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:49:59] local.INFO: TCP Data received {"connection_id":142096,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:49:59] local.INFO: Processing buffer {"connection_id":142096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:49:59] local.INFO: Packet analysis {"connection_id":142096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:49:59] local.INFO: Extracted packet for processing {"connection_id":142096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:49: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-07-25 13:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:49:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":142096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:49:59] local.INFO: GPS data processed {"connection_id":142096,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:49:59] local.INFO: Acknowledgment sent {"connection_id":142096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:50:00] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:50:01] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:50:01] local.INFO: IMEI packet received {"connection_id":141055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":141055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:50:01] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985afe40012daae3c005ff0900001b006d27..."} 
[2026-07-25 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985afe40012daae3c005ff0900001b006d27..."} 
[2026-07-25 13:50:01] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985afe40012daae3c005ff0900001b006d27..."} 
[2026-07-25 13:50:01] local.INFO: Packet analysis {"connection_id":141055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985a"} 
[2026-07-25 13:50:01] local.INFO: Extracted packet for processing {"connection_id":141055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985a"} 
[2026-07-25 13:50:01] local.INFO: GPS Element Parsed {"raw_longitude":766174144,"raw_latitude":100600064,"longitude_deg":76.6174144,"latitude_deg":10.0600064,"altitude":27,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2daae3c0","hex_latitude":"05ff0900","is_valid_coordinates":true} 
[2026-07-25 13:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951686144001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133691560492576768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967528000,"timestamp_ms":1784967528000,"timestamp_seconds":1784967528,"priority":1,"record_length":96,"hex_timestamp":"0000019f985afe40"} 
[2026-07-25 13:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 13:50: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-07-25 13:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951686144001,"66":27604,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6133691560492576768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951686144001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:50:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:50:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133691560492576768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951686144001,"power":27604,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6133691560492576768}} 
[2026-07-25 13:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":141055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:50:01] local.INFO: GPS data processed {"connection_id":141055,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:50:01] local.INFO: Acknowledgment sent {"connection_id":141055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:50:29] local.INFO: TCP Data received {"connection_id":142096,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:50:29] local.INFO: Processing buffer {"connection_id":142096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:50:29] local.INFO: Packet analysis {"connection_id":142096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:50:29] local.INFO: Extracted packet for processing {"connection_id":142096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":142096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":142096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":142096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:50: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-07-25 13:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:50:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":142096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:50:29] local.INFO: GPS data processed {"connection_id":142096,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:50:29] local.INFO: Acknowledgment sent {"connection_id":142096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:50:32] local.INFO: TCP Data received {"connection_id":141055,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b5048012daae3c005ff0900001b006d27..."} 
[2026-07-25 13:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b5048012daae3c005ff0900001b006d27..."} 
[2026-07-25 13:50:32] local.INFO: Processing buffer {"connection_id":141055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b5048012daae3c005ff0900001b006d27..."} 
[2026-07-25 13:50:32] local.INFO: Packet analysis {"connection_id":141055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:50:32] local.INFO: Extracted packet for processing {"connection_id":141055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":766174144,"raw_latitude":100600064,"longitude_deg":76.6174144,"latitude_deg":10.0600064,"altitude":27,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2daae3c0","hex_latitude":"05ff0900","is_valid_coordinates":true} 
[2026-07-25 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-07-25 13:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951687168001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357740517712199680,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6132847135562334208,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967549000,"timestamp_ms":1784967549000,"timestamp_seconds":1784967549,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b5048"} 
[2026-07-25 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-07-25 13:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-25 13:50: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-07-25 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-07-25 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-07-25 13:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951687168001,"66":27800,"118":206,"88":20480,"24":0,"16":357740517712199680,"45":-6132847135562334208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,88,24,16,45]} 
[2026-07-25 13:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951687168001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357740517712199680,"km_value":357740517712199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6132847135562334208,"description":"Unknown IO ID 45"} 
[2026-07-25 13:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951687168001,"power":27800,"unknown_118":206,"unknown_88":20480,"ignition":0,"odometer":null,"unknown_45":-6132847135562334208}} 
[2026-07-25 13:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:50:32] local.INFO: GPS data processed {"connection_id":141055,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:50:32] local.INFO: Acknowledgment sent {"connection_id":141055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:50:52] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:50:52] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:50:52] local.INFO: IMEI packet received {"connection_id":143464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":143464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:50:58] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:50:58] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:50:58] local.INFO: IMEI packet received {"connection_id":143464,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":143464,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:50:58] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:50:58] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:50:58] local.INFO: IMEI packet received {"connection_id":141056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":141056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:50:59] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:50:59] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:50:59] local.INFO: Packet analysis {"connection_id":143464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:50:59] local.INFO: Extracted packet for processing {"connection_id":143464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:50: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-07-25 13:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":143464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:50:59] local.INFO: GPS data processed {"connection_id":143464,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:50:59] local.INFO: Acknowledgment sent {"connection_id":143464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:51:00] local.INFO: TCP Data received {"connection_id":143463,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:51:00] local.INFO: Processing buffer {"connection_id":143463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:51:00] local.INFO: IMEI packet received {"connection_id":143463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":143463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:51:00] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:00] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:00] local.INFO: IMEI packet received {"connection_id":141056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":141056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:51:01] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:01] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:01] local.INFO: IMEI packet received {"connection_id":141056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":141056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:51:01] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:01] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:01] local.INFO: IMEI packet received {"connection_id":141056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":141056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:51:02] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985c65a0012daa9d4005fee8e0001900e52c..."} 
[2026-07-25 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985c65a0012daa9d4005fee8e0001900e52c..."} 
[2026-07-25 13:51:02] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985c65a0012daa9d4005fee8e0001900e52c..."} 
[2026-07-25 13:51:02] local.INFO: Packet analysis {"connection_id":141056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:02] local.INFO: Extracted packet for processing {"connection_id":141056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:02] local.INFO: GPS Element Parsed {"raw_longitude":766156096,"raw_latitude":100591840,"longitude_deg":76.6156096,"latitude_deg":10.059184,"altitude":25,"angle":229,"satellites":44,"speed":25,"hex_longitude":"2daa9d40","hex_latitude":"05fee8e0","is_valid_coordinates":true} 
[2026-07-25 13:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951708928001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357741496964743168,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6148117153050388480,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784967620000,"timestamp_ms":1784967620000,"timestamp_seconds":1784967620,"priority":1,"record_length":96,"hex_timestamp":"0000019f985c65a0"} 
[2026-07-25 13:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 13:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951708928001,"66":27984,"119":206,"88":20480,"24":25,"16":357741496964743168,"45":-6148117153050388480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-25 13:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951708928001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:51:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-25 13:51:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357741496964743168,"km_value":357741496964743.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6148117153050388480,"description":"Unknown IO ID 45"} 
[2026-07-25 13:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951708928001,"power":27984,"unknown_119":206,"unknown_88":20480,"ignition":25,"odometer":null,"unknown_45":-6148117153050388480}} 
[2026-07-25 13:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":141056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:51:02] local.INFO: GPS data processed {"connection_id":141056,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:51:02] local.INFO: Acknowledgment sent {"connection_id":141056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:51:04] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985c6d70012daa9a0005fee528001900d22b..."} 
[2026-07-25 13:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985c6d70012daa9a0005fee528001900d22b..."} 
[2026-07-25 13:51:04] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985c6d70012daa9a0005fee528001900d22b..."} 
[2026-07-25 13:51:04] local.INFO: Packet analysis {"connection_id":141056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:04] local.INFO: Extracted packet for processing {"connection_id":141056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:04] local.INFO: GPS Element Parsed {"raw_longitude":766155264,"raw_latitude":100590888,"longitude_deg":76.6155264,"latitude_deg":10.0590888,"altitude":25,"angle":210,"satellites":43,"speed":24,"hex_longitude":"2daa9a00","hex_latitude":"05fee528","is_valid_coordinates":true} 
[2026-07-25 13:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951710720001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357741557094285312,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6152691121422540800,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784967622000,"timestamp_ms":1784967622000,"timestamp_seconds":1784967622,"priority":1,"record_length":96,"hex_timestamp":"0000019f985c6d70"} 
[2026-07-25 13:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 13:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951710720001,"66":27930,"119":206,"88":20480,"24":24,"16":357741557094285312,"45":-6152691121422540800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-25 13:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951710720001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:51:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-25 13:51:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357741557094285312,"km_value":357741557094285.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6152691121422540800,"description":"Unknown IO ID 45"} 
[2026-07-25 13:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951710720001,"power":27930,"unknown_119":206,"unknown_88":20480,"ignition":24,"odometer":null,"unknown_45":-6152691121422540800}} 
[2026-07-25 13:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":141056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:51:04] local.INFO: GPS data processed {"connection_id":141056,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:51:04] local.INFO: Acknowledgment sent {"connection_id":141056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:51:05] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985c7158012daa98c005fee2f8001900c52b..."} 
[2026-07-25 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985c7158012daa98c005fee2f8001900c52b..."} 
[2026-07-25 13:51:05] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985c7158012daa98c005fee2f8001900c52b..."} 
[2026-07-25 13:51:05] local.INFO: Packet analysis {"connection_id":141056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:05] local.INFO: Extracted packet for processing {"connection_id":141056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":766154944,"raw_latitude":100590328,"longitude_deg":76.6154944,"latitude_deg":10.0590328,"altitude":25,"angle":197,"satellites":43,"speed":24,"hex_longitude":"2daa98c0","hex_latitude":"05fee2f8","is_valid_coordinates":true} 
[2026-07-25 13:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951711232001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357741587159056384,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6153605915097094144,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784967623000,"timestamp_ms":1784967623000,"timestamp_seconds":1784967623,"priority":1,"record_length":96,"hex_timestamp":"0000019f985c7158"} 
[2026-07-25 13:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951711232001,"66":27930,"119":206,"88":20480,"24":24,"16":357741587159056384,"45":-6153605915097094144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-25 13:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951711232001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:51:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-25 13:51:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357741587159056384,"km_value":357741587159056.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6153605915097094144,"description":"Unknown IO ID 45"} 
[2026-07-25 13:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951711232001,"power":27930,"unknown_119":206,"unknown_88":20480,"ignition":24,"odometer":null,"unknown_45":-6153605915097094144}} 
[2026-07-25 13:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":141056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:51:05] local.INFO: GPS data processed {"connection_id":141056,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:51:05] local.INFO: Acknowledgment sent {"connection_id":141056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:51:30] local.INFO: TCP Data received {"connection_id":143464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:51:30] local.INFO: Processing buffer {"connection_id":143464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:51:30] local.INFO: Packet analysis {"connection_id":143464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:51:30] local.INFO: Extracted packet for processing {"connection_id":143464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143464,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:51:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":143464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:51:30] local.INFO: GPS data processed {"connection_id":143464,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:51:30] local.INFO: Acknowledgment sent {"connection_id":143464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:51:36] local.INFO: TCP Data received {"connection_id":141056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985c7540012daa988005fee088001900ba2b..."} 
[2026-07-25 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985c7540012daa988005fee088001900ba2b..."} 
[2026-07-25 13:51:36] local.INFO: Processing buffer {"connection_id":141056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985c7540012daa988005fee088001900ba2b..."} 
[2026-07-25 13:51:36] local.INFO: Packet analysis {"connection_id":141056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:36] local.INFO: Extracted packet for processing {"connection_id":141056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":766154880,"raw_latitude":100589704,"longitude_deg":76.615488,"latitude_deg":10.0589704,"altitude":25,"angle":186,"satellites":43,"speed":25,"hex_longitude":"2daa9880","hex_latitude":"05fee088","is_valid_coordinates":true} 
[2026-07-25 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951711488001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357741617223827456,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6153957758818125824,"note":"Value kept but may cause issues"} 
[2026-07-25 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784967624000,"timestamp_ms":1784967624000,"timestamp_seconds":1784967624,"priority":1,"record_length":96,"hex_timestamp":"0000019f985c7540"} 
[2026-07-25 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 13:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951711488001,"66":27974,"119":206,"88":20480,"24":25,"16":357741617223827456,"45":-6153957758818125824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-25 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951711488001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357741617223827456,"km_value":357741617223827.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6153957758818125824,"description":"Unknown IO ID 45"} 
[2026-07-25 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951711488001,"power":27974,"unknown_119":206,"unknown_88":20480,"ignition":25,"odometer":null,"unknown_45":-6153957758818125824}} 
[2026-07-25 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":141056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:51:36] local.INFO: GPS data processed {"connection_id":141056,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:51:36] local.INFO: Acknowledgment sent {"connection_id":141056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:51:55] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:56] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:56] local.INFO: IMEI packet received {"connection_id":141117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":141117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:51:56] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:56] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:51:56] local.INFO: IMEI packet received {"connection_id":141117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":141117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:51:58] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:51:58] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:51:58] local.INFO: IMEI packet received {"connection_id":141118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":141118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:52:01] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:01] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:01] local.INFO: IMEI packet received {"connection_id":141117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":141117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:52:02] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985c7928012daa988005fede00001a00ae2a..."} 
[2026-07-25 13:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985c7928012daa988005fede00001a00ae2a..."} 
[2026-07-25 13:52:02] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985c7928012daa988005fede00001a00ae2a..."} 
[2026-07-25 13:52:02] local.INFO: Packet analysis {"connection_id":141117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:52:02] local.INFO: Extracted packet for processing {"connection_id":141117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":766154880,"raw_latitude":100589056,"longitude_deg":76.615488,"latitude_deg":10.0589056,"altitude":26,"angle":174,"satellites":42,"speed":26,"hex_longitude":"2daa9880","hex_latitude":"05fede00","is_valid_coordinates":true} 
[2026-07-25 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951711744001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357741651583565824,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6154028127562463232,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784967625000,"timestamp_ms":1784967625000,"timestamp_seconds":1784967625,"priority":1,"record_length":96,"hex_timestamp":"0000019f985c7928"} 
[2026-07-25 13:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 13:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951711744001,"66":27974,"119":206,"88":20480,"24":26,"16":357741651583565824,"45":-6154028127562463232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-25 13:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951711744001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357741651583565824,"km_value":357741651583565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6154028127562463232,"description":"Unknown IO ID 45"} 
[2026-07-25 13:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951711744001,"power":27974,"unknown_119":206,"unknown_88":20480,"ignition":26,"odometer":null,"unknown_45":-6154028127562463232}} 
[2026-07-25 13:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":141117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:52:02] local.INFO: GPS data processed {"connection_id":141117,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:52:02] local.INFO: Acknowledgment sent {"connection_id":141117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:52:03] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:03] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:03] local.INFO: IMEI packet received {"connection_id":141118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":141118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:52:04] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:04] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:04] local.INFO: Packet analysis {"connection_id":141118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:52:04] local.INFO: Extracted packet for processing {"connection_id":141118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:52:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":141118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:52:04] local.INFO: GPS data processed {"connection_id":141118,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:52:04] local.INFO: Acknowledgment sent {"connection_id":141118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:52:06] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985c84e0012daa9a0005fed678001a00a029..."} 
[2026-07-25 13:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985c84e0012daa9a0005fed678001a00a029..."} 
[2026-07-25 13:52:06] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985c84e0012daa9a0005fed678001a00a029..."} 
[2026-07-25 13:52:06] local.INFO: Packet analysis {"connection_id":141117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:52:06] local.INFO: Extracted packet for processing {"connection_id":141117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985c"} 
[2026-07-25 13:52:06] local.INFO: GPS Element Parsed {"raw_longitude":766155264,"raw_latitude":100587128,"longitude_deg":76.6155264,"latitude_deg":10.0587128,"altitude":26,"angle":160,"satellites":41,"speed":25,"hex_longitude":"2daa9a00","hex_latitude":"05fed678","is_valid_coordinates":true} 
[2026-07-25 13:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951712000001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357741746072846336,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6154028127562629120,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784967628000,"timestamp_ms":1784967628000,"timestamp_seconds":1784967628,"priority":1,"record_length":96,"hex_timestamp":"0000019f985c84e0"} 
[2026-07-25 13:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 13:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951712000001,"66":27995,"119":206,"88":20480,"24":25,"16":357741746072846336,"45":-6154028127562629120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,88,24,16,45]} 
[2026-07-25 13:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951712000001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:52:06] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-25 13:52:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357741746072846336,"km_value":357741746072846.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6154028127562629120,"description":"Unknown IO ID 45"} 
[2026-07-25 13:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951712000001,"power":27995,"unknown_119":206,"unknown_88":20480,"ignition":25,"odometer":null,"unknown_45":-6154028127562629120}} 
[2026-07-25 13:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":141117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:52:06] local.INFO: GPS data processed {"connection_id":141117,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:52:06] local.INFO: Acknowledgment sent {"connection_id":141117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:52:08] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:08] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:08] local.INFO: Packet analysis {"connection_id":141118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:52:08] local.INFO: Extracted packet for processing {"connection_id":141118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:52:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":141118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:52:08] local.INFO: GPS data processed {"connection_id":141118,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:52:08] local.INFO: Acknowledgment sent {"connection_id":141118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:52:37] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985dadc0012daaad4005fe15400019008d28..."} 
[2026-07-25 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985dadc0012daaad4005fe15400019008d28..."} 
[2026-07-25 13:52:37] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985dadc0012daaad4005fe15400019008d28..."} 
[2026-07-25 13:52:37] local.INFO: Packet analysis {"connection_id":141117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985d"} 
[2026-07-25 13:52:37] local.INFO: Extracted packet for processing {"connection_id":141117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985d"} 
[2026-07-25 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":766160192,"raw_latitude":100537664,"longitude_deg":76.6160192,"latitude_deg":10.0537664,"altitude":25,"angle":141,"satellites":40,"speed":31,"hex_longitude":"2daaad40","hex_latitude":"05fe1540","is_valid_coordinates":true} 
[2026-07-25 13:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951729408001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357744451902242816,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6155928083667232768,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784967704000,"timestamp_ms":1784967704000,"timestamp_seconds":1784967704,"priority":1,"record_length":96,"hex_timestamp":"0000019f985dadc0"} 
[2026-07-25 13:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 13:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951729408001,"66":28028,"83":206,"88":20480,"24":31,"16":357744451902242816,"45":-6155928083667232768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,88,24,16,45]} 
[2026-07-25 13:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951729408001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-25 13:52:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357744451902242816,"km_value":357744451902242.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6155928083667232768,"description":"Unknown IO ID 45"} 
[2026-07-25 13:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951729408001,"power":28028,"unknown_83":206,"unknown_88":20480,"ignition":31,"odometer":null,"unknown_45":-6155928083667232768}} 
[2026-07-25 13:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":141117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:52:37] local.INFO: GPS data processed {"connection_id":141117,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:52:37] local.INFO: Acknowledgment sent {"connection_id":141117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:52:52] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:52] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:52] local.INFO: IMEI packet received {"connection_id":141058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":141058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:52:53] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:53] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:53] local.INFO: IMEI packet received {"connection_id":141057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":141057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:52:56] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:56] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:52:56] local.INFO: IMEI packet received {"connection_id":141058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":141058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:52:58] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:58] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:52:58] local.INFO: IMEI packet received {"connection_id":141057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":141057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:52:58] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:59] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:52:59] local.INFO: Packet analysis {"connection_id":141057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:52:59] local.INFO: Extracted packet for processing {"connection_id":141057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:52: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-07-25 13:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:52:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":141057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:52:59] local.INFO: GPS data processed {"connection_id":141057,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:52:59] local.INFO: Acknowledgment sent {"connection_id":141057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:53:00] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:00] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:00] local.INFO: IMEI packet received {"connection_id":141058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":141058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:53:01] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985db590012daab04005fe1000001a009c26..."} 
[2026-07-25 13:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985db590012daab04005fe1000001a009c26..."} 
[2026-07-25 13:53:01] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985db590012daab04005fe1000001a009c26..."} 
[2026-07-25 13:53:01] local.INFO: Packet analysis {"connection_id":141058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985d"} 
[2026-07-25 13:53:01] local.INFO: Extracted packet for processing {"connection_id":141058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985d"} 
[2026-07-25 13:53:01] local.INFO: GPS Element Parsed {"raw_longitude":766160960,"raw_latitude":100536320,"longitude_deg":76.616096,"latitude_deg":10.053632,"altitude":26,"angle":156,"satellites":38,"speed":31,"hex_longitude":"2daab040","hex_latitude":"05fe1000","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951732224001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357744524916686848,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6148187521809039360,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967706000,"timestamp_ms":1784967706000,"timestamp_seconds":1784967706,"priority":1,"record_length":96,"hex_timestamp":"0000019f985db590"} 
[2026-07-25 13:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 13:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951732224001,"66":27767,"83":206,"88":20480,"24":31,"16":357744524916686848,"45":-6148187521809039360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,88,24,16,45]} 
[2026-07-25 13:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951732224001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-25 13:53:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357744524916686848,"km_value":357744524916686.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6148187521809039360,"description":"Unknown IO ID 45"} 
[2026-07-25 13:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951732224001,"power":27767,"unknown_83":206,"unknown_88":20480,"ignition":31,"odometer":null,"unknown_45":-6148187521809039360}} 
[2026-07-25 13:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":141058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:53:01] local.INFO: GPS data processed {"connection_id":141058,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:53:01] local.INFO: Acknowledgment sent {"connection_id":141058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:53:30] local.INFO: TCP Data received {"connection_id":141057,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:53:30] local.INFO: Processing buffer {"connection_id":141057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:53:30] local.INFO: Packet analysis {"connection_id":141057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:53:30] local.INFO: Extracted packet for processing {"connection_id":141057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":141057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:53:30] local.INFO: GPS data processed {"connection_id":141057,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:53:30] local.INFO: Acknowledgment sent {"connection_id":141057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:53:32] local.INFO: TCP Data received {"connection_id":141058,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985de470012daab98005fdef28001d00ab2b..."} 
[2026-07-25 13:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985de470012daab98005fdef28001d00ab2b..."} 
[2026-07-25 13:53:32] local.INFO: Processing buffer {"connection_id":141058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985de470012daab98005fdef28001d00ab2b..."} 
[2026-07-25 13:53:32] local.INFO: Packet analysis {"connection_id":141058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985d"} 
[2026-07-25 13:53:32] local.INFO: Extracted packet for processing {"connection_id":141058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985d"} 
[2026-07-25 13:53:32] local.INFO: GPS Element Parsed {"raw_longitude":766163328,"raw_latitude":100527912,"longitude_deg":76.6163328,"latitude_deg":10.0527912,"altitude":29,"angle":171,"satellites":43,"speed":23,"hex_longitude":"2daab980","hex_latitude":"05fdef28","is_valid_coordinates":true} 
[2026-07-25 13:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951732736001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357744950118449152,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6147343096879251456,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967718000,"timestamp_ms":1784967718000,"timestamp_seconds":1784967718,"priority":1,"record_length":96,"hex_timestamp":"0000019f985de470"} 
[2026-07-25 13:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 13:53: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-07-25 13:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951732736001,"66":27974,"83":206,"88":20480,"24":23,"16":357744950118449152,"45":-6147343096879251456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,88,24,16,45]} 
[2026-07-25 13:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951732736001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357744950118449152,"km_value":357744950118449.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6147343096879251456,"description":"Unknown IO ID 45"} 
[2026-07-25 13:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951732736001,"power":27974,"unknown_83":206,"unknown_88":20480,"ignition":23,"odometer":null,"unknown_45":-6147343096879251456}} 
[2026-07-25 13:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":141058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:53:32] local.INFO: GPS data processed {"connection_id":141058,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:53:32] local.INFO: Acknowledgment sent {"connection_id":141058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:53:52] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:52] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:52] local.INFO: IMEI packet received {"connection_id":141119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":141119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:53:52] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:53:52] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:53:52] local.INFO: IMEI packet received {"connection_id":141059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":141059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:53:55] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:55] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:55] local.INFO: IMEI packet received {"connection_id":141119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":141119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:53:55] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:55] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:53:55] local.INFO: IMEI packet received {"connection_id":141119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":141119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:53:57] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:53:57] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:53:57] local.INFO: IMEI packet received {"connection_id":141059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":141059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:53:58] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:53:58] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985b8ec8012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:53:58] local.INFO: Packet analysis {"connection_id":141059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:53:58] local.INFO: Extracted packet for processing {"connection_id":141059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985b"} 
[2026-07-25 13:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951619584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784967565000,"timestamp_ms":1784967565000,"timestamp_seconds":1784967565,"priority":1,"record_length":96,"hex_timestamp":"0000019f985b8ec8"} 
[2026-07-25 13:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:53: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-07-25 13:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951619584001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951619584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:53:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951619584001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":141059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:53:58] local.INFO: GPS data processed {"connection_id":141059,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:53:58] local.INFO: Acknowledgment sent {"connection_id":141059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:54:00] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:54:00] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:54:00] local.INFO: IMEI packet received {"connection_id":141119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":141119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:54:01] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985f0968012daad68005fd17d0001800fe2d..."} 
[2026-07-25 13:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985f0968012daad68005fd17d0001800fe2d..."} 
[2026-07-25 13:54:01] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985f0968012daad68005fd17d0001800fe2d..."} 
[2026-07-25 13:54:01] local.INFO: Packet analysis {"connection_id":141119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:54:01] local.INFO: Extracted packet for processing {"connection_id":141119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:54:01] local.INFO: GPS Element Parsed {"raw_longitude":766170752,"raw_latitude":100472784,"longitude_deg":76.6170752,"latitude_deg":10.0472784,"altitude":24,"angle":254,"satellites":45,"speed":29,"hex_longitude":"2daad680","hex_latitude":"05fd17d0","is_valid_coordinates":true} 
[2026-07-25 13:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951754752001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357747750437126144,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135872991594491904,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967793000,"timestamp_ms":1784967793000,"timestamp_seconds":1784967793,"priority":1,"record_length":96,"hex_timestamp":"0000019f985f0968"} 
[2026-07-25 13:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 13:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951754752001,"66":27865,"85":206,"88":20480,"24":29,"16":357747750437126144,"45":-6135872991594491904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,88,24,16,45]} 
[2026-07-25 13:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951754752001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-25 13:54:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357747750437126144,"km_value":357747750437126.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135872991594491904,"description":"Unknown IO ID 45"} 
[2026-07-25 13:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951754752001,"power":27865,"unknown_85":206,"unknown_88":20480,"ignition":29,"odometer":null,"unknown_45":-6135872991594491904}} 
[2026-07-25 13:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":141119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:54:01] local.INFO: GPS data processed {"connection_id":141119,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:54:01] local.INFO: Acknowledgment sent {"connection_id":141119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:54:29] local.INFO: TCP Data received {"connection_id":141059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:54:29] local.INFO: Processing buffer {"connection_id":141059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:54:29] local.INFO: Packet analysis {"connection_id":141059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:54:29] local.INFO: Extracted packet for processing {"connection_id":141059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:54: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-07-25 13:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:54:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":141059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:54:29] local.INFO: GPS data processed {"connection_id":141059,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:54:29] local.INFO: Acknowledgment sent {"connection_id":141059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:54:32] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985f0d50012daad38005fd17700018010b2d..."} 
[2026-07-25 13:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985f0d50012daad38005fd17700018010b2d..."} 
[2026-07-25 13:54:32] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985f0d50012daad38005fd17700018010b2d..."} 
[2026-07-25 13:54:32] local.INFO: Packet analysis {"connection_id":141119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:54:32] local.INFO: Extracted packet for processing {"connection_id":141119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":766169984,"raw_latitude":100472688,"longitude_deg":76.6169984,"latitude_deg":10.0472688,"altitude":24,"angle":267,"satellites":45,"speed":29,"hex_longitude":"2daad380","hex_latitude":"05fd1770","is_valid_coordinates":true} 
[2026-07-25 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-07-25 13:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951755008001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357747784796864512,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6136576679036334080,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967794000,"timestamp_ms":1784967794000,"timestamp_seconds":1784967794,"priority":1,"record_length":96,"hex_timestamp":"0000019f985f0d50"} 
[2026-07-25 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-07-25 13:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 13:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 13:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951755008001,"66":27919,"85":206,"88":20480,"24":29,"16":357747784796864512,"45":-6136576679036334080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,88,24,16,45]} 
[2026-07-25 13:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951755008001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-25 13:54:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357747784796864512,"km_value":357747784796864.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6136576679036334080,"description":"Unknown IO ID 45"} 
[2026-07-25 13:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951755008001,"power":27919,"unknown_85":206,"unknown_88":20480,"ignition":29,"odometer":null,"unknown_45":-6136576679036334080}} 
[2026-07-25 13:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":141119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:54:32] local.INFO: GPS data processed {"connection_id":141119,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:54:32] local.INFO: Acknowledgment sent {"connection_id":141119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:54:52] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:54:52] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:54:52] local.INFO: IMEI packet received {"connection_id":141120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":141120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:54:56] local.INFO: TCP Data received {"connection_id":143465,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:54:56] local.INFO: Processing buffer {"connection_id":143465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:54:56] local.INFO: IMEI packet received {"connection_id":143465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":143465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:54:58] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:54:58] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:54:58] local.INFO: IMEI packet received {"connection_id":141120,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":141120,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:54:59] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:54:59] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:54:59] local.INFO: Packet analysis {"connection_id":141120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:54:59] local.INFO: Extracted packet for processing {"connection_id":141120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13: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-07-25 13:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:54:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":141120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:54:59] local.INFO: GPS data processed {"connection_id":141120,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:54:59] local.INFO: Acknowledgment sent {"connection_id":141120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:55:00] local.INFO: TCP Data received {"connection_id":143465,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:55:00] local.INFO: Processing buffer {"connection_id":143465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:55:00] local.INFO: IMEI packet received {"connection_id":143465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":143465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:55:02] local.INFO: TCP Data received {"connection_id":143465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985fd488012daa798005fcd1d0001900bd2d..."} 
[2026-07-25 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985fd488012daa798005fcd1d0001900bd2d..."} 
[2026-07-25 13:55:02] local.INFO: Processing buffer {"connection_id":143465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985fd488012daa798005fcd1d0001900bd2d..."} 
[2026-07-25 13:55:02] local.INFO: Packet analysis {"connection_id":143465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:55:02] local.INFO: Extracted packet for processing {"connection_id":143465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:55:02] local.INFO: GPS Element Parsed {"raw_longitude":766146944,"raw_latitude":100454864,"longitude_deg":76.6146944,"latitude_deg":10.0454864,"altitude":25,"angle":189,"satellites":45,"speed":29,"hex_longitude":"2daa7980","hex_latitude":"05fcd1d0","is_valid_coordinates":true} 
[2026-07-25 13:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951766784001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357749438359273472,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6161276108246300672,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784967845000,"timestamp_ms":1784967845000,"timestamp_seconds":1784967845,"priority":1,"record_length":96,"hex_timestamp":"0000019f985fd488"} 
[2026-07-25 13:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 13:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951766784001,"66":27919,"84":206,"88":20480,"24":29,"16":357749438359273472,"45":-6161276108246300672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,88,24,16,45]} 
[2026-07-25 13:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951766784001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357749438359273472,"km_value":357749438359273.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6161276108246300672,"description":"Unknown IO ID 45"} 
[2026-07-25 13:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951766784001,"power":27919,"unknown_84":206,"unknown_88":20480,"ignition":29,"odometer":null,"unknown_45":-6161276108246300672}} 
[2026-07-25 13:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":143465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:55:02] local.INFO: GPS data processed {"connection_id":143465,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:55:02] local.INFO: Acknowledgment sent {"connection_id":143465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:55:30] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:55:30] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:55:30] local.INFO: Packet analysis {"connection_id":141120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:55:30] local.INFO: Extracted packet for processing {"connection_id":141120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141120,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:55: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-07-25 13:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:55:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":141120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:55:30] local.INFO: GPS data processed {"connection_id":141120,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:55:30] local.INFO: Acknowledgment sent {"connection_id":141120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:55:33] local.INFO: TCP Data received {"connection_id":143465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f985fdc58012daa794005fccbc8001a00ae2c..."} 
[2026-07-25 13:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f985fdc58012daa794005fccbc8001a00ae2c..."} 
[2026-07-25 13:55:33] local.INFO: Processing buffer {"connection_id":143465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f985fdc58012daa794005fccbc8001a00ae2c..."} 
[2026-07-25 13:55:33] local.INFO: Packet analysis {"connection_id":143465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:55:33] local.INFO: Extracted packet for processing {"connection_id":143465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f985f"} 
[2026-07-25 13:55:33] local.INFO: GPS Element Parsed {"raw_longitude":766146880,"raw_latitude":100453320,"longitude_deg":76.614688,"latitude_deg":10.045332,"altitude":26,"angle":174,"satellites":44,"speed":31,"hex_longitude":"2daa7940","hex_latitude":"05fccbc8","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951768320001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357749515668684800,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6162753851875012608,"note":"Value kept but may cause issues"} 
[2026-07-25 13:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784967847000,"timestamp_ms":1784967847000,"timestamp_seconds":1784967847,"priority":1,"record_length":96,"hex_timestamp":"0000019f985fdc58"} 
[2026-07-25 13:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:55: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-07-25 13:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951768320001,"66":27843,"84":206,"88":20480,"24":31,"16":357749515668684800,"45":-6162753851875012608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,88,24,16,45]} 
[2026-07-25 13:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951768320001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:55:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-25 13:55:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357749515668684800,"km_value":357749515668684.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6162753851875012608,"description":"Unknown IO ID 45"} 
[2026-07-25 13:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951768320001,"power":27843,"unknown_84":206,"unknown_88":20480,"ignition":31,"odometer":null,"unknown_45":-6162753851875012608}} 
[2026-07-25 13:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":143465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:55:33] local.INFO: GPS data processed {"connection_id":143465,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:55:33] local.INFO: Acknowledgment sent {"connection_id":143465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:55:55] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:55:55] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:55:55] local.INFO: IMEI packet received {"connection_id":141122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":141122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:55:58] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:55:58] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:55:58] local.INFO: IMEI packet received {"connection_id":141121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":141121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:56:00] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:00] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:00] local.INFO: IMEI packet received {"connection_id":141122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":141122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:56:01] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9860a778012daa74c005fc3de8001400db2d..."} 
[2026-07-25 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9860a778012daa74c005fc3de8001400db2d..."} 
[2026-07-25 13:56:01] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9860a778012daa74c005fc3de8001400db2d..."} 
[2026-07-25 13:56:01] local.INFO: Packet analysis {"connection_id":141122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:01] local.INFO: Extracted packet for processing {"connection_id":141122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":766145728,"raw_latitude":100417000,"longitude_deg":76.6145728,"latitude_deg":10.0417,"altitude":20,"angle":219,"satellites":45,"speed":38,"hex_longitude":"2daa74c0","hex_latitude":"05fc3de8","is_valid_coordinates":true} 
[2026-07-25 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951779584001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357751667447300096,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6155646608721405952,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967899000,"timestamp_ms":1784967899000,"timestamp_seconds":1784967899,"priority":1,"record_length":96,"hex_timestamp":"0000019f9860a778"} 
[2026-07-25 13:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 13:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951779584001,"66":27919,"84":206,"88":20480,"24":38,"16":357751667447300096,"45":-6155646608721405952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,88,24,16,45]} 
[2026-07-25 13:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951779584001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:56:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-25 13:56:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357751667447300096,"km_value":357751667447300.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6155646608721405952,"description":"Unknown IO ID 45"} 
[2026-07-25 13:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951779584001,"power":27919,"unknown_84":206,"unknown_88":20480,"ignition":38,"odometer":null,"unknown_45":-6155646608721405952}} 
[2026-07-25 13:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":141122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:56:01] local.INFO: GPS data processed {"connection_id":141122,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:56:01] local.INFO: Acknowledgment sent {"connection_id":141122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:56:03] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:56:03] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:56:03] local.INFO: IMEI packet received {"connection_id":141121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":141121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:56:04] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:56:04] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:56:04] local.INFO: Packet analysis {"connection_id":141121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:04] local.INFO: Extracted packet for processing {"connection_id":141121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:56: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-07-25 13:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:56:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":141121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:56:04] local.INFO: GPS data processed {"connection_id":141121,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:56:04] local.INFO: Acknowledgment sent {"connection_id":141121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:56:08] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:56:08] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:56:08] local.INFO: Packet analysis {"connection_id":141121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:08] local.INFO: Extracted packet for processing {"connection_id":141121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:56:08] 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-07-25 13:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:56:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:56:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":141121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":542999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:56:08] local.INFO: GPS data processed {"connection_id":141121,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:56:08] local.INFO: Acknowledgment sent {"connection_id":141121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:56:32] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9860a778012daa74c005fc3de8001400db2d..."} 
[2026-07-25 13:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9860a778012daa74c005fc3de8001400db2d..."} 
[2026-07-25 13:56:32] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9860a778012daa74c005fc3de8001400db2d..."} 
[2026-07-25 13:56:32] local.INFO: Packet analysis {"connection_id":141122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:32] local.INFO: Extracted packet for processing {"connection_id":141122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":766145728,"raw_latitude":100417000,"longitude_deg":76.6145728,"latitude_deg":10.0417,"altitude":20,"angle":219,"satellites":45,"speed":38,"hex_longitude":"2daa74c0","hex_latitude":"05fc3de8","is_valid_coordinates":true} 
[2026-07-25 13:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951782144001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357751667447300096,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6164090858024081408,"note":"Value kept but may cause issues"} 
[2026-07-25 13:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967899000,"timestamp_ms":1784967899000,"timestamp_seconds":1784967899,"priority":1,"record_length":96,"hex_timestamp":"0000019f9860a778"} 
[2026-07-25 13:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 13:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951782144001,"66":27919,"84":206,"88":20480,"24":38,"16":357751667447300096,"45":-6164090858024081408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,88,24,16,45]} 
[2026-07-25 13:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951782144001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:56:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-25 13:56:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20480,"description":"Unknown IO ID 88"} 
[2026-07-25 13:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357751667447300096,"km_value":357751667447300.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6164090858024081408,"description":"Unknown IO ID 45"} 
[2026-07-25 13:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951782144001,"power":27919,"unknown_84":206,"unknown_88":20480,"ignition":38,"odometer":null,"unknown_45":-6164090858024081408}} 
[2026-07-25 13:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":141122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:56:32] local.INFO: GPS data processed {"connection_id":141122,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:56:32] local.INFO: Acknowledgment sent {"connection_id":141122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:56:35] local.INFO: TCP Data received {"connection_id":141060,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:56:35] local.INFO: Processing buffer {"connection_id":141060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 13:56:35] local.INFO: IMEI packet received {"connection_id":141060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 13:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":141060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:56:53] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:56:53] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:56:53] local.INFO: IMEI packet received {"connection_id":141123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":141123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:56:53] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:53] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:53] local.INFO: IMEI packet received {"connection_id":141124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":141124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:56:56] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:56] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:56] local.INFO: IMEI packet received {"connection_id":141124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":141124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:56:56] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:56] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:56] local.INFO: IMEI packet received {"connection_id":141124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":141124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:56:59] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:59] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:56:59] local.INFO: IMEI packet received {"connection_id":141124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":141124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:57:00] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9861b500012da9f68005fb59a0001600c32b..."} 
[2026-07-25 13:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9861b500012da9f68005fb59a0001600c32b..."} 
[2026-07-25 13:57:00] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9861b500012da9f68005fb59a0001600c32b..."} 
[2026-07-25 13:57:00] local.INFO: Packet analysis {"connection_id":141124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:57:00] local.INFO: Extracted packet for processing {"connection_id":141124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:57:00] local.INFO: GPS Element Parsed {"raw_longitude":766113408,"raw_latitude":100358560,"longitude_deg":76.6113408,"latitude_deg":10.035856,"altitude":22,"angle":195,"satellites":43,"speed":38,"hex_longitude":"2da9f680","hex_latitude":"05fb59a0","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951798784001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357754961687216128,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6198078961475899392,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784967968000,"timestamp_ms":1784967968000,"timestamp_seconds":1784967968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9861b500"} 
[2026-07-25 13:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 13:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951798784001,"66":27626,"193":206,"88":19456,"24":38,"16":357754961687216128,"45":-6198078961475899392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 13:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951798784001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:57:00] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 13:57:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 13:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357754961687216128,"km_value":357754961687216.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6198078961475899392,"description":"Unknown IO ID 45"} 
[2026-07-25 13:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951798784001,"power":27626,"unknown_193":206,"unknown_88":19456,"ignition":38,"odometer":null,"unknown_45":-6198078961475899392}} 
[2026-07-25 13:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":141124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:57:00] local.INFO: GPS data processed {"connection_id":141124,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:57:00] local.INFO: Acknowledgment sent {"connection_id":141124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:57:01] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:01] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:01] local.INFO: IMEI packet received {"connection_id":141123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":141123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:57:02] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:03] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:03] local.INFO: IMEI packet received {"connection_id":141123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":141123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:57:08] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:08] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:08] local.INFO: IMEI packet received {"connection_id":141123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":141123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:57:09] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:09] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:09] local.INFO: Packet analysis {"connection_id":141123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:57:09] local.INFO: Extracted packet for processing {"connection_id":141123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:57:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:57:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":141123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:57:09] local.INFO: GPS data processed {"connection_id":141123,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:57:09] local.INFO: Acknowledgment sent {"connection_id":141123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:57:13] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:13] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:13] local.INFO: Packet analysis {"connection_id":141123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:57:13] local.INFO: Extracted packet for processing {"connection_id":141123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:57:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":141123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:57:13] local.INFO: GPS data processed {"connection_id":141123,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:57:13] local.INFO: Acknowledgment sent {"connection_id":141123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:57:30] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9861c4a0012da9f48005fb4ad0001600b52f..."} 
[2026-07-25 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9861c4a0012da9f48005fb4ad0001600b52f..."} 
[2026-07-25 13:57:30] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9861c4a0012da9f48005fb4ad0001600b52f..."} 
[2026-07-25 13:57:30] local.INFO: Packet analysis {"connection_id":141124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:57:30] local.INFO: Extracted packet for processing {"connection_id":141124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":766112896,"raw_latitude":100354768,"longitude_deg":76.6112896,"latitude_deg":10.0354768,"altitude":22,"angle":181,"satellites":47,"speed":37,"hex_longitude":"2da9f480","hex_latitude":"05fb4ad0","is_valid_coordinates":true} 
[2026-07-25 13:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951799808001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357755146370809856,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6199627073848762368,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784967972000,"timestamp_ms":1784967972000,"timestamp_seconds":1784967972,"priority":1,"record_length":96,"hex_timestamp":"0000019f9861c4a0"} 
[2026-07-25 13:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 13:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951799808001,"66":27974,"193":206,"88":19456,"24":37,"16":357755146370809856,"45":-6199627073848762368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 13:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951799808001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 13:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357755146370809856,"km_value":357755146370809.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6199627073848762368,"description":"Unknown IO ID 45"} 
[2026-07-25 13:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951799808001,"power":27974,"unknown_193":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6199627073848762368}} 
[2026-07-25 13:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":141124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:57:30] local.INFO: GPS data processed {"connection_id":141124,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:57:30] local.INFO: Acknowledgment sent {"connection_id":141124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:57:53] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:53] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:53] local.INFO: IMEI packet received {"connection_id":141061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":141061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:57:55] local.INFO: TCP Data received {"connection_id":142097,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:57:55] local.INFO: Processing buffer {"connection_id":142097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:57:55] local.INFO: IMEI packet received {"connection_id":142097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":142097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:57:58] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:58] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:57:58] local.INFO: IMEI packet received {"connection_id":141061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":141061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:57:59] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:59] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:57:59] local.INFO: Packet analysis {"connection_id":141061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:57:59] local.INFO: Extracted packet for processing {"connection_id":141061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:57: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-07-25 13:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":141061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:57:59] local.INFO: GPS data processed {"connection_id":141061,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:57:59] local.INFO: Acknowledgment sent {"connection_id":141061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:58:00] local.INFO: TCP Data received {"connection_id":142097,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:58:00] local.INFO: Processing buffer {"connection_id":142097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:58:00] local.INFO: IMEI packet received {"connection_id":142097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":142097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:58:01] local.INFO: TCP Data received {"connection_id":142097,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9861d058012da9f58005fb4000001500a92f..."} 
[2026-07-25 13:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9861d058012da9f58005fb4000001500a92f..."} 
[2026-07-25 13:58:01] local.INFO: Processing buffer {"connection_id":142097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9861d058012da9f58005fb4000001500a92f..."} 
[2026-07-25 13:58:01] local.INFO: Packet analysis {"connection_id":142097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:58:01] local.INFO: Extracted packet for processing {"connection_id":142097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:58:01] local.INFO: GPS Element Parsed {"raw_longitude":766113152,"raw_latitude":100352000,"longitude_deg":76.6113152,"latitude_deg":10.0352,"altitude":21,"angle":169,"satellites":47,"speed":36,"hex_longitude":"2da9f580","hex_latitude":"05fb4000","is_valid_coordinates":true} 
[2026-07-25 13:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951800832001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357755279514796032,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6200190023803154432,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967975000,"timestamp_ms":1784967975000,"timestamp_seconds":1784967975,"priority":1,"record_length":96,"hex_timestamp":"0000019f9861d058"} 
[2026-07-25 13:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 13:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951800832001,"66":27300,"193":206,"88":19456,"24":36,"16":357755279514796032,"45":-6200190023803154432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 13:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951800832001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:58:01] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 13:58:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 13:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357755279514796032,"km_value":357755279514796.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6200190023803154432,"description":"Unknown IO ID 45"} 
[2026-07-25 13:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951800832001,"power":27300,"unknown_193":206,"unknown_88":19456,"ignition":36,"odometer":null,"unknown_45":-6200190023803154432}} 
[2026-07-25 13:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":142097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:58:01] local.INFO: GPS data processed {"connection_id":142097,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:58:01] local.INFO: Acknowledgment sent {"connection_id":142097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:58:29] local.INFO: TCP Data received {"connection_id":141061,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:58:29] local.INFO: Processing buffer {"connection_id":141061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:58:29] local.INFO: Packet analysis {"connection_id":141061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:58:29] local.INFO: Extracted packet for processing {"connection_id":141061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:58:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":141061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:58:30] local.INFO: GPS data processed {"connection_id":141061,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:58:30] local.INFO: Acknowledgment sent {"connection_id":141061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:58:32] local.INFO: TCP Data received {"connection_id":142097,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9861dc10012da9f64005fb35a0001500b62e..."} 
[2026-07-25 13:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9861dc10012da9f64005fb35a0001500b62e..."} 
[2026-07-25 13:58:32] local.INFO: Processing buffer {"connection_id":142097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9861dc10012da9f64005fb35a0001500b62e..."} 
[2026-07-25 13:58:32] local.INFO: Packet analysis {"connection_id":142097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:58:32] local.INFO: Extracted packet for processing {"connection_id":142097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:58:32] local.INFO: GPS Element Parsed {"raw_longitude":766113344,"raw_latitude":100349344,"longitude_deg":76.6113344,"latitude_deg":10.0349344,"altitude":21,"angle":182,"satellites":46,"speed":36,"hex_longitude":"2da9f640","hex_latitude":"05fb35a0","is_valid_coordinates":true} 
[2026-07-25 13:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951801600001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357755412658782208,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6199908548827152384,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967978000,"timestamp_ms":1784967978000,"timestamp_seconds":1784967978,"priority":1,"record_length":96,"hex_timestamp":"0000019f9861dc10"} 
[2026-07-25 13:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 13:58: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-07-25 13:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951801600001,"66":27887,"193":206,"88":19456,"24":36,"16":357755412658782208,"45":-6199908548827152384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 13:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951801600001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:58:32] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 13:58:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 13:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357755412658782208,"km_value":357755412658782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6199908548827152384,"description":"Unknown IO ID 45"} 
[2026-07-25 13:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951801600001,"power":27887,"unknown_193":206,"unknown_88":19456,"ignition":36,"odometer":null,"unknown_45":-6199908548827152384}} 
[2026-07-25 13:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":142097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:58:32] local.INFO: GPS data processed {"connection_id":142097,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:58:32] local.INFO: Acknowledgment sent {"connection_id":142097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:58:53] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:58:53] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:58:53] local.INFO: IMEI packet received {"connection_id":141063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":141063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:58:55] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:58:55] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:58:55] local.INFO: IMEI packet received {"connection_id":141064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:58:58] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:58:58] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:58:58] local.INFO: IMEI packet received {"connection_id":141063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":141063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:58:59] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:58:59] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98602690012d7e380005d34d90000800bc2a..."} 
[2026-07-25 13:58:59] local.INFO: Packet analysis {"connection_id":141063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:58:59] local.INFO: Extracted packet for processing {"connection_id":141063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9860"} 
[2026-07-25 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951696640001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784967866000,"timestamp_ms":1784967866000,"timestamp_seconds":1784967866,"priority":1,"record_length":96,"hex_timestamp":"0000019f98602690"} 
[2026-07-25 13:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-25 13:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:58: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-07-25 13:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951696640001,"66":2242,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951696640001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:58:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951696640001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":141063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:58:59] local.INFO: GPS data processed {"connection_id":141063,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:58:59] local.INFO: Acknowledgment sent {"connection_id":141063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:59:00] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:59:00] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:59:00] local.INFO: IMEI packet received {"connection_id":141064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 13:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":141064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:59:01] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9861e3e0012da9f4c005fb2e78001500c62d..."} 
[2026-07-25 13:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9861e3e0012da9f4c005fb2e78001500c62d..."} 
[2026-07-25 13:59:01] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9861e3e0012da9f4c005fb2e78001500c62d..."} 
[2026-07-25 13:59:01] local.INFO: Packet analysis {"connection_id":141064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:59:01] local.INFO: Extracted packet for processing {"connection_id":141064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:59:01] local.INFO: GPS Element Parsed {"raw_longitude":766112960,"raw_latitude":100347512,"longitude_deg":76.611296,"latitude_deg":10.0347512,"altitude":21,"angle":198,"satellites":45,"speed":37,"hex_longitude":"2da9f4c0","hex_latitude":"05fb2e78","is_valid_coordinates":true} 
[2026-07-25 13:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951802368001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357755502853095424,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6199697442595299328,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967980000,"timestamp_ms":1784967980000,"timestamp_seconds":1784967980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9861e3e0"} 
[2026-07-25 13:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 13:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951802368001,"66":28006,"193":206,"88":19456,"24":37,"16":357755502853095424,"45":-6199697442595299328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 13:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951802368001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:59:01] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 13:59:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 13:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357755502853095424,"km_value":357755502853095.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6199697442595299328,"description":"Unknown IO ID 45"} 
[2026-07-25 13:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951802368001,"power":28006,"unknown_193":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6199697442595299328}} 
[2026-07-25 13:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":141064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:59:01] local.INFO: GPS data processed {"connection_id":141064,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:59:01] local.INFO: Acknowledgment sent {"connection_id":141064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:59:30] local.INFO: TCP Data received {"connection_id":141063,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 13:59:30] local.INFO: Processing buffer {"connection_id":141063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 13:59:30] local.INFO: Packet analysis {"connection_id":141063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 13:59:30] local.INFO: Extracted packet for processing {"connection_id":141063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 13:59:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 13:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 13:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 13:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:59: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-07-25 13:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:59:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":141063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:59:30] local.INFO: GPS data processed {"connection_id":141063,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:59:30] local.INFO: Acknowledgment sent {"connection_id":141063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:59:32] local.INFO: TCP Data received {"connection_id":141064,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9861ebb0012da9f14005fb2850001600d82e..."} 
[2026-07-25 13:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9861ebb0012da9f14005fb2850001600d82e..."} 
[2026-07-25 13:59:32] local.INFO: Processing buffer {"connection_id":141064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9861ebb0012da9f14005fb2850001600d82e..."} 
[2026-07-25 13:59:32] local.INFO: Packet analysis {"connection_id":141064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:59:32] local.INFO: Extracted packet for processing {"connection_id":141064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9861"} 
[2026-07-25 13:59:32] local.INFO: GPS Element Parsed {"raw_longitude":766112064,"raw_latitude":100345936,"longitude_deg":76.6112064,"latitude_deg":10.0345936,"altitude":22,"angle":216,"satellites":46,"speed":37,"hex_longitude":"2da9f140","hex_latitude":"05fb2850","is_valid_coordinates":true} 
[2026-07-25 13:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 13:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951802880001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357755588752441344,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6200119655060834304,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784967982000,"timestamp_ms":1784967982000,"timestamp_seconds":1784967982,"priority":1,"record_length":96,"hex_timestamp":"0000019f9861ebb0"} 
[2026-07-25 13:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 13:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 13:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 13:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 13:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 13:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951802880001,"66":27908,"193":206,"88":19456,"24":37,"16":357755588752441344,"45":-6200119655060834304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 13:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 13:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 13:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951802880001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:59:32] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 13:59:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 13:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357755588752441344,"km_value":357755588752441.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6200119655060834304,"description":"Unknown IO ID 45"} 
[2026-07-25 13:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951802880001,"power":27908,"unknown_193":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6200119655060834304}} 
[2026-07-25 13:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":141064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:59:32] local.INFO: GPS data processed {"connection_id":141064,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:59:32] local.INFO: Acknowledgment sent {"connection_id":141064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 13:59:52] local.INFO: TCP Data received {"connection_id":142098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:59:52] local.INFO: Processing buffer {"connection_id":142098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:59:52] local.INFO: IMEI packet received {"connection_id":142098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 13:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":142098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:59:55] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:59:55] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 13:59:55] local.INFO: IMEI packet received {"connection_id":143466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 13:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":143466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 13:59:58] local.INFO: TCP Data received {"connection_id":142098,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142098,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:59:58] local.INFO: Processing buffer {"connection_id":142098,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 13:59:58] local.INFO: IMEI packet received {"connection_id":142098,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 13:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":142098,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 13:59:59] local.INFO: TCP Data received {"connection_id":142098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 13:59:59] local.INFO: Processing buffer {"connection_id":142098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 13:59:59] local.INFO: Packet analysis {"connection_id":142098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 13:59:59] local.INFO: Extracted packet for processing {"connection_id":142098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 13:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 13: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-07-25 13:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 13:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 13:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 13:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 13:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 13:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 13:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 13: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-07-25 13:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 13:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 13:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 13:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 13:59: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-07-25 13:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 13:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 13:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 13:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 13:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 13:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 13:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 13:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 13:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":142098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 13:59:59] local.INFO: GPS data processed {"connection_id":142098,"processed":1,"errors":0,"total":1} 
[2026-07-25 13:59:59] local.INFO: Acknowledgment sent {"connection_id":142098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:00:00] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:00] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:00] local.INFO: IMEI packet received {"connection_id":143466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":143466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:00:01] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98620708012da9e0c005fb1468001700cc2d..."} 
[2026-07-25 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98620708012da9e0c005fb1468001700cc2d..."} 
[2026-07-25 14:00:01] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98620708012da9e0c005fb1468001700cc2d..."} 
[2026-07-25 14:00:01] local.INFO: Packet analysis {"connection_id":143466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9862"} 
[2026-07-25 14:00:01] local.INFO: Extracted packet for processing {"connection_id":143466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9862"} 
[2026-07-25 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":766107840,"raw_latitude":100340840,"longitude_deg":76.610784,"latitude_deg":10.034084,"altitude":23,"angle":204,"satellites":45,"speed":36,"hex_longitude":"2da9e0c0","hex_latitude":"05fb1468","is_valid_coordinates":true} 
[2026-07-25 14:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951803392001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357755910874988544,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6201104817479725056,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784967989000,"timestamp_ms":1784967989000,"timestamp_seconds":1784967989,"priority":1,"record_length":96,"hex_timestamp":"0000019f98620708"} 
[2026-07-25 14:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 14:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951803392001,"66":28006,"193":206,"88":19456,"24":36,"16":357755910874988544,"45":-6201104817479725056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 14:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951803392001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:00:01] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 14:00:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357755910874988544,"km_value":357755910874988.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6201104817479725056,"description":"Unknown IO ID 45"} 
[2026-07-25 14:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951803392001,"power":28006,"unknown_193":206,"unknown_88":19456,"ignition":36,"odometer":null,"unknown_45":-6201104817479725056}} 
[2026-07-25 14:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":143466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:00:01] local.INFO: GPS data processed {"connection_id":143466,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:00:01] local.INFO: Acknowledgment sent {"connection_id":143466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:00:29] local.INFO: TCP Data received {"connection_id":142098,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:00:29] local.INFO: Processing buffer {"connection_id":142098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:00:29] local.INFO: Packet analysis {"connection_id":142098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:00:29] local.INFO: Extracted packet for processing {"connection_id":142098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":142098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":142098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":142098,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:00:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":142098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:00:29] local.INFO: GPS data processed {"connection_id":142098,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:00:29] local.INFO: Acknowledgment sent {"connection_id":142098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:00:32] local.INFO: TCP Data received {"connection_id":143466,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98623200012da9d54005faf0e8001900c52c..."} 
[2026-07-25 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98623200012da9d54005faf0e8001900c52c..."} 
[2026-07-25 14:00:32] local.INFO: Processing buffer {"connection_id":143466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98623200012da9d54005faf0e8001900c52c..."} 
[2026-07-25 14:00:32] local.INFO: Packet analysis {"connection_id":143466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9862"} 
[2026-07-25 14:00:32] local.INFO: Extracted packet for processing {"connection_id":143466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9862"} 
[2026-07-25 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":766104896,"raw_latitude":100331752,"longitude_deg":76.6104896,"latitude_deg":10.0331752,"altitude":25,"angle":197,"satellites":44,"speed":34,"hex_longitude":"2da9d540","hex_latitude":"05faf0e8","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951805184001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357756374731456512,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6205749154596755456,"note":"Value kept but may cause issues"} 
[2026-07-25 14:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968000000,"timestamp_ms":1784968000000,"timestamp_seconds":1784968000,"priority":1,"record_length":96,"hex_timestamp":"0000019f98623200"} 
[2026-07-25 14:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 14:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951805184001,"66":27995,"193":206,"88":19456,"24":34,"16":357756374731456512,"45":-6205749154596755456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 14:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951805184001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:00:32] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 14:00:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357756374731456512,"km_value":357756374731456.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6205749154596755456,"description":"Unknown IO ID 45"} 
[2026-07-25 14:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951805184001,"power":27995,"unknown_193":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6205749154596755456}} 
[2026-07-25 14:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":143466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:00:32] local.INFO: GPS data processed {"connection_id":143466,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:00:32] local.INFO: Acknowledgment sent {"connection_id":143466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:00:55] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:55] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:55] local.INFO: IMEI packet received {"connection_id":141125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":141125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:00:56] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:56] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:00:56] local.INFO: IMEI packet received {"connection_id":141125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":141125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:00:59] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:00:59] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:00:59] local.INFO: IMEI packet received {"connection_id":141126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":141126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:01:00] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:01:00] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:01:00] local.INFO: IMEI packet received {"connection_id":141125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":141125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:01:01] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98625cf8012da9cac005faceb8001b00c22d..."} 
[2026-07-25 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98625cf8012da9cac005faceb8001b00c22d..."} 
[2026-07-25 14:01:01] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98625cf8012da9cac005faceb8001b00c22d..."} 
[2026-07-25 14:01:01] local.INFO: Packet analysis {"connection_id":141125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9862"} 
[2026-07-25 14:01:01] local.INFO: Extracted packet for processing {"connection_id":141125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9862"} 
[2026-07-25 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":766102208,"raw_latitude":100323000,"longitude_deg":76.6102208,"latitude_deg":10.0323,"altitude":27,"angle":194,"satellites":45,"speed":32,"hex_longitude":"2da9cac0","hex_latitude":"05faceb8","is_valid_coordinates":true} 
[2026-07-25 14:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951808000001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357756817113088000,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6208986116831254528,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968011000,"timestamp_ms":1784968011000,"timestamp_seconds":1784968011,"priority":1,"record_length":96,"hex_timestamp":"0000019f98625cf8"} 
[2026-07-25 14:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951808000001,"66":27995,"193":206,"88":19456,"24":32,"16":357756817113088000,"45":-6208986116831254528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,88,24,16,45]} 
[2026-07-25 14:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951808000001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:01:01] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-25 14:01:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357756817113088000,"km_value":357756817113088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6208986116831254528,"description":"Unknown IO ID 45"} 
[2026-07-25 14:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951808000001,"power":27995,"unknown_193":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6208986116831254528}} 
[2026-07-25 14:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":141125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:01:01] local.INFO: GPS data processed {"connection_id":141125,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:01:01] local.INFO: Acknowledgment sent {"connection_id":141125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:01:02] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:02] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:02] local.INFO: IMEI packet received {"connection_id":141126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":141126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:01:03] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:03] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:03] local.INFO: Packet analysis {"connection_id":141126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:01:03] local.INFO: Extracted packet for processing {"connection_id":141126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":141126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:01:03] local.INFO: GPS data processed {"connection_id":141126,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:01:03] local.INFO: Acknowledgment sent {"connection_id":141126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:01:08] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:08] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:08] local.INFO: Packet analysis {"connection_id":141126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:01:08] local.INFO: Extracted packet for processing {"connection_id":141126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:01:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":141126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:01:08] local.INFO: GPS data processed {"connection_id":141126,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:01:08] local.INFO: Acknowledgment sent {"connection_id":141126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:01:32] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9865e350012da9908005f95c00001b00c82d..."} 
[2026-07-25 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9865e350012da9908005f95c00001b00c82d..."} 
[2026-07-25 14:01:32] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9865e350012da9908005f95c00001b00c82d..."} 
[2026-07-25 14:01:32] local.INFO: Packet analysis {"connection_id":141125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9865"} 
[2026-07-25 14:01:32] local.INFO: Extracted packet for processing {"connection_id":141125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9865"} 
[2026-07-25 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":766087296,"raw_latitude":100228096,"longitude_deg":76.6087296,"latitude_deg":10.0228096,"altitude":27,"angle":200,"satellites":45,"speed":41,"hex_longitude":"2da99080","hex_latitude":"05f95c00","is_valid_coordinates":true} 
[2026-07-25 14:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951867136001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357760394820845568,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6225030190527973376,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968242000,"timestamp_ms":1784968242000,"timestamp_seconds":1784968242,"priority":1,"record_length":96,"hex_timestamp":"0000019f9865e350"} 
[2026-07-25 14:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 14:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951867136001,"66":28028,"195":206,"88":19456,"24":41,"16":357760394820845568,"45":-6225030190527973376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-25 14:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951867136001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:01:32] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 14:01:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357760394820845568,"km_value":357760394820845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6225030190527973376,"description":"Unknown IO ID 45"} 
[2026-07-25 14:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951867136001,"power":28028,"unknown_195":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-6225030190527973376}} 
[2026-07-25 14:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":141125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:01:32] local.INFO: GPS data processed {"connection_id":141125,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:01:32] local.INFO: Acknowledgment sent {"connection_id":141125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:01:52] local.INFO: TCP Data received {"connection_id":143467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:52] local.INFO: Processing buffer {"connection_id":143467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:52] local.INFO: IMEI packet received {"connection_id":143467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":143467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:01:55] local.INFO: TCP Data received {"connection_id":143468,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:01:55] local.INFO: Processing buffer {"connection_id":143468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:01:55] local.INFO: IMEI packet received {"connection_id":143468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":143468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:01:58] local.INFO: TCP Data received {"connection_id":143467,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:58] local.INFO: Processing buffer {"connection_id":143467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:01:58] local.INFO: IMEI packet received {"connection_id":143467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":143467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:01:59] local.INFO: TCP Data received {"connection_id":143467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:59] local.INFO: Processing buffer {"connection_id":143467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:01:59] local.INFO: Packet analysis {"connection_id":143467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:01:59] local.INFO: Extracted packet for processing {"connection_id":143467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:01: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-07-25 14:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":143467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:01:59] local.INFO: GPS data processed {"connection_id":143467,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:01:59] local.INFO: Acknowledgment sent {"connection_id":143467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:02:00] local.INFO: TCP Data received {"connection_id":143468,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:02:00] local.INFO: Processing buffer {"connection_id":143468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:02:00] local.INFO: IMEI packet received {"connection_id":143468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:02:01] local.INFO: TCP Data received {"connection_id":143468,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9865ef08012da98ac005f95110001a00d52e..."} 
[2026-07-25 14:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9865ef08012da98ac005f95110001a00d52e..."} 
[2026-07-25 14:02:01] local.INFO: Processing buffer {"connection_id":143468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9865ef08012da98ac005f95110001a00d52e..."} 
[2026-07-25 14:02:01] local.INFO: Packet analysis {"connection_id":143468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9865"} 
[2026-07-25 14:02:01] local.INFO: Extracted packet for processing {"connection_id":143468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9865"} 
[2026-07-25 14:02:01] local.INFO: GPS Element Parsed {"raw_longitude":766085824,"raw_latitude":100225296,"longitude_deg":76.6085824,"latitude_deg":10.0225296,"altitude":26,"angle":213,"satellites":46,"speed":41,"hex_longitude":"2da98ac0","hex_latitude":"05f95110","is_valid_coordinates":true} 
[2026-07-25 14:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951869952001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357760549439668224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6228337521506648064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968245000,"timestamp_ms":1784968245000,"timestamp_seconds":1784968245,"priority":1,"record_length":96,"hex_timestamp":"0000019f9865ef08"} 
[2026-07-25 14:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951869952001,"66":27463,"195":206,"88":19456,"24":41,"16":357760549439668224,"45":-6228337521506648064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,88,24,16,45]} 
[2026-07-25 14:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951869952001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:02:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-25 14:02:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357760549439668224,"km_value":357760549439668.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6228337521506648064,"description":"Unknown IO ID 45"} 
[2026-07-25 14:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951869952001,"power":27463,"unknown_195":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-6228337521506648064}} 
[2026-07-25 14:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":143468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:02:01] local.INFO: GPS data processed {"connection_id":143468,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:02:01] local.INFO: Acknowledgment sent {"connection_id":143468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:02:10] local.INFO: TCP Data received {"connection_id":141062,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:02:10] local.INFO: Processing buffer {"connection_id":141062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:02:10] local.INFO: IMEI packet received {"connection_id":141062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":141062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:02:30] local.INFO: TCP Data received {"connection_id":143467,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:02:30] local.INFO: Processing buffer {"connection_id":143467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:02:30] local.INFO: Packet analysis {"connection_id":143467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:02:30] local.INFO: Extracted packet for processing {"connection_id":143467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:02:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":143467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:02:30] local.INFO: GPS data processed {"connection_id":143467,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:02:30] local.INFO: Acknowledgment sent {"connection_id":143467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:02:32] local.INFO: TCP Data received {"connection_id":143468,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9866f0d8012da8f4c005f89ed0001700db31..."} 
[2026-07-25 14:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9866f0d8012da8f4c005f89ed0001700db31..."} 
[2026-07-25 14:02:32] local.INFO: Processing buffer {"connection_id":143468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9866f0d8012da8f4c005f89ed0001700db31..."} 
[2026-07-25 14:02:32] local.INFO: Packet analysis {"connection_id":143468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9866"} 
[2026-07-25 14:02:32] local.INFO: Extracted packet for processing {"connection_id":143468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9866"} 
[2026-07-25 14:02:32] local.INFO: GPS Element Parsed {"raw_longitude":766047424,"raw_latitude":100179664,"longitude_deg":76.6047424,"latitude_deg":10.0179664,"altitude":23,"angle":219,"satellites":49,"speed":32,"hex_longitude":"2da8f4c0","hex_latitude":"05f89ed0","is_valid_coordinates":true} 
[2026-07-25 14:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951887104001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357763547326840832,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6270699505513728000,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968311000,"timestamp_ms":1784968311000,"timestamp_seconds":1784968311,"priority":1,"record_length":96,"hex_timestamp":"0000019f9866f0d8"} 
[2026-07-25 14:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 14:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951887104001,"66":27865,"19":206,"88":19456,"24":32,"16":357763547326840832,"45":-6270699505513728000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 14:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951887104001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 14:02:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357763547326840832,"km_value":357763547326840.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6270699505513728000,"description":"Unknown IO ID 45"} 
[2026-07-25 14:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951887104001,"power":27865,"unknown_19":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6270699505513728000}} 
[2026-07-25 14:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":143468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:02:32] local.INFO: GPS data processed {"connection_id":143468,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:02:32] local.INFO: Acknowledgment sent {"connection_id":143468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:02:53] local.INFO: TCP Data received {"connection_id":142099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:02:53] local.INFO: Processing buffer {"connection_id":142099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:02:53] local.INFO: IMEI packet received {"connection_id":142099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":142099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:02:55] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:02:55] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:02:55] local.INFO: IMEI packet received {"connection_id":141065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":141065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:02:58] local.INFO: TCP Data received {"connection_id":142099,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:02:58] local.INFO: Processing buffer {"connection_id":142099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:02:58] local.INFO: IMEI packet received {"connection_id":142099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":142099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:02:59] local.INFO: TCP Data received {"connection_id":142099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:02:59] local.INFO: Processing buffer {"connection_id":142099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:02:59] local.INFO: Packet analysis {"connection_id":142099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:02:59] local.INFO: Extracted packet for processing {"connection_id":142099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:02: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-07-25 14:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":142099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:02:59] local.INFO: GPS data processed {"connection_id":142099,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:02:59] local.INFO: Acknowledgment sent {"connection_id":142099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:03:00] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:03:00] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:03:00] local.INFO: IMEI packet received {"connection_id":141065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":141065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:03:01] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9866f4c0012da8f30005f89c18001700cc30..."} 
[2026-07-25 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9866f4c0012da8f30005f89c18001700cc30..."} 
[2026-07-25 14:03:01] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9866f4c0012da8f30005f89c18001700cc30..."} 
[2026-07-25 14:03:01] local.INFO: Packet analysis {"connection_id":141065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9866"} 
[2026-07-25 14:03:01] local.INFO: Extracted packet for processing {"connection_id":141065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9866"} 
[2026-07-25 14:03:01] local.INFO: GPS Element Parsed {"raw_longitude":766046976,"raw_latitude":100178968,"longitude_deg":76.6046976,"latitude_deg":10.0178968,"altitude":23,"angle":204,"satellites":48,"speed":31,"hex_longitude":"2da8f300","hex_latitude":"05f89c18","is_valid_coordinates":true} 
[2026-07-25 14:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951887616001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357763585981546496,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6272177249141731328,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968312000,"timestamp_ms":1784968312000,"timestamp_seconds":1784968312,"priority":1,"record_length":96,"hex_timestamp":"0000019f9866f4c0"} 
[2026-07-25 14:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 14:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951887616001,"66":27974,"19":206,"88":19456,"24":31,"16":357763585981546496,"45":-6272177249141731328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 14:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951887616001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:03:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 14:03:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357763585981546496,"km_value":357763585981546.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6272177249141731328,"description":"Unknown IO ID 45"} 
[2026-07-25 14:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951887616001,"power":27974,"unknown_19":206,"unknown_88":19456,"ignition":31,"odometer":null,"unknown_45":-6272177249141731328}} 
[2026-07-25 14:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":141065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:03:01] local.INFO: GPS data processed {"connection_id":141065,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:03:01] local.INFO: Acknowledgment sent {"connection_id":141065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:03:30] local.INFO: TCP Data received {"connection_id":142099,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:03:30] local.INFO: Processing buffer {"connection_id":142099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9864be58012d7e380005d34d90000800bc26..."} 
[2026-07-25 14:03:30] local.INFO: Packet analysis {"connection_id":142099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:03:30] local.INFO: Extracted packet for processing {"connection_id":142099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9864"} 
[2026-07-25 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":8,"angle":188,"satellites":38,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-25 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951773696001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494628864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784968167000,"timestamp_ms":1784968167000,"timestamp_seconds":1784968167,"priority":1,"record_length":96,"hex_timestamp":"0000019f9864be58"} 
[2026-07-25 14:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":194,"data_length":795,"current_offset":136} 
[2026-07-25 14:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:03: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-07-25 14:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951773696001,"66":2231,"109":206,"85":15104,"24":0,"16":110231555422552064,"45":9095019472494628864},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951773696001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494628864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951773696001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494628864}} 
[2026-07-25 14:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":142099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:03:30] local.INFO: GPS data processed {"connection_id":142099,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:03:30] local.INFO: Acknowledgment sent {"connection_id":142099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:03:32] local.INFO: TCP Data received {"connection_id":141065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867d368012da9074005f7d050001200942e..."} 
[2026-07-25 14:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867d368012da9074005f7d050001200942e..."} 
[2026-07-25 14:03:32] local.INFO: Processing buffer {"connection_id":141065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867d368012da9074005f7d050001200942e..."} 
[2026-07-25 14:03:32] local.INFO: Packet analysis {"connection_id":141065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:03:32] local.INFO: Extracted packet for processing {"connection_id":141065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:03:32] local.INFO: GPS Element Parsed {"raw_longitude":766052160,"raw_latitude":100126800,"longitude_deg":76.605216,"latitude_deg":10.01268,"altitude":18,"angle":148,"satellites":46,"speed":24,"hex_longitude":"2da90740","hex_latitude":"05f7d050","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902208001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6267321805806854144,"note":"Value kept but may cause issues"} 
[2026-07-25 14:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968369000,"timestamp_ms":1784968369000,"timestamp_seconds":1784968369,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867d368"} 
[2026-07-25 14:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-25 14:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902208001,"66":28093,"207":206,"88":19456,"24":24,"16":357766244566302720,"45":-6267321805806854144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902208001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:03:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:03:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6267321805806854144,"description":"Unknown IO ID 45"} 
[2026-07-25 14:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902208001,"power":28093,"unknown_207":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6267321805806854144}} 
[2026-07-25 14:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":141065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:03:33] local.INFO: GPS data processed {"connection_id":141065,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:03:33] local.INFO: Acknowledgment sent {"connection_id":141065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:03:55] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:03:55] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:03:55] local.INFO: IMEI packet received {"connection_id":143469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":143469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:04:00] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:04:00] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:04:00] local.INFO: IMEI packet received {"connection_id":143469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":143469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:04:01] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867d750012da9090005f7ceb0001300812e..."} 
[2026-07-25 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867d750012da9090005f7ceb0001300812e..."} 
[2026-07-25 14:04:01] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867d750012da9090005f7ceb0001300812e..."} 
[2026-07-25 14:04:01] local.INFO: Packet analysis {"connection_id":143469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:04:01] local.INFO: Extracted packet for processing {"connection_id":143469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":766052608,"raw_latitude":100126384,"longitude_deg":76.6052608,"latitude_deg":10.0126384,"altitude":19,"angle":129,"satellites":46,"speed":24,"hex_longitude":"2da90900","hex_latitude":"05f7ceb0","is_valid_coordinates":true} 
[2026-07-25 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902464001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266969962086117376,"note":"Value kept but may cause issues"} 
[2026-07-25 14:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968370000,"timestamp_ms":1784968370000,"timestamp_seconds":1784968370,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867d750"} 
[2026-07-25 14:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-25 14:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902464001,"66":27463,"207":206,"88":19456,"24":24,"16":357766244566302720,"45":-6266969962086117376},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902464001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:04:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:04:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266969962086117376,"description":"Unknown IO ID 45"} 
[2026-07-25 14:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902464001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6266969962086117376}} 
[2026-07-25 14:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":143469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:04:01] local.INFO: GPS data processed {"connection_id":143469,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:04:01] local.INFO: Acknowledgment sent {"connection_id":143469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:04:32] local.INFO: TCP Data received {"connection_id":143469,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:04:32] local.INFO: Processing buffer {"connection_id":143469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:04:32] local.INFO: Packet analysis {"connection_id":143469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:04:32] local.INFO: Extracted packet for processing {"connection_id":143469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:04:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:04:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":143469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:04:32] local.INFO: GPS data processed {"connection_id":143469,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:04:32] local.INFO: Acknowledgment sent {"connection_id":143469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:05:05] local.INFO: TCP Data received {"connection_id":142100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:05] local.INFO: Processing buffer {"connection_id":142100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:05] local.INFO: IMEI packet received {"connection_id":142100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":142100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:05:10] local.INFO: TCP Data received {"connection_id":142100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:10] local.INFO: Processing buffer {"connection_id":142100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:10] local.INFO: IMEI packet received {"connection_id":142100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":142100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:05:11] local.INFO: TCP Data received {"connection_id":142100,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:05:11] local.INFO: Processing buffer {"connection_id":142100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:05:11] local.INFO: Packet analysis {"connection_id":142100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:05:11] local.INFO: Extracted packet for processing {"connection_id":142100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:05:11] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:05:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:05:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":142100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:05:11] local.INFO: GPS data processed {"connection_id":142100,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:05:11] local.INFO: Acknowledgment sent {"connection_id":142100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:05:16] local.INFO: TCP Data received {"connection_id":142100,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:05:16] local.INFO: Processing buffer {"connection_id":142100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:05:16] local.INFO: Packet analysis {"connection_id":142100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:05:16] local.INFO: Extracted packet for processing {"connection_id":142100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:05:16] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:05:16] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:05:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":142100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:05:16] local.INFO: GPS data processed {"connection_id":142100,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:05:16] local.INFO: Acknowledgment sent {"connection_id":142100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:05:55] local.INFO: TCP Data received {"connection_id":143470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:55] local.INFO: Processing buffer {"connection_id":143470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:05:55] local.INFO: IMEI packet received {"connection_id":143470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":143470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:06:00] local.INFO: TCP Data received {"connection_id":143470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:06:00] local.INFO: Processing buffer {"connection_id":143470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:06:00] local.INFO: IMEI packet received {"connection_id":143470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":143470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:06:01] local.INFO: TCP Data received {"connection_id":143470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:01] local.INFO: Processing buffer {"connection_id":143470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:01] local.INFO: Packet analysis {"connection_id":143470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:06:01] local.INFO: Extracted packet for processing {"connection_id":143470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:06:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:06:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":143470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:06:01] local.INFO: GPS data processed {"connection_id":143470,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:06:01] local.INFO: Acknowledgment sent {"connection_id":143470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:06:06] local.INFO: TCP Data received {"connection_id":143470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:06] local.INFO: Processing buffer {"connection_id":143470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:06] local.INFO: Packet analysis {"connection_id":143470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:06:06] local.INFO: Extracted packet for processing {"connection_id":143470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14: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-07-25 14:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:06:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:06:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":143470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:06:06] local.INFO: GPS data processed {"connection_id":143470,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:06:06] local.INFO: Acknowledgment sent {"connection_id":143470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:06:37] local.INFO: TCP Data received {"connection_id":143470,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:37] local.INFO: Processing buffer {"connection_id":143470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:06:37] local.INFO: Packet analysis {"connection_id":143470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:06:37] local.INFO: Extracted packet for processing {"connection_id":143470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:06:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:06:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":143470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:06:37] local.INFO: GPS data processed {"connection_id":143470,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:06:37] local.INFO: Acknowledgment sent {"connection_id":143470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:06:55] local.INFO: TCP Data received {"connection_id":142101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:06:55] local.INFO: Processing buffer {"connection_id":142101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:06:55] local.INFO: IMEI packet received {"connection_id":142101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":142101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:07:00] local.INFO: TCP Data received {"connection_id":142101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:07:00] local.INFO: Processing buffer {"connection_id":142101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:07:00] local.INFO: IMEI packet received {"connection_id":142101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":142101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:07:01] local.INFO: TCP Data received {"connection_id":142101,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:07:01] local.INFO: Processing buffer {"connection_id":142101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:07:01] local.INFO: Packet analysis {"connection_id":142101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:07:01] local.INFO: Extracted packet for processing {"connection_id":142101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:07:01] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:07:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:07:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":142101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:07:01] local.INFO: GPS data processed {"connection_id":142101,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:07:01] local.INFO: Acknowledgment sent {"connection_id":142101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:07:32] local.INFO: TCP Data received {"connection_id":142101,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:07:32] local.INFO: Processing buffer {"connection_id":142101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:07:32] local.INFO: Packet analysis {"connection_id":142101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:07:32] local.INFO: Extracted packet for processing {"connection_id":142101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:07:32] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 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-07-25 14:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:07:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:07:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":142101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:07:32] local.INFO: GPS data processed {"connection_id":142101,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:07:32] local.INFO: Acknowledgment sent {"connection_id":142101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:07:45] local.INFO: TCP Data received {"connection_id":141066,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:07:45] local.INFO: Processing buffer {"connection_id":141066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:07:45] local.INFO: IMEI packet received {"connection_id":141066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":141066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:07:55] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:07:55] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:07:55] local.INFO: IMEI packet received {"connection_id":141067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":141067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:08:00] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:08:00] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:08:00] local.INFO: IMEI packet received {"connection_id":141067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":141067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:08:01] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:08:01] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9867db38012da90b4005f7cd78001300742f..."} 
[2026-07-25 14:08:01] local.INFO: Packet analysis {"connection_id":141067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:08:01] local.INFO: Extracted packet for processing {"connection_id":141067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9867"} 
[2026-07-25 14:08:01] local.INFO: GPS Element Parsed {"raw_longitude":766053184,"raw_latitude":100126072,"longitude_deg":76.6053184,"latitude_deg":10.0126072,"altitude":19,"angle":116,"satellites":47,"speed":22,"hex_longitude":"2da90b40","hex_latitude":"05f7cd78","is_valid_coordinates":true} 
[2026-07-25 14:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6266477380876980224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968371000,"timestamp_ms":1784968371000,"timestamp_seconds":1784968371,"priority":1,"record_length":96,"hex_timestamp":"0000019f9867db38"} 
[2026-07-25 14:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902720001,"66":27463,"207":206,"88":19456,"24":22,"16":357766244566302720,"45":-6266477380876980224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:08:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:08:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6266477380876980224,"description":"Unknown IO ID 45"} 
[2026-07-25 14:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902720001,"power":27463,"unknown_207":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6266477380876980224}} 
[2026-07-25 14:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":141067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:08:01] local.INFO: GPS data processed {"connection_id":141067,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:08:01] local.INFO: Acknowledgment sent {"connection_id":141067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:08:32] local.INFO: TCP Data received {"connection_id":141067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:08:32] local.INFO: Processing buffer {"connection_id":141067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:08:32] local.INFO: Packet analysis {"connection_id":141067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:08:32] local.INFO: Extracted packet for processing {"connection_id":141067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:08:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 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-07-25 14:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:08:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:08:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":141067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:08:32] local.INFO: GPS data processed {"connection_id":141067,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:08:32] local.INFO: Acknowledgment sent {"connection_id":141067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:08:55] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:08:55] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:08:55] local.INFO: IMEI packet received {"connection_id":141127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":141127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:09:00] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:09:00] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:09:00] local.INFO: IMEI packet received {"connection_id":141127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":141127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:09:01] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:09:01] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:09:01] local.INFO: Packet analysis {"connection_id":141127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:09:01] local.INFO: Extracted packet for processing {"connection_id":141127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:09:01] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:09:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:09:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":141127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:09:01] local.INFO: GPS data processed {"connection_id":141127,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:09:01] local.INFO: Acknowledgment sent {"connection_id":141127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:09:32] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:09:32] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:09:32] local.INFO: Packet analysis {"connection_id":141127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:09:32] local.INFO: Extracted packet for processing {"connection_id":141127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:09:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:09:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:09:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":141127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:09:32] local.INFO: GPS data processed {"connection_id":141127,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:09:32] local.INFO: Acknowledgment sent {"connection_id":141127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:09:55] local.INFO: TCP Data received {"connection_id":141068,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:09:55] local.INFO: Processing buffer {"connection_id":141068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:09:55] local.INFO: IMEI packet received {"connection_id":141068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":141068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:10:00] local.INFO: TCP Data received {"connection_id":141068,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:10:00] local.INFO: Processing buffer {"connection_id":141068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:10:00] local.INFO: IMEI packet received {"connection_id":141068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":141068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:10:01] local.INFO: TCP Data received {"connection_id":141068,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:10:01] local.INFO: Processing buffer {"connection_id":141068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:10:01] local.INFO: Packet analysis {"connection_id":141068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:10:01] local.INFO: Extracted packet for processing {"connection_id":141068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:10:01] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:10:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:10:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":141068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:10:01] local.INFO: GPS data processed {"connection_id":141068,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:10:01] local.INFO: Acknowledgment sent {"connection_id":141068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:10:32] local.INFO: TCP Data received {"connection_id":141068,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:10:32] local.INFO: Processing buffer {"connection_id":141068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:10:32] local.INFO: Packet analysis {"connection_id":141068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:10:32] local.INFO: Extracted packet for processing {"connection_id":141068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:10:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:10:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:10:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":141068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:10:32] local.INFO: GPS data processed {"connection_id":141068,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:10:32] local.INFO: Acknowledgment sent {"connection_id":141068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:10:55] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:10:55] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:10:55] local.INFO: IMEI packet received {"connection_id":143471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":143471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:11:00] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:11:00] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:11:00] local.INFO: IMEI packet received {"connection_id":143471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":143471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:11:01] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:11:01] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:11:01] local.INFO: Packet analysis {"connection_id":143471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:11:01] local.INFO: Extracted packet for processing {"connection_id":143471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:11:01] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:11:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:11:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":143471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:11:01] local.INFO: GPS data processed {"connection_id":143471,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:11:01] local.INFO: Acknowledgment sent {"connection_id":143471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:11:32] local.INFO: TCP Data received {"connection_id":143471,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:11:32] local.INFO: Processing buffer {"connection_id":143471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:11:32] local.INFO: Packet analysis {"connection_id":143471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:11:32] local.INFO: Extracted packet for processing {"connection_id":143471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:11:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:11:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":143471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:11:32] local.INFO: GPS data processed {"connection_id":143471,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:11:32] local.INFO: Acknowledgment sent {"connection_id":143471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:11:55] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:11:55] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:11:55] local.INFO: IMEI packet received {"connection_id":141128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":141128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:12:00] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:12:00] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:12:00] local.INFO: IMEI packet received {"connection_id":141128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":141128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:12:01] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:12:01] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:12:01] local.INFO: Packet analysis {"connection_id":141128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:12:01] local.INFO: Extracted packet for processing {"connection_id":141128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:12:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:12:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":141128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:12:01] local.INFO: GPS data processed {"connection_id":141128,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:12:01] local.INFO: Acknowledgment sent {"connection_id":141128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:12:32] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:12:32] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:12:32] local.INFO: Packet analysis {"connection_id":141128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:12:32] local.INFO: Extracted packet for processing {"connection_id":141128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 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-07-25 14:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":141128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:12:32] local.INFO: GPS data processed {"connection_id":141128,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:12:32] local.INFO: Acknowledgment sent {"connection_id":141128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:13:00] local.INFO: TCP Data received {"connection_id":143472,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:00] local.INFO: Processing buffer {"connection_id":143472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:00] local.INFO: IMEI packet received {"connection_id":143472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":143472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:13:05] local.INFO: TCP Data received {"connection_id":143472,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:05] local.INFO: Processing buffer {"connection_id":143472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:05] local.INFO: IMEI packet received {"connection_id":143472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":143472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:13:06] local.INFO: TCP Data received {"connection_id":143472,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:13:06] local.INFO: Processing buffer {"connection_id":143472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:13:06] local.INFO: Packet analysis {"connection_id":143472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:13:06] local.INFO: Extracted packet for processing {"connection_id":143472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:13:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:13:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":143472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:13:06] local.INFO: GPS data processed {"connection_id":143472,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:13:06] local.INFO: Acknowledgment sent {"connection_id":143472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:13:11] local.INFO: TCP Data received {"connection_id":143472,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:13:11] local.INFO: Processing buffer {"connection_id":143472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f986c76e8012da9230005f7a1800014006c2c..."} 
[2026-07-25 14:13:11] local.INFO: Packet analysis {"connection_id":143472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:13:11] local.INFO: Extracted packet for processing {"connection_id":143472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f986c"} 
[2026-07-25 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":44,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951902976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265844062179461120,"note":"Value kept but may cause issues"} 
[2026-07-25 14:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784968673000,"timestamp_ms":1784968673000,"timestamp_seconds":1784968673,"priority":1,"record_length":96,"hex_timestamp":"0000019f986c76e8"} 
[2026-07-25 14:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951902976001,"66":26310,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6265844062179461120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951902976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:13:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:13:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265844062179461120,"description":"Unknown IO ID 45"} 
[2026-07-25 14:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951902976001,"power":26310,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6265844062179461120}} 
[2026-07-25 14:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":143472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:13:11] local.INFO: GPS data processed {"connection_id":143472,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:13:11] local.INFO: Acknowledgment sent {"connection_id":143472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:13:21] local.INFO: TCP Data received {"connection_id":142102,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:13:21] local.INFO: Processing buffer {"connection_id":142102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:13:21] local.INFO: IMEI packet received {"connection_id":142102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":142102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:13:55] local.INFO: TCP Data received {"connection_id":141129,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:13:55] local.INFO: Processing buffer {"connection_id":141129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:13:55] local.INFO: IMEI packet received {"connection_id":141129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":141129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:13:56] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:56] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:13:56] local.INFO: IMEI packet received {"connection_id":141130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":141130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:14:00] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:14:00] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:14:00] local.INFO: IMEI packet received {"connection_id":141130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":141130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:14:01] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:14:01] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:14:01] local.INFO: Packet analysis {"connection_id":141130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9871"} 
[2026-07-25 14:14:01] local.INFO: Extracted packet for processing {"connection_id":141130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9871"} 
[2026-07-25 14:14:01] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951980288001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259159031485464576,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968974000,"timestamp_ms":1784968974000,"timestamp_seconds":1784968974,"priority":1,"record_length":96,"hex_timestamp":"0000019f98710eb0"} 
[2026-07-25 14:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 14:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951980288001,"66":26082,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6259159031485464576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951980288001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:14:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:14:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259159031485464576,"description":"Unknown IO ID 45"} 
[2026-07-25 14:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951980288001,"power":26082,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6259159031485464576}} 
[2026-07-25 14:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":141130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:14:01] local.INFO: GPS data processed {"connection_id":141130,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:14:01] local.INFO: Acknowledgment sent {"connection_id":141130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:14:11] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:11] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:11] local.INFO: IMEI packet received {"connection_id":141131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":141131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:14:14] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:14] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:14] local.INFO: IMEI packet received {"connection_id":141131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":141131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:14:19] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:19] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:14:19] local.INFO: IMEI packet received {"connection_id":141131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":141131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:14:20] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98723790012d196880071fef180041006806..."} 
[2026-07-25 14:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98723790012d196880071fef180041006806..."} 
[2026-07-25 14:14:20] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98723790012d196880071fef180041006806..."} 
[2026-07-25 14:14:20] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:14:20] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533336,"longitude_deg":75.6639872,"latitude_deg":11.9533336,"altitude":65,"angle":104,"satellites":6,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fef18","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754513443815424,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 14:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784969050000,"timestamp_ms":1784969050000,"timestamp_seconds":1784969050,"priority":1,"record_length":96,"hex_timestamp":"0000019f98723790"} 
[2026-07-25 14:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 14:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12145,"102":206,"83":41984,"24":0,"16":8754513443815424},"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]} 
[2026-07-25 14:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 14:14:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:14:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754513443815424,"km_value":8754513443815.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:14:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-07-25 14:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:14:20] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:14:20] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:14:32] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:14:32] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:14:32] local.INFO: Packet analysis {"connection_id":141130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9871"} 
[2026-07-25 14:14:32] local.INFO: Extracted packet for processing {"connection_id":141130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9871"} 
[2026-07-25 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951980288001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259159031485464576,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784968974000,"timestamp_ms":1784968974000,"timestamp_seconds":1784968974,"priority":1,"record_length":96,"hex_timestamp":"0000019f98710eb0"} 
[2026-07-25 14:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 14:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951980288001,"66":26082,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6259159031485464576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951980288001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:14:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:14:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259159031485464576,"description":"Unknown IO ID 45"} 
[2026-07-25 14:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951980288001,"power":26082,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6259159031485464576}} 
[2026-07-25 14:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":141130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:14:32] local.INFO: GPS data processed {"connection_id":141130,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:14:32] local.INFO: Acknowledgment sent {"connection_id":141130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:14:51] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987285b0012d1968c0071feff00042006807..."} 
[2026-07-25 14:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987285b0012d1968c0071feff00042006807..."} 
[2026-07-25 14:14:51] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987285b0012d1968c0071feff00042006807..."} 
[2026-07-25 14:14:51] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:14:51] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119533552,"longitude_deg":75.6639936,"latitude_deg":11.9533552,"altitude":66,"angle":104,"satellites":7,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071feff0","is_valid_coordinates":true} 
[2026-07-25 14:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952076800001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754534918651904,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614995968,"note":"Value kept but may cause issues"} 
[2026-07-25 14:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784969070000,"timestamp_ms":1784969070000,"timestamp_seconds":1784969070,"priority":1,"record_length":96,"hex_timestamp":"0000019f987285b0"} 
[2026-07-25 14:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:14: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-07-25 14:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 14:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952076800001,"66":12287,"102":206,"83":41984,"24":0,"16":8754534918651904,"45":1830854016614995968},"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-07-25 14:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952076800001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:14:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754534918651904,"km_value":8754534918651.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614995968,"description":"Unknown IO ID 45"} 
[2026-07-25 14:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952076800001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614995968}} 
[2026-07-25 14:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:14:51] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:14:51] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:14:56] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:14:56] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:14:56] local.INFO: IMEI packet received {"connection_id":143473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":143473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:15:00] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:15:00] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:15:00] local.INFO: IMEI packet received {"connection_id":143473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":143473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:15:01] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:15:01] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98710eb0012da9230005f7a1800014006c2d..."} 
[2026-07-25 14:15:01] local.INFO: Packet analysis {"connection_id":143473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9871"} 
[2026-07-25 14:15:01] local.INFO: Extracted packet for processing {"connection_id":143473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9871"} 
[2026-07-25 14:15:01] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":45,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456951980288001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259159031485464576,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784968974000,"timestamp_ms":1784968974000,"timestamp_seconds":1784968974,"priority":1,"record_length":96,"hex_timestamp":"0000019f98710eb0"} 
[2026-07-25 14:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 14:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456951980288001,"66":26082,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6259159031485464576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456951980288001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:15:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:15:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259159031485464576,"description":"Unknown IO ID 45"} 
[2026-07-25 14:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456951980288001,"power":26082,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6259159031485464576}} 
[2026-07-25 14:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":143473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:15:01] local.INFO: GPS data processed {"connection_id":143473,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:15:01] local.INFO: Acknowledgment sent {"connection_id":143473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:15:22] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9872d7b8012d196700071fefc0004300680a..."} 
[2026-07-25 14:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9872d7b8012d196700071fefc0004300680a..."} 
[2026-07-25 14:15:22] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9872d7b8012d196700071fefc0004300680a..."} 
[2026-07-25 14:15:22] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:15:22] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533504,"longitude_deg":75.6639488,"latitude_deg":11.9533504,"altitude":67,"angle":104,"satellites":10,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-07-25 14:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952081920001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754569278390272,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359228928,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15: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-07-25 14:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784969091000,"timestamp_ms":1784969091000,"timestamp_seconds":1784969091,"priority":1,"record_length":96,"hex_timestamp":"0000019f9872d7b8"} 
[2026-07-25 14:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 14:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952081920001,"66":12211,"102":206,"83":41984,"24":0,"16":8754569278390272,"45":1830924385359228928},"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-07-25 14:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952081920001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754569278390272,"km_value":8754569278390.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359228928,"description":"Unknown IO ID 45"} 
[2026-07-25 14:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952081920001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830924385359228928}} 
[2026-07-25 14:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:15:22] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:15:22] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:15:32] local.INFO: TCP Data received {"connection_id":143473,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9872d7b8012da9230005f7a1800014006c2b..."} 
[2026-07-25 14:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9872d7b8012da9230005f7a1800014006c2b..."} 
[2026-07-25 14:15:32] local.INFO: Processing buffer {"connection_id":143473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9872d7b8012da9230005f7a1800014006c2b..."} 
[2026-07-25 14:15:32] local.INFO: Packet analysis {"connection_id":143473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:15:32] local.INFO: Extracted packet for processing {"connection_id":143473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:15:32] local.INFO: GPS Element Parsed {"raw_longitude":766059264,"raw_latitude":100114816,"longitude_deg":76.6059264,"latitude_deg":10.0114816,"altitude":20,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2da92300","hex_latitude":"05f7a180","is_valid_coordinates":true} 
[2026-07-25 14:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952057344001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259159031485464576,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969091000,"timestamp_ms":1784969091000,"timestamp_seconds":1784969091,"priority":1,"record_length":96,"hex_timestamp":"0000019f9872d7b8"} 
[2026-07-25 14:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:15: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-07-25 14:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952057344001,"66":26006,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6259159031485464576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952057344001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:15:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:15:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259159031485464576,"description":"Unknown IO ID 45"} 
[2026-07-25 14:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952057344001,"power":26006,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6259159031485464576}} 
[2026-07-25 14:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":143473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:15:32] local.INFO: GPS data processed {"connection_id":143473,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:15:32] local.INFO: Acknowledgment sent {"connection_id":143473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:15:53] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987329c0012d196680071fef80004000680c..."} 
[2026-07-25 14:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987329c0012d196680071fef80004000680c..."} 
[2026-07-25 14:15:53] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987329c0012d196680071fef80004000680c..."} 
[2026-07-25 14:15:53] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:15:53] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":64,"angle":104,"satellites":12,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952087296001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754586458259456,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149972992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784969112000,"timestamp_ms":1784969112000,"timestamp_seconds":1784969112,"priority":1,"record_length":96,"hex_timestamp":"0000019f987329c0"} 
[2026-07-25 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-07-25 14:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 14:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:15:53] 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-07-25 14:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952087296001,"66":12178,"102":206,"83":41984,"24":0,"16":8754586458259456,"45":1830431804149972992},"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-07-25 14:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952087296001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:15:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:15:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754586458259456,"km_value":8754586458259.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149972992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952087296001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149972992}} 
[2026-07-25 14:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:15:53] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:15:53] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:15:55] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:15:55] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:15:55] local.INFO: IMEI packet received {"connection_id":143474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":143474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:16:00] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:00] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:00] local.INFO: IMEI packet received {"connection_id":143474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":143474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:16:01] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9872df88012da9270005f792b0001400bc2b..."} 
[2026-07-25 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9872df88012da9270005f792b0001400bc2b..."} 
[2026-07-25 14:16:01] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9872df88012da9270005f792b0001400bc2b..."} 
[2026-07-25 14:16:01] local.INFO: Packet analysis {"connection_id":143474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:16:01] local.INFO: Extracted packet for processing {"connection_id":143474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9872"} 
[2026-07-25 14:16:01] local.INFO: GPS Element Parsed {"raw_longitude":766060288,"raw_latitude":100111024,"longitude_deg":76.6060288,"latitude_deg":10.0111024,"altitude":20,"angle":188,"satellites":43,"speed":0,"hex_longitude":"2da92700","hex_latitude":"05f792b0","is_valid_coordinates":true} 
[2026-07-25 14:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952087296001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259159031485464576,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969093000,"timestamp_ms":1784969093000,"timestamp_seconds":1784969093,"priority":1,"record_length":96,"hex_timestamp":"0000019f9872df88"} 
[2026-07-25 14:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 14:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952087296001,"66":25941,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6259159031485464576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952087296001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:16:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:16:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259159031485464576,"description":"Unknown IO ID 45"} 
[2026-07-25 14:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952087296001,"power":25941,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6259159031485464576}} 
[2026-07-25 14:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":143474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:16:01] local.INFO: GPS data processed {"connection_id":143474,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:16:01] local.INFO: Acknowledgment sent {"connection_id":143474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:16:24] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98737bc8012d196680071fef80004000680e..."} 
[2026-07-25 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98737bc8012d196680071fef80004000680e..."} 
[2026-07-25 14:16:24] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98737bc8012d196680071fef80004000680e..."} 
[2026-07-25 14:16:24] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:16:24] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533440,"longitude_deg":75.663936,"latitude_deg":11.953344,"altitude":64,"angle":104,"satellites":14,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-07-25 14:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952092672001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754586458259456,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784969133000,"timestamp_ms":1784969133000,"timestamp_seconds":1784969133,"priority":1,"record_length":96,"hex_timestamp":"0000019f98737bc8"} 
[2026-07-25 14:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 14:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:16:24] 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-07-25 14:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952092672001,"66":12178,"102":206,"83":41984,"24":0,"16":8754586458259456,"45":1830291066661601280},"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-07-25 14:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952092672001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:16:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754586458259456,"km_value":8754586458259.456,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-25 14:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952092672001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-25 14:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:16:24] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:16:24] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:16:32] local.INFO: TCP Data received {"connection_id":143474,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98733190012da9270005f792b0001400bc2e..."} 
[2026-07-25 14:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98733190012da9270005f792b0001400bc2e..."} 
[2026-07-25 14:16:32] local.INFO: Processing buffer {"connection_id":143474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98733190012da9270005f792b0001400bc2e..."} 
[2026-07-25 14:16:32] local.INFO: Packet analysis {"connection_id":143474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:16:32] local.INFO: Extracted packet for processing {"connection_id":143474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":766060288,"raw_latitude":100111024,"longitude_deg":76.6060288,"latitude_deg":10.0111024,"altitude":20,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2da92700","hex_latitude":"05f792b0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952087808001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258033131579592704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969114000,"timestamp_ms":1784969114000,"timestamp_seconds":1784969114,"priority":1,"record_length":96,"hex_timestamp":"0000019f98733190"} 
[2026-07-25 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-07-25 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 14:16:32] 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-07-25 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-07-25 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-07-25 14:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952087808001,"66":25702,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6258033131579592704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952087808001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:16:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:16:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258033131579592704,"description":"Unknown IO ID 45"} 
[2026-07-25 14:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952087808001,"power":25702,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6258033131579592704}} 
[2026-07-25 14:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":143474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:16:32] local.INFO: GPS data processed {"connection_id":143474,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:16:32] local.INFO: Acknowledgment sent {"connection_id":143474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:16:56] local.INFO: TCP Data received {"connection_id":142103,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:56] local.INFO: Processing buffer {"connection_id":142103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:56] local.INFO: IMEI packet received {"connection_id":142103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":142103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:16:56] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9873cdd0012d196680071fefa00040006812..."} 
[2026-07-25 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9873cdd0012d196680071fefa00040006812..."} 
[2026-07-25 14:16:56] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9873cdd0012d196680071fefa00040006812..."} 
[2026-07-25 14:16:56] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:16:56] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533472,"longitude_deg":75.663936,"latitude_deg":11.9533472,"altitude":64,"angle":104,"satellites":18,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-07-25 14:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952098048001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754590753226752,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661601280,"note":"Value kept but may cause issues"} 
[2026-07-25 14:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784969154000,"timestamp_ms":1784969154000,"timestamp_seconds":1784969154,"priority":1,"record_length":96,"hex_timestamp":"0000019f9873cdd0"} 
[2026-07-25 14:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 14:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952098048001,"66":12178,"102":206,"83":41984,"24":0,"16":8754590753226752,"45":1830291066661601280},"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-07-25 14:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952098048001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:16:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8754590753226752,"km_value":8754590753226.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661601280,"description":"Unknown IO ID 45"} 
[2026-07-25 14:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952098048001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661601280}} 
[2026-07-25 14:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:16:56] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:16:56] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:16:56] local.INFO: TCP Data received {"connection_id":142103,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:56] local.INFO: Processing buffer {"connection_id":142103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:16:56] local.INFO: IMEI packet received {"connection_id":142103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":142103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:17:00] local.INFO: TCP Data received {"connection_id":142103,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:00] local.INFO: Processing buffer {"connection_id":142103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:00] local.INFO: IMEI packet received {"connection_id":142103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:17:02] local.INFO: TCP Data received {"connection_id":142103,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98738398012da9270005f792b0001400bc29..."} 
[2026-07-25 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98738398012da9270005f792b0001400bc29..."} 
[2026-07-25 14:17:02] local.INFO: Processing buffer {"connection_id":142103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98738398012da9270005f792b0001400bc29..."} 
[2026-07-25 14:17:02] local.INFO: Packet analysis {"connection_id":142103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:17:02] local.INFO: Extracted packet for processing {"connection_id":142103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":766060288,"raw_latitude":100111024,"longitude_deg":76.6060288,"latitude_deg":10.0111024,"altitude":20,"angle":188,"satellites":41,"speed":0,"hex_longitude":"2da92700","hex_latitude":"05f792b0","is_valid_coordinates":true} 
[2026-07-25 14:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952093184001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258033131579592704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784969135000,"timestamp_ms":1784969135000,"timestamp_seconds":1784969135,"priority":1,"record_length":96,"hex_timestamp":"0000019f98738398"} 
[2026-07-25 14:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 14:17: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-07-25 14:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952093184001,"66":27767,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6258033131579592704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952093184001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:17:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:17:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258033131579592704,"description":"Unknown IO ID 45"} 
[2026-07-25 14:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952093184001,"power":27767,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6258033131579592704}} 
[2026-07-25 14:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":142103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:17:02] local.INFO: GPS data processed {"connection_id":142103,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:17:02] local.INFO: Acknowledgment sent {"connection_id":142103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:17:06] local.INFO: TCP Data received {"connection_id":142103,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9873d5a0012da9270005f792b0001400bc2b..."} 
[2026-07-25 14:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9873d5a0012da9270005f792b0001400bc2b..."} 
[2026-07-25 14:17:06] local.INFO: Processing buffer {"connection_id":142103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9873d5a0012da9270005f792b0001400bc2b..."} 
[2026-07-25 14:17:06] local.INFO: Packet analysis {"connection_id":142103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:17:06] local.INFO: Extracted packet for processing {"connection_id":142103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9873"} 
[2026-07-25 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":766060288,"raw_latitude":100111024,"longitude_deg":76.6060288,"latitude_deg":10.0111024,"altitude":20,"angle":188,"satellites":43,"speed":0,"hex_longitude":"2da92700","hex_latitude":"05f792b0","is_valid_coordinates":true} 
[2026-07-25 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952098560001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766244566302720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258033131579592704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784969156000,"timestamp_ms":1784969156000,"timestamp_seconds":1784969156,"priority":1,"record_length":96,"hex_timestamp":"0000019f9873d5a0"} 
[2026-07-25 14:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 14:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952098560001,"66":27876,"207":206,"88":19456,"24":0,"16":357766244566302720,"45":-6258033131579592704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,88,24,16,45]} 
[2026-07-25 14:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952098560001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:17:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 14:17:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766244566302720,"km_value":357766244566302.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258033131579592704,"description":"Unknown IO ID 45"} 
[2026-07-25 14:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952098560001,"power":27876,"unknown_207":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6258033131579592704}} 
[2026-07-25 14:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":142103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:17:06] local.INFO: GPS data processed {"connection_id":142103,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:17:06] local.INFO: Acknowledgment sent {"connection_id":142103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:17:27] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9874fe80012d198540071ff0f80039005113..."} 
[2026-07-25 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9874fe80012d198540071ff0f80039005113..."} 
[2026-07-25 14:17:27] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9874fe80012d198540071ff0f80039005113..."} 
[2026-07-25 14:17:27] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:17:27] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533816,"longitude_deg":75.6647232,"latitude_deg":11.9533816,"altitude":57,"angle":81,"satellites":19,"speed":17,"hex_longitude":"2d198540","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-07-25 14:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952122880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755063199629312,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837890891032817664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784969232000,"timestamp_ms":1784969232000,"timestamp_seconds":1784969232,"priority":1,"record_length":96,"hex_timestamp":"0000019f9874fe80"} 
[2026-07-25 14:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-25 14:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952122880001,"66":13928,"102":206,"83":41984,"24":17,"16":8755063199629312,"45":1837890891032817664},"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-07-25 14:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952122880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755063199629312,"km_value":8755063199629.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837890891032817664,"description":"Unknown IO ID 45"} 
[2026-07-25 14:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952122880001,"power":13928,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1837890891032817664}} 
[2026-07-25 14:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:17:27] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:17:27] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:17:37] local.INFO: TCP Data received {"connection_id":142103,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987427a8012da922c005f778e0001c00ba2f..."} 
[2026-07-25 14:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987427a8012da922c005f778e0001c00ba2f..."} 
[2026-07-25 14:17:37] local.INFO: Processing buffer {"connection_id":142103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987427a8012da922c005f778e0001c00ba2f..."} 
[2026-07-25 14:17:37] local.INFO: Packet analysis {"connection_id":142103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:17:37] local.INFO: Extracted packet for processing {"connection_id":142103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":766059200,"raw_latitude":100104416,"longitude_deg":76.60592,"latitude_deg":10.0104416,"altitude":28,"angle":186,"satellites":47,"speed":24,"hex_longitude":"2da922c0","hex_latitude":"05f778e0","is_valid_coordinates":true} 
[2026-07-25 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952103936001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357766570983817216,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258033131579592704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784969177000,"timestamp_ms":1784969177000,"timestamp_seconds":1784969177,"priority":1,"record_length":96,"hex_timestamp":"0000019f987427a8"} 
[2026-07-25 14:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 14:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952103936001,"66":27843,"206":206,"88":19456,"24":24,"16":357766570983817216,"45":-6258033131579592704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-25 14:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952103936001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:17:37] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 14:17:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357766570983817216,"km_value":357766570983817.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258033131579592704,"description":"Unknown IO ID 45"} 
[2026-07-25 14:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952103936001,"power":27843,"unknown_206":206,"unknown_88":19456,"ignition":24,"odometer":null,"unknown_45":-6258033131579592704}} 
[2026-07-25 14:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":142103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:17:37] local.INFO: GPS data processed {"connection_id":142103,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:17:37] local.INFO: Acknowledgment sent {"connection_id":142103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:17:53] local.INFO: TCP Data received {"connection_id":142104,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:53] local.INFO: Processing buffer {"connection_id":142104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:53] local.INFO: IMEI packet received {"connection_id":142104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":142104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:17:55] local.INFO: TCP Data received {"connection_id":142104,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:55] local.INFO: Processing buffer {"connection_id":142104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:17:55] local.INFO: IMEI packet received {"connection_id":142104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":142104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:17:58] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98758f08012d19ce00071ffa180032002713..."} 
[2026-07-25 14:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98758f08012d19ce00071ffa180032002713..."} 
[2026-07-25 14:17:58] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98758f08012d19ce00071ffa180032002713..."} 
[2026-07-25 14:17:58] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:17:58] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119536152,"longitude_deg":75.6665856,"latitude_deg":11.9536152,"altitude":50,"angle":39,"satellites":19,"speed":23,"hex_longitude":"2d19ce00","hex_latitude":"071ffa18","is_valid_coordinates":true} 
[2026-07-25 14:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952132608001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8756008092434432,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251775021056,"note":"Value kept but may cause issues"} 
[2026-07-25 14:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784969269000,"timestamp_ms":1784969269000,"timestamp_seconds":1784969269,"priority":1,"record_length":96,"hex_timestamp":"0000019f98758f08"} 
[2026-07-25 14:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-25 14:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:17:58] 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-07-25 14:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952132608001,"66":13537,"102":206,"83":41984,"24":23,"16":8756008092434432,"45":1859142251775021056},"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-07-25 14:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952132608001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:17:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8756008092434432,"km_value":8756008092434.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251775021056,"description":"Unknown IO ID 45"} 
[2026-07-25 14:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952132608001,"power":13537,"unknown_102":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1859142251775021056}} 
[2026-07-25 14:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:17:58] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:17:58] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:18:00] local.INFO: TCP Data received {"connection_id":142104,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:18:00] local.INFO: Processing buffer {"connection_id":142104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:18:00] local.INFO: IMEI packet received {"connection_id":142104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":142104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:18:01] local.INFO: TCP Data received {"connection_id":142104,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98745688012da91dc005f755f0001900bb2e..."} 
[2026-07-25 14:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98745688012da91dc005f755f0001900bb2e..."} 
[2026-07-25 14:18:01] local.INFO: Processing buffer {"connection_id":142104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98745688012da91dc005f755f0001900bb2e..."} 
[2026-07-25 14:18:01] local.INFO: Packet analysis {"connection_id":142104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:18:01] local.INFO: Extracted packet for processing {"connection_id":142104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:18:01] local.INFO: GPS Element Parsed {"raw_longitude":766057920,"raw_latitude":100095472,"longitude_deg":76.605792,"latitude_deg":10.0095472,"altitude":25,"angle":187,"satellites":46,"speed":31,"hex_longitude":"2da91dc0","hex_latitude":"05f755f0","is_valid_coordinates":true} 
[2026-07-25 14:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952109312001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357767009070481408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6259229400232304640,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969189000,"timestamp_ms":1784969189000,"timestamp_seconds":1784969189,"priority":1,"record_length":96,"hex_timestamp":"0000019f98745688"} 
[2026-07-25 14:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 14:18: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-07-25 14:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952109312001,"66":27821,"206":206,"88":19456,"24":31,"16":357767009070481408,"45":-6259229400232304640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-25 14:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952109312001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357767009070481408,"km_value":357767009070481.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6259229400232304640,"description":"Unknown IO ID 45"} 
[2026-07-25 14:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952109312001,"power":27821,"unknown_206":206,"unknown_88":19456,"ignition":31,"odometer":null,"unknown_45":-6259229400232304640}} 
[2026-07-25 14:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":142104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:18:01] local.INFO: GPS data processed {"connection_id":142104,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:18:01] local.INFO: Acknowledgment sent {"connection_id":142104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:18:29] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987596d8012d19d240071ffd300033003513..."} 
[2026-07-25 14:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987596d8012d19d240071ffd300033003513..."} 
[2026-07-25 14:18:29] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987596d8012d19d240071ffd300033003513..."} 
[2026-07-25 14:18:29] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:18:29] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119536944,"longitude_deg":75.6666944,"latitude_deg":11.9536944,"altitude":51,"angle":53,"satellites":19,"speed":27,"hex_longitude":"2d19d240","hex_latitude":"071ffd30","is_valid_coordinates":true} 
[2026-07-25 14:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952132864001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8756072516943872,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726751848448,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784969271000,"timestamp_ms":1784969271000,"timestamp_seconds":1784969271,"priority":1,"record_length":96,"hex_timestamp":"0000019f987596d8"} 
[2026-07-25 14:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-25 14:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:18:29] 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-07-25 14:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952132864001,"66":14265,"102":206,"83":41984,"24":27,"16":8756072516943872,"45":1859423726751848448},"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-07-25 14:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952132864001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:18:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 14:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8756072516943872,"km_value":8756072516943.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726751848448,"description":"Unknown IO ID 45"} 
[2026-07-25 14:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952132864001,"power":14265,"unknown_102":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1859423726751848448}} 
[2026-07-25 14:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:18:29] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:18:29] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:18:32] local.INFO: TCP Data received {"connection_id":142104,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98748568012da9158005f732e0001600c62b..."} 
[2026-07-25 14:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98748568012da9158005f732e0001600c62b..."} 
[2026-07-25 14:18:32] local.INFO: Processing buffer {"connection_id":142104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98748568012da9158005f732e0001600c62b..."} 
[2026-07-25 14:18:32] local.INFO: Packet analysis {"connection_id":142104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:18:32] local.INFO: Extracted packet for processing {"connection_id":142104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9874"} 
[2026-07-25 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":766055808,"raw_latitude":100086496,"longitude_deg":76.6055808,"latitude_deg":10.0086496,"altitude":22,"angle":198,"satellites":43,"speed":32,"hex_longitude":"2da91580","hex_latitude":"05f732e0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952112384001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357767455747080192,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6260636775118147584,"note":"Value kept but may cause issues"} 
[2026-07-25 14:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969201000,"timestamp_ms":1784969201000,"timestamp_seconds":1784969201,"priority":1,"record_length":96,"hex_timestamp":"0000019f98748568"} 
[2026-07-25 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-07-25 14:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 14:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952112384001,"66":27930,"206":206,"88":19456,"24":32,"16":357767455747080192,"45":-6260636775118147584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-25 14:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952112384001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357767455747080192,"km_value":357767455747080.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6260636775118147584,"description":"Unknown IO ID 45"} 
[2026-07-25 14:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952112384001,"power":27930,"unknown_206":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6260636775118147584}} 
[2026-07-25 14:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":142104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:18:32] local.INFO: GPS data processed {"connection_id":142104,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:18:32] local.INFO: Acknowledgment sent {"connection_id":142104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:18:52] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:52] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:52] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:18:55] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:55] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:55] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:18:55] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:55] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:55] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:18:56] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:18:56] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:18:56] local.INFO: IMEI packet received {"connection_id":143475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":143475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:18:59] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:59] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:18:59] local.INFO: IMEI packet received {"connection_id":141069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":141069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:19:00] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98764a88012d19b4c007206c28002e015113..."} 
[2026-07-25 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98764a88012d19b4c007206c28002e015113..."} 
[2026-07-25 14:19:00] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98764a88012d19b4c007206c28002e015113..."} 
[2026-07-25 14:19:00] local.INFO: Packet analysis {"connection_id":141069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:19:00] local.INFO: Extracted packet for processing {"connection_id":141069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756659392,"raw_latitude":119565352,"longitude_deg":75.6659392,"latitude_deg":11.9565352,"altitude":46,"angle":337,"satellites":19,"speed":42,"hex_longitude":"2d19b4c0","hex_latitude":"07206c28","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952143104001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8757665949810688,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227223001088,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784969317000,"timestamp_ms":1784969317000,"timestamp_seconds":1784969317,"priority":1,"record_length":96,"hex_timestamp":"0000019f98764a88"} 
[2026-07-25 14:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-25 14:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952143104001,"66":14265,"101":206,"83":41984,"24":42,"16":8757665949810688,"45":1853794227223001088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 14:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952143104001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:19:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 14:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8757665949810688,"km_value":8757665949810.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227223001088,"description":"Unknown IO ID 45"} 
[2026-07-25 14:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952143104001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1853794227223001088}} 
[2026-07-25 14:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":141069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:19:00] local.INFO: GPS data processed {"connection_id":141069,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:19:00] local.INFO: Acknowledgment sent {"connection_id":141069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:19:00] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:00] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:00] local.INFO: IMEI packet received {"connection_id":143475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":143475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:19:01] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98759ac0012da8abc005f64d60001300ce2a..."} 
[2026-07-25 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98759ac0012da8abc005f64d60001300ce2a..."} 
[2026-07-25 14:19:01] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98759ac0012da8abc005f64d60001300ce2a..."} 
[2026-07-25 14:19:01] local.INFO: Packet analysis {"connection_id":143475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:19:01] local.INFO: Extracted packet for processing {"connection_id":143475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":766028736,"raw_latitude":100027744,"longitude_deg":76.6028736,"latitude_deg":10.0027744,"altitude":19,"angle":206,"satellites":42,"speed":37,"hex_longitude":"2da8abc0","hex_latitude":"05f64d60","is_valid_coordinates":true} 
[2026-07-25 14:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952131328001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357770642612813824,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6288573166571741184,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969272000,"timestamp_ms":1784969272000,"timestamp_seconds":1784969272,"priority":1,"record_length":96,"hex_timestamp":"0000019f98759ac0"} 
[2026-07-25 14:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952131328001,"66":27876,"206":206,"88":19456,"24":37,"16":357770642612813824,"45":-6288573166571741184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-25 14:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952131328001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:19:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 14:19:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357770642612813824,"km_value":357770642612813.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6288573166571741184,"description":"Unknown IO ID 45"} 
[2026-07-25 14:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952131328001,"power":27876,"unknown_206":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6288573166571741184}} 
[2026-07-25 14:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":143475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:19:01] local.INFO: GPS data processed {"connection_id":143475,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:19:01] local.INFO: Acknowledgment sent {"connection_id":143475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:19:15] local.INFO: TCP Data received {"connection_id":142105,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:19:15] local.INFO: Processing buffer {"connection_id":142105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:19:15] local.INFO: IMEI packet received {"connection_id":142105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":142105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:19:31] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98766db0012d19aa0007208e980030016013..."} 
[2026-07-25 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98766db0012d19aa0007208e980030016013..."} 
[2026-07-25 14:19:31] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98766db0012d19aa0007208e980030016013..."} 
[2026-07-25 14:19:31] local.INFO: Packet analysis {"connection_id":141069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:19:31] local.INFO: Extracted packet for processing {"connection_id":141069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119574168,"longitude_deg":75.665664,"latitude_deg":11.9574168,"altitude":48,"angle":352,"satellites":19,"speed":36,"hex_longitude":"2d19aa00","hex_latitude":"07208e98","is_valid_coordinates":true} 
[2026-07-25 14:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952145152001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8758116921376768,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852316483597379584,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784969326000,"timestamp_ms":1784969326000,"timestamp_seconds":1784969326,"priority":1,"record_length":96,"hex_timestamp":"0000019f98766db0"} 
[2026-07-25 14:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 14:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:19:31] 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-07-25 14:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952145152001,"66":14298,"103":206,"83":41984,"24":36,"16":8758116921376768,"45":1852316483597379584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 14:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952145152001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8758116921376768,"km_value":8758116921376.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852316483597379584,"description":"Unknown IO ID 45"} 
[2026-07-25 14:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952145152001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1852316483597379584}} 
[2026-07-25 14:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":141069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:19:31] local.INFO: GPS data processed {"connection_id":141069,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:19:31] local.INFO: Acknowledgment sent {"connection_id":141069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:19:32] local.INFO: TCP Data received {"connection_id":143475,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9875a678012da8a64005f64490001200d92b..."} 
[2026-07-25 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9875a678012da8a64005f64490001200d92b..."} 
[2026-07-25 14:19:32] local.INFO: Processing buffer {"connection_id":143475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9875a678012da8a64005f64490001200d92b..."} 
[2026-07-25 14:19:32] local.INFO: Packet analysis {"connection_id":143475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:19:32] local.INFO: Extracted packet for processing {"connection_id":143475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9875"} 
[2026-07-25 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":766027328,"raw_latitude":100025488,"longitude_deg":76.6027328,"latitude_deg":10.0025488,"altitude":18,"angle":217,"satellites":43,"speed":32,"hex_longitude":"2da8a640","hex_latitude":"05f64490","is_valid_coordinates":true} 
[2026-07-25 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952133632001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357770771461832704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6292724922480500736,"note":"Value kept but may cause issues"} 
[2026-07-25 14:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969275000,"timestamp_ms":1784969275000,"timestamp_seconds":1784969275,"priority":1,"record_length":96,"hex_timestamp":"0000019f9875a678"} 
[2026-07-25 14:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 14:19: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-07-25 14:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952133632001,"66":27321,"206":206,"88":19456,"24":32,"16":357770771461832704,"45":-6292724922480500736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,88,24,16,45]} 
[2026-07-25 14:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952133632001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:19:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 14:19:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357770771461832704,"km_value":357770771461832.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6292724922480500736,"description":"Unknown IO ID 45"} 
[2026-07-25 14:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952133632001,"power":27321,"unknown_206":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6292724922480500736}} 
[2026-07-25 14:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":143475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:19:32] local.INFO: GPS data processed {"connection_id":143475,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:19:32] local.INFO: Acknowledgment sent {"connection_id":143475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:19:54] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:54] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:54] local.INFO: IMEI packet received {"connection_id":142106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":142106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:19:55] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:55] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:55] local.INFO: IMEI packet received {"connection_id":142106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":142106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:19:57] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:57] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:19:57] local.INFO: IMEI packet received {"connection_id":142106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":142106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:20:00] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:20:00] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:20:00] local.INFO: IMEI packet received {"connection_id":142106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:20:01] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98768520012da8270005f5c668001000af2d..."} 
[2026-07-25 14:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98768520012da8270005f5c668001000af2d..."} 
[2026-07-25 14:20:01] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98768520012da8270005f5c668001000af2d..."} 
[2026-07-25 14:20:01] local.INFO: Packet analysis {"connection_id":142106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:20:01] local.INFO: Extracted packet for processing {"connection_id":142106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":765994752,"raw_latitude":99993192,"longitude_deg":76.5994752,"latitude_deg":9.9993192,"altitude":16,"angle":175,"satellites":45,"speed":43,"hex_longitude":"2da82700","hex_latitude":"05f5c668","is_valid_coordinates":true} 
[2026-07-25 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952147712001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357773241068027904,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6329879619413798912,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969332000,"timestamp_ms":1784969332000,"timestamp_seconds":1784969332,"priority":1,"record_length":96,"hex_timestamp":"0000019f98768520"} 
[2026-07-25 14:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 14:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952147712001,"66":28028,"36":206,"88":19456,"24":43,"16":357773241068027904,"45":-6329879619413798912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-07-25 14:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952147712001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:20:01] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 14:20:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357773241068027904,"km_value":357773241068027.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6329879619413798912,"description":"Unknown IO ID 45"} 
[2026-07-25 14:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952147712001,"power":28028,"unknown_36":206,"unknown_88":19456,"ignition":43,"odometer":null,"unknown_45":-6329879619413798912}} 
[2026-07-25 14:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":142106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:20:01] local.INFO: GPS data processed {"connection_id":142106,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:20:01] local.INFO: Acknowledgment sent {"connection_id":142106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:20:02] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987734e8012d193d800720b0f80039012912..."} 
[2026-07-25 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987734e8012d193d800720b0f80039012912..."} 
[2026-07-25 14:20:02] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987734e8012d193d800720b0f80039012912..."} 
[2026-07-25 14:20:02] local.INFO: Packet analysis {"connection_id":141069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9877"} 
[2026-07-25 14:20:02] local.INFO: Extracted packet for processing {"connection_id":141069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9877"} 
[2026-07-25 14:20:02] local.INFO: GPS Element Parsed {"raw_longitude":756628864,"raw_latitude":119582968,"longitude_deg":75.6628864,"latitude_deg":11.9582968,"altitude":57,"angle":297,"satellites":18,"speed":39,"hex_longitude":"2d193d80","hex_latitude":"0720b0f8","is_valid_coordinates":true} 
[2026-07-25 14:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952159488001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8760045361692672,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822972717279444992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784969377000,"timestamp_ms":1784969377000,"timestamp_seconds":1784969377,"priority":1,"record_length":96,"hex_timestamp":"0000019f987734e8"} 
[2026-07-25 14:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 14:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:20:02] 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-07-25 14:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952159488001,"66":14363,"103":206,"83":41984,"24":39,"16":8760045361692672,"45":1822972717279444992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 14:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952159488001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:20:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 14:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8760045361692672,"km_value":8760045361692.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822972717279444992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952159488001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1822972717279444992}} 
[2026-07-25 14:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":141069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:20:02] local.INFO: GPS data processed {"connection_id":141069,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:20:02] local.INFO: Acknowledgment sent {"connection_id":141069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:20:06] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98768cf0012da8284005f5be58001100a32f..."} 
[2026-07-25 14:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98768cf0012da8284005f5be58001100a32f..."} 
[2026-07-25 14:20:06] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98768cf0012da8284005f5be58001100a32f..."} 
[2026-07-25 14:20:06] local.INFO: Packet analysis {"connection_id":142106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:20:06] local.INFO: Extracted packet for processing {"connection_id":142106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":765995072,"raw_latitude":99991128,"longitude_deg":76.5995072,"latitude_deg":9.9991128,"altitude":17,"angle":163,"satellites":47,"speed":40,"hex_longitude":"2da82840","hex_latitude":"05f5be58","is_valid_coordinates":true} 
[2026-07-25 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952148992001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357773339852275712,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330090725647685632,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784969334000,"timestamp_ms":1784969334000,"timestamp_seconds":1784969334,"priority":1,"record_length":96,"hex_timestamp":"0000019f98768cf0"} 
[2026-07-25 14:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952148992001,"66":27919,"36":206,"88":19456,"24":40,"16":357773339852275712,"45":-6330090725647685632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-07-25 14:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952148992001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:20:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 14:20:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357773339852275712,"km_value":357773339852275.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330090725647685632,"description":"Unknown IO ID 45"} 
[2026-07-25 14:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952148992001,"power":27919,"unknown_36":206,"unknown_88":19456,"ignition":40,"odometer":null,"unknown_45":-6330090725647685632}} 
[2026-07-25 14:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":142106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:20:06] local.INFO: GPS data processed {"connection_id":142106,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:20:06] local.INFO: Acknowledgment sent {"connection_id":142106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:20:33] local.INFO: TCP Data received {"connection_id":141069,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98775bf8012d191b000720c1480035012213..."} 
[2026-07-25 14:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98775bf8012d191b000720c1480035012213..."} 
[2026-07-25 14:20:33] local.INFO: Processing buffer {"connection_id":141069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98775bf8012d191b000720c1480035012213..."} 
[2026-07-25 14:20:33] local.INFO: Packet analysis {"connection_id":141069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9877"} 
[2026-07-25 14:20:33] local.INFO: Extracted packet for processing {"connection_id":141069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9877"} 
[2026-07-25 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756620032,"raw_latitude":119587144,"longitude_deg":75.6620032,"latitude_deg":11.9587144,"altitude":53,"angle":290,"satellites":19,"speed":38,"hex_longitude":"2d191b00","hex_latitude":"0720c148","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952160512001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8760513513127936,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818750592629143552,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784969387000,"timestamp_ms":1784969387000,"timestamp_seconds":1784969387,"priority":1,"record_length":96,"hex_timestamp":"0000019f98775bf8"} 
[2026-07-25 14:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 14:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:20:33] 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-07-25 14:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952160512001,"66":14374,"103":206,"83":41984,"24":38,"16":8760513513127936,"45":1818750592629143552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 14:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952160512001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:20:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 14:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8760513513127936,"km_value":8760513513127.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818750592629143552,"description":"Unknown IO ID 45"} 
[2026-07-25 14:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952160512001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1818750592629143552}} 
[2026-07-25 14:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":141069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:20:33] local.INFO: GPS data processed {"connection_id":141069,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:20:33] local.INFO: Acknowledgment sent {"connection_id":141069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:20:37] local.INFO: TCP Data received {"connection_id":142106,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9876ac30012da8314005f5a158001300b02f..."} 
[2026-07-25 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9876ac30012da8314005f5a158001300b02f..."} 
[2026-07-25 14:20:37] local.INFO: Processing buffer {"connection_id":142106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9876ac30012da8314005f5a158001300b02f..."} 
[2026-07-25 14:20:37] local.INFO: Packet analysis {"connection_id":142106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:20:37] local.INFO: Extracted packet for processing {"connection_id":142106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":765997376,"raw_latitude":99983704,"longitude_deg":76.5997376,"latitude_deg":9.9983704,"altitude":19,"angle":176,"satellites":47,"speed":32,"hex_longitude":"2da83140","hex_latitude":"05f5a158","is_valid_coordinates":true} 
[2026-07-25 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952149504001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357773717809397760,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6329738881927325696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784969342000,"timestamp_ms":1784969342000,"timestamp_seconds":1784969342,"priority":1,"record_length":96,"hex_timestamp":"0000019f9876ac30"} 
[2026-07-25 14:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 14:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952149504001,"66":27995,"36":206,"88":19456,"24":32,"16":357773717809397760,"45":-6329738881927325696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-07-25 14:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952149504001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:20:37] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 14:20:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357773717809397760,"km_value":357773717809397.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6329738881927325696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952149504001,"power":27995,"unknown_36":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6329738881927325696}} 
[2026-07-25 14:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":142106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:20:37] local.INFO: GPS data processed {"connection_id":142106,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:20:37] local.INFO: Acknowledgment sent {"connection_id":142106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:20:53] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:53] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:53] local.INFO: IMEI packet received {"connection_id":143476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":143476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:20:54] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:54] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:54] local.INFO: IMEI packet received {"connection_id":143476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":143476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:20:54] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:54] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:54] local.INFO: IMEI packet received {"connection_id":143476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":143476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:20:55] local.INFO: TCP Data received {"connection_id":143476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:55] local.INFO: Processing buffer {"connection_id":143476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:20:55] local.INFO: IMEI packet received {"connection_id":143476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":143476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:21:01] local.INFO: TCP Data received {"connection_id":143477,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:01] local.INFO: Processing buffer {"connection_id":143477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:01] local.INFO: IMEI packet received {"connection_id":143477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":143477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:21:01] local.INFO: TCP Data received {"connection_id":143477,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:01] local.INFO: Processing buffer {"connection_id":143477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:01] local.INFO: IMEI packet received {"connection_id":143477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":143477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:21:02] local.INFO: TCP Data received {"connection_id":143477,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9876b400012da830c005f59b80001300c130..."} 
[2026-07-25 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9876b400012da830c005f59b80001300c130..."} 
[2026-07-25 14:21:02] local.INFO: Processing buffer {"connection_id":143477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9876b400012da830c005f59b80001300c130..."} 
[2026-07-25 14:21:02] local.INFO: Packet analysis {"connection_id":143477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:21:02] local.INFO: Extracted packet for processing {"connection_id":143477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":765997248,"raw_latitude":99982208,"longitude_deg":76.5997248,"latitude_deg":9.9982208,"altitude":19,"angle":193,"satellites":48,"speed":29,"hex_longitude":"2da830c0","hex_latitude":"05f59b80","is_valid_coordinates":true} 
[2026-07-25 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952151552001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357773790823841792,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6327205607138830336,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784969344000,"timestamp_ms":1784969344000,"timestamp_seconds":1784969344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9876b400"} 
[2026-07-25 14:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952151552001,"66":27745,"36":206,"88":19456,"24":29,"16":357773790823841792,"45":-6327205607138830336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-07-25 14:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952151552001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357773790823841792,"km_value":357773790823841.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6327205607138830336,"description":"Unknown IO ID 45"} 
[2026-07-25 14:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952151552001,"power":27745,"unknown_36":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6327205607138830336}} 
[2026-07-25 14:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":143477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:21:02] local.INFO: GPS data processed {"connection_id":143477,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:21:02] local.INFO: Acknowledgment sent {"connection_id":143477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:21:06] local.INFO: TCP Data received {"connection_id":143477,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9876c3a0012da82d4005f590c0001300cd2e..."} 
[2026-07-25 14:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9876c3a0012da82d4005f590c0001300cd2e..."} 
[2026-07-25 14:21:06] local.INFO: Processing buffer {"connection_id":143477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9876c3a0012da82d4005f590c0001300cd2e..."} 
[2026-07-25 14:21:06] local.INFO: Packet analysis {"connection_id":143477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:21:06] local.INFO: Extracted packet for processing {"connection_id":143477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9876"} 
[2026-07-25 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":765996352,"raw_latitude":99979456,"longitude_deg":76.5996352,"latitude_deg":9.9979456,"altitude":19,"angle":205,"satellites":46,"speed":28,"hex_longitude":"2da82d40","hex_latitude":"05f590c0","is_valid_coordinates":true} 
[2026-07-25 14:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952152064001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357773932557762560,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6327346344627568640,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784969348000,"timestamp_ms":1784969348000,"timestamp_seconds":1784969348,"priority":1,"record_length":96,"hex_timestamp":"0000019f9876c3a0"} 
[2026-07-25 14:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 14:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952152064001,"66":28006,"36":206,"88":19456,"24":28,"16":357773932557762560,"45":-6327346344627568640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,88,24,16,45]} 
[2026-07-25 14:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952152064001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:21:06] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 14:21:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357773932557762560,"km_value":357773932557762.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6327346344627568640,"description":"Unknown IO ID 45"} 
[2026-07-25 14:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952152064001,"power":28006,"unknown_36":206,"unknown_88":19456,"ignition":28,"odometer":null,"unknown_45":-6327346344627568640}} 
[2026-07-25 14:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:21:06] local.INFO: GPS data processed {"connection_id":143477,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:21:06] local.INFO: Acknowledgment sent {"connection_id":143477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:21:47] local.INFO: TCP Data received {"connection_id":143477,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98780fa8012da75cc005f565b8001800e32d..."} 
[2026-07-25 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98780fa8012da75cc005f565b8001800e32d..."} 
[2026-07-25 14:21:47] local.INFO: Processing buffer {"connection_id":143477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98780fa8012da75cc005f565b8001800e32d..."} 
[2026-07-25 14:21:47] local.INFO: Packet analysis {"connection_id":143477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:21:47] local.INFO: Extracted packet for processing {"connection_id":143477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":765942976,"raw_latitude":99968440,"longitude_deg":76.5942976,"latitude_deg":9.996844,"altitude":24,"angle":227,"satellites":45,"speed":31,"hex_longitude":"2da75cc0","hex_latitude":"05f565b8","is_valid_coordinates":true} 
[2026-07-25 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952174336001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357776664156962816,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6385682033554147328,"note":"Value kept but may cause issues"} 
[2026-07-25 14:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784969433000,"timestamp_ms":1784969433000,"timestamp_seconds":1784969433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98780fa8"} 
[2026-07-25 14:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 14:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952174336001,"66":27974,"38":206,"88":19456,"24":31,"16":357776664156962816,"45":-6385682033554147328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,88,24,16,45]} 
[2026-07-25 14:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952174336001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357776664156962816,"km_value":357776664156962.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6385682033554147328,"description":"Unknown IO ID 45"} 
[2026-07-25 14:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952174336001,"power":27974,"unknown_38":206,"unknown_88":19456,"ignition":31,"odometer":null,"unknown_45":-6385682033554147328}} 
[2026-07-25 14:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":143477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:21:47] local.INFO: GPS data processed {"connection_id":143477,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:21:47] local.INFO: Acknowledgment sent {"connection_id":143477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:21:53] local.INFO: TCP Data received {"connection_id":142107,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:53] local.INFO: Processing buffer {"connection_id":142107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:53] local.INFO: IMEI packet received {"connection_id":142107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":142107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:21:55] local.INFO: TCP Data received {"connection_id":142107,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:55] local.INFO: Processing buffer {"connection_id":142107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:55] local.INFO: IMEI packet received {"connection_id":142107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":142107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:21:59] local.INFO: TCP Data received {"connection_id":142107,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:59] local.INFO: Processing buffer {"connection_id":142107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:21:59] local.INFO: IMEI packet received {"connection_id":142107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":142107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:22:00] local.INFO: TCP Data received {"connection_id":142107,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98783aa0012da741c005f54bc0001900e62e..."} 
[2026-07-25 14:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98783aa0012da741c005f54bc0001900e62e..."} 
[2026-07-25 14:22:00] local.INFO: Processing buffer {"connection_id":142107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98783aa0012da741c005f54bc0001900e62e..."} 
[2026-07-25 14:22:00] local.INFO: Packet analysis {"connection_id":142107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:22:00] local.INFO: Extracted packet for processing {"connection_id":142107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:22:00] local.INFO: GPS Element Parsed {"raw_longitude":765936064,"raw_latitude":99961792,"longitude_deg":76.5936064,"latitude_deg":9.9961792,"altitude":25,"angle":230,"satellites":46,"speed":37,"hex_longitude":"2da741c0","hex_latitude":"05f54bc0","is_valid_coordinates":true} 
[2026-07-25 14:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952174848001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357777128013430784,"note":"Value kept but may cause issues"} 
[2026-07-25 14:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6387019039693752320,"note":"Value kept but may cause issues"} 
[2026-07-25 14:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784969444000,"timestamp_ms":1784969444000,"timestamp_seconds":1784969444,"priority":1,"record_length":96,"hex_timestamp":"0000019f98783aa0"} 
[2026-07-25 14:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 14:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952174848001,"66":27995,"38":206,"88":19456,"24":37,"16":357777128013430784,"45":-6387019039693752320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,88,24,16,45]} 
[2026-07-25 14:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952174848001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:22:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 14:22:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357777128013430784,"km_value":357777128013430.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6387019039693752320,"description":"Unknown IO ID 45"} 
[2026-07-25 14:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952174848001,"power":27995,"unknown_38":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6387019039693752320}} 
[2026-07-25 14:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":142107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:22:00] local.INFO: GPS data processed {"connection_id":142107,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:22:00] local.INFO: Acknowledgment sent {"connection_id":142107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:22:31] local.INFO: TCP Data received {"connection_id":142107,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98784e28012da7328005f541c0001900f22b..."} 
[2026-07-25 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98784e28012da7328005f541c0001900f22b..."} 
[2026-07-25 14:22:31] local.INFO: Processing buffer {"connection_id":142107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98784e28012da7328005f541c0001900f22b..."} 
[2026-07-25 14:22:31] local.INFO: Packet analysis {"connection_id":142107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:22:31] local.INFO: Extracted packet for processing {"connection_id":142107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":765932160,"raw_latitude":99959232,"longitude_deg":76.593216,"latitude_deg":9.9959232,"altitude":25,"angle":242,"satellites":43,"speed":32,"hex_longitude":"2da73280","hex_latitude":"05f541c0","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952177664001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357777351351730176,"note":"Value kept but may cause issues"} 
[2026-07-25 14:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6394618864066641920,"note":"Value kept but may cause issues"} 
[2026-07-25 14:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784969449000,"timestamp_ms":1784969449000,"timestamp_seconds":1784969449,"priority":1,"record_length":96,"hex_timestamp":"0000019f98784e28"} 
[2026-07-25 14:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952177664001,"66":27919,"38":206,"88":19456,"24":32,"16":357777351351730176,"45":-6394618864066641920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,88,24,16,45]} 
[2026-07-25 14:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952177664001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357777351351730176,"km_value":357777351351730.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6394618864066641920,"description":"Unknown IO ID 45"} 
[2026-07-25 14:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952177664001,"power":27919,"unknown_38":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6394618864066641920}} 
[2026-07-25 14:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":142107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:22:31] local.INFO: GPS data processed {"connection_id":142107,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:22:31] local.INFO: Acknowledgment sent {"connection_id":142107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:22:56] local.INFO: TCP Data received {"connection_id":142108,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:22:56] local.INFO: Processing buffer {"connection_id":142108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:22:56] local.INFO: IMEI packet received {"connection_id":142108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":142108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:23:00] local.INFO: TCP Data received {"connection_id":142108,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:00] local.INFO: Processing buffer {"connection_id":142108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:00] local.INFO: IMEI packet received {"connection_id":142108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":142108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:23:01] local.INFO: TCP Data received {"connection_id":142108,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987880f0012da7120005f53208001600f52d..."} 
[2026-07-25 14:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987880f0012da7120005f53208001600f52d..."} 
[2026-07-25 14:23:01] local.INFO: Processing buffer {"connection_id":142108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987880f0012da7120005f53208001600f52d..."} 
[2026-07-25 14:23:01] local.INFO: Packet analysis {"connection_id":142108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:23:01] local.INFO: Extracted packet for processing {"connection_id":142108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9878"} 
[2026-07-25 14:23:01] local.INFO: GPS Element Parsed {"raw_longitude":765923840,"raw_latitude":99955208,"longitude_deg":76.592384,"latitude_deg":9.9955208,"altitude":22,"angle":245,"satellites":45,"speed":27,"hex_longitude":"2da71200","hex_latitude":"05f53208","is_valid_coordinates":true} 
[2026-07-25 14:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952178944001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357777793733361664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6398911357462134784,"note":"Value kept but may cause issues"} 
[2026-07-25 14:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969462000,"timestamp_ms":1784969462000,"timestamp_seconds":1784969462,"priority":1,"record_length":96,"hex_timestamp":"0000019f987880f0"} 
[2026-07-25 14:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 14:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952178944001,"66":27800,"38":206,"88":19456,"24":27,"16":357777793733361664,"45":-6398911357462134784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,88,24,16,45]} 
[2026-07-25 14:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952178944001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:23:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-25 14:23:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357777793733361664,"km_value":357777793733361.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6398911357462134784,"description":"Unknown IO ID 45"} 
[2026-07-25 14:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952178944001,"power":27800,"unknown_38":206,"unknown_88":19456,"ignition":27,"odometer":null,"unknown_45":-6398911357462134784}} 
[2026-07-25 14:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":142108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:23:01] local.INFO: GPS data processed {"connection_id":142108,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:23:01] local.INFO: Acknowledgment sent {"connection_id":142108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:23:33] local.INFO: TCP Data received {"connection_id":142108,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987a1730012da63e0005f4c7d0001600b92e..."} 
[2026-07-25 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987a1730012da63e0005f4c7d0001600b92e..."} 
[2026-07-25 14:23:33] local.INFO: Processing buffer {"connection_id":142108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987a1730012da63e0005f4c7d0001600b92e..."} 
[2026-07-25 14:23:33] local.INFO: Packet analysis {"connection_id":142108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:23:33] local.INFO: Extracted packet for processing {"connection_id":142108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":765869568,"raw_latitude":99928016,"longitude_deg":76.5869568,"latitude_deg":9.9928016,"altitude":22,"angle":185,"satellites":46,"speed":12,"hex_longitude":"2da63e00","hex_latitude":"05f4c7d0","is_valid_coordinates":true} 
[2026-07-25 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952208640001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357780740080926720,"note":"Value kept but may cause issues"} 
[2026-07-25 14:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6467591251787446272,"note":"Value kept but may cause issues"} 
[2026-07-25 14:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784969566000,"timestamp_ms":1784969566000,"timestamp_seconds":1784969566,"priority":1,"record_length":96,"hex_timestamp":"0000019f987a1730"} 
[2026-07-25 14:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 14:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952208640001,"66":27930,"164":206,"88":19456,"24":12,"16":357780740080926720,"45":-6467591251787446272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-25 14:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952208640001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357780740080926720,"km_value":357780740080926.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6467591251787446272,"description":"Unknown IO ID 45"} 
[2026-07-25 14:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952208640001,"power":27930,"unknown_164":206,"unknown_88":19456,"ignition":12,"odometer":null,"unknown_45":-6467591251787446272}} 
[2026-07-25 14:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":142108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:23:33] local.INFO: GPS data processed {"connection_id":142108,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:23:33] local.INFO: Acknowledgment sent {"connection_id":142108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:23:53] local.INFO: TCP Data received {"connection_id":141133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:53] local.INFO: Processing buffer {"connection_id":141133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:53] local.INFO: IMEI packet received {"connection_id":141133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":141133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:23:55] local.INFO: TCP Data received {"connection_id":141133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:55] local.INFO: Processing buffer {"connection_id":141133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:23:55] local.INFO: IMEI packet received {"connection_id":141133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":141133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:24:00] local.INFO: TCP Data received {"connection_id":141133,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:24:00] local.INFO: Processing buffer {"connection_id":141133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:24:00] local.INFO: IMEI packet received {"connection_id":141133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":141133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:24:01] local.INFO: TCP Data received {"connection_id":141133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987a1b18012da63e0005f4c678001600ac2e..."} 
[2026-07-25 14:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987a1b18012da63e0005f4c678001600ac2e..."} 
[2026-07-25 14:24:01] local.INFO: Processing buffer {"connection_id":141133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987a1b18012da63e0005f4c678001600ac2e..."} 
[2026-07-25 14:24:01] local.INFO: Packet analysis {"connection_id":141133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:24:01] local.INFO: Extracted packet for processing {"connection_id":141133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":765869568,"raw_latitude":99927672,"longitude_deg":76.5869568,"latitude_deg":9.9927672,"altitude":22,"angle":172,"satellites":46,"speed":14,"hex_longitude":"2da63e00","hex_latitude":"05f4c678","is_valid_coordinates":true} 
[2026-07-25 14:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952208896001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357780757260795904,"note":"Value kept but may cause issues"} 
[2026-07-25 14:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6467731989275881472,"note":"Value kept but may cause issues"} 
[2026-07-25 14:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969567000,"timestamp_ms":1784969567000,"timestamp_seconds":1784969567,"priority":1,"record_length":96,"hex_timestamp":"0000019f987a1b18"} 
[2026-07-25 14:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 14:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952208896001,"66":27930,"164":206,"88":19456,"24":14,"16":357780757260795904,"45":-6467731989275881472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-25 14:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952208896001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:24:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-25 14:24:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357780757260795904,"km_value":357780757260795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6467731989275881472,"description":"Unknown IO ID 45"} 
[2026-07-25 14:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952208896001,"power":27930,"unknown_164":206,"unknown_88":19456,"ignition":14,"odometer":null,"unknown_45":-6467731989275881472}} 
[2026-07-25 14:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":141133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:24:01] local.INFO: GPS data processed {"connection_id":141133,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:24:01] local.INFO: Acknowledgment sent {"connection_id":141133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:24:32] local.INFO: TCP Data received {"connection_id":141133,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987a2ab8012da63e8005f4bf80001500b82e..."} 
[2026-07-25 14:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987a2ab8012da63e8005f4bf80001500b82e..."} 
[2026-07-25 14:24:32] local.INFO: Processing buffer {"connection_id":141133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987a2ab8012da63e8005f4bf80001500b82e..."} 
[2026-07-25 14:24:32] local.INFO: Packet analysis {"connection_id":141133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:24:32] local.INFO: Extracted packet for processing {"connection_id":141133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:24:32] local.INFO: GPS Element Parsed {"raw_longitude":765869696,"raw_latitude":99925888,"longitude_deg":76.5869696,"latitude_deg":9.9925888,"altitude":21,"angle":184,"satellites":46,"speed":19,"hex_longitude":"2da63e80","hex_latitude":"05f4bf80","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952209152001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357780843160141824,"note":"Value kept but may cause issues"} 
[2026-07-25 14:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6467731989275969536,"note":"Value kept but may cause issues"} 
[2026-07-25 14:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969571000,"timestamp_ms":1784969571000,"timestamp_seconds":1784969571,"priority":1,"record_length":96,"hex_timestamp":"0000019f987a2ab8"} 
[2026-07-25 14:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 14:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952209152001,"66":27995,"164":206,"88":19456,"24":19,"16":357780843160141824,"45":-6467731989275969536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-25 14:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952209152001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:24:32] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-25 14:24:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357780843160141824,"km_value":357780843160141.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6467731989275969536,"description":"Unknown IO ID 45"} 
[2026-07-25 14:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952209152001,"power":27995,"unknown_164":206,"unknown_88":19456,"ignition":19,"odometer":null,"unknown_45":-6467731989275969536}} 
[2026-07-25 14:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:24:32] local.INFO: GPS data processed {"connection_id":141133,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:24:32] local.INFO: Acknowledgment sent {"connection_id":141133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:24:50] local.INFO: TCP Data received {"connection_id":143479,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:24:50] local.INFO: Processing buffer {"connection_id":143479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:24:50] local.INFO: IMEI packet received {"connection_id":143479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":143479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:24:55] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:24:55] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:24:55] local.INFO: IMEI packet received {"connection_id":143480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":143480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:25:00] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:25:00] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:25:00] local.INFO: IMEI packet received {"connection_id":143480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":143480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:25:02] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987a3e40012da63e8005f4b580001500a62e..."} 
[2026-07-25 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987a3e40012da63e8005f4b580001500a62e..."} 
[2026-07-25 14:25:02] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987a3e40012da63e8005f4b580001500a62e..."} 
[2026-07-25 14:25:02] local.INFO: Packet analysis {"connection_id":143480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:25:02] local.INFO: Extracted packet for processing {"connection_id":143480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987a"} 
[2026-07-25 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":765869696,"raw_latitude":99923328,"longitude_deg":76.5869696,"latitude_deg":9.9923328,"altitude":21,"angle":166,"satellites":46,"speed":21,"hex_longitude":"2da63e80","hex_latitude":"05f4b580","is_valid_coordinates":true} 
[2026-07-25 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952210176001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357780967714193408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6467591251788070912,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784969576000,"timestamp_ms":1784969576000,"timestamp_seconds":1784969576,"priority":1,"record_length":96,"hex_timestamp":"0000019f987a3e40"} 
[2026-07-25 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952210176001,"66":27930,"164":206,"88":19456,"24":21,"16":357780967714193408,"45":-6467591251788070912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-07-25 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952210176001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357780967714193408,"km_value":357780967714193.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6467591251788070912,"description":"Unknown IO ID 45"} 
[2026-07-25 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952210176001,"power":27930,"unknown_164":206,"unknown_88":19456,"ignition":21,"odometer":null,"unknown_45":-6467591251788070912}} 
[2026-07-25 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":143480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:25:02] local.INFO: GPS data processed {"connection_id":143480,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:25:02] local.INFO: Acknowledgment sent {"connection_id":143480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:25:33] local.INFO: TCP Data received {"connection_id":143480,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987bd098012da5d50005f429e0001300f42f..."} 
[2026-07-25 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987bd098012da5d50005f429e0001300f42f..."} 
[2026-07-25 14:25:33] local.INFO: Processing buffer {"connection_id":143480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987bd098012da5d50005f429e0001300f42f..."} 
[2026-07-25 14:25:33] local.INFO: Packet analysis {"connection_id":143480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987b"} 
[2026-07-25 14:25:33] local.INFO: Extracted packet for processing {"connection_id":143480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987b"} 
[2026-07-25 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765842688,"raw_latitude":99887584,"longitude_deg":76.5842688,"latitude_deg":9.9887584,"altitude":19,"angle":244,"satellites":47,"speed":7,"hex_longitude":"2da5d500","hex_latitude":"05f429e0","is_valid_coordinates":true} 
[2026-07-25 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952235776001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783398665682944,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6495316537003538432,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784969679000,"timestamp_ms":1784969679000,"timestamp_seconds":1784969679,"priority":1,"record_length":96,"hex_timestamp":"0000019f987bd098"} 
[2026-07-25 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 14:25: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-07-25 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952235776001,"66":28126,"10":206,"88":19456,"24":7,"16":357783398665682944,"45":-6495316537003538432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952235776001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:25:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:25:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783398665682944,"km_value":357783398665682.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6495316537003538432,"description":"Unknown IO ID 45"} 
[2026-07-25 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952235776001,"power":28126,"unknown_10":206,"unknown_88":19456,"ignition":7,"odometer":null,"unknown_45":-6495316537003538432}} 
[2026-07-25 14:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":143480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:25:33] local.INFO: GPS data processed {"connection_id":143480,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:25:33] local.INFO: Acknowledgment sent {"connection_id":143480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:25:55] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:25:55] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:25:55] local.INFO: IMEI packet received {"connection_id":141135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":141135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:25:56] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:56] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:56] local.INFO: IMEI packet received {"connection_id":141134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":141134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:25:57] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:57] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:57] local.INFO: IMEI packet received {"connection_id":141134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":141134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:25:58] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:58] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:25:58] local.INFO: IMEI packet received {"connection_id":141134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":141134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:25:59] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c1eb8012d18df4007214de00045012e16..."} 
[2026-07-25 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c1eb8012d18df4007214de00045012e16..."} 
[2026-07-25 14:25:59] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c1eb8012d18df4007214de00045012e16..."} 
[2026-07-25 14:25:59] local.INFO: Packet analysis {"connection_id":141134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:25:59] local.INFO: Extracted packet for processing {"connection_id":141134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756604736,"raw_latitude":119623136,"longitude_deg":75.6604736,"latitude_deg":11.9623136,"altitude":69,"angle":302,"satellites":22,"speed":7,"hex_longitude":"2d18df40","hex_latitude":"07214de0","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8764692516306944,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792432682316961792,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784969699000,"timestamp_ms":1784969699000,"timestamp_seconds":1784969699,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c1eb8"} 
[2026-07-25 14:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:25: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-07-25 14: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-25 14:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:25: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-07-25 14:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":14428,"103":206,"83":41984,"24":7,"16":8764692516306944,"45":1792432682316961792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 14:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8764692516306944,"km_value":8764692516306.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792432682316961792,"description":"Unknown IO ID 45"} 
[2026-07-25 14:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1792432682316961792}} 
[2026-07-25 14:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":141134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:25:59] local.INFO: GPS data processed {"connection_id":141134,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:25:59] local.INFO: Acknowledgment sent {"connection_id":141134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:25:59] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c22a0012d18dec007214e800045014716..."} 
[2026-07-25 14:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c22a0012d18dec007214e800045014716..."} 
[2026-07-25 14:25:59] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c22a0012d18dec007214e800045014716..."} 
[2026-07-25 14:25:59] local.INFO: Packet analysis {"connection_id":141134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:25:59] local.INFO: Extracted packet for processing {"connection_id":141134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756604608,"raw_latitude":119623296,"longitude_deg":75.6604608,"latitude_deg":11.9623296,"altitude":69,"angle":327,"satellites":22,"speed":8,"hex_longitude":"2d18dec0","hex_latitude":"07214e80","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242944001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8764701106241536,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792221576084447232,"note":"Value kept but may cause issues"} 
[2026-07-25 14:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784969700000,"timestamp_ms":1784969700000,"timestamp_seconds":1784969700,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c22a0"} 
[2026-07-25 14:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:25: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-07-25 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 14:25: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-07-25 14: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-07-25 14:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:25: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-07-25 14:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242944001,"66":14428,"103":206,"83":41984,"24":8,"16":8764701106241536,"45":1792221576084447232},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 14:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242944001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8764701106241536,"km_value":8764701106241.536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792221576084447232,"description":"Unknown IO ID 45"} 
[2026-07-25 14:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242944001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1792221576084447232}} 
[2026-07-25 14:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":141134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:25:59] local.INFO: GPS data processed {"connection_id":141134,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:25:59] local.INFO: Acknowledgment sent {"connection_id":141134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:26:00] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:26:00] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:26:00] local.INFO: IMEI packet received {"connection_id":141135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":141135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:26:01] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987bdc50012da5d20005f42900001201022f..."} 
[2026-07-25 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987bdc50012da5d20005f42900001201022f..."} 
[2026-07-25 14:26:01] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987bdc50012da5d20005f42900001201022f..."} 
[2026-07-25 14:26:01] local.INFO: Packet analysis {"connection_id":141135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987b"} 
[2026-07-25 14:26:01] local.INFO: Extracted packet for processing {"connection_id":141135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987b"} 
[2026-07-25 14:26:01] local.INFO: GPS Element Parsed {"raw_longitude":765841920,"raw_latitude":99887360,"longitude_deg":76.584192,"latitude_deg":9.988736,"altitude":18,"angle":258,"satellites":47,"speed":12,"hex_longitude":"2da5d200","hex_latitude":"05f42900","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952237824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783437320388608,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6497286861840850944,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969682000,"timestamp_ms":1784969682000,"timestamp_seconds":1784969682,"priority":1,"record_length":96,"hex_timestamp":"0000019f987bdc50"} 
[2026-07-25 14:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 14:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952237824001,"66":27843,"10":206,"88":19456,"24":12,"16":357783437320388608,"45":-6497286861840850944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952237824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:26:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:26:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783437320388608,"km_value":357783437320388.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6497286861840850944,"description":"Unknown IO ID 45"} 
[2026-07-25 14:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952237824001,"power":27843,"unknown_10":206,"unknown_88":19456,"ignition":12,"odometer":null,"unknown_45":-6497286861840850944}} 
[2026-07-25 14:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":141135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:26:01] local.INFO: GPS data processed {"connection_id":141135,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:26:01] local.INFO: Acknowledgment sent {"connection_id":141135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:26:05] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012d18de4007214f700045015416..."} 
[2026-07-25 14:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012d18de4007214f700045015416..."} 
[2026-07-25 14:26:05] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012d18de4007214f700045015416..."} 
[2026-07-25 14:26:05] local.INFO: Packet analysis {"connection_id":141134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:26:05] local.INFO: Extracted packet for processing {"connection_id":141134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:26:05] local.INFO: GPS Element Parsed {"raw_longitude":756604480,"raw_latitude":119623536,"longitude_deg":75.660448,"latitude_deg":11.9623536,"altitude":69,"angle":340,"satellites":22,"speed":11,"hex_longitude":"2d18de40","hex_latitude":"07214f70","is_valid_coordinates":true} 
[2026-07-25 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243200001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8764713991143424,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838596132864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:26:05] 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-07-25 14:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 14:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:26:05] 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-07-25 14:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243200001,"66":13580,"103":206,"83":41984,"24":11,"16":8764713991143424,"45":1792080838596132864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 14:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243200001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:26:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 14:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8764713991143424,"km_value":8764713991143.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838596132864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243200001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1792080838596132864}} 
[2026-07-25 14:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":141134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:26:05] local.INFO: GPS data processed {"connection_id":141134,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:26:05] local.INFO: Acknowledgment sent {"connection_id":141134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:26:33] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c0b30012da5c2c005f427680012010e2f..."} 
[2026-07-25 14:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c0b30012da5c2c005f427680012010e2f..."} 
[2026-07-25 14:26:33] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c0b30012da5c2c005f427680012010e2f..."} 
[2026-07-25 14:26:33] local.INFO: Packet analysis {"connection_id":141135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:26:33] local.INFO: Extracted packet for processing {"connection_id":141135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765838016,"raw_latitude":99886952,"longitude_deg":76.5838016,"latitude_deg":9.9886952,"altitude":18,"angle":270,"satellites":47,"speed":15,"hex_longitude":"2da5c2c0","hex_latitude":"05f42768","is_valid_coordinates":true} 
[2026-07-25 14:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952238592001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783622003982336,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6498131286771040256,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784969694000,"timestamp_ms":1784969694000,"timestamp_seconds":1784969694,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c0b30"} 
[2026-07-25 14:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 14:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952238592001,"66":27919,"10":206,"88":19456,"24":15,"16":357783622003982336,"45":-6498131286771040256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952238592001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:26:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:26:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783622003982336,"km_value":357783622003982.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6498131286771040256,"description":"Unknown IO ID 45"} 
[2026-07-25 14:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952238592001,"power":27919,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6498131286771040256}} 
[2026-07-25 14:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":141135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:26:33] local.INFO: GPS data processed {"connection_id":141135,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:26:33] local.INFO: Acknowledgment sent {"connection_id":141135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:26:35] local.INFO: TCP Data received {"connection_id":141134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f987d5350012d1862c0072183400054011b19..."} 
[2026-07-25 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987d5350012d1862c0072183400054011b19..."} 
[2026-07-25 14:26:35] local.INFO: Processing buffer {"connection_id":141134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987d5350012d1862c0072183400054011b19..."} 
[2026-07-25 14:26:35] local.INFO: Packet analysis {"connection_id":141134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987d"} 
[2026-07-25 14:26:35] local.INFO: Extracted packet for processing {"connection_id":141134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987d"} 
[2026-07-25 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":756572864,"raw_latitude":119636800,"longitude_deg":75.6572864,"latitude_deg":11.96368,"altitude":84,"angle":283,"satellites":25,"speed":33,"hex_longitude":"2d1862c0","hex_latitude":"07218340","is_valid_coordinates":true} 
[2026-07-25 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952261376001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8766474927734784,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207623680,"note":"Value kept but may cause issues"} 
[2026-07-25 14:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784969778000,"timestamp_ms":1784969778000,"timestamp_seconds":1784969778,"priority":1,"record_length":96,"hex_timestamp":"0000019f987d5350"} 
[2026-07-25 14:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 14:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:26:35] 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-07-25 14:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952261376001,"66":14374,"106":206,"83":41984,"24":33,"16":8766474927734784,"45":1763581497207623680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 14:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952261376001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:26:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 14:26:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 14:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8766474927734784,"km_value":8766474927734.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207623680,"description":"Unknown IO ID 45"} 
[2026-07-25 14:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952261376001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1763581497207623680}} 
[2026-07-25 14:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":141134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:26:36] local.INFO: GPS data processed {"connection_id":141134,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:26:36] local.INFO: Acknowledgment sent {"connection_id":141134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:26:53] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:53] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:53] local.INFO: IMEI packet received {"connection_id":141071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":141071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:26:54] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:54] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:54] local.INFO: IMEI packet received {"connection_id":141071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":141071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:26:54] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:54] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:54] local.INFO: IMEI packet received {"connection_id":141071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":141071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:26:56] local.INFO: TCP Data received {"connection_id":141071,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:56] local.INFO: Processing buffer {"connection_id":141071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:26:56] local.INFO: IMEI packet received {"connection_id":141071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":141071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:27:00] local.INFO: TCP Data received {"connection_id":142110,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:00] local.INFO: Processing buffer {"connection_id":142110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:00] local.INFO: IMEI packet received {"connection_id":142110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":142110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:27:05] local.INFO: TCP Data received {"connection_id":142110,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:05] local.INFO: Processing buffer {"connection_id":142110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:05] local.INFO: IMEI packet received {"connection_id":142110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":142110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:27:06] local.INFO: TCP Data received {"connection_id":142110,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c1ad0012da5bc8005f427f0001201112e..."} 
[2026-07-25 14:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c1ad0012da5bc8005f427f0001201112e..."} 
[2026-07-25 14:27:06] local.INFO: Processing buffer {"connection_id":142110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c1ad0012da5bc8005f427f0001201112e..."} 
[2026-07-25 14:27:06] local.INFO: Packet analysis {"connection_id":142110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:27:06] local.INFO: Extracted packet for processing {"connection_id":142110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":765836416,"raw_latitude":99887088,"longitude_deg":76.5836416,"latitude_deg":9.9887088,"altitude":18,"angle":273,"satellites":46,"speed":15,"hex_longitude":"2da5bc80","hex_latitude":"05f427f0","is_valid_coordinates":true} 
[2026-07-25 14:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952241664001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6502423780165982208,"note":"Value kept but may cause issues"} 
[2026-07-25 14:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784969698000,"timestamp_ms":1784969698000,"timestamp_seconds":1784969698,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c1ad0"} 
[2026-07-25 14:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 14:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952241664001,"66":28028,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6502423780165982208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952241664001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:27:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:27:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6502423780165982208,"description":"Unknown IO ID 45"} 
[2026-07-25 14:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952241664001,"power":28028,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6502423780165982208}} 
[2026-07-25 14:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":142110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:27:06] local.INFO: GPS data processed {"connection_id":142110,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:27:06] local.INFO: Acknowledgment sent {"connection_id":142110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:27:11] local.INFO: TCP Data received {"connection_id":142110,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:27:11] local.INFO: Processing buffer {"connection_id":142110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:27:11] local.INFO: Packet analysis {"connection_id":142110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:27:11] local.INFO: Extracted packet for processing {"connection_id":142110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:27:11] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:27:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:27:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":142110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:27:11] local.INFO: GPS data processed {"connection_id":142110,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:27:11] local.INFO: Acknowledgment sent {"connection_id":142110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:27:55] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:55] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:27:55] local.INFO: IMEI packet received {"connection_id":141136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":141136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:28:00] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:28:00] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:28:00] local.INFO: IMEI packet received {"connection_id":141136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:28:01] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:01] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:01] local.INFO: Packet analysis {"connection_id":141136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:28:01] local.INFO: Extracted packet for processing {"connection_id":141136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:28:01] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:28:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:28:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":141136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:28:01] local.INFO: GPS data processed {"connection_id":141136,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:28:01] local.INFO: Acknowledgment sent {"connection_id":141136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:28:06] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:06] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:06] local.INFO: Packet analysis {"connection_id":141136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:28:06] local.INFO: Extracted packet for processing {"connection_id":141136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:28:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:28:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":141136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:28:06] local.INFO: GPS data processed {"connection_id":141136,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:28:06] local.INFO: Acknowledgment sent {"connection_id":141136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:28:37] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:37] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:28:37] local.INFO: Packet analysis {"connection_id":141136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:28:37] local.INFO: Extracted packet for processing {"connection_id":141136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:28:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:28:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":141136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:28:37] local.INFO: GPS data processed {"connection_id":141136,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:28:37] local.INFO: Acknowledgment sent {"connection_id":141136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:28:55] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:28:55] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:28:55] local.INFO: IMEI packet received {"connection_id":141073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":141073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:29:00] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:29:00] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:29:00] local.INFO: IMEI packet received {"connection_id":141073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":141073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:29:01] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:29:01] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:29:01] local.INFO: Packet analysis {"connection_id":141073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:29:01] local.INFO: Extracted packet for processing {"connection_id":141073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:29:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:29:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":141073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:29:01] local.INFO: GPS data processed {"connection_id":141073,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:29:01] local.INFO: Acknowledgment sent {"connection_id":141073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:29:32] local.INFO: TCP Data received {"connection_id":141073,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:29:32] local.INFO: Processing buffer {"connection_id":141073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:29:32] local.INFO: Packet analysis {"connection_id":141073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:29:32] local.INFO: Extracted packet for processing {"connection_id":141073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:29:32] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:29:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:29:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":141073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:29:32] local.INFO: GPS data processed {"connection_id":141073,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:29:32] local.INFO: Acknowledgment sent {"connection_id":141073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:29:56] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:29:56] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:29:56] local.INFO: IMEI packet received {"connection_id":141075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":141075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:30:00] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:30:00] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:30:00] local.INFO: IMEI packet received {"connection_id":141075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":141075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:30:01] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:30:01] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:30:01] local.INFO: Packet analysis {"connection_id":141075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:30:01] local.INFO: Extracted packet for processing {"connection_id":141075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:30:01] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:30:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:30:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":141075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:30:01] local.INFO: GPS data processed {"connection_id":141075,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:30:01] local.INFO: Acknowledgment sent {"connection_id":141075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:30:25] local.INFO: TCP Data received {"connection_id":141072,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:30:25] local.INFO: Processing buffer {"connection_id":141072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:30:25] local.INFO: IMEI packet received {"connection_id":141072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":141072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:30:32] local.INFO: TCP Data received {"connection_id":141075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:30:32] local.INFO: Processing buffer {"connection_id":141075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f987c2688012da5b80005f428c0001301202e..."} 
[2026-07-25 14:30:32] local.INFO: Packet analysis {"connection_id":141075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:30:32] local.INFO: Extracted packet for processing {"connection_id":141075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f987c"} 
[2026-07-25 14:30:32] local.INFO: GPS Element Parsed {"raw_longitude":765835264,"raw_latitude":99887296,"longitude_deg":76.5835264,"latitude_deg":9.9887296,"altitude":19,"angle":288,"satellites":46,"speed":15,"hex_longitude":"2da5b800","hex_latitude":"05f428c0","is_valid_coordinates":true} 
[2026-07-25 14:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952242688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6504182998770388992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784969701000,"timestamp_ms":1784969701000,"timestamp_seconds":1784969701,"priority":1,"record_length":96,"hex_timestamp":"0000019f987c2688"} 
[2026-07-25 14:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952242688001,"66":27463,"10":206,"88":19456,"24":15,"16":357783699313393664,"45":-6504182998770388992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952242688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:30:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:30:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6504182998770388992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952242688001,"power":27463,"unknown_10":206,"unknown_88":19456,"ignition":15,"odometer":null,"unknown_45":-6504182998770388992}} 
[2026-07-25 14:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":141075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:30:33] local.INFO: GPS data processed {"connection_id":141075,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:30:33] local.INFO: Acknowledgment sent {"connection_id":141075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:30:55] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:30:55] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:30:55] local.INFO: IMEI packet received {"connection_id":141076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":141076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:31:00] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:31:00] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:31:00] local.INFO: IMEI packet received {"connection_id":141076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":141076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:31:02] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:31:02] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:31:02] local.INFO: Packet analysis {"connection_id":141076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:31:02] local.INFO: Extracted packet for processing {"connection_id":141076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:31: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-07-25 14:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:31:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:31:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":141076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:31:02] local.INFO: GPS data processed {"connection_id":141076,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:31:02] local.INFO: Acknowledgment sent {"connection_id":141076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:31:33] local.INFO: TCP Data received {"connection_id":141076,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:31:33] local.INFO: Processing buffer {"connection_id":141076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:31:33] local.INFO: Packet analysis {"connection_id":141076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:31:33] local.INFO: Extracted packet for processing {"connection_id":141076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:31:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:31:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:31:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":141076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:31:33] local.INFO: GPS data processed {"connection_id":141076,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:31:33] local.INFO: Acknowledgment sent {"connection_id":141076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:32:00] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:00] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:00] local.INFO: IMEI packet received {"connection_id":141077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":141077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:32:05] local.INFO: TCP Data received {"connection_id":143482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:05] local.INFO: Processing buffer {"connection_id":143482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:05] local.INFO: IMEI packet received {"connection_id":143482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":143482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:32:05] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:05] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:05] local.INFO: IMEI packet received {"connection_id":141077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":141077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:32:06] local.INFO: TCP Data received {"connection_id":143482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:06] local.INFO: Processing buffer {"connection_id":143482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:06] local.INFO: IMEI packet received {"connection_id":143482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":143482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:32:06] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:32:06] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:32:06] local.INFO: Packet analysis {"connection_id":141077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:32:06] local.INFO: Extracted packet for processing {"connection_id":141077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:32:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:32:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":141077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:32:06] local.INFO: GPS data processed {"connection_id":141077,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:32:06] local.INFO: Acknowledgment sent {"connection_id":141077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:32:09] local.INFO: TCP Data received {"connection_id":143482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:09] local.INFO: Processing buffer {"connection_id":143482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:09] local.INFO: IMEI packet received {"connection_id":143482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":143482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:32:11] local.INFO: TCP Data received {"connection_id":141077,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:32:11] local.INFO: Processing buffer {"connection_id":141077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:32:11] local.INFO: Packet analysis {"connection_id":141077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:32:11] local.INFO: Extracted packet for processing {"connection_id":141077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":141077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:32:11] local.INFO: GPS data processed {"connection_id":141077,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:32:11] local.INFO: Acknowledgment sent {"connection_id":141077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:32:11] local.INFO: TCP Data received {"connection_id":143482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988225b0012d1a6d4007240988003500371a..."} 
[2026-07-25 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988225b0012d1a6d4007240988003500371a..."} 
[2026-07-25 14:32:11] local.INFO: Processing buffer {"connection_id":143482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988225b0012d1a6d4007240988003500371a..."} 
[2026-07-25 14:32:11] local.INFO: Packet analysis {"connection_id":143482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9882"} 
[2026-07-25 14:32:11] local.INFO: Extracted packet for processing {"connection_id":143482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9882"} 
[2026-07-25 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756706624,"raw_latitude":119802248,"longitude_deg":75.6706624,"latitude_deg":11.9802248,"altitude":53,"angle":55,"satellites":26,"speed":26,"hex_longitude":"2d1a6d40","hex_latitude":"07240988","is_valid_coordinates":true} 
[2026-07-25 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952342528001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779093541650432,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900167229698000896,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:11] 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-07-25 14:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784970094000,"timestamp_ms":1784970094000,"timestamp_seconds":1784970094,"priority":1,"record_length":96,"hex_timestamp":"0000019f988225b0"} 
[2026-07-25 14:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-25 14:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:32:11] 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-07-25 14:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952342528001,"66":14428,"43":206,"83":42752,"24":26,"16":8779093541650432,"45":1900167229698000896},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-25 14:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952342528001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779093541650432,"km_value":8779093541650.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900167229698000896,"description":"Unknown IO ID 45"} 
[2026-07-25 14:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952342528001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":26,"odometer":null,"unknown_45":1900167229698000896}} 
[2026-07-25 14:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":143482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:32:12] local.INFO: GPS data processed {"connection_id":143482,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:32:12] local.INFO: Acknowledgment sent {"connection_id":143482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:32:14] local.INFO: TCP Data received {"connection_id":143482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98826430012d1a8f0007241a18003400411c..."} 
[2026-07-25 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98826430012d1a8f0007241a18003400411c..."} 
[2026-07-25 14:32:14] local.INFO: Processing buffer {"connection_id":143482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98826430012d1a8f0007241a18003400411c..."} 
[2026-07-25 14:32:14] local.INFO: Packet analysis {"connection_id":143482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9882"} 
[2026-07-25 14:32:14] local.INFO: Extracted packet for processing {"connection_id":143482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9882"} 
[2026-07-25 14:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756715264,"raw_latitude":119806488,"longitude_deg":75.6715264,"latitude_deg":11.9806488,"altitude":52,"angle":65,"satellites":28,"speed":30,"hex_longitude":"2d1a8f00","hex_latitude":"07241a18","is_valid_coordinates":true} 
[2026-07-25 14:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952344064001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779553103151104,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904248616861140992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:32:14] 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-07-25 14:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784970110000,"timestamp_ms":1784970110000,"timestamp_seconds":1784970110,"priority":1,"record_length":96,"hex_timestamp":"0000019f98826430"} 
[2026-07-25 14:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 14:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:32:14] 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-07-25 14:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952344064001,"66":14396,"43":206,"83":42752,"24":30,"16":8779553103151104,"45":1904248616861140992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-25 14:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952344064001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:32:14] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 14:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779553103151104,"km_value":8779553103151.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904248616861140992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952344064001,"power":14396,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1904248616861140992}} 
[2026-07-25 14:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":143482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:32:15] local.INFO: GPS data processed {"connection_id":143482,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:32:15] local.INFO: Acknowledgment sent {"connection_id":143482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:32:54] local.INFO: TCP Data received {"connection_id":142111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:54] local.INFO: Processing buffer {"connection_id":142111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:32:54] local.INFO: IMEI packet received {"connection_id":142111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":142111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:32:55] local.INFO: TCP Data received {"connection_id":141138,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:55] local.INFO: Processing buffer {"connection_id":141138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:32:55] local.INFO: IMEI packet received {"connection_id":141138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":141138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:33:00] local.INFO: TCP Data received {"connection_id":141138,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:33:00] local.INFO: Processing buffer {"connection_id":141138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:33:00] local.INFO: IMEI packet received {"connection_id":141138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":141138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:33:02] local.INFO: TCP Data received {"connection_id":141138,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:33:02] local.INFO: Processing buffer {"connection_id":141138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:33:02] local.INFO: Packet analysis {"connection_id":141138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:33:02] local.INFO: Extracted packet for processing {"connection_id":141138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:33: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-07-25 14:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:33:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:33:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":141138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:33:02] local.INFO: GPS data processed {"connection_id":141138,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:33:02] local.INFO: Acknowledgment sent {"connection_id":141138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:33:03] local.INFO: TCP Data received {"connection_id":142111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:03] local.INFO: Processing buffer {"connection_id":142111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:03] local.INFO: IMEI packet received {"connection_id":142111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":142111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:33:04] local.INFO: TCP Data received {"connection_id":142111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98828f28012d1ab20007242ab0003300411a..."} 
[2026-07-25 14:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98828f28012d1ab20007242ab0003300411a..."} 
[2026-07-25 14:33:04] local.INFO: Processing buffer {"connection_id":142111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98828f28012d1ab20007242ab0003300411a..."} 
[2026-07-25 14:33:04] local.INFO: Packet analysis {"connection_id":142111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9882"} 
[2026-07-25 14:33:04] local.INFO: Extracted packet for processing {"connection_id":142111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9882"} 
[2026-07-25 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756724224,"raw_latitude":119810736,"longitude_deg":75.6724224,"latitude_deg":11.9810736,"altitude":51,"angle":65,"satellites":26,"speed":37,"hex_longitude":"2d1ab200","hex_latitude":"07242ab0","is_valid_coordinates":true} 
[2026-07-25 14:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952348160001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8780025549553664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913748397326211072,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:04] 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-07-25 14:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784970121000,"timestamp_ms":1784970121000,"timestamp_seconds":1784970121,"priority":1,"record_length":96,"hex_timestamp":"0000019f98828f28"} 
[2026-07-25 14:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-25 14:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:33:04] 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-07-25 14:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952348160001,"66":14374,"43":206,"83":42752,"24":37,"16":8780025549553664,"45":1913748397326211072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-25 14:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952348160001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:33:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 14:33:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8780025549553664,"km_value":8780025549553.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913748397326211072,"description":"Unknown IO ID 45"} 
[2026-07-25 14:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952348160001,"power":14374,"unknown_43":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1913748397326211072}} 
[2026-07-25 14:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":142111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:33:04] local.INFO: GPS data processed {"connection_id":142111,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:33:04] local.INFO: Acknowledgment sent {"connection_id":142111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:33:33] local.INFO: TCP Data received {"connection_id":141138,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:33:33] local.INFO: Processing buffer {"connection_id":141138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:33:33] local.INFO: Packet analysis {"connection_id":141138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:33:33] local.INFO: Extracted packet for processing {"connection_id":141138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:33:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:33:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":141138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:33:33] local.INFO: GPS data processed {"connection_id":141138,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:33:33] local.INFO: Acknowledgment sent {"connection_id":141138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:33:36] local.INFO: TCP Data received {"connection_id":142111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98838928012d1b28c007249350002c007e1c..."} 
[2026-07-25 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98838928012d1b28c007249350002c007e1c..."} 
[2026-07-25 14:33:36] local.INFO: Processing buffer {"connection_id":142111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98838928012d1b28c007249350002c007e1c..."} 
[2026-07-25 14:33:36] local.INFO: Packet analysis {"connection_id":142111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9883"} 
[2026-07-25 14:33:36] local.INFO: Extracted packet for processing {"connection_id":142111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9883"} 
[2026-07-25 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756754624,"raw_latitude":119837520,"longitude_deg":75.6754624,"latitude_deg":11.983752,"altitude":44,"angle":126,"satellites":28,"speed":16,"hex_longitude":"2d1b28c0","hex_latitude":"07249350","is_valid_coordinates":true} 
[2026-07-25 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952366848001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782048479150080,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956321487561728000,"note":"Value kept but may cause issues"} 
[2026-07-25 14:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784970185000,"timestamp_ms":1784970185000,"timestamp_seconds":1784970185,"priority":1,"record_length":96,"hex_timestamp":"0000019f98838928"} 
[2026-07-25 14:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 14:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:33:36] 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-07-25 14:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952366848001,"66":14374,"176":206,"83":42752,"24":16,"16":8782048479150080,"45":1956321487561728000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952366848001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:33:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782048479150080,"km_value":8782048479150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956321487561728000,"description":"Unknown IO ID 45"} 
[2026-07-25 14:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952366848001,"power":14374,"unknown_176":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1956321487561728000}} 
[2026-07-25 14:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":142111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:33:36] local.INFO: GPS data processed {"connection_id":142111,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:33:36] local.INFO: Acknowledgment sent {"connection_id":142111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:33:54] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:54] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:54] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:33:54] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:54] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:54] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:33:56] local.INFO: TCP Data received {"connection_id":142112,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:33:56] local.INFO: Processing buffer {"connection_id":142112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:33:56] local.INFO: IMEI packet received {"connection_id":142112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":142112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:33:59] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:59] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:33:59] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:34:00] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9883bbf0012d1b470007248100002c007e1a..."} 
[2026-07-25 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9883bbf0012d1b470007248100002c007e1a..."} 
[2026-07-25 14:34:00] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9883bbf0012d1b470007248100002c007e1a..."} 
[2026-07-25 14:34:00] local.INFO: Packet analysis {"connection_id":141139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9883"} 
[2026-07-25 14:34:00] local.INFO: Extracted packet for processing {"connection_id":141139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9883"} 
[2026-07-25 14:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756762368,"raw_latitude":119832832,"longitude_deg":75.6762368,"latitude_deg":11.9832832,"altitude":44,"angle":126,"satellites":26,"speed":28,"hex_longitude":"2d1b4700","hex_latitude":"07248100","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952367360001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782482270846976,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1957025175003418624,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970198000,"timestamp_ms":1784970198000,"timestamp_seconds":1784970198,"priority":1,"record_length":96,"hex_timestamp":"0000019f9883bbf0"} 
[2026-07-25 14:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 14:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952367360001,"66":14374,"176":206,"83":42752,"24":28,"16":8782482270846976,"45":1957025175003418624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952367360001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:34:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782482270846976,"km_value":8782482270846.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1957025175003418624,"description":"Unknown IO ID 45"} 
[2026-07-25 14:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952367360001,"power":14374,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1957025175003418624}} 
[2026-07-25 14:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":141139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:34:00] local.INFO: GPS data processed {"connection_id":141139,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:34:00] local.INFO: Acknowledgment sent {"connection_id":141139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:34:00] local.INFO: TCP Data received {"connection_id":142112,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:34:00] local.INFO: Processing buffer {"connection_id":142112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:34:00] local.INFO: IMEI packet received {"connection_id":142112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":142112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:34:02] local.INFO: TCP Data received {"connection_id":142112,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:34:02] local.INFO: Processing buffer {"connection_id":142112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:34:02] local.INFO: Packet analysis {"connection_id":142112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:34:02] local.INFO: Extracted packet for processing {"connection_id":142112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:34: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-07-25 14:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":142112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:34:02] local.INFO: GPS data processed {"connection_id":142112,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:34:02] local.INFO: Acknowledgment sent {"connection_id":142112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:34:32] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9883c7a8012d1b4d0007247b88002a008a1c..."} 
[2026-07-25 14:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9883c7a8012d1b4d0007247b88002a008a1c..."} 
[2026-07-25 14:34:32] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9883c7a8012d1b4d0007247b88002a008a1c..."} 
[2026-07-25 14:34:32] local.INFO: Packet analysis {"connection_id":141139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9883"} 
[2026-07-25 14:34:32] local.INFO: Extracted packet for processing {"connection_id":141139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9883"} 
[2026-07-25 14:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756763904,"raw_latitude":119831432,"longitude_deg":75.6763904,"latitude_deg":11.9831432,"altitude":42,"angle":138,"satellites":28,"speed":28,"hex_longitude":"2d1b4d00","hex_latitude":"07247b88","is_valid_coordinates":true} 
[2026-07-25 14:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952370688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782581055094784,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965539793047715840,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784970201000,"timestamp_ms":1784970201000,"timestamp_seconds":1784970201,"priority":1,"record_length":96,"hex_timestamp":"0000019f9883c7a8"} 
[2026-07-25 14:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 14:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:34:32] 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-07-25 14:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952370688001,"66":14363,"176":206,"83":42752,"24":28,"16":8782581055094784,"45":1965539793047715840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952370688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:34:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782581055094784,"km_value":8782581055094.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965539793047715840,"description":"Unknown IO ID 45"} 
[2026-07-25 14:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952370688001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1965539793047715840}} 
[2026-07-25 14:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":141139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:34:32] local.INFO: GPS data processed {"connection_id":141139,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:34:32] local.INFO: Acknowledgment sent {"connection_id":141139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:34:33] local.INFO: TCP Data received {"connection_id":142112,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:34:33] local.INFO: Processing buffer {"connection_id":142112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:34:33] local.INFO: Packet analysis {"connection_id":142112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:34:33] local.INFO: Extracted packet for processing {"connection_id":142112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:34:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:34:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:34:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":142112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:34:33] local.INFO: GPS data processed {"connection_id":142112,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:34:33] local.INFO: Acknowledgment sent {"connection_id":142112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:34:55] local.INFO: TCP Data received {"connection_id":141078,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:34:55] local.INFO: Processing buffer {"connection_id":141078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:34:55] local.INFO: IMEI packet received {"connection_id":141078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":141078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:34:59] local.INFO: TCP Data received {"connection_id":142113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:34:59] local.INFO: Processing buffer {"connection_id":142113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:34:59] local.INFO: IMEI packet received {"connection_id":142113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":142113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:35:00] local.INFO: TCP Data received {"connection_id":142113,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:00] local.INFO: Processing buffer {"connection_id":142113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:00] local.INFO: IMEI packet received {"connection_id":142113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":142113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:35:00] local.INFO: TCP Data received {"connection_id":141078,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:35:00] local.INFO: Processing buffer {"connection_id":141078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:35:00] local.INFO: IMEI packet received {"connection_id":141078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":141078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:35:01] local.INFO: TCP Data received {"connection_id":142113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9884dd00012d1b6240072454e00022013112..."} 
[2026-07-25 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9884dd00012d1b6240072454e00022013112..."} 
[2026-07-25 14:35:01] local.INFO: Processing buffer {"connection_id":142113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9884dd00012d1b6240072454e00022013112..."} 
[2026-07-25 14:35:01] local.INFO: Packet analysis {"connection_id":142113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9884"} 
[2026-07-25 14:35:01] local.INFO: Extracted packet for processing {"connection_id":142113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9884"} 
[2026-07-25 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756769344,"raw_latitude":119821536,"longitude_deg":75.6769344,"latitude_deg":11.9821536,"altitude":34,"angle":305,"satellites":18,"speed":5,"hex_longitude":"2d1b6240","hex_latitude":"072454e0","is_valid_coordinates":true} 
[2026-07-25 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952387840001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783199530385408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973350723648544768,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] 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-07-25 14:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970272000,"timestamp_ms":1784970272000,"timestamp_seconds":1784970272,"priority":1,"record_length":96,"hex_timestamp":"0000019f9884dd00"} 
[2026-07-25 14:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-25 14:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:01] 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-07-25 14:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952387840001,"66":14483,"136":206,"83":42752,"24":5,"16":8783199530385408,"45":1973350723648544768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952387840001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783199530385408,"km_value":8783199530385.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973350723648544768,"description":"Unknown IO ID 45"} 
[2026-07-25 14:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952387840001,"power":14483,"unknown_136":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1973350723648544768}} 
[2026-07-25 14:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":142113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:35:01] local.INFO: GPS data processed {"connection_id":142113,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:35:01] local.INFO: Acknowledgment sent {"connection_id":142113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:35:01] local.INFO: TCP Data received {"connection_id":142113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9884e4d0012d1b6140072455380022011c11..."} 
[2026-07-25 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9884e4d0012d1b6140072455380022011c11..."} 
[2026-07-25 14:35:01] local.INFO: Processing buffer {"connection_id":142113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9884e4d0012d1b6140072455380022011c11..."} 
[2026-07-25 14:35:01] local.INFO: Packet analysis {"connection_id":142113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9884"} 
[2026-07-25 14:35:01] local.INFO: Extracted packet for processing {"connection_id":142113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9884"} 
[2026-07-25 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119821624,"longitude_deg":75.6769088,"latitude_deg":11.9821624,"altitude":34,"angle":284,"satellites":17,"speed":5,"hex_longitude":"2d1b6140","hex_latitude":"07245538","is_valid_coordinates":true} 
[2026-07-25 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952389632001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783212415287296,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973209986160189440,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] 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-07-25 14:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970274000,"timestamp_ms":1784970274000,"timestamp_seconds":1784970274,"priority":1,"record_length":96,"hex_timestamp":"0000019f9884e4d0"} 
[2026-07-25 14:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-25 14:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:01] 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-07-25 14:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952389632001,"66":14450,"136":206,"83":42752,"24":5,"16":8783212415287296,"45":1973209986160189440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952389632001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783212415287296,"km_value":8783212415287.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973209986160189440,"description":"Unknown IO ID 45"} 
[2026-07-25 14:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952389632001,"power":14450,"unknown_136":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1973209986160189440}} 
[2026-07-25 14:35:01] local.INFO: TCP Data received {"connection_id":141078,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:35:01] local.INFO: Processing buffer {"connection_id":141078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:35:01] local.INFO: Packet analysis {"connection_id":141078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:35:01] local.INFO: Extracted packet for processing {"connection_id":141078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":141078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:35:01] local.INFO: GPS data processed {"connection_id":141078,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:35:01] local.INFO: Acknowledgment sent {"connection_id":141078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":142113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:35:02] local.INFO: GPS data processed {"connection_id":142113,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:35:02] local.INFO: Acknowledgment sent {"connection_id":142113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:35:32] local.INFO: TCP Data received {"connection_id":142113,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98854a60012d1b558007244c700028012d1a..."} 
[2026-07-25 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98854a60012d1b558007244c700028012d1a..."} 
[2026-07-25 14:35:33] local.INFO: Processing buffer {"connection_id":142113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98854a60012d1b558007244c700028012d1a..."} 
[2026-07-25 14:35:33] local.INFO: Packet analysis {"connection_id":142113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:35:33] local.INFO: Extracted packet for processing {"connection_id":142113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756766080,"raw_latitude":119819376,"longitude_deg":75.676608,"latitude_deg":11.9819376,"altitude":40,"angle":301,"satellites":26,"speed":3,"hex_longitude":"2d1b5580","hex_latitude":"07244c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952396544001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783435753586688,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969691548950732800,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:33] 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-07-25 14:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970300000,"timestamp_ms":1784970300000,"timestamp_seconds":1784970300,"priority":1,"record_length":96,"hex_timestamp":"0000019f98854a60"} 
[2026-07-25 14:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 14:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:33] 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-07-25 14:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952396544001,"66":14048,"136":206,"83":42752,"24":3,"16":8783435753586688,"45":1969691548950732800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952396544001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783435753586688,"km_value":8783435753586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969691548950732800,"description":"Unknown IO ID 45"} 
[2026-07-25 14:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952396544001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1969691548950732800}} 
[2026-07-25 14:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":142113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:35:33] local.INFO: GPS data processed {"connection_id":142113,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:35:33] local.INFO: Acknowledgment sent {"connection_id":142113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:35:33] local.INFO: TCP Data received {"connection_id":141078,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:35:33] local.INFO: Processing buffer {"connection_id":141078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9880c238012da5b04005f42c70001301272c..."} 
[2026-07-25 14:35:33] local.INFO: Packet analysis {"connection_id":141078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:35:33] local.INFO: Extracted packet for processing {"connection_id":141078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9880"} 
[2026-07-25 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":44,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952243456001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6505449636165533696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970003000,"timestamp_ms":1784970003000,"timestamp_seconds":1784970003,"priority":1,"record_length":96,"hex_timestamp":"0000019f9880c238"} 
[2026-07-25 14:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 14:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952243456001,"66":26376,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6505449636165533696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952243456001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6505449636165533696,"description":"Unknown IO ID 45"} 
[2026-07-25 14:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952243456001,"power":26376,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6505449636165533696}} 
[2026-07-25 14:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":141078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:35:33] local.INFO: GPS data processed {"connection_id":141078,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:35:33] local.INFO: Acknowledgment sent {"connection_id":141078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:35:54] local.INFO: TCP Data received {"connection_id":143484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:54] local.INFO: Processing buffer {"connection_id":143484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:54] local.INFO: IMEI packet received {"connection_id":143484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":143484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:35:55] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:35:55] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:35:55] local.INFO: IMEI packet received {"connection_id":141140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":141140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:35:56] local.INFO: TCP Data received {"connection_id":143484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:56] local.INFO: Processing buffer {"connection_id":143484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:35:56] local.INFO: IMEI packet received {"connection_id":143484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":143484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:35:57] local.INFO: TCP Data received {"connection_id":143484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855de8012d1b550007244c880029004019..."} 
[2026-07-25 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855de8012d1b550007244c880029004019..."} 
[2026-07-25 14:35:58] local.INFO: Processing buffer {"connection_id":143484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855de8012d1b550007244c880029004019..."} 
[2026-07-25 14:35:58] local.INFO: Packet analysis {"connection_id":143484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:35:58] local.INFO: Extracted packet for processing {"connection_id":143484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756765952,"raw_latitude":119819400,"longitude_deg":75.6765952,"latitude_deg":11.98194,"altitude":41,"angle":64,"satellites":25,"speed":3,"hex_longitude":"2d1b5500","hex_latitude":"07244c88","is_valid_coordinates":true} 
[2026-07-25 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952396800001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783448638488576,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969621180206575616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:35:58] 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-07-25 14:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784970305000,"timestamp_ms":1784970305000,"timestamp_seconds":1784970305,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855de8"} 
[2026-07-25 14:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 14:35: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-07-25 14:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:35:58] 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-07-25 14:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952396800001,"66":14070,"136":206,"83":42752,"24":3,"16":8783448638488576,"45":1969621180206575616},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952396800001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783448638488576,"km_value":8783448638488.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969621180206575616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952396800001,"power":14070,"unknown_136":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1969621180206575616}} 
[2026-07-25 14:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":143484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:35:58] local.INFO: GPS data processed {"connection_id":143484,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:35:58] local.INFO: Acknowledgment sent {"connection_id":143484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:36:00] local.INFO: TCP Data received {"connection_id":143483,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:36:00] local.INFO: Processing buffer {"connection_id":143483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:36:00] local.INFO: IMEI packet received {"connection_id":143483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":143483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:36:00] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:36:00] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:36:00] local.INFO: IMEI packet received {"connection_id":141140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":141140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:36:01] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:36:01] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:36:01] local.INFO: Packet analysis {"connection_id":141140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:36:01] local.INFO: Extracted packet for processing {"connection_id":141140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:36:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:36:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":141140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:36:01] local.INFO: GPS data processed {"connection_id":141140,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:36:01] local.INFO: Acknowledgment sent {"connection_id":141140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:36:28] local.INFO: TCP Data received {"connection_id":143484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988565b8012d1b55c007244d200029002d19..."} 
[2026-07-25 14:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988565b8012d1b55c007244d200029002d19..."} 
[2026-07-25 14:36:28] local.INFO: Processing buffer {"connection_id":143484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988565b8012d1b55c007244d200029002d19..."} 
[2026-07-25 14:36:28] local.INFO: Packet analysis {"connection_id":143484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:36:28] local.INFO: Extracted packet for processing {"connection_id":143484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119819552,"longitude_deg":75.6766144,"latitude_deg":11.9819552,"altitude":41,"angle":45,"satellites":25,"speed":4,"hex_longitude":"2d1b55c0","hex_latitude":"07244d20","is_valid_coordinates":true} 
[2026-07-25 14:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952398080001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783461523390464,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969480442718226432,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:28] 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-07-25 14:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784970307000,"timestamp_ms":1784970307000,"timestamp_seconds":1784970307,"priority":1,"record_length":96,"hex_timestamp":"0000019f988565b8"} 
[2026-07-25 14:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-25 14:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":143484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":143484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":143484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:36: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-07-25 14:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952398080001,"66":13222,"136":206,"83":42752,"24":4,"16":8783461523390464,"45":1969480442718226432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952398080001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:36:28] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783461523390464,"km_value":8783461523390.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969480442718226432,"description":"Unknown IO ID 45"} 
[2026-07-25 14:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952398080001,"power":13222,"unknown_136":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1969480442718226432}} 
[2026-07-25 14:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":143484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:36:28] local.INFO: GPS data processed {"connection_id":143484,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:36:28] local.INFO: Acknowledgment sent {"connection_id":143484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:36:32] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:36:32] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:36:32] local.INFO: Packet analysis {"connection_id":141140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:36:32] local.INFO: Extracted packet for processing {"connection_id":141140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 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-07-25 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:36:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:36:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":141140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:36:32] local.INFO: GPS data processed {"connection_id":141140,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:36:32] local.INFO: Acknowledgment sent {"connection_id":141140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:36:55] local.INFO: TCP Data received {"connection_id":142114,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:36:55] local.INFO: Processing buffer {"connection_id":142114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:36:55] local.INFO: IMEI packet received {"connection_id":142114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":142114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:36:59] local.INFO: TCP Data received {"connection_id":142114,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:36:59] local.INFO: Processing buffer {"connection_id":142114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:36:59] local.INFO: IMEI packet received {"connection_id":142114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":142114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:37:00] local.INFO: TCP Data received {"connection_id":142114,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9885b7c0012d1b564007244e380029002d1d..."} 
[2026-07-25 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9885b7c0012d1b564007244e380029002d1d..."} 
[2026-07-25 14:37:00] local.INFO: Processing buffer {"connection_id":142114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9885b7c0012d1b564007244e380029002d1d..."} 
[2026-07-25 14:37:00] local.INFO: Packet analysis {"connection_id":142114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:37:00] local.INFO: Extracted packet for processing {"connection_id":142114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":29,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952398592001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969691548950798336,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:00] 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-07-25 14:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970328000,"timestamp_ms":1784970328000,"timestamp_seconds":1784970328,"priority":1,"record_length":96,"hex_timestamp":"0000019f9885b7c0"} 
[2026-07-25 14:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 14:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952398592001,"66":13243,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969691548950798336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952398592001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:37:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969691548950798336,"description":"Unknown IO ID 45"} 
[2026-07-25 14:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952398592001,"power":13243,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969691548950798336}} 
[2026-07-25 14:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":142114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:37:00] local.INFO: GPS data processed {"connection_id":142114,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:37:00] local.INFO: Acknowledgment sent {"connection_id":142114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:37:00] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:00] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:00] local.INFO: IMEI packet received {"connection_id":141079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":141079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:37:05] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:05] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:05] local.INFO: IMEI packet received {"connection_id":141079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":141079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:37:06] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:37:06] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:37:06] local.INFO: Packet analysis {"connection_id":141079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:37:06] local.INFO: Extracted packet for processing {"connection_id":141079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:37:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:37:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":141079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:37:06] local.INFO: GPS data processed {"connection_id":141079,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:37:06] local.INFO: Acknowledgment sent {"connection_id":141079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:37:11] local.INFO: TCP Data received {"connection_id":141079,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:37:11] local.INFO: Processing buffer {"connection_id":141079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:37:11] local.INFO: Packet analysis {"connection_id":141079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:37:11] local.INFO: Extracted packet for processing {"connection_id":141079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:37:11] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:37:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:37:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":141079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:37:11] local.INFO: GPS data processed {"connection_id":141079,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:37:11] local.INFO: Acknowledgment sent {"connection_id":141079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:37:31] local.INFO: TCP Data received {"connection_id":142114,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988605e0012d1b564007244e380029002d1e..."} 
[2026-07-25 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988605e0012d1b564007244e380029002d1e..."} 
[2026-07-25 14:37:31] local.INFO: Processing buffer {"connection_id":142114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988605e0012d1b564007244e380029002d1e..."} 
[2026-07-25 14:37:31] local.INFO: Packet analysis {"connection_id":142114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:37:31] local.INFO: Extracted packet for processing {"connection_id":142114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":30,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952403968001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:37:31] 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-07-25 14:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970348000,"timestamp_ms":1784970348000,"timestamp_seconds":1784970348,"priority":1,"record_length":96,"hex_timestamp":"0000019f988605e0"} 
[2026-07-25 14:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 14:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:37:31] 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-07-25 14:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952403968001,"66":13243,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952403968001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952403968001,"power":13243,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":142114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:37:31] local.INFO: GPS data processed {"connection_id":142114,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:37:31] local.INFO: Acknowledgment sent {"connection_id":142114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:37:54] local.INFO: TCP Data received {"connection_id":141141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:37:54] local.INFO: Processing buffer {"connection_id":141141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:37:54] local.INFO: IMEI packet received {"connection_id":141141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":141141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:37:55] local.INFO: TCP Data received {"connection_id":143485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:55] local.INFO: Processing buffer {"connection_id":143485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:37:55] local.INFO: IMEI packet received {"connection_id":143485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":143485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:37:59] local.INFO: TCP Data received {"connection_id":141141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:37:59] local.INFO: Processing buffer {"connection_id":141141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:37:59] local.INFO: IMEI packet received {"connection_id":141141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":141141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:38:00] local.INFO: TCP Data received {"connection_id":141141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98865400012d1b564007244e380029002d1d..."} 
[2026-07-25 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98865400012d1b564007244e380029002d1d..."} 
[2026-07-25 14:38:00] local.INFO: Processing buffer {"connection_id":141141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98865400012d1b564007244e380029002d1d..."} 
[2026-07-25 14:38:00] local.INFO: Packet analysis {"connection_id":141141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:38:00] local.INFO: Extracted packet for processing {"connection_id":141141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":29,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952409088001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:00] 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-07-25 14:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970368000,"timestamp_ms":1784970368000,"timestamp_seconds":1784970368,"priority":1,"record_length":96,"hex_timestamp":"0000019f98865400"} 
[2026-07-25 14:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 14:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952409088001,"66":13243,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952409088001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:38:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952409088001,"power":13243,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":141141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:38:00] local.INFO: GPS data processed {"connection_id":141141,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:38:00] local.INFO: Acknowledgment sent {"connection_id":141141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:38:00] local.INFO: TCP Data received {"connection_id":143485,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:38:00] local.INFO: Processing buffer {"connection_id":143485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:38:00] local.INFO: IMEI packet received {"connection_id":143485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":143485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:38:06] local.INFO: TCP Data received {"connection_id":143485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:38:06] local.INFO: Processing buffer {"connection_id":143485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:38:06] local.INFO: Packet analysis {"connection_id":143485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:38:06] local.INFO: Extracted packet for processing {"connection_id":143485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:38:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:38:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":143485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:38:06] local.INFO: GPS data processed {"connection_id":143485,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:38:06] local.INFO: Acknowledgment sent {"connection_id":143485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:38:31] local.INFO: TCP Data received {"connection_id":141141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9886a220012d1b564007244e380029002d20..."} 
[2026-07-25 14:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9886a220012d1b564007244e380029002d20..."} 
[2026-07-25 14:38:31] local.INFO: Processing buffer {"connection_id":141141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9886a220012d1b564007244e380029002d20..."} 
[2026-07-25 14:38:31] local.INFO: Packet analysis {"connection_id":141141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:38:31] local.INFO: Extracted packet for processing {"connection_id":141141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":32,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952414208001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:31] 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-07-25 14:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970388000,"timestamp_ms":1784970388000,"timestamp_seconds":1784970388,"priority":1,"record_length":96,"hex_timestamp":"0000019f9886a220"} 
[2026-07-25 14:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 14:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:38:31] 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-07-25 14:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952414208001,"66":13102,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952414208001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952414208001,"power":13102,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":141141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:38:31] local.INFO: GPS data processed {"connection_id":141141,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:38:31] local.INFO: Acknowledgment sent {"connection_id":141141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:38:37] local.INFO: TCP Data received {"connection_id":143485,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:38:37] local.INFO: Processing buffer {"connection_id":143485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:38:37] local.INFO: Packet analysis {"connection_id":143485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:38:37] local.INFO: Extracted packet for processing {"connection_id":143485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:38:37] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:38:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":143485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:38:38] local.INFO: GPS data processed {"connection_id":143485,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:38:38] local.INFO: Acknowledgment sent {"connection_id":143485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:38:54] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:38:54] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:38:54] local.INFO: IMEI packet received {"connection_id":141142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":141142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:38:56] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:38:56] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:38:56] local.INFO: IMEI packet received {"connection_id":141080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":141080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:38:59] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:38:59] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:38:59] local.INFO: IMEI packet received {"connection_id":141142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":141142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:39:00] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9886ec58012d1b564007244e380029002d20..."} 
[2026-07-25 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9886ec58012d1b564007244e380029002d20..."} 
[2026-07-25 14:39:00] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9886ec58012d1b564007244e380029002d20..."} 
[2026-07-25 14:39:00] local.INFO: Packet analysis {"connection_id":141142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:39:00] local.INFO: Extracted packet for processing {"connection_id":141142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9886"} 
[2026-07-25 14:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":32,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952419328001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:00] 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-07-25 14:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970407000,"timestamp_ms":1784970407000,"timestamp_seconds":1784970407,"priority":1,"record_length":96,"hex_timestamp":"0000019f9886ec58"} 
[2026-07-25 14:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 14:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952419328001,"66":13124,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952419328001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:39:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952419328001,"power":13124,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":141142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:39:00] local.INFO: GPS data processed {"connection_id":141142,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:39:00] local.INFO: Acknowledgment sent {"connection_id":141142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:39:00] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:39:00] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:39:00] local.INFO: IMEI packet received {"connection_id":141080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":141080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:39:02] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:39:02] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:39:02] local.INFO: Packet analysis {"connection_id":141080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:39:02] local.INFO: Extracted packet for processing {"connection_id":141080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:39:02] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:39:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:39:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":141080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:39:02] local.INFO: GPS data processed {"connection_id":141080,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:39:02] local.INFO: Acknowledgment sent {"connection_id":141080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:39:31] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98873a78012d1b564007244e380029002d1f..."} 
[2026-07-25 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98873a78012d1b564007244e380029002d1f..."} 
[2026-07-25 14:39:31] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98873a78012d1b564007244e380029002d1f..."} 
[2026-07-25 14:39:31] local.INFO: Packet analysis {"connection_id":141142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9887"} 
[2026-07-25 14:39:31] local.INFO: Extracted packet for processing {"connection_id":141142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9887"} 
[2026-07-25 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":31,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952424192001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:31] 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-07-25 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970427000,"timestamp_ms":1784970427000,"timestamp_seconds":1784970427,"priority":1,"record_length":96,"hex_timestamp":"0000019f98873a78"} 
[2026-07-25 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-07-25 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 14:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:39:31] 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-07-25 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952424192001,"66":13102,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952424192001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952424192001,"power":13102,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":141142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:39:31] local.INFO: GPS data processed {"connection_id":141142,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:39:31] local.INFO: Acknowledgment sent {"connection_id":141142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:39:33] local.INFO: TCP Data received {"connection_id":141080,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:39:33] local.INFO: Processing buffer {"connection_id":141080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:39:33] local.INFO: Packet analysis {"connection_id":141080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:39:33] local.INFO: Extracted packet for processing {"connection_id":141080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:39:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:39:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":141080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:39:33] local.INFO: GPS data processed {"connection_id":141080,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:39:33] local.INFO: Acknowledgment sent {"connection_id":141080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:39:54] local.INFO: TCP Data received {"connection_id":142117,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:39:54] local.INFO: Processing buffer {"connection_id":142117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:39:54] local.INFO: IMEI packet received {"connection_id":142117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":142117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:39:55] local.INFO: TCP Data received {"connection_id":142116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:39:55] local.INFO: Processing buffer {"connection_id":142116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:39:55] local.INFO: IMEI packet received {"connection_id":142116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":142116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:39:59] local.INFO: TCP Data received {"connection_id":142117,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:39:59] local.INFO: Processing buffer {"connection_id":142117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:39:59] local.INFO: IMEI packet received {"connection_id":142117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":142117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:40:00] local.INFO: TCP Data received {"connection_id":142117,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98878898012d1b564007244e380029002d20..."} 
[2026-07-25 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98878898012d1b564007244e380029002d20..."} 
[2026-07-25 14:40:00] local.INFO: Processing buffer {"connection_id":142117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98878898012d1b564007244e380029002d20..."} 
[2026-07-25 14:40:00] local.INFO: Packet analysis {"connection_id":142117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9887"} 
[2026-07-25 14:40:00] local.INFO: Extracted packet for processing {"connection_id":142117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9887"} 
[2026-07-25 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":32,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952429312001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:00] 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-07-25 14:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970447000,"timestamp_ms":1784970447000,"timestamp_seconds":1784970447,"priority":1,"record_length":96,"hex_timestamp":"0000019f98878898"} 
[2026-07-25 14:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 14:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952429312001,"66":13015,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952429312001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:40:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952429312001,"power":13015,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":142117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:40:00] local.INFO: GPS data processed {"connection_id":142117,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:40:00] local.INFO: Acknowledgment sent {"connection_id":142117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:40:00] local.INFO: TCP Data received {"connection_id":142116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:40:00] local.INFO: Processing buffer {"connection_id":142116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:40:00] local.INFO: IMEI packet received {"connection_id":142116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":142116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:40:01] local.INFO: TCP Data received {"connection_id":142116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:40:01] local.INFO: Processing buffer {"connection_id":142116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:40:01] local.INFO: Packet analysis {"connection_id":142116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:40:01] local.INFO: Extracted packet for processing {"connection_id":142116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:40:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:40:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:40:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":142116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:40:01] local.INFO: GPS data processed {"connection_id":142116,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:40:01] local.INFO: Acknowledgment sent {"connection_id":142116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:40:31] local.INFO: TCP Data received {"connection_id":142117,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9887d2d0012d1b564007244e380029002d23..."} 
[2026-07-25 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9887d2d0012d1b564007244e380029002d23..."} 
[2026-07-25 14:40:31] local.INFO: Processing buffer {"connection_id":142117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9887d2d0012d1b564007244e380029002d23..."} 
[2026-07-25 14:40:31] local.INFO: Packet analysis {"connection_id":142117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9887"} 
[2026-07-25 14:40:31] local.INFO: Extracted packet for processing {"connection_id":142117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9887"} 
[2026-07-25 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":35,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952434432001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:31] 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-07-25 14:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970466000,"timestamp_ms":1784970466000,"timestamp_seconds":1784970466,"priority":1,"record_length":96,"hex_timestamp":"0000019f9887d2d0"} 
[2026-07-25 14:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 14:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:40:31] 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-07-25 14:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952434432001,"66":13015,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952434432001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:40:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952434432001,"power":13015,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":142117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:40:31] local.INFO: GPS data processed {"connection_id":142117,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:40:31] local.INFO: Acknowledgment sent {"connection_id":142117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:40:33] local.INFO: TCP Data received {"connection_id":142116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:40:33] local.INFO: Processing buffer {"connection_id":142116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98855a00012da5b04005f42c70001301272b..."} 
[2026-07-25 14:40:33] local.INFO: Packet analysis {"connection_id":142116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:40:33] local.INFO: Extracted packet for processing {"connection_id":142116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9885"} 
[2026-07-25 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":43,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952320768001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970304000,"timestamp_ms":1784970304000,"timestamp_seconds":1784970304,"priority":1,"record_length":96,"hex_timestamp":"0000019f98855a00"} 
[2026-07-25 14:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-07-25 14:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952320768001,"66":26082,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952320768001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:40:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:40:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952320768001,"power":26082,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":142116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:40:33] local.INFO: GPS data processed {"connection_id":142116,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:40:33] local.INFO: Acknowledgment sent {"connection_id":142116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:40:54] local.INFO: TCP Data received {"connection_id":141081,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:40:54] local.INFO: Processing buffer {"connection_id":141081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:40:54] local.INFO: IMEI packet received {"connection_id":141081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":141081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:40:55] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:40:55] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:40:55] local.INFO: IMEI packet received {"connection_id":141082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":141082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:40:59] local.INFO: TCP Data received {"connection_id":141081,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:40:59] local.INFO: Processing buffer {"connection_id":141081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:40:59] local.INFO: IMEI packet received {"connection_id":141081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":141081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:41:00] local.INFO: TCP Data received {"connection_id":141081,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988820f0012d1b564007244e380029002d23..."} 
[2026-07-25 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988820f0012d1b564007244e380029002d23..."} 
[2026-07-25 14:41:00] local.INFO: Processing buffer {"connection_id":141081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988820f0012d1b564007244e380029002d23..."} 
[2026-07-25 14:41:00] local.INFO: Packet analysis {"connection_id":141081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9888"} 
[2026-07-25 14:41:00] local.INFO: Extracted packet for processing {"connection_id":141081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9888"} 
[2026-07-25 14:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":35,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952439296001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:00] 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-07-25 14:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970486000,"timestamp_ms":1784970486000,"timestamp_seconds":1784970486,"priority":1,"record_length":96,"hex_timestamp":"0000019f988820f0"} 
[2026-07-25 14:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 14:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952439296001,"66":12993,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952439296001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:41:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952439296001,"power":12993,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":141081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:41:00] local.INFO: GPS data processed {"connection_id":141081,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:41:00] local.INFO: Acknowledgment sent {"connection_id":141081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:41:00] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:41:00] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:41:00] local.INFO: IMEI packet received {"connection_id":141082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":141082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:41:01] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:41:01] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:41:01] local.INFO: Packet analysis {"connection_id":141082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:41:01] local.INFO: Extracted packet for processing {"connection_id":141082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":141082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:41:01] local.INFO: GPS data processed {"connection_id":141082,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:41:01] local.INFO: Acknowledgment sent {"connection_id":141082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:41:31] local.INFO: TCP Data received {"connection_id":141081,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98886b28012d1b564007244e380029002d22..."} 
[2026-07-25 14:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98886b28012d1b564007244e380029002d22..."} 
[2026-07-25 14:41:31] local.INFO: Processing buffer {"connection_id":141081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98886b28012d1b564007244e380029002d22..."} 
[2026-07-25 14:41:31] local.INFO: Packet analysis {"connection_id":141081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9888"} 
[2026-07-25 14:41:31] local.INFO: Extracted packet for processing {"connection_id":141081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9888"} 
[2026-07-25 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952444416001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:31] 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-07-25 14:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970505000,"timestamp_ms":1784970505000,"timestamp_seconds":1784970505,"priority":1,"record_length":96,"hex_timestamp":"0000019f98886b28"} 
[2026-07-25 14:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 14:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:41:31] 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-07-25 14:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952444416001,"66":12993,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952444416001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952444416001,"power":12993,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":141081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:41:31] local.INFO: GPS data processed {"connection_id":141081,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:41:31] local.INFO: Acknowledgment sent {"connection_id":141081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:41:32] local.INFO: TCP Data received {"connection_id":141082,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:41:32] local.INFO: Processing buffer {"connection_id":141082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:41:32] local.INFO: Packet analysis {"connection_id":141082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:41:32] local.INFO: Extracted packet for processing {"connection_id":141082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:41: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-07-25 14:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:41:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:41:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":141082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:41:32] local.INFO: GPS data processed {"connection_id":141082,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:41:32] local.INFO: Acknowledgment sent {"connection_id":141082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:41:37] local.INFO: TCP Data received {"connection_id":142115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:41:37] local.INFO: Processing buffer {"connection_id":142115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:41:37] local.INFO: IMEI packet received {"connection_id":142115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":142115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:41:59] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:41:59] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:41:59] local.INFO: IMEI packet received {"connection_id":141143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":141143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:42:00] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:00] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:00] local.INFO: IMEI packet received {"connection_id":143486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":143486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:42:04] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:04] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:04] local.INFO: IMEI packet received {"connection_id":141143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":141143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:42:05] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9888b948012d1b564007244e380029002d21..."} 
[2026-07-25 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9888b948012d1b564007244e380029002d21..."} 
[2026-07-25 14:42:05] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9888b948012d1b564007244e380029002d21..."} 
[2026-07-25 14:42:05] local.INFO: Packet analysis {"connection_id":141143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9888"} 
[2026-07-25 14:42:05] local.INFO: Extracted packet for processing {"connection_id":141143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9888"} 
[2026-07-25 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":33,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952449280001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:05] 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-07-25 14:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784970525000,"timestamp_ms":1784970525000,"timestamp_seconds":1784970525,"priority":1,"record_length":96,"hex_timestamp":"0000019f9888b948"} 
[2026-07-25 14:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 14:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:42:05] 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-07-25 14:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952449280001,"66":12972,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952449280001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:42:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952449280001,"power":12972,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":141143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:42:05] local.INFO: GPS data processed {"connection_id":141143,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:42:05] local.INFO: Acknowledgment sent {"connection_id":141143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:42:05] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:05] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:05] local.INFO: IMEI packet received {"connection_id":143486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":143486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:42:06] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:42:06] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:42:06] local.INFO: Packet analysis {"connection_id":143486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:06] local.INFO: Extracted packet for processing {"connection_id":143486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:42:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:42:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":143486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:42:06] local.INFO: GPS data processed {"connection_id":143486,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:42:06] local.INFO: Acknowledgment sent {"connection_id":143486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:42:09] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98890380012d1b564007244e380029002d21..."} 
[2026-07-25 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98890380012d1b564007244e380029002d21..."} 
[2026-07-25 14:42:09] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98890380012d1b564007244e380029002d21..."} 
[2026-07-25 14:42:09] local.INFO: Packet analysis {"connection_id":141143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:09] local.INFO: Extracted packet for processing {"connection_id":141143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":33,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952454400001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:09] 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-07-25 14:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784970544000,"timestamp_ms":1784970544000,"timestamp_seconds":1784970544,"priority":1,"record_length":96,"hex_timestamp":"0000019f98890380"} 
[2026-07-25 14:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 14:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:42:09] 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-07-25 14:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952454400001,"66":12917,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952454400001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:42:09] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952454400001,"power":12917,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":141143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:42:09] local.INFO: GPS data processed {"connection_id":141143,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:42:09] local.INFO: Acknowledgment sent {"connection_id":141143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:42:11] local.INFO: TCP Data received {"connection_id":143486,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:42:11] local.INFO: Processing buffer {"connection_id":143486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:42:11] local.INFO: Packet analysis {"connection_id":143486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:11] local.INFO: Extracted packet for processing {"connection_id":143486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:42:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:42:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":143486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:42:11] local.INFO: GPS data processed {"connection_id":143486,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:42:11] local.INFO: Acknowledgment sent {"connection_id":143486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:42:54] local.INFO: TCP Data received {"connection_id":142118,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:54] local.INFO: Processing buffer {"connection_id":142118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:54] local.INFO: IMEI packet received {"connection_id":142118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":142118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:42:55] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:55] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:42:55] local.INFO: IMEI packet received {"connection_id":143487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":143487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:42:56] local.INFO: TCP Data received {"connection_id":142118,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:56] local.INFO: Processing buffer {"connection_id":142118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:42:56] local.INFO: IMEI packet received {"connection_id":142118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":142118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:42:57] local.INFO: TCP Data received {"connection_id":142118,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988951a0012d1b564007244e380029002d22..."} 
[2026-07-25 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988951a0012d1b564007244e380029002d22..."} 
[2026-07-25 14:42:57] local.INFO: Processing buffer {"connection_id":142118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988951a0012d1b564007244e380029002d22..."} 
[2026-07-25 14:42:57] local.INFO: Packet analysis {"connection_id":142118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:57] local.INFO: Extracted packet for processing {"connection_id":142118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:42:57] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952459264001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784970564000,"timestamp_ms":1784970564000,"timestamp_seconds":1784970564,"priority":1,"record_length":96,"hex_timestamp":"0000019f988951a0"} 
[2026-07-25 14:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 14:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":142118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":142118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":142118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:42: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-07-25 14:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952459264001,"66":12917,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952459264001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:42:57] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952459264001,"power":12917,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":142118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:42:57] local.INFO: GPS data processed {"connection_id":142118,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:42:57] local.INFO: Acknowledgment sent {"connection_id":142118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:43:00] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:43:00] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:43:00] local.INFO: IMEI packet received {"connection_id":143487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":143487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:43:01] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:43:01] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:43:01] local.INFO: Packet analysis {"connection_id":143487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:43:01] local.INFO: Extracted packet for processing {"connection_id":143487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:43:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:43:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:43:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":143487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:43:01] local.INFO: GPS data processed {"connection_id":143487,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:43:01] local.INFO: Acknowledgment sent {"connection_id":143487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:43:28] local.INFO: TCP Data received {"connection_id":142118,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98899fc0012d1b564007244e380029002d22..."} 
[2026-07-25 14:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98899fc0012d1b564007244e380029002d22..."} 
[2026-07-25 14:43:28] local.INFO: Processing buffer {"connection_id":142118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98899fc0012d1b564007244e380029002d22..."} 
[2026-07-25 14:43:28] local.INFO: Packet analysis {"connection_id":142118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:43:28] local.INFO: Extracted packet for processing {"connection_id":142118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":34,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952464384001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:28] 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-07-25 14:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784970584000,"timestamp_ms":1784970584000,"timestamp_seconds":1784970584,"priority":1,"record_length":96,"hex_timestamp":"0000019f98899fc0"} 
[2026-07-25 14:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 14:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:43: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-07-25 14:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952464384001,"66":12917,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952464384001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:43:28] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952464384001,"power":12917,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":142118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:43:28] local.INFO: GPS data processed {"connection_id":142118,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:43:28] local.INFO: Acknowledgment sent {"connection_id":142118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:43:33] local.INFO: TCP Data received {"connection_id":143487,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:43:33] local.INFO: Processing buffer {"connection_id":143487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:43:33] local.INFO: Packet analysis {"connection_id":143487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:43:33] local.INFO: Extracted packet for processing {"connection_id":143487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:43:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:43:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:43:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":143487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:43:33] local.INFO: GPS data processed {"connection_id":143487,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:43:33] local.INFO: Acknowledgment sent {"connection_id":143487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:43:54] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:43:54] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:43:54] local.INFO: IMEI packet received {"connection_id":141144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":141144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:43:55] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:43:56] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:43:56] local.INFO: IMEI packet received {"connection_id":141084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":141084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:43:59] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:43:59] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:43:59] local.INFO: IMEI packet received {"connection_id":141144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":141144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:44:00] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889e9f8012d1b564007244e380029002d20..."} 
[2026-07-25 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889e9f8012d1b564007244e380029002d20..."} 
[2026-07-25 14:44:00] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889e9f8012d1b564007244e380029002d20..."} 
[2026-07-25 14:44:00] local.INFO: Packet analysis {"connection_id":141144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:44:00] local.INFO: Extracted packet for processing {"connection_id":141144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":32,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952469504001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:00] 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-07-25 14:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970603000,"timestamp_ms":1784970603000,"timestamp_seconds":1784970603,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889e9f8"} 
[2026-07-25 14:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 14:44: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-07-25 14:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952469504001,"66":12885,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952469504001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:44:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952469504001,"power":12885,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":141144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:44:00] local.INFO: GPS data processed {"connection_id":141144,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:44:00] local.INFO: Acknowledgment sent {"connection_id":141144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:44:00] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:44:00] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:44:00] local.INFO: IMEI packet received {"connection_id":141084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":141084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:44:01] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:44:01] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:44:01] local.INFO: Packet analysis {"connection_id":141084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:44:01] local.INFO: Extracted packet for processing {"connection_id":141084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:44:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:44:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:44:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":141084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:44:02] local.INFO: GPS data processed {"connection_id":141084,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:44:02] local.INFO: Acknowledgment sent {"connection_id":141084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:44:31] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988a3818012d1b564007244e380029002d20..."} 
[2026-07-25 14:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988a3818012d1b564007244e380029002d20..."} 
[2026-07-25 14:44:31] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988a3818012d1b564007244e380029002d20..."} 
[2026-07-25 14:44:31] local.INFO: Packet analysis {"connection_id":141144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988a"} 
[2026-07-25 14:44:31] local.INFO: Extracted packet for processing {"connection_id":141144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988a"} 
[2026-07-25 14:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":32,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474368001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:31] 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-07-25 14:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970623000,"timestamp_ms":1784970623000,"timestamp_seconds":1784970623,"priority":1,"record_length":96,"hex_timestamp":"0000019f988a3818"} 
[2026-07-25 14:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 14:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:44:31] 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-07-25 14:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474368001,"66":12885,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474368001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474368001,"power":12885,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":141144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:44:31] local.INFO: GPS data processed {"connection_id":141144,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:44:31] local.INFO: Acknowledgment sent {"connection_id":141144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:44:33] local.INFO: TCP Data received {"connection_id":141084,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:44:33] local.INFO: Processing buffer {"connection_id":141084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:44:33] local.INFO: Packet analysis {"connection_id":141084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:44:33] local.INFO: Extracted packet for processing {"connection_id":141084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:44:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:44:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":141084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:44:33] local.INFO: GPS data processed {"connection_id":141084,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:44:33] local.INFO: Acknowledgment sent {"connection_id":141084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:44:54] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:44:54] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:44:54] local.INFO: IMEI packet received {"connection_id":143488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":143488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:44:55] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:44:55] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:44:55] local.INFO: IMEI packet received {"connection_id":143489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":143489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:44:59] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:44:59] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:44:59] local.INFO: IMEI packet received {"connection_id":143488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":143488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:45:00] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988a8638012d1b564007244e380029002d21..."} 
[2026-07-25 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988a8638012d1b564007244e380029002d21..."} 
[2026-07-25 14:45:00] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988a8638012d1b564007244e380029002d21..."} 
[2026-07-25 14:45:00] local.INFO: Packet analysis {"connection_id":143488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988a"} 
[2026-07-25 14:45:00] local.INFO: Extracted packet for processing {"connection_id":143488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988a"} 
[2026-07-25 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119819832,"longitude_deg":75.6766272,"latitude_deg":11.9819832,"altitude":41,"angle":45,"satellites":33,"speed":0,"hex_longitude":"2d1b5640","hex_latitude":"07244e38","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952479488001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783478703259648,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439225344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:00] 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-07-25 14:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784970643000,"timestamp_ms":1784970643000,"timestamp_seconds":1784970643,"priority":1,"record_length":96,"hex_timestamp":"0000019f988a8638"} 
[2026-07-25 14:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 14:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952479488001,"66":12841,"136":206,"83":42752,"24":0,"16":8783478703259648,"45":1969832286439225344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 14:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952479488001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:45:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 14:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783478703259648,"km_value":8783478703259.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439225344,"description":"Unknown IO ID 45"} 
[2026-07-25 14:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952479488001,"power":12841,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1969832286439225344}} 
[2026-07-25 14:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":143488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:45:00] local.INFO: GPS data processed {"connection_id":143488,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:45:00] local.INFO: Acknowledgment sent {"connection_id":143488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:45:00] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:45:00] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:45:00] local.INFO: IMEI packet received {"connection_id":143489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:45:01] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:45:01] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:45:01] local.INFO: Packet analysis {"connection_id":143489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:45:01] local.INFO: Extracted packet for processing {"connection_id":143489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:45:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:45:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":143489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:45:01] local.INFO: GPS data processed {"connection_id":143489,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:45:01] local.INFO: Acknowledgment sent {"connection_id":143489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:45:31] local.INFO: TCP Data received {"connection_id":143488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e04c0012d1b5500072450b80025003325..."} 
[2026-07-25 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e04c0012d1b5500072450b80025003325..."} 
[2026-07-25 14:45:31] local.INFO: Processing buffer {"connection_id":143488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e04c0012d1b5500072450b80025003325..."} 
[2026-07-25 14:45:31] local.INFO: Packet analysis {"connection_id":143488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:45:31] local.INFO: Extracted packet for processing {"connection_id":143488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756765952,"raw_latitude":119820472,"longitude_deg":75.6765952,"latitude_deg":11.9820472,"altitude":37,"angle":51,"satellites":37,"speed":6,"hex_longitude":"2d1b5500","hex_latitude":"072450b8","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952542720001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783551717703680,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969269336485904384,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784970872000,"timestamp_ms":1784970872000,"timestamp_seconds":1784970872,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e04c0"} 
[2026-07-25 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 14:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:45:31] 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-07-25 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952542720001,"66":14211,"176":206,"83":42752,"24":6,"16":8783551717703680,"45":1969269336485904384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952542720001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783551717703680,"km_value":8783551717703.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969269336485904384,"description":"Unknown IO ID 45"} 
[2026-07-25 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952542720001,"power":14211,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1969269336485904384}} 
[2026-07-25 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":143488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:45:31] local.INFO: GPS data processed {"connection_id":143488,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:45:31] local.INFO: Acknowledgment sent {"connection_id":143488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:45:33] local.INFO: TCP Data received {"connection_id":143489,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:45:33] local.INFO: Processing buffer {"connection_id":143489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9889f1c8012da5b04005f42c700013012728..."} 
[2026-07-25 14:45:33] local.INFO: Packet analysis {"connection_id":143489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:45:33] local.INFO: Extracted packet for processing {"connection_id":143489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9889"} 
[2026-07-25 14:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952397824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970605000,"timestamp_ms":1784970605000,"timestamp_seconds":1784970605,"priority":1,"record_length":96,"hex_timestamp":"0000019f9889f1c8"} 
[2026-07-25 14:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 14:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952397824001,"66":25952,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952397824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:45:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:45:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952397824001,"power":25952,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":143489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:45:33] local.INFO: GPS data processed {"connection_id":143489,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:45:33] local.INFO: Acknowledgment sent {"connection_id":143489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:45:54] local.INFO: TCP Data received {"connection_id":142120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:45:54] local.INFO: Processing buffer {"connection_id":142120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:45:54] local.INFO: IMEI packet received {"connection_id":142120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":142120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:45:55] local.INFO: TCP Data received {"connection_id":142119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:45:55] local.INFO: Processing buffer {"connection_id":142119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:45:55] local.INFO: IMEI packet received {"connection_id":142119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":142119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:45:59] local.INFO: TCP Data received {"connection_id":142120,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:45:59] local.INFO: Processing buffer {"connection_id":142120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:45:59] local.INFO: IMEI packet received {"connection_id":142120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":142120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:46:00] local.INFO: TCP Data received {"connection_id":142119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:46:00] local.INFO: Processing buffer {"connection_id":142119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:46:00] local.INFO: IMEI packet received {"connection_id":142119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":142119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:46:01] local.INFO: TCP Data received {"connection_id":142120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e1078012d1b5640072452080025002125..."} 
[2026-07-25 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e1078012d1b5640072452080025002125..."} 
[2026-07-25 14:46:01] local.INFO: Processing buffer {"connection_id":142120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e1078012d1b5640072452080025002125..."} 
[2026-07-25 14:46:01] local.INFO: Packet analysis {"connection_id":142120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:01] local.INFO: Extracted packet for processing {"connection_id":142120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:01] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119820808,"longitude_deg":75.6766272,"latitude_deg":11.9820808,"altitude":37,"angle":33,"satellites":37,"speed":6,"hex_longitude":"2d1b5640","hex_latitude":"07245208","is_valid_coordinates":true} 
[2026-07-25 14:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952543232001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783573192540160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969480442718500864,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970875000,"timestamp_ms":1784970875000,"timestamp_seconds":1784970875,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e1078"} 
[2026-07-25 14:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 14:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:46:01] 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-07-25 14:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952543232001,"66":14243,"176":206,"83":42752,"24":6,"16":8783573192540160,"45":1969480442718500864},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952543232001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783573192540160,"km_value":8783573192540.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969480442718500864,"description":"Unknown IO ID 45"} 
[2026-07-25 14:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952543232001,"power":14243,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1969480442718500864}} 
[2026-07-25 14:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":142120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:46:01] local.INFO: GPS data processed {"connection_id":142120,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:46:01] local.INFO: Acknowledgment sent {"connection_id":142120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:46:01] local.INFO: TCP Data received {"connection_id":142119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:46:01] local.INFO: Processing buffer {"connection_id":142119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:46:01] local.INFO: Packet analysis {"connection_id":142119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:01] local.INFO: Extracted packet for processing {"connection_id":142119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":142119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:46:01] local.INFO: GPS data processed {"connection_id":142119,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:46:01] local.INFO: Acknowledgment sent {"connection_id":142119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:46:32] local.INFO: TCP Data received {"connection_id":142120,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e27e8012d1b5840072454180026003125..."} 
[2026-07-25 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e27e8012d1b5840072454180026003125..."} 
[2026-07-25 14:46:32] local.INFO: Processing buffer {"connection_id":142120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e27e8012d1b5840072454180026003125..."} 
[2026-07-25 14:46:32] local.INFO: Packet analysis {"connection_id":142120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:32] local.INFO: Extracted packet for processing {"connection_id":142120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756766784,"raw_latitude":119821336,"longitude_deg":75.6766784,"latitude_deg":11.9821336,"altitude":38,"angle":49,"satellites":37,"speed":1,"hex_longitude":"2d1b5840","hex_latitude":"07245418","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952544000001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8783611847245824,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286439475200,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784970881000,"timestamp_ms":1784970881000,"timestamp_seconds":1784970881,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e27e8"} 
[2026-07-25 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-07-25 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-25 14:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:46:32] 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-07-25 14:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952544000001,"66":14233,"176":206,"83":42752,"24":1,"16":8783611847245824,"45":1969832286439475200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952544000001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8783611847245824,"km_value":8783611847245.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286439475200,"description":"Unknown IO ID 45"} 
[2026-07-25 14:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952544000001,"power":14233,"unknown_176":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1969832286439475200}} 
[2026-07-25 14:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":142120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:46:32] local.INFO: GPS data processed {"connection_id":142120,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:46:32] local.INFO: Acknowledgment sent {"connection_id":142120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:46:32] local.INFO: TCP Data received {"connection_id":142119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:46:32] local.INFO: Processing buffer {"connection_id":142119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:46:32] local.INFO: Packet analysis {"connection_id":142119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:32] local.INFO: Extracted packet for processing {"connection_id":142119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 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-07-25 14:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":142119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:46:32] local.INFO: GPS data processed {"connection_id":142119,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:46:32] local.INFO: Acknowledgment sent {"connection_id":142119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:46:55] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:46:55] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:46:55] local.INFO: IMEI packet received {"connection_id":143490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":143490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:46:59] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:46:59] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:46:59] local.INFO: IMEI packet received {"connection_id":143490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":143490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:47:00] local.INFO: TCP Data received {"connection_id":143491,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:00] local.INFO: Processing buffer {"connection_id":143491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:00] local.INFO: IMEI packet received {"connection_id":143491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":143491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:47:05] local.INFO: TCP Data received {"connection_id":143491,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:05] local.INFO: Processing buffer {"connection_id":143491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:05] local.INFO: IMEI packet received {"connection_id":143491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":143491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:47:05] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:05] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:05] local.INFO: IMEI packet received {"connection_id":143490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":143490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:47:06] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988f73f0012d1b2680072490780025012126..."} 
[2026-07-25 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988f73f0012d1b2680072490780025012126..."} 
[2026-07-25 14:47:06] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988f73f0012d1b2680072490780025012126..."} 
[2026-07-25 14:47:06] local.INFO: Packet analysis {"connection_id":143490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:47:06] local.INFO: Extracted packet for processing {"connection_id":143490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756754048,"raw_latitude":119836792,"longitude_deg":75.6754048,"latitude_deg":11.9836792,"altitude":37,"angle":289,"satellites":38,"speed":17,"hex_longitude":"2d1b2680","hex_latitude":"07249078","is_valid_coordinates":true} 
[2026-07-25 14:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952563968001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8784827322990592,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963921311931662336,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784970966000,"timestamp_ms":1784970966000,"timestamp_seconds":1784970966,"priority":1,"record_length":96,"hex_timestamp":"0000019f988f73f0"} 
[2026-07-25 14:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-25 14:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:47:06] 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-07-25 14:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952563968001,"66":14374,"176":206,"83":42752,"24":17,"16":8784827322990592,"45":1963921311931662336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952563968001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8784827322990592,"km_value":8784827322990.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963921311931662336,"description":"Unknown IO ID 45"} 
[2026-07-25 14:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952563968001,"power":14374,"unknown_176":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1963921311931662336}} 
[2026-07-25 14:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":143490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:47:06] local.INFO: GPS data processed {"connection_id":143490,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:47:06] local.INFO: Acknowledgment sent {"connection_id":143490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:47:06] local.INFO: TCP Data received {"connection_id":143491,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:47:06] local.INFO: Processing buffer {"connection_id":143491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:47:06] local.INFO: Packet analysis {"connection_id":143491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:47:06] local.INFO: Extracted packet for processing {"connection_id":143491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":143491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:47:06] local.INFO: GPS data processed {"connection_id":143491,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:47:06] local.INFO: Acknowledgment sent {"connection_id":143491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:47:09] local.INFO: TCP Data received {"connection_id":143490,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988f7bc0012d1b2380072491000026010d27..."} 
[2026-07-25 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988f7bc0012d1b2380072491000026010d27..."} 
[2026-07-25 14:47:09] local.INFO: Processing buffer {"connection_id":143490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988f7bc0012d1b2380072491000026010d27..."} 
[2026-07-25 14:47:09] local.INFO: Packet analysis {"connection_id":143490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:47:09] local.INFO: Extracted packet for processing {"connection_id":143490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756753280,"raw_latitude":119836928,"longitude_deg":75.675328,"latitude_deg":11.9836928,"altitude":38,"angle":269,"satellites":39,"speed":13,"hex_longitude":"2d1b2380","hex_latitude":"07249100","is_valid_coordinates":true} 
[2026-07-25 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952567296001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8784865977696256,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956391856305633280,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784970968000,"timestamp_ms":1784970968000,"timestamp_seconds":1784970968,"priority":1,"record_length":96,"hex_timestamp":"0000019f988f7bc0"} 
[2026-07-25 14:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 14:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:47:09] 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-07-25 14:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952567296001,"66":14374,"176":206,"83":42752,"24":13,"16":8784865977696256,"45":1956391856305633280},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952567296001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8784865977696256,"km_value":8784865977696.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956391856305633280,"description":"Unknown IO ID 45"} 
[2026-07-25 14:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952567296001,"power":14374,"unknown_176":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1956391856305633280}} 
[2026-07-25 14:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":143490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:47:10] local.INFO: GPS data processed {"connection_id":143490,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:47:10] local.INFO: Acknowledgment sent {"connection_id":143490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:47:10] local.INFO: TCP Data received {"connection_id":141083,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:47:10] local.INFO: Processing buffer {"connection_id":141083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:47:10] local.INFO: IMEI packet received {"connection_id":141083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":141083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:47:11] local.INFO: TCP Data received {"connection_id":143491,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:47:11] local.INFO: Processing buffer {"connection_id":143491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:47:11] local.INFO: Packet analysis {"connection_id":143491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:47:11] local.INFO: Extracted packet for processing {"connection_id":143491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:47:11] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:47:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":143491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:47:11] local.INFO: GPS data processed {"connection_id":143491,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:47:11] local.INFO: Acknowledgment sent {"connection_id":143491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:47:55] local.INFO: TCP Data received {"connection_id":142121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:55] local.INFO: Processing buffer {"connection_id":142121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:47:55] local.INFO: IMEI packet received {"connection_id":142121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":142121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:47:58] local.INFO: TCP Data received {"connection_id":142122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:58] local.INFO: Processing buffer {"connection_id":142122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:58] local.INFO: IMEI packet received {"connection_id":142122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":142122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:47:59] local.INFO: TCP Data received {"connection_id":142122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:59] local.INFO: Processing buffer {"connection_id":142122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:47:59] local.INFO: IMEI packet received {"connection_id":142122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":142122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:48:00] local.INFO: TCP Data received {"connection_id":142121,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:48:00] local.INFO: Processing buffer {"connection_id":142121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:48:00] local.INFO: IMEI packet received {"connection_id":142121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":142121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:48:01] local.INFO: TCP Data received {"connection_id":142121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:48:01] local.INFO: Processing buffer {"connection_id":142121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:48:01] local.INFO: Packet analysis {"connection_id":142121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:48:01] local.INFO: Extracted packet for processing {"connection_id":142121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:48:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:48:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":142121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:48:02] local.INFO: GPS data processed {"connection_id":142121,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:48:02] local.INFO: Acknowledgment sent {"connection_id":142121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:48:04] local.INFO: TCP Data received {"connection_id":142122,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:04] local.INFO: Processing buffer {"connection_id":142122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:04] local.INFO: IMEI packet received {"connection_id":142122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":142122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:48:05] local.INFO: TCP Data received {"connection_id":142122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988f7fa8012d1b2240072490d0002600ff27..."} 
[2026-07-25 14:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988f7fa8012d1b2240072490d0002600ff27..."} 
[2026-07-25 14:48:05] local.INFO: Processing buffer {"connection_id":142122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988f7fa8012d1b2240072490d0002600ff27..."} 
[2026-07-25 14:48:05] local.INFO: Packet analysis {"connection_id":142122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:48:05] local.INFO: Extracted packet for processing {"connection_id":142122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756752960,"raw_latitude":119836880,"longitude_deg":75.675296,"latitude_deg":11.983688,"altitude":38,"angle":255,"satellites":39,"speed":14,"hex_longitude":"2d1b2240","hex_latitude":"072490d0","is_valid_coordinates":true} 
[2026-07-25 14:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952567808001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8784883157565440,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955547431375536128,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784970969000,"timestamp_ms":1784970969000,"timestamp_seconds":1784970969,"priority":1,"record_length":96,"hex_timestamp":"0000019f988f7fa8"} 
[2026-07-25 14:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 14:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:48:05] 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-07-25 14:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952567808001,"66":14298,"176":206,"83":42752,"24":14,"16":8784883157565440,"45":1955547431375536128},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952567808001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:48:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8784883157565440,"km_value":8784883157565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955547431375536128,"description":"Unknown IO ID 45"} 
[2026-07-25 14:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952567808001,"power":14298,"unknown_176":206,"unknown_83":42752,"ignition":14,"odometer":null,"unknown_45":1955547431375536128}} 
[2026-07-25 14:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":142122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:48:05] local.INFO: GPS data processed {"connection_id":142122,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:48:05] local.INFO: Acknowledgment sent {"connection_id":142122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:48:33] local.INFO: TCP Data received {"connection_id":142121,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:48:33] local.INFO: Processing buffer {"connection_id":142121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:48:33] local.INFO: Packet analysis {"connection_id":142121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:48:33] local.INFO: Extracted packet for processing {"connection_id":142121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:48:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:48:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":142121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:48:33] local.INFO: GPS data processed {"connection_id":142121,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:48:33] local.INFO: Acknowledgment sent {"connection_id":142121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:48:36] local.INFO: TCP Data received {"connection_id":142122,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f988f8390012d1b214007249060002700f327..."} 
[2026-07-25 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988f8390012d1b214007249060002700f327..."} 
[2026-07-25 14:48:36] local.INFO: Processing buffer {"connection_id":142122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988f8390012d1b214007249060002700f327..."} 
[2026-07-25 14:48:36] local.INFO: Packet analysis {"connection_id":142122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:48:36] local.INFO: Extracted packet for processing {"connection_id":142122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988f"} 
[2026-07-25 14:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756752704,"raw_latitude":119836768,"longitude_deg":75.6752704,"latitude_deg":11.9836768,"altitude":39,"angle":243,"satellites":39,"speed":12,"hex_longitude":"2d1b2140","hex_latitude":"07249060","is_valid_coordinates":true} 
[2026-07-25 14:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952568064001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8784896042467328,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955195587654635520,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784970970000,"timestamp_ms":1784970970000,"timestamp_seconds":1784970970,"priority":1,"record_length":96,"hex_timestamp":"0000019f988f8390"} 
[2026-07-25 14:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 14:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:48:36] 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-07-25 14:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952568064001,"66":14298,"176":206,"83":42752,"24":12,"16":8784896042467328,"45":1955195587654635520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 14:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952568064001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:48:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 14:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8784896042467328,"km_value":8784896042467.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955195587654635520,"description":"Unknown IO ID 45"} 
[2026-07-25 14:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952568064001,"power":14298,"unknown_176":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1955195587654635520}} 
[2026-07-25 14:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":142122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:48:36] local.INFO: GPS data processed {"connection_id":142122,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:48:36] local.INFO: Acknowledgment sent {"connection_id":142122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:48:38] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:38] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:38] local.INFO: IMEI packet received {"connection_id":142123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":142123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:48:39] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:39] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:39] local.INFO: IMEI packet received {"connection_id":142123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":142123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:48:43] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:43] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:48:43] local.INFO: IMEI packet received {"connection_id":142123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":142123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:48:44] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9891d168012d7e360005d34d100017006508..."} 
[2026-07-25 14:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9891d168012d7e360005d34d100017006508..."} 
[2026-07-25 14:48:44] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9891d168012d7e360005d34d100017006508..."} 
[2026-07-25 14:48:44] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:48:44] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733904,"longitude_deg":76.324608,"latitude_deg":9.7733904,"altitude":23,"angle":101,"satellites":8,"speed":2,"hex_longitude":"2d7e3600","hex_latitude":"05d34d10","is_valid_coordinates":true} 
[2026-07-25 14:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:48:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 14:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784971121000,"timestamp_ms":1784971121000,"timestamp_seconds":1784971121,"priority":1,"record_length":96,"hex_timestamp":"0000019f9891d168"} 
[2026-07-25 14:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 14:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13015,"109":206,"85":15104,"24":2,"16":110231555422552064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-07-25 14:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 14:48:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:48:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13015,"unknown_109":206,"unknown_85":15104,"ignition":2,"odometer":null}} 
[2026-07-25 14:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:48:44] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:48:44] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:48:54] local.INFO: TCP Data received {"connection_id":141145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:54] local.INFO: Processing buffer {"connection_id":141145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:54] local.INFO: IMEI packet received {"connection_id":141145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":141145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:48:54] local.INFO: TCP Data received {"connection_id":141145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:54] local.INFO: Processing buffer {"connection_id":141145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:48:54] local.INFO: IMEI packet received {"connection_id":141145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":141145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:48:55] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:48:55] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:48:55] local.INFO: IMEI packet received {"connection_id":143493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":143493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:49:00] local.INFO: TCP Data received {"connection_id":141145,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:00] local.INFO: Processing buffer {"connection_id":141145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:00] local.INFO: IMEI packet received {"connection_id":141145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":141145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:49:00] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:49:00] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:49:00] local.INFO: IMEI packet received {"connection_id":143493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:49:01] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:49:01] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:49:01] local.INFO: Packet analysis {"connection_id":143493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:49:01] local.INFO: Extracted packet for processing {"connection_id":143493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":143493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:01] local.INFO: GPS data processed {"connection_id":143493,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:01] local.INFO: Acknowledgment sent {"connection_id":143493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:49:01] local.INFO: TCP Data received {"connection_id":141145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989121a0012d1a5f400723fbc0002f00de25..."} 
[2026-07-25 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989121a0012d1a5f400723fbc0002f00de25..."} 
[2026-07-25 14:49:01] local.INFO: Processing buffer {"connection_id":141145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989121a0012d1a5f400723fbc0002f00de25..."} 
[2026-07-25 14:49:01] local.INFO: Packet analysis {"connection_id":141145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:01] local.INFO: Extracted packet for processing {"connection_id":141145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":756703040,"raw_latitude":119798720,"longitude_deg":75.670304,"latitude_deg":11.979872,"altitude":47,"angle":222,"satellites":37,"speed":35,"hex_longitude":"2d1a5f40","hex_latitude":"0723fbc0","is_valid_coordinates":true} 
[2026-07-25 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952593920001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8787962649116672,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904741198070374400,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:01] 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-07-25 14:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784971076000,"timestamp_ms":1784971076000,"timestamp_seconds":1784971076,"priority":1,"record_length":96,"hex_timestamp":"0000019f989121a0"} 
[2026-07-25 14:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 14:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:49:01] 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-07-25 14:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952593920001,"66":14330,"43":206,"83":42752,"24":35,"16":8787962649116672,"45":1904741198070374400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-25 14:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952593920001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8787962649116672,"km_value":8787962649116.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904741198070374400,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952593920001,"power":14330,"unknown_43":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1904741198070374400}} 
[2026-07-25 14:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":141145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:01] local.INFO: GPS data processed {"connection_id":141145,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:01] local.INFO: Acknowledgment sent {"connection_id":141145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:49:17] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9891d550012d7e360005d34d280017005708..."} 
[2026-07-25 14:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9891d550012d7e360005d34d280017005708..."} 
[2026-07-25 14:49:17] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9891d550012d7e360005d34d280017005708..."} 
[2026-07-25 14:49:17] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:17] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:17] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733928,"longitude_deg":76.324608,"latitude_deg":9.7733928,"altitude":23,"angle":87,"satellites":8,"speed":1,"hex_longitude":"2d7e3600","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-25 14:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952606976001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231555422552064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541174784,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784971122000,"timestamp_ms":1784971122000,"timestamp_seconds":1784971122,"priority":1,"record_length":96,"hex_timestamp":"0000019f9891d550"} 
[2026-07-25 14:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 14:49: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-07-25 14:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952606976001,"66":13178,"109":206,"85":15104,"24":1,"16":110231555422552064,"45":9094456522541174784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952606976001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231555422552064,"km_value":110231555422552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541174784,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952606976001,"power":13178,"unknown_109":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9094456522541174784}} 
[2026-07-25 14:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:17] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:17] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:49:32] local.INFO: TCP Data received {"connection_id":141145,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9891e4f0012d19d8800723a080003600bc22..."} 
[2026-07-25 14:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9891e4f0012d19d8800723a080003600bc22..."} 
[2026-07-25 14:49:32] local.INFO: Processing buffer {"connection_id":141145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9891e4f0012d19d8800723a080003600bc22..."} 
[2026-07-25 14:49:32] local.INFO: Packet analysis {"connection_id":141145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:32] local.INFO: Extracted packet for processing {"connection_id":141145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756668544,"raw_latitude":119775360,"longitude_deg":75.6668544,"latitude_deg":11.977536,"altitude":54,"angle":188,"satellites":34,"speed":6,"hex_longitude":"2d19d880","hex_latitude":"0723a080","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952608000001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790088657928192,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812770304,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:32] 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-07-25 14:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784971126000,"timestamp_ms":1784971126000,"timestamp_seconds":1784971126,"priority":1,"record_length":96,"hex_timestamp":"0000019f9891e4f0"} 
[2026-07-25 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-07-25 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 14:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:49:32] 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-07-25 14:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952608000001,"66":13037,"177":206,"83":42752,"24":6,"16":8790088657928192,"45":1862449582812770304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952608000001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790088657928192,"km_value":8790088657928.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812770304,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952608000001,"power":13037,"unknown_177":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1862449582812770304}} 
[2026-07-25 14:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":141145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:33] local.INFO: GPS data processed {"connection_id":141145,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:33] local.INFO: Acknowledgment sent {"connection_id":141145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:49:33] local.INFO: TCP Data received {"connection_id":143493,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:49:33] local.INFO: Processing buffer {"connection_id":143493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:49:33] local.INFO: Packet analysis {"connection_id":143493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:49:33] local.INFO: Extracted packet for processing {"connection_id":143493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:49:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":143493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:33] local.INFO: GPS data processed {"connection_id":143493,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:33] local.INFO: Acknowledgment sent {"connection_id":143493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:49:48] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98922370012d7e35c005d34dc0001300570b..."} 
[2026-07-25 14:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98922370012d7e35c005d34dc0001300570b..."} 
[2026-07-25 14:49:48] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98922370012d7e35c005d34dc0001300570b..."} 
[2026-07-25 14:49:48] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:49:48] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:49:48] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734080,"longitude_deg":76.3246016,"latitude_deg":9.773408,"altitude":19,"angle":87,"satellites":11,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34dc0","is_valid_coordinates":true} 
[2026-07-25 14:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952607232001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231568307453952,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541180928,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784971142000,"timestamp_ms":1784971142000,"timestamp_seconds":1784971142,"priority":1,"record_length":96,"hex_timestamp":"0000019f98922370"} 
[2026-07-25 14:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 14:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952607232001,"66":13091,"109":206,"85":15104,"24":0,"16":110231568307453952,"45":9094456522541180928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952607232001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:49:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231568307453952,"km_value":110231568307453.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541180928,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952607232001,"power":13091,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541180928}} 
[2026-07-25 14:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:48] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:48] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:49:55] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:55] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:55] local.INFO: IMEI packet received {"connection_id":141085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:49:55] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:49:55] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:49:55] local.INFO: IMEI packet received {"connection_id":141146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:49:59] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:59] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:49:59] local.INFO: IMEI packet received {"connection_id":141085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":141085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:49:59] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9891f878012d19d78007239c10003700c820..."} 
[2026-07-25 14:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9891f878012d19d78007239c10003700c820..."} 
[2026-07-25 14:49:59] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9891f878012d19d78007239c10003700c820..."} 
[2026-07-25 14:49:59] local.INFO: Packet analysis {"connection_id":141085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:59] local.INFO: Extracted packet for processing {"connection_id":141085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9891"} 
[2026-07-25 14:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756668288,"raw_latitude":119774224,"longitude_deg":75.6668288,"latitude_deg":11.9774224,"altitude":55,"angle":200,"satellites":32,"speed":8,"hex_longitude":"2d19d780","hex_latitude":"07239c10","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952608256001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790148787470336,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214068547584,"note":"Value kept but may cause issues"} 
[2026-07-25 14:49:59] 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-07-25 14:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784971131000,"timestamp_ms":1784971131000,"timestamp_seconds":1784971131,"priority":1,"record_length":96,"hex_timestamp":"0000019f9891f878"} 
[2026-07-25 14:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 14:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:49: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-07-25 14:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952608256001,"66":12950,"177":206,"83":42752,"24":8,"16":8790148787470336,"45":1862379214068547584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952608256001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790148787470336,"km_value":8790148787470.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214068547584,"description":"Unknown IO ID 45"} 
[2026-07-25 14:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952608256001,"power":12950,"unknown_177":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1862379214068547584}} 
[2026-07-25 14:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":141085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:49:59] local.INFO: GPS data processed {"connection_id":141085,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:49:59] local.INFO: Acknowledgment sent {"connection_id":141085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:50:00] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:50:00] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:50:00] local.INFO: IMEI packet received {"connection_id":141146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":141146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:50:01] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:50:01] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f988e8990012da5b04005f42c70001301272a..."} 
[2026-07-25 14:50:01] local.INFO: Packet analysis {"connection_id":141146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:50:01] local.INFO: Extracted packet for processing {"connection_id":141146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f988e"} 
[2026-07-25 14:50:01] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952474880001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784970906000,"timestamp_ms":1784970906000,"timestamp_seconds":1784970906,"priority":1,"record_length":96,"hex_timestamp":"0000019f988e8990"} 
[2026-07-25 14:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 14:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952474880001,"66":25897,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952474880001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:50:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:50:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952474880001,"power":25897,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":141146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:50:01] local.INFO: GPS data processed {"connection_id":141146,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:50:01] local.INFO: Acknowledgment sent {"connection_id":141146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:50:18] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98927578012d7e35c005d34d68001400570d..."} 
[2026-07-25 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98927578012d7e35c005d34d68001400570d..."} 
[2026-07-25 14:50:18] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98927578012d7e35c005d34d68001400570d..."} 
[2026-07-25 14:50:18] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:50:18] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733992,"longitude_deg":76.3246016,"latitude_deg":9.7733992,"altitude":20,"angle":87,"satellites":13,"speed":0,"hex_longitude":"2d7e35c0","hex_latitude":"05d34d68","is_valid_coordinates":true} 
[2026-07-25 14:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952612352001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231572602421248,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797042176,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784971163000,"timestamp_ms":1784971163000,"timestamp_seconds":1784971163,"priority":1,"record_length":96,"hex_timestamp":"0000019f98927578"} 
[2026-07-25 14:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 14:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952612352001,"66":13048,"109":206,"85":15104,"24":0,"16":110231572602421248,"45":9094386153797042176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952612352001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:50:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:50:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231572602421248,"km_value":110231572602421.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797042176,"description":"Unknown IO ID 45"} 
[2026-07-25 14:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952612352001,"power":13048,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094386153797042176}} 
[2026-07-25 14:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:50:18] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:50:18] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:50:31] local.INFO: TCP Data received {"connection_id":141085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98920048012d19d6c007239ab8003700e121..."} 
[2026-07-25 14:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98920048012d19d6c007239ab8003700e121..."} 
[2026-07-25 14:50:31] local.INFO: Processing buffer {"connection_id":141085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98920048012d19d6c007239ab8003700e121..."} 
[2026-07-25 14:50:31] local.INFO: Packet analysis {"connection_id":141085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:50:31] local.INFO: Extracted packet for processing {"connection_id":141085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756668096,"raw_latitude":119773880,"longitude_deg":75.6668096,"latitude_deg":11.977388,"altitude":55,"angle":225,"satellites":33,"speed":7,"hex_longitude":"2d19d6c0","hex_latitude":"07239ab8","is_valid_coordinates":true} 
[2026-07-25 14:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952609536001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790165967339520,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862097739091546112,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:31] 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-07-25 14:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971133000,"timestamp_ms":1784971133000,"timestamp_seconds":1784971133,"priority":1,"record_length":96,"hex_timestamp":"0000019f98920048"} 
[2026-07-25 14:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 14:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:50:31] 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-07-25 14:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952609536001,"66":13091,"177":206,"83":42752,"24":7,"16":8790165967339520,"45":1862097739091546112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952609536001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:50:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790165967339520,"km_value":8790165967339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862097739091546112,"description":"Unknown IO ID 45"} 
[2026-07-25 14:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952609536001,"power":13091,"unknown_177":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1862097739091546112}} 
[2026-07-25 14:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":141085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:50:31] local.INFO: GPS data processed {"connection_id":141085,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:50:31] local.INFO: Acknowledgment sent {"connection_id":141085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:50:33] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98927d48012da5b04005f42c70001301272a..."} 
[2026-07-25 14:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98927d48012da5b04005f42c70001301272a..."} 
[2026-07-25 14:50:33] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98927d48012da5b04005f42c70001301272a..."} 
[2026-07-25 14:50:33] local.INFO: Packet analysis {"connection_id":141146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:50:33] local.INFO: Extracted packet for processing {"connection_id":141146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765833280,"raw_latitude":99888240,"longitude_deg":76.583328,"latitude_deg":9.988824,"altitude":19,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2da5b040","hex_latitude":"05f42c70","is_valid_coordinates":true} 
[2026-07-25 14:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952551936001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784971165000,"timestamp_ms":1784971165000,"timestamp_seconds":1784971165,"priority":1,"record_length":96,"hex_timestamp":"0000019f98927d48"} 
[2026-07-25 14:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 14:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 14:50: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-07-25 14:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952551936001,"66":25854,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952551936001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952551936001,"power":25854,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":141146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:50:33] local.INFO: GPS data processed {"connection_id":141146,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:50:33] local.INFO: Acknowledgment sent {"connection_id":141146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:50:49] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98938ad0012d7e3c8005d35960000f006815..."} 
[2026-07-25 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98938ad0012d7e3c8005d35960000f006815..."} 
[2026-07-25 14:50:49] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98938ad0012d7e3c8005d35960000f006815..."} 
[2026-07-25 14:50:49] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:50:49] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":763247744,"raw_latitude":97737056,"longitude_deg":76.3247744,"latitude_deg":9.7737056,"altitude":15,"angle":104,"satellites":21,"speed":19,"hex_longitude":"2d7e3c80","hex_latitude":"05d35960","is_valid_coordinates":true} 
[2026-07-25 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952635392001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110231920494772224,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209983789056,"note":"Value kept but may cause issues"} 
[2026-07-25 14:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784971234000,"timestamp_ms":1784971234000,"timestamp_seconds":1784971234,"priority":1,"record_length":96,"hex_timestamp":"0000019f98938ad0"} 
[2026-07-25 14:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 14:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952635392001,"66":12809,"109":206,"85":15104,"24":19,"16":110231920494772224,"45":9095160209983789056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952635392001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:50:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:50:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110231920494772224,"km_value":110231920494772.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209983789056,"description":"Unknown IO ID 45"} 
[2026-07-25 14:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952635392001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9095160209983789056}} 
[2026-07-25 14:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:50:50] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:50:50] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:50:54] local.INFO: TCP Data received {"connection_id":141147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:54] local.INFO: Processing buffer {"connection_id":141147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:54] local.INFO: IMEI packet received {"connection_id":141147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":141147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:50:55] local.INFO: TCP Data received {"connection_id":141147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:55] local.INFO: Processing buffer {"connection_id":141147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:55] local.INFO: IMEI packet received {"connection_id":141147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":141147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:50:57] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:50:57] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:50:57] local.INFO: IMEI packet received {"connection_id":141086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":141086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:50:59] local.INFO: TCP Data received {"connection_id":141147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:59] local.INFO: Processing buffer {"connection_id":141147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:50:59] local.INFO: IMEI packet received {"connection_id":141147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":141147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:51:00] local.INFO: TCP Data received {"connection_id":141147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98925250012d19d64007239a40003600e123..."} 
[2026-07-25 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98925250012d19d64007239a40003600e123..."} 
[2026-07-25 14:51:00] local.INFO: Processing buffer {"connection_id":141147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98925250012d19d64007239a40003600e123..."} 
[2026-07-25 14:51:00] local.INFO: Packet analysis {"connection_id":141147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:00] local.INFO: Extracted packet for processing {"connection_id":141147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952610048001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632858925056,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:00] 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-07-25 14:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971154000,"timestamp_ms":1784971154000,"timestamp_seconds":1784971154,"priority":1,"record_length":96,"hex_timestamp":"0000019f98925250"} 
[2026-07-25 14:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952610048001,"66":13080,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861886632858925056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952610048001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632858925056,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952610048001,"power":13080,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861886632858925056}} 
[2026-07-25 14:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":141147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:00] local.INFO: GPS data processed {"connection_id":141147,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:00] local.INFO: Acknowledgment sent {"connection_id":141147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:00] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:00] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:00] local.INFO: IMEI packet received {"connection_id":141086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":141086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:51:05] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:05] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:05] local.INFO: IMEI packet received {"connection_id":141086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":141086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:51:06] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9892d720012da5ae0005f42d280013012e29..."} 
[2026-07-25 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9892d720012da5ae0005f42d280013012e29..."} 
[2026-07-25 14:51:06] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9892d720012da5ae0005f42d280013012e29..."} 
[2026-07-25 14:51:06] local.INFO: Packet analysis {"connection_id":141086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:06] local.INFO: Extracted packet for processing {"connection_id":141086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":765832704,"raw_latitude":99888424,"longitude_deg":76.5832704,"latitude_deg":9.9888424,"altitude":19,"angle":302,"satellites":41,"speed":0,"hex_longitude":"2da5ae00","hex_latitude":"05f42d28","is_valid_coordinates":true} 
[2026-07-25 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952618240001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507631067234799616,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784971188000,"timestamp_ms":1784971188000,"timestamp_seconds":1784971188,"priority":1,"record_length":96,"hex_timestamp":"0000019f9892d720"} 
[2026-07-25 14:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952618240001,"66":28050,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6507631067234799616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952618240001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:51:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507631067234799616,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952618240001,"power":28050,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6507631067234799616}} 
[2026-07-25 14:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":141086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:06] local.INFO: GPS data processed {"connection_id":141086,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:06] local.INFO: Acknowledgment sent {"connection_id":141086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:08] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98932928012da5ae0005f42d280013012e2a..."} 
[2026-07-25 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98932928012da5ae0005f42d280013012e2a..."} 
[2026-07-25 14:51:08] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98932928012da5ae0005f42d280013012e2a..."} 
[2026-07-25 14:51:08] local.INFO: Packet analysis {"connection_id":141086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:08] local.INFO: Extracted packet for processing {"connection_id":141086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:08] local.INFO: GPS Element Parsed {"raw_longitude":765832704,"raw_latitude":99888424,"longitude_deg":76.5832704,"latitude_deg":9.9888424,"altitude":19,"angle":302,"satellites":42,"speed":0,"hex_longitude":"2da5ae00","hex_latitude":"05f42d28","is_valid_coordinates":true} 
[2026-07-25 14:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952624128001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783699313393664,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508264385932351488,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784971209000,"timestamp_ms":1784971209000,"timestamp_seconds":1784971209,"priority":1,"record_length":96,"hex_timestamp":"0000019f98932928"} 
[2026-07-25 14:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952624128001,"66":27995,"10":206,"88":19456,"24":0,"16":357783699313393664,"45":-6508264385932351488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952624128001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:51:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783699313393664,"km_value":357783699313393.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508264385932351488,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952624128001,"power":27995,"unknown_10":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6508264385932351488}} 
[2026-07-25 14:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":141086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:08] local.INFO: GPS data processed {"connection_id":141086,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:08] local.INFO: Acknowledgment sent {"connection_id":141086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:21] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98939e58012d7e444005d357e8000d005615..."} 
[2026-07-25 14:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98939e58012d7e444005d357e8000d005615..."} 
[2026-07-25 14:51:21] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98939e58012d7e444005d357e8000d005615..."} 
[2026-07-25 14:51:21] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:21] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:21] local.INFO: GPS Element Parsed {"raw_longitude":763249728,"raw_latitude":97736680,"longitude_deg":76.3249728,"latitude_deg":9.773668,"altitude":13,"angle":86,"satellites":21,"speed":16,"hex_longitude":"2d7e4440","hex_latitude":"05d357e8","is_valid_coordinates":true} 
[2026-07-25 14:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110232019279020032,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096286109890600960,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784971239000,"timestamp_ms":1784971239000,"timestamp_seconds":1784971239,"priority":1,"record_length":96,"hex_timestamp":"0000019f98939e58"} 
[2026-07-25 14:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":792633534584980480,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2559796160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-7827300127776821632,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221607255,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748877,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2670657536,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218639970105205739,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121225648819797,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,159,131,45,128,89,17,21,10,66,115,64,88,111,1,240,145,227,152,211,4,113,205,8,103,46,48,239,49,2,135,5,11,50,59,44],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-25 14:51:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1080978349973766144,"timestamp_seconds":1080978349973766.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952635904001,"66":12939,"109":206,"85":15104,"24":16,"16":110232019279020032,"45":9096286109890600960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110232019279020032,"km_value":110232019279020.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096286109890600960,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952635904001,"power":12939,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9096286109890600960}} 
[2026-07-25 14:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:21] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:21] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:31] local.INFO: TCP Data received {"connection_id":141147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9892a458012d19d64007239a40003600e122..."} 
[2026-07-25 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9892a458012d19d64007239a40003600e122..."} 
[2026-07-25 14:51:31] local.INFO: Processing buffer {"connection_id":141147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9892a458012d19d64007239a40003600e122..."} 
[2026-07-25 14:51:31] local.INFO: Packet analysis {"connection_id":141147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:31] local.INFO: Extracted packet for processing {"connection_id":141147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":34,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952615424001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:31] 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-07-25 14:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971175000,"timestamp_ms":1784971175000,"timestamp_seconds":1784971175,"priority":1,"record_length":96,"hex_timestamp":"0000019f9892a458"} 
[2026-07-25 14:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:51:31] 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-07-25 14:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952615424001,"66":12950,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952615424001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952615424001,"power":12950,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":141147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:31] local.INFO: GPS data processed {"connection_id":141147,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:31] local.INFO: Acknowledgment sent {"connection_id":141147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:39] local.INFO: TCP Data received {"connection_id":141086,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98935038012da5acc005f42bf0001700f12b..."} 
[2026-07-25 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98935038012da5acc005f42bf0001700f12b..."} 
[2026-07-25 14:51:39] local.INFO: Processing buffer {"connection_id":141086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98935038012da5acc005f42bf0001700f12b..."} 
[2026-07-25 14:51:39] local.INFO: Packet analysis {"connection_id":141086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:39] local.INFO: Extracted packet for processing {"connection_id":141086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:39] local.INFO: GPS Element Parsed {"raw_longitude":765832384,"raw_latitude":99888112,"longitude_deg":76.5832384,"latitude_deg":9.9888112,"altitude":23,"angle":241,"satellites":43,"speed":1,"hex_longitude":"2da5acc0","hex_latitude":"05f42bf0","is_valid_coordinates":true} 
[2026-07-25 14:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952629504001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783720788230144,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508264385932351488,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784971219000,"timestamp_ms":1784971219000,"timestamp_seconds":1784971219,"priority":1,"record_length":96,"hex_timestamp":"0000019f98935038"} 
[2026-07-25 14:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952629504001,"66":28050,"10":206,"88":19456,"24":1,"16":357783720788230144,"45":-6508264385932351488},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952629504001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:51:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783720788230144,"km_value":357783720788230.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508264385932351488,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952629504001,"power":28050,"unknown_10":206,"unknown_88":19456,"ignition":1,"odometer":null,"unknown_45":-6508264385932351488}} 
[2026-07-25 14:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":141086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:39] local.INFO: GPS data processed {"connection_id":141086,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:39] local.INFO: Acknowledgment sent {"connection_id":141086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:52] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9893b5c8012d7e504005d357a0000a006815..."} 
[2026-07-25 14:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9893b5c8012d7e504005d357a0000a006815..."} 
[2026-07-25 14:51:52] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9893b5c8012d7e504005d357a0000a006815..."} 
[2026-07-25 14:51:52] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:52] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":763252800,"raw_latitude":97736608,"longitude_deg":76.32528,"latitude_deg":9.7736608,"altitude":10,"angle":104,"satellites":21,"speed":18,"hex_longitude":"2d7e5040","hex_latitude":"05d357a0","is_valid_coordinates":true} 
[2026-07-25 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952637184001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110232165307908096,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098467540960012288,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784971245000,"timestamp_ms":1784971245000,"timestamp_seconds":1784971245,"priority":1,"record_length":96,"hex_timestamp":"0000019f9893b5c8"} 
[2026-07-25 14:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952637184001,"66":12863,"109":206,"85":15104,"24":18,"16":110232165307908096,"45":9098467540960012288},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952637184001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110232165307908096,"km_value":110232165307908.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098467540960012288,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952637184001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9098467540960012288}} 
[2026-07-25 14:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:52] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:52] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:51:54] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:54] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:54] local.INFO: IMEI packet received {"connection_id":143495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":143495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:51:55] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:55] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:55] local.INFO: IMEI packet received {"connection_id":143494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":143494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:51:56] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:56] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:51:56] local.INFO: IMEI packet received {"connection_id":143494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":143494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:51:58] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:58] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:58] local.INFO: IMEI packet received {"connection_id":143495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":143495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:51:59] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:59] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:51:59] local.INFO: IMEI packet received {"connection_id":143495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":143495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:51:59] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9892f660012d19d64007239a40003600e121..."} 
[2026-07-25 14:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9892f660012d19d64007239a40003600e121..."} 
[2026-07-25 14:51:59] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9892f660012d19d64007239a40003600e121..."} 
[2026-07-25 14:51:59] local.INFO: Packet analysis {"connection_id":143495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:59] local.INFO: Extracted packet for processing {"connection_id":143495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9892"} 
[2026-07-25 14:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952620800001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:51:59] 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-07-25 14:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784971196000,"timestamp_ms":1784971196000,"timestamp_seconds":1784971196,"priority":1,"record_length":96,"hex_timestamp":"0000019f9892f660"} 
[2026-07-25 14:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 14:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:51: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-07-25 14:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952620800001,"66":12950,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952620800001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952620800001,"power":12950,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":143495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:51:59] local.INFO: GPS data processed {"connection_id":143495,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:51:59] local.INFO: Acknowledgment sent {"connection_id":143495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:00] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:52:00] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:52:00] local.INFO: IMEI packet received {"connection_id":143494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":143494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:52:01] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98936b90012da5ab4005f42b78001601002c..."} 
[2026-07-25 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98936b90012da5ab4005f42b78001601002c..."} 
[2026-07-25 14:52:01] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98936b90012da5ab4005f42b78001601002c..."} 
[2026-07-25 14:52:01] local.INFO: Packet analysis {"connection_id":143494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:01] local.INFO: Extracted packet for processing {"connection_id":143494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:01] local.INFO: GPS Element Parsed {"raw_longitude":765832000,"raw_latitude":99887992,"longitude_deg":76.5832,"latitude_deg":9.9887992,"altitude":22,"angle":256,"satellites":44,"speed":3,"hex_longitude":"2da5ab40","hex_latitude":"05f42b78","is_valid_coordinates":true} 
[2026-07-25 14:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952632064001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783742263066624,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6508616229653319680,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784971226000,"timestamp_ms":1784971226000,"timestamp_seconds":1784971226,"priority":1,"record_length":96,"hex_timestamp":"0000019f98936b90"} 
[2026-07-25 14:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952632064001,"66":27919,"10":206,"88":19456,"24":3,"16":357783742263066624,"45":-6508616229653319680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952632064001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:01] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:52:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783742263066624,"km_value":357783742263066.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6508616229653319680,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952632064001,"power":27919,"unknown_10":206,"unknown_88":19456,"ignition":3,"odometer":null,"unknown_45":-6508616229653319680}} 
[2026-07-25 14:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":143494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:01] local.INFO: GPS data processed {"connection_id":143494,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:01] local.INFO: Acknowledgment sent {"connection_id":143494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:04] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98934868012d19d64007239a40003600e123..."} 
[2026-07-25 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98934868012d19d64007239a40003600e123..."} 
[2026-07-25 14:52:04] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98934868012d19d64007239a40003600e123..."} 
[2026-07-25 14:52:04] local.INFO: Packet analysis {"connection_id":143495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:04] local.INFO: Extracted packet for processing {"connection_id":143495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952626176001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:04] 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-07-25 14:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784971217000,"timestamp_ms":1784971217000,"timestamp_seconds":1784971217,"priority":1,"record_length":96,"hex_timestamp":"0000019f98934868"} 
[2026-07-25 14:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:52:04] 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-07-25 14:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952626176001,"66":12874,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952626176001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:52:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952626176001,"power":12874,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":143495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:04] local.INFO: GPS data processed {"connection_id":143495,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:04] local.INFO: Acknowledgment sent {"connection_id":143495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:06] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98937360012da5a9c005f42b80001601162b..."} 
[2026-07-25 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98937360012da5a9c005f42b80001601162b..."} 
[2026-07-25 14:52:06] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98937360012da5a9c005f42b80001601162b..."} 
[2026-07-25 14:52:06] local.INFO: Packet analysis {"connection_id":143494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:06] local.INFO: Extracted packet for processing {"connection_id":143494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":765831616,"raw_latitude":99888000,"longitude_deg":76.5831616,"latitude_deg":9.9888,"altitude":22,"angle":278,"satellites":43,"speed":9,"hex_longitude":"2da5a9c0","hex_latitude":"05f42b80","is_valid_coordinates":true} 
[2026-07-25 14:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952633856001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357783759442935808,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6509038442118416384,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784971228000,"timestamp_ms":1784971228000,"timestamp_seconds":1784971228,"priority":1,"record_length":96,"hex_timestamp":"0000019f98937360"} 
[2026-07-25 14:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952633856001,"66":28158,"10":206,"88":19456,"24":9,"16":357783759442935808,"45":-6509038442118416384},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-07-25 14:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952633856001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-25 14:52:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357783759442935808,"km_value":357783759442935.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6509038442118416384,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952633856001,"power":28158,"unknown_10":206,"unknown_88":19456,"ignition":9,"odometer":null,"unknown_45":-6509038442118416384}} 
[2026-07-25 14:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":143494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:06] local.INFO: GPS data processed {"connection_id":143494,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:06] local.INFO: Acknowledgment sent {"connection_id":143494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:23] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9894e678012d7e46c005d3efe8000a016515..."} 
[2026-07-25 14:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9894e678012d7e46c005d3efe8000a016515..."} 
[2026-07-25 14:52:23] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9894e678012d7e46c005d3efe8000a016515..."} 
[2026-07-25 14:52:23] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:52:23] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":763250368,"raw_latitude":97775592,"longitude_deg":76.3250368,"latitude_deg":9.7775592,"altitude":10,"angle":357,"satellites":21,"speed":44,"hex_longitude":"2d7e46c0","hex_latitude":"05d3efe8","is_valid_coordinates":true} 
[2026-07-25 14:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952656384001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110234205417373696,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099311965897779200,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784971323000,"timestamp_ms":1784971323000,"timestamp_seconds":1784971323,"priority":1,"record_length":96,"hex_timestamp":"0000019f9894e678"} 
[2026-07-25 14:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303153701506381,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399439,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2559843160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2488403969,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085581,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2680422400,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545954304,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,161,159,140,45,128,167,9,21,10,66,160,121,64,152,7,113,1,240,227,211,4,205,22,35,82,104,239,50,2,135,5,15],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-25 14:52:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648909862677315584,"timestamp_seconds":648909862677315.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952656384001,"66":13319,"109":206,"85":15104,"24":44,"16":110234205417373696,"45":9099311965897779200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952656384001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:52:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110234205417373696,"km_value":110234205417373.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099311965897779200,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952656384001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9099311965897779200}} 
[2026-07-25 14:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:23] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:23] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:35] local.INFO: TCP Data received {"connection_id":143495,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98939a70012d19d64007239a40003600e123..."} 
[2026-07-25 14:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98939a70012d19d64007239a40003600e123..."} 
[2026-07-25 14:52:35] local.INFO: Processing buffer {"connection_id":143495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98939a70012d19d64007239a40003600e123..."} 
[2026-07-25 14:52:35] local.INFO: Packet analysis {"connection_id":143495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:35] local.INFO: Extracted packet for processing {"connection_id":143495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952631552001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:35] 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-07-25 14:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784971238000,"timestamp_ms":1784971238000,"timestamp_seconds":1784971238,"priority":1,"record_length":96,"hex_timestamp":"0000019f98939a70"} 
[2026-07-25 14:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:52:35] 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-07-25 14:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952631552001,"66":12852,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952631552001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:52:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952631552001,"power":12852,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":143495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:36] local.INFO: GPS data processed {"connection_id":143495,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:36] local.INFO: Acknowledgment sent {"connection_id":143495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:38] local.INFO: TCP Data received {"connection_id":143494,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9893c180012da5874005f433600013011a2b..."} 
[2026-07-25 14:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9893c180012da5874005f433600013011a2b..."} 
[2026-07-25 14:52:38] local.INFO: Processing buffer {"connection_id":143494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9893c180012da5874005f433600013011a2b..."} 
[2026-07-25 14:52:38] local.INFO: Packet analysis {"connection_id":143494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:38] local.INFO: Extracted packet for processing {"connection_id":143494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:52:38] local.INFO: GPS Element Parsed {"raw_longitude":765822784,"raw_latitude":99890016,"longitude_deg":76.5822784,"latitude_deg":9.9890016,"altitude":19,"angle":282,"satellites":43,"speed":21,"hex_longitude":"2da58740","hex_latitude":"05f43360","is_valid_coordinates":true} 
[2026-07-25 14:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952634368001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357784193234632704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6509460654583480320,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784971248000,"timestamp_ms":1784971248000,"timestamp_seconds":1784971248,"priority":1,"record_length":96,"hex_timestamp":"0000019f9893c180"} 
[2026-07-25 14:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3029,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952634368001,"66":27995,"34":206,"88":19456,"24":21,"16":357784193234632704,"45":-6509460654583480320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-07-25 14:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952634368001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 14:52:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357784193234632704,"km_value":357784193234632.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6509460654583480320,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952634368001,"power":27995,"unknown_34":206,"unknown_88":19456,"ignition":21,"odometer":null,"unknown_45":-6509460654583480320}} 
[2026-07-25 14:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":143494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:38] local.INFO: GPS data processed {"connection_id":143494,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:38] local.INFO: Acknowledgment sent {"connection_id":143494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:45] local.INFO: TCP Data received {"connection_id":143492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:52:45] local.INFO: Processing buffer {"connection_id":143492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:52:45] local.INFO: IMEI packet received {"connection_id":143492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":143492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:52:54] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:52:54] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:52:54] local.INFO: IMEI packet received {"connection_id":141087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":141087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:52:54] local.INFO: TCP Data received {"connection_id":142123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9894fde8012d7e430005d40ba8000a015815..."} 
[2026-07-25 14:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9894fde8012d7e430005d40ba8000a015815..."} 
[2026-07-25 14:52:54] local.INFO: Processing buffer {"connection_id":142123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9894fde8012d7e430005d40ba8000a015815..."} 
[2026-07-25 14:52:54] local.INFO: Packet analysis {"connection_id":142123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:52:54] local.INFO: Extracted packet for processing {"connection_id":142123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":97782696,"longitude_deg":76.3249408,"latitude_deg":9.7782696,"altitude":10,"angle":344,"satellites":21,"speed":45,"hex_longitude":"2d7e4300","hex_latitude":"05d40ba8","is_valid_coordinates":true} 
[2026-07-25 14:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952658688001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110234557604691968,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099171228411750400,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784971329000,"timestamp_ms":1784971329000,"timestamp_seconds":1784971329,"priority":1,"record_length":96,"hex_timestamp":"0000019f9894fde8"} 
[2026-07-25 14:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2559845160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2490451969,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6554989287724553472,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3221607293,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2686320640,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3546179584,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":139,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.WARNING: Large IO value detected {"io_id":148,"raw_value":1970326131879133189,"note":"Value kept but may cause issues"} 
[2026-07-25 14:52:54] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,109,85,24,241,157,16,161,159,195,45,64,204,9,21,10,66,140,128,167,160,121,1,240,46,227,152,211,4,113,205,33,82,80,88,239,51,2,135,5,7,20,139,148],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-25 14:52:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720968556227592192,"timestamp_seconds":720968556227592.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952658688001,"66":12526,"109":206,"85":15104,"24":45,"16":110234557604691968,"45":9099171228411750400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952658688001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:52:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110234557604691968,"km_value":110234557604691.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099171228411750400,"description":"Unknown IO ID 45"} 
[2026-07-25 14:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952658688001,"power":12526,"unknown_109":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9099171228411750400}} 
[2026-07-25 14:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":142123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:52:54] local.INFO: GPS data processed {"connection_id":142123,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:52:54] local.INFO: Acknowledgment sent {"connection_id":142123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:52:55] local.INFO: TCP Data received {"connection_id":141088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:52:55] local.INFO: Processing buffer {"connection_id":141088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:52:55] local.INFO: IMEI packet received {"connection_id":141088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":141088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:52:59] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:52:59] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:52:59] local.INFO: IMEI packet received {"connection_id":141087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":141087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:53:00] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9893ec78012d19d64007239a40003600e124..."} 
[2026-07-25 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9893ec78012d19d64007239a40003600e124..."} 
[2026-07-25 14:53:00] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9893ec78012d19d64007239a40003600e124..."} 
[2026-07-25 14:53:00] local.INFO: Packet analysis {"connection_id":141087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:53:00] local.INFO: Extracted packet for processing {"connection_id":141087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952636928001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:00] 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-07-25 14:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971259000,"timestamp_ms":1784971259000,"timestamp_seconds":1784971259,"priority":1,"record_length":96,"hex_timestamp":"0000019f9893ec78"} 
[2026-07-25 14:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 14:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952636928001,"66":12819,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952636928001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:53:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952636928001,"power":12819,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":141087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:53:00] local.INFO: GPS data processed {"connection_id":141087,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:53:00] local.INFO: Acknowledgment sent {"connection_id":141087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:53:00] local.INFO: TCP Data received {"connection_id":141088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:53:00] local.INFO: Processing buffer {"connection_id":141088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:53:00] local.INFO: IMEI packet received {"connection_id":141088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":141088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:53:01] local.INFO: TCP Data received {"connection_id":141088,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9893f060012da570c005f438200013012e2c..."} 
[2026-07-25 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9893f060012da570c005f438200013012e2c..."} 
[2026-07-25 14:53:01] local.INFO: Processing buffer {"connection_id":141088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9893f060012da570c005f438200013012e2c..."} 
[2026-07-25 14:53:01] local.INFO: Packet analysis {"connection_id":141088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:53:01] local.INFO: Extracted packet for processing {"connection_id":141088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9893"} 
[2026-07-25 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":765817024,"raw_latitude":99891232,"longitude_deg":76.5817024,"latitude_deg":9.9891232,"altitude":19,"angle":302,"satellites":44,"speed":12,"hex_longitude":"2da570c0","hex_latitude":"05f43820","is_valid_coordinates":true} 
[2026-07-25 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952639488001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357784476702474240,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6519171541279481856,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784971260000,"timestamp_ms":1784971260000,"timestamp_seconds":1784971260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9893f060"} 
[2026-07-25 14:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952639488001,"66":28028,"34":206,"88":19456,"24":12,"16":357784476702474240,"45":-6519171541279481856},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,88,24,16,45]} 
[2026-07-25 14:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952639488001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:53:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 14:53:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357784476702474240,"km_value":357784476702474.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6519171541279481856,"description":"Unknown IO ID 45"} 
[2026-07-25 14:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952639488001,"power":28028,"unknown_34":206,"unknown_88":19456,"ignition":12,"odometer":null,"unknown_45":-6519171541279481856}} 
[2026-07-25 14:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":141088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:53:01] local.INFO: GPS data processed {"connection_id":141088,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:53:01] local.INFO: Acknowledgment sent {"connection_id":141088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:53:18] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:18] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:18] local.INFO: IMEI packet received {"connection_id":143496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":143496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:53:18] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:18] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:18] local.INFO: IMEI packet received {"connection_id":143496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":143496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:53:22] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:22] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:53:22] local.INFO: IMEI packet received {"connection_id":143496,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":143496,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:53:23] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98952110012d7e3a4005d42ec0000c016214..."} 
[2026-07-25 14:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98952110012d7e3a4005d42ec0000c016214..."} 
[2026-07-25 14:53:23] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98952110012d7e3a4005d42ec0000c016214..."} 
[2026-07-25 14:53:23] local.INFO: Packet analysis {"connection_id":143496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:53:23] local.INFO: Extracted packet for processing {"connection_id":143496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97791680,"longitude_deg":76.3247168,"latitude_deg":9.779168,"altitude":12,"angle":354,"satellites":20,"speed":35,"hex_longitude":"2d7e3a40","hex_latitude":"05d42ec0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952660224001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110235004281290752,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697250904064,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784971338000,"timestamp_ms":1784971338000,"timestamp_seconds":1784971338,"priority":1,"record_length":96,"hex_timestamp":"0000019f98952110"} 
[2026-07-25 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-07-25 14:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 14:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952660224001,"66":12798,"109":206,"85":15104,"24":35,"16":110235004281290752,"45":9098115697250904064},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 14:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952660224001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:53:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 14:53:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110235004281290752,"km_value":110235004281290.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697250904064,"description":"Unknown IO ID 45"} 
[2026-07-25 14:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952660224001,"power":12798,"unknown_109":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9098115697250904064}} 
[2026-07-25 14:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":143496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:53:23] local.INFO: GPS data processed {"connection_id":143496,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:53:23] local.INFO: Acknowledgment sent {"connection_id":143496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:53:31] local.INFO: TCP Data received {"connection_id":141087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98943e80012d19d64007239a40003600e125..."} 
[2026-07-25 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98943e80012d19d64007239a40003600e125..."} 
[2026-07-25 14:53:31] local.INFO: Processing buffer {"connection_id":141087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98943e80012d19d64007239a40003600e125..."} 
[2026-07-25 14:53:31] local.INFO: Packet analysis {"connection_id":141087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:53:31] local.INFO: Extracted packet for processing {"connection_id":141087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952642304001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] 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-07-25 14:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971280000,"timestamp_ms":1784971280000,"timestamp_seconds":1784971280,"priority":1,"record_length":96,"hex_timestamp":"0000019f98943e80"} 
[2026-07-25 14:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2559705160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":24577,"corrected_to":0} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84752385641489312,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733754396672,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-7928455197538789504,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7687926925064863768,"corrected_to":0} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182062205894912,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241649447325267,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2565943480803182624,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":167,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.WARNING: Large IO value detected {"io_id":128,"raw_value":15200456766653952,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,177,83,24,241,157,16,58,159,154,45,64,54,35,10,66,72,246,1,240,150,227,152,4,113,205,82,214,239,51,2,31,7,55,167,156,69,128],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":246,"original":24577,"validated":0},{"io_id":205,"original":7687926925064863768,"validated":0}]} 
[2026-07-25 14:53:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891357622783180800,"timestamp_seconds":3891357622783181.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:53:31] 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-07-25 14:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952642304001,"66":12798,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952642304001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952642304001,"power":12798,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":141087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:53:31] local.INFO: GPS data processed {"connection_id":141087,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:53:31] local.INFO: Acknowledgment sent {"connection_id":141087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:53:36] local.INFO: TCP Data received {"connection_id":141088,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98954050012da5ec8005f4b8700016004f2c..."} 
[2026-07-25 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98954050012da5ec8005f4b8700016004f2c..."} 
[2026-07-25 14:53:36] local.INFO: Processing buffer {"connection_id":141088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98954050012da5ec8005f4b8700016004f2c..."} 
[2026-07-25 14:53:36] local.INFO: Packet analysis {"connection_id":141088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:53:36] local.INFO: Extracted packet for processing {"connection_id":141088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":765848704,"raw_latitude":99924080,"longitude_deg":76.5848704,"latitude_deg":9.992408,"altitude":22,"angle":79,"satellites":44,"speed":8,"hex_longitude":"2da5ec80","hex_latitude":"05f4b870","is_valid_coordinates":true} 
[2026-07-25 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952664064001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357786710085468160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6491094412343904256,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784971346000,"timestamp_ms":1784971346000,"timestamp_seconds":1784971346,"priority":1,"record_length":96,"hex_timestamp":"0000019f98954050"} 
[2026-07-25 14:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 14:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952664064001,"66":27974,"86":206,"88":19456,"24":8,"16":357786710085468160,"45":-6491094412343904256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,88,24,16,45]} 
[2026-07-25 14:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952664064001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:53:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-25 14:53:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357786710085468160,"km_value":357786710085468.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6491094412343904256,"description":"Unknown IO ID 45"} 
[2026-07-25 14:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952664064001,"power":27974,"unknown_86":206,"unknown_88":19456,"ignition":8,"odometer":null,"unknown_45":-6491094412343904256}} 
[2026-07-25 14:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":141088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:53:36] local.INFO: GPS data processed {"connection_id":141088,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:53:36] local.INFO: Acknowledgment sent {"connection_id":141088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:53:54] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989680a0012d7e1ac005d56370000b014915..."} 
[2026-07-25 14:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989680a0012d7e1ac005d56370000b014915..."} 
[2026-07-25 14:53:54] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989680a0012d7e1ac005d56370000b014915..."} 
[2026-07-25 14:53:54] local.INFO: Packet analysis {"connection_id":143496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:53:54] local.INFO: Extracted packet for processing {"connection_id":143496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763239104,"raw_latitude":97870704,"longitude_deg":76.3239104,"latitude_deg":9.7870704,"altitude":11,"angle":329,"satellites":21,"speed":18,"hex_longitude":"2d7e1ac0","hex_latitude":"05d56370","is_valid_coordinates":true} 
[2026-07-25 14:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952684032001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110238886931726336,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087349279413338112,"note":"Value kept but may cause issues"} 
[2026-07-25 14:53:54] 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-07-25 14:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784971428000,"timestamp_ms":1784971428000,"timestamp_seconds":1784971428,"priority":1,"record_length":96,"hex_timestamp":"0000019f989680a0"} 
[2026-07-25 14:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 14:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952684032001,"66":13243,"111":206,"85":15104,"24":18,"16":110238886931726336,"45":9087349279413338112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 14:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952684032001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:53:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 14:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110238886931726336,"km_value":110238886931726.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087349279413338112,"description":"Unknown IO ID 45"} 
[2026-07-25 14:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952684032001,"power":13243,"unknown_111":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9087349279413338112}} 
[2026-07-25 14:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":143496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:53:54] local.INFO: GPS data processed {"connection_id":143496,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:53:54] local.INFO: Acknowledgment sent {"connection_id":143496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:53:59] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:53:59] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:53:59] local.INFO: IMEI packet received {"connection_id":141148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":141148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:54:00] local.INFO: TCP Data received {"connection_id":141149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:00] local.INFO: Processing buffer {"connection_id":141149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:00] local.INFO: IMEI packet received {"connection_id":141149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":141149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:54:01] local.INFO: TCP Data received {"connection_id":141149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:01] local.INFO: Processing buffer {"connection_id":141149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:01] local.INFO: IMEI packet received {"connection_id":141149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":141149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:54:02] local.INFO: TCP Data received {"connection_id":141149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:02] local.INFO: Processing buffer {"connection_id":141149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:02] local.INFO: IMEI packet received {"connection_id":141149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":141149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:54:03] local.INFO: TCP Data received {"connection_id":141149,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:03] local.INFO: Processing buffer {"connection_id":141149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:54:03] local.INFO: IMEI packet received {"connection_id":141149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 14:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":141149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:54:04] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:04] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:04] local.INFO: IMEI packet received {"connection_id":141148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":141148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:54:05] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98949088012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98949088012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:05] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98949088012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:05] local.INFO: Packet analysis {"connection_id":141148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:54:05] local.INFO: Extracted packet for processing {"connection_id":141148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952647680001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:05] 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-07-25 14:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784971301000,"timestamp_ms":1784971301000,"timestamp_seconds":1784971301,"priority":1,"record_length":96,"hex_timestamp":"0000019f98949088"} 
[2026-07-25 14:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 14:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:54:05] 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-07-25 14:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952647680001,"66":12722,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952647680001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:54:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952647680001,"power":12722,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":141148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:54:05] local.INFO: GPS data processed {"connection_id":141148,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:54:05] local.INFO: Acknowledgment sent {"connection_id":141148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:54:06] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9894e290012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9894e290012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:06] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9894e290012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:06] local.INFO: Packet analysis {"connection_id":141148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:54:06] local.INFO: Extracted packet for processing {"connection_id":141148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9894"} 
[2026-07-25 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952653056001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54: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-07-25 14:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784971322000,"timestamp_ms":1784971322000,"timestamp_seconds":1784971322,"priority":1,"record_length":96,"hex_timestamp":"0000019f9894e290"} 
[2026-07-25 14:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 14:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:54:06] 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-07-25 14:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952653056001,"66":12689,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952653056001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:54:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952653056001,"power":12689,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":141148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:54:06] local.INFO: GPS data processed {"connection_id":141148,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:54:06] local.INFO: Acknowledgment sent {"connection_id":141148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:54:25] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98968488012d7e198005d56490000b013515..."} 
[2026-07-25 14:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98968488012d7e198005d56490000b013515..."} 
[2026-07-25 14:54:25] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98968488012d7e198005d56490000b013515..."} 
[2026-07-25 14:54:25] local.INFO: Packet analysis {"connection_id":143496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:54:25] local.INFO: Extracted packet for processing {"connection_id":143496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763238784,"raw_latitude":97870992,"longitude_deg":76.3238784,"latitude_deg":9.7870992,"altitude":11,"angle":309,"satellites":21,"speed":15,"hex_longitude":"2d7e1980","hex_latitude":"05d56490","is_valid_coordinates":true} 
[2026-07-25 14:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952685568001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110238908406562816,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086786329460830208,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:25] 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-07-25 14:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784971429000,"timestamp_ms":1784971429000,"timestamp_seconds":1784971429,"priority":1,"record_length":96,"hex_timestamp":"0000019f98968488"} 
[2026-07-25 14:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 14:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952685568001,"66":13243,"111":206,"85":15104,"24":15,"16":110238908406562816,"45":9086786329460830208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 14:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952685568001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:54:25] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 14:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110238908406562816,"km_value":110238908406562.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086786329460830208,"description":"Unknown IO ID 45"} 
[2026-07-25 14:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952685568001,"power":13243,"unknown_111":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9086786329460830208}} 
[2026-07-25 14:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":143496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:54:25] local.INFO: GPS data processed {"connection_id":143496,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:54:25] local.INFO: Acknowledgment sent {"connection_id":143496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:54:37] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98953498012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98953498012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:37] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98953498012d19d64007239a40003600e125..."} 
[2026-07-25 14:54:37] local.INFO: Packet analysis {"connection_id":141148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:54:37] local.INFO: Extracted packet for processing {"connection_id":141148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952658432001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54: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-07-25 14:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784971343000,"timestamp_ms":1784971343000,"timestamp_seconds":1784971343,"priority":1,"record_length":96,"hex_timestamp":"0000019f98953498"} 
[2026-07-25 14:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":145,"data_length":795,"current_offset":136} 
[2026-07-25 14:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:54:37] 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-07-25 14:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952658432001,"66":12613,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952658432001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:54:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952658432001,"power":12613,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":141148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:54:37] local.INFO: GPS data processed {"connection_id":141148,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:54:37] local.INFO: Acknowledgment sent {"connection_id":141148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:54:54] local.INFO: TCP Data received {"connection_id":142124,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:54] local.INFO: Processing buffer {"connection_id":142124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:54] local.INFO: IMEI packet received {"connection_id":142124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":142124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:54:56] local.INFO: TCP Data received {"connection_id":143496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98976718012d7dc64005d57df8000e012215..."} 
[2026-07-25 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98976718012d7dc64005d57df8000e012215..."} 
[2026-07-25 14:54:56] local.INFO: Processing buffer {"connection_id":143496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98976718012d7dc64005d57df8000e012215..."} 
[2026-07-25 14:54:56] local.INFO: Packet analysis {"connection_id":143496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9897"} 
[2026-07-25 14:54:56] local.INFO: Extracted packet for processing {"connection_id":143496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9897"} 
[2026-07-25 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763217472,"raw_latitude":97877496,"longitude_deg":76.3217472,"latitude_deg":9.7877496,"altitude":14,"angle":290,"satellites":21,"speed":17,"hex_longitude":"2d7dc640","hex_latitude":"05d57df8","is_valid_coordinates":true} 
[2026-07-25 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952700416001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110240068047732736,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063494275139715072,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] 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-07-25 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784971487000,"timestamp_ms":1784971487000,"timestamp_seconds":1784971487,"priority":1,"record_length":96,"hex_timestamp":"0000019f98976718"} 
[2026-07-25 14:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1369094286888403968,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2560043160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-7576611476643911680,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":212,"raw_value":2147865967,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2793472000,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3066449968752424427,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512769979068843,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 14:54:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,111,85,24,241,157,16,166,159,95,45,64,124,14,21,10,66,75,128,114,71,1,240,199,227,152,213,4,113,205,12,48,212,20,239,49,2,135,5,50,59,126],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-07-25 14:54:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009145056307773440,"timestamp_seconds":1009145056307773.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143496,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952700416001,"66":12809,"111":206,"85":15104,"24":17,"16":110240068047732736,"45":9063494275139715072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952700416001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110240068047732736,"km_value":110240068047732.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063494275139715072,"description":"Unknown IO ID 45"} 
[2026-07-25 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952700416001,"power":12809,"unknown_111":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9063494275139715072}} 
[2026-07-25 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":143496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:54:56] local.INFO: GPS data processed {"connection_id":143496,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:54:56] local.INFO: Acknowledgment sent {"connection_id":143496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:54:59] local.INFO: TCP Data received {"connection_id":142124,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:59] local.INFO: Processing buffer {"connection_id":142124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:54:59] local.INFO: IMEI packet received {"connection_id":142124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":142124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:55:00] local.INFO: TCP Data received {"connection_id":142124,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989586a0012d19d64007239a40003600e125..."} 
[2026-07-25 14:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989586a0012d19d64007239a40003600e125..."} 
[2026-07-25 14:55:00] local.INFO: Processing buffer {"connection_id":142124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989586a0012d19d64007239a40003600e125..."} 
[2026-07-25 14:55:00] local.INFO: Packet analysis {"connection_id":142124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:55:00] local.INFO: Extracted packet for processing {"connection_id":142124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952663808001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:00] 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-07-25 14:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971364000,"timestamp_ms":1784971364000,"timestamp_seconds":1784971364,"priority":1,"record_length":96,"hex_timestamp":"0000019f989586a0"} 
[2026-07-25 14:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14: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-07-25 14: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-07-25 14:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952663808001,"66":12689,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952663808001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:55:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952663808001,"power":12689,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":142124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:55:00] local.INFO: GPS data processed {"connection_id":142124,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:55:00] local.INFO: Acknowledgment sent {"connection_id":142124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:55:18] local.INFO: TCP Data received {"connection_id":142126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:18] local.INFO: Processing buffer {"connection_id":142126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:18] local.INFO: IMEI packet received {"connection_id":142126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":142126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:55:18] local.INFO: TCP Data received {"connection_id":142126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:18] local.INFO: Processing buffer {"connection_id":142126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:18] local.INFO: IMEI packet received {"connection_id":142126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":142126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:55:23] local.INFO: TCP Data received {"connection_id":142126,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142126,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:23] local.INFO: Processing buffer {"connection_id":142126,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:55:23] local.INFO: IMEI packet received {"connection_id":142126,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":142126,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:55:23] local.INFO: TCP Data received {"connection_id":142126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98976b00012d7dc44005d57df8000f010c15..."} 
[2026-07-25 14:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98976b00012d7dc44005d57df8000f010c15..."} 
[2026-07-25 14:55:23] local.INFO: Processing buffer {"connection_id":142126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98976b00012d7dc44005d57df8000f010c15..."} 
[2026-07-25 14:55:23] local.INFO: Packet analysis {"connection_id":142126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9897"} 
[2026-07-25 14:55:23] local.INFO: Extracted packet for processing {"connection_id":142126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9897"} 
[2026-07-25 14:55:23] local.INFO: GPS Element Parsed {"raw_longitude":763216960,"raw_latitude":97877496,"longitude_deg":76.321696,"latitude_deg":9.7877496,"altitude":15,"angle":268,"satellites":21,"speed":18,"hex_longitude":"2d7dc440","hex_latitude":"05d57df8","is_valid_coordinates":true} 
[2026-07-25 14:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952700672001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110240093817536512,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063001693930518528,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] 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-07-25 14:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784971488000,"timestamp_ms":1784971488000,"timestamp_seconds":1784971488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98976b00"} 
[2026-07-25 14:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2560045160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-7554621244088396352,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":5764833255492734549,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2794323968,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3067241617074093548,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,111,85,24,241,157,16,166,159,99,45,125,14,21,10,66,95,64,124,75,128,1,240,106,227,152,213,4,113,205,208,216,20,239,49,2,135,5,3,59,129],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-07-25 14:55:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009125265098473472,"timestamp_seconds":1009125265098473.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952700672001,"66":12341,"111":206,"85":15104,"24":18,"16":110240093817536512,"45":9063001693930518528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 14:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952700672001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:55:23] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 14:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110240093817536512,"km_value":110240093817536.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063001693930518528,"description":"Unknown IO ID 45"} 
[2026-07-25 14:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952700672001,"power":12341,"unknown_111":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9063001693930518528}} 
[2026-07-25 14:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":142126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:55:24] local.INFO: GPS data processed {"connection_id":142126,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:55:24] local.INFO: Acknowledgment sent {"connection_id":142126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:55:31] local.INFO: TCP Data received {"connection_id":142124,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9895d8a8012d19d64007239a40003600e123..."} 
[2026-07-25 14:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9895d8a8012d19d64007239a40003600e123..."} 
[2026-07-25 14:55:31] local.INFO: Processing buffer {"connection_id":142124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9895d8a8012d19d64007239a40003600e123..."} 
[2026-07-25 14:55:31] local.INFO: Packet analysis {"connection_id":142124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:55:31] local.INFO: Extracted packet for processing {"connection_id":142124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9895"} 
[2026-07-25 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952669184001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:31] 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-07-25 14:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971385000,"timestamp_ms":1784971385000,"timestamp_seconds":1784971385,"priority":1,"record_length":96,"hex_timestamp":"0000019f9895d8a8"} 
[2026-07-25 14:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":145,"data_length":795,"current_offset":136} 
[2026-07-25 14:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:55:31] 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-07-25 14:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952669184001,"66":14102,"177":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 14:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952669184001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952669184001,"power":14102,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":142124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:55:31] local.INFO: GPS data processed {"connection_id":142124,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:55:31] local.INFO: Acknowledgment sent {"connection_id":142124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:55:54] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:55:54] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:55:54] local.INFO: IMEI packet received {"connection_id":141090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":141090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:55:54] local.INFO: TCP Data received {"connection_id":142126,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98976ee8012d7dc1c005d57d70000f010015..."} 
[2026-07-25 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98976ee8012d7dc1c005d57d70000f010015..."} 
[2026-07-25 14:55:54] local.INFO: Processing buffer {"connection_id":142126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98976ee8012d7dc1c005d57d70000f010015..."} 
[2026-07-25 14:55:54] local.INFO: Packet analysis {"connection_id":142126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9897"} 
[2026-07-25 14:55:54] local.INFO: Extracted packet for processing {"connection_id":142126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9897"} 
[2026-07-25 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":763216320,"raw_latitude":97877360,"longitude_deg":76.321632,"latitude_deg":9.787736,"altitude":15,"angle":256,"satellites":21,"speed":23,"hex_longitude":"2d7dc1c0","hex_latitude":"05d57d70","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952700928001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110240123882307584,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062438743977097216,"note":"Value kept but may cause issues"} 
[2026-07-25 14:55:54] 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-07-25 14:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784971489000,"timestamp_ms":1784971489000,"timestamp_seconds":1784971489,"priority":1,"record_length":96,"hex_timestamp":"0000019f98976ee8"} 
[2026-07-25 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-07-25 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 14:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142126,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 14:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 14:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 14:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952700928001,"66":12341,"111":206,"85":15104,"24":23,"16":110240123882307584,"45":9062438743977097216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 14:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 14:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 14:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952700928001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:55:54] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 14:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 14:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110240123882307584,"km_value":110240123882307.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062438743977097216,"description":"Unknown IO ID 45"} 
[2026-07-25 14:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952700928001,"power":12341,"unknown_111":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9062438743977097216}} 
[2026-07-25 14:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":142126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:55:54] local.INFO: GPS data processed {"connection_id":142126,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:55:54] local.INFO: Acknowledgment sent {"connection_id":142126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:55:59] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:55:59] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:55:59] local.INFO: IMEI packet received {"connection_id":141090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":141090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:56:00] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98962ab0012d19d64007239a40003600e124..."} 
[2026-07-25 14:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98962ab0012d19d64007239a40003600e124..."} 
[2026-07-25 14:56:00] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98962ab0012d19d64007239a40003600e124..."} 
[2026-07-25 14:56:00] local.INFO: Packet analysis {"connection_id":141090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:56:00] local.INFO: Extracted packet for processing {"connection_id":141090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773760,"longitude_deg":75.6667968,"latitude_deg":11.977376,"altitude":54,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239a40","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952674560001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790178852241408,"note":"Value kept but may cause issues"} 
[2026-07-25 14:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:56:00] 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-07-25 14:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971406000,"timestamp_ms":1784971406000,"timestamp_seconds":1784971406,"priority":1,"record_length":96,"hex_timestamp":"0000019f98962ab0"} 
[2026-07-25 14:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 14:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952674560001,"66":12885,"42":206,"83":42752,"24":0,"16":8790178852241408,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952674560001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:56:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790178852241408,"km_value":8790178852241.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952674560001,"power":12885,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":141090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:56:00] local.INFO: GPS data processed {"connection_id":141090,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:56:00] local.INFO: Acknowledgment sent {"connection_id":141090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:56:26] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:56:26] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:56:26] local.INFO: IMEI packet received {"connection_id":141092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 14:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":141092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:56:31] local.INFO: TCP Data received {"connection_id":141090,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989649f0012d19d64007239ad0003a002623..."} 
[2026-07-25 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989649f0012d19d64007239ad0003a002623..."} 
[2026-07-25 14:56:31] local.INFO: Processing buffer {"connection_id":141090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989649f0012d19d64007239ad0003a002623..."} 
[2026-07-25 14:56:31] local.INFO: Packet analysis {"connection_id":141090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:56:31] local.INFO: Extracted packet for processing {"connection_id":141090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773904,"longitude_deg":75.6667968,"latitude_deg":11.9773904,"altitude":58,"angle":38,"satellites":35,"speed":2,"hex_longitude":"2d19d640","hex_latitude":"07239ad0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 14:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952679936001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790183147208704,"note":"Value kept but may cause issues"} 
[2026-07-25 14:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370539008,"note":"Value kept but may cause issues"} 
[2026-07-25 14:56:31] 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-07-25 14:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971414000,"timestamp_ms":1784971414000,"timestamp_seconds":1784971414,"priority":1,"record_length":96,"hex_timestamp":"0000019f989649f0"} 
[2026-07-25 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-07-25 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 14:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 14:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:56:31] 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-07-25 14:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952679936001,"66":12863,"42":206,"83":42752,"24":2,"16":8790183147208704,"45":1861745895370539008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952679936001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:56:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790183147208704,"km_value":8790183147208.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370539008,"description":"Unknown IO ID 45"} 
[2026-07-25 14:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952679936001,"power":12863,"unknown_42":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1861745895370539008}} 
[2026-07-25 14:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":141090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:56:31] local.INFO: GPS data processed {"connection_id":141090,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:56:31] local.INFO: Acknowledgment sent {"connection_id":141090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:56:36] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:56:36] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 14:56:36] local.INFO: IMEI packet received {"connection_id":141092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":141092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:56:37] local.INFO: TCP Data received {"connection_id":141092,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 14:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141092,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 14:56:37] local.INFO: Processing buffer {"connection_id":141092,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 14:56:37] local.INFO: IMEI packet received {"connection_id":141092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 14:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":141092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:56:55] local.INFO: TCP Data received {"connection_id":142127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:56:55] local.INFO: Processing buffer {"connection_id":142127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:56:55] local.INFO: IMEI packet received {"connection_id":142127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":142127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:56:59] local.INFO: TCP Data received {"connection_id":142127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:56:59] local.INFO: Processing buffer {"connection_id":142127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:56:59] local.INFO: IMEI packet received {"connection_id":142127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":142127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:57:00] local.INFO: TCP Data received {"connection_id":142127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98964dd8012d19d64007239b18003a001723..."} 
[2026-07-25 14:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98964dd8012d19d64007239b18003a001723..."} 
[2026-07-25 14:57:00] local.INFO: Processing buffer {"connection_id":142127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98964dd8012d19d64007239b18003a001723..."} 
[2026-07-25 14:57:00] local.INFO: Packet analysis {"connection_id":142127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:57:00] local.INFO: Extracted packet for processing {"connection_id":142127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773976,"longitude_deg":75.6667968,"latitude_deg":11.9773976,"altitude":58,"angle":23,"satellites":35,"speed":2,"hex_longitude":"2d19d640","hex_latitude":"07239b18","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952681984001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790187442176000,"note":"Value kept but may cause issues"} 
[2026-07-25 14:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370575872,"note":"Value kept but may cause issues"} 
[2026-07-25 14:57:00] 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-07-25 14:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971415000,"timestamp_ms":1784971415000,"timestamp_seconds":1784971415,"priority":1,"record_length":96,"hex_timestamp":"0000019f98964dd8"} 
[2026-07-25 14:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 14:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14: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-07-25 14:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952681984001,"66":12841,"42":206,"83":42752,"24":2,"16":8790187442176000,"45":1861745895370575872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952681984001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790187442176000,"km_value":8790187442176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370575872,"description":"Unknown IO ID 45"} 
[2026-07-25 14:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952681984001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1861745895370575872}} 
[2026-07-25 14:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":142127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:57:00] local.INFO: GPS data processed {"connection_id":142127,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:57:00] local.INFO: Acknowledgment sent {"connection_id":142127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:57:31] local.INFO: TCP Data received {"connection_id":142127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98965d78012d19d68007239c40003a000625..."} 
[2026-07-25 14:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98965d78012d19d68007239c40003a000625..."} 
[2026-07-25 14:57:31] local.INFO: Processing buffer {"connection_id":142127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98965d78012d19d68007239c40003a000625..."} 
[2026-07-25 14:57:31] local.INFO: Packet analysis {"connection_id":142127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:57:31] local.INFO: Extracted packet for processing {"connection_id":142127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9896"} 
[2026-07-25 14:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119774272,"longitude_deg":75.6668032,"latitude_deg":11.9774272,"altitude":58,"angle":6,"satellites":37,"speed":0,"hex_longitude":"2d19d680","hex_latitude":"07239c40","is_valid_coordinates":true} 
[2026-07-25 14:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952682240001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790204622045184,"note":"Value kept but may cause issues"} 
[2026-07-25 14:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370594304,"note":"Value kept but may cause issues"} 
[2026-07-25 14:57:31] 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-07-25 14:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971419000,"timestamp_ms":1784971419000,"timestamp_seconds":1784971419,"priority":1,"record_length":96,"hex_timestamp":"0000019f98965d78"} 
[2026-07-25 14:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 14:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:57:31] 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-07-25 14:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952682240001,"66":12841,"42":206,"83":42752,"24":0,"16":8790204622045184,"45":1861745895370594304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952682240001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790204622045184,"km_value":8790204622045.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370594304,"description":"Unknown IO ID 45"} 
[2026-07-25 14:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952682240001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370594304}} 
[2026-07-25 14:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":142127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:57:31] local.INFO: GPS data processed {"connection_id":142127,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:57:31] local.INFO: Acknowledgment sent {"connection_id":142127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:57:53] local.INFO: TCP Data received {"connection_id":142129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:53] local.INFO: Processing buffer {"connection_id":142129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:53] local.INFO: IMEI packet received {"connection_id":142129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":142129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:57:54] local.INFO: TCP Data received {"connection_id":142129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:54] local.INFO: Processing buffer {"connection_id":142129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:54] local.INFO: IMEI packet received {"connection_id":142129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":142129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:57:59] local.INFO: TCP Data received {"connection_id":142129,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:59] local.INFO: Processing buffer {"connection_id":142129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:57:59] local.INFO: IMEI packet received {"connection_id":142129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":142129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:58:00] local.INFO: TCP Data received {"connection_id":142129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98990528012d19d64007239ae8003a00b324..."} 
[2026-07-25 14:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98990528012d19d64007239ae8003a00b324..."} 
[2026-07-25 14:58:00] local.INFO: Processing buffer {"connection_id":142129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98990528012d19d64007239ae8003a00b324..."} 
[2026-07-25 14:58:00] local.INFO: Packet analysis {"connection_id":142129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:58:00] local.INFO: Extracted packet for processing {"connection_id":142129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952722432001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] 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-07-25 14:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971593000,"timestamp_ms":1784971593000,"timestamp_seconds":1784971593,"priority":1,"record_length":96,"hex_timestamp":"0000019f98990528"} 
[2026-07-25 14:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2560018160,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2540371969,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397023,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3026645808272381952,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,42,83,24,241,157,16,58,159,97,45,64,154,35,10,66,15,36,189,1,240,123,227,152,4,113,205,214,232,37,239,49,2,31,7,95],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 14:58:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537425694982144,"timestamp_seconds":4179537425694982.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 14:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952722432001,"66":12526,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952722432001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:58:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:58:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 14:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952722432001,"power":12526,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 14:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":142129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:58:00] local.INFO: GPS data processed {"connection_id":142129,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:58:00] local.INFO: Acknowledgment sent {"connection_id":142129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:58:20] local.INFO: TCP Data received {"connection_id":141089,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:58:20] local.INFO: Processing buffer {"connection_id":141089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:58:20] local.INFO: IMEI packet received {"connection_id":141089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":141089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:58:31] local.INFO: TCP Data received {"connection_id":142129,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98995730012d19d64007239ae8003a00b325..."} 
[2026-07-25 14:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98995730012d19d64007239ae8003a00b325..."} 
[2026-07-25 14:58:31] local.INFO: Processing buffer {"connection_id":142129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98995730012d19d64007239ae8003a00b325..."} 
[2026-07-25 14:58:31] local.INFO: Packet analysis {"connection_id":142129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:58:31] local.INFO: Extracted packet for processing {"connection_id":142129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:58:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 14: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-07-25 14:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952727808001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 14:58:31] 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-07-25 14:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971614000,"timestamp_ms":1784971614000,"timestamp_seconds":1784971614,"priority":1,"record_length":96,"hex_timestamp":"0000019f98995730"} 
[2026-07-25 14:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 14:58: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-07-25 14: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-07-25 14:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:58:31] 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-07-25 14:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952727808001,"66":12504,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952727808001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 14:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952727808001,"power":12504,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 14:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":142129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:58:31] local.INFO: GPS data processed {"connection_id":142129,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:58:31] local.INFO: Acknowledgment sent {"connection_id":142129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:58:54] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:54] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:54] local.INFO: IMEI packet received {"connection_id":141152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":141152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:58:55] local.INFO: TCP Data received {"connection_id":141151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:58:55] local.INFO: Processing buffer {"connection_id":141151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 14:58:55] local.INFO: IMEI packet received {"connection_id":141151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 14:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:58:56] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:56] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:56] local.INFO: IMEI packet received {"connection_id":141152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":141152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:58:59] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:59] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:58:59] local.INFO: IMEI packet received {"connection_id":141152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":141152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 14:59:00] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9899a938012d19d64007239ae8003a00b326..."} 
[2026-07-25 14:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9899a938012d19d64007239ae8003a00b326..."} 
[2026-07-25 14:59:00] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9899a938012d19d64007239ae8003a00b326..."} 
[2026-07-25 14:59:00] local.INFO: Packet analysis {"connection_id":141152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:59:00] local.INFO: Extracted packet for processing {"connection_id":141152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:59:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 14:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952733184001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:00] 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-07-25 14:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971635000,"timestamp_ms":1784971635000,"timestamp_seconds":1784971635,"priority":1,"record_length":96,"hex_timestamp":"0000019f9899a938"} 
[2026-07-25 14:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 14:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952733184001,"66":12406,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952733184001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:59:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:59:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 14:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952733184001,"power":12406,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 14:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":141152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:59:00] local.INFO: GPS data processed {"connection_id":141152,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:59:00] local.INFO: Acknowledgment sent {"connection_id":141152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:59:05] local.INFO: TCP Data received {"connection_id":142131,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:59:05] local.INFO: Processing buffer {"connection_id":142131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 14:59:05] local.INFO: IMEI packet received {"connection_id":142131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 14:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":142131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:59:06] local.INFO: TCP Data received {"connection_id":142131,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989a5518012da79ac005f2c5180016007e28..."} 
[2026-07-25 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989a5518012da79ac005f2c5180016007e28..."} 
[2026-07-25 14:59:06] local.INFO: Processing buffer {"connection_id":142131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989a5518012da79ac005f2c5180016007e28..."} 
[2026-07-25 14:59:06] local.INFO: Packet analysis {"connection_id":142131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 14:59:06] local.INFO: Extracted packet for processing {"connection_id":142131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 14:59:06] local.INFO: GPS Element Parsed {"raw_longitude":765958848,"raw_latitude":99796248,"longitude_deg":76.5958848,"latitude_deg":9.9796248,"altitude":22,"angle":126,"satellites":40,"speed":34,"hex_longitude":"2da79ac0","hex_latitude":"05f2c518","is_valid_coordinates":true} 
[2026-07-25 14:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952747520001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357798212007886848,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6377659996761300992,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784971679000,"timestamp_ms":1784971679000,"timestamp_seconds":1784971679,"priority":1,"record_length":96,"hex_timestamp":"0000019f989a5518"} 
[2026-07-25 14:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 14:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952747520001,"66":27995,"183":206,"88":19456,"24":34,"16":357798212007886848,"45":-6377659996761300992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-07-25 14:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952747520001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:59:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 14:59:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357798212007886848,"km_value":357798212007886.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6377659996761300992,"description":"Unknown IO ID 45"} 
[2026-07-25 14:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952747520001,"power":27995,"unknown_183":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6377659996761300992}} 
[2026-07-25 14:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":142131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:59:06] local.INFO: GPS data processed {"connection_id":142131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:59:06] local.INFO: Acknowledgment sent {"connection_id":142131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:59:24] local.INFO: TCP Data received {"connection_id":143497,"ip":"194.165.16.161","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-25 14:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143497,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-25 14:59:24] local.INFO: Processing buffer {"connection_id":143497,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-25 14:59:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":143497,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-25 14:59:31] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9899fb40012d19d64007239ae8003a00b326..."} 
[2026-07-25 14:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9899fb40012d19d64007239ae8003a00b326..."} 
[2026-07-25 14:59:31] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9899fb40012d19d64007239ae8003a00b326..."} 
[2026-07-25 14:59:31] local.INFO: Packet analysis {"connection_id":141152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:59:31] local.INFO: Extracted packet for processing {"connection_id":141152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9899"} 
[2026-07-25 14:59:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 14:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952738560001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:31] 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-07-25 14:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971656000,"timestamp_ms":1784971656000,"timestamp_seconds":1784971656,"priority":1,"record_length":96,"hex_timestamp":"0000019f9899fb40"} 
[2026-07-25 14:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 14:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 14:59:31] 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-07-25 14:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 14:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 14:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952738560001,"66":12461,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 14:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 14:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952738560001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 14:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 14:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952738560001,"power":12461,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 14:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":141152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:59:31] local.INFO: GPS data processed {"connection_id":141152,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:59:31] local.INFO: Acknowledgment sent {"connection_id":141152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:59:37] local.INFO: TCP Data received {"connection_id":142131,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989a7c28012da7b88005f2b0200015007927..."} 
[2026-07-25 14:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989a7c28012da7b88005f2b0200015007927..."} 
[2026-07-25 14:59:37] local.INFO: Processing buffer {"connection_id":142131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989a7c28012da7b88005f2b0200015007927..."} 
[2026-07-25 14:59:37] local.INFO: Packet analysis {"connection_id":142131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 14:59:37] local.INFO: Extracted packet for processing {"connection_id":142131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":765966464,"raw_latitude":99790880,"longitude_deg":76.5966464,"latitude_deg":9.979088,"altitude":21,"angle":121,"satellites":39,"speed":40,"hex_longitude":"2da7b880","hex_latitude":"05f2b020","is_valid_coordinates":true} 
[2026-07-25 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 14:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952749824001,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357798662979452928,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6369567591181772800,"note":"Value kept but may cause issues"} 
[2026-07-25 14:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 14:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784971689000,"timestamp_ms":1784971689000,"timestamp_seconds":1784971689,"priority":1,"record_length":96,"hex_timestamp":"0000019f989a7c28"} 
[2026-07-25 14:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 14:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 14:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 14:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 14:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 14:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 14:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 14:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 14:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 14:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 14:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 14:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 14:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952749824001,"66":27865,"183":206,"88":19456,"24":40,"16":357798662979452928,"45":-6369567591181772800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,88,24,16,45]} 
[2026-07-25 14:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 14:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 14:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952749824001,"description":"Unknown IO ID 0"} 
[2026-07-25 14:59:37] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-25 14:59:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-07-25 14:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357798662979452928,"km_value":357798662979452.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 14:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6369567591181772800,"description":"Unknown IO ID 45"} 
[2026-07-25 14:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952749824001,"power":27865,"unknown_183":206,"unknown_88":19456,"ignition":40,"odometer":null,"unknown_45":-6369567591181772800}} 
[2026-07-25 14:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":142131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 14:59:37] local.INFO: GPS data processed {"connection_id":142131,"processed":1,"errors":0,"total":1} 
[2026-07-25 14:59:37] local.INFO: Acknowledgment sent {"connection_id":142131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 14:59:54] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:59:54] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:59:54] local.INFO: IMEI packet received {"connection_id":143498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 14:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":143498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 14:59:59] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:59:59] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 14:59:59] local.INFO: IMEI packet received {"connection_id":143498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 14:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":143498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:00:00] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989a4d48012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989a4d48012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:00:00] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989a4d48012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:00:00] local.INFO: Packet analysis {"connection_id":143498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 15:00:00] local.INFO: Extracted packet for processing {"connection_id":143498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 15:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952743936001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:00] 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-07-25 15:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971677000,"timestamp_ms":1784971677000,"timestamp_seconds":1784971677,"priority":1,"record_length":96,"hex_timestamp":"0000019f989a4d48"} 
[2026-07-25 15:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":173,"data_length":795,"current_offset":136} 
[2026-07-25 15:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952743936001,"66":12439,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952743936001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952743936001,"power":12439,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":143498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:00:00] local.INFO: GPS data processed {"connection_id":143498,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:00:00] local.INFO: Acknowledgment sent {"connection_id":143498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:00:02] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:02] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:02] local.INFO: IMEI packet received {"connection_id":141094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":141094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:00:02] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:02] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:02] local.INFO: IMEI packet received {"connection_id":141094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":141094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:00:05] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:05] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:05] local.INFO: IMEI packet received {"connection_id":141094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":141094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:00:07] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989b7240012da8864005f23db00016008828..."} 
[2026-07-25 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989b7240012da8864005f23db00016008828..."} 
[2026-07-25 15:00:07] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989b7240012da8864005f23db00016008828..."} 
[2026-07-25 15:00:07] local.INFO: Packet analysis {"connection_id":141094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:00:07] local.INFO: Extracted packet for processing {"connection_id":141094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":766019136,"raw_latitude":99761584,"longitude_deg":76.6019136,"latitude_deg":9.9761584,"altitude":22,"angle":136,"satellites":40,"speed":43,"hex_longitude":"2da88640","hex_latitude":"05f23db0","is_valid_coordinates":true} 
[2026-07-25 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952766208001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357801630801854464,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6310950427289171968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784971752000,"timestamp_ms":1784971752000,"timestamp_seconds":1784971752,"priority":1,"record_length":96,"hex_timestamp":"0000019f989b7240"} 
[2026-07-25 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952766208001,"66":27908,"19":206,"88":20736,"24":43,"16":357801630801854464,"45":-6310950427289171968},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952766208001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:00:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:00:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357801630801854464,"km_value":357801630801854.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6310950427289171968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952766208001,"power":27908,"unknown_19":206,"unknown_88":20736,"ignition":43,"odometer":null,"unknown_45":-6310950427289171968}} 
[2026-07-25 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":141094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:00:07] local.INFO: GPS data processed {"connection_id":141094,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:00:07] local.INFO: Acknowledgment sent {"connection_id":141094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:00:10] local.INFO: TCP Data received {"connection_id":141094,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989b81e0012da8908005f230e80015009429..."} 
[2026-07-25 15:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989b81e0012da8908005f230e80015009429..."} 
[2026-07-25 15:00:10] local.INFO: Processing buffer {"connection_id":141094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989b81e0012da8908005f230e80015009429..."} 
[2026-07-25 15:00:10] local.INFO: Packet analysis {"connection_id":141094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:00:10] local.INFO: Extracted packet for processing {"connection_id":141094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":766021760,"raw_latitude":99758312,"longitude_deg":76.602176,"latitude_deg":9.9758312,"altitude":21,"angle":148,"satellites":41,"speed":40,"hex_longitude":"2da89080","hex_latitude":"05f230e8","is_valid_coordinates":true} 
[2026-07-25 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952768512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357801832665317376,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6303280234175287296,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784971756000,"timestamp_ms":1784971756000,"timestamp_seconds":1784971756,"priority":1,"record_length":96,"hex_timestamp":"0000019f989b81e0"} 
[2026-07-25 15:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 15:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952768512001,"66":28050,"19":206,"88":20736,"24":40,"16":357801832665317376,"45":-6303280234175287296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952768512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:00:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357801832665317376,"km_value":357801832665317.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6303280234175287296,"description":"Unknown IO ID 45"} 
[2026-07-25 15:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952768512001,"power":28050,"unknown_19":206,"unknown_88":20736,"ignition":40,"odometer":null,"unknown_45":-6303280234175287296}} 
[2026-07-25 15:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":141094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:00:10] local.INFO: GPS data processed {"connection_id":141094,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:00:10] local.INFO: Acknowledgment sent {"connection_id":141094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:00:31] local.INFO: TCP Data received {"connection_id":143498,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989a9f50012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989a9f50012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:00:31] local.INFO: Processing buffer {"connection_id":143498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989a9f50012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:00:31] local.INFO: Packet analysis {"connection_id":143498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 15:00:31] local.INFO: Extracted packet for processing {"connection_id":143498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952749312001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:00:31] 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-07-25 15:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971698000,"timestamp_ms":1784971698000,"timestamp_seconds":1784971698,"priority":1,"record_length":96,"hex_timestamp":"0000019f989a9f50"} 
[2026-07-25 15:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 15:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:00:31] 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-07-25 15:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952749312001,"66":12363,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952749312001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952749312001,"power":12363,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":143498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:00:31] local.INFO: GPS data processed {"connection_id":143498,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:00:31] local.INFO: Acknowledgment sent {"connection_id":143498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:00:54] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:00:54] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:00:54] local.INFO: IMEI packet received {"connection_id":141155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":141155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:00:55] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:55] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:55] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:00:56] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:56] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:00:56] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:00:59] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:00:59] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:00:59] local.INFO: IMEI packet received {"connection_id":141155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":141155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:01:00] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989af158012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989af158012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:01:00] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989af158012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:01:00] local.INFO: Packet analysis {"connection_id":141155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 15:01:00] local.INFO: Extracted packet for processing {"connection_id":141155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989a"} 
[2026-07-25 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952754688001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:00] 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-07-25 15:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971719000,"timestamp_ms":1784971719000,"timestamp_seconds":1784971719,"priority":1,"record_length":96,"hex_timestamp":"0000019f989af158"} 
[2026-07-25 15:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 15:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952754688001,"66":12406,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952754688001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:01:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952754688001,"power":12406,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":141155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:01:00] local.INFO: GPS data processed {"connection_id":141155,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:01:00] local.INFO: Acknowledgment sent {"connection_id":141155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:01:00] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:00] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:00] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:01:01] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c4918012da8c30005f1ac88001900972d..."} 
[2026-07-25 15:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c4918012da8c30005f1ac88001900972d..."} 
[2026-07-25 15:01:01] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c4918012da8c30005f1ac88001900972d..."} 
[2026-07-25 15:01:01] local.INFO: Packet analysis {"connection_id":141154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:01:01] local.INFO: Extracted packet for processing {"connection_id":141154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:01:01] local.INFO: GPS Element Parsed {"raw_longitude":766034688,"raw_latitude":99724424,"longitude_deg":76.6034688,"latitude_deg":9.9724424,"altitude":25,"angle":151,"satellites":45,"speed":10,"hex_longitude":"2da8c300","hex_latitude":"05f1ac88","is_valid_coordinates":true} 
[2026-07-25 15:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952782080001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357803653731450880,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6286250998093699072,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784971807000,"timestamp_ms":1784971807000,"timestamp_seconds":1784971807,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c4918"} 
[2026-07-25 15:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 15:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952782080001,"66":27180,"19":206,"88":20736,"24":10,"16":357803653731450880,"45":-6286250998093699072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952782080001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:01:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:01:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357803653731450880,"km_value":357803653731450.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6286250998093699072,"description":"Unknown IO ID 45"} 
[2026-07-25 15:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952782080001,"power":27180,"unknown_19":206,"unknown_88":20736,"ignition":10,"odometer":null,"unknown_45":-6286250998093699072}} 
[2026-07-25 15:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":141154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:01:01] local.INFO: GPS data processed {"connection_id":141154,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:01:01] local.INFO: Acknowledgment sent {"connection_id":141154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:01:06] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c4d00012da8c40005f1abb0001900842d..."} 
[2026-07-25 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c4d00012da8c40005f1abb0001900842d..."} 
[2026-07-25 15:01:06] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c4d00012da8c40005f1abb0001900842d..."} 
[2026-07-25 15:01:06] local.INFO: Packet analysis {"connection_id":141154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:01:06] local.INFO: Extracted packet for processing {"connection_id":141154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":766034944,"raw_latitude":99724208,"longitude_deg":76.6034944,"latitude_deg":9.9724208,"altitude":25,"angle":132,"satellites":45,"speed":12,"hex_longitude":"2da8c400","hex_latitude":"05f1abb0","is_valid_coordinates":true} 
[2026-07-25 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952782592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357803670911320064,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6286180629349627904,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784971808000,"timestamp_ms":1784971808000,"timestamp_seconds":1784971808,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c4d00"} 
[2026-07-25 15:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-25 15:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952782592001,"66":27865,"19":206,"88":20736,"24":12,"16":357803670911320064,"45":-6286180629349627904},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952782592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:01:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:01:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357803670911320064,"km_value":357803670911320.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6286180629349627904,"description":"Unknown IO ID 45"} 
[2026-07-25 15:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952782592001,"power":27865,"unknown_19":206,"unknown_88":20736,"ignition":12,"odometer":null,"unknown_45":-6286180629349627904}} 
[2026-07-25 15:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":141154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:01:06] local.INFO: GPS data processed {"connection_id":141154,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:01:06] local.INFO: Acknowledgment sent {"connection_id":141154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:01:31] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989b4360012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989b4360012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:01:31] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989b4360012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:01:31] local.INFO: Packet analysis {"connection_id":141155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:01:31] local.INFO: Extracted packet for processing {"connection_id":141155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952760064001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:31] 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-07-25 15:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971740000,"timestamp_ms":1784971740000,"timestamp_seconds":1784971740,"priority":1,"record_length":96,"hex_timestamp":"0000019f989b4360"} 
[2026-07-25 15:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:01:31] 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-07-25 15:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952760064001,"66":12406,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952760064001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:01:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952760064001,"power":12406,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":141155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:01:31] local.INFO: GPS data processed {"connection_id":141155,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:01:31] local.INFO: Acknowledgment sent {"connection_id":141155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:01:37] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c50e8012da8c54005f1aaf0001900752d..."} 
[2026-07-25 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c50e8012da8c54005f1aaf0001900752d..."} 
[2026-07-25 15:01:37] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c50e8012da8c54005f1aaf0001900752d..."} 
[2026-07-25 15:01:37] local.INFO: Packet analysis {"connection_id":141154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:01:37] local.INFO: Extracted packet for processing {"connection_id":141154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":766035264,"raw_latitude":99724016,"longitude_deg":76.6035264,"latitude_deg":9.9724016,"altitude":25,"angle":117,"satellites":45,"speed":13,"hex_longitude":"2da8c540","hex_latitude":"05f1aaf0","is_valid_coordinates":true} 
[2026-07-25 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952782848001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357803688091189248,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6285899154372972544,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784971809000,"timestamp_ms":1784971809000,"timestamp_seconds":1784971809,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c50e8"} 
[2026-07-25 15:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 15:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952782848001,"66":27865,"19":206,"88":20736,"24":13,"16":357803688091189248,"45":-6285899154372972544},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952782848001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:01:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:01:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357803688091189248,"km_value":357803688091189.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6285899154372972544,"description":"Unknown IO ID 45"} 
[2026-07-25 15:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952782848001,"power":27865,"unknown_19":206,"unknown_88":20736,"ignition":13,"odometer":null,"unknown_45":-6285899154372972544}} 
[2026-07-25 15:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":141154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:01:37] local.INFO: GPS data processed {"connection_id":141154,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:01:37] local.INFO: Acknowledgment sent {"connection_id":141154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:01:37] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:01:37] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:01:37] local.INFO: IMEI packet received {"connection_id":141095,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":141095,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:01:39] local.INFO: TCP Data received {"connection_id":141095,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989d5e70012d7c7f4005d97540000e016115..."} 
[2026-07-25 15:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989d5e70012d7c7f4005d97540000e016115..."} 
[2026-07-25 15:01:39] local.INFO: Processing buffer {"connection_id":141095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989d5e70012d7c7f4005d97540000e016115..."} 
[2026-07-25 15:01:39] local.INFO: Packet analysis {"connection_id":141095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:01:39] local.INFO: Extracted packet for processing {"connection_id":141095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763133760,"raw_latitude":98137408,"longitude_deg":76.313376,"latitude_deg":9.8137408,"altitude":14,"angle":353,"satellites":21,"speed":42,"hex_longitude":"2d7c7f40","hex_latitude":"05d97540","is_valid_coordinates":true} 
[2026-07-25 15:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952797952001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110254928634576896,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971803801540286464,"note":"Value kept but may cause issues"} 
[2026-07-25 15:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784971878000,"timestamp_ms":1784971878000,"timestamp_seconds":1784971878,"priority":1,"record_length":96,"hex_timestamp":"0000019f989d5e70"} 
[2026-07-25 15:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-25 15:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141095,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952797952001,"66":12645,"244":206,"85":15104,"24":42,"16":110254928634576896,"45":8971803801540286464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-25 15:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952797952001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:01:39] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 15:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110254928634576896,"km_value":110254928634576.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971803801540286464,"description":"Unknown IO ID 45"} 
[2026-07-25 15:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952797952001,"power":12645,"unknown_244":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8971803801540286464}} 
[2026-07-25 15:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":141095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:01:39] local.INFO: GPS data processed {"connection_id":141095,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:01:39] local.INFO: Acknowledgment sent {"connection_id":141095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:01:55] local.INFO: TCP Data received {"connection_id":142133,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:55] local.INFO: Processing buffer {"connection_id":142133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:55] local.INFO: IMEI packet received {"connection_id":142133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":142133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:01:56] local.INFO: TCP Data received {"connection_id":142133,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:56] local.INFO: Processing buffer {"connection_id":142133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:01:56] local.INFO: IMEI packet received {"connection_id":142133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":142133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:01:59] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:01:59] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:01:59] local.INFO: IMEI packet received {"connection_id":141156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":141156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:02:00] local.INFO: TCP Data received {"connection_id":142133,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:02:00] local.INFO: Processing buffer {"connection_id":142133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:02:00] local.INFO: IMEI packet received {"connection_id":142133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":142133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:02:01] local.INFO: TCP Data received {"connection_id":142133,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c58b8012da8c7c005f1a9d0001a00692d..."} 
[2026-07-25 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c58b8012da8c7c005f1a9d0001a00692d..."} 
[2026-07-25 15:02:01] local.INFO: Processing buffer {"connection_id":142133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c58b8012da8c7c005f1a9d0001a00692d..."} 
[2026-07-25 15:02:01] local.INFO: Packet analysis {"connection_id":142133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:02:01] local.INFO: Extracted packet for processing {"connection_id":142133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:02:01] local.INFO: GPS Element Parsed {"raw_longitude":766035904,"raw_latitude":99723728,"longitude_deg":76.6035904,"latitude_deg":9.9723728,"altitude":26,"angle":105,"satellites":45,"speed":16,"hex_longitude":"2da8c7c0","hex_latitude":"05f1a9d0","is_valid_coordinates":true} 
[2026-07-25 15:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952783104001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357803722450927616,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6285547310652133376,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784971811000,"timestamp_ms":1784971811000,"timestamp_seconds":1784971811,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c58b8"} 
[2026-07-25 15:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952783104001,"66":27984,"19":206,"88":20736,"24":16,"16":357803722450927616,"45":-6285547310652133376},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952783104001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357803722450927616,"km_value":357803722450927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6285547310652133376,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952783104001,"power":27984,"unknown_19":206,"unknown_88":20736,"ignition":16,"odometer":null,"unknown_45":-6285547310652133376}} 
[2026-07-25 15:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":142133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:01] local.INFO: GPS data processed {"connection_id":142133,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:01] local.INFO: Acknowledgment sent {"connection_id":142133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:04] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:04] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:04] local.INFO: IMEI packet received {"connection_id":141156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":141156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:02:04] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989b9568012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989b9568012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:02:04] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989b9568012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:02:04] local.INFO: Packet analysis {"connection_id":141156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:02:04] local.INFO: Extracted packet for processing {"connection_id":141156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:02:04] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952765440001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:04] 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-07-25 15:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784971761000,"timestamp_ms":1784971761000,"timestamp_seconds":1784971761,"priority":1,"record_length":96,"hex_timestamp":"0000019f989b9568"} 
[2026-07-25 15:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:02:04] 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-07-25 15:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952765440001,"66":12385,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952765440001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:02:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952765440001,"power":12385,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":141156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:04] local.INFO: GPS data processed {"connection_id":141156,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:04] local.INFO: Acknowledgment sent {"connection_id":141156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:05] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989be770012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989be770012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:02:05] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989be770012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:02:05] local.INFO: Packet analysis {"connection_id":141156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:02:05] local.INFO: Extracted packet for processing {"connection_id":141156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989b"} 
[2026-07-25 15:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952770816001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:05] 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-07-25 15:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784971782000,"timestamp_ms":1784971782000,"timestamp_seconds":1784971782,"priority":1,"record_length":96,"hex_timestamp":"0000019f989be770"} 
[2026-07-25 15:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:02:05] 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-07-25 15:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952770816001,"66":12385,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952770816001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952770816001,"power":12385,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":141156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:05] local.INFO: GPS data processed {"connection_id":141156,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:05] local.INFO: Acknowledgment sent {"connection_id":141156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:18] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:18] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:18] local.INFO: IMEI packet received {"connection_id":141096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":141096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:02:20] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:20] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:20] local.INFO: IMEI packet received {"connection_id":141096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":141096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:02:23] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:23] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:02:23] local.INFO: IMEI packet received {"connection_id":141096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":141096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:02:23] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989d7db0012d7c7b8005d99830000e016013..."} 
[2026-07-25 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989d7db0012d7c7b8005d99830000e016013..."} 
[2026-07-25 15:02:23] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989d7db0012d7c7b8005d99830000e016013..."} 
[2026-07-25 15:02:23] local.INFO: Packet analysis {"connection_id":141096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:02:23] local.INFO: Extracted packet for processing {"connection_id":141096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:02:23] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":98146352,"longitude_deg":76.31328,"latitude_deg":9.8146352,"altitude":14,"angle":352,"satellites":19,"speed":45,"hex_longitude":"2d7c7b80","hex_latitude":"05d99830","is_valid_coordinates":true} 
[2026-07-25 15:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952800768001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110255362426273792,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970959376612671488,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784971886000,"timestamp_ms":1784971886000,"timestamp_seconds":1784971886,"priority":1,"record_length":96,"hex_timestamp":"0000019f989d7db0"} 
[2026-07-25 15:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":141096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952800768001,"66":12461,"244":206,"85":15104,"24":45,"16":110255362426273792,"45":8970959376612671488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-25 15:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952800768001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:23] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 15:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110255362426273792,"km_value":110255362426273.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970959376612671488,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952800768001,"power":12461,"unknown_244":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8970959376612671488}} 
[2026-07-25 15:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":141096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:24] local.INFO: GPS data processed {"connection_id":141096,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:24] local.INFO: Acknowledgment sent {"connection_id":141096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:27] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989da0d8012d7c774005d9bb10000f015e11..."} 
[2026-07-25 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989da0d8012d7c774005d9bb10000f015e11..."} 
[2026-07-25 15:02:27] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989da0d8012d7c774005d9bb10000f015e11..."} 
[2026-07-25 15:02:27] local.INFO: Packet analysis {"connection_id":141096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:02:27] local.INFO: Extracted packet for processing {"connection_id":141096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763131712,"raw_latitude":98155280,"longitude_deg":76.3131712,"latitude_deg":9.815528,"altitude":15,"angle":350,"satellites":17,"speed":32,"hex_longitude":"2d7c7740","hex_latitude":"05d9bb10","is_valid_coordinates":true} 
[2026-07-25 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952802816001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110255800512937984,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845452296192,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784971895000,"timestamp_ms":1784971895000,"timestamp_seconds":1784971895,"priority":1,"record_length":96,"hex_timestamp":"0000019f989da0d8"} 
[2026-07-25 15:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15: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-07-25 15:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952802816001,"66":12809,"244":206,"85":15104,"24":32,"16":110255800512937984,"45":8969903845452296192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-25 15:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952802816001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 15:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110255800512937984,"km_value":110255800512937.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845452296192,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952802816001,"power":12809,"unknown_244":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8969903845452296192}} 
[2026-07-25 15:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":141096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:28] local.INFO: GPS data processed {"connection_id":141096,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:28] local.INFO: Acknowledgment sent {"connection_id":141096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:33] local.INFO: TCP Data received {"connection_id":142133,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c7410012da8d34005f1a7a0001c005d2c..."} 
[2026-07-25 15:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c7410012da8d34005f1a7a0001c005d2c..."} 
[2026-07-25 15:02:33] local.INFO: Processing buffer {"connection_id":142133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c7410012da8d34005f1a7a0001c005d2c..."} 
[2026-07-25 15:02:33] local.INFO: Packet analysis {"connection_id":142133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:02:33] local.INFO: Extracted packet for processing {"connection_id":142133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":766038848,"raw_latitude":99723168,"longitude_deg":76.6038848,"latitude_deg":9.9723168,"altitude":28,"angle":93,"satellites":44,"speed":19,"hex_longitude":"2da8d340","hex_latitude":"05f1a7a0","is_valid_coordinates":true} 
[2026-07-25 15:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952783616001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357803864184848384,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6284843623210430464,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784971818000,"timestamp_ms":1784971818000,"timestamp_seconds":1784971818,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c7410"} 
[2026-07-25 15:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 15:02: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-07-25 15: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-07-25 15:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952783616001,"66":27919,"19":206,"88":20736,"24":19,"16":357803864184848384,"45":-6284843623210430464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952783616001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:02:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357803864184848384,"km_value":357803864184848.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6284843623210430464,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952783616001,"power":27919,"unknown_19":206,"unknown_88":20736,"ignition":19,"odometer":null,"unknown_45":-6284843623210430464}} 
[2026-07-25 15:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":142133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:33] local.INFO: GPS data processed {"connection_id":142133,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:33] local.INFO: Acknowledgment sent {"connection_id":142133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:36] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c3978012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c3978012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:02:36] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c3978012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:02:36] local.INFO: Packet analysis {"connection_id":141156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:02:36] local.INFO: Extracted packet for processing {"connection_id":141156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952776192001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:36] 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-07-25 15:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784971803000,"timestamp_ms":1784971803000,"timestamp_seconds":1784971803,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c3978"} 
[2026-07-25 15:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:02:36] 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-07-25 15:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952776192001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952776192001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952776192001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":141156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:36] local.INFO: GPS data processed {"connection_id":141156,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:36] local.INFO: Acknowledgment sent {"connection_id":141156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:54] local.INFO: TCP Data received {"connection_id":143499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:54] local.INFO: Processing buffer {"connection_id":143499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:54] local.INFO: IMEI packet received {"connection_id":143499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":143499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:02:55] local.INFO: TCP Data received {"connection_id":142134,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:02:55] local.INFO: Processing buffer {"connection_id":142134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:02:55] local.INFO: IMEI packet received {"connection_id":142134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":142134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:02:58] local.INFO: TCP Data received {"connection_id":141096,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989dcfb8012d7c72c005d9dfc0000f016116..."} 
[2026-07-25 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989dcfb8012d7c72c005d9dfc0000f016116..."} 
[2026-07-25 15:02:58] local.INFO: Processing buffer {"connection_id":141096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989dcfb8012d7c72c005d9dfc0000f016116..."} 
[2026-07-25 15:02:58] local.INFO: Packet analysis {"connection_id":141096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:02:58] local.INFO: Extracted packet for processing {"connection_id":141096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763130560,"raw_latitude":98164672,"longitude_deg":76.313056,"latitude_deg":9.8164672,"altitude":15,"angle":353,"satellites":22,"speed":30,"hex_longitude":"2d7c72c0","hex_latitude":"05d9dfc0","is_valid_coordinates":true} 
[2026-07-25 15:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952805120001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110256260074438656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968707576803561472,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784971907000,"timestamp_ms":1784971907000,"timestamp_seconds":1784971907,"priority":1,"record_length":96,"hex_timestamp":"0000019f989dcfb8"} 
[2026-07-25 15:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2305843009381467136,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2560404160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":152,"raw_value":-7169792174366879360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455685838,"corrected_to":0} 
[2026-07-25 15:02:58] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":77180,"corrected_to":0} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-7133476037215596971,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3003842560,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2828366118903520490,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755592714715377,"note":"Value kept but may cause issues"} 
[2026-07-25 15:02:58] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,244,85,24,241,157,16,181,159,125,45,128,152,14,19,10,66,180,94,64,117,21,51,1,240,161,227,179,217,4,113,205,15,202,139,23,239,47,196,2,135,5,12,59,160],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1455685838,"validated":0},{"io_id":202,"original":77180,"validated":0}]} 
[2026-07-25 15:02:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081248812655181824,"timestamp_seconds":1081248812655181.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15: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-07-25 15:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952805120001,"66":12374,"245":206,"85":15104,"24":30,"16":110256260074438656,"45":8968707576803561472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 15:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952805120001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110256260074438656,"km_value":110256260074438.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968707576803561472,"description":"Unknown IO ID 45"} 
[2026-07-25 15:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952805120001,"power":12374,"geofence_id":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8968707576803561472}} 
[2026-07-25 15:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":141096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:02:59] local.INFO: GPS data processed {"connection_id":141096,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:02:59] local.INFO: Acknowledgment sent {"connection_id":141096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:02:59] local.INFO: TCP Data received {"connection_id":143499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:59] local.INFO: Processing buffer {"connection_id":143499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:02:59] local.INFO: IMEI packet received {"connection_id":143499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":143499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:03:00] local.INFO: TCP Data received {"connection_id":143499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989c8b80012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989c8b80012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:03:00] local.INFO: Processing buffer {"connection_id":143499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989c8b80012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:03:00] local.INFO: Packet analysis {"connection_id":143499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:03:00] local.INFO: Extracted packet for processing {"connection_id":143499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952781568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:00] 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-07-25 15:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971824000,"timestamp_ms":1784971824000,"timestamp_seconds":1784971824,"priority":1,"record_length":96,"hex_timestamp":"0000019f989c8b80"} 
[2026-07-25 15:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952781568001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952781568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952781568001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":143499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:03:00] local.INFO: GPS data processed {"connection_id":143499,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:03:00] local.INFO: Acknowledgment sent {"connection_id":143499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:03:00] local.INFO: TCP Data received {"connection_id":142134,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:03:00] local.INFO: Processing buffer {"connection_id":142134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:03:00] local.INFO: IMEI packet received {"connection_id":142134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":142134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:03:01] local.INFO: TCP Data received {"connection_id":142134,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989dd788012da9b30005f12400001b00802c..."} 
[2026-07-25 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989dd788012da9b30005f12400001b00802c..."} 
[2026-07-25 15:03:01] local.INFO: Processing buffer {"connection_id":142134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989dd788012da9b30005f12400001b00802c..."} 
[2026-07-25 15:03:01] local.INFO: Packet analysis {"connection_id":142134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:03:01] local.INFO: Extracted packet for processing {"connection_id":142134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:03:01] local.INFO: GPS Element Parsed {"raw_longitude":766096128,"raw_latitude":99689472,"longitude_deg":76.6096128,"latitude_deg":9.9689472,"altitude":27,"angle":128,"satellites":44,"speed":42,"hex_longitude":"2da9b300","hex_latitude":"05f12400","is_valid_coordinates":true} 
[2026-07-25 15:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952807424001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357807287273783296,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6223059865830176768,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784971909000,"timestamp_ms":1784971909000,"timestamp_seconds":1784971909,"priority":1,"record_length":96,"hex_timestamp":"0000019f989dd788"} 
[2026-07-25 15:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 15:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952807424001,"66":27876,"19":206,"88":20736,"24":42,"16":357807287273783296,"45":-6223059865830176768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952807424001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:03:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:03:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357807287273783296,"km_value":357807287273783.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6223059865830176768,"description":"Unknown IO ID 45"} 
[2026-07-25 15:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952807424001,"power":27876,"unknown_19":206,"unknown_88":20736,"ignition":42,"odometer":null,"unknown_45":-6223059865830176768}} 
[2026-07-25 15:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":142134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:03:01] local.INFO: GPS data processed {"connection_id":142134,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:03:01] local.INFO: Acknowledgment sent {"connection_id":142134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:03:17] local.INFO: TCP Data received {"connection_id":142135,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:17] local.INFO: Processing buffer {"connection_id":142135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:17] local.INFO: IMEI packet received {"connection_id":142135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":142135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:03:18] local.INFO: TCP Data received {"connection_id":142135,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:18] local.INFO: Processing buffer {"connection_id":142135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:18] local.INFO: IMEI packet received {"connection_id":142135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":142135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:03:23] local.INFO: TCP Data received {"connection_id":142135,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:23] local.INFO: Processing buffer {"connection_id":142135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:03:23] local.INFO: IMEI packet received {"connection_id":142135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":142135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:03:24] local.INFO: TCP Data received {"connection_id":142135,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989f2b60012d7c804005d9cb50001100a614..."} 
[2026-07-25 15:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989f2b60012d7c804005d9cb50001100a614..."} 
[2026-07-25 15:03:24] local.INFO: Processing buffer {"connection_id":142135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989f2b60012d7c804005d9cb50001100a614..."} 
[2026-07-25 15:03:24] local.INFO: Packet analysis {"connection_id":142135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:03:24] local.INFO: Extracted packet for processing {"connection_id":142135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763134016,"raw_latitude":98159440,"longitude_deg":76.3134016,"latitude_deg":9.815944,"altitude":17,"angle":166,"satellites":20,"speed":25,"hex_longitude":"2d7c8040","hex_latitude":"05d9cb50","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952828672001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110260718250491904,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481632992811008,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784971996000,"timestamp_ms":1784971996000,"timestamp_seconds":1784971996,"priority":1,"record_length":96,"hex_timestamp":"0000019f989f2b60"} 
[2026-07-25 15:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-25 15:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":142135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":142135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":142135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952828672001,"66":12461,"187":206,"85":15104,"24":25,"16":110260718250491904,"45":8969481632992811008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 15:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952828672001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:03:24] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 15:03:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110260718250491904,"km_value":110260718250491.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481632992811008,"description":"Unknown IO ID 45"} 
[2026-07-25 15:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952828672001,"power":12461,"unknown_187":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8969481632992811008}} 
[2026-07-25 15:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":142135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:03:24] local.INFO: GPS data processed {"connection_id":142135,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:03:24] local.INFO: Acknowledgment sent {"connection_id":142135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:03:31] local.INFO: TCP Data received {"connection_id":143499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989cdd88012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989cdd88012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:03:31] local.INFO: Processing buffer {"connection_id":143499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989cdd88012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:03:31] local.INFO: Packet analysis {"connection_id":143499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:03:31] local.INFO: Extracted packet for processing {"connection_id":143499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989c"} 
[2026-07-25 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952786944001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:31] 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-07-25 15:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971845000,"timestamp_ms":1784971845000,"timestamp_seconds":1784971845,"priority":1,"record_length":96,"hex_timestamp":"0000019f989cdd88"} 
[2026-07-25 15:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:03:31] 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-07-25 15:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952786944001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952786944001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952786944001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":143499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:03:31] local.INFO: GPS data processed {"connection_id":143499,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:03:31] local.INFO: Acknowledgment sent {"connection_id":143499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:03:33] local.INFO: TCP Data received {"connection_id":142134,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989e0668012da9cfc005f10e10001a007d2a..."} 
[2026-07-25 15:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989e0668012da9cfc005f10e10001a007d2a..."} 
[2026-07-25 15:03:33] local.INFO: Processing buffer {"connection_id":142134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989e0668012da9cfc005f10e10001a007d2a..."} 
[2026-07-25 15:03:33] local.INFO: Packet analysis {"connection_id":142134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:03:33] local.INFO: Extracted packet for processing {"connection_id":142134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:03:33] local.INFO: GPS Element Parsed {"raw_longitude":766103488,"raw_latitude":99683856,"longitude_deg":76.6103488,"latitude_deg":9.9683856,"altitude":26,"angle":125,"satellites":42,"speed":23,"hex_longitude":"2da9cfc0","hex_latitude":"05f10e10","is_valid_coordinates":true} 
[2026-07-25 15:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952808704001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357807733950382080,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6218626634948018176,"note":"Value kept but may cause issues"} 
[2026-07-25 15:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784971921000,"timestamp_ms":1784971921000,"timestamp_seconds":1784971921,"priority":1,"record_length":96,"hex_timestamp":"0000019f989e0668"} 
[2026-07-25 15:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 15:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952808704001,"66":28028,"19":206,"88":20736,"24":23,"16":357807733950382080,"45":-6218626634948018176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952808704001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:03:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357807733950382080,"km_value":357807733950382.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6218626634948018176,"description":"Unknown IO ID 45"} 
[2026-07-25 15:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952808704001,"power":28028,"unknown_19":206,"unknown_88":20736,"ignition":23,"odometer":null,"unknown_45":-6218626634948018176}} 
[2026-07-25 15:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":142134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:03:33] local.INFO: GPS data processed {"connection_id":142134,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:03:33] local.INFO: Acknowledgment sent {"connection_id":142134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:03:54] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:03:54] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:03:54] local.INFO: IMEI packet received {"connection_id":141157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":141157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:03:57] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:03:57] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:03:57] local.INFO: IMEI packet received {"connection_id":141158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":141158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:03:59] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:03:59] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:03:59] local.INFO: IMEI packet received {"connection_id":141157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":141157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:00] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989d2f90012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989d2f90012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:04:00] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989d2f90012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:04:00] local.INFO: Packet analysis {"connection_id":141157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:04:00] local.INFO: Extracted packet for processing {"connection_id":141157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952792320001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:00] 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-07-25 15:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971866000,"timestamp_ms":1784971866000,"timestamp_seconds":1784971866,"priority":1,"record_length":96,"hex_timestamp":"0000019f989d2f90"} 
[2026-07-25 15:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952792320001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952792320001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:04:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952792320001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":141157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:04:00] local.INFO: GPS data processed {"connection_id":141157,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:04:00] local.INFO: Acknowledgment sent {"connection_id":141157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:04:02] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:02] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:02] local.INFO: IMEI packet received {"connection_id":141158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":141158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:03] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:03] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:03] local.INFO: IMEI packet received {"connection_id":141158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":141158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:05] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989e3930012da9ed0005f0f9b0001a00782b..."} 
[2026-07-25 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989e3930012da9ed0005f0f9b0001a00782b..."} 
[2026-07-25 15:04:05] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989e3930012da9ed0005f0f9b0001a00782b..."} 
[2026-07-25 15:04:05] local.INFO: Packet analysis {"connection_id":141158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:04:05] local.INFO: Extracted packet for processing {"connection_id":141158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":766110976,"raw_latitude":99678640,"longitude_deg":76.6110976,"latitude_deg":9.967864,"altitude":26,"angle":120,"satellites":43,"speed":29,"hex_longitude":"2da9ed00","hex_latitude":"05f0f9b0","is_valid_coordinates":true} 
[2026-07-25 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952811776001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357808172037046272,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6210534229369024512,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784971934000,"timestamp_ms":1784971934000,"timestamp_seconds":1784971934,"priority":1,"record_length":96,"hex_timestamp":"0000019f989e3930"} 
[2026-07-25 15:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 15:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952811776001,"66":27919,"19":206,"88":20736,"24":29,"16":357808172037046272,"45":-6210534229369024512},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952811776001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357808172037046272,"km_value":357808172037046.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6210534229369024512,"description":"Unknown IO ID 45"} 
[2026-07-25 15:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952811776001,"power":27919,"unknown_19":206,"unknown_88":20736,"ignition":29,"odometer":null,"unknown_45":-6210534229369024512}} 
[2026-07-25 15:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":141158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:04:05] local.INFO: GPS data processed {"connection_id":141158,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:04:05] local.INFO: Acknowledgment sent {"connection_id":141158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:04:07] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989e6428012daa0a8005f0e698001800822b..."} 
[2026-07-25 15:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989e6428012daa0a8005f0e698001800822b..."} 
[2026-07-25 15:04:07] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989e6428012daa0a8005f0e698001800822b..."} 
[2026-07-25 15:04:07] local.INFO: Packet analysis {"connection_id":141158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:04:07] local.INFO: Extracted packet for processing {"connection_id":141158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:04:07] local.INFO: GPS Element Parsed {"raw_longitude":766118528,"raw_latitude":99673752,"longitude_deg":76.6118528,"latitude_deg":9.9673752,"altitude":24,"angle":130,"satellites":43,"speed":30,"hex_longitude":"2daa0a80","hex_latitude":"05f0e698","is_valid_coordinates":true} 
[2026-07-25 15:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357808601533775872,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6202301086301573120,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784971945000,"timestamp_ms":1784971945000,"timestamp_seconds":1784971945,"priority":1,"record_length":96,"hex_timestamp":"0000019f989e6428"} 
[2026-07-25 15:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952815104001,"66":27821,"19":206,"88":20736,"24":30,"16":357808601533775872,"45":-6202301086301573120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,88,24,16,45]} 
[2026-07-25 15:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:04:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-25 15:04:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357808601533775872,"km_value":357808601533775.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6202301086301573120,"description":"Unknown IO ID 45"} 
[2026-07-25 15:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952815104001,"power":27821,"unknown_19":206,"unknown_88":20736,"ignition":30,"odometer":null,"unknown_45":-6202301086301573120}} 
[2026-07-25 15:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":141158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:04:07] local.INFO: GPS data processed {"connection_id":141158,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:04:07] local.INFO: Acknowledgment sent {"connection_id":141158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:04:15] local.INFO: TCP Data received {"connection_id":141097,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:04:15] local.INFO: Processing buffer {"connection_id":141097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:04:15] local.INFO: IMEI packet received {"connection_id":141097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":141097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:04:31] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989d8198012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989d8198012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:04:31] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989d8198012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:04:31] local.INFO: Packet analysis {"connection_id":141157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:04:31] local.INFO: Extracted packet for processing {"connection_id":141157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952797696001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:31] 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-07-25 15:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971887000,"timestamp_ms":1784971887000,"timestamp_seconds":1784971887,"priority":1,"record_length":96,"hex_timestamp":"0000019f989d8198"} 
[2026-07-25 15:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:04:31] 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-07-25 15:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952797696001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952797696001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952797696001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":141157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:04:31] local.INFO: GPS data processed {"connection_id":141157,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:04:31] local.INFO: Acknowledgment sent {"connection_id":141157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:04:38] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989e8f20012daa250005f0cee00016008a2a..."} 
[2026-07-25 15:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989e8f20012daa250005f0cee00016008a2a..."} 
[2026-07-25 15:04:38] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989e8f20012daa250005f0cee00016008a2a..."} 
[2026-07-25 15:04:38] local.INFO: Packet analysis {"connection_id":141158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:04:38] local.INFO: Extracted packet for processing {"connection_id":141158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:04:38] local.INFO: GPS Element Parsed {"raw_longitude":766125312,"raw_latitude":99667680,"longitude_deg":76.6125312,"latitude_deg":9.966768,"altitude":22,"angle":138,"satellites":42,"speed":39,"hex_longitude":"2daa2500","hex_latitude":"05f0cee0","is_valid_coordinates":true} 
[2026-07-25 15:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952817920001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357809039620440064,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6193997574489860096,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784971956000,"timestamp_ms":1784971956000,"timestamp_seconds":1784971956,"priority":1,"record_length":96,"hex_timestamp":"0000019f989e8f20"} 
[2026-07-25 15:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 15:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952817920001,"66":27995,"18":206,"88":20736,"24":39,"16":357809039620440064,"45":-6193997574489860096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,88,24,16,45]} 
[2026-07-25 15:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952817920001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357809039620440064,"km_value":357809039620440.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6193997574489860096,"description":"Unknown IO ID 45"} 
[2026-07-25 15:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952817920001,"power":27995,"unknown_18":206,"unknown_88":20736,"ignition":39,"odometer":null,"unknown_45":-6193997574489860096}} 
[2026-07-25 15:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":141158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:04:38] local.INFO: GPS data processed {"connection_id":141158,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:04:38] local.INFO: Acknowledgment sent {"connection_id":141158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:04:52] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:52] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:52] local.INFO: IMEI packet received {"connection_id":143500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":143500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:04:53] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:53] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:53] local.INFO: IMEI packet received {"connection_id":143501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":143501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:04:54] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:54] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:54] local.INFO: IMEI packet received {"connection_id":143501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":143501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:55] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:55] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:55] local.INFO: IMEI packet received {"connection_id":143500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":143500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:59] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:59] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:04:59] local.INFO: IMEI packet received {"connection_id":143500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":143500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:59] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:59] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:04:59] local.INFO: IMEI packet received {"connection_id":143501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":143501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:04:59] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989fdb28012dab538005efc938001600932b..."} 
[2026-07-25 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989fdb28012dab538005efc938001600932b..."} 
[2026-07-25 15:04:59] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989fdb28012dab538005efc938001600932b..."} 
[2026-07-25 15:04:59] local.INFO: Packet analysis {"connection_id":143500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:04:59] local.INFO: Extracted packet for processing {"connection_id":143500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:04:59] local.INFO: GPS Element Parsed {"raw_longitude":766202752,"raw_latitude":99600696,"longitude_deg":76.6202752,"latitude_deg":9.9600696,"altitude":22,"angle":147,"satellites":43,"speed":50,"hex_longitude":"2dab5380","hex_latitude":"05efc938","is_valid_coordinates":true} 
[2026-07-25 15:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952841984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357813983127797760,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6103151525774688256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784972041000,"timestamp_ms":1784972041000,"timestamp_seconds":1784972041,"priority":1,"record_length":96,"hex_timestamp":"0000019f989fdb28"} 
[2026-07-25 15:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 15:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952841984001,"66":27919,"203":206,"88":20736,"24":50,"16":357813983127797760,"45":-6103151525774688256},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-07-25 15:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952841984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:04:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357813983127797760,"km_value":357813983127797.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6103151525774688256,"description":"Unknown IO ID 45"} 
[2026-07-25 15:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952841984001,"power":27919,"mnc":206,"unknown_88":20736,"ignition":50,"odometer":null,"unknown_45":-6103151525774688256}} 
[2026-07-25 15:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":143500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:04:59] local.INFO: GPS data processed {"connection_id":143500,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:04:59] local.INFO: Acknowledgment sent {"connection_id":143500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:05:00] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989dd3a0012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989dd3a0012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:05:00] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989dd3a0012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:05:00] local.INFO: Packet analysis {"connection_id":143501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:05:00] local.INFO: Extracted packet for processing {"connection_id":143501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989d"} 
[2026-07-25 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952803072001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] 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-07-25 15:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971908000,"timestamp_ms":1784971908000,"timestamp_seconds":1784971908,"priority":1,"record_length":96,"hex_timestamp":"0000019f989dd3a0"} 
[2026-07-25 15:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6269010681299730431,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7450287078938699306,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514425103677259955,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468626358478,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2621011969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:05:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,42,83,24,241,157,16,58,159,47,45,64,154,39,10,66,221,139,1,240,53,227,152,35,4,113,205,231,214,232,38,239,48,2,31,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:05:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537421400014848,"timestamp_seconds":4179537421400015.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952803072001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952803072001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952803072001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":143501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:05:00] local.INFO: GPS data processed {"connection_id":143501,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:05:00] local.INFO: Acknowledgment sent {"connection_id":143501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:05:02] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989ffa68012dab690005efa8480018008622..."} 
[2026-07-25 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989ffa68012dab690005efa8480018008622..."} 
[2026-07-25 15:05:02] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989ffa68012dab690005efa8480018008622..."} 
[2026-07-25 15:05:02] local.INFO: Packet analysis {"connection_id":143500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:05:02] local.INFO: Extracted packet for processing {"connection_id":143500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":766208256,"raw_latitude":99592264,"longitude_deg":76.6208256,"latitude_deg":9.9592264,"altitude":24,"angle":134,"satellites":34,"speed":50,"hex_longitude":"2dab6900","hex_latitude":"05efa848","is_valid_coordinates":true} 
[2026-07-25 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952842496001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357814468459102208,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6101392307170756608,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784972049000,"timestamp_ms":1784972049000,"timestamp_seconds":1784972049,"priority":1,"record_length":96,"hex_timestamp":"0000019f989ffa68"} 
[2026-07-25 15:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952842496001,"66":28028,"203":206,"88":20736,"24":50,"16":357814468459102208,"45":-6101392307170756608},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-07-25 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952842496001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:05:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357814468459102208,"km_value":357814468459102.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6101392307170756608,"description":"Unknown IO ID 45"} 
[2026-07-25 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952842496001,"power":28028,"mnc":206,"unknown_88":20736,"ignition":50,"odometer":null,"unknown_45":-6101392307170756608}} 
[2026-07-25 15:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":143500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:05:02] local.INFO: GPS data processed {"connection_id":143500,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:05:02] local.INFO: Acknowledgment sent {"connection_id":143500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:05:31] local.INFO: TCP Data received {"connection_id":143501,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989e25a8012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989e25a8012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:05:31] local.INFO: Processing buffer {"connection_id":143501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989e25a8012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:05:31] local.INFO: Packet analysis {"connection_id":143501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:05:31] local.INFO: Extracted packet for processing {"connection_id":143501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952808448001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] 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-07-25 15:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971929000,"timestamp_ms":1784971929000,"timestamp_seconds":1784971929,"priority":1,"record_length":96,"hex_timestamp":"0000019f989e25a8"} 
[2026-07-25 15:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6269010681299730431,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7450196884625483306,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514425103677259955,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468626358478,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2626387969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:05:31] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,42,83,24,241,157,16,58,159,129,45,64,154,36,10,66,47,39,221,1,240,53,227,152,35,4,113,205,57,214,232,239,48,2,31,7,37],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:05:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537429989949440,"timestamp_seconds":4179537429989949.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:05:31] 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-07-25 15:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952808448001,"66":12363,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952808448001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952808448001,"power":12363,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":143501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:05:31] local.INFO: GPS data processed {"connection_id":143501,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:05:31] local.INFO: Acknowledgment sent {"connection_id":143501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:05:33] local.INFO: TCP Data received {"connection_id":143500,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f989ffa68012dab690005efa8480018008622..."} 
[2026-07-25 15:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989ffa68012dab690005efa8480018008622..."} 
[2026-07-25 15:05:33] local.INFO: Processing buffer {"connection_id":143500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989ffa68012dab690005efa8480018008622..."} 
[2026-07-25 15:05:33] local.INFO: Packet analysis {"connection_id":143500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:05:33] local.INFO: Extracted packet for processing {"connection_id":143500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:05:33] local.INFO: GPS Element Parsed {"raw_longitude":766208256,"raw_latitude":99592264,"longitude_deg":76.6208256,"latitude_deg":9.9592264,"altitude":24,"angle":134,"satellites":34,"speed":50,"hex_longitude":"2dab6900","hex_latitude":"05efa848","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952844544001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357814468459102208,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6095340595173636096,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784972049000,"timestamp_ms":1784972049000,"timestamp_seconds":1784972049,"priority":1,"record_length":96,"hex_timestamp":"0000019f989ffa68"} 
[2026-07-25 15:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 15:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952844544001,"66":28028,"203":206,"88":20736,"24":50,"16":357814468459102208,"45":-6095340595173636096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-07-25 15:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952844544001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:05:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357814468459102208,"km_value":357814468459102.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6095340595173636096,"description":"Unknown IO ID 45"} 
[2026-07-25 15:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952844544001,"power":28028,"mnc":206,"unknown_88":20736,"ignition":50,"odometer":null,"unknown_45":-6095340595173636096}} 
[2026-07-25 15:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":143500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:05:33] local.INFO: GPS data processed {"connection_id":143500,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:05:33] local.INFO: Acknowledgment sent {"connection_id":143500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:05:54] local.INFO: TCP Data received {"connection_id":143503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:05:54] local.INFO: Processing buffer {"connection_id":143503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:05:54] local.INFO: IMEI packet received {"connection_id":143503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":143503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:05:55] local.INFO: TCP Data received {"connection_id":143502,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:05:55] local.INFO: Processing buffer {"connection_id":143502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:05:55] local.INFO: IMEI packet received {"connection_id":143502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":143502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:05:56] local.INFO: TCP Data received {"connection_id":143503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:05:56] local.INFO: Processing buffer {"connection_id":143503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:05:56] local.INFO: IMEI packet received {"connection_id":143503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":143503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:05:59] local.INFO: TCP Data received {"connection_id":143502,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:05:59] local.INFO: Processing buffer {"connection_id":143502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:05:59] local.INFO: IMEI packet received {"connection_id":143502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":143502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:05:59] local.INFO: TCP Data received {"connection_id":143502,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a00620012dab750005ef9fa80017007722..."} 
[2026-07-25 15:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a00620012dab750005ef9fa80017007722..."} 
[2026-07-25 15:05:59] local.INFO: Processing buffer {"connection_id":143502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a00620012dab750005ef9fa80017007722..."} 
[2026-07-25 15:05:59] local.INFO: Packet analysis {"connection_id":143502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:05:59] local.INFO: Extracted packet for processing {"connection_id":143502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":766211328,"raw_latitude":99590056,"longitude_deg":76.6211328,"latitude_deg":9.9590056,"altitude":23,"angle":119,"satellites":34,"speed":49,"hex_longitude":"2dab7500","hex_latitude":"05ef9fa8","is_valid_coordinates":true} 
[2026-07-25 15:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952844544001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357814648847728640,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6095340595173636096,"note":"Value kept but may cause issues"} 
[2026-07-25 15:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784972052000,"timestamp_ms":1784972052000,"timestamp_seconds":1784972052,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a00620"} 
[2026-07-25 15:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 15:05: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-07-25 15:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952844544001,"66":28006,"203":206,"88":20736,"24":49,"16":357814648847728640,"45":-6095340595173636096},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-07-25 15:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952844544001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357814648847728640,"km_value":357814648847728.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6095340595173636096,"description":"Unknown IO ID 45"} 
[2026-07-25 15:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952844544001,"power":28006,"mnc":206,"unknown_88":20736,"ignition":49,"odometer":null,"unknown_45":-6095340595173636096}} 
[2026-07-25 15:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":143502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:05:59] local.INFO: GPS data processed {"connection_id":143502,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:05:59] local.INFO: Acknowledgment sent {"connection_id":143502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:06:00] local.INFO: TCP Data received {"connection_id":143503,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:00] local.INFO: Processing buffer {"connection_id":143503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:00] local.INFO: IMEI packet received {"connection_id":143503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":143503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:06:00] local.INFO: TCP Data received {"connection_id":143503,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989e77b0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989e77b0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:06:00] local.INFO: Processing buffer {"connection_id":143503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989e77b0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:06:00] local.INFO: Packet analysis {"connection_id":143503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:06:00] local.INFO: Extracted packet for processing {"connection_id":143503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952813824001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:00] 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-07-25 15:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971950000,"timestamp_ms":1784971950000,"timestamp_seconds":1784971950,"priority":1,"record_length":96,"hex_timestamp":"0000019f989e77b0"} 
[2026-07-25 15:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 15:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952813824001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952813824001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952813824001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":143503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:06:00] local.INFO: GPS data processed {"connection_id":143503,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:06:00] local.INFO: Acknowledgment sent {"connection_id":143503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:06:31] local.INFO: TCP Data received {"connection_id":143503,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989ec9b8012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989ec9b8012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:06:31] local.INFO: Processing buffer {"connection_id":143503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989ec9b8012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:06:31] local.INFO: Packet analysis {"connection_id":143503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:06:31] local.INFO: Extracted packet for processing {"connection_id":143503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989e"} 
[2026-07-25 15:06:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952819200001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:31] 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-07-25 15:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784971971000,"timestamp_ms":1784971971000,"timestamp_seconds":1784971971,"priority":1,"record_length":96,"hex_timestamp":"0000019f989ec9b8"} 
[2026-07-25 15:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:06:31] 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-07-25 15:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952819200001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952819200001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952819200001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":143503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:06:32] local.INFO: GPS data processed {"connection_id":143503,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:06:32] local.INFO: Acknowledgment sent {"connection_id":143503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:06:41] local.INFO: TCP Data received {"connection_id":143502,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a161c8012dac7e4005eeaaf8001e00a629..."} 
[2026-07-25 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a161c8012dac7e4005eeaaf8001e00a629..."} 
[2026-07-25 15:06:41] local.INFO: Processing buffer {"connection_id":143502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a161c8012dac7e4005eeaaf8001e00a629..."} 
[2026-07-25 15:06:41] local.INFO: Packet analysis {"connection_id":143502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:06:41] local.INFO: Extracted packet for processing {"connection_id":143502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":766279232,"raw_latitude":99527416,"longitude_deg":76.6279232,"latitude_deg":9.9527416,"altitude":30,"angle":166,"satellites":41,"speed":42,"hex_longitude":"2dac7e40","hex_latitude":"05eeaaf8","is_valid_coordinates":true} 
[2026-07-25 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952865792001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357819356131885056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6017583132871464960,"note":"Value kept but may cause issues"} 
[2026-07-25 15:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784972141000,"timestamp_ms":1784972141000,"timestamp_seconds":1784972141,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a161c8"} 
[2026-07-25 15:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 15:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952865792001,"66":27995,"202":206,"88":20736,"24":42,"16":357819356131885056,"45":-6017583132871464960},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-07-25 15:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952865792001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:06:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357819356131885056,"km_value":357819356131885.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6017583132871464960,"description":"Unknown IO ID 45"} 
[2026-07-25 15:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952865792001,"power":27995,"mcc":206,"unknown_88":20736,"ignition":42,"odometer":null,"unknown_45":-6017583132871464960}} 
[2026-07-25 15:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":143502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:06:41] local.INFO: GPS data processed {"connection_id":143502,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:06:41] local.INFO: Acknowledgment sent {"connection_id":143502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:06:54] local.INFO: TCP Data received {"connection_id":143505,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:54] local.INFO: Processing buffer {"connection_id":143505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:54] local.INFO: IMEI packet received {"connection_id":143505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":143505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:06:55] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:06:55] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:06:55] local.INFO: IMEI packet received {"connection_id":143504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":143504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:06:56] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:06:56] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:06:56] local.INFO: IMEI packet received {"connection_id":143504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":143504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:06:59] local.INFO: TCP Data received {"connection_id":143505,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:59] local.INFO: Processing buffer {"connection_id":143505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:06:59] local.INFO: IMEI packet received {"connection_id":143505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":143505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:07:00] local.INFO: TCP Data received {"connection_id":143505,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989f1bc0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989f1bc0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:07:00] local.INFO: Processing buffer {"connection_id":143505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989f1bc0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:07:00] local.INFO: Packet analysis {"connection_id":143505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:07:00] local.INFO: Extracted packet for processing {"connection_id":143505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952824576001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:00] 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-07-25 15:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784971992000,"timestamp_ms":1784971992000,"timestamp_seconds":1784971992,"priority":1,"record_length":96,"hex_timestamp":"0000019f989f1bc0"} 
[2026-07-25 15:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952824576001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952824576001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:07:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:07:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952824576001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":143505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:07:00] local.INFO: GPS data processed {"connection_id":143505,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:07:00] local.INFO: Acknowledgment sent {"connection_id":143505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:07:00] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:00] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:00] local.INFO: IMEI packet received {"connection_id":143504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":143504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:07:01] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a161c8012dac7e4005eeaaf8001e00a629..."} 
[2026-07-25 15:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a161c8012dac7e4005eeaaf8001e00a629..."} 
[2026-07-25 15:07:01] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a161c8012dac7e4005eeaaf8001e00a629..."} 
[2026-07-25 15:07:01] local.INFO: Packet analysis {"connection_id":143504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:07:01] local.INFO: Extracted packet for processing {"connection_id":143504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:07:01] local.INFO: GPS Element Parsed {"raw_longitude":766279232,"raw_latitude":99527416,"longitude_deg":76.6279232,"latitude_deg":9.9527416,"altitude":30,"angle":166,"satellites":41,"speed":42,"hex_longitude":"2dac7e40","hex_latitude":"05eeaaf8","is_valid_coordinates":true} 
[2026-07-25 15:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952868096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357819356131885056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6017301657897207808,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784972141000,"timestamp_ms":1784972141000,"timestamp_seconds":1784972141,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a161c8"} 
[2026-07-25 15:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952868096001,"66":27995,"202":206,"88":20736,"24":42,"16":357819356131885056,"45":-6017301657897207808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-07-25 15:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952868096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:07:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357819356131885056,"km_value":357819356131885.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6017301657897207808,"description":"Unknown IO ID 45"} 
[2026-07-25 15:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952868096001,"power":27995,"mcc":206,"unknown_88":20736,"ignition":42,"odometer":null,"unknown_45":-6017301657897207808}} 
[2026-07-25 15:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":143504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:07:01] local.INFO: GPS data processed {"connection_id":143504,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:07:01] local.INFO: Acknowledgment sent {"connection_id":143504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:07:31] local.INFO: TCP Data received {"connection_id":143505,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989f6dc8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989f6dc8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:07:31] local.INFO: Processing buffer {"connection_id":143505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989f6dc8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:07:31] local.INFO: Packet analysis {"connection_id":143505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:07:31] local.INFO: Extracted packet for processing {"connection_id":143505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952829952001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:31] 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-07-25 15:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972013000,"timestamp_ms":1784972013000,"timestamp_seconds":1784972013,"priority":1,"record_length":96,"hex_timestamp":"0000019f989f6dc8"} 
[2026-07-25 15:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:07:31] 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-07-25 15:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952829952001,"66":12330,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952829952001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952829952001,"power":12330,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":143505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:07:31] local.INFO: GPS data processed {"connection_id":143505,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:07:31] local.INFO: Acknowledgment sent {"connection_id":143505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:07:32] local.INFO: TCP Data received {"connection_id":143504,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a16998012dac814005eea340001e009b27..."} 
[2026-07-25 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a16998012dac814005eea340001e009b27..."} 
[2026-07-25 15:07:32] local.INFO: Processing buffer {"connection_id":143504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a16998012dac814005eea340001e009b27..."} 
[2026-07-25 15:07:32] local.INFO: Packet analysis {"connection_id":143504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:07:32] local.INFO: Extracted packet for processing {"connection_id":143504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":766280000,"raw_latitude":99525440,"longitude_deg":76.628,"latitude_deg":9.952544,"altitude":30,"angle":155,"satellites":39,"speed":41,"hex_longitude":"2dac8140","hex_latitude":"05eea340","is_valid_coordinates":true} 
[2026-07-25 15:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952868096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357819459211100160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6017301657897207808,"note":"Value kept but may cause issues"} 
[2026-07-25 15:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784972143000,"timestamp_ms":1784972143000,"timestamp_seconds":1784972143,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a16998"} 
[2026-07-25 15:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952868096001,"66":27995,"202":206,"88":20736,"24":41,"16":357819459211100160,"45":-6017301657897207808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-07-25 15:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952868096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:07:32] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357819459211100160,"km_value":357819459211100.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6017301657897207808,"description":"Unknown IO ID 45"} 
[2026-07-25 15:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952868096001,"power":27995,"mcc":206,"unknown_88":20736,"ignition":41,"odometer":null,"unknown_45":-6017301657897207808}} 
[2026-07-25 15:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":143504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:07:32] local.INFO: GPS data processed {"connection_id":143504,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:07:32] local.INFO: Acknowledgment sent {"connection_id":143504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:07:54] local.INFO: TCP Data received {"connection_id":142136,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:54] local.INFO: Processing buffer {"connection_id":142136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:54] local.INFO: IMEI packet received {"connection_id":142136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":142136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:07:55] local.INFO: TCP Data received {"connection_id":142136,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:55] local.INFO: Processing buffer {"connection_id":142136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:07:55] local.INFO: IMEI packet received {"connection_id":142136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":142136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:07:59] local.INFO: TCP Data received {"connection_id":141159,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:07:59] local.INFO: Processing buffer {"connection_id":141159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:07:59] local.INFO: IMEI packet received {"connection_id":141159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":141159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:08:02] local.INFO: TCP Data received {"connection_id":141159,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:02] local.INFO: Processing buffer {"connection_id":141159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:02] local.INFO: IMEI packet received {"connection_id":141159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":141159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:08:03] local.INFO: TCP Data received {"connection_id":141159,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f989fbfd0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f989fbfd0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:03] local.INFO: Processing buffer {"connection_id":141159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f989fbfd0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:03] local.INFO: Packet analysis {"connection_id":141159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:08:03] local.INFO: Extracted packet for processing {"connection_id":141159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f989f"} 
[2026-07-25 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952835328001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:03] 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-07-25 15:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784972034000,"timestamp_ms":1784972034000,"timestamp_seconds":1784972034,"priority":1,"record_length":96,"hex_timestamp":"0000019f989fbfd0"} 
[2026-07-25 15:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-25 15:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:08:03] 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-07-25 15:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952835328001,"66":12287,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952835328001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952835328001,"power":12287,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":141159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:08:03] local.INFO: GPS data processed {"connection_id":141159,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:08:03] local.INFO: Acknowledgment sent {"connection_id":141159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:08:04] local.INFO: TCP Data received {"connection_id":142136,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:04] local.INFO: Processing buffer {"connection_id":142136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:04] local.INFO: IMEI packet received {"connection_id":142136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":142136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:08:04] local.INFO: TCP Data received {"connection_id":141159,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a011d8012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a011d8012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:04] local.INFO: Processing buffer {"connection_id":141159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a011d8012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:04] local.INFO: Packet analysis {"connection_id":141159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:08:04] local.INFO: Extracted packet for processing {"connection_id":141159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952840704001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:04] 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-07-25 15:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784972055000,"timestamp_ms":1784972055000,"timestamp_seconds":1784972055,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a011d8"} 
[2026-07-25 15:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 15:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:08:04] 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-07-25 15:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952840704001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952840704001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952840704001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":141159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:08:04] local.INFO: GPS data processed {"connection_id":141159,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:08:04] local.INFO: Acknowledgment sent {"connection_id":141159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:08:07] local.INFO: TCP Data received {"connection_id":142136,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a27b08012dad3e4005ede040002200721d..."} 
[2026-07-25 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a27b08012dad3e4005ede040002200721d..."} 
[2026-07-25 15:08:07] local.INFO: Processing buffer {"connection_id":142136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a27b08012dad3e4005ede040002200721d..."} 
[2026-07-25 15:08:07] local.INFO: Packet analysis {"connection_id":142136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:08:07] local.INFO: Extracted packet for processing {"connection_id":142136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":766328384,"raw_latitude":99475520,"longitude_deg":76.6328384,"latitude_deg":9.947552,"altitude":34,"angle":114,"satellites":29,"speed":55,"hex_longitude":"2dad3e40","hex_latitude":"05ede040","is_valid_coordinates":true} 
[2026-07-25 15:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952884736001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357823097048399872,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5972547136612622336,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784972213000,"timestamp_ms":1784972213000,"timestamp_seconds":1784972213,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a27b08"} 
[2026-07-25 15:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952884736001,"66":27974,"64":206,"88":20736,"24":55,"16":357823097048399872,"45":-5972547136612622336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,88,24,16,45]} 
[2026-07-25 15:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952884736001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:08:07] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 15:08:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357823097048399872,"km_value":357823097048399.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5972547136612622336,"description":"Unknown IO ID 45"} 
[2026-07-25 15:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952884736001,"power":27974,"unknown_64":206,"unknown_88":20736,"ignition":55,"odometer":null,"unknown_45":-5972547136612622336}} 
[2026-07-25 15:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":142136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:08:07] local.INFO: GPS data processed {"connection_id":142136,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:08:07] local.INFO: Acknowledgment sent {"connection_id":142136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:08:08] local.INFO: TCP Data received {"connection_id":142136,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a29660012dad620005edcf780021007523..."} 
[2026-07-25 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a29660012dad620005edcf780021007523..."} 
[2026-07-25 15:08:08] local.INFO: Processing buffer {"connection_id":142136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a29660012dad620005edcf780021007523..."} 
[2026-07-25 15:08:08] local.INFO: Packet analysis {"connection_id":142136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:08:08] local.INFO: Extracted packet for processing {"connection_id":142136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":766337536,"raw_latitude":99471224,"longitude_deg":76.6337536,"latitude_deg":9.9471224,"altitude":33,"angle":117,"satellites":35,"speed":58,"hex_longitude":"2dad6200","hex_latitude":"05edcf78","is_valid_coordinates":true} 
[2026-07-25 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952886528001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357823578084737024,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5963258462382047232,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784972220000,"timestamp_ms":1784972220000,"timestamp_seconds":1784972220,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a29660"} 
[2026-07-25 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 15:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952886528001,"66":28028,"64":206,"88":20736,"24":58,"16":357823578084737024,"45":-5963258462382047232},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,88,24,16,45]} 
[2026-07-25 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952886528001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357823578084737024,"km_value":357823578084737.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5963258462382047232,"description":"Unknown IO ID 45"} 
[2026-07-25 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952886528001,"power":28028,"unknown_64":206,"unknown_88":20736,"ignition":58,"odometer":null,"unknown_45":-5963258462382047232}} 
[2026-07-25 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":142136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:08:08] local.INFO: GPS data processed {"connection_id":142136,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:08:08] local.INFO: Acknowledgment sent {"connection_id":142136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:08:35] local.INFO: TCP Data received {"connection_id":141159,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a063e0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a063e0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:35] local.INFO: Processing buffer {"connection_id":141159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a063e0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:08:35] local.INFO: Packet analysis {"connection_id":141159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:08:35] local.INFO: Extracted packet for processing {"connection_id":141159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952846080001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] 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-07-25 15:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784972076000,"timestamp_ms":1784972076000,"timestamp_seconds":1784972076,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a063e0"} 
[2026-07-25 15:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6269010681299730431,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7449565524432971306,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514425103677259955,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3479876019138724046,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2664019969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:08:35] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,42,83,24,241,157,16,58,159,191,45,64,154,39,10,66,109,38,27,1,240,53,227,152,35,4,113,205,119,214,232,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:08:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537434284916736,"timestamp_seconds":4179537434284916.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:08:35] 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-07-25 15:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952846080001,"66":12341,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952846080001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:08:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952846080001,"power":12341,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":141159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:08:35] local.INFO: GPS data processed {"connection_id":141159,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:08:35] local.INFO: Acknowledgment sent {"connection_id":141159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:08:39] local.INFO: TCP Data received {"connection_id":142136,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a2b1b8012dad834005edbad00021008024..."} 
[2026-07-25 15:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a2b1b8012dad834005edbad00021008024..."} 
[2026-07-25 15:08:39] local.INFO: Processing buffer {"connection_id":142136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a2b1b8012dad834005edbad00021008024..."} 
[2026-07-25 15:08:39] local.INFO: Packet analysis {"connection_id":142136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:08:39] local.INFO: Extracted packet for processing {"connection_id":142136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":766346048,"raw_latitude":99465936,"longitude_deg":76.6346048,"latitude_deg":9.9465936,"altitude":33,"angle":128,"satellites":36,"speed":57,"hex_longitude":"2dad8340","hex_latitude":"05edbad0","is_valid_coordinates":true} 
[2026-07-25 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952888320001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357824063416041472,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5953195731965741056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784972227000,"timestamp_ms":1784972227000,"timestamp_seconds":1784972227,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a2b1b8"} 
[2026-07-25 15:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 15:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":142136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":142136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":142136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952888320001,"66":27995,"64":206,"88":20736,"24":57,"16":357824063416041472,"45":-5953195731965741056},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,88,24,16,45]} 
[2026-07-25 15:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952888320001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:08:39] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 15:08:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357824063416041472,"km_value":357824063416041.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5953195731965741056,"description":"Unknown IO ID 45"} 
[2026-07-25 15:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952888320001,"power":27995,"unknown_64":206,"unknown_88":20736,"ignition":57,"odometer":null,"unknown_45":-5953195731965741056}} 
[2026-07-25 15:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":142136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:08:39] local.INFO: GPS data processed {"connection_id":142136,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:08:39] local.INFO: Acknowledgment sent {"connection_id":142136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:08:54] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:54] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:54] local.INFO: IMEI packet received {"connection_id":141160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":141160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:08:56] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:56] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:56] local.INFO: IMEI packet received {"connection_id":143506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":143506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:08:57] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:57] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:08:57] local.INFO: IMEI packet received {"connection_id":143506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":143506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:08:59] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:59] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:08:59] local.INFO: IMEI packet received {"connection_id":141160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":141160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:09:00] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a0b5e8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a0b5e8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:09:00] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a0b5e8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:09:00] local.INFO: Packet analysis {"connection_id":141160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:09:00] local.INFO: Extracted packet for processing {"connection_id":141160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a0"} 
[2026-07-25 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952851456001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:00] 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-07-25 15:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972097000,"timestamp_ms":1784972097000,"timestamp_seconds":1784972097,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a0b5e8"} 
[2026-07-25 15:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 15:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952851456001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952851456001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952851456001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":141160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:09:00] local.INFO: GPS data processed {"connection_id":141160,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:09:00] local.INFO: Acknowledgment sent {"connection_id":141160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:09:01] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:09:01] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:09:01] local.INFO: IMEI packet received {"connection_id":143506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":143506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:09:02] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a2c928012dad9f4005eda9400020007227..."} 
[2026-07-25 15:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a2c928012dad9f4005eda9400020007227..."} 
[2026-07-25 15:09:02] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a2c928012dad9f4005eda9400020007227..."} 
[2026-07-25 15:09:02] local.INFO: Packet analysis {"connection_id":143506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:09:02] local.INFO: Extracted packet for processing {"connection_id":143506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:09:02] local.INFO: GPS Element Parsed {"raw_longitude":766353216,"raw_latitude":99461440,"longitude_deg":76.6353216,"latitude_deg":9.946144,"altitude":32,"angle":114,"satellites":39,"speed":53,"hex_longitude":"2dad9f40","hex_latitude":"05eda940","is_valid_coordinates":true} 
[2026-07-25 15:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952890112001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357824467142967296,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5943836688991465472,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784972233000,"timestamp_ms":1784972233000,"timestamp_seconds":1784972233,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a2c928"} 
[2026-07-25 15:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952890112001,"66":28028,"64":206,"88":20736,"24":53,"16":357824467142967296,"45":-5943836688991465472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,88,24,16,45]} 
[2026-07-25 15:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952890112001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:09:02] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 15:09:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357824467142967296,"km_value":357824467142967.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5943836688991465472,"description":"Unknown IO ID 45"} 
[2026-07-25 15:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952890112001,"power":28028,"unknown_64":206,"unknown_88":20736,"ignition":53,"odometer":null,"unknown_45":-5943836688991465472}} 
[2026-07-25 15:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":143506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:09:02] local.INFO: GPS data processed {"connection_id":143506,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:09:02] local.INFO: Acknowledgment sent {"connection_id":143506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:09:31] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a107f0012d19d64007239ae8003a00b323..."} 
[2026-07-25 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a107f0012d19d64007239ae8003a00b323..."} 
[2026-07-25 15:09:31] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a107f0012d19d64007239ae8003a00b323..."} 
[2026-07-25 15:09:31] local.INFO: Packet analysis {"connection_id":141160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:09:31] local.INFO: Extracted packet for processing {"connection_id":141160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":35,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952856832001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] 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-07-25 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972118000,"timestamp_ms":1784972118000,"timestamp_seconds":1784972118,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a107f0"} 
[2026-07-25 15:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6269010681299730431,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7449385135806539306,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514425103677259955,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569651089614,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2674771969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:09:31] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:31] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,42,83,24,241,157,16,58,159,99,45,64,154,39,10,66,17,191,1,240,255,227,152,35,4,113,205,27,214,232,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:09:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537429989949440,"timestamp_seconds":4179537429989949.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:09:31] 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-07-25 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952856832001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952856832001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952856832001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":141160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:09:31] local.INFO: GPS data processed {"connection_id":141160,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:09:31] local.INFO: Acknowledgment sent {"connection_id":141160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:09:36] local.INFO: TCP Data received {"connection_id":143506,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a2d4e0012dadae8005eda4280021006726..."} 
[2026-07-25 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a2d4e0012dadae8005eda4280021006726..."} 
[2026-07-25 15:09:36] local.INFO: Processing buffer {"connection_id":143506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a2d4e0012dadae8005eda4280021006726..."} 
[2026-07-25 15:09:36] local.INFO: Packet analysis {"connection_id":143506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:09:36] local.INFO: Extracted packet for processing {"connection_id":143506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":766357120,"raw_latitude":99460136,"longitude_deg":76.635712,"latitude_deg":9.9460136,"altitude":33,"angle":103,"satellites":38,"speed":52,"hex_longitude":"2dadae80","hex_latitude":"05eda428","is_valid_coordinates":true} 
[2026-07-25 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952891648001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357824664711462912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5935955389644718080,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784972236000,"timestamp_ms":1784972236000,"timestamp_seconds":1784972236,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a2d4e0"} 
[2026-07-25 15:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 15:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952891648001,"66":27397,"64":206,"88":20736,"24":52,"16":357824664711462912,"45":-5935955389644718080},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,88,24,16,45]} 
[2026-07-25 15:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952891648001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:09:36] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-25 15:09:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357824664711462912,"km_value":357824664711462.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5935955389644718080,"description":"Unknown IO ID 45"} 
[2026-07-25 15:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952891648001,"power":27397,"unknown_64":206,"unknown_88":20736,"ignition":52,"odometer":null,"unknown_45":-5935955389644718080}} 
[2026-07-25 15:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":143506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:09:36] local.INFO: GPS data processed {"connection_id":143506,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:09:36] local.INFO: Acknowledgment sent {"connection_id":143506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:09:50] local.INFO: TCP Data received {"connection_id":141098,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:09:50] local.INFO: Processing buffer {"connection_id":141098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:09:50] local.INFO: IMEI packet received {"connection_id":141098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":141098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:09:54] local.INFO: TCP Data received {"connection_id":142137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:09:54] local.INFO: Processing buffer {"connection_id":142137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:09:54] local.INFO: IMEI packet received {"connection_id":142137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":142137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:09:55] local.INFO: TCP Data received {"connection_id":142138,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:09:55] local.INFO: Processing buffer {"connection_id":142138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:09:55] local.INFO: IMEI packet received {"connection_id":142138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":142138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:09:59] local.INFO: TCP Data received {"connection_id":142137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:09:59] local.INFO: Processing buffer {"connection_id":142137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:09:59] local.INFO: IMEI packet received {"connection_id":142137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":142137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:09:59] local.INFO: TCP Data received {"connection_id":142137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a159f8012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a159f8012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:09:59] local.INFO: Processing buffer {"connection_id":142137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a159f8012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:09:59] local.INFO: Packet analysis {"connection_id":142137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:09:59] local.INFO: Extracted packet for processing {"connection_id":142137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952862208001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] 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-07-25 15:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784972139000,"timestamp_ms":1784972139000,"timestamp_seconds":1784972139,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a159f8"} 
[2026-07-25 15:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6269010681299730431,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7449294941493323306,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514425103677259955,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832566,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569651089614,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2680147969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:09:59] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-07-25 15:09:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,42,83,24,241,157,16,58,159,181,45,64,154,38,10,66,99,39,17,1,240,227,152,35,4,113,205,109,214,232,239,48,2,31,7,40],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:09:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537417105047552,"timestamp_seconds":4179537417105047.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:09: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-07-25 15:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952862208001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952862208001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952862208001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":142137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:09:59] local.INFO: GPS data processed {"connection_id":142137,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:09:59] local.INFO: Acknowledgment sent {"connection_id":142137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:10:00] local.INFO: TCP Data received {"connection_id":142138,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:00] local.INFO: Processing buffer {"connection_id":142138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:00] local.INFO: IMEI packet received {"connection_id":142138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":142138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:10:01] local.INFO: TCP Data received {"connection_id":142138,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a447f8012daef88005ed06600021007929..."} 
[2026-07-25 15:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a447f8012daef88005ed06600021007929..."} 
[2026-07-25 15:10:01] local.INFO: Processing buffer {"connection_id":142138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a447f8012daef88005ed06600021007929..."} 
[2026-07-25 15:10:01] local.INFO: Packet analysis {"connection_id":142138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a4"} 
[2026-07-25 15:10:01] local.INFO: Extracted packet for processing {"connection_id":142138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a4"} 
[2026-07-25 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":766441600,"raw_latitude":99419744,"longitude_deg":76.64416,"latitude_deg":9.9419744,"altitude":33,"angle":121,"satellites":41,"speed":40,"hex_longitude":"2daef880","hex_latitude":"05ed0660","is_valid_coordinates":true} 
[2026-07-25 15:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952914432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357829165837189120,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5847361140734496768,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784972331000,"timestamp_ms":1784972331000,"timestamp_seconds":1784972331,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a447f8"} 
[2026-07-25 15:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 15:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952914432001,"66":27876,"63":206,"88":20736,"24":40,"16":357829165837189120,"45":-5847361140734496768},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,88,24,16,45]} 
[2026-07-25 15:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952914432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:10:01] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 15:10:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357829165837189120,"km_value":357829165837189.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5847361140734496768,"description":"Unknown IO ID 45"} 
[2026-07-25 15:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952914432001,"power":27876,"unknown_63":206,"unknown_88":20736,"ignition":40,"odometer":null,"unknown_45":-5847361140734496768}} 
[2026-07-25 15:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":142138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:10:01] local.INFO: GPS data processed {"connection_id":142138,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:10:01] local.INFO: Acknowledgment sent {"connection_id":142138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:10:30] local.INFO: TCP Data received {"connection_id":142137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a1ac00012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a1ac00012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:10:30] local.INFO: Processing buffer {"connection_id":142137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a1ac00012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:10:30] local.INFO: Packet analysis {"connection_id":142137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:10:30] local.INFO: Extracted packet for processing {"connection_id":142137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952867584001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] 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-07-25 15:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784972160000,"timestamp_ms":1784972160000,"timestamp_seconds":1784972160,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a1ac00"} 
[2026-07-25 15:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":58,"raw_value":-6269010681299730431,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7449204747180107306,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514425103677259955,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2598895674,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832567,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3470587344907272398,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2685523969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242655,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,42,83,24,241,157,16,58,159,7,45,64,154,35,10,66,181,38,99,1,240,53,227,152,4,113,205,191,214,232,39,239,47,2,31],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:10:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179537425694982144,"timestamp_seconds":4179537425694982.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:10: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-07-25 15:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952867584001,"66":12287,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952867584001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:10:30] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952867584001,"power":12287,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":142137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:10:30] local.INFO: GPS data processed {"connection_id":142137,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:10:30] local.INFO: Acknowledgment sent {"connection_id":142137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:10:33] local.INFO: TCP Data received {"connection_id":142138,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a46b20012daf188005ecf2d0002200791e..."} 
[2026-07-25 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a46b20012daf188005ecf2d0002200791e..."} 
[2026-07-25 15:10:33] local.INFO: Processing buffer {"connection_id":142138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a46b20012daf188005ecf2d0002200791e..."} 
[2026-07-25 15:10:33] local.INFO: Packet analysis {"connection_id":142138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a4"} 
[2026-07-25 15:10:33] local.INFO: Extracted packet for processing {"connection_id":142138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a4"} 
[2026-07-25 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":766449792,"raw_latitude":99414736,"longitude_deg":76.6449792,"latitude_deg":9.9414736,"altitude":34,"angle":121,"satellites":30,"speed":45,"hex_longitude":"2daf1880","hex_latitude":"05ecf2d0","is_valid_coordinates":true} 
[2026-07-25 15:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952916736001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357829625398689792,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5838776153946038272,"note":"Value kept but may cause issues"} 
[2026-07-25 15:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784972340000,"timestamp_ms":1784972340000,"timestamp_seconds":1784972340,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a46b20"} 
[2026-07-25 15:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 15:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952916736001,"66":27887,"63":206,"88":20736,"24":45,"16":357829625398689792,"45":-5838776153946038272},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,88,24,16,45]} 
[2026-07-25 15:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952916736001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:10:33] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 15:10:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357829625398689792,"km_value":357829625398689.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5838776153946038272,"description":"Unknown IO ID 45"} 
[2026-07-25 15:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952916736001,"power":27887,"unknown_63":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5838776153946038272}} 
[2026-07-25 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":142138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:10:33] local.INFO: GPS data processed {"connection_id":142138,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:10:33] local.INFO: Acknowledgment sent {"connection_id":142138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:10:55] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:10:55] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:10:55] local.INFO: IMEI packet received {"connection_id":141099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":141099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:10:55] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:55] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:55] local.INFO: IMEI packet received {"connection_id":141100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":141100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:10:56] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:56] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:56] local.INFO: IMEI packet received {"connection_id":141100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":141100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:10:57] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:57] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:10:57] local.INFO: IMEI packet received {"connection_id":141100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":141100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:10:59] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:10:59] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:10:59] local.INFO: IMEI packet received {"connection_id":141099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":141099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:11:00] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a1fe08012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a1fe08012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:11:00] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a1fe08012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:11:00] local.INFO: Packet analysis {"connection_id":141099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:11:00] local.INFO: Extracted packet for processing {"connection_id":141099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a1"} 
[2026-07-25 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952872960001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:00] 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-07-25 15:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972181000,"timestamp_ms":1784972181000,"timestamp_seconds":1784972181,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a1fe08"} 
[2026-07-25 15:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 15:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952872960001,"66":12287,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952872960001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952872960001,"power":12287,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":141099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:11:00] local.INFO: GPS data processed {"connection_id":141099,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:11:00] local.INFO: Acknowledgment sent {"connection_id":141099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:11:02] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:02] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:02] local.INFO: IMEI packet received {"connection_id":141100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":141100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:11:02] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a57c90012db02dc005ec7288002a007826..."} 
[2026-07-25 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a57c90012db02dc005ec7288002a007826..."} 
[2026-07-25 15:11:02] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a57c90012db02dc005ec7288002a007826..."} 
[2026-07-25 15:11:02] local.INFO: Packet analysis {"connection_id":141100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:11:02] local.INFO: Extracted packet for processing {"connection_id":141100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":766520768,"raw_latitude":99381896,"longitude_deg":76.6520768,"latitude_deg":9.9381896,"altitude":42,"angle":120,"satellites":38,"speed":45,"hex_longitude":"2db02dc0","hex_latitude":"05ec7288","is_valid_coordinates":true} 
[2026-07-25 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952934912001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357833550998798336,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5760526110429003776,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784972410000,"timestamp_ms":1784972410000,"timestamp_seconds":1784972410,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a57c90"} 
[2026-07-25 15:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952934912001,"66":27919,"110":206,"88":20736,"24":45,"16":357833550998798336,"45":-5760526110429003776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-07-25 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952934912001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357833550998798336,"km_value":357833550998798.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5760526110429003776,"description":"Unknown IO ID 45"} 
[2026-07-25 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952934912001,"power":27919,"unknown_110":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5760526110429003776}} 
[2026-07-25 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":141100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:11:02] local.INFO: GPS data processed {"connection_id":141100,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:11:02] local.INFO: Acknowledgment sent {"connection_id":141100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:11:31] local.INFO: TCP Data received {"connection_id":141099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a25010012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a25010012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:11:31] local.INFO: Processing buffer {"connection_id":141099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a25010012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:11:31] local.INFO: Packet analysis {"connection_id":141099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:11:31] local.INFO: Extracted packet for processing {"connection_id":141099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a2"} 
[2026-07-25 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952878336001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:31] 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-07-25 15:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972202000,"timestamp_ms":1784972202000,"timestamp_seconds":1784972202,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a25010"} 
[2026-07-25 15:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 15:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:11:31] 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-07-25 15:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952878336001,"66":12298,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952878336001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952878336001,"power":12298,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":141099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:11:31] local.INFO: GPS data processed {"connection_id":141099,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:11:31] local.INFO: Acknowledgment sent {"connection_id":141099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:11:33] local.INFO: TCP Data received {"connection_id":141100,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a59bd0012db04b0005ec5f30002b008628..."} 
[2026-07-25 15:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a59bd0012db04b0005ec5f30002b008628..."} 
[2026-07-25 15:11:33] local.INFO: Processing buffer {"connection_id":141100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a59bd0012db04b0005ec5f30002b008628..."} 
[2026-07-25 15:11:33] local.INFO: Packet analysis {"connection_id":141100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:11:33] local.INFO: Extracted packet for processing {"connection_id":141100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":766528256,"raw_latitude":99376944,"longitude_deg":76.6528256,"latitude_deg":9.9376944,"altitude":43,"angle":134,"satellites":40,"speed":44,"hex_longitude":"2db04b00","hex_latitude":"05ec5f30","is_valid_coordinates":true} 
[2026-07-25 15:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952936960001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357833980495527936,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5751730017407956992,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784972418000,"timestamp_ms":1784972418000,"timestamp_seconds":1784972418,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a59bd0"} 
[2026-07-25 15:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952936960001,"66":27919,"110":206,"88":20736,"24":44,"16":357833980495527936,"45":-5751730017407956992},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-07-25 15:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952936960001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:11:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 15:11:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357833980495527936,"km_value":357833980495527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5751730017407956992,"description":"Unknown IO ID 45"} 
[2026-07-25 15:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952936960001,"power":27919,"unknown_110":206,"unknown_88":20736,"ignition":44,"odometer":null,"unknown_45":-5751730017407956992}} 
[2026-07-25 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":141100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:11:34] local.INFO: GPS data processed {"connection_id":141100,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:11:34] local.INFO: Acknowledgment sent {"connection_id":141100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:11:53] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:53] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:53] local.INFO: IMEI packet received {"connection_id":143507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":143507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:11:54] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:54] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:54] local.INFO: IMEI packet received {"connection_id":143507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":143507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:11:55] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:55] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:55] local.INFO: IMEI packet received {"connection_id":141161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":141161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:11:59] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:59] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:11:59] local.INFO: IMEI packet received {"connection_id":143507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":143507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:11:59] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a5d668012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a5d668012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:11:59] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a5d668012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:11:59] local.INFO: Packet analysis {"connection_id":143507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:11:59] local.INFO: Extracted packet for processing {"connection_id":143507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952937472001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:11:59] 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-07-25 15:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784972433000,"timestamp_ms":1784972433000,"timestamp_seconds":1784972433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a5d668"} 
[2026-07-25 15:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:11: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-07-25 15:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952937472001,"66":12232,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952937472001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:11:59] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952937472001,"power":12232,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:11:59] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:59] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:11:59] local.INFO: IMEI packet received {"connection_id":141161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":141161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":143507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:11:59] local.INFO: GPS data processed {"connection_id":143507,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:11:59] local.INFO: Acknowledgment sent {"connection_id":143507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:12:00] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:12:00] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:12:00] local.INFO: IMEI packet received {"connection_id":141161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":141161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:12:01] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a59bd0012db04b0005ec5f30002b008628..."} 
[2026-07-25 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a59bd0012db04b0005ec5f30002b008628..."} 
[2026-07-25 15:12:01] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a59bd0012db04b0005ec5f30002b008628..."} 
[2026-07-25 15:12:01] local.INFO: Packet analysis {"connection_id":141161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:12:01] local.INFO: Extracted packet for processing {"connection_id":141161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:12:01] local.INFO: GPS Element Parsed {"raw_longitude":766528256,"raw_latitude":99376944,"longitude_deg":76.6528256,"latitude_deg":9.9376944,"altitude":43,"angle":134,"satellites":40,"speed":44,"hex_longitude":"2db04b00","hex_latitude":"05ec5f30","is_valid_coordinates":true} 
[2026-07-25 15:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952939008001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357833980495527936,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5743496874340438016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784972418000,"timestamp_ms":1784972418000,"timestamp_seconds":1784972418,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a59bd0"} 
[2026-07-25 15:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952939008001,"66":27919,"110":206,"88":20736,"24":44,"16":357833980495527936,"45":-5743496874340438016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-07-25 15:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952939008001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:12:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 15:12:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357833980495527936,"km_value":357833980495527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5743496874340438016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952939008001,"power":27919,"unknown_110":206,"unknown_88":20736,"ignition":44,"odometer":null,"unknown_45":-5743496874340438016}} 
[2026-07-25 15:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":141161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:12:01] local.INFO: GPS data processed {"connection_id":141161,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:12:01] local.INFO: Acknowledgment sent {"connection_id":141161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:12:05] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a5b340012db05f4005ec4d58002b007a27..."} 
[2026-07-25 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a5b340012db05f4005ec4d58002b007a27..."} 
[2026-07-25 15:12:05] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a5b340012db05f4005ec4d58002b007a27..."} 
[2026-07-25 15:12:05] local.INFO: Packet analysis {"connection_id":141161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:12:05] local.INFO: Extracted packet for processing {"connection_id":141161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a5"} 
[2026-07-25 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":766533440,"raw_latitude":99372376,"longitude_deg":76.653344,"latitude_deg":9.9372376,"altitude":43,"angle":122,"satellites":39,"speed":45,"hex_longitude":"2db05f40","hex_latitude":"05ec4d58","is_valid_coordinates":true} 
[2026-07-25 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952939008001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357834315502977024,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5743496874340438016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784972424000,"timestamp_ms":1784972424000,"timestamp_seconds":1784972424,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a5b340"} 
[2026-07-25 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952939008001,"66":27908,"110":206,"88":20736,"24":45,"16":357834315502977024,"45":-5743496874340438016},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-07-25 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952939008001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357834315502977024,"km_value":357834315502977.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5743496874340438016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952939008001,"power":27908,"unknown_110":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5743496874340438016}} 
[2026-07-25 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":141161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:12:05] local.INFO: GPS data processed {"connection_id":141161,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:12:05] local.INFO: Acknowledgment sent {"connection_id":141161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:12:30] local.INFO: TCP Data received {"connection_id":143507,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a62870012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a62870012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:12:30] local.INFO: Processing buffer {"connection_id":143507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a62870012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:12:30] local.INFO: Packet analysis {"connection_id":143507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:12:30] local.INFO: Extracted packet for processing {"connection_id":143507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952942848001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:30] 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-07-25 15:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784972454000,"timestamp_ms":1784972454000,"timestamp_seconds":1784972454,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a62870"} 
[2026-07-25 15:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:12: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-07-25 15:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952942848001,"66":12254,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952942848001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:12:30] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952942848001,"power":12254,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":143507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:12:31] local.INFO: GPS data processed {"connection_id":143507,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:12:31] local.INFO: Acknowledgment sent {"connection_id":143507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:12:36] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a6d838012db1808005ebaa70002200792a..."} 
[2026-07-25 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a6d838012db1808005ebaa70002200792a..."} 
[2026-07-25 15:12:36] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a6d838012db1808005ebaa70002200792a..."} 
[2026-07-25 15:12:36] local.INFO: Packet analysis {"connection_id":141161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:12:36] local.INFO: Extracted packet for processing {"connection_id":141161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":766607488,"raw_latitude":99330672,"longitude_deg":76.6607488,"latitude_deg":9.9330672,"altitude":34,"angle":121,"satellites":42,"speed":43,"hex_longitude":"2db18080","hex_latitude":"05ebaa70","is_valid_coordinates":true} 
[2026-07-25 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952957440001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357838442966548480,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5665528305802033152,"note":"Value kept but may cause issues"} 
[2026-07-25 15:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784972499000,"timestamp_ms":1784972499000,"timestamp_seconds":1784972499,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a6d838"} 
[2026-07-25 15:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952957440001,"66":28006,"110":206,"88":20736,"24":43,"16":357838442966548480,"45":-5665528305802033152},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,88,24,16,45]} 
[2026-07-25 15:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952957440001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:12:36] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 15:12:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357838442966548480,"km_value":357838442966548.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5665528305802033152,"description":"Unknown IO ID 45"} 
[2026-07-25 15:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952957440001,"power":28006,"unknown_110":206,"unknown_88":20736,"ignition":43,"odometer":null,"unknown_45":-5665528305802033152}} 
[2026-07-25 15:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":141161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:12:36] local.INFO: GPS data processed {"connection_id":141161,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:12:36] local.INFO: Acknowledgment sent {"connection_id":141161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:12:54] local.INFO: TCP Data received {"connection_id":142139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:54] local.INFO: Processing buffer {"connection_id":142139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:54] local.INFO: IMEI packet received {"connection_id":142139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":142139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:12:56] local.INFO: TCP Data received {"connection_id":142139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:56] local.INFO: Processing buffer {"connection_id":142139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:56] local.INFO: IMEI packet received {"connection_id":142139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":142139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:12:59] local.INFO: TCP Data received {"connection_id":142139,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:59] local.INFO: Processing buffer {"connection_id":142139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:12:59] local.INFO: IMEI packet received {"connection_id":142139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":142139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:13:00] local.INFO: TCP Data received {"connection_id":142139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a67a78012d19d64007239ae8003a00b322..."} 
[2026-07-25 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a67a78012d19d64007239ae8003a00b322..."} 
[2026-07-25 15:13:00] local.INFO: Processing buffer {"connection_id":142139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a67a78012d19d64007239ae8003a00b322..."} 
[2026-07-25 15:13:00] local.INFO: Packet analysis {"connection_id":142139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:13:00] local.INFO: Extracted packet for processing {"connection_id":142139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952948224001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:00] 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-07-25 15:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972475000,"timestamp_ms":1784972475000,"timestamp_seconds":1784972475,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a67a78"} 
[2026-07-25 15:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:13: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 15:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952948224001,"66":12189,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952948224001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952948224001,"power":12189,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":142139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:13:00] local.INFO: GPS data processed {"connection_id":142139,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:13:00] local.INFO: Acknowledgment sent {"connection_id":142139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:13:00] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:00] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:00] local.INFO: IMEI packet received {"connection_id":143508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":143508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:13:01] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:01] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:01] local.INFO: IMEI packet received {"connection_id":143508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":143508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:13:05] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:05] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:05] local.INFO: IMEI packet received {"connection_id":143508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":143508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:13:05] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.106.6.30","data_length":1348,"data_hex":"000000000000030f8e0a0000019f98a6f778012db19bc005eb9bc00023006d28..."} 
[2026-07-25 15:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f98a6f778012db19bc005eb9bc00023006d28..."} 
[2026-07-25 15:13:05] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f98a6f778012db19bc005eb9bc00023006d28..."} 
[2026-07-25 15:13:05] local.INFO: Packet analysis {"connection_id":143508,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:13:05] local.INFO: Extracted packet for processing {"connection_id":143508,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":766614464,"raw_latitude":99326912,"longitude_deg":76.6614464,"latitude_deg":9.9326912,"altitude":35,"angle":109,"satellites":40,"speed":36,"hex_longitude":"2db19bc0","hex_latitude":"05eb9bc0","is_valid_coordinates":true} 
[2026-07-25 15:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952959744001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357838820923670528,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5656380369060335616,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784972507000,"timestamp_ms":1784972507000,"timestamp_seconds":1784972507,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a6f778"} 
[2026-07-25 15:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 15:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952959744001,"66":27995,"179":206,"88":20736,"24":36,"16":357838820923670528,"45":-5656380369060335616},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-07-25 15:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952959744001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:13:05] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 15:13:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357838820923670528,"km_value":357838820923670.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5656380369060335616,"description":"Unknown IO ID 45"} 
[2026-07-25 15:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952959744001,"power":27995,"unknown_179":206,"unknown_88":20736,"ignition":36,"odometer":null,"unknown_45":-5656380369060335616}} 
[2026-07-25 15:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":143508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:13:05] local.INFO: GPS data processed {"connection_id":143508,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:13:05] local.INFO: Acknowledgment sent {"connection_id":143508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:13:05] local.INFO: Packet analysis {"connection_id":143508,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":143508,"needed":795,"available":553} 
[2026-07-25 15:13:06] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.106.6.30","data_length":242,"data_hex":"0000000000019f98a63040012db0e3c005ec10d0002c007e2800310000000a00..."} 
[2026-07-25 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":242,"packet_hex":"0000000000019f98a63040012db0e3c005ec10d0002c007e2800310000000a00..."} 
[2026-07-25 15:13:06] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a71e88012db1bcc005eb8fb80021006c28..."} 
[2026-07-25 15:13:06] local.INFO: Packet analysis {"connection_id":143508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:06] local.INFO: Extracted packet for processing {"connection_id":143508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":766622912,"raw_latitude":99323832,"longitude_deg":76.6622912,"latitude_deg":9.9323832,"altitude":33,"angle":108,"satellites":40,"speed":36,"hex_longitude":"2db1bcc0","hex_latitude":"05eb8fb8","is_valid_coordinates":true} 
[2026-07-25 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952961792001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357839250420400128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5648710175945932800,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972517000,"timestamp_ms":1784972517000,"timestamp_seconds":1784972517,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a71e88"} 
[2026-07-25 15:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952961792001,"66":27930,"179":206,"88":20736,"24":36,"16":357839250420400128,"45":-5648710175945932800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-07-25 15:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952961792001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:13:06] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 15:13:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357839250420400128,"km_value":357839250420400.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5648710175945932800,"description":"Unknown IO ID 45"} 
[2026-07-25 15:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952961792001,"power":27930,"unknown_179":206,"unknown_88":20736,"ignition":36,"odometer":null,"unknown_45":-5648710175945932800}} 
[2026-07-25 15:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":143508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:13:06] local.INFO: GPS data processed {"connection_id":143508,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:13:06] local.INFO: Acknowledgment sent {"connection_id":143508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:13:11] local.INFO: TCP Data received {"connection_id":143508,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a741b0012db1dfc005eb8298001f006d27..."} 
[2026-07-25 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a741b0012db1dfc005eb8298001f006d27..."} 
[2026-07-25 15:13:11] local.INFO: Processing buffer {"connection_id":143508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a741b0012db1dfc005eb8298001f006d27..."} 
[2026-07-25 15:13:11] local.INFO: Packet analysis {"connection_id":143508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:11] local.INFO: Extracted packet for processing {"connection_id":143508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":766631872,"raw_latitude":99320472,"longitude_deg":76.6631872,"latitude_deg":9.9320472,"altitude":31,"angle":109,"satellites":39,"speed":45,"hex_longitude":"2db1dfc0","hex_latitude":"05eb8298","is_valid_coordinates":true} 
[2026-07-25 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952964352001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357839705686933504,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5639421501715269632,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784972526000,"timestamp_ms":1784972526000,"timestamp_seconds":1784972526,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a741b0"} 
[2026-07-25 15:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952964352001,"66":27995,"179":206,"88":20736,"24":45,"16":357839705686933504,"45":-5639421501715269632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-07-25 15:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952964352001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:13:11] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 15:13:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357839705686933504,"km_value":357839705686933.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5639421501715269632,"description":"Unknown IO ID 45"} 
[2026-07-25 15:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952964352001,"power":27995,"unknown_179":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5639421501715269632}} 
[2026-07-25 15:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":143508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:13:11] local.INFO: GPS data processed {"connection_id":143508,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:13:11] local.INFO: Acknowledgment sent {"connection_id":143508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:13:31] local.INFO: TCP Data received {"connection_id":142139,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a6cc80012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a6cc80012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:13:31] local.INFO: Processing buffer {"connection_id":142139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a6cc80012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:13:31] local.INFO: Packet analysis {"connection_id":142139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:13:31] local.INFO: Extracted packet for processing {"connection_id":142139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a6"} 
[2026-07-25 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952953600001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:31] 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-07-25 15:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972496000,"timestamp_ms":1784972496000,"timestamp_seconds":1784972496,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a6cc80"} 
[2026-07-25 15:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-25 15:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:13:31] 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-07-25 15:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952953600001,"66":12254,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952953600001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952953600001,"power":12254,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":142139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:13:31] local.INFO: GPS data processed {"connection_id":142139,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:13:31] local.INFO: Acknowledgment sent {"connection_id":142139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:13:54] local.INFO: TCP Data received {"connection_id":143510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:13:54] local.INFO: Processing buffer {"connection_id":143510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:13:54] local.INFO: IMEI packet received {"connection_id":143510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":143510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:13:55] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:55] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:55] local.INFO: IMEI packet received {"connection_id":143509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":143509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:13:57] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:57] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:13:57] local.INFO: IMEI packet received {"connection_id":143509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":143509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:13:58] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a760f0012db2028005eb75c80020006f26..."} 
[2026-07-25 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a760f0012db2028005eb75c80020006f26..."} 
[2026-07-25 15:13:58] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a760f0012db2028005eb75c80020006f26..."} 
[2026-07-25 15:13:58] local.INFO: Packet analysis {"connection_id":143509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:58] local.INFO: Extracted packet for processing {"connection_id":143509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":766640768,"raw_latitude":99317192,"longitude_deg":76.6640768,"latitude_deg":9.9317192,"altitude":32,"angle":111,"satellites":38,"speed":45,"hex_longitude":"2db20280","hex_latitude":"05eb75c8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952966656001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357840160953466880,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5629569877531256832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784972534000,"timestamp_ms":1784972534000,"timestamp_seconds":1784972534,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a760f0"} 
[2026-07-25 15:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952966656001,"66":28050,"179":206,"88":20736,"24":45,"16":357840160953466880,"45":-5629569877531256832},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-07-25 15:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952966656001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:13:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 15:13:58] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357840160953466880,"km_value":357840160953466.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5629569877531256832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952966656001,"power":28050,"unknown_179":206,"unknown_88":20736,"ignition":45,"odometer":null,"unknown_45":-5629569877531256832}} 
[2026-07-25 15:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":143509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:13:58] local.INFO: GPS data processed {"connection_id":143509,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:13:58] local.INFO: Acknowledgment sent {"connection_id":143509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:13:59] local.INFO: TCP Data received {"connection_id":143510,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:13:59] local.INFO: Processing buffer {"connection_id":143510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:13:59] local.INFO: IMEI packet received {"connection_id":143510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":143510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:14:00] local.INFO: TCP Data received {"connection_id":143510,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a71e88012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a71e88012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:14:00] local.INFO: Processing buffer {"connection_id":143510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a71e88012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:14:00] local.INFO: Packet analysis {"connection_id":143510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:14:00] local.INFO: Extracted packet for processing {"connection_id":143510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952958976001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:14:00] 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-07-25 15:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972517000,"timestamp_ms":1784972517000,"timestamp_seconds":1784972517,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a71e88"} 
[2026-07-25 15:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 15:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952958976001,"66":12254,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952958976001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952958976001,"power":12254,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":143510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:14:00] local.INFO: GPS data processed {"connection_id":143510,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:14:00] local.INFO: Acknowledgment sent {"connection_id":143510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:14:31] local.INFO: TCP Data received {"connection_id":143510,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a77090012d19d64007239ae8003a00b322..."} 
[2026-07-25 15:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a77090012d19d64007239ae8003a00b322..."} 
[2026-07-25 15:14:31] local.INFO: Processing buffer {"connection_id":143510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a77090012d19d64007239ae8003a00b322..."} 
[2026-07-25 15:14:31] local.INFO: Packet analysis {"connection_id":143510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:14:31] local.INFO: Extracted packet for processing {"connection_id":143510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":34,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952964352001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:14:31] 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-07-25 15:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972538000,"timestamp_ms":1784972538000,"timestamp_seconds":1784972538,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a77090"} 
[2026-07-25 15:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 15:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:14:31] 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-07-25 15:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952964352001,"66":12178,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952964352001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952964352001,"power":12178,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":143510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:14:31] local.INFO: GPS data processed {"connection_id":143510,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:14:31] local.INFO: Acknowledgment sent {"connection_id":143510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:14:59] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:14:59] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:14:59] local.INFO: IMEI packet received {"connection_id":141101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":141101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:15:02] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:02] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:02] local.INFO: IMEI packet received {"connection_id":141101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":141101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:15:03] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a7c298012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a7c298012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:15:03] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a7c298012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:15:03] local.INFO: Packet analysis {"connection_id":141101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:15:03] local.INFO: Extracted packet for processing {"connection_id":141101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a7"} 
[2026-07-25 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952969728001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:03] 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-07-25 15:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784972559000,"timestamp_ms":1784972559000,"timestamp_seconds":1784972559,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a7c298"} 
[2026-07-25 15:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 15:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:15:03] 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-07-25 15:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952969728001,"66":12254,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952969728001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:15:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952969728001,"power":12254,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":141101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:15:03] local.INFO: GPS data processed {"connection_id":141101,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:15:03] local.INFO: Acknowledgment sent {"connection_id":141101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:15:04] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a814a0012d19d64007239ae8003a00b321..."} 
[2026-07-25 15:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a814a0012d19d64007239ae8003a00b321..."} 
[2026-07-25 15:15:04] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a814a0012d19d64007239ae8003a00b321..."} 
[2026-07-25 15:15:04] local.INFO: Packet analysis {"connection_id":141101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:04] local.INFO: Extracted packet for processing {"connection_id":141101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:04] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":33,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952975104001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:04] 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-07-25 15:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784972580000,"timestamp_ms":1784972580000,"timestamp_seconds":1784972580,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a814a0"} 
[2026-07-25 15:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 15:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:15:04] 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-07-25 15:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952975104001,"66":12232,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952975104001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:15:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952975104001,"power":12232,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":141101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:15:04] local.INFO: GPS data processed {"connection_id":141101,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:15:04] local.INFO: Acknowledgment sent {"connection_id":141101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:15:06] local.INFO: TCP Data received {"connection_id":143509,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a8a140012db3458005ea8158001a009229..."} 
[2026-07-25 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a8a140012db3458005ea8158001a009229..."} 
[2026-07-25 15:15:06] local.INFO: Processing buffer {"connection_id":143509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a8a140012db3458005ea8158001a009229..."} 
[2026-07-25 15:15:06] local.INFO: Packet analysis {"connection_id":143509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:06] local.INFO: Extracted packet for processing {"connection_id":143509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":766723456,"raw_latitude":99254616,"longitude_deg":76.6723456,"latitude_deg":9.9254616,"altitude":26,"angle":146,"satellites":41,"speed":49,"hex_longitude":"2db34580","hex_latitude":"05ea8158","is_valid_coordinates":true} 
[2026-07-25 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952988928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357845173180301312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5531546216907894784,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972616000,"timestamp_ms":1784972616000,"timestamp_seconds":1784972616,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a8a140"} 
[2026-07-25 15:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952988928001,"66":27984,"179":206,"88":20736,"24":49,"16":357845173180301312,"45":-5531546216907894784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-07-25 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952988928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:15:06] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 15:15:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357845173180301312,"km_value":357845173180301.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5531546216907894784,"description":"Unknown IO ID 45"} 
[2026-07-25 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952988928001,"power":27984,"unknown_179":206,"unknown_88":20736,"ignition":49,"odometer":null,"unknown_45":-5531546216907894784}} 
[2026-07-25 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":143509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:15:06] local.INFO: GPS data processed {"connection_id":143509,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:15:06] local.INFO: Acknowledgment sent {"connection_id":143509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:15:09] local.INFO: TCP Data received {"connection_id":142140,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:09] local.INFO: Processing buffer {"connection_id":142140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:09] local.INFO: IMEI packet received {"connection_id":142140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":142140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:15:10] local.INFO: TCP Data received {"connection_id":142140,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:10] local.INFO: Processing buffer {"connection_id":142140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:10] local.INFO: IMEI packet received {"connection_id":142140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":142140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:15:15] local.INFO: TCP Data received {"connection_id":142140,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:15] local.INFO: Processing buffer {"connection_id":142140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:15] local.INFO: IMEI packet received {"connection_id":142140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":142140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:15:16] local.INFO: TCP Data received {"connection_id":142140,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a8c080012db35a8005ea6100001b008726..."} 
[2026-07-25 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a8c080012db35a8005ea6100001b008726..."} 
[2026-07-25 15:15:16] local.INFO: Processing buffer {"connection_id":142140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a8c080012db35a8005ea6100001b008726..."} 
[2026-07-25 15:15:16] local.INFO: Packet analysis {"connection_id":142140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:16] local.INFO: Extracted packet for processing {"connection_id":142140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":766728832,"raw_latitude":99246336,"longitude_deg":76.6728832,"latitude_deg":9.9246336,"altitude":27,"angle":135,"satellites":38,"speed":48,"hex_longitude":"2db35a80","hex_latitude":"05ea6100","is_valid_coordinates":true} 
[2026-07-25 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952989696001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357845649921671168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5528872204629878784,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784972624000,"timestamp_ms":1784972624000,"timestamp_seconds":1784972624,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a8c080"} 
[2026-07-25 15:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 15:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952989696001,"66":28115,"179":206,"88":20736,"24":48,"16":357845649921671168,"45":-5528872204629878784},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,88,24,16,45]} 
[2026-07-25 15:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952989696001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:15:16] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 15:15:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357845649921671168,"km_value":357845649921671.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5528872204629878784,"description":"Unknown IO ID 45"} 
[2026-07-25 15:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952989696001,"power":28115,"unknown_179":206,"unknown_88":20736,"ignition":48,"odometer":null,"unknown_45":-5528872204629878784}} 
[2026-07-25 15:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":142140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:15:16] local.INFO: GPS data processed {"connection_id":142140,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:15:16] local.INFO: Acknowledgment sent {"connection_id":142140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:15:24] local.INFO: TCP Data received {"connection_id":141162,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:15:24] local.INFO: Processing buffer {"connection_id":141162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:15:24] local.INFO: IMEI packet received {"connection_id":141162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":141162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:15:35] local.INFO: TCP Data received {"connection_id":141101,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a866a8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a866a8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:15:35] local.INFO: Processing buffer {"connection_id":141101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a866a8012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:15:35] local.INFO: Packet analysis {"connection_id":141101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:35] local.INFO: Extracted packet for processing {"connection_id":141101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952980480001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:15:35] 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-07-25 15:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784972601000,"timestamp_ms":1784972601000,"timestamp_seconds":1784972601,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a866a8"} 
[2026-07-25 15:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:15:35] 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-07-25 15:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952980480001,"66":12254,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952980480001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:15:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:15:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952980480001,"power":12254,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":141101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:15:35] local.INFO: GPS data processed {"connection_id":141101,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:15:35] local.INFO: Acknowledgment sent {"connection_id":141101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:15:54] local.INFO: TCP Data received {"connection_id":142141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:54] local.INFO: Processing buffer {"connection_id":142141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:54] local.INFO: IMEI packet received {"connection_id":142141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":142141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:15:55] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:55] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:55] local.INFO: IMEI packet received {"connection_id":143511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":143511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:15:58] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:58] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:15:58] local.INFO: IMEI packet received {"connection_id":143511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":143511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:15:59] local.INFO: TCP Data received {"connection_id":142141,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:59] local.INFO: Processing buffer {"connection_id":142141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:15:59] local.INFO: IMEI packet received {"connection_id":142141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":142141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:16:00] local.INFO: TCP Data received {"connection_id":142141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a8b8b0012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a8b8b0012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:16:00] local.INFO: Processing buffer {"connection_id":142141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a8b8b0012d19d64007239ae8003a00b326..."} 
[2026-07-25 15:16:00] local.INFO: Packet analysis {"connection_id":142141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:16:00] local.INFO: Extracted packet for processing {"connection_id":142141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a8"} 
[2026-07-25 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":38,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952985856001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:00] 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-07-25 15:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972622000,"timestamp_ms":1784972622000,"timestamp_seconds":1784972622,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a8b8b0"} 
[2026-07-25 15:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 15:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952985856001,"66":12232,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952985856001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952985856001,"power":12232,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":142141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:16:00] local.INFO: GPS data processed {"connection_id":142141,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:16:00] local.INFO: Acknowledgment sent {"connection_id":142141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:16:00] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:16:00] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:16:00] local.INFO: IMEI packet received {"connection_id":143511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":143511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:16:01] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a9ca20012db4630005e9e320001a006529..."} 
[2026-07-25 15:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a9ca20012db4630005e9e320001a006529..."} 
[2026-07-25 15:16:01] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a9ca20012db4630005e9e320001a006529..."} 
[2026-07-25 15:16:01] local.INFO: Packet analysis {"connection_id":143511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:16:01] local.INFO: Extracted packet for processing {"connection_id":143511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:16:01] local.INFO: GPS Element Parsed {"raw_longitude":766796544,"raw_latitude":99214112,"longitude_deg":76.6796544,"latitude_deg":9.9214112,"altitude":26,"angle":101,"satellites":41,"speed":55,"hex_longitude":"2db46300","hex_latitude":"05e9e320","is_valid_coordinates":true} 
[2026-07-25 15:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953007360001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357849356478447616,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5458292354229575680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784972692000,"timestamp_ms":1784972692000,"timestamp_seconds":1784972692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a9ca20"} 
[2026-07-25 15:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953007360001,"66":27843,"178":206,"88":20736,"24":55,"16":357849356478447616,"45":-5458292354229575680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-07-25 15:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953007360001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:16:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 15:16:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357849356478447616,"km_value":357849356478447.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5458292354229575680,"description":"Unknown IO ID 45"} 
[2026-07-25 15:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953007360001,"power":27843,"unknown_178":206,"unknown_88":20736,"ignition":55,"odometer":null,"unknown_45":-5458292354229575680}} 
[2026-07-25 15:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":143511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:16:01] local.INFO: GPS data processed {"connection_id":143511,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:16:01] local.INFO: Acknowledgment sent {"connection_id":143511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:16:06] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a9e578012db4880005e9db20001d006428..."} 
[2026-07-25 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a9e578012db4880005e9db20001d006428..."} 
[2026-07-25 15:16:06] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a9e578012db4880005e9db20001d006428..."} 
[2026-07-25 15:16:06] local.INFO: Packet analysis {"connection_id":143511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:16:06] local.INFO: Extracted packet for processing {"connection_id":143511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":766806016,"raw_latitude":99212064,"longitude_deg":76.6806016,"latitude_deg":9.9212064,"altitude":29,"angle":100,"satellites":40,"speed":51,"hex_longitude":"2db48800","hex_latitude":"05e9db20","is_valid_coordinates":true} 
[2026-07-25 15:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953009152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357849820334915584,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5448511098789355520,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972699000,"timestamp_ms":1784972699000,"timestamp_seconds":1784972699,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a9e578"} 
[2026-07-25 15:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 15:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953009152001,"66":27767,"178":206,"88":20736,"24":51,"16":357849820334915584,"45":-5448511098789355520},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-07-25 15:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953009152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:16:06] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 15:16:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357849820334915584,"km_value":357849820334915.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5448511098789355520,"description":"Unknown IO ID 45"} 
[2026-07-25 15:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953009152001,"power":27767,"unknown_178":206,"unknown_88":20736,"ignition":51,"odometer":null,"unknown_45":-5448511098789355520}} 
[2026-07-25 15:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":143511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:16:06] local.INFO: GPS data processed {"connection_id":143511,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:16:06] local.INFO: Acknowledgment sent {"connection_id":143511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:16:31] local.INFO: TCP Data received {"connection_id":142141,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a90ab8012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a90ab8012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:16:31] local.INFO: Processing buffer {"connection_id":142141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a90ab8012d19d64007239ae8003a00b324..."} 
[2026-07-25 15:16:31] local.INFO: Packet analysis {"connection_id":142141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:16:31] local.INFO: Extracted packet for processing {"connection_id":142141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":36,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952991232001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:31] 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-07-25 15:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972643000,"timestamp_ms":1784972643000,"timestamp_seconds":1784972643,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a90ab8"} 
[2026-07-25 15:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:16:31] 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-07-25 15:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952991232001,"66":12211,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952991232001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952991232001,"power":12211,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":142141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:16:31] local.INFO: GPS data processed {"connection_id":142141,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:16:31] local.INFO: Acknowledgment sent {"connection_id":142141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:16:37] local.INFO: TCP Data received {"connection_id":143511,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aa04b8012db4ae8005e9d350001f006828..."} 
[2026-07-25 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aa04b8012db4ae8005e9d350001f006828..."} 
[2026-07-25 15:16:37] local.INFO: Processing buffer {"connection_id":143511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aa04b8012db4ae8005e9d350001f006828..."} 
[2026-07-25 15:16:37] local.INFO: Packet analysis {"connection_id":143511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:16:37] local.INFO: Extracted packet for processing {"connection_id":143511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":766815872,"raw_latitude":99210064,"longitude_deg":76.6815872,"latitude_deg":9.9210064,"altitude":31,"angle":104,"satellites":40,"speed":46,"hex_longitude":"2db4ae80","hex_latitude":"05e9d350","is_valid_coordinates":true} 
[2026-07-25 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953010944001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357850301371252736,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5438096524651585536,"note":"Value kept but may cause issues"} 
[2026-07-25 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784972707000,"timestamp_ms":1784972707000,"timestamp_seconds":1784972707,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aa04b8"} 
[2026-07-25 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 15:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953010944001,"66":27995,"178":206,"88":20736,"24":46,"16":357850301371252736,"45":-5438096524651585536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-07-25 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953010944001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:16:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 15:16:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357850301371252736,"km_value":357850301371252.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5438096524651585536,"description":"Unknown IO ID 45"} 
[2026-07-25 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953010944001,"power":27995,"unknown_178":206,"unknown_88":20736,"ignition":46,"odometer":null,"unknown_45":-5438096524651585536}} 
[2026-07-25 15:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":143511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:16:37] local.INFO: GPS data processed {"connection_id":143511,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:16:37] local.INFO: Acknowledgment sent {"connection_id":143511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:16:54] local.INFO: TCP Data received {"connection_id":142142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:16:54] local.INFO: Processing buffer {"connection_id":142142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:16:54] local.INFO: IMEI packet received {"connection_id":142142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":142142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:16:55] local.INFO: TCP Data received {"connection_id":141163,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:16:55] local.INFO: Processing buffer {"connection_id":141163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:16:55] local.INFO: IMEI packet received {"connection_id":141163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":141163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:16:59] local.INFO: TCP Data received {"connection_id":142142,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:16:59] local.INFO: Processing buffer {"connection_id":142142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:16:59] local.INFO: IMEI packet received {"connection_id":142142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":142142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:17:00] local.INFO: TCP Data received {"connection_id":142142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a95cc0012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a95cc0012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:17:00] local.INFO: Processing buffer {"connection_id":142142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a95cc0012d19d64007239ae8003a00b325..."} 
[2026-07-25 15:17:00] local.INFO: Packet analysis {"connection_id":142142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:17:00] local.INFO: Extracted packet for processing {"connection_id":142142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:17:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":37,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456952996608001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:00] 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-07-25 15:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972664000,"timestamp_ms":1784972664000,"timestamp_seconds":1784972664,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a95cc0"} 
[2026-07-25 15:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 15:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456952996608001,"66":12232,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456952996608001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456952996608001,"power":12232,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":142142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:17:00] local.INFO: GPS data processed {"connection_id":142142,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:17:00] local.INFO: Acknowledgment sent {"connection_id":142142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:17:00] local.INFO: TCP Data received {"connection_id":141163,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:17:00] local.INFO: Processing buffer {"connection_id":141163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:17:00] local.INFO: IMEI packet received {"connection_id":141163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":141163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:17:01] local.INFO: TCP Data received {"connection_id":141163,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aa1070012db4ba8005e9ce70001f007827..."} 
[2026-07-25 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aa1070012db4ba8005e9ce70001f007827..."} 
[2026-07-25 15:17:01] local.INFO: Processing buffer {"connection_id":141163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aa1070012db4ba8005e9ce70001f007827..."} 
[2026-07-25 15:17:01] local.INFO: Packet analysis {"connection_id":141163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:17:01] local.INFO: Extracted packet for processing {"connection_id":141163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:17:01] local.INFO: GPS Element Parsed {"raw_longitude":766818944,"raw_latitude":99208816,"longitude_deg":76.6818944,"latitude_deg":9.9208816,"altitude":31,"angle":120,"satellites":39,"speed":44,"hex_longitude":"2db4ba80","hex_latitude":"05e9ce70","is_valid_coordinates":true} 
[2026-07-25 15:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953012992001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357850455990075392,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5427259738048737280,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784972710000,"timestamp_ms":1784972710000,"timestamp_seconds":1784972710,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aa1070"} 
[2026-07-25 15:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953012992001,"66":27800,"178":206,"88":20736,"24":44,"16":357850455990075392,"45":-5427259738048737280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,88,24,16,45]} 
[2026-07-25 15:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953012992001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:17:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 15:17:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357850455990075392,"km_value":357850455990075.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5427259738048737280,"description":"Unknown IO ID 45"} 
[2026-07-25 15:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953012992001,"power":27800,"unknown_178":206,"unknown_88":20736,"ignition":44,"odometer":null,"unknown_45":-5427259738048737280}} 
[2026-07-25 15:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":141163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:17:01] local.INFO: GPS data processed {"connection_id":141163,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:17:01] local.INFO: Acknowledgment sent {"connection_id":141163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:17:31] local.INFO: TCP Data received {"connection_id":142142,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98a9aec8012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98a9aec8012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:17:31] local.INFO: Processing buffer {"connection_id":142142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98a9aec8012d19d64007239ae8003a00b328..."} 
[2026-07-25 15:17:31] local.INFO: Packet analysis {"connection_id":142142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:17:31] local.INFO: Extracted packet for processing {"connection_id":142142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98a9"} 
[2026-07-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":40,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953001984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:31] 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-07-25 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972685000,"timestamp_ms":1784972685000,"timestamp_seconds":1784972685,"priority":1,"record_length":96,"hex_timestamp":"0000019f98a9aec8"} 
[2026-07-25 15:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:17:31] 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-07-25 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953001984001,"66":12232,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953001984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953001984001,"power":12232,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":142142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:17:31] local.INFO: GPS data processed {"connection_id":142142,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:17:31] local.INFO: Acknowledgment sent {"connection_id":142142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:17:33] local.INFO: TCP Data received {"connection_id":141163,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ab6830012db5fac005e901b80020008b26..."} 
[2026-07-25 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ab6830012db5fac005e901b80020008b26..."} 
[2026-07-25 15:17:33] local.INFO: Processing buffer {"connection_id":141163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ab6830012db5fac005e901b80020008b26..."} 
[2026-07-25 15:17:33] local.INFO: Packet analysis {"connection_id":141163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ab"} 
[2026-07-25 15:17:33] local.INFO: Extracted packet for processing {"connection_id":141163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ab"} 
[2026-07-25 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":766900928,"raw_latitude":99156408,"longitude_deg":76.6900928,"latitude_deg":9.9156408,"altitude":32,"angle":139,"satellites":38,"speed":33,"hex_longitude":"2db5fac0","hex_latitude":"05e901b8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953033728001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357855167569199104,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5339861757791909888,"note":"Value kept but may cause issues"} 
[2026-07-25 15:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784972798000,"timestamp_ms":1784972798000,"timestamp_seconds":1784972798,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ab6830"} 
[2026-07-25 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 15:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953033728001,"66":28028,"29":206,"88":20736,"24":33,"16":357855167569199104,"45":-5339861757791909888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-07-25 15:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953033728001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:17:33] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 15:17:33] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357855167569199104,"km_value":357855167569199.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5339861757791909888,"description":"Unknown IO ID 45"} 
[2026-07-25 15:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953033728001,"power":28028,"unknown_29":206,"unknown_88":20736,"ignition":33,"odometer":null,"unknown_45":-5339861757791909888}} 
[2026-07-25 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":141163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:17:33] local.INFO: GPS data processed {"connection_id":141163,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:17:33] local.INFO: Acknowledgment sent {"connection_id":141163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:17:54] local.INFO: TCP Data received {"connection_id":142143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:17:54] local.INFO: Processing buffer {"connection_id":142143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:17:54] local.INFO: IMEI packet received {"connection_id":142143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":142143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:17:59] local.INFO: TCP Data received {"connection_id":142143,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:17:59] local.INFO: Processing buffer {"connection_id":142143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:17:59] local.INFO: IMEI packet received {"connection_id":142143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":142143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:17:59] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:17:59] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:17:59] local.INFO: IMEI packet received {"connection_id":141102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":141102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:18:00] local.INFO: TCP Data received {"connection_id":142143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aa00d0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aa00d0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:18:00] local.INFO: Processing buffer {"connection_id":142143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aa00d0012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:18:00] local.INFO: Packet analysis {"connection_id":142143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:18:00] local.INFO: Extracted packet for processing {"connection_id":142143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953007360001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:00] 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-07-25 15:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972706000,"timestamp_ms":1784972706000,"timestamp_seconds":1784972706,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aa00d0"} 
[2026-07-25 15:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953007360001,"66":12232,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953007360001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:18:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:18:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953007360001,"power":12232,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":142143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:18:00] local.INFO: GPS data processed {"connection_id":142143,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:18:00] local.INFO: Acknowledgment sent {"connection_id":142143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:18:00] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:00] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:00] local.INFO: IMEI packet received {"connection_id":141102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:18:05] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:05] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:05] local.INFO: IMEI packet received {"connection_id":141102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":141102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:18:06] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ab7bb8012db606c005e8f6d00022007e2a..."} 
[2026-07-25 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ab7bb8012db606c005e8f6d00022007e2a..."} 
[2026-07-25 15:18:06] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ab7bb8012db606c005e8f6d00022007e2a..."} 
[2026-07-25 15:18:06] local.INFO: Packet analysis {"connection_id":141102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ab"} 
[2026-07-25 15:18:06] local.INFO: Extracted packet for processing {"connection_id":141102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ab"} 
[2026-07-25 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":766904000,"raw_latitude":99153616,"longitude_deg":76.6904,"latitude_deg":9.9153616,"altitude":34,"angle":126,"satellites":42,"speed":32,"hex_longitude":"2db606c0","hex_latitude":"05e8f6d0","is_valid_coordinates":true} 
[2026-07-25 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953036288001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357855365137694720,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5333739677050357760,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972803000,"timestamp_ms":1784972803000,"timestamp_seconds":1784972803,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ab7bb8"} 
[2026-07-25 15:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 15:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953036288001,"66":27995,"29":206,"88":20736,"24":32,"16":357855365137694720,"45":-5333739677050357760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-07-25 15:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953036288001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:18:06] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 15:18:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357855365137694720,"km_value":357855365137694.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5333739677050357760,"description":"Unknown IO ID 45"} 
[2026-07-25 15:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953036288001,"power":27995,"unknown_29":206,"unknown_88":20736,"ignition":32,"odometer":null,"unknown_45":-5333739677050357760}} 
[2026-07-25 15:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":141102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:18:06] local.INFO: GPS data processed {"connection_id":141102,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:18:06] local.INFO: Acknowledgment sent {"connection_id":141102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:18:31] local.INFO: TCP Data received {"connection_id":142143,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aa52d8012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aa52d8012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:18:31] local.INFO: Processing buffer {"connection_id":142143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aa52d8012d19d64007239ae8003a00b327..."} 
[2026-07-25 15:18:31] local.INFO: Packet analysis {"connection_id":142143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:18:31] local.INFO: Extracted packet for processing {"connection_id":142143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98aa"} 
[2026-07-25 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119773928,"longitude_deg":75.6667968,"latitude_deg":11.9773928,"altitude":58,"angle":179,"satellites":39,"speed":0,"hex_longitude":"2d19d640","hex_latitude":"07239ae8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953012736001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370582016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:31] 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-07-25 15:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972727000,"timestamp_ms":1784972727000,"timestamp_seconds":1784972727,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aa52d8"} 
[2026-07-25 15:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:18:31] 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-07-25 15:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953012736001,"66":12178,"42":206,"83":42752,"24":0,"16":8790221801914368,"45":1861745895370582016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953012736001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370582016,"description":"Unknown IO ID 45"} 
[2026-07-25 15:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953012736001,"power":12178,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861745895370582016}} 
[2026-07-25 15:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":142143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:18:31] local.INFO: GPS data processed {"connection_id":142143,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:18:31] local.INFO: Acknowledgment sent {"connection_id":142143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:18:39] local.INFO: TCP Data received {"connection_id":141102,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ab9328012db6178005e8ec680025007326..."} 
[2026-07-25 15:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ab9328012db6178005e8ec680025007326..."} 
[2026-07-25 15:18:39] local.INFO: Processing buffer {"connection_id":141102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ab9328012db6178005e8ec680025007326..."} 
[2026-07-25 15:18:39] local.INFO: Packet analysis {"connection_id":141102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ab"} 
[2026-07-25 15:18:39] local.INFO: Extracted packet for processing {"connection_id":141102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ab"} 
[2026-07-25 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":766908288,"raw_latitude":99150952,"longitude_deg":76.6908288,"latitude_deg":9.9150952,"altitude":37,"angle":115,"satellites":38,"speed":33,"hex_longitude":"2db61780","hex_latitude":"05e8ec68","is_valid_coordinates":true} 
[2026-07-25 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953037568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357855609950830592,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5330361977330544640,"note":"Value kept but may cause issues"} 
[2026-07-25 15:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784972809000,"timestamp_ms":1784972809000,"timestamp_seconds":1784972809,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ab9328"} 
[2026-07-25 15:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953037568001,"66":27984,"29":206,"88":20736,"24":33,"16":357855609950830592,"45":-5330361977330544640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,88,24,16,45]} 
[2026-07-25 15:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953037568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:18:39] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 15:18:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":20736,"description":"Unknown IO ID 88"} 
[2026-07-25 15:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357855609950830592,"km_value":357855609950830.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5330361977330544640,"description":"Unknown IO ID 45"} 
[2026-07-25 15:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953037568001,"power":27984,"unknown_29":206,"unknown_88":20736,"ignition":33,"odometer":null,"unknown_45":-5330361977330544640}} 
[2026-07-25 15:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":141102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:18:39] local.INFO: GPS data processed {"connection_id":141102,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:18:39] local.INFO: Acknowledgment sent {"connection_id":141102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:18:54] local.INFO: TCP Data received {"connection_id":143512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:18:54] local.INFO: Processing buffer {"connection_id":143512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:18:54] local.INFO: IMEI packet received {"connection_id":143512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":143512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:18:55] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:55] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:55] local.INFO: IMEI packet received {"connection_id":141164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:18:57] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:57] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:18:57] local.INFO: IMEI packet received {"connection_id":141164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":141164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:18:59] local.INFO: TCP Data received {"connection_id":143512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:18:59] local.INFO: Processing buffer {"connection_id":143512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:18:59] local.INFO: IMEI packet received {"connection_id":143512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":143512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:19:00] local.INFO: TCP Data received {"connection_id":143512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98acb050012d19d6c007239b780039001e27..."} 
[2026-07-25 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98acb050012d19d6c007239b780039001e27..."} 
[2026-07-25 15:19:00] local.INFO: Processing buffer {"connection_id":143512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98acb050012d19d6c007239b780039001e27..."} 
[2026-07-25 15:19:00] local.INFO: Packet analysis {"connection_id":143512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:00] local.INFO: Extracted packet for processing {"connection_id":143512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":756668096,"raw_latitude":119774072,"longitude_deg":75.6668096,"latitude_deg":11.9774072,"altitude":57,"angle":30,"satellites":39,"speed":5,"hex_longitude":"2d19d6c0","hex_latitude":"07239b78","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953057280001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790264751587328,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895370565632,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:00] 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-07-25 15:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972882000,"timestamp_ms":1784972882000,"timestamp_seconds":1784972882,"priority":1,"record_length":96,"hex_timestamp":"0000019f98acb050"} 
[2026-07-25 15:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 15:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953057280001,"66":13993,"42":206,"83":42752,"24":5,"16":8790264751587328,"45":1861745895370565632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953057280001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790264751587328,"km_value":8790264751587.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895370565632,"description":"Unknown IO ID 45"} 
[2026-07-25 15:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953057280001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1861745895370565632}} 
[2026-07-25 15:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":143512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:19:00] local.INFO: GPS data processed {"connection_id":143512,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:19:00] local.INFO: Acknowledgment sent {"connection_id":143512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:19:00] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:19:00] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:19:00] local.INFO: IMEI packet received {"connection_id":141164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":141164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:19:02] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ac98e0012db6fd8005e89258001b005c2a..."} 
[2026-07-25 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ac98e0012db6fd8005e89258001b005c2a..."} 
[2026-07-25 15:19:02] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ac98e0012db6fd8005e89258001b005c2a..."} 
[2026-07-25 15:19:02] local.INFO: Packet analysis {"connection_id":141164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:02] local.INFO: Extracted packet for processing {"connection_id":141164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":766967168,"raw_latitude":99127896,"longitude_deg":76.6967168,"latitude_deg":9.9127896,"altitude":27,"angle":92,"satellites":42,"speed":33,"hex_longitude":"2db6fd80","hex_latitude":"05e89258","is_valid_coordinates":true} 
[2026-07-25 15:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953053952001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357858762456825856,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5271533707204620288,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784972876000,"timestamp_ms":1784972876000,"timestamp_seconds":1784972876,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ac98e0"} 
[2026-07-25 15:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 15:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953053952001,"66":27876,"165":206,"92":41728,"24":33,"16":357858762456825856,"45":-5271533707204620288},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953053952001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:19:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:19:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357858762456825856,"km_value":357858762456825.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5271533707204620288,"description":"Unknown IO ID 45"} 
[2026-07-25 15:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953053952001,"power":27876,"unknown_165":206,"unknown_92":41728,"ignition":33,"odometer":null,"unknown_45":-5271533707204620288}} 
[2026-07-25 15:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":141164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:19:02] local.INFO: GPS data processed {"connection_id":141164,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:19:02] local.INFO: Acknowledgment sent {"connection_id":141164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:19:06] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aca498012db7074005e890f8001b006929..."} 
[2026-07-25 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aca498012db7074005e890f8001b006929..."} 
[2026-07-25 15:19:06] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aca498012db7074005e890f8001b006929..."} 
[2026-07-25 15:19:06] local.INFO: Packet analysis {"connection_id":141164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:06] local.INFO: Extracted packet for processing {"connection_id":141164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":766969664,"raw_latitude":99127544,"longitude_deg":76.6969664,"latitude_deg":9.9127544,"altitude":27,"angle":105,"satellites":41,"speed":33,"hex_longitude":"2db70740","hex_latitude":"05e890f8","is_valid_coordinates":true} 
[2026-07-25 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953056256001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357858882715910144,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5260908026833774592,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972879000,"timestamp_ms":1784972879000,"timestamp_seconds":1784972879,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aca498"} 
[2026-07-25 15:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 15:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953056256001,"66":27919,"165":206,"92":41728,"24":33,"16":357858882715910144,"45":-5260908026833774592},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953056256001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:19:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:19:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357858882715910144,"km_value":357858882715910.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5260908026833774592,"description":"Unknown IO ID 45"} 
[2026-07-25 15:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953056256001,"power":27919,"unknown_165":206,"unknown_92":41728,"ignition":33,"odometer":null,"unknown_45":-5260908026833774592}} 
[2026-07-25 15:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":141164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:19:06] local.INFO: GPS data processed {"connection_id":141164,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:19:06] local.INFO: Acknowledgment sent {"connection_id":141164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:19:31] local.INFO: TCP Data received {"connection_id":143512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98acb438012d19d70007239c000038000d27..."} 
[2026-07-25 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98acb438012d19d70007239c000038000d27..."} 
[2026-07-25 15:19:31] local.INFO: Processing buffer {"connection_id":143512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98acb438012d19d70007239c000038000d27..."} 
[2026-07-25 15:19:31] local.INFO: Packet analysis {"connection_id":143512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:31] local.INFO: Extracted packet for processing {"connection_id":143512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756668160,"raw_latitude":119774208,"longitude_deg":75.666816,"latitude_deg":11.9774208,"altitude":56,"angle":13,"satellites":39,"speed":7,"hex_longitude":"2d19d700","hex_latitude":"07239c00","is_valid_coordinates":true} 
[2026-07-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953057792001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790269046554624,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632858974208,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:31] 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-07-25 15:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972883000,"timestamp_ms":1784972883000,"timestamp_seconds":1784972883,"priority":1,"record_length":96,"hex_timestamp":"0000019f98acb438"} 
[2026-07-25 15:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 15:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:19:31] 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-07-25 15:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953057792001,"66":13972,"42":206,"83":42752,"24":7,"16":8790269046554624,"45":1861886632858974208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953057792001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790269046554624,"km_value":8790269046554.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632858974208,"description":"Unknown IO ID 45"} 
[2026-07-25 15:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953057792001,"power":13972,"unknown_42":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1861886632858974208}} 
[2026-07-25 15:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":143512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:19:31] local.INFO: GPS data processed {"connection_id":143512,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:19:31] local.INFO: Acknowledgment sent {"connection_id":143512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:19:37] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98acbc08012db7184005e88a08001c00762a..."} 
[2026-07-25 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98acbc08012db7184005e88a08001c00762a..."} 
[2026-07-25 15:19:37] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98acbc08012db7184005e88a08001c00762a..."} 
[2026-07-25 15:19:37] local.INFO: Packet analysis {"connection_id":141164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:37] local.INFO: Extracted packet for processing {"connection_id":141164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":766974016,"raw_latitude":99125768,"longitude_deg":76.6974016,"latitude_deg":9.9125768,"altitude":28,"angle":118,"satellites":42,"speed":27,"hex_longitude":"2db71840","hex_latitude":"05e88a08","is_valid_coordinates":true} 
[2026-07-25 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953057024001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357859106054209536,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5258163645810935808,"note":"Value kept but may cause issues"} 
[2026-07-25 15:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784972885000,"timestamp_ms":1784972885000,"timestamp_seconds":1784972885,"priority":1,"record_length":96,"hex_timestamp":"0000019f98acbc08"} 
[2026-07-25 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953057024001,"66":27974,"165":206,"92":41728,"24":27,"16":357859106054209536,"45":-5258163645810935808},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953057024001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:19:37] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:19:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357859106054209536,"km_value":357859106054209.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5258163645810935808,"description":"Unknown IO ID 45"} 
[2026-07-25 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953057024001,"power":27974,"unknown_165":206,"unknown_92":41728,"ignition":27,"odometer":null,"unknown_45":-5258163645810935808}} 
[2026-07-25 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":141164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:19:37] local.INFO: GPS data processed {"connection_id":141164,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:19:37] local.INFO: Acknowledgment sent {"connection_id":141164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:19:54] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:19:54] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:19:54] local.INFO: IMEI packet received {"connection_id":141103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":141103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:19:55] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:19:55] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:19:55] local.INFO: IMEI packet received {"connection_id":141104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":141104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:19:59] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:19:59] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:19:59] local.INFO: IMEI packet received {"connection_id":141103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":141103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:20:00] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98acbc08012d19d70007239d800038016528..."} 
[2026-07-25 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98acbc08012d19d70007239d800038016528..."} 
[2026-07-25 15:20:00] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98acbc08012d19d70007239d800038016528..."} 
[2026-07-25 15:20:00] local.INFO: Packet analysis {"connection_id":141103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:20:00] local.INFO: Extracted packet for processing {"connection_id":141103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756668160,"raw_latitude":119774592,"longitude_deg":75.666816,"latitude_deg":11.9774592,"altitude":56,"angle":357,"satellites":40,"speed":10,"hex_longitude":"2d19d700","hex_latitude":"07239d80","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953058048001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790290521391104,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861957001603186688,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:00] 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-07-25 15:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784972885000,"timestamp_ms":1784972885000,"timestamp_seconds":1784972885,"priority":1,"record_length":96,"hex_timestamp":"0000019f98acbc08"} 
[2026-07-25 15:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-25 15:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953058048001,"66":13993,"42":206,"83":42752,"24":10,"16":8790290521391104,"45":1861957001603186688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953058048001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790290521391104,"km_value":8790290521391.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861957001603186688,"description":"Unknown IO ID 45"} 
[2026-07-25 15:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953058048001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1861957001603186688}} 
[2026-07-25 15:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":141103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:20:00] local.INFO: GPS data processed {"connection_id":141103,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:20:00] local.INFO: Acknowledgment sent {"connection_id":141103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:20:00] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:20:00] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:20:00] local.INFO: IMEI packet received {"connection_id":141104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":141104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:20:01] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98acf2b8012db7358005e875580022007c27..."} 
[2026-07-25 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98acf2b8012db7358005e875580022007c27..."} 
[2026-07-25 15:20:01] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98acf2b8012db7358005e875580022007c27..."} 
[2026-07-25 15:20:01] local.INFO: Packet analysis {"connection_id":141104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:20:01] local.INFO: Extracted packet for processing {"connection_id":141104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":766981504,"raw_latitude":99120472,"longitude_deg":76.6981504,"latitude_deg":9.9120472,"altitude":34,"angle":124,"satellites":39,"speed":27,"hex_longitude":"2db73580","hex_latitude":"05e87558","is_valid_coordinates":true} 
[2026-07-25 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953058560001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357859548435841024,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5253378571207309312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784972899000,"timestamp_ms":1784972899000,"timestamp_seconds":1784972899,"priority":1,"record_length":96,"hex_timestamp":"0000019f98acf2b8"} 
[2026-07-25 15:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 15:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953058560001,"66":27995,"165":206,"92":41728,"24":27,"16":357859548435841024,"45":-5253378571207309312},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953058560001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:20:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:20:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357859548435841024,"km_value":357859548435841.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5253378571207309312,"description":"Unknown IO ID 45"} 
[2026-07-25 15:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953058560001,"power":27995,"unknown_165":206,"unknown_92":41728,"ignition":27,"odometer":null,"unknown_45":-5253378571207309312}} 
[2026-07-25 15:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":141104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:20:02] local.INFO: GPS data processed {"connection_id":141104,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:20:02] local.INFO: Acknowledgment sent {"connection_id":141104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:20:31] local.INFO: TCP Data received {"connection_id":141103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98accba8012d19d6800723a0d80038015029..."} 
[2026-07-25 15:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98accba8012d19d6800723a0d80038015029..."} 
[2026-07-25 15:20:31] local.INFO: Processing buffer {"connection_id":141103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98accba8012d19d6800723a0d80038015029..."} 
[2026-07-25 15:20:31] local.INFO: Packet analysis {"connection_id":141103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:20:31] local.INFO: Extracted packet for processing {"connection_id":141103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ac"} 
[2026-07-25 15:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119775448,"longitude_deg":75.6668032,"latitude_deg":11.9775448,"altitude":56,"angle":336,"satellites":41,"speed":6,"hex_longitude":"2d19d680","hex_latitude":"0723a0d8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953058560001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790333471064064,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861957001603284992,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:31] 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-07-25 15:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784972889000,"timestamp_ms":1784972889000,"timestamp_seconds":1784972889,"priority":1,"record_length":96,"hex_timestamp":"0000019f98accba8"} 
[2026-07-25 15:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 15:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:20:31] 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-07-25 15:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953058560001,"66":13928,"42":206,"83":42752,"24":6,"16":8790333471064064,"45":1861957001603284992},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953058560001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790333471064064,"km_value":8790333471064.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861957001603284992,"description":"Unknown IO ID 45"} 
[2026-07-25 15:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953058560001,"power":13928,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1861957001603284992}} 
[2026-07-25 15:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":141103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:20:31] local.INFO: GPS data processed {"connection_id":141103,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:20:31] local.INFO: Acknowledgment sent {"connection_id":141103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:20:33] local.INFO: TCP Data received {"connection_id":141104,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ad2198012db752c005e85f900024008129..."} 
[2026-07-25 15:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ad2198012db752c005e85f900024008129..."} 
[2026-07-25 15:20:33] local.INFO: Processing buffer {"connection_id":141104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ad2198012db752c005e85f900024008129..."} 
[2026-07-25 15:20:33] local.INFO: Packet analysis {"connection_id":141104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:20:33] local.INFO: Extracted packet for processing {"connection_id":141104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:20:33] local.INFO: GPS Element Parsed {"raw_longitude":766988992,"raw_latitude":99114896,"longitude_deg":76.6988992,"latitude_deg":9.9114896,"altitude":36,"angle":129,"satellites":41,"speed":37,"hex_longitude":"2db752c0","hex_latitude":"05e85f90","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953062144001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357859995112439808,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5245145428139878400,"note":"Value kept but may cause issues"} 
[2026-07-25 15:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784972911000,"timestamp_ms":1784972911000,"timestamp_seconds":1784972911,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ad2198"} 
[2026-07-25 15:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 15:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953062144001,"66":27908,"165":206,"92":41728,"24":37,"16":357859995112439808,"45":-5245145428139878400},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953062144001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:20:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:20:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357859995112439808,"km_value":357859995112439.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5245145428139878400,"description":"Unknown IO ID 45"} 
[2026-07-25 15:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953062144001,"power":27908,"unknown_165":206,"unknown_92":41728,"ignition":37,"odometer":null,"unknown_45":-5245145428139878400}} 
[2026-07-25 15:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":141104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:20:33] local.INFO: GPS data processed {"connection_id":141104,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:20:33] local.INFO: Acknowledgment sent {"connection_id":141104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:20:59] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:20:59] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:20:59] local.INFO: IMEI packet received {"connection_id":141105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":141105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:21:01] local.INFO: TCP Data received {"connection_id":143514,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:01] local.INFO: Processing buffer {"connection_id":143514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:01] local.INFO: IMEI packet received {"connection_id":143514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":143514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:21:03] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:03] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:03] local.INFO: IMEI packet received {"connection_id":141105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":141105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:21:04] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aea838012d19bac007239ff00037000326..."} 
[2026-07-25 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aea838012d19bac007239ff00037000326..."} 
[2026-07-25 15:21:04] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aea838012d19bac007239ff00037000326..."} 
[2026-07-25 15:21:04] local.INFO: Packet analysis {"connection_id":141105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ae"} 
[2026-07-25 15:21:04] local.INFO: Extracted packet for processing {"connection_id":141105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ae"} 
[2026-07-25 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119775216,"longitude_deg":75.6660928,"latitude_deg":11.9775216,"altitude":55,"angle":3,"satellites":38,"speed":7,"hex_longitude":"2d19bac0","hex_latitude":"07239ff0","is_valid_coordinates":true} 
[2026-07-25 15:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953090560001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790702838251520,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333511323648,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:04] 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-07-25 15:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784973011000,"timestamp_ms":1784973011000,"timestamp_seconds":1784973011,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aea838"} 
[2026-07-25 15:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-25 15:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:21:04] 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-07-25 15:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953090560001,"66":14080,"42":206,"83":42752,"24":7,"16":8790702838251520,"45":1854005333511323648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953090560001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790702838251520,"km_value":8790702838251.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333511323648,"description":"Unknown IO ID 45"} 
[2026-07-25 15:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953090560001,"power":14080,"unknown_42":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1854005333511323648}} 
[2026-07-25 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":141105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:21:05] local.INFO: GPS data processed {"connection_id":141105,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:21:05] local.INFO: Acknowledgment sent {"connection_id":141105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:21:05] local.INFO: TCP Data received {"connection_id":143514,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:05] local.INFO: Processing buffer {"connection_id":143514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:05] local.INFO: IMEI packet received {"connection_id":143514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":143514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:21:05] local.INFO: TCP Data received {"connection_id":142144,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:21:05] local.INFO: Processing buffer {"connection_id":142144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:21:05] local.INFO: IMEI packet received {"connection_id":142144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":142144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:21:05] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aeac20012d19bb000723a0a00037002d28..."} 
[2026-07-25 15:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aeac20012d19bb000723a0a00037002d28..."} 
[2026-07-25 15:21:05] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aeac20012d19bb000723a0a00037002d28..."} 
[2026-07-25 15:21:05] local.INFO: Packet analysis {"connection_id":141105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ae"} 
[2026-07-25 15:21:05] local.INFO: Extracted packet for processing {"connection_id":141105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ae"} 
[2026-07-25 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119775392,"longitude_deg":75.6660992,"latitude_deg":11.9775392,"altitude":55,"angle":45,"satellites":40,"speed":8,"hex_longitude":"2d19bb00","hex_latitude":"0723a0a0","is_valid_coordinates":true} 
[2026-07-25 15:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953090816001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790711428186112,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333511368704,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] 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-07-25 15:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784973012000,"timestamp_ms":1784973012000,"timestamp_seconds":1784973012,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aeac20"} 
[2026-07-25 15:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445565952,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561513160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402079,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2923091969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2667053111,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:21:05] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:05] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,42,83,24,241,157,16,59,159,164,45,192,55,37,10,66,160,64,158,54,140,1,240,33,227,152,35,4,113,205,232,188,248,38,239,2,31,7],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:21:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963171133830135808,"timestamp_seconds":3963171133830136.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:21:05] 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-07-25 15:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953090816001,"66":14080,"42":206,"83":42752,"24":8,"16":8790711428186112,"45":1854005333511368704},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953090816001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:21:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790711428186112,"km_value":8790711428186.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333511368704,"description":"Unknown IO ID 45"} 
[2026-07-25 15:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953090816001,"power":14080,"unknown_42":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1854005333511368704}} 
[2026-07-25 15:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":141105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:21:05] local.INFO: GPS data processed {"connection_id":141105,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:21:05] local.INFO: Acknowledgment sent {"connection_id":141105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:21:06] local.INFO: TCP Data received {"connection_id":143514,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ad44c0012db76f8005e84a680025007f26..."} 
[2026-07-25 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ad44c0012db76f8005e84a680025007f26..."} 
[2026-07-25 15:21:06] local.INFO: Processing buffer {"connection_id":143514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ad44c0012db76f8005e84a680025007f26..."} 
[2026-07-25 15:21:06] local.INFO: Packet analysis {"connection_id":143514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:21:06] local.INFO: Extracted packet for processing {"connection_id":143514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":766996352,"raw_latitude":99109480,"longitude_deg":76.6996352,"latitude_deg":9.910948,"altitude":37,"angle":127,"satellites":38,"speed":42,"hex_longitude":"2db76f80","hex_latitude":"05e84a68","is_valid_coordinates":true} 
[2026-07-25 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953065216001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357860437494071296,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5236912285072519168,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972920000,"timestamp_ms":1784972920000,"timestamp_seconds":1784972920,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ad44c0"} 
[2026-07-25 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953065216001,"66":28050,"165":206,"92":41728,"24":42,"16":357860437494071296,"45":-5236912285072519168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953065216001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357860437494071296,"km_value":357860437494071.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5236912285072519168,"description":"Unknown IO ID 45"} 
[2026-07-25 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953065216001,"power":28050,"unknown_165":206,"unknown_92":41728,"ignition":42,"odometer":null,"unknown_45":-5236912285072519168}} 
[2026-07-25 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:21:06] local.INFO: GPS data processed {"connection_id":143514,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:21:06] local.INFO: Acknowledgment sent {"connection_id":143514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:21:06] local.INFO: TCP Data received {"connection_id":143514,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ad67e8012db78e4005e832e80024007e26..."} 
[2026-07-25 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ad67e8012db78e4005e832e80024007e26..."} 
[2026-07-25 15:21:06] local.INFO: Processing buffer {"connection_id":143514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ad67e8012db78e4005e832e80024007e26..."} 
[2026-07-25 15:21:06] local.INFO: Packet analysis {"connection_id":143514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:21:06] local.INFO: Extracted packet for processing {"connection_id":143514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":767004224,"raw_latitude":99103464,"longitude_deg":76.7004224,"latitude_deg":9.9103464,"altitude":36,"angle":126,"satellites":38,"speed":43,"hex_longitude":"2db78e40","hex_latitude":"05e832e8","is_valid_coordinates":true} 
[2026-07-25 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953067520001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357860909940473856,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5228819879493474304,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784972929000,"timestamp_ms":1784972929000,"timestamp_seconds":1784972929,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ad67e8"} 
[2026-07-25 15:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 15:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953067520001,"66":27908,"165":206,"92":41728,"24":43,"16":357860909940473856,"45":-5228819879493474304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,92,24,16,45]} 
[2026-07-25 15:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953067520001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357860909940473856,"km_value":357860909940473.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5228819879493474304,"description":"Unknown IO ID 45"} 
[2026-07-25 15:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953067520001,"power":27908,"unknown_165":206,"unknown_92":41728,"ignition":43,"odometer":null,"unknown_45":-5228819879493474304}} 
[2026-07-25 15:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:21:06] local.INFO: GPS data processed {"connection_id":143514,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:21:06] local.INFO: Acknowledgment sent {"connection_id":143514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:21:36] local.INFO: TCP Data received {"connection_id":141105,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98aeb008012d19bc000723a1000037004a28..."} 
[2026-07-25 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98aeb008012d19bc000723a1000037004a28..."} 
[2026-07-25 15:21:36] local.INFO: Processing buffer {"connection_id":141105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98aeb008012d19bc000723a1000037004a28..."} 
[2026-07-25 15:21:36] local.INFO: Packet analysis {"connection_id":141105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ae"} 
[2026-07-25 15:21:36] local.INFO: Extracted packet for processing {"connection_id":141105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ae"} 
[2026-07-25 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119775488,"longitude_deg":75.6661248,"latitude_deg":11.9775488,"altitude":55,"angle":74,"satellites":40,"speed":11,"hex_longitude":"2d19bc00","hex_latitude":"0723a100","is_valid_coordinates":true} 
[2026-07-25 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953091072001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790724313088000,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702255591424,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] 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-07-25 15:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784973013000,"timestamp_ms":1784973013000,"timestamp_seconds":1784973013,"priority":1,"record_length":96,"hex_timestamp":"0000019f98aeb008"} 
[2026-07-25 15:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445565952,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561534160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2928467969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2667053111,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 15:21:36] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,42,83,24,241,157,16,59,159,168,45,192,55,38,10,66,164,37,160,64,1,240,227,152,35,4,113,205,58,188,248,36,239,2,31,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 15:21:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963217321908502528,"timestamp_seconds":3963217321908502.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:21:36] 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-07-25 15:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953091072001,"66":14135,"42":206,"83":42752,"24":11,"16":8790724313088000,"45":1854075702255591424},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 15:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953091072001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:21:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 15:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790724313088000,"km_value":8790724313088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702255591424,"description":"Unknown IO ID 45"} 
[2026-07-25 15:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953091072001,"power":14135,"unknown_42":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1854075702255591424}} 
[2026-07-25 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":141105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:21:37] local.INFO: GPS data processed {"connection_id":141105,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:21:37] local.INFO: Acknowledgment sent {"connection_id":141105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:21:37] local.INFO: TCP Data received {"connection_id":143514,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ad8b10012db7ad0005e81bf80026008028..."} 
[2026-07-25 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ad8b10012db7ad0005e81bf80026008028..."} 
[2026-07-25 15:21:37] local.INFO: Processing buffer {"connection_id":143514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ad8b10012db7ad0005e81bf80026008028..."} 
[2026-07-25 15:21:37] local.INFO: Packet analysis {"connection_id":143514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:21:37] local.INFO: Extracted packet for processing {"connection_id":143514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ad"} 
[2026-07-25 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":767012096,"raw_latitude":99097592,"longitude_deg":76.7012096,"latitude_deg":9.9097592,"altitude":38,"angle":128,"satellites":40,"speed":44,"hex_longitude":"2db7ad00","hex_latitude":"05e81bf8","is_valid_coordinates":true} 
[2026-07-25 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953069824001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357861382386876416,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5220164523961161728,"note":"Value kept but may cause issues"} 
[2026-07-25 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784972938000,"timestamp_ms":1784972938000,"timestamp_seconds":1784972938,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ad8b10"} 
[2026-07-25 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 15:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953069824001,"66":27930,"164":206,"92":41728,"24":44,"16":357861382386876416,"45":-5220164523961161728},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,92,24,16,45]} 
[2026-07-25 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953069824001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:21:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-07-25 15:21:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357861382386876416,"km_value":357861382386876.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5220164523961161728,"description":"Unknown IO ID 45"} 
[2026-07-25 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953069824001,"power":27930,"unknown_164":206,"unknown_92":41728,"ignition":44,"odometer":null,"unknown_45":-5220164523961161728}} 
[2026-07-25 15:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":143514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:21:37] local.INFO: GPS data processed {"connection_id":143514,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:21:37] local.INFO: Acknowledgment sent {"connection_id":143514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:21:52] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:52] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:52] local.INFO: IMEI packet received {"connection_id":143515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":143515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:21:54] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:54] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:54] local.INFO: IMEI packet received {"connection_id":143515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":143515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:21:55] local.INFO: TCP Data received {"connection_id":142145,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:55] local.INFO: Processing buffer {"connection_id":142145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:21:55] local.INFO: IMEI packet received {"connection_id":142145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":142145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:21:57] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:57] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:21:57] local.INFO: IMEI packet received {"connection_id":143515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":143515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:21:58] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e010000019f98aeb3f0012d19bdc00723a1100037005828..."} 
[2026-07-25 15:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":93,"packet_hex":"00000000000000518e010000019f98aeb3f0012d19bdc00723a1100037005828..."} 
[2026-07-25 15:21:58] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f98aeb3f0012d19bdc00723a1100037005828..."} 
[2026-07-25 15:21:58] local.INFO: Packet analysis {"connection_id":143515,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f98ae"} 
[2026-07-25 15:21:58] local.INFO: Extracted packet for processing {"connection_id":143515,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f98ae"} 
[2026-07-25 15:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119775504,"longitude_deg":75.6661696,"latitude_deg":11.9775504,"altitude":55,"angle":88,"satellites":40,"speed":17,"hex_longitude":"2d19bdc0","hex_latitude":"0723a110","is_valid_coordinates":true} 
[2026-07-25 15:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 15:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:21:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:21:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 15:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143515,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 15:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143515,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 15:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143515,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 15:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 15:21:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 15:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":143515,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 15:21:58] local.ERROR: GPS data processing failed {"connection_id":143515,"error":"No valid data to process"} 
[2026-07-25 15:21:58] local.INFO: Acknowledgment sent {"connection_id":143515,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 15:22:00] local.INFO: TCP Data received {"connection_id":142145,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:22:00] local.INFO: Processing buffer {"connection_id":142145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:22:00] local.INFO: IMEI packet received {"connection_id":142145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":142145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:22:01] local.INFO: TCP Data received {"connection_id":142145,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98af5418012db8c14005e7b5d80021006427..."} 
[2026-07-25 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98af5418012db8c14005e7b5d80021006427..."} 
[2026-07-25 15:22:01] local.INFO: Processing buffer {"connection_id":142145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98af5418012db8c14005e7b5d80021006427..."} 
[2026-07-25 15:22:01] local.INFO: Packet analysis {"connection_id":142145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:22:01] local.INFO: Extracted packet for processing {"connection_id":142145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":767082816,"raw_latitude":99071448,"longitude_deg":76.7082816,"latitude_deg":9.9071448,"altitude":33,"angle":100,"satellites":39,"speed":35,"hex_longitude":"2db8c140","hex_latitude":"05e7b5d8","is_valid_coordinates":true} 
[2026-07-25 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953099520001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357865050288947200,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5144307017745367040,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973055000,"timestamp_ms":1784973055000,"timestamp_seconds":1784973055,"priority":1,"record_length":96,"hex_timestamp":"0000019f98af5418"} 
[2026-07-25 15:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 15:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953099520001,"66":27974,"224":206,"92":41728,"24":35,"16":357865050288947200,"45":-5144307017745367040},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,92,24,16,45]} 
[2026-07-25 15:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953099520001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357865050288947200,"km_value":357865050288947.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5144307017745367040,"description":"Unknown IO ID 45"} 
[2026-07-25 15:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953099520001,"power":27974,"unknown_224":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5144307017745367040}} 
[2026-07-25 15:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":142145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:22:01] local.INFO: GPS data processed {"connection_id":142145,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:22:01] local.INFO: Acknowledgment sent {"connection_id":142145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:22:29] local.INFO: TCP Data received {"connection_id":143515,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e010000019f98aedee8012d19e4800723a5a00035005428..."} 
[2026-07-25 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143515,"packet_length":93,"packet_hex":"00000000000000518e010000019f98aedee8012d19e4800723a5a00035005428..."} 
[2026-07-25 15:22:29] local.INFO: Processing buffer {"connection_id":143515,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f98aedee8012d19e4800723a5a00035005428..."} 
[2026-07-25 15:22:29] local.INFO: Packet analysis {"connection_id":143515,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f98ae"} 
[2026-07-25 15:22:29] local.INFO: Extracted packet for processing {"connection_id":143515,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f98ae"} 
[2026-07-25 15:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756671616,"raw_latitude":119776672,"longitude_deg":75.6671616,"latitude_deg":11.9776672,"altitude":53,"angle":84,"satellites":40,"speed":44,"hex_longitude":"2d19e480","hex_latitude":"0723a5a0","is_valid_coordinates":true} 
[2026-07-25 15: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":93,"current_offset":40} 
[2026-07-25 15:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:22:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:22:29] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 15:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143515,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 15:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143515,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 15:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143515,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 15:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 15:22:29] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 15:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":143515,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 15:22:29] local.ERROR: GPS data processing failed {"connection_id":143515,"error":"No valid data to process"} 
[2026-07-25 15:22:29] local.INFO: Acknowledgment sent {"connection_id":143515,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 15:22:32] local.INFO: TCP Data received {"connection_id":142145,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98af67a0012db8cec005e7b4480020005629..."} 
[2026-07-25 15:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98af67a0012db8cec005e7b4480020005629..."} 
[2026-07-25 15:22:32] local.INFO: Processing buffer {"connection_id":142145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98af67a0012db8cec005e7b4480020005629..."} 
[2026-07-25 15:22:32] local.INFO: Packet analysis {"connection_id":142145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:22:32] local.INFO: Extracted packet for processing {"connection_id":142145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:22:32] local.INFO: GPS Element Parsed {"raw_longitude":767086272,"raw_latitude":99071048,"longitude_deg":76.7086272,"latitude_deg":9.9071048,"altitude":32,"angle":86,"satellites":41,"speed":14,"hex_longitude":"2db8cec0","hex_latitude":"05e7b448","is_valid_coordinates":true} 
[2026-07-25 15:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953102080001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357865213497704448,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5133751706119186432,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973060000,"timestamp_ms":1784973060000,"timestamp_seconds":1784973060,"priority":1,"record_length":96,"hex_timestamp":"0000019f98af67a0"} 
[2026-07-25 15:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 15:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953102080001,"66":27974,"224":206,"92":41728,"24":14,"16":357865213497704448,"45":-5133751706119186432},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,92,24,16,45]} 
[2026-07-25 15:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953102080001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:22:32] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 15:22:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357865213497704448,"km_value":357865213497704.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5133751706119186432,"description":"Unknown IO ID 45"} 
[2026-07-25 15:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953102080001,"power":27974,"unknown_224":206,"unknown_92":41728,"ignition":14,"odometer":null,"unknown_45":-5133751706119186432}} 
[2026-07-25 15:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":142145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:22:32] local.INFO: GPS data processed {"connection_id":142145,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:22:32] local.INFO: Acknowledgment sent {"connection_id":142145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:22:38] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:22:38] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:22:38] local.INFO: IMEI packet received {"connection_id":141165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":141165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:22:43] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:22:43] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:22:43] local.INFO: IMEI packet received {"connection_id":141165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":141165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:22:43] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b00bb0012d7c1c0005db0438000b016521..."} 
[2026-07-25 15:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b00bb0012d7c1c0005db0438000b016521..."} 
[2026-07-25 15:22:43] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b00bb0012d7c1c0005db0438000b016521..."} 
[2026-07-25 15:22:43] local.INFO: Packet analysis {"connection_id":141165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:22:43] local.INFO: Extracted packet for processing {"connection_id":141165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763108352,"raw_latitude":98239544,"longitude_deg":76.3108352,"latitude_deg":9.8239544,"altitude":11,"angle":357,"satellites":33,"speed":0,"hex_longitude":"2d7c1c00","hex_latitude":"05db0438","is_valid_coordinates":true} 
[2026-07-25 15:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953114112001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110266976017842176,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985200285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:22:43] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-25 15:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784973102000,"timestamp_ms":1784973102000,"timestamp_seconds":1784973102,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b00bb0"} 
[2026-07-25 15:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 15:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953114112001,"66":11700,"24":0,"16":110266976017842176,"45":8943022985200285696},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-25 15:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953114112001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110266976017842176,"km_value":110266976017842.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985200285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:22:43] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456953114112001,"power":11700,"ignition":0,"odometer":null,"unknown_45":8943022985200285696}} 
[2026-07-25 15:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":141165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:22:43] local.INFO: GPS data processed {"connection_id":141165,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:22:43] local.INFO: Acknowledgment sent {"connection_id":141165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:22:54] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:54] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:54] local.INFO: IMEI packet received {"connection_id":141106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":141106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:22:55] local.INFO: TCP Data received {"connection_id":143516,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:22:55] local.INFO: Processing buffer {"connection_id":143516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:22:55] local.INFO: IMEI packet received {"connection_id":143516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":143516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:22:57] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:57] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:57] local.INFO: IMEI packet received {"connection_id":141106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":141106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:22:59] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:59] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:22:59] local.INFO: IMEI packet received {"connection_id":141106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":141106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:23:00] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98af0210012d1a0b000723aae80031004d2b..."} 
[2026-07-25 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98af0210012d1a0b000723aae80031004d2b..."} 
[2026-07-25 15:23:00] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98af0210012d1a0b000723aae80031004d2b..."} 
[2026-07-25 15:23:00] local.INFO: Packet analysis {"connection_id":141106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:23:00] local.INFO: Extracted packet for processing {"connection_id":141106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756681472,"raw_latitude":119778024,"longitude_deg":75.6681472,"latitude_deg":11.9778024,"altitude":49,"angle":77,"satellites":43,"speed":40,"hex_longitude":"2d1a0b00","hex_latitude":"0723aae8","is_valid_coordinates":true} 
[2026-07-25 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953094400001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8791690680729600,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865756913789411328,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:00] 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-07-25 15:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973034000,"timestamp_ms":1784973034000,"timestamp_seconds":1784973034,"priority":1,"record_length":96,"hex_timestamp":"0000019f98af0210"} 
[2026-07-25 15:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-25 15:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953094400001,"66":14189,"43":206,"83":42752,"24":40,"16":8791690680729600,"45":1865756913789411328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-25 15:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953094400001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8791690680729600,"km_value":8791690680729.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865756913789411328,"description":"Unknown IO ID 45"} 
[2026-07-25 15:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953094400001,"power":14189,"unknown_43":206,"unknown_83":42752,"ignition":40,"odometer":null,"unknown_45":1865756913789411328}} 
[2026-07-25 15:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":141106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:23:00] local.INFO: GPS data processed {"connection_id":141106,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:23:00] local.INFO: Acknowledgment sent {"connection_id":141106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:23:00] local.INFO: TCP Data received {"connection_id":143516,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:23:00] local.INFO: Processing buffer {"connection_id":143516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:23:00] local.INFO: IMEI packet received {"connection_id":143516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":143516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:23:01] local.INFO: TCP Data received {"connection_id":143516,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98af6f70012db8d0c005e7b4b80021004828..."} 
[2026-07-25 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98af6f70012db8d0c005e7b4b80021004828..."} 
[2026-07-25 15:23:01] local.INFO: Processing buffer {"connection_id":143516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98af6f70012db8d0c005e7b4b80021004828..."} 
[2026-07-25 15:23:01] local.INFO: Packet analysis {"connection_id":143516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:23:01] local.INFO: Extracted packet for processing {"connection_id":143516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":767086784,"raw_latitude":99071160,"longitude_deg":76.7086784,"latitude_deg":9.907116,"altitude":33,"angle":72,"satellites":40,"speed":11,"hex_longitude":"2db8d0c0","hex_latitude":"05e7b4b8","is_valid_coordinates":true} 
[2026-07-25 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953103360001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357865239267508224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5129951793933694976,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973062000,"timestamp_ms":1784973062000,"timestamp_seconds":1784973062,"priority":1,"record_length":96,"hex_timestamp":"0000019f98af6f70"} 
[2026-07-25 15:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 15:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953103360001,"66":27919,"224":206,"92":41728,"24":11,"16":357865239267508224,"45":-5129951793933694976},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,92,24,16,45]} 
[2026-07-25 15:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953103360001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:23:01] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 15:23:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357865239267508224,"km_value":357865239267508.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5129951793933694976,"description":"Unknown IO ID 45"} 
[2026-07-25 15:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953103360001,"power":27919,"unknown_224":206,"unknown_92":41728,"ignition":11,"odometer":null,"unknown_45":-5129951793933694976}} 
[2026-07-25 15:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":143516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:23:01] local.INFO: GPS data processed {"connection_id":143516,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:23:01] local.INFO: Acknowledgment sent {"connection_id":143516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:23:04] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98af1598012d1a1d400723b0b0003000422b..."} 
[2026-07-25 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98af1598012d1a1d400723b0b0003000422b..."} 
[2026-07-25 15:23:04] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98af1598012d1a1d400723b0b0003000422b..."} 
[2026-07-25 15:23:04] local.INFO: Packet analysis {"connection_id":141106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:23:04] local.INFO: Extracted packet for processing {"connection_id":141106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98af"} 
[2026-07-25 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119779504,"longitude_deg":75.6686144,"latitude_deg":11.9779504,"altitude":48,"angle":66,"satellites":43,"speed":36,"hex_longitude":"2d1a1d40","hex_latitude":"0723b0b0","is_valid_coordinates":true} 
[2026-07-25 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953096704001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8791926903930880,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876593700393117696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:04] 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-07-25 15:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784973039000,"timestamp_ms":1784973039000,"timestamp_seconds":1784973039,"priority":1,"record_length":96,"hex_timestamp":"0000019f98af1598"} 
[2026-07-25 15:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:04] 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-07-25 15:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953096704001,"66":14189,"43":206,"83":42752,"24":36,"16":8791926903930880,"45":1876593700393117696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-07-25 15:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953096704001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:23:04] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 15:23:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8791926903930880,"km_value":8791926903930.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876593700393117696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953096704001,"power":14189,"unknown_43":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1876593700393117696}} 
[2026-07-25 15:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":141106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:23:04] local.INFO: GPS data processed {"connection_id":141106,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:23:04] local.INFO: Acknowledgment sent {"connection_id":141106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:23:32] local.INFO: TCP Data received {"connection_id":143516,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b0e288012db9310005e737d80022005f28..."} 
[2026-07-25 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b0e288012db9310005e737d80022005f28..."} 
[2026-07-25 15:23:32] local.INFO: Processing buffer {"connection_id":143516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b0e288012db9310005e737d80022005f28..."} 
[2026-07-25 15:23:32] local.INFO: Packet analysis {"connection_id":143516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:23:32] local.INFO: Extracted packet for processing {"connection_id":143516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":767111424,"raw_latitude":99039192,"longitude_deg":76.7111424,"latitude_deg":9.9039192,"altitude":34,"angle":95,"satellites":40,"speed":9,"hex_longitude":"2db93100","hex_latitude":"05e737d8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953127936001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867494125338624,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5102507983712540672,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973157000,"timestamp_ms":1784973157000,"timestamp_seconds":1784973157,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b0e288"} 
[2026-07-25 15:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 15:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953127936001,"66":27865,"23":206,"92":41728,"24":9,"16":357867494125338624,"45":-5102507983712540672},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953127936001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:23:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:23:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867494125338624,"km_value":357867494125338.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5102507983712540672,"description":"Unknown IO ID 45"} 
[2026-07-25 15:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953127936001,"power":27865,"unknown_23":206,"unknown_92":41728,"ignition":9,"odometer":null,"unknown_45":-5102507983712540672}} 
[2026-07-25 15:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":143516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:23:32] local.INFO: GPS data processed {"connection_id":143516,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:23:32] local.INFO: Acknowledgment sent {"connection_id":143516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:23:38] local.INFO: TCP Data received {"connection_id":141106,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b0ea58012d1adc8007244490002d00262b..."} 
[2026-07-25 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b0ea58012d1adc8007244490002d00262b..."} 
[2026-07-25 15:23:38] local.INFO: Processing buffer {"connection_id":141106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b0ea58012d1adc8007244490002d00262b..."} 
[2026-07-25 15:23:38] local.INFO: Packet analysis {"connection_id":141106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:23:38] local.INFO: Extracted packet for processing {"connection_id":141106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756735104,"raw_latitude":119817360,"longitude_deg":75.6735104,"latitude_deg":11.981736,"altitude":45,"angle":38,"satellites":43,"speed":32,"hex_longitude":"2d1adc80","hex_latitude":"07244490","is_valid_coordinates":true} 
[2026-07-25 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953127936001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8794967740776448,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933592383186659328,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784973159000,"timestamp_ms":1784973159000,"timestamp_seconds":1784973159,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b0ea58"} 
[2026-07-25 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 15:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:38] 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-07-25 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953127936001,"66":14102,"176":206,"83":42752,"24":32,"16":8794967740776448,"45":1933592383186659328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953127936001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:23:38] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8794967740776448,"km_value":8794967740776.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933592383186659328,"description":"Unknown IO ID 45"} 
[2026-07-25 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953127936001,"power":14102,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1933592383186659328}} 
[2026-07-25 15:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":141106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:23:39] local.INFO: GPS data processed {"connection_id":141106,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:23:39] local.INFO: Acknowledgment sent {"connection_id":141106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:23:54] local.INFO: TCP Data received {"connection_id":142146,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:23:54] local.INFO: Processing buffer {"connection_id":142146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:23:54] local.INFO: IMEI packet received {"connection_id":142146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":142146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:23:55] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:23:55] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:23:55] local.INFO: IMEI packet received {"connection_id":141108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":141108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:23:59] local.INFO: TCP Data received {"connection_id":142146,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:23:59] local.INFO: Processing buffer {"connection_id":142146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:23:59] local.INFO: IMEI packet received {"connection_id":142146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":142146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:23:59] local.INFO: TCP Data received {"connection_id":142146,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b0f610012d1ae18007244ce8002b001a2b..."} 
[2026-07-25 15:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b0f610012d1ae18007244ce8002b001a2b..."} 
[2026-07-25 15:23:59] local.INFO: Processing buffer {"connection_id":142146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b0f610012d1ae18007244ce8002b001a2b..."} 
[2026-07-25 15:23:59] local.INFO: Packet analysis {"connection_id":142146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:23:59] local.INFO: Extracted packet for processing {"connection_id":142146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756736384,"raw_latitude":119819496,"longitude_deg":75.6736384,"latitude_deg":11.9819496,"altitude":43,"angle":26,"satellites":43,"speed":32,"hex_longitude":"2d1ae180","hex_latitude":"07244ce8","is_valid_coordinates":true} 
[2026-07-25 15:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953128704001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8795087999860736,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935562708024070144,"note":"Value kept but may cause issues"} 
[2026-07-25 15:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784973162000,"timestamp_ms":1784973162000,"timestamp_seconds":1784973162,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b0f610"} 
[2026-07-25 15:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 15:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:23: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-07-25 15:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953128704001,"66":13972,"176":206,"83":42752,"24":32,"16":8795087999860736,"45":1935562708024070144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953128704001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8795087999860736,"km_value":8795087999860.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935562708024070144,"description":"Unknown IO ID 45"} 
[2026-07-25 15:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953128704001,"power":13972,"unknown_176":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1935562708024070144}} 
[2026-07-25 15:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":142146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:23:59] local.INFO: GPS data processed {"connection_id":142146,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:23:59] local.INFO: Acknowledgment sent {"connection_id":142146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:24:00] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:24:00] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:24:00] local.INFO: IMEI packet received {"connection_id":141108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":141108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:24:01] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b0e670012db931c005e737e00022004d26..."} 
[2026-07-25 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b0e670012db931c005e737e00022004d26..."} 
[2026-07-25 15:24:01] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b0e670012db931c005e737e00022004d26..."} 
[2026-07-25 15:24:01] local.INFO: Packet analysis {"connection_id":141108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:24:01] local.INFO: Extracted packet for processing {"connection_id":141108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:24:01] local.INFO: GPS Element Parsed {"raw_longitude":767111616,"raw_latitude":99039200,"longitude_deg":76.7111616,"latitude_deg":9.90392,"altitude":34,"angle":77,"satellites":38,"speed":7,"hex_longitude":"2db931c0","hex_latitude":"05e737e0","is_valid_coordinates":true} 
[2026-07-25 15:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953128192001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867502715273216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5102296877480028160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973158000,"timestamp_ms":1784973158000,"timestamp_seconds":1784973158,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b0e670"} 
[2026-07-25 15:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 15:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953128192001,"66":27919,"23":206,"92":41728,"24":7,"16":357867502715273216,"45":-5102296877480028160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953128192001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:24:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:24:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867502715273216,"km_value":357867502715273.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5102296877480028160,"description":"Unknown IO ID 45"} 
[2026-07-25 15:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953128192001,"power":27919,"unknown_23":206,"unknown_92":41728,"ignition":7,"odometer":null,"unknown_45":-5102296877480028160}} 
[2026-07-25 15:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":141108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:24:01] local.INFO: GPS data processed {"connection_id":141108,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:24:01] local.INFO: Acknowledgment sent {"connection_id":141108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:24:32] local.INFO: TCP Data received {"connection_id":142146,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b11938012d1af04007246610002700262a..."} 
[2026-07-25 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b11938012d1af04007246610002700262a..."} 
[2026-07-25 15:24:32] local.INFO: Processing buffer {"connection_id":142146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b11938012d1af04007246610002700262a..."} 
[2026-07-25 15:24:32] local.INFO: Packet analysis {"connection_id":142146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:24:32] local.INFO: Extracted packet for processing {"connection_id":142146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756740160,"raw_latitude":119825936,"longitude_deg":75.674016,"latitude_deg":11.9825936,"altitude":39,"angle":38,"satellites":42,"speed":34,"hex_longitude":"2d1af040","hex_latitude":"07246610","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953129472001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8795448777113600,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936970082908170240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973171000,"timestamp_ms":1784973171000,"timestamp_seconds":1784973171,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b11938"} 
[2026-07-25 15:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-07-25 15:24: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-07-25 15: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-07-25 15:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:24:32] 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-07-25 15:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953129472001,"66":13961,"176":206,"83":42752,"24":34,"16":8795448777113600,"45":1936970082908170240},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953129472001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8795448777113600,"km_value":8795448777113.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936970082908170240,"description":"Unknown IO ID 45"} 
[2026-07-25 15:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953129472001,"power":13961,"unknown_176":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1936970082908170240}} 
[2026-07-25 15:24:32] local.INFO: TCP Data received {"connection_id":141108,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b0ea58012db9324005e738080023003c28..."} 
[2026-07-25 15:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b0ea58012db9324005e738080023003c28..."} 
[2026-07-25 15:24:32] local.INFO: Processing buffer {"connection_id":141108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b0ea58012db9324005e738080023003c28..."} 
[2026-07-25 15:24:32] local.INFO: Packet analysis {"connection_id":141108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:24:32] local.INFO: Extracted packet for processing {"connection_id":141108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b0"} 
[2026-07-25 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":767111744,"raw_latitude":99039240,"longitude_deg":76.7111744,"latitude_deg":9.903924,"altitude":35,"angle":60,"satellites":40,"speed":5,"hex_longitude":"2db93240","hex_latitude":"05e73808","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953128448001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867507010240512,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5102085771247493120,"note":"Value kept but may cause issues"} 
[2026-07-25 15:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973159000,"timestamp_ms":1784973159000,"timestamp_seconds":1784973159,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b0ea58"} 
[2026-07-25 15:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953128448001,"66":27919,"23":206,"92":41728,"24":5,"16":357867507010240512,"45":-5102085771247493120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953128448001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867507010240512,"km_value":357867507010240.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5102085771247493120,"description":"Unknown IO ID 45"} 
[2026-07-25 15:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953128448001,"power":27919,"unknown_23":206,"unknown_92":41728,"ignition":5,"odometer":null,"unknown_45":-5102085771247493120}} 
[2026-07-25 15:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:24:32] local.INFO: GPS data processed {"connection_id":141108,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:24:32] local.INFO: Acknowledgment sent {"connection_id":141108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":142146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:24:32] local.INFO: GPS data processed {"connection_id":142146,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:24:32] local.INFO: Acknowledgment sent {"connection_id":142146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:24:54] local.INFO: TCP Data received {"connection_id":141166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:24:54] local.INFO: Processing buffer {"connection_id":141166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:24:54] local.INFO: IMEI packet received {"connection_id":141166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":141166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:24:55] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:24:55] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:24:55] local.INFO: IMEI packet received {"connection_id":141167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":141167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:24:59] local.INFO: TCP Data received {"connection_id":141166,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:24:59] local.INFO: Processing buffer {"connection_id":141166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:24:59] local.INFO: IMEI packet received {"connection_id":141166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":141166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:25:00] local.INFO: TCP Data received {"connection_id":141166,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b14430012d1b08c007247f580026002e29..."} 
[2026-07-25 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b14430012d1b08c007247f580026002e29..."} 
[2026-07-25 15:25:00] local.INFO: Processing buffer {"connection_id":141166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b14430012d1b08c007247f580026002e29..."} 
[2026-07-25 15:25:00] local.INFO: Packet analysis {"connection_id":141166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:25:00] local.INFO: Extracted packet for processing {"connection_id":141166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756746432,"raw_latitude":119832408,"longitude_deg":75.6746432,"latitude_deg":11.9832408,"altitude":38,"angle":46,"satellites":41,"speed":23,"hex_longitude":"2d1b08c0","hex_latitude":"07247f58","is_valid_coordinates":true} 
[2026-07-25 15:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953131776001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8795882568810496,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941121838816301056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:00] 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-07-25 15:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973182000,"timestamp_ms":1784973182000,"timestamp_seconds":1784973182,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b14430"} 
[2026-07-25 15:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-25 15:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953131776001,"66":13961,"136":206,"83":42752,"24":23,"16":8795882568810496,"45":1941121838816301056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 15:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953131776001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:25:00] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 15:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8795882568810496,"km_value":8795882568810.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941121838816301056,"description":"Unknown IO ID 45"} 
[2026-07-25 15:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953131776001,"power":13961,"unknown_136":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1941121838816301056}} 
[2026-07-25 15:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":141166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:25:00] local.INFO: GPS data processed {"connection_id":141166,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:25:00] local.INFO: Acknowledgment sent {"connection_id":141166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:25:00] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:25:00] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:25:00] local.INFO: IMEI packet received {"connection_id":141167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":141167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:25:01] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b13490012db93f4005e73ef00022005127..."} 
[2026-07-25 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b13490012db93f4005e73ef00022005127..."} 
[2026-07-25 15:25:01] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b13490012db93f4005e73ef00022005127..."} 
[2026-07-25 15:25:01] local.INFO: Packet analysis {"connection_id":141167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:25:01] local.INFO: Extracted packet for processing {"connection_id":141167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":767115072,"raw_latitude":99041008,"longitude_deg":76.7115072,"latitude_deg":9.9041008,"altitude":34,"angle":81,"satellites":39,"speed":12,"hex_longitude":"2db93f40","hex_latitude":"05e73ef0","is_valid_coordinates":true} 
[2026-07-25 15:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953128704001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867691693834240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5101945033759127552,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973178000,"timestamp_ms":1784973178000,"timestamp_seconds":1784973178,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b13490"} 
[2026-07-25 15:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 15:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953128704001,"66":27865,"23":206,"92":41728,"24":12,"16":357867691693834240,"45":-5101945033759127552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953128704001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:25:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:25:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867691693834240,"km_value":357867691693834.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5101945033759127552,"description":"Unknown IO ID 45"} 
[2026-07-25 15:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953128704001,"power":27865,"unknown_23":206,"unknown_92":41728,"ignition":12,"odometer":null,"unknown_45":-5101945033759127552}} 
[2026-07-25 15:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":141167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:25:01] local.INFO: GPS data processed {"connection_id":141167,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:25:01] local.INFO: Acknowledgment sent {"connection_id":141167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:25:32] local.INFO: TCP Data received {"connection_id":141166,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b2b748012d1b0d40072481d8002600d32b..."} 
[2026-07-25 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b2b748012d1b0d40072481d8002600d32b..."} 
[2026-07-25 15:25:32] local.INFO: Processing buffer {"connection_id":141166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b2b748012d1b0d40072481d8002600d32b..."} 
[2026-07-25 15:25:32] local.INFO: Packet analysis {"connection_id":141166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b2"} 
[2026-07-25 15:25:32] local.INFO: Extracted packet for processing {"connection_id":141166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b2"} 
[2026-07-25 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756747584,"raw_latitude":119833048,"longitude_deg":75.6747584,"latitude_deg":11.9833048,"altitude":38,"angle":211,"satellites":43,"speed":6,"hex_longitude":"2d1b0d40","hex_latitude":"072481d8","is_valid_coordinates":true} 
[2026-07-25 15:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953157888001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8796423734689792,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949284613142835200,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973277000,"timestamp_ms":1784973277000,"timestamp_seconds":1784973277,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b2b748"} 
[2026-07-25 15:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 15:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:25:32] 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-07-25 15:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953157888001,"66":14363,"176":206,"83":42752,"24":6,"16":8796423734689792,"45":1949284613142835200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953157888001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8796423734689792,"km_value":8796423734689.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949284613142835200,"description":"Unknown IO ID 45"} 
[2026-07-25 15:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953157888001,"power":14363,"unknown_176":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1949284613142835200}} 
[2026-07-25 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":141166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:25:32] local.INFO: GPS data processed {"connection_id":141166,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:25:32] local.INFO: Acknowledgment sent {"connection_id":141166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:25:32] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b14430012db944c005e73f000022005528..."} 
[2026-07-25 15:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b14430012db944c005e73f000022005528..."} 
[2026-07-25 15:25:32] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b14430012db944c005e73f000022005528..."} 
[2026-07-25 15:25:32] local.INFO: Packet analysis {"connection_id":141167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:25:32] local.INFO: Extracted packet for processing {"connection_id":141167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":767116480,"raw_latitude":99041024,"longitude_deg":76.711648,"latitude_deg":9.9041024,"altitude":34,"angle":85,"satellites":40,"speed":14,"hex_longitude":"2db944c0","hex_latitude":"05e73f00","is_valid_coordinates":true} 
[2026-07-25 15:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953133568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5098285859061436416,"note":"Value kept but may cause issues"} 
[2026-07-25 15:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973182000,"timestamp_ms":1784973182000,"timestamp_seconds":1784973182,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b14430"} 
[2026-07-25 15:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 15:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953133568001,"66":27930,"23":206,"92":41728,"24":14,"16":357867756118343680,"45":-5098285859061436416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953133568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5098285859061436416,"description":"Unknown IO ID 45"} 
[2026-07-25 15:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953133568001,"power":27930,"unknown_23":206,"unknown_92":41728,"ignition":14,"odometer":null,"unknown_45":-5098285859061436416}} 
[2026-07-25 15:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":141167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:25:32] local.INFO: GPS data processed {"connection_id":141167,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:25:32] local.INFO: Acknowledgment sent {"connection_id":141167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:25:54] local.INFO: TCP Data received {"connection_id":142147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:54] local.INFO: Processing buffer {"connection_id":142147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:54] local.INFO: IMEI packet received {"connection_id":142147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":142147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:25:55] local.INFO: TCP Data received {"connection_id":142147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:55] local.INFO: Processing buffer {"connection_id":142147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:55] local.INFO: IMEI packet received {"connection_id":142147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":142147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:25:55] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:25:55] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:25:55] local.INFO: IMEI packet received {"connection_id":141168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":141168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:25:59] local.INFO: TCP Data received {"connection_id":142147,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:59] local.INFO: Processing buffer {"connection_id":142147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:25:59] local.INFO: IMEI packet received {"connection_id":142147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":142147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:26:00] local.INFO: TCP Data received {"connection_id":142147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b2c6e8012d1b0b8007247f08002700de2c..."} 
[2026-07-25 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b2c6e8012d1b0b8007247f08002700de2c..."} 
[2026-07-25 15:26:00] local.INFO: Processing buffer {"connection_id":142147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b2c6e8012d1b0b8007247f08002700de2c..."} 
[2026-07-25 15:26:00] local.INFO: Packet analysis {"connection_id":142147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b2"} 
[2026-07-25 15:26:00] local.INFO: Extracted packet for processing {"connection_id":142147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b2"} 
[2026-07-25 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756747136,"raw_latitude":119832328,"longitude_deg":75.6747136,"latitude_deg":11.9832328,"altitude":39,"angle":222,"satellites":44,"speed":8,"hex_longitude":"2d1b0b80","hex_latitude":"07247f08","is_valid_coordinates":true} 
[2026-07-25 15:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953158912001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8796466684362752,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949284613142730752,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973281000,"timestamp_ms":1784973281000,"timestamp_seconds":1784973281,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b2c6e8"} 
[2026-07-25 15:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 15:26: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-07-25 15:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953158912001,"66":13993,"176":206,"83":42752,"24":8,"16":8796466684362752,"45":1949284613142730752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953158912001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8796466684362752,"km_value":8796466684362.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949284613142730752,"description":"Unknown IO ID 45"} 
[2026-07-25 15:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953158912001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1949284613142730752}} 
[2026-07-25 15:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":142147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:26:00] local.INFO: GPS data processed {"connection_id":142147,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:26:00] local.INFO: Acknowledgment sent {"connection_id":142147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:26:00] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:26:00] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:26:00] local.INFO: IMEI packet received {"connection_id":141168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":141168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:26:01] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:26:01] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:26:01] local.INFO: Packet analysis {"connection_id":141168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:26:01] local.INFO: Extracted packet for processing {"connection_id":141168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:26:01] local.INFO: GPS Element Parsed {"raw_longitude":767118528,"raw_latitude":99041296,"longitude_deg":76.7118528,"latitude_deg":9.9041296,"altitude":34,"angle":72,"satellites":41,"speed":16,"hex_longitude":"2db94cc0","hex_latitude":"05e74010","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953134592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5096737746689523712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973187000,"timestamp_ms":1784973187000,"timestamp_seconds":1784973187,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b157b8"} 
[2026-07-25 15:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953134592001,"66":27245,"23":206,"92":41728,"24":16,"16":357867756118343680,"45":-5096737746689523712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953134592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:26:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:26:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5096737746689523712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953134592001,"power":27245,"unknown_23":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5096737746689523712}} 
[2026-07-25 15:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":141168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:26:01] local.INFO: GPS data processed {"connection_id":141168,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:26:01] local.INFO: Acknowledgment sent {"connection_id":141168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:26:31] local.INFO: TCP Data received {"connection_id":142147,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b2e628012d1b068007247a38002800e92d..."} 
[2026-07-25 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b2e628012d1b068007247a38002800e92d..."} 
[2026-07-25 15:26:31] local.INFO: Processing buffer {"connection_id":142147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b2e628012d1b068007247a38002800e92d..."} 
[2026-07-25 15:26:31] local.INFO: Packet analysis {"connection_id":142147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b2"} 
[2026-07-25 15:26:31] local.INFO: Extracted packet for processing {"connection_id":142147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b2"} 
[2026-07-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756745856,"raw_latitude":119831096,"longitude_deg":75.6745856,"latitude_deg":11.9831096,"altitude":40,"angle":233,"satellites":45,"speed":11,"hex_longitude":"2d1b0680","hex_latitude":"07247a38","is_valid_coordinates":true} 
[2026-07-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953159936001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8796552583708672,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948792031933302784,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973289000,"timestamp_ms":1784973289000,"timestamp_seconds":1784973289,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b2e628"} 
[2026-07-25 15:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 15:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:26:31] 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-07-25 15:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953159936001,"66":14341,"176":206,"83":42752,"24":11,"16":8796552583708672,"45":1948792031933302784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953159936001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8796552583708672,"km_value":8796552583708.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948792031933302784,"description":"Unknown IO ID 45"} 
[2026-07-25 15:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953159936001,"power":14341,"unknown_176":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1948792031933302784}} 
[2026-07-25 15:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":142147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:26:31] local.INFO: GPS data processed {"connection_id":142147,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:26:31] local.INFO: Acknowledgment sent {"connection_id":142147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:26:32] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:26:32] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:26:32] local.INFO: Packet analysis {"connection_id":141168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:26:32] local.INFO: Extracted packet for processing {"connection_id":141168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":767118528,"raw_latitude":99041296,"longitude_deg":76.7118528,"latitude_deg":9.9041296,"altitude":34,"angle":72,"satellites":41,"speed":16,"hex_longitude":"2db94cc0","hex_latitude":"05e74010","is_valid_coordinates":true} 
[2026-07-25 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-07-25 15:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953134592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5096737746689523712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973187000,"timestamp_ms":1784973187000,"timestamp_seconds":1784973187,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b157b8"} 
[2026-07-25 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-07-25 15:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 15:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953134592001,"66":27245,"23":206,"92":41728,"24":16,"16":357867756118343680,"45":-5096737746689523712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953134592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:26:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:26:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5096737746689523712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953134592001,"power":27245,"unknown_23":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5096737746689523712}} 
[2026-07-25 15:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":141168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:26:32] local.INFO: GPS data processed {"connection_id":141168,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:26:32] local.INFO: Acknowledgment sent {"connection_id":141168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:26:35] local.INFO: TCP Data received {"connection_id":141107,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:26:35] local.INFO: Processing buffer {"connection_id":141107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:26:35] local.INFO: IMEI packet received {"connection_id":141107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":141107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:26:54] local.INFO: TCP Data received {"connection_id":143517,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:26:54] local.INFO: Processing buffer {"connection_id":143517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:26:54] local.INFO: IMEI packet received {"connection_id":143517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":143517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:26:59] local.INFO: TCP Data received {"connection_id":143517,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:26:59] local.INFO: Processing buffer {"connection_id":143517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:26:59] local.INFO: IMEI packet received {"connection_id":143517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":143517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:27:00] local.INFO: TCP Data received {"connection_id":143517,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b30950012d1afd4007247140002a00de2c..."} 
[2026-07-25 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b30950012d1afd4007247140002a00de2c..."} 
[2026-07-25 15:27:00] local.INFO: Processing buffer {"connection_id":143517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b30950012d1afd4007247140002a00de2c..."} 
[2026-07-25 15:27:00] local.INFO: Packet analysis {"connection_id":143517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:27:00] local.INFO: Extracted packet for processing {"connection_id":143517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756743488,"raw_latitude":119828800,"longitude_deg":75.6743488,"latitude_deg":11.98288,"altitude":42,"angle":222,"satellites":44,"speed":17,"hex_longitude":"2d1afd40","hex_latitude":"07247140","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953161984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8796711497498624,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1947384657049434112,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973298000,"timestamp_ms":1784973298000,"timestamp_seconds":1784973298,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b30950"} 
[2026-07-25 15:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":84753762178507919,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2147951758,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561821160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733846540288,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2991955969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2383413287,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3087084827,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.WARNING: Large IO value detected {"io_id":208,"raw_value":10978254974353920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,64,159,198,45,128,127,39,44,10,66,183,129,38,43,167,1,240,185,227,152,36,4,113,205,9,81,239,56,2,31,7,206,208],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-07-25 15:27:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882560141000638464,"timestamp_seconds":2882560141000638.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953161984001,"66":14265,"137":206,"83":42752,"24":17,"16":8796711497498624,"45":1947384657049434112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953161984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8796711497498624,"km_value":8796711497498.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1947384657049434112,"description":"Unknown IO ID 45"} 
[2026-07-25 15:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953161984001,"power":14265,"unknown_137":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1947384657049434112}} 
[2026-07-25 15:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":143517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:27:00] local.INFO: GPS data processed {"connection_id":143517,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:27:00] local.INFO: Acknowledgment sent {"connection_id":143517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:27:00] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:00] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:00] local.INFO: IMEI packet received {"connection_id":143518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":143518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:27:05] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:05] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:05] local.INFO: IMEI packet received {"connection_id":143518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":143518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:27:06] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:27:06] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:27:06] local.INFO: Packet analysis {"connection_id":143518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:27:06] local.INFO: Extracted packet for processing {"connection_id":143518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":767118528,"raw_latitude":99041296,"longitude_deg":76.7118528,"latitude_deg":9.9041296,"altitude":34,"angle":72,"satellites":41,"speed":16,"hex_longitude":"2db94cc0","hex_latitude":"05e74010","is_valid_coordinates":true} 
[2026-07-25 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953134592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5096737746689523712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784973187000,"timestamp_ms":1784973187000,"timestamp_seconds":1784973187,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b157b8"} 
[2026-07-25 15:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953134592001,"66":27245,"23":206,"92":41728,"24":16,"16":357867756118343680,"45":-5096737746689523712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953134592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:27:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:27:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5096737746689523712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953134592001,"power":27245,"unknown_23":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5096737746689523712}} 
[2026-07-25 15:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":143518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:27:06] local.INFO: GPS data processed {"connection_id":143518,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:27:06] local.INFO: Acknowledgment sent {"connection_id":143518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:27:10] local.INFO: TCP Data received {"connection_id":143518,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:27:10] local.INFO: Processing buffer {"connection_id":143518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:27:10] local.INFO: Packet analysis {"connection_id":143518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:27:10] local.INFO: Extracted packet for processing {"connection_id":143518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":767118528,"raw_latitude":99041296,"longitude_deg":76.7118528,"latitude_deg":9.9041296,"altitude":34,"angle":72,"satellites":41,"speed":16,"hex_longitude":"2db94cc0","hex_latitude":"05e74010","is_valid_coordinates":true} 
[2026-07-25 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953134592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5096737746689523712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784973187000,"timestamp_ms":1784973187000,"timestamp_seconds":1784973187,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b157b8"} 
[2026-07-25 15:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953134592001,"66":27245,"23":206,"92":41728,"24":16,"16":357867756118343680,"45":-5096737746689523712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953134592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:27:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:27:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5096737746689523712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953134592001,"power":27245,"unknown_23":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5096737746689523712}} 
[2026-07-25 15:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":143518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:27:11] local.INFO: GPS data processed {"connection_id":143518,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:27:11] local.INFO: Acknowledgment sent {"connection_id":143518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:27:32] local.INFO: TCP Data received {"connection_id":143517,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b33830012d1aedc007245e28002d00d02d..."} 
[2026-07-25 15:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b33830012d1aedc007245e28002d00d02d..."} 
[2026-07-25 15:27:32] local.INFO: Processing buffer {"connection_id":143517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b33830012d1aedc007245e28002d00d02d..."} 
[2026-07-25 15:27:32] local.INFO: Packet analysis {"connection_id":143517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:27:32] local.INFO: Extracted packet for processing {"connection_id":143517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756739520,"raw_latitude":119823912,"longitude_deg":75.673952,"latitude_deg":11.9823912,"altitude":45,"angle":208,"satellites":45,"speed":23,"hex_longitude":"2d1aedc0","hex_latitude":"07245e28","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953164288001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797012145209344,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1944781013514272768,"note":"Value kept but may cause issues"} 
[2026-07-25 15:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973310000,"timestamp_ms":1784973310000,"timestamp_seconds":1784973310,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b33830"} 
[2026-07-25 15:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 15:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:27:32] 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-07-25 15:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953164288001,"66":13678,"137":206,"83":42752,"24":23,"16":8797012145209344,"45":1944781013514272768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953164288001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:27:32] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797012145209344,"km_value":8797012145209.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1944781013514272768,"description":"Unknown IO ID 45"} 
[2026-07-25 15:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953164288001,"power":13678,"unknown_137":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1944781013514272768}} 
[2026-07-25 15:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":143517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:27:32] local.INFO: GPS data processed {"connection_id":143517,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:27:32] local.INFO: Acknowledgment sent {"connection_id":143517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:27:55] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:55] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:27:55] local.INFO: IMEI packet received {"connection_id":141109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":141109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:28:00] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:00] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:00] local.INFO: IMEI packet received {"connection_id":141169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:28:00] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:28:00] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:28:00] local.INFO: IMEI packet received {"connection_id":141109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:28:01] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:28:01] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:28:01] local.INFO: Packet analysis {"connection_id":141109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:28:01] local.INFO: Extracted packet for processing {"connection_id":141109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:28:01] local.INFO: GPS Element Parsed {"raw_longitude":767118528,"raw_latitude":99041296,"longitude_deg":76.7118528,"latitude_deg":9.9041296,"altitude":34,"angle":72,"satellites":41,"speed":16,"hex_longitude":"2db94cc0","hex_latitude":"05e74010","is_valid_coordinates":true} 
[2026-07-25 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953134592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5096737746689523712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973187000,"timestamp_ms":1784973187000,"timestamp_seconds":1784973187,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b157b8"} 
[2026-07-25 15:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953134592001,"66":27245,"23":206,"92":41728,"24":16,"16":357867756118343680,"45":-5096737746689523712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953134592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:28:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:28:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5096737746689523712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953134592001,"power":27245,"unknown_23":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5096737746689523712}} 
[2026-07-25 15:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":141109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:28:01] local.INFO: GPS data processed {"connection_id":141109,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:28:01] local.INFO: Acknowledgment sent {"connection_id":141109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:28:04] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:04] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:04] local.INFO: IMEI packet received {"connection_id":141169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":141169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:28:05] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b35388012d1ae700072451b0003000c42a..."} 
[2026-07-25 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b35388012d1ae700072451b0003000c42a..."} 
[2026-07-25 15:28:05] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b35388012d1ae700072451b0003000c42a..."} 
[2026-07-25 15:28:05] local.INFO: Packet analysis {"connection_id":141169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:28:05] local.INFO: Extracted packet for processing {"connection_id":141169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":756737792,"raw_latitude":119820720,"longitude_deg":75.6737792,"latitude_deg":11.982072,"altitude":48,"angle":196,"satellites":42,"speed":17,"hex_longitude":"2d1ae700","hex_latitude":"072451b0","is_valid_coordinates":true} 
[2026-07-25 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953167360001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797188238868480,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1940418151374006272,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784973317000,"timestamp_ms":1784973317000,"timestamp_seconds":1784973317,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b35388"} 
[2026-07-25 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-25 15:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:28:05] 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-07-25 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953167360001,"66":13276,"137":206,"83":42752,"24":17,"16":8797188238868480,"45":1940418151374006272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953167360001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:28:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:28:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797188238868480,"km_value":8797188238868.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1940418151374006272,"description":"Unknown IO ID 45"} 
[2026-07-25 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953167360001,"power":13276,"unknown_137":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1940418151374006272}} 
[2026-07-25 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":141169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:28:05] local.INFO: GPS data processed {"connection_id":141169,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:28:05] local.INFO: Acknowledgment sent {"connection_id":141169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:28:09] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:28:09] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:28:09] local.INFO: IMEI packet received {"connection_id":143519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":143519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:28:09] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:28:09] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:28:09] local.INFO: Packet analysis {"connection_id":141169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:28:09] local.INFO: Extracted packet for processing {"connection_id":141169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119819736,"longitude_deg":75.6737472,"latitude_deg":11.9819736,"altitude":50,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d1ae5c0","hex_latitude":"07244dd8","is_valid_coordinates":true} 
[2026-07-25 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953169152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938518195280392192,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784973322000,"timestamp_ms":1784973322000,"timestamp_seconds":1784973322,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b36710"} 
[2026-07-25 15:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 15:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:28:09] 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-07-25 15:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953169152001,"66":13330,"137":206,"83":42752,"24":0,"16":8797239778476032,"45":1938518195280392192},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953169152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:28:09] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938518195280392192,"description":"Unknown IO ID 45"} 
[2026-07-25 15:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953169152001,"power":13330,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938518195280392192}} 
[2026-07-25 15:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":141169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:28:09] local.INFO: GPS data processed {"connection_id":141169,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:28:09] local.INFO: Acknowledgment sent {"connection_id":141169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:28:14] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:28:14] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:28:14] local.INFO: IMEI packet received {"connection_id":143519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":143519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:28:15] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5d040012d7bf98005db98600008015b27..."} 
[2026-07-25 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5d040012d7bf98005db98600008015b27..."} 
[2026-07-25 15:28:15] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5d040012d7bf98005db98600008015b27..."} 
[2026-07-25 15:28:15] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:28:15] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763099520,"raw_latitude":98277472,"longitude_deg":76.309952,"latitude_deg":9.8277472,"altitude":8,"angle":347,"satellites":39,"speed":19,"hex_longitude":"2d7bf980","hex_latitude":"05db9860","is_valid_coordinates":true} 
[2026-07-25 15:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953206016001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110268376177180672,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935423160836501504,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784973480000,"timestamp_ms":1784973480000,"timestamp_seconds":1784973480,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5d040"} 
[2026-07-25 15:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953206016001,"66":13254,"185":206,"85":15104,"24":19,"16":110268376177180672,"45":8935423160836501504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953206016001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:28:15] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110268376177180672,"km_value":110268376177180.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935423160836501504,"description":"Unknown IO ID 45"} 
[2026-07-25 15:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953206016001,"power":13254,"unknown_185":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8935423160836501504}} 
[2026-07-25 15:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:28:15] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:28:15] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:28:32] local.INFO: TCP Data received {"connection_id":141109,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:28:32] local.INFO: Processing buffer {"connection_id":141109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b157b8012db94cc005e740100022004829..."} 
[2026-07-25 15:28:32] local.INFO: Packet analysis {"connection_id":141109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:28:32] local.INFO: Extracted packet for processing {"connection_id":141109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b1"} 
[2026-07-25 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":767118528,"raw_latitude":99041296,"longitude_deg":76.7118528,"latitude_deg":9.9041296,"altitude":34,"angle":72,"satellites":41,"speed":16,"hex_longitude":"2db94cc0","hex_latitude":"05e74010","is_valid_coordinates":true} 
[2026-07-25 15:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953134592001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5096737746689523712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973187000,"timestamp_ms":1784973187000,"timestamp_seconds":1784973187,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b157b8"} 
[2026-07-25 15:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 15:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953134592001,"66":27245,"23":206,"92":41728,"24":16,"16":357867756118343680,"45":-5096737746689523712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953134592001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5096737746689523712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953134592001,"power":27245,"unknown_23":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5096737746689523712}} 
[2026-07-25 15:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":141109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:28:32] local.INFO: GPS data processed {"connection_id":141109,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:28:32] local.INFO: Acknowledgment sent {"connection_id":141109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:28:46] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b61e60012d7bf44005dbae98000a016427..."} 
[2026-07-25 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b61e60012d7bf44005dbae98000a016427..."} 
[2026-07-25 15:28:46] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b61e60012d7bf44005dbae98000a016427..."} 
[2026-07-25 15:28:46] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b6"} 
[2026-07-25 15:28:46] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b6"} 
[2026-07-25 15:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763098176,"raw_latitude":98283160,"longitude_deg":76.3098176,"latitude_deg":9.828316,"altitude":10,"angle":356,"satellites":39,"speed":0,"hex_longitude":"2d7bf440","hex_latitude":"05dbae98","is_valid_coordinates":true} 
[2026-07-25 15:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953210880001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110268659645022208,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933312098513477632,"note":"Value kept but may cause issues"} 
[2026-07-25 15:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784973500000,"timestamp_ms":1784973500000,"timestamp_seconds":1784973500,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b61e60"} 
[2026-07-25 15:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953210880001,"66":13059,"185":206,"85":15104,"24":0,"16":110268659645022208,"45":8933312098513477632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953210880001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:28:46] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110268659645022208,"km_value":110268659645022.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933312098513477632,"description":"Unknown IO ID 45"} 
[2026-07-25 15:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953210880001,"power":13059,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8933312098513477632}} 
[2026-07-25 15:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:28:46] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:28:46] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:28:54] local.INFO: TCP Data received {"connection_id":143521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:54] local.INFO: Processing buffer {"connection_id":143521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:54] local.INFO: IMEI packet received {"connection_id":143521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":143521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:28:55] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:28:55] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:28:55] local.INFO: IMEI packet received {"connection_id":143522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":143522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:28:59] local.INFO: TCP Data received {"connection_id":143521,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:59] local.INFO: Processing buffer {"connection_id":143521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:28:59] local.INFO: IMEI packet received {"connection_id":143521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":143521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:29:00] local.INFO: TCP Data received {"connection_id":143521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:29:00] local.INFO: Processing buffer {"connection_id":143521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:29:00] local.INFO: Packet analysis {"connection_id":143521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:29:00] local.INFO: Extracted packet for processing {"connection_id":143521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119819736,"longitude_deg":75.6737472,"latitude_deg":11.9819736,"altitude":50,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d1ae5c0","hex_latitude":"07244dd8","is_valid_coordinates":true} 
[2026-07-25 15:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973322000,"timestamp_ms":1784973322000,"timestamp_seconds":1784973322,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b36710"} 
[2026-07-25 15:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:29:00] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561849160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250217944476847632,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3001427969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-8975673894125688576,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2147951743,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":198,"raw_value":3892391195,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-6365836780049186809,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:00] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,137,83,24,241,157,16,65,159,45,81,48,42,10,66,64,56,192,94,9,1,240,185,227,152,36,4,113,205,11,198,8,44,239,54,176,2,31,7,38,6,27,178,106,60],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-07-25 15:29:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768815,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":13330,"137":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":13330,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":143521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:29:00] local.INFO: GPS data processed {"connection_id":143521,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:29:00] local.INFO: Acknowledgment sent {"connection_id":143521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:29:00] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:29:00] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:29:00] local.INFO: IMEI packet received {"connection_id":143522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:29:01] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:29:01] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:29:01] local.INFO: Packet analysis {"connection_id":143522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:29:01] local.INFO: Extracted packet for processing {"connection_id":143522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:29:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:29:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":143522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:29:01] local.INFO: GPS data processed {"connection_id":143522,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:29:01] local.INFO: Acknowledgment sent {"connection_id":143522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:29:17] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b67068012d7bf48005dbada80011016429..."} 
[2026-07-25 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b67068012d7bf48005dbada80011016429..."} 
[2026-07-25 15:29:17] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b67068012d7bf48005dbada80011016429..."} 
[2026-07-25 15:29:17] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b6"} 
[2026-07-25 15:29:17] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b6"} 
[2026-07-25 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":763098240,"raw_latitude":98282920,"longitude_deg":76.309824,"latitude_deg":9.828292,"altitude":17,"angle":356,"satellites":41,"speed":0,"hex_longitude":"2d7bf480","hex_latitude":"05dbada8","is_valid_coordinates":true} 
[2026-07-25 15:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953216000001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110268685414825984,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931834354887202816,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784973521000,"timestamp_ms":1784973521000,"timestamp_seconds":1784973521,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b67068"} 
[2026-07-25 15:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":57983845203968000,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2562010160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3039571969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3222863872,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:17] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,185,85,24,241,157,16,192,159,208,45,128,152,8,39,10,66,134,117,7,34,44,1,240,106,4,113,205,239,2,50,135],"length":486,"final_offset":616,"validated_count":32,"validation_warnings":[]} 
[2026-07-25 15:29:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720967534022492160,"timestamp_seconds":720967534022492.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953216000001,"66":13243,"185":206,"85":15104,"24":0,"16":110268685414825984,"45":8931834354887202816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953216000001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110268685414825984,"km_value":110268685414825.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931834354887202816,"description":"Unknown IO ID 45"} 
[2026-07-25 15:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953216000001,"power":13243,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8931834354887202816}} 
[2026-07-25 15:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:29:17] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:29:17] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:29:31] local.INFO: TCP Data received {"connection_id":143521,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:29:31] local.INFO: Processing buffer {"connection_id":143521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:29:31] local.INFO: Packet analysis {"connection_id":143521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:29:31] local.INFO: Extracted packet for processing {"connection_id":143521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119819736,"longitude_deg":75.6737472,"latitude_deg":11.9819736,"altitude":50,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d1ae5c0","hex_latitude":"07244dd8","is_valid_coordinates":true} 
[2026-07-25 15:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973322000,"timestamp_ms":1784973322000,"timestamp_seconds":1784973322,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b36710"} 
[2026-07-25 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-07-25 15:29:31] 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-07-25 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561853160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726846320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3003731969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-9090515684624749824,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5239936873206562809,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:31] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,81,48,42,64,56,1,240,110,227,152,36,4,113,205,17,230,6,239,176,2,31,7,39,8,169,178,106,60],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:29:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768607,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 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-07-25 15:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:29:31] 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-07-25 15:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":13330,"137":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":13330,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":143521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:29:31] local.INFO: GPS data processed {"connection_id":143521,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:29:31] local.INFO: Acknowledgment sent {"connection_id":143521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:29:32] local.INFO: TCP Data received {"connection_id":143522,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:29:32] local.INFO: Processing buffer {"connection_id":143522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:29:32] local.INFO: Packet analysis {"connection_id":143522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:29:32] local.INFO: Extracted packet for processing {"connection_id":143522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:29:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:29:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":143522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:29:32] local.INFO: GPS data processed {"connection_id":143522,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:29:32] local.INFO: Acknowledgment sent {"connection_id":143522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:29:48] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b6c270012d7bf34005dbb2c00011015d2a..."} 
[2026-07-25 15:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b6c270012d7bf34005dbb2c00011015d2a..."} 
[2026-07-25 15:29:48] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b6c270012d7bf34005dbb2c00011015d2a..."} 
[2026-07-25 15:29:48] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b6"} 
[2026-07-25 15:29:48] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b6"} 
[2026-07-25 15:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763097920,"raw_latitude":98284224,"longitude_deg":76.309792,"latitude_deg":9.8284224,"altitude":17,"angle":349,"satellites":42,"speed":10,"hex_longitude":"2d7bf340","hex_latitude":"05dbb2c0","is_valid_coordinates":true} 
[2026-07-25 15:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953221376001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110268758429270016,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931904723631319040,"note":"Value kept but may cause issues"} 
[2026-07-25 15:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784973542000,"timestamp_ms":1784973542000,"timestamp_seconds":1784973542,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b6c270"} 
[2026-07-25 15:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 15:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953221376001,"66":13102,"185":206,"85":15104,"24":10,"16":110268758429270016,"45":8931904723631319040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953221376001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:29:48] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:29:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110268758429270016,"km_value":110268758429270.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931904723631319040,"description":"Unknown IO ID 45"} 
[2026-07-25 15:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953221376001,"power":13102,"unknown_185":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8931904723631319040}} 
[2026-07-25 15:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:29:48] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:29:48] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:29:54] local.INFO: TCP Data received {"connection_id":142148,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:29:54] local.INFO: Processing buffer {"connection_id":142148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:29:54] local.INFO: IMEI packet received {"connection_id":142148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":142148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:29:55] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:29:55] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:29:55] local.INFO: IMEI packet received {"connection_id":141110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:29:59] local.INFO: TCP Data received {"connection_id":142148,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:29:59] local.INFO: Processing buffer {"connection_id":142148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:29:59] local.INFO: IMEI packet received {"connection_id":142148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":142148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:30:00] local.INFO: TCP Data received {"connection_id":142148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:30:00] local.INFO: Processing buffer {"connection_id":142148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:30:00] local.INFO: Packet analysis {"connection_id":142148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:30:00] local.INFO: Extracted packet for processing {"connection_id":142148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119819736,"longitude_deg":75.6737472,"latitude_deg":11.9819736,"altitude":50,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d1ae5c0","hex_latitude":"07244dd8","is_valid_coordinates":true} 
[2026-07-25 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973322000,"timestamp_ms":1784973322000,"timestamp_seconds":1784973322,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b36710"} 
[2026-07-25 15:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:30:00] 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-07-25 15:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561853160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726846320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3003731969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-9090515684624749824,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5239936873206562809,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:00] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,81,48,42,64,56,1,240,110,227,152,36,4,113,205,17,230,6,239,176,2,31,7,39,8,169,178,106,60],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:30:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768607,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":13330,"137":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":13330,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":142148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:30:00] local.INFO: GPS data processed {"connection_id":142148,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:30:00] local.INFO: Acknowledgment sent {"connection_id":142148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:30:00] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:30:00] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:30:00] local.INFO: IMEI packet received {"connection_id":141110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":141110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:30:01] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:30:01] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:30:01] local.INFO: Packet analysis {"connection_id":141110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:30:01] local.INFO: Extracted packet for processing {"connection_id":141110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:30:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":141110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:30:01] local.INFO: GPS data processed {"connection_id":141110,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:30:01] local.INFO: Acknowledgment sent {"connection_id":141110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:30:20] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b71478012d7bec8005dbd508000e015d28..."} 
[2026-07-25 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b71478012d7bec8005dbd508000e015d28..."} 
[2026-07-25 15:30:20] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b71478012d7bec8005dbd508000e015d28..."} 
[2026-07-25 15:30:20] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:30:20] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98293000,"longitude_deg":76.3096192,"latitude_deg":9.8293,"altitude":14,"angle":349,"satellites":40,"speed":21,"hex_longitude":"2d7bec80","hex_latitude":"05dbd508","is_valid_coordinates":true} 
[2026-07-25 15:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953226752001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110269196515934208,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931552879910764544,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784973563000,"timestamp_ms":1784973563000,"timestamp_seconds":1784973563,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b71478"} 
[2026-07-25 15:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 15:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953226752001,"66":13254,"185":206,"85":15104,"24":21,"16":110269196515934208,"45":8931552879910764544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953226752001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:30:20] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110269196515934208,"km_value":110269196515934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931552879910764544,"description":"Unknown IO ID 45"} 
[2026-07-25 15:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953226752001,"power":13254,"unknown_185":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8931552879910764544}} 
[2026-07-25 15:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:30:20] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:30:20] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:30:31] local.INFO: TCP Data received {"connection_id":142148,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:30:31] local.INFO: Processing buffer {"connection_id":142148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:30:31] local.INFO: Packet analysis {"connection_id":142148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:30:31] local.INFO: Extracted packet for processing {"connection_id":142148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119819736,"longitude_deg":75.6737472,"latitude_deg":11.9819736,"altitude":50,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d1ae5c0","hex_latitude":"07244dd8","is_valid_coordinates":true} 
[2026-07-25 15:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973322000,"timestamp_ms":1784973322000,"timestamp_seconds":1784973322,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b36710"} 
[2026-07-25 15:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:30:31] 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-07-25 15:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561853160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726846320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3003731969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-9090515684624749824,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5239936873206562809,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:31] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,81,48,42,64,56,1,240,110,227,152,36,4,113,205,17,230,6,239,176,2,31,7,39,8,169,178,106,60],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:30:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768607,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:30:31] 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-07-25 15:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":13330,"137":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":13330,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":142148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:30:31] local.INFO: GPS data processed {"connection_id":142148,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:30:31] local.INFO: Acknowledgment sent {"connection_id":142148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:30:32] local.INFO: TCP Data received {"connection_id":141110,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:30:32] local.INFO: Processing buffer {"connection_id":141110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:30:32] local.INFO: Packet analysis {"connection_id":141110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:30:32] local.INFO: Extracted packet for processing {"connection_id":141110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:30:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:30:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":141110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:30:32] local.INFO: GPS data processed {"connection_id":141110,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:30:32] local.INFO: Acknowledgment sent {"connection_id":141110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:30:50] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b71478012d7bec8005dbd508000e015d28..."} 
[2026-07-25 15:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b71478012d7bec8005dbd508000e015d28..."} 
[2026-07-25 15:30:50] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b71478012d7bec8005dbd508000e015d28..."} 
[2026-07-25 15:30:50] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:30:50] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":98293000,"longitude_deg":76.3096192,"latitude_deg":9.8293,"altitude":14,"angle":349,"satellites":40,"speed":21,"hex_longitude":"2d7bec80","hex_latitude":"05dbd508","is_valid_coordinates":true} 
[2026-07-25 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953232128001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110269196515934208,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923820214272,"note":"Value kept but may cause issues"} 
[2026-07-25 15:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784973563000,"timestamp_ms":1784973563000,"timestamp_seconds":1784973563,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b71478"} 
[2026-07-25 15:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953232128001,"66":13254,"185":206,"85":15104,"24":21,"16":110269196515934208,"45":8929652923820214272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953232128001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110269196515934208,"km_value":110269196515934.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923820214272,"description":"Unknown IO ID 45"} 
[2026-07-25 15:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953232128001,"power":13254,"unknown_185":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8929652923820214272}} 
[2026-07-25 15:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:30:50] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:30:50] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:30:54] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:30:54] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:30:54] local.INFO: IMEI packet received {"connection_id":141170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":141170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:30:59] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:30:59] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:30:59] local.INFO: IMEI packet received {"connection_id":141170,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":141170,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:31:00] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:31:00] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b36710012d1ae5c007244dd8003200ca2c..."} 
[2026-07-25 15:31:00] local.INFO: Packet analysis {"connection_id":141170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:31:00] local.INFO: Extracted packet for processing {"connection_id":141170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b3"} 
[2026-07-25 15:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756737472,"raw_latitude":119819736,"longitude_deg":75.6737472,"latitude_deg":11.9819736,"altitude":50,"angle":202,"satellites":44,"speed":0,"hex_longitude":"2d1ae5c0","hex_latitude":"07244dd8","is_valid_coordinates":true} 
[2026-07-25 15:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973322000,"timestamp_ms":1784973322000,"timestamp_seconds":1784973322,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b36710"} 
[2026-07-25 15:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:31:00] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561853160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726846320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3003731969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-9090515684624749824,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-5239936873206562809,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:00] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,81,48,42,64,56,1,240,110,227,152,36,4,113,205,17,230,6,239,176,2,31,7,39,8,169,178,106,60],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:31:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768607,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":13330,"137":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 15:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":13330,"unknown_137":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":141170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:31:00] local.INFO: GPS data processed {"connection_id":141170,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:31:00] local.INFO: Acknowledgment sent {"connection_id":141170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:31:00] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:00] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:00] local.INFO: IMEI packet received {"connection_id":143523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":143523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:31:05] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:05] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:05] local.INFO: IMEI packet received {"connection_id":143523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":143523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:31:06] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:31:06] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:31:06] local.INFO: Packet analysis {"connection_id":143523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:31:06] local.INFO: Extracted packet for processing {"connection_id":143523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:31:06] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:31:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":143523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:31:06] local.INFO: GPS data processed {"connection_id":143523,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:31:06] local.INFO: Acknowledgment sent {"connection_id":143523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:31:11] local.INFO: TCP Data received {"connection_id":143523,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:31:11] local.INFO: Processing buffer {"connection_id":143523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:31:11] local.INFO: Packet analysis {"connection_id":143523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:31:11] local.INFO: Extracted packet for processing {"connection_id":143523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:31:11] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:31:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":143523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:31:11] local.INFO: GPS data processed {"connection_id":143523,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:31:11] local.INFO: Acknowledgment sent {"connection_id":143523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:31:21] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b756e0012d7be74005dbf798000b016227..."} 
[2026-07-25 15:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b756e0012d7be74005dbf798000b016227..."} 
[2026-07-25 15:31:21] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b756e0012d7be74005dbf798000b016227..."} 
[2026-07-25 15:31:21] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:31:21] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":763094848,"raw_latitude":98301848,"longitude_deg":76.3094848,"latitude_deg":9.8301848,"altitude":11,"angle":354,"satellites":39,"speed":20,"hex_longitude":"2d7be740","hex_latitude":"05dbf798","is_valid_coordinates":true} 
[2026-07-25 15:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953232128001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110269630307631104,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929652923820214272,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784973580000,"timestamp_ms":1784973580000,"timestamp_seconds":1784973580,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b756e0"} 
[2026-07-25 15:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953232128001,"66":13363,"185":206,"85":15104,"24":20,"16":110269630307631104,"45":8929652923820214272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 15:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953232128001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:31:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 15:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110269630307631104,"km_value":110269630307631.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929652923820214272,"description":"Unknown IO ID 45"} 
[2026-07-25 15:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953232128001,"power":13363,"unknown_185":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8929652923820214272}} 
[2026-07-25 15:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:31:22] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:31:22] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:31:31] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:31:31] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:31:31] local.INFO: Packet analysis {"connection_id":141170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:31:31] local.INFO: Extracted packet for processing {"connection_id":141170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:31:31] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:31:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141170,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:31:31] 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-07-25 15:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":141170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:31:31] local.INFO: GPS data processed {"connection_id":141170,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:31:31] local.INFO: Acknowledgment sent {"connection_id":141170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:31:53] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b79948012d7be54005dc1ac80009000127..."} 
[2026-07-25 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b79948012d7be54005dc1ac80009000127..."} 
[2026-07-25 15:31:53] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b79948012d7be54005dc1ac80009000127..."} 
[2026-07-25 15:31:53] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:31:53] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:31:53] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":98310856,"longitude_deg":76.3094336,"latitude_deg":9.8310856,"altitude":9,"angle":1,"satellites":39,"speed":21,"hex_longitude":"2d7be540","hex_latitude":"05dc1ac8","is_valid_coordinates":true} 
[2026-07-25 15:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953236480001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110270068394295296,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928175180194748416,"note":"Value kept but may cause issues"} 
[2026-07-25 15:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784973597000,"timestamp_ms":1784973597000,"timestamp_seconds":1784973597,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b79948"} 
[2026-07-25 15:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:31:53] 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-07-25 15:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-25 15:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953236480001,"66":13276,"168":206,"85":15104,"24":21,"16":110270068394295296,"45":8928175180194748416},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 15:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953236480001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:31:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 15:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110270068394295296,"km_value":110270068394295.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928175180194748416,"description":"Unknown IO ID 45"} 
[2026-07-25 15:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953236480001,"power":13276,"unknown_168":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8928175180194748416}} 
[2026-07-25 15:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:31:53] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:31:53] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:31:54] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:31:54] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:31:54] local.INFO: IMEI packet received {"connection_id":141111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":141111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:31:55] local.INFO: TCP Data received {"connection_id":142149,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:55] local.INFO: Processing buffer {"connection_id":142149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:31:55] local.INFO: IMEI packet received {"connection_id":142149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":142149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:31:59] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:31:59] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:31:59] local.INFO: IMEI packet received {"connection_id":141111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":141111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:32:00] local.INFO: TCP Data received {"connection_id":142149,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:32:00] local.INFO: Processing buffer {"connection_id":142149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:32:00] local.INFO: IMEI packet received {"connection_id":142149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":142149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:32:00] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:32:00] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:32:00] local.INFO: Packet analysis {"connection_id":141111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:32:00] local.INFO: Extracted packet for processing {"connection_id":141111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:32:00] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:32:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":141111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:32:00] local.INFO: GPS data processed {"connection_id":141111,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:32:00] local.INFO: Acknowledgment sent {"connection_id":141111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:32:01] local.INFO: TCP Data received {"connection_id":142149,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:32:01] local.INFO: Processing buffer {"connection_id":142149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:32:01] local.INFO: Packet analysis {"connection_id":142149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:32:01] local.INFO: Extracted packet for processing {"connection_id":142149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:32:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:32:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:32:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":142149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:32:01] local.INFO: GPS data processed {"connection_id":142149,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:32:01] local.INFO: Acknowledgment sent {"connection_id":142149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:32:10] local.INFO: TCP Data received {"connection_id":143520,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:32:10] local.INFO: Processing buffer {"connection_id":143520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:32:10] local.INFO: IMEI packet received {"connection_id":143520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":143520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:32:24] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b7d7c8012d7be38005dc3ec80004016527..."} 
[2026-07-25 15:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b7d7c8012d7be38005dc3ec80004016527..."} 
[2026-07-25 15:32:24] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b7d7c8012d7be38005dc3ec80004016527..."} 
[2026-07-25 15:32:24] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:32:24] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b7"} 
[2026-07-25 15:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763093888,"raw_latitude":98320072,"longitude_deg":76.3093888,"latitude_deg":9.8320072,"altitude":4,"angle":357,"satellites":39,"speed":25,"hex_longitude":"2d7be380","hex_latitude":"05dc3ec8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953240832001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110270515070894080,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230243633152,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784973613000,"timestamp_ms":1784973613000,"timestamp_seconds":1784973613,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b7d7c8"} 
[2026-07-25 15:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 15:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953240832001,"66":13319,"168":206,"85":15104,"24":25,"16":110270515070894080,"45":8927612230243633152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 15:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953240832001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:32:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 15:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110270515070894080,"km_value":110270515070894.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230243633152,"description":"Unknown IO ID 45"} 
[2026-07-25 15:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953240832001,"power":13319,"unknown_168":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8927612230243633152}} 
[2026-07-25 15:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:32:24] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:32:24] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:32:32] local.INFO: TCP Data received {"connection_id":142149,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:32:32] local.INFO: Processing buffer {"connection_id":142149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:32:32] local.INFO: Packet analysis {"connection_id":142149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:32:32] local.INFO: Extracted packet for processing {"connection_id":142149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:32:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:32:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:32:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":142149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:32:32] local.INFO: GPS data processed {"connection_id":142149,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:32:32] local.INFO: Acknowledgment sent {"connection_id":142149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:32:34] local.INFO: TCP Data received {"connection_id":141111,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:32:34] local.INFO: Processing buffer {"connection_id":141111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:32:34] local.INFO: Packet analysis {"connection_id":141111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:32:34] local.INFO: Extracted packet for processing {"connection_id":141111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32: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-07-25 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:32:34] 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-07-25 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:32:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:32:34] 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-07-25 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:32:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":141111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:32:34] local.INFO: GPS data processed {"connection_id":141111,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:32:34] local.INFO: Acknowledgment sent {"connection_id":141111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:32:54] local.INFO: TCP Data received {"connection_id":143524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:32:54] local.INFO: Processing buffer {"connection_id":143524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:32:54] local.INFO: IMEI packet received {"connection_id":143524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":143524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:32:56] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:32:56] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:32:56] local.INFO: IMEI packet received {"connection_id":143525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":143525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:32:56] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80a90012d7be24005dc62600003016526..."} 
[2026-07-25 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80a90012d7be24005dc62600003016526..."} 
[2026-07-25 15:32:56] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80a90012d7be24005dc62600003016526..."} 
[2026-07-25 15:32:56] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:32:56] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763093568,"raw_latitude":98329184,"longitude_deg":76.3093568,"latitude_deg":9.8329184,"altitude":3,"angle":357,"satellites":38,"speed":28,"hex_longitude":"2d7be240","hex_latitude":"05dc6260","is_valid_coordinates":true} 
[2026-07-25 15:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953244928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110270957452525568,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119649036748800,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784973626000,"timestamp_ms":1784973626000,"timestamp_seconds":1784973626,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80a90"} 
[2026-07-25 15:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2562093160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":38912,"corrected_to":0} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3071571969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-5865938471677057280,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3235512320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3685591040,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885683738367291,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2188750713766821893,"note":"Value kept but may cause issues"} 
[2026-07-25 15:32:56] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,168,85,24,241,157,16,194,159,153,45,64,26,9,39,10,66,86,247,11,185,193,20,128,1,240,198,227,152,219,4,113,205,21,243,192,42,239,51,2,135,5,17,187,182],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":247,"original":38912,"validated":0},{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-07-25 15:32:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288623069308190720,"timestamp_seconds":288623069308190.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953244928001,"66":13298,"168":206,"85":15104,"24":28,"16":110270957452525568,"45":8927119649036748800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 15:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953244928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:32:56] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 15:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110270957452525568,"km_value":110270957452525.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119649036748800,"description":"Unknown IO ID 45"} 
[2026-07-25 15:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953244928001,"power":13298,"unknown_168":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8927119649036748800}} 
[2026-07-25 15:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:32:56] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:32:56] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:32:59] local.INFO: TCP Data received {"connection_id":143524,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:32:59] local.INFO: Processing buffer {"connection_id":143524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:32:59] local.INFO: IMEI packet received {"connection_id":143524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":143524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:33:00] local.INFO: TCP Data received {"connection_id":143524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:33:00] local.INFO: Processing buffer {"connection_id":143524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:33:00] local.INFO: Packet analysis {"connection_id":143524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:00] local.INFO: Extracted packet for processing {"connection_id":143524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:33:00] 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-07-25 15:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:33:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:33:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":143524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:33:00] local.INFO: GPS data processed {"connection_id":143524,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:33:00] local.INFO: Acknowledgment sent {"connection_id":143524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:33:00] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:33:00] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:33:00] local.INFO: IMEI packet received {"connection_id":143525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":143525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:33:01] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:33:01] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:33:01] local.INFO: Packet analysis {"connection_id":143525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:33:01] local.INFO: Extracted packet for processing {"connection_id":143525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:33:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:33:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:33:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":143525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:33:01] local.INFO: GPS data processed {"connection_id":143525,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:33:01] local.INFO: Acknowledgment sent {"connection_id":143525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:33:27] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b83d58012d7be10005dc87100002016623..."} 
[2026-07-25 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b83d58012d7be10005dc87100002016623..."} 
[2026-07-25 15:33:27] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b83d58012d7be10005dc87100002016623..."} 
[2026-07-25 15:33:27] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:27] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":98338576,"longitude_deg":76.3093248,"latitude_deg":9.8338576,"altitude":2,"angle":358,"satellites":35,"speed":27,"hex_longitude":"2d7be100","hex_latitude":"05dc8710","is_valid_coordinates":true} 
[2026-07-25 15:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248256001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110271412719058944,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926767805318193152,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784973639000,"timestamp_ms":1784973639000,"timestamp_seconds":1784973639,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b83d58"} 
[2026-07-25 15:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-25 15:33: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-07-25 15:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248256001,"66":13341,"168":206,"85":15104,"24":27,"16":110271412719058944,"45":8926767805318193152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 15:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248256001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:33:27] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 15:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110271412719058944,"km_value":110271412719058.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926767805318193152,"description":"Unknown IO ID 45"} 
[2026-07-25 15:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248256001,"power":13341,"unknown_168":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8926767805318193152}} 
[2026-07-25 15:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:33:27] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:33:27] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:33:31] local.INFO: TCP Data received {"connection_id":143524,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:33:31] local.INFO: Processing buffer {"connection_id":143524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:33:31] local.INFO: Packet analysis {"connection_id":143524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:31] local.INFO: Extracted packet for processing {"connection_id":143524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:33:31] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:33:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:33:31] 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-07-25 15:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":143524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:33:31] local.INFO: GPS data processed {"connection_id":143524,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:33:31] local.INFO: Acknowledgment sent {"connection_id":143524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:33:32] local.INFO: TCP Data received {"connection_id":143525,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:33:32] local.INFO: Processing buffer {"connection_id":143525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b5ef80012db9678005e74748001f004127..."} 
[2026-07-25 15:33:32] local.INFO: Packet analysis {"connection_id":143525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:33:32] local.INFO: Extracted packet for processing {"connection_id":143525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b5"} 
[2026-07-25 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":39,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953135872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5094485946875768832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973488000,"timestamp_ms":1784973488000,"timestamp_seconds":1784973488,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b5ef80"} 
[2026-07-25 15:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 15:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953135872001,"66":26310,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5094485946875768832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953135872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:33:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:33:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5094485946875768832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953135872001,"power":26310,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5094485946875768832}} 
[2026-07-25 15:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":143525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:33:32] local.INFO: GPS data processed {"connection_id":143525,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:33:32] local.INFO: Acknowledgment sent {"connection_id":143525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:33:54] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:33:54] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:33:54] local.INFO: IMEI packet received {"connection_id":141172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":141172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:33:55] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:33:55] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:33:55] local.INFO: IMEI packet received {"connection_id":141173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":141173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:33:57] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b87408012d7bdfc005dcab800003016526..."} 
[2026-07-25 15:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b87408012d7bdfc005dcab800003016526..."} 
[2026-07-25 15:33:58] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b87408012d7bdfc005dcab800003016526..."} 
[2026-07-25 15:33:58] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:58] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763092928,"raw_latitude":98347904,"longitude_deg":76.3092928,"latitude_deg":9.8347904,"altitude":3,"angle":357,"satellites":38,"speed":25,"hex_longitude":"2d7bdfc0","hex_latitude":"05dcab80","is_valid_coordinates":true} 
[2026-07-25 15:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953251584001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110271867985592320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926415961599709184,"note":"Value kept but may cause issues"} 
[2026-07-25 15:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784973653000,"timestamp_ms":1784973653000,"timestamp_seconds":1784973653,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b87408"} 
[2026-07-25 15:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":29,"data_length":795,"current_offset":136} 
[2026-07-25 15:33: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-07-25 15:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953251584001,"66":13178,"168":206,"85":15104,"24":25,"16":110271867985592320,"45":8926415961599709184},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 15:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953251584001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:33:58] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 15:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110271867985592320,"km_value":110271867985592.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926415961599709184,"description":"Unknown IO ID 45"} 
[2026-07-25 15:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953251584001,"power":13178,"unknown_168":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8926415961599709184}} 
[2026-07-25 15:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:33:58] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:33:58] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:33:59] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:33:59] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:33:59] local.INFO: IMEI packet received {"connection_id":141172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":141172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:34:00] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:34:00] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:34:00] local.INFO: Packet analysis {"connection_id":141172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:00] local.INFO: Extracted packet for processing {"connection_id":141172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:34:00] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:34:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":141172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:34:00] local.INFO: GPS data processed {"connection_id":141172,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:34:00] local.INFO: Acknowledgment sent {"connection_id":141172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:34:00] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:34:00] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:34:00] local.INFO: IMEI packet received {"connection_id":141173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":141173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:34:00] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:34:00] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:34:00] local.INFO: Packet analysis {"connection_id":141173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:34:00] local.INFO: Extracted packet for processing {"connection_id":141173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":141173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:34:01] local.INFO: GPS data processed {"connection_id":141173,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:34:01] local.INFO: Acknowledgment sent {"connection_id":141173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:34:29] local.INFO: TCP Data received {"connection_id":143519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b8aab8012d7bdf0005dccee80003000026..."} 
[2026-07-25 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b8aab8012d7bdf0005dccee80003000026..."} 
[2026-07-25 15:34:29] local.INFO: Processing buffer {"connection_id":143519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b8aab8012d7bdf0005dccee80003000026..."} 
[2026-07-25 15:34:29] local.INFO: Packet analysis {"connection_id":143519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:29] local.INFO: Extracted packet for processing {"connection_id":143519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763092736,"raw_latitude":98356968,"longitude_deg":76.3092736,"latitude_deg":9.8356968,"altitude":3,"angle":0,"satellites":38,"speed":24,"hex_longitude":"2d7bdf00","hex_latitude":"05dccee8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953255168001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272306072256512,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926064117881208832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784973667000,"timestamp_ms":1784973667000,"timestamp_seconds":1784973667,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b8aab8"} 
[2026-07-25 15:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 15:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953255168001,"66":13059,"168":206,"85":15104,"24":24,"16":110272306072256512,"45":8926064117881208832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 15:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953255168001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:34:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 15:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272306072256512,"km_value":110272306072256.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926064117881208832,"description":"Unknown IO ID 45"} 
[2026-07-25 15:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953255168001,"power":13059,"unknown_168":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8926064117881208832}} 
[2026-07-25 15:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":143519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:34:29] local.INFO: GPS data processed {"connection_id":143519,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:34:29] local.INFO: Acknowledgment sent {"connection_id":143519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:34:31] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:34:31] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:34:31] local.INFO: Packet analysis {"connection_id":141172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:31] local.INFO: Extracted packet for processing {"connection_id":141172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:34:31] 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-07-25 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:34:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:34:31] 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-07-25 15:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":141172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:34:31] local.INFO: GPS data processed {"connection_id":141172,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:34:31] local.INFO: Acknowledgment sent {"connection_id":141172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:34:31] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:34:31] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:34:31] local.INFO: Packet analysis {"connection_id":141173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:34:31] local.INFO: Extracted packet for processing {"connection_id":141173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":141173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:34:31] local.INFO: GPS data processed {"connection_id":141173,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:34:31] local.INFO: Acknowledgment sent {"connection_id":141173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:34:49] local.INFO: TCP Data received {"connection_id":143526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:34:49] local.INFO: Processing buffer {"connection_id":143526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:34:49] local.INFO: IMEI packet received {"connection_id":143526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":143526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:34:54] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:34:54] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:34:54] local.INFO: IMEI packet received {"connection_id":143527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":143527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:34:54] local.INFO: TCP Data received {"connection_id":143526,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143526,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:34:54] local.INFO: Processing buffer {"connection_id":143526,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:34:54] local.INFO: IMEI packet received {"connection_id":143526,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":143526,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:34:55] local.INFO: TCP Data received {"connection_id":143526,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b8f8d8012d7bdc4005dcf1780005016626..."} 
[2026-07-25 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b8f8d8012d7bdc4005dcf1780005016626..."} 
[2026-07-25 15:34:55] local.INFO: Processing buffer {"connection_id":143526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b8f8d8012d7bdc4005dcf1780005016626..."} 
[2026-07-25 15:34:55] local.INFO: Packet analysis {"connection_id":143526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:55] local.INFO: Extracted packet for processing {"connection_id":143526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":763092032,"raw_latitude":98365816,"longitude_deg":76.3092032,"latitude_deg":9.8365816,"altitude":5,"angle":358,"satellites":38,"speed":8,"hex_longitude":"2d7bdc40","hex_latitude":"05dcf178","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953258752001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272739863953408,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925853011650996224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784973687000,"timestamp_ms":1784973687000,"timestamp_seconds":1784973687,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b8f8d8"} 
[2026-07-25 15:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168113135014,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2562152160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3255500800,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3657433088,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3084371969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-07-25 15:34:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":589825,"corrected_to":0} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040174,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3690436608,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.WARNING: Large IO value detected {"io_id":185,"raw_value":58077557095399444,"note":"Value kept but may cause issues"} 
[2026-07-25 15:34:55] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,168,85,24,241,157,16,196,159,116,45,192,171,3,38,10,66,195,61,135,2,35,64,1,240,242,227,194,152,220,4,113,205,25,153,229,200,39,239,51,5,11,20,185],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0},{"io_id":200,"original":589825,"validated":0}]} 
[2026-07-25 15:34:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216172945324113920,"timestamp_seconds":216172945324113.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953258752001,"66":12906,"169":206,"85":15104,"24":8,"16":110272739863953408,"45":8925853011650996224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953258752001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:34:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272739863953408,"km_value":110272739863953.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925853011650996224,"description":"Unknown IO ID 45"} 
[2026-07-25 15:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953258752001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8925853011650996224}} 
[2026-07-25 15:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":143526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:34:55] local.INFO: GPS data processed {"connection_id":143526,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:34:55] local.INFO: Acknowledgment sent {"connection_id":143526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:34:55] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:34:55] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:34:55] local.INFO: IMEI packet received {"connection_id":143528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":143528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:34:59] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:34:59] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:34:59] local.INFO: IMEI packet received {"connection_id":143527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":143527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:35:00] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:35:00] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:35:00] local.INFO: Packet analysis {"connection_id":143527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:35:00] local.INFO: Extracted packet for processing {"connection_id":143527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:35:00] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:35:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":143527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:35:00] local.INFO: GPS data processed {"connection_id":143527,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:35:00] local.INFO: Acknowledgment sent {"connection_id":143527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:35:00] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:35:00] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:35:00] local.INFO: IMEI packet received {"connection_id":143528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:35:01] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:35:01] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:35:01] local.INFO: Packet analysis {"connection_id":143528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:35:01] local.INFO: Extracted packet for processing {"connection_id":143528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:35:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:35:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:35:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":143528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:35:01] local.INFO: GPS data processed {"connection_id":143528,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:35:01] local.INFO: Acknowledgment sent {"connection_id":143528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:35:26] local.INFO: TCP Data received {"connection_id":143526,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:35:26] local.INFO: Processing buffer {"connection_id":143526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:35:26] local.INFO: Packet analysis {"connection_id":143526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b9"} 
[2026-07-25 15:35:26] local.INFO: Extracted packet for processing {"connection_id":143526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b9"} 
[2026-07-25 15:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98366928,"longitude_deg":76.3092096,"latitude_deg":9.8366928,"altitude":8,"angle":1,"satellites":41,"speed":3,"hex_longitude":"2d7bdc80","hex_latitude":"05dcf5d0","is_valid_coordinates":true} 
[2026-07-25 15:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953263872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925078955467307008,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784973704000,"timestamp_ms":1784973704000,"timestamp_seconds":1784973704,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b93b40"} 
[2026-07-25 15:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 15:35: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-07-25 15: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-07-25 15:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143526,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953263872001,"66":12982,"169":206,"85":15104,"24":3,"16":110272795698528256,"45":8925078955467307008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953263872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:35:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925078955467307008,"description":"Unknown IO ID 45"} 
[2026-07-25 15:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953263872001,"power":12982,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8925078955467307008}} 
[2026-07-25 15:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":143526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:35:26] local.INFO: GPS data processed {"connection_id":143526,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:35:26] local.INFO: Acknowledgment sent {"connection_id":143526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:35:31] local.INFO: TCP Data received {"connection_id":143527,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:35:31] local.INFO: Processing buffer {"connection_id":143527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:35:31] local.INFO: Packet analysis {"connection_id":143527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:35:31] local.INFO: Extracted packet for processing {"connection_id":143527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:35:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:35:31] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:35:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:35:31] 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-07-25 15:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":143527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:35:31] local.INFO: GPS data processed {"connection_id":143527,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:35:31] local.INFO: Acknowledgment sent {"connection_id":143527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:35:32] local.INFO: TCP Data received {"connection_id":143528,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:35:32] local.INFO: Processing buffer {"connection_id":143528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:35:32] local.INFO: Packet analysis {"connection_id":143528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:35:32] local.INFO: Extracted packet for processing {"connection_id":143528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:35:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:35:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":143528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:35:32] local.INFO: GPS data processed {"connection_id":143528,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:35:32] local.INFO: Acknowledgment sent {"connection_id":143528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:35:54] local.INFO: TCP Data received {"connection_id":143529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:35:54] local.INFO: Processing buffer {"connection_id":143529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:35:54] local.INFO: IMEI packet received {"connection_id":143529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":143529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:35:54] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:35:54] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:35:54] local.INFO: IMEI packet received {"connection_id":141112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":141112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:35:59] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:35:59] local.INFO: TCP Data received {"connection_id":143529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:35:59] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:35:59] local.INFO: IMEI packet received {"connection_id":141112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":141112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:35:59] local.INFO: Processing buffer {"connection_id":143529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:35:59] local.INFO: IMEI packet received {"connection_id":143529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":143529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:36:00] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:36:00] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:36:00] local.INFO: Packet analysis {"connection_id":141112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b9"} 
[2026-07-25 15:36:00] local.INFO: Extracted packet for processing {"connection_id":141112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b9"} 
[2026-07-25 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98366928,"longitude_deg":76.3092096,"latitude_deg":9.8366928,"altitude":8,"angle":1,"satellites":41,"speed":3,"hex_longitude":"2d7bdc80","hex_latitude":"05dcf5d0","is_valid_coordinates":true} 
[2026-07-25 15:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953268224001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324211769344,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973704000,"timestamp_ms":1784973704000,"timestamp_seconds":1784973704,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b93b40"} 
[2026-07-25 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 15:36: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-07-25 15: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-07-25 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953268224001,"66":12982,"169":206,"85":15104,"24":3,"16":110272795698528256,"45":8925149324211769344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953268224001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324211769344,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953268224001,"power":12982,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8925149324211769344}} 
[2026-07-25 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":141112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:00] local.INFO: GPS data processed {"connection_id":141112,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:00] local.INFO: Acknowledgment sent {"connection_id":141112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:00] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:00] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:00] local.INFO: IMEI packet received {"connection_id":141174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":141174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:36:00] local.INFO: TCP Data received {"connection_id":143529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:36:00] local.INFO: Processing buffer {"connection_id":143529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b80e78012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:36:00] local.INFO: Packet analysis {"connection_id":143529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:36:00] local.INFO: Extracted packet for processing {"connection_id":143529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b8"} 
[2026-07-25 15:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953170432001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938166351559251968,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973627000,"timestamp_ms":1784973627000,"timestamp_seconds":1784973627,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b80e78"} 
[2026-07-25 15:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36:00] 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-07-25 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2561861160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250206124726845912,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3006803969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9153566410148817920,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535705294,"corrected_to":0} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837531,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":57819674385994663,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":178,"raw_value":-4114036966364053497,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5764380664354826240,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,137,83,24,241,157,16,65,159,103,45,192,77,50,44,10,66,1,240,220,227,64,152,36,4,113,205,23,9,253,239,55,2,31,7,40,11,5,178,8,106,60],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1535705294,"validated":0}]} 
[2026-07-25 15:36:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992223768642,"timestamp_seconds":3603101992223768.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953170432001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1938166351559251968},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953170432001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938166351559251968,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953170432001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1938166351559251968}} 
[2026-07-25 15:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":143529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:00] local.INFO: GPS data processed {"connection_id":143529,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:00] local.INFO: Acknowledgment sent {"connection_id":143529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:04] local.INFO: TCP Data received {"connection_id":141112,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:36:04] local.INFO: Processing buffer {"connection_id":141112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98b93b40012d7bdc8005dcf5d00008000129..."} 
[2026-07-25 15:36:04] local.INFO: Packet analysis {"connection_id":141112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98b9"} 
[2026-07-25 15:36:04] local.INFO: Extracted packet for processing {"connection_id":141112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98b9"} 
[2026-07-25 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98366928,"longitude_deg":76.3092096,"latitude_deg":9.8366928,"altitude":8,"angle":1,"satellites":41,"speed":3,"hex_longitude":"2d7bdc80","hex_latitude":"05dcf5d0","is_valid_coordinates":true} 
[2026-07-25 15:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953268224001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324211769344,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784973704000,"timestamp_ms":1784973704000,"timestamp_seconds":1784973704,"priority":1,"record_length":96,"hex_timestamp":"0000019f98b93b40"} 
[2026-07-25 15:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 15:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953268224001,"66":12982,"169":206,"85":15104,"24":3,"16":110272795698528256,"45":8925149324211769344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953268224001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:04] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:36:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324211769344,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953268224001,"power":12982,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8925149324211769344}} 
[2026-07-25 15:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":141112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:04] local.INFO: GPS data processed {"connection_id":141112,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:04] local.INFO: Acknowledgment sent {"connection_id":141112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:05] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:05] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:05] local.INFO: IMEI packet received {"connection_id":141174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":141174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:36:06] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:36:06] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:36:06] local.INFO: Packet analysis {"connection_id":141174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:36:06] local.INFO: Extracted packet for processing {"connection_id":141174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:06] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:36:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":141174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:06] local.INFO: GPS data processed {"connection_id":141174,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:06] local.INFO: Acknowledgment sent {"connection_id":141174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:31] local.INFO: TCP Data received {"connection_id":143529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:36:31] local.INFO: Processing buffer {"connection_id":143529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:36:31] local.INFO: Packet analysis {"connection_id":143529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:36:31] local.INFO: Extracted packet for processing {"connection_id":143529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36: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-07-25 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:36:31] 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-07-25 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":143529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:31] local.INFO: GPS data processed {"connection_id":143529,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:31] local.INFO: Acknowledgment sent {"connection_id":143529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:37] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:36:37] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:36:37] local.INFO: Packet analysis {"connection_id":141174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:36:37] local.INFO: Extracted packet for processing {"connection_id":141174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:37] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:36:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":141174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:37] local.INFO: GPS data processed {"connection_id":141174,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:37] local.INFO: Acknowledgment sent {"connection_id":141174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:49] local.INFO: TCP Data received {"connection_id":142150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:49] local.INFO: Processing buffer {"connection_id":142150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:49] local.INFO: IMEI packet received {"connection_id":142150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":142150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:36:50] local.INFO: TCP Data received {"connection_id":142150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:50] local.INFO: Processing buffer {"connection_id":142150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:50] local.INFO: IMEI packet received {"connection_id":142150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":142150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:36:54] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:36:54] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:36:54] local.INFO: IMEI packet received {"connection_id":141114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":141114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:36:54] local.INFO: TCP Data received {"connection_id":142150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142150,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:54] local.INFO: Processing buffer {"connection_id":142150,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:36:54] local.INFO: IMEI packet received {"connection_id":142150,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":142150,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:36:55] local.INFO: TCP Data received {"connection_id":142150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:36:55] local.INFO: Processing buffer {"connection_id":142150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:36:55] local.INFO: Packet analysis {"connection_id":142150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bd"} 
[2026-07-25 15:36:55] local.INFO: Extracted packet for processing {"connection_id":142150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bd"} 
[2026-07-25 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":98367096,"longitude_deg":76.3092416,"latitude_deg":9.8367096,"altitude":8,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d7bddc0","hex_latitude":"05dcf678","is_valid_coordinates":true} 
[2026-07-25 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953268224001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324211769344,"note":"Value kept but may cause issues"} 
[2026-07-25 15:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784974007000,"timestamp_ms":1784974007000,"timestamp_seconds":1784974007,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bddad8"} 
[2026-07-25 15:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 15:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953268224001,"66":12765,"169":206,"85":15104,"24":0,"16":110272795698528256,"45":8925149324211769344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953268224001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:36:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324211769344,"description":"Unknown IO ID 45"} 
[2026-07-25 15:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953268224001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925149324211769344}} 
[2026-07-25 15:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":142150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:36:55] local.INFO: GPS data processed {"connection_id":142150,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:36:55] local.INFO: Acknowledgment sent {"connection_id":142150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:36:55] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:55] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:36:55] local.INFO: IMEI packet received {"connection_id":141113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":141113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:36:59] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:36:59] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:36:59] local.INFO: IMEI packet received {"connection_id":141114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":141114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:37:00] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:37:00] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:37:00] local.INFO: Packet analysis {"connection_id":141114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:37:00] local.INFO: Extracted packet for processing {"connection_id":141114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:37:00] 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-07-25 15:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":141114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:37:00] local.INFO: GPS data processed {"connection_id":141114,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:37:00] local.INFO: Acknowledgment sent {"connection_id":141114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:37:00] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:37:00] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:37:00] local.INFO: IMEI packet received {"connection_id":141113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":141113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:37:01] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:37:01] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:37:01] local.INFO: Packet analysis {"connection_id":141113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:37:01] local.INFO: Extracted packet for processing {"connection_id":141113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:37:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:37:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:37:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:37:01] local.INFO: GPS data processed {"connection_id":141113,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:37:01] local.INFO: Acknowledgment sent {"connection_id":141113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:37:26] local.INFO: TCP Data received {"connection_id":142150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:37:26] local.INFO: Processing buffer {"connection_id":142150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:37:26] local.INFO: Packet analysis {"connection_id":142150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bd"} 
[2026-07-25 15:37:26] local.INFO: Extracted packet for processing {"connection_id":142150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bd"} 
[2026-07-25 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":98367096,"longitude_deg":76.3092416,"latitude_deg":9.8367096,"altitude":8,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d7bddc0","hex_latitude":"05dcf678","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953268224001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324211769344,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784974007000,"timestamp_ms":1784974007000,"timestamp_seconds":1784974007,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bddad8"} 
[2026-07-25 15:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 15:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142150,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953268224001,"66":12765,"169":206,"85":15104,"24":0,"16":110272795698528256,"45":8925149324211769344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953268224001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:37:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324211769344,"description":"Unknown IO ID 45"} 
[2026-07-25 15:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953268224001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925149324211769344}} 
[2026-07-25 15:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":142150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:37:26] local.INFO: GPS data processed {"connection_id":142150,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:37:26] local.INFO: Acknowledgment sent {"connection_id":142150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:37:31] local.INFO: TCP Data received {"connection_id":141114,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:37:31] local.INFO: Processing buffer {"connection_id":141114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:37:31] local.INFO: Packet analysis {"connection_id":141114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:37:31] local.INFO: Extracted packet for processing {"connection_id":141114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:37:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:37: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-07-25 15:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:37:31] 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-07-25 15:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":141114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:37:31] local.INFO: GPS data processed {"connection_id":141114,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:37:31] local.INFO: Acknowledgment sent {"connection_id":141114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:37:32] local.INFO: TCP Data received {"connection_id":141113,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:37:32] local.INFO: Processing buffer {"connection_id":141113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:37:32] local.INFO: Packet analysis {"connection_id":141113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:37:32] local.INFO: Extracted packet for processing {"connection_id":141113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:37:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:37:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":141113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:37:32] local.INFO: GPS data processed {"connection_id":141113,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:37:32] local.INFO: Acknowledgment sent {"connection_id":141113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:37:45] local.INFO: TCP Data received {"connection_id":141171,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:37:45] local.INFO: Processing buffer {"connection_id":141171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:37:45] local.INFO: IMEI packet received {"connection_id":141171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":141171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:37:49] local.INFO: TCP Data received {"connection_id":142151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:37:49] local.INFO: Processing buffer {"connection_id":142151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:37:49] local.INFO: IMEI packet received {"connection_id":142151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":142151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:37:54] local.INFO: TCP Data received {"connection_id":142151,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:37:54] local.INFO: Processing buffer {"connection_id":142151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:37:54] local.INFO: IMEI packet received {"connection_id":142151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":142151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:37:55] local.INFO: TCP Data received {"connection_id":142151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:37:55] local.INFO: Processing buffer {"connection_id":142151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bddad8012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:37:55] local.INFO: Packet analysis {"connection_id":142151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bd"} 
[2026-07-25 15:37:55] local.INFO: Extracted packet for processing {"connection_id":142151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bd"} 
[2026-07-25 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":98367096,"longitude_deg":76.3092416,"latitude_deg":9.8367096,"altitude":8,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d7bddc0","hex_latitude":"05dcf678","is_valid_coordinates":true} 
[2026-07-25 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953268224001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324211769344,"note":"Value kept but may cause issues"} 
[2026-07-25 15:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784974007000,"timestamp_ms":1784974007000,"timestamp_seconds":1784974007,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bddad8"} 
[2026-07-25 15:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 15:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953268224001,"66":12765,"169":206,"85":15104,"24":0,"16":110272795698528256,"45":8925149324211769344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953268224001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324211769344,"description":"Unknown IO ID 45"} 
[2026-07-25 15:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953268224001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925149324211769344}} 
[2026-07-25 15:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":142151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:37:55] local.INFO: GPS data processed {"connection_id":142151,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:37:55] local.INFO: Acknowledgment sent {"connection_id":142151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:37:55] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:37:55] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:37:55] local.INFO: IMEI packet received {"connection_id":141175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":141175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:37:59] local.INFO: TCP Data received {"connection_id":142152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:37:59] local.INFO: Processing buffer {"connection_id":142152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:37:59] local.INFO: IMEI packet received {"connection_id":142152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":142152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:38:00] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:38:00] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:38:00] local.INFO: IMEI packet received {"connection_id":141175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":141175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:38:00] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:38:00] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:38:00] local.INFO: Packet analysis {"connection_id":141175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:38:00] local.INFO: Extracted packet for processing {"connection_id":141175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":141175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:38:00] local.INFO: GPS data processed {"connection_id":141175,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:38:00] local.INFO: Acknowledgment sent {"connection_id":141175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:38:04] local.INFO: TCP Data received {"connection_id":142152,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:04] local.INFO: Processing buffer {"connection_id":142152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:04] local.INFO: IMEI packet received {"connection_id":142152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":142152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:38:05] local.INFO: TCP Data received {"connection_id":142152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:38:05] local.INFO: Processing buffer {"connection_id":142152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:38:05] local.INFO: Packet analysis {"connection_id":142152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:38:05] local.INFO: Extracted packet for processing {"connection_id":142152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:38:05] 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-07-25 15:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:38:05] 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-07-25 15:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:38:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:38:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":142152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:38:05] local.INFO: GPS data processed {"connection_id":142152,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:38:05] local.INFO: Acknowledgment sent {"connection_id":142152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:38:09] local.INFO: TCP Data received {"connection_id":142152,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:38:09] local.INFO: Processing buffer {"connection_id":142152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:38:09] local.INFO: Packet analysis {"connection_id":142152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:38:09] local.INFO: Extracted packet for processing {"connection_id":142152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:38:09] 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-07-25 15:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:38:09] 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-07-25 15:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:38:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:38:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":142152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:38:09] local.INFO: GPS data processed {"connection_id":142152,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:38:09] local.INFO: Acknowledgment sent {"connection_id":142152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:38:26] local.INFO: TCP Data received {"connection_id":142151,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf26e0012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf26e0012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:38:26] local.INFO: Processing buffer {"connection_id":142151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf26e0012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:38:26] local.INFO: Packet analysis {"connection_id":142151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:38:26] local.INFO: Extracted packet for processing {"connection_id":142151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":98367096,"longitude_deg":76.3092416,"latitude_deg":9.8367096,"altitude":8,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d7bddc0","hex_latitude":"05dcf678","is_valid_coordinates":true} 
[2026-07-25 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953345792001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925501167932700672,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784974092000,"timestamp_ms":1784974092000,"timestamp_seconds":1784974092,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf26e0"} 
[2026-07-25 15:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7424,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 15:38: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-07-25 15:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953345792001,"66":12526,"169":206,"85":15104,"24":0,"16":110272795698528256,"45":8925501167932700672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953345792001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:38:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925501167932700672,"description":"Unknown IO ID 45"} 
[2026-07-25 15:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953345792001,"power":12526,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925501167932700672}} 
[2026-07-25 15:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":142151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:38:27] local.INFO: GPS data processed {"connection_id":142151,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:38:27] local.INFO: Acknowledgment sent {"connection_id":142151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:38:31] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:38:31] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ba8748012db9678005e74748001f004125..."} 
[2026-07-25 15:38:31] local.INFO: Packet analysis {"connection_id":141175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:38:31] local.INFO: Extracted packet for processing {"connection_id":141175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ba"} 
[2026-07-25 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953212928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973789000,"timestamp_ms":1784973789000,"timestamp_seconds":1784973789,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ba8748"} 
[2026-07-25 15:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 15:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953212928001,"66":26071,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953212928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953212928001,"power":26071,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":141175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:38:32] local.INFO: GPS data processed {"connection_id":141175,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:38:32] local.INFO: Acknowledgment sent {"connection_id":141175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:38:49] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:38:49] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:38:49] local.INFO: IMEI packet received {"connection_id":143530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":143530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:38:54] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:54] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:54] local.INFO: IMEI packet received {"connection_id":141115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":141115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:38:57] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:38:57] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:38:57] local.INFO: IMEI packet received {"connection_id":143530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":143530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:38:57] local.INFO: TCP Data received {"connection_id":143530,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf26e0012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf26e0012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:38:57] local.INFO: Processing buffer {"connection_id":143530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf26e0012d7bddc005dcf6780008000128..."} 
[2026-07-25 15:38:57] local.INFO: Packet analysis {"connection_id":143530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:38:57] local.INFO: Extracted packet for processing {"connection_id":143530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":98367096,"longitude_deg":76.3092416,"latitude_deg":9.8367096,"altitude":8,"angle":1,"satellites":40,"speed":0,"hex_longitude":"2d7bddc0","hex_latitude":"05dcf678","is_valid_coordinates":true} 
[2026-07-25 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367552001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110272795698528256,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925501167932700672,"note":"Value kept but may cause issues"} 
[2026-07-25 15:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784974092000,"timestamp_ms":1784974092000,"timestamp_seconds":1784974092,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf26e0"} 
[2026-07-25 15:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 15:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":143530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":143530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":143530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367552001,"66":12526,"169":206,"85":15104,"24":0,"16":110272795698528256,"45":8925501167932700672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367552001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:38:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110272795698528256,"km_value":110272795698528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925501167932700672,"description":"Unknown IO ID 45"} 
[2026-07-25 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367552001,"power":12526,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925501167932700672}} 
[2026-07-25 15:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":143530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:38:57] local.INFO: GPS data processed {"connection_id":143530,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:38:57] local.INFO: Acknowledgment sent {"connection_id":143530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:38:57] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:38:57] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:38:57] local.INFO: IMEI packet received {"connection_id":143531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":143531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:38:59] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:59] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:38:59] local.INFO: IMEI packet received {"connection_id":141115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":141115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:39:00] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:39:00] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:39:00] local.INFO: Packet analysis {"connection_id":141115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:39:00] local.INFO: Extracted packet for processing {"connection_id":141115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:39:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:39:00] 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-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":141115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:39:00] local.INFO: GPS data processed {"connection_id":141115,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:39:00] local.INFO: Acknowledgment sent {"connection_id":141115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:39:00] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:39:00] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:39:00] local.INFO: IMEI packet received {"connection_id":143531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":143531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:39:01] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:39:01] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:39:01] local.INFO: Packet analysis {"connection_id":143531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:39:01] local.INFO: Extracted packet for processing {"connection_id":143531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:39:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:39:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:39:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":143531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:39:01] local.INFO: GPS data processed {"connection_id":143531,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:39:01] local.INFO: Acknowledgment sent {"connection_id":143531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:39:31] local.INFO: TCP Data received {"connection_id":141115,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:39:31] local.INFO: Processing buffer {"connection_id":141115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:39:31] local.INFO: Packet analysis {"connection_id":141115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:39:31] local.INFO: Extracted packet for processing {"connection_id":141115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:39: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-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":141115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:39:31] local.INFO: GPS data processed {"connection_id":141115,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:39:31] local.INFO: Acknowledgment sent {"connection_id":141115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:39:32] local.INFO: TCP Data received {"connection_id":143531,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:39:32] local.INFO: Processing buffer {"connection_id":143531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:39:32] local.INFO: Packet analysis {"connection_id":143531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:39:32] local.INFO: Extracted packet for processing {"connection_id":143531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:39:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:39:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:39:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":143531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:39:32] local.INFO: GPS data processed {"connection_id":143531,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:39:32] local.INFO: Acknowledgment sent {"connection_id":143531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:39:54] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:39:54] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:39:54] local.INFO: IMEI packet received {"connection_id":141176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":141176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:39:55] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:39:55] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:39:55] local.INFO: IMEI packet received {"connection_id":141177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":141177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:39:59] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:39:59] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:39:59] local.INFO: IMEI packet received {"connection_id":141176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":141176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:40:00] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:40:00] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:40:00] local.INFO: Packet analysis {"connection_id":141176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:40:00] local.INFO: Extracted packet for processing {"connection_id":141176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:40:00] 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-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":141176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:40:00] local.INFO: GPS data processed {"connection_id":141176,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:40:00] local.INFO: Acknowledgment sent {"connection_id":141176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:40:00] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:40:00] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:40:00] local.INFO: IMEI packet received {"connection_id":141177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":141177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:40:00] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:40:00] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:40:00] local.INFO: Packet analysis {"connection_id":141177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:40:00] local.INFO: Extracted packet for processing {"connection_id":141177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":141177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:40:00] local.INFO: GPS data processed {"connection_id":141177,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:40:00] local.INFO: Acknowledgment sent {"connection_id":141177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:40:31] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:40:31] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:40:31] local.INFO: Packet analysis {"connection_id":141176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:40:31] local.INFO: Extracted packet for processing {"connection_id":141176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:40: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-07-25 15:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:40:31] 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-07-25 15:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":141176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:40:31] local.INFO: GPS data processed {"connection_id":141176,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:40:31] local.INFO: Acknowledgment sent {"connection_id":141176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:40:31] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:40:31] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:40:31] local.INFO: Packet analysis {"connection_id":141177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:40:31] local.INFO: Extracted packet for processing {"connection_id":141177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":141177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:40:31] local.INFO: GPS data processed {"connection_id":141177,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:40:31] local.INFO: Acknowledgment sent {"connection_id":141177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:40:54] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:40:54] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:40:54] local.INFO: IMEI packet received {"connection_id":141178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":141178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:40:59] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:40:59] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:40:59] local.INFO: IMEI packet received {"connection_id":141178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":141178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:41:00] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:41:00] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bca640012d1ad7c007243c38003300d22c..."} 
[2026-07-25 15:41:00] local.INFO: Packet analysis {"connection_id":141178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:41:00] local.INFO: Extracted packet for processing {"connection_id":141178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bc"} 
[2026-07-25 15:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953248512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784973928000,"timestamp_ms":1784973928000,"timestamp_seconds":1784973928,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bca640"} 
[2026-07-25 15:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:41:00] 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-07-25 15:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953248512001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953248512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:41:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953248512001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":141178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:41:00] local.INFO: GPS data processed {"connection_id":141178,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:41:00] local.INFO: Acknowledgment sent {"connection_id":141178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:41:00] local.INFO: TCP Data received {"connection_id":142154,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:00] local.INFO: Processing buffer {"connection_id":142154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:00] local.INFO: IMEI packet received {"connection_id":142154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":142154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:41:05] local.INFO: TCP Data received {"connection_id":142154,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:05] local.INFO: Processing buffer {"connection_id":142154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:05] local.INFO: IMEI packet received {"connection_id":142154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":142154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:41:06] local.INFO: TCP Data received {"connection_id":142154,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:41:06] local.INFO: Processing buffer {"connection_id":142154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:41:06] local.INFO: Packet analysis {"connection_id":142154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:41:06] local.INFO: Extracted packet for processing {"connection_id":142154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:41:06] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:41:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":142154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:41:06] local.INFO: GPS data processed {"connection_id":142154,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:41:06] local.INFO: Acknowledgment sent {"connection_id":142154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:41:11] local.INFO: TCP Data received {"connection_id":142154,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:41:11] local.INFO: Processing buffer {"connection_id":142154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:41:11] local.INFO: Packet analysis {"connection_id":142154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:41:11] local.INFO: Extracted packet for processing {"connection_id":142154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:41:11] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:41:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":142154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:41:11] local.INFO: GPS data processed {"connection_id":142154,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:41:11] local.INFO: Acknowledgment sent {"connection_id":142154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:41:31] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:41:31] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:41:31] local.INFO: Packet analysis {"connection_id":141178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:41:31] local.INFO: Extracted packet for processing {"connection_id":141178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:41:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:41:31] 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-07-25 15:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:41:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":141178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:41:31] local.INFO: GPS data processed {"connection_id":141178,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:41:31] local.INFO: Acknowledgment sent {"connection_id":141178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:41:56] local.INFO: TCP Data received {"connection_id":143532,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:56] local.INFO: Processing buffer {"connection_id":143532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:41:56] local.INFO: IMEI packet received {"connection_id":143532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":143532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:41:59] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:41:59] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:41:59] local.INFO: IMEI packet received {"connection_id":143533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":143533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:42:00] local.INFO: TCP Data received {"connection_id":143532,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:42:00] local.INFO: Processing buffer {"connection_id":143532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:42:00] local.INFO: IMEI packet received {"connection_id":143532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":143532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:42:01] local.INFO: TCP Data received {"connection_id":143532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:42:01] local.INFO: Processing buffer {"connection_id":143532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:42:01] local.INFO: Packet analysis {"connection_id":143532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:42:01] local.INFO: Extracted packet for processing {"connection_id":143532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:42:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:42:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":143532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:42:01] local.INFO: GPS data processed {"connection_id":143532,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:42:01] local.INFO: Acknowledgment sent {"connection_id":143532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:42:04] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:04] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:04] local.INFO: IMEI packet received {"connection_id":143533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":143533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:42:09] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:42:09] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:42:09] local.INFO: Packet analysis {"connection_id":143533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:42:09] local.INFO: Extracted packet for processing {"connection_id":143533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:42:09] 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-07-25 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":143533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:42:09] local.INFO: GPS data processed {"connection_id":143533,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:42:09] local.INFO: Acknowledgment sent {"connection_id":143533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:42:10] local.INFO: TCP Data received {"connection_id":143533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:42:10] local.INFO: Processing buffer {"connection_id":143533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:42:10] local.INFO: Packet analysis {"connection_id":143533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:42:10] local.INFO: Extracted packet for processing {"connection_id":143533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:42:10] 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-07-25 15:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:42:10] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":143533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:42:10] local.INFO: GPS data processed {"connection_id":143533,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:42:10] local.INFO: Acknowledgment sent {"connection_id":143533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:42:32] local.INFO: TCP Data received {"connection_id":143532,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:42:32] local.INFO: Processing buffer {"connection_id":143532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:42:32] local.INFO: Packet analysis {"connection_id":143532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:42:32] local.INFO: Extracted packet for processing {"connection_id":143532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:42:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:42:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:42:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":143532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:42:32] local.INFO: GPS data processed {"connection_id":143532,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:42:32] local.INFO: Acknowledgment sent {"connection_id":143532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:42:54] local.INFO: TCP Data received {"connection_id":142155,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:54] local.INFO: Processing buffer {"connection_id":142155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:54] local.INFO: IMEI packet received {"connection_id":142155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":142155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:42:55] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:42:55] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:42:55] local.INFO: IMEI packet received {"connection_id":141116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":141116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:42:59] local.INFO: TCP Data received {"connection_id":142155,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:59] local.INFO: Processing buffer {"connection_id":142155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:42:59] local.INFO: IMEI packet received {"connection_id":142155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":142155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:43:00] local.INFO: TCP Data received {"connection_id":142155,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:00] local.INFO: Processing buffer {"connection_id":142155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:00] local.INFO: Packet analysis {"connection_id":142155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:43:00] local.INFO: Extracted packet for processing {"connection_id":142155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":142155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:43:00] local.INFO: GPS data processed {"connection_id":142155,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:43:00] local.INFO: Acknowledgment sent {"connection_id":142155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:43:00] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:43:00] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:43:00] local.INFO: IMEI packet received {"connection_id":141116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":141116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:43:01] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:43:01] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:43:01] local.INFO: Packet analysis {"connection_id":141116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:43:01] local.INFO: Extracted packet for processing {"connection_id":141116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:43:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:43:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:43:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":141116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:43:01] local.INFO: GPS data processed {"connection_id":141116,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:43:01] local.INFO: Acknowledgment sent {"connection_id":141116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:43:05] local.INFO: TCP Data received {"connection_id":142155,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:05] local.INFO: Processing buffer {"connection_id":142155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:05] local.INFO: Packet analysis {"connection_id":142155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:43:05] local.INFO: Extracted packet for processing {"connection_id":142155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:43:05] 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-07-25 15:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":142155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:43:05] local.INFO: GPS data processed {"connection_id":142155,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:43:05] local.INFO: Acknowledgment sent {"connection_id":142155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:43:19] local.INFO: TCP Data received {"connection_id":142153,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:43:19] local.INFO: Processing buffer {"connection_id":142153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:43:19] local.INFO: IMEI packet received {"connection_id":142153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":142153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:43:32] local.INFO: TCP Data received {"connection_id":141116,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:43:32] local.INFO: Processing buffer {"connection_id":141116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98bf1f10012db9678005e74748001f004129..."} 
[2026-07-25 15:43:32] local.INFO: Packet analysis {"connection_id":141116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:43:32] local.INFO: Extracted packet for processing {"connection_id":141116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98bf"} 
[2026-07-25 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953289984001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974090000,"timestamp_ms":1784974090000,"timestamp_seconds":1784974090,"priority":1,"record_length":96,"hex_timestamp":"0000019f98bf1f10"} 
[2026-07-25 15:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 15:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953289984001,"66":25952,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953289984001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:43:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:43:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953289984001,"power":25952,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":141116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:43:32] local.INFO: GPS data processed {"connection_id":141116,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:43:32] local.INFO: Acknowledgment sent {"connection_id":141116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:43:36] local.INFO: TCP Data received {"connection_id":142155,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:36] local.INFO: Processing buffer {"connection_id":142155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:43:36] local.INFO: Packet analysis {"connection_id":142155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:43:36] local.INFO: Extracted packet for processing {"connection_id":142155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:43:36] 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-07-25 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:43:36] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":142155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:43:36] local.INFO: GPS data processed {"connection_id":142155,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:43:36] local.INFO: Acknowledgment sent {"connection_id":142155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:43:49] local.INFO: TCP Data received {"connection_id":141117,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:43:49] local.INFO: Processing buffer {"connection_id":141117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:43:49] local.INFO: IMEI packet received {"connection_id":141117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":141117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:43:54] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:43:54] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:43:54] local.INFO: IMEI packet received {"connection_id":141118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":141118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:43:55] local.INFO: TCP Data received {"connection_id":142156,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:43:55] local.INFO: Processing buffer {"connection_id":142156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:43:55] local.INFO: IMEI packet received {"connection_id":142156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":142156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:43:59] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:43:59] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:43:59] local.INFO: IMEI packet received {"connection_id":141118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":141118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:44:00] local.INFO: TCP Data received {"connection_id":142156,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:44:00] local.INFO: Processing buffer {"connection_id":142156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:44:00] local.INFO: IMEI packet received {"connection_id":142156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":142156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:44:00] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:44:00] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:44:00] local.INFO: Packet analysis {"connection_id":141118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:44:00] local.INFO: Extracted packet for processing {"connection_id":141118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":141118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:44:00] local.INFO: GPS data processed {"connection_id":141118,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:44:00] local.INFO: Acknowledgment sent {"connection_id":141118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:44:00] local.INFO: TCP Data received {"connection_id":142156,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:44:00] local.INFO: Processing buffer {"connection_id":142156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:44:00] local.INFO: Packet analysis {"connection_id":142156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:44:00] local.INFO: Extracted packet for processing {"connection_id":142156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":142156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:44:00] local.INFO: GPS data processed {"connection_id":142156,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:44:00] local.INFO: Acknowledgment sent {"connection_id":142156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:44:31] local.INFO: TCP Data received {"connection_id":142156,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:44:31] local.INFO: Processing buffer {"connection_id":142156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:44:31] local.INFO: Packet analysis {"connection_id":142156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:44:31] local.INFO: Extracted packet for processing {"connection_id":142156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":142156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:44:31] local.INFO: GPS data processed {"connection_id":142156,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:44:31] local.INFO: Acknowledgment sent {"connection_id":142156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:44:32] local.INFO: TCP Data received {"connection_id":141118,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:44:32] local.INFO: Processing buffer {"connection_id":141118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:44:32] local.INFO: Packet analysis {"connection_id":141118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:44:32] local.INFO: Extracted packet for processing {"connection_id":141118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:44: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-07-25 15:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":141118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:44:32] local.INFO: GPS data processed {"connection_id":141118,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:44:32] local.INFO: Acknowledgment sent {"connection_id":141118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:44:55] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:44:55] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:44:55] local.INFO: IMEI packet received {"connection_id":141179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":141179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:44:55] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:44:55] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:44:55] local.INFO: IMEI packet received {"connection_id":141119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":141119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:44:59] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:44:59] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:44:59] local.INFO: IMEI packet received {"connection_id":141179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":141179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:45:00] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:45:00] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:45:00] local.INFO: Packet analysis {"connection_id":141179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:45:00] local.INFO: Extracted packet for processing {"connection_id":141179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":141179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:45:00] local.INFO: GPS data processed {"connection_id":141179,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:45:00] local.INFO: Acknowledgment sent {"connection_id":141179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:45:00] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:45:00] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:45:00] local.INFO: IMEI packet received {"connection_id":141119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":141119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:45:01] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:45:01] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:45:01] local.INFO: Packet analysis {"connection_id":141119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:45:01] local.INFO: Extracted packet for processing {"connection_id":141119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:45:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:45:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:45:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":141119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:45:01] local.INFO: GPS data processed {"connection_id":141119,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:45:01] local.INFO: Acknowledgment sent {"connection_id":141119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:45:31] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:45:31] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:45:31] local.INFO: Packet analysis {"connection_id":141179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:45:31] local.INFO: Extracted packet for processing {"connection_id":141179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 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-07-25 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:45:31] 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-07-25 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":141179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:45:31] local.INFO: GPS data processed {"connection_id":141179,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:45:31] local.INFO: Acknowledgment sent {"connection_id":141179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:45:32] local.INFO: TCP Data received {"connection_id":141119,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:45:32] local.INFO: Processing buffer {"connection_id":141119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:45:32] local.INFO: Packet analysis {"connection_id":141119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:45:32] local.INFO: Extracted packet for processing {"connection_id":141119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":141119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:45:32] local.INFO: GPS data processed {"connection_id":141119,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:45:32] local.INFO: Acknowledgment sent {"connection_id":141119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:45:54] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:45:54] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:45:54] local.INFO: IMEI packet received {"connection_id":141121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":141121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:45:56] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:45:56] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:45:56] local.INFO: IMEI packet received {"connection_id":141120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":141120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:45:59] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:45:59] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:45:59] local.INFO: IMEI packet received {"connection_id":141121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":141121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:46:00] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:46:00] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:46:00] local.INFO: IMEI packet received {"connection_id":141120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":141120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:46:00] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:46:00] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c13e08012d1ad7c007243c38003300d22e..."} 
[2026-07-25 15:46:00] local.INFO: Packet analysis {"connection_id":141121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:46:00] local.INFO: Extracted packet for processing {"connection_id":141121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c1"} 
[2026-07-25 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953325568001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974229000,"timestamp_ms":1784974229000,"timestamp_seconds":1784974229,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c13e08"} 
[2026-07-25 15:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953325568001,"66":2144,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953325568001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953325568001,"power":2144,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":141121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:46:00] local.INFO: GPS data processed {"connection_id":141121,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:46:00] local.INFO: Acknowledgment sent {"connection_id":141121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:46:01] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:46:01] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:46:01] local.INFO: Packet analysis {"connection_id":141120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:46:01] local.INFO: Extracted packet for processing {"connection_id":141120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:46:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:46:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":141120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:46:01] local.INFO: GPS data processed {"connection_id":141120,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:46:01] local.INFO: Acknowledgment sent {"connection_id":141120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:46:31] local.INFO: TCP Data received {"connection_id":141121,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:46:31] local.INFO: Processing buffer {"connection_id":141121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:46:31] local.INFO: Packet analysis {"connection_id":141121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:46:31] local.INFO: Extracted packet for processing {"connection_id":141121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:46:31] 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-07-25 15:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:46:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":141121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:46:31] local.INFO: GPS data processed {"connection_id":141121,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:46:31] local.INFO: Acknowledgment sent {"connection_id":141121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:46:32] local.INFO: TCP Data received {"connection_id":141120,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:46:32] local.INFO: Processing buffer {"connection_id":141120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:46:32] local.INFO: Packet analysis {"connection_id":141120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:46:32] local.INFO: Extracted packet for processing {"connection_id":141120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":141120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:46:32] local.INFO: GPS data processed {"connection_id":141120,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:46:32] local.INFO: Acknowledgment sent {"connection_id":141120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:46:54] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:46:54] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:46:54] local.INFO: IMEI packet received {"connection_id":141181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":141181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:46:55] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:46:55] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:46:55] local.INFO: IMEI packet received {"connection_id":141180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":141180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:46:59] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:46:59] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:46:59] local.INFO: IMEI packet received {"connection_id":141181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":141181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:47:00] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:47:00] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:47:00] local.INFO: Packet analysis {"connection_id":141181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:47:00] local.INFO: Extracted packet for processing {"connection_id":141181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":141181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:47:00] local.INFO: GPS data processed {"connection_id":141181,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:47:00] local.INFO: Acknowledgment sent {"connection_id":141181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:47:00] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:47:00] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:47:00] local.INFO: IMEI packet received {"connection_id":141180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":141180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:47:01] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:47:01] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:47:01] local.INFO: Packet analysis {"connection_id":141180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:47:01] local.INFO: Extracted packet for processing {"connection_id":141180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:47:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:47:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:47:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":141180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:47:01] local.INFO: GPS data processed {"connection_id":141180,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:47:01] local.INFO: Acknowledgment sent {"connection_id":141180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:47:31] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:47:31] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:47:31] local.INFO: Packet analysis {"connection_id":141181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:47:31] local.INFO: Extracted packet for processing {"connection_id":141181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:47:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:47:31] 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-07-25 15:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":141181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:47:31] local.INFO: GPS data processed {"connection_id":141181,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:47:31] local.INFO: Acknowledgment sent {"connection_id":141181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:47:32] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:47:32] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:47:32] local.INFO: Packet analysis {"connection_id":141180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:47:32] local.INFO: Extracted packet for processing {"connection_id":141180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:47:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:47:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":141180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:47:32] local.INFO: GPS data processed {"connection_id":141180,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:47:32] local.INFO: Acknowledgment sent {"connection_id":141180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:47:55] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:47:55] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:47:55] local.INFO: IMEI packet received {"connection_id":141122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":141122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:47:59] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:47:59] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:47:59] local.INFO: IMEI packet received {"connection_id":143534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":143534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:48:00] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:48:00] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:48:00] local.INFO: IMEI packet received {"connection_id":141122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":141122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:48:01] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:48:01] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:48:01] local.INFO: Packet analysis {"connection_id":141122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:48:01] local.INFO: Extracted packet for processing {"connection_id":141122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:48:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 15:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:48:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:48:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":141122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:48:01] local.INFO: GPS data processed {"connection_id":141122,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:48:01] local.INFO: Acknowledgment sent {"connection_id":141122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:48:04] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:04] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:04] local.INFO: IMEI packet received {"connection_id":143534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":143534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:48:05] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:48:05] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:48:05] local.INFO: Packet analysis {"connection_id":143534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:48:05] local.INFO: Extracted packet for processing {"connection_id":143534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:48:05] 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-07-25 15:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:48:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":143534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:48:05] local.INFO: GPS data processed {"connection_id":143534,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:48:05] local.INFO: Acknowledgment sent {"connection_id":143534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:48:09] local.INFO: TCP Data received {"connection_id":143534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:48:09] local.INFO: Processing buffer {"connection_id":143534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:48:09] local.INFO: Packet analysis {"connection_id":143534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:48:09] local.INFO: Extracted packet for processing {"connection_id":143534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:48:09] 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-07-25 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":143534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:48:09] local.INFO: GPS data processed {"connection_id":143534,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:48:09] local.INFO: Acknowledgment sent {"connection_id":143534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:48:32] local.INFO: TCP Data received {"connection_id":141122,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:48:32] local.INFO: Processing buffer {"connection_id":141122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c3b6d8012db9678005e74748001f004128..."} 
[2026-07-25 15:48:32] local.INFO: Packet analysis {"connection_id":141122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:48:32] local.INFO: Extracted packet for processing {"connection_id":141122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c3"} 
[2026-07-25 15:48:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 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-07-25 15:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953367040001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974391000,"timestamp_ms":1784974391000,"timestamp_seconds":1784974391,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c3b6d8"} 
[2026-07-25 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-07-25 15:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 15:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953367040001,"66":25875,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953367040001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:48:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:48:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953367040001,"power":25875,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":141122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:48:32] local.INFO: GPS data processed {"connection_id":141122,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:48:32] local.INFO: Acknowledgment sent {"connection_id":141122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:48:54] local.INFO: TCP Data received {"connection_id":143536,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:48:54] local.INFO: Processing buffer {"connection_id":143536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:48:54] local.INFO: IMEI packet received {"connection_id":143536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":143536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:48:54] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:54] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:54] local.INFO: IMEI packet received {"connection_id":143535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":143535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:48:59] local.INFO: TCP Data received {"connection_id":143536,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:48:59] local.INFO: Processing buffer {"connection_id":143536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:48:59] local.INFO: IMEI packet received {"connection_id":143536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":143536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:48:59] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:59] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:48:59] local.INFO: IMEI packet received {"connection_id":143535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":143535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:48:59] local.INFO: TCP Data received {"connection_id":143536,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c83b18012d7bd98005dd20b80003015a27..."} 
[2026-07-25 15:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c83b18012d7bd98005dd20b80003015a27..."} 
[2026-07-25 15:48:59] local.INFO: Processing buffer {"connection_id":143536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c83b18012d7bd98005dd20b80003015a27..."} 
[2026-07-25 15:48:59] local.INFO: Packet analysis {"connection_id":143536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:48:59] local.INFO: Extracted packet for processing {"connection_id":143536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763091328,"raw_latitude":98377912,"longitude_deg":76.3091328,"latitude_deg":9.8377912,"altitude":3,"angle":346,"satellites":39,"speed":5,"hex_longitude":"2d7bd980","hex_latitude":"05dd20b8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953519360001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273392698982400,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924445636772745216,"note":"Value kept but may cause issues"} 
[2026-07-25 15:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784974687000,"timestamp_ms":1784974687000,"timestamp_seconds":1784974687,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c83b18"} 
[2026-07-25 15:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 15:48: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-07-25 15: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-07-25 15:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953519360001,"66":12765,"169":206,"85":15104,"24":5,"16":110273392698982400,"45":8924445636772745216},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953519360001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:48:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273392698982400,"km_value":110273392698982.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924445636772745216,"description":"Unknown IO ID 45"} 
[2026-07-25 15:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953519360001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8924445636772745216}} 
[2026-07-25 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":143536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:49:00] local.INFO: GPS data processed {"connection_id":143536,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:49:00] local.INFO: Acknowledgment sent {"connection_id":143536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:49:00] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:49:00] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:49:00] local.INFO: Packet analysis {"connection_id":143535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:49:00] local.INFO: Extracted packet for processing {"connection_id":143535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:49:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":143535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:49:00] local.INFO: GPS data processed {"connection_id":143535,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:49:00] local.INFO: Acknowledgment sent {"connection_id":143535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:49:00] local.INFO: TCP Data received {"connection_id":142157,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:00] local.INFO: Processing buffer {"connection_id":142157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:00] local.INFO: IMEI packet received {"connection_id":142157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":142157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:49:05] local.INFO: TCP Data received {"connection_id":142157,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:05] local.INFO: Processing buffer {"connection_id":142157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:05] local.INFO: IMEI packet received {"connection_id":142157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":142157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:49:06] local.INFO: TCP Data received {"connection_id":142157,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:49:06] local.INFO: Processing buffer {"connection_id":142157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:49:06] local.INFO: Packet analysis {"connection_id":142157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:49:06] local.INFO: Extracted packet for processing {"connection_id":142157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:49:06] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:49:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":142157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:49:06] local.INFO: GPS data processed {"connection_id":142157,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:49:06] local.INFO: Acknowledgment sent {"connection_id":142157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:49:10] local.INFO: TCP Data received {"connection_id":142157,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:49:10] local.INFO: Processing buffer {"connection_id":142157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:49:10] local.INFO: Packet analysis {"connection_id":142157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:49:10] local.INFO: Extracted packet for processing {"connection_id":142157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:49:10] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:49:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:49:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":142157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:49:10] local.INFO: GPS data processed {"connection_id":142157,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:49:10] local.INFO: Acknowledgment sent {"connection_id":142157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:49:19] local.INFO: TCP Data received {"connection_id":141182,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:49:19] local.INFO: Processing buffer {"connection_id":141182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:49:19] local.INFO: IMEI packet received {"connection_id":141182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":141182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:49:31] local.INFO: TCP Data received {"connection_id":143536,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c85e40012d7bd94005dd23b80002001327..."} 
[2026-07-25 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c85e40012d7bd94005dd23b80002001327..."} 
[2026-07-25 15:49:31] local.INFO: Processing buffer {"connection_id":143536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c85e40012d7bd94005dd23b80002001327..."} 
[2026-07-25 15:49:31] local.INFO: Packet analysis {"connection_id":143536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:49:31] local.INFO: Extracted packet for processing {"connection_id":143536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98378680,"longitude_deg":76.3091264,"latitude_deg":9.837868,"altitude":2,"angle":19,"satellites":39,"speed":0,"hex_longitude":"2d7bd940","hex_latitude":"05dd23b8","is_valid_coordinates":true} 
[2026-07-25 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953519872001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273435648655360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924304899284449280,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974696000,"timestamp_ms":1784974696000,"timestamp_seconds":1784974696,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c85e40"} 
[2026-07-25 15:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 15:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953519872001,"66":13037,"169":206,"85":15104,"24":0,"16":110273435648655360,"45":8924304899284449280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953519872001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273435648655360,"km_value":110273435648655.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924304899284449280,"description":"Unknown IO ID 45"} 
[2026-07-25 15:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953519872001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924304899284449280}} 
[2026-07-25 15:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":143536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:49:31] local.INFO: GPS data processed {"connection_id":143536,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:49:31] local.INFO: Acknowledgment sent {"connection_id":143536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:49:31] local.INFO: TCP Data received {"connection_id":143535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:49:31] local.INFO: Processing buffer {"connection_id":143535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:49:31] local.INFO: Packet analysis {"connection_id":143535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:49:31] local.INFO: Extracted packet for processing {"connection_id":143535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:49:31] 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-07-25 15:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":143535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:49:31] local.INFO: GPS data processed {"connection_id":143535,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:49:31] local.INFO: Acknowledgment sent {"connection_id":143535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:49:54] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:49:54] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:49:54] local.INFO: IMEI packet received {"connection_id":141123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":141123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:49:54] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:49:54] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:49:54] local.INFO: IMEI packet received {"connection_id":141183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":141183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:49:56] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:56] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:49:56] local.INFO: IMEI packet received {"connection_id":141184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":141184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:49:59] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:49:59] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:49:59] local.INFO: IMEI packet received {"connection_id":141183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":141183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:49:59] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:49:59] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:49:59] local.INFO: IMEI packet received {"connection_id":141123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":141123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:50:00] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:00] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:00] local.INFO: Packet analysis {"connection_id":141183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:00] local.INFO: Extracted packet for processing {"connection_id":141183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98378736,"longitude_deg":76.3091264,"latitude_deg":9.8378736,"altitude":2,"angle":8,"satellites":39,"speed":2,"hex_longitude":"2d7bd940","hex_latitude":"05dd23f0","is_valid_coordinates":true} 
[2026-07-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953522176001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273435648655360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540468224,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974698000,"timestamp_ms":1784974698000,"timestamp_seconds":1784974698,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c86610"} 
[2026-07-25 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 15:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953522176001,"66":13037,"169":206,"85":15104,"24":2,"16":110273435648655360,"45":8924234530540468224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953522176001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273435648655360,"km_value":110273435648655.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540468224,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953522176001,"power":13037,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8924234530540468224}} 
[2026-07-25 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":141183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:00] local.INFO: GPS data processed {"connection_id":141183,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:00] local.INFO: Acknowledgment sent {"connection_id":141183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:00] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:50:00] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:50:00] local.INFO: IMEI packet received {"connection_id":141184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":141184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:50:00] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:50:00] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:50:00] local.INFO: Packet analysis {"connection_id":141123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:50:00] local.INFO: Extracted packet for processing {"connection_id":141123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":141123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:00] local.INFO: GPS data processed {"connection_id":141123,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:00] local.INFO: Acknowledgment sent {"connection_id":141123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:00] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:50:00] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:50:00] local.INFO: Packet analysis {"connection_id":141184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:00] local.INFO: Extracted packet for processing {"connection_id":141184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:50: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-07-25 15:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":141184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:00] local.INFO: GPS data processed {"connection_id":141184,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:00] local.INFO: Acknowledgment sent {"connection_id":141184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:30] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:30] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:30] local.INFO: Packet analysis {"connection_id":141183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:30] local.INFO: Extracted packet for processing {"connection_id":141183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98378736,"longitude_deg":76.3091264,"latitude_deg":9.8378736,"altitude":2,"angle":8,"satellites":39,"speed":2,"hex_longitude":"2d7bd940","hex_latitude":"05dd23f0","is_valid_coordinates":true} 
[2026-07-25 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953522688001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273435648655360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540482560,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784974698000,"timestamp_ms":1784974698000,"timestamp_seconds":1784974698,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c86610"} 
[2026-07-25 15:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 15:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953522688001,"66":12939,"169":206,"85":15104,"24":2,"16":110273435648655360,"45":8924234530540482560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953522688001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273435648655360,"km_value":110273435648655.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540482560,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953522688001,"power":12939,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8924234530540482560}} 
[2026-07-25 15:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":141183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:31] local.INFO: GPS data processed {"connection_id":141183,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:31] local.INFO: Acknowledgment sent {"connection_id":141183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:31] local.INFO: TCP Data received {"connection_id":141123,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:50:31] local.INFO: Processing buffer {"connection_id":141123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:50:31] local.INFO: Packet analysis {"connection_id":141123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:50:31] local.INFO: Extracted packet for processing {"connection_id":141123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:50:31] 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-07-25 15:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:50:31] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:50:31] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:50:31] local.INFO: Packet analysis {"connection_id":141184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:31] local.INFO: Extracted packet for processing {"connection_id":141184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:32] local.INFO: GPS data processed {"connection_id":141184,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:32] local.INFO: Acknowledgment sent {"connection_id":141184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:32] local.INFO: GPS data processed {"connection_id":141123,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:32] local.INFO: Acknowledgment sent {"connection_id":141123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:49] local.INFO: TCP Data received {"connection_id":142158,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:50:49] local.INFO: Processing buffer {"connection_id":142158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:50:49] local.INFO: IMEI packet received {"connection_id":142158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":142158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:50:54] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:50:54] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:50:54] local.INFO: IMEI packet received {"connection_id":141124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":141124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:50:54] local.INFO: TCP Data received {"connection_id":142158,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:50:54] local.INFO: Processing buffer {"connection_id":142158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:50:54] local.INFO: IMEI packet received {"connection_id":142158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":142158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:50:55] local.INFO: TCP Data received {"connection_id":142158,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:55] local.INFO: Processing buffer {"connection_id":142158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c86610012d7bd94005dd23f00002000827..."} 
[2026-07-25 15:50:55] local.INFO: Packet analysis {"connection_id":142158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:55] local.INFO: Extracted packet for processing {"connection_id":142158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98378736,"longitude_deg":76.3091264,"latitude_deg":9.8378736,"altitude":2,"angle":8,"satellites":39,"speed":2,"hex_longitude":"2d7bd940","hex_latitude":"05dd23f0","is_valid_coordinates":true} 
[2026-07-25 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953522688001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273435648655360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540482560,"note":"Value kept but may cause issues"} 
[2026-07-25 15:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784974698000,"timestamp_ms":1784974698000,"timestamp_seconds":1784974698,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c86610"} 
[2026-07-25 15:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 15:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953522688001,"66":12939,"169":206,"85":15104,"24":2,"16":110273435648655360,"45":8924234530540482560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953522688001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273435648655360,"km_value":110273435648655.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540482560,"description":"Unknown IO ID 45"} 
[2026-07-25 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953522688001,"power":12939,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8924234530540482560}} 
[2026-07-25 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":142158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:50:55] local.INFO: GPS data processed {"connection_id":142158,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:50:55] local.INFO: Acknowledgment sent {"connection_id":142158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:50:55] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:50:55] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:50:55] local.INFO: IMEI packet received {"connection_id":141125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":141125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:50:59] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:50:59] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:50:59] local.INFO: IMEI packet received {"connection_id":141124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":141124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:51:00] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:51:00] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c5d5d0012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:51:00] local.INFO: Packet analysis {"connection_id":141124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:51:00] local.INFO: Extracted packet for processing {"connection_id":141124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c5"} 
[2026-07-25 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953402624001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974530000,"timestamp_ms":1784974530000,"timestamp_seconds":1784974530,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c5d5d0"} 
[2026-07-25 15:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 15:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953402624001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953402624001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953402624001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":141124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:51:00] local.INFO: GPS data processed {"connection_id":141124,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:51:00] local.INFO: Acknowledgment sent {"connection_id":141124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:51:00] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:51:00] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:51:00] local.INFO: IMEI packet received {"connection_id":141125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":141125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:51:01] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:51:01] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:51:01] local.INFO: Packet analysis {"connection_id":141125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:01] local.INFO: Extracted packet for processing {"connection_id":141125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:51:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:51:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":141125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:51:01] local.INFO: GPS data processed {"connection_id":141125,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:51:01] local.INFO: Acknowledgment sent {"connection_id":141125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:51:25] local.INFO: TCP Data received {"connection_id":142158,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c869f8012d7bd90005dd24180002001528..."} 
[2026-07-25 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c869f8012d7bd90005dd24180002001528..."} 
[2026-07-25 15:51:25] local.INFO: Processing buffer {"connection_id":142158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c869f8012d7bd90005dd24180002001528..."} 
[2026-07-25 15:51:25] local.INFO: Packet analysis {"connection_id":142158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:25] local.INFO: Extracted packet for processing {"connection_id":142158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763091200,"raw_latitude":98378776,"longitude_deg":76.30912,"latitude_deg":9.8378776,"altitude":2,"angle":21,"satellites":40,"speed":0,"hex_longitude":"2d7bd900","hex_latitude":"05dd2418","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953522688001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273435648655360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540482560,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784974699000,"timestamp_ms":1784974699000,"timestamp_seconds":1784974699,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c869f8"} 
[2026-07-25 15:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 15:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953522688001,"66":12939,"169":206,"85":15104,"24":0,"16":110273435648655360,"45":8924234530540482560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953522688001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:51:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273435648655360,"km_value":110273435648655.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540482560,"description":"Unknown IO ID 45"} 
[2026-07-25 15:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953522688001,"power":12939,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540482560}} 
[2026-07-25 15:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":142158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:51:25] local.INFO: GPS data processed {"connection_id":142158,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:51:25] local.INFO: Acknowledgment sent {"connection_id":142158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:51:31] local.INFO: TCP Data received {"connection_id":141124,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:51:31] local.INFO: Processing buffer {"connection_id":141124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:51:31] local.INFO: Packet analysis {"connection_id":141124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:51:31] local.INFO: Extracted packet for processing {"connection_id":141124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:51:31] 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-07-25 15:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:51:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":141124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:51:31] local.INFO: GPS data processed {"connection_id":141124,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:51:31] local.INFO: Acknowledgment sent {"connection_id":141124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:51:32] local.INFO: TCP Data received {"connection_id":141125,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:51:32] local.INFO: Processing buffer {"connection_id":141125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:51:32] local.INFO: Packet analysis {"connection_id":141125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:32] local.INFO: Extracted packet for processing {"connection_id":141125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:51: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-07-25 15: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-07-25 15:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:51:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:51:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":141125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:51:32] local.INFO: GPS data processed {"connection_id":141125,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:51:32] local.INFO: Acknowledgment sent {"connection_id":141125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:51:49] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:51:49] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:51:49] local.INFO: IMEI packet received {"connection_id":141185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":141185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:51:54] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:51:54] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:51:54] local.INFO: IMEI packet received {"connection_id":141185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":141185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:51:55] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c86de0012d7bd90005dd24300002000928..."} 
[2026-07-25 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c86de0012d7bd90005dd24300002000928..."} 
[2026-07-25 15:51:55] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c86de0012d7bd90005dd24300002000928..."} 
[2026-07-25 15:51:55] local.INFO: Packet analysis {"connection_id":141185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:55] local.INFO: Extracted packet for processing {"connection_id":141185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":763091200,"raw_latitude":98378800,"longitude_deg":76.30912,"latitude_deg":9.83788,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7bd900","hex_latitude":"05dd2430","is_valid_coordinates":true} 
[2026-07-25 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-07-25 15:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953522944001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273435648655360,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924164161796315136,"note":"Value kept but may cause issues"} 
[2026-07-25 15:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784974700000,"timestamp_ms":1784974700000,"timestamp_seconds":1784974700,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c86de0"} 
[2026-07-25 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-07-25 15:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 15:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 15:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953522944001,"66":12939,"169":206,"85":15104,"24":0,"16":110273435648655360,"45":8924164161796315136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953522944001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:51:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273435648655360,"km_value":110273435648655.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924164161796315136,"description":"Unknown IO ID 45"} 
[2026-07-25 15:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953522944001,"power":12939,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924164161796315136}} 
[2026-07-25 15:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":141185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:51:55] local.INFO: GPS data processed {"connection_id":141185,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:51:55] local.INFO: Acknowledgment sent {"connection_id":141185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:51:55] local.INFO: TCP Data received {"connection_id":142159,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:51:55] local.INFO: Processing buffer {"connection_id":142159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:51:55] local.INFO: IMEI packet received {"connection_id":142159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":142159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:51:59] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:51:59] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:51:59] local.INFO: IMEI packet received {"connection_id":141186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":141186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:52:00] local.INFO: TCP Data received {"connection_id":142159,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:52:00] local.INFO: Processing buffer {"connection_id":142159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:52:00] local.INFO: IMEI packet received {"connection_id":142159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":142159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:52:00] local.INFO: TCP Data received {"connection_id":142159,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:52:00] local.INFO: Processing buffer {"connection_id":142159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:52:00] local.INFO: Packet analysis {"connection_id":142159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:52:00] local.INFO: Extracted packet for processing {"connection_id":142159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:52: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-07-25 15: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-07-25 15:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":142159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:52:00] local.INFO: GPS data processed {"connection_id":142159,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:52:00] local.INFO: Acknowledgment sent {"connection_id":142159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:52:04] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:04] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:04] local.INFO: IMEI packet received {"connection_id":141186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":141186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:52:05] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:52:05] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:52:05] local.INFO: Packet analysis {"connection_id":141186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:52:05] local.INFO: Extracted packet for processing {"connection_id":141186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:52:05] 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-07-25 15:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:52:05] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":141186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:52:05] local.INFO: GPS data processed {"connection_id":141186,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:52:05] local.INFO: Acknowledgment sent {"connection_id":141186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:52:09] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:52:09] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:52:09] local.INFO: Packet analysis {"connection_id":141186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:52:09] local.INFO: Extracted packet for processing {"connection_id":141186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:52:09] 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-07-25 15:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:52:09] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":141186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:52:09] local.INFO: GPS data processed {"connection_id":141186,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:52:09] local.INFO: Acknowledgment sent {"connection_id":141186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:52:26] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cbd110012d7bda4005dd23880001009b24..."} 
[2026-07-25 15:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cbd110012d7bda4005dd23880001009b24..."} 
[2026-07-25 15:52:26] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cbd110012d7bda4005dd23880001009b24..."} 
[2026-07-25 15:52:26] local.INFO: Packet analysis {"connection_id":141185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cb"} 
[2026-07-25 15:52:26] local.INFO: Extracted packet for processing {"connection_id":141185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cb"} 
[2026-07-25 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":98378632,"longitude_deg":76.309152,"latitude_deg":9.8378632,"altitude":1,"angle":155,"satellites":36,"speed":0,"hex_longitude":"2d7bda40","hex_latitude":"05dd2388","is_valid_coordinates":true} 
[2026-07-25 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953580032001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005517166592,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784974922000,"timestamp_ms":1784974922000,"timestamp_seconds":1784974922,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cbd110"} 
[2026-07-25 15:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613893,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8663477626247053312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505282267119616,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3419475969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630305423142569,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3098740430721057024,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5861152553852796904,"corrected_to":0} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":136,"raw_value":282141334175744,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":124429513261056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194034688,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84860145297120547,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2720167727589752831,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3026645099636379221,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:26] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,209,45,64,35,1,36,10,66,240,22,227,152,221,4,113,205,218,136,239,69,112,2,123,48,59],"length":577,"final_offset":707,"validated_count":34,"validation_warnings":[{"io_id":205,"original":-5861152553852796904,"validated":0}]} 
[2026-07-25 15:52:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72228172959056112,"timestamp_seconds":72228172959056.11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953580032001,"66":8982,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924516005517166592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953580032001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:52:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005517166592,"description":"Unknown IO ID 45"} 
[2026-07-25 15:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953580032001,"power":8982,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924516005517166592}} 
[2026-07-25 15:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":141185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:52:26] local.INFO: GPS data processed {"connection_id":141185,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:52:26] local.INFO: Acknowledgment sent {"connection_id":141185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:52:31] local.INFO: TCP Data received {"connection_id":142159,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:52:31] local.INFO: Processing buffer {"connection_id":142159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:52:31] local.INFO: Packet analysis {"connection_id":142159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:52:31] local.INFO: Extracted packet for processing {"connection_id":142159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":142159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:52:31] local.INFO: GPS data processed {"connection_id":142159,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:52:31] local.INFO: Acknowledgment sent {"connection_id":142159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:52:49] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:52:49] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:52:49] local.INFO: IMEI packet received {"connection_id":143537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":143537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:52:54] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:54] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:54] local.INFO: IMEI packet received {"connection_id":141126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":141126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:52:54] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:52:54] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:52:54] local.INFO: IMEI packet received {"connection_id":143537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":143537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:52:55] local.INFO: TCP Data received {"connection_id":142160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:52:55] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cbd110012d7bda4005dd23880001009b24..."} 
[2026-07-25 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:52:55] local.INFO: Processing buffer {"connection_id":142160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:52:55] local.INFO: IMEI packet received {"connection_id":142160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":142160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cbd110012d7bda4005dd23880001009b24..."} 
[2026-07-25 15:52:55] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cbd110012d7bda4005dd23880001009b24..."} 
[2026-07-25 15:52:55] local.INFO: Packet analysis {"connection_id":143537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cb"} 
[2026-07-25 15:52:55] local.INFO: Extracted packet for processing {"connection_id":143537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cb"} 
[2026-07-25 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763091520,"raw_latitude":98378632,"longitude_deg":76.309152,"latitude_deg":9.8378632,"altitude":1,"angle":155,"satellites":36,"speed":0,"hex_longitude":"2d7bda40","hex_latitude":"05dd2388","is_valid_coordinates":true} 
[2026-07-25 15:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953580032001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005517166592,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784974922000,"timestamp_ms":1784974922000,"timestamp_seconds":1784974922,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cbd110"} 
[2026-07-25 15:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613893,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84860145297120547,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8663477626247053312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505282267119616,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3419475969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18615925872635561,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3098740426426089728,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5861152553852796904,"corrected_to":0} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":136,"raw_value":282141300621312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194034688,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2720167727589752831,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3026645099636379221,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 15:52:55] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,169,85,24,241,157,16,197,159,209,45,64,35,1,36,10,66,240,22,227,152,221,4,113,205,218,136,239,69,2,123,48,59],"length":577,"final_offset":707,"validated_count":33,"validation_warnings":[{"io_id":205,"original":-5861152553852796904,"validated":0}]} 
[2026-07-25 15:52:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72228172959056111,"timestamp_seconds":72228172959056.11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953580032001,"66":8982,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924516005517166592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953580032001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005517166592,"description":"Unknown IO ID 45"} 
[2026-07-25 15:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953580032001,"power":8982,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924516005517166592}} 
[2026-07-25 15:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":143537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:52:55] local.INFO: GPS data processed {"connection_id":143537,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:52:55] local.INFO: Acknowledgment sent {"connection_id":143537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:52:59] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:59] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:52:59] local.INFO: IMEI packet received {"connection_id":141126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":141126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:53:00] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:53:00] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:53:00] local.INFO: Packet analysis {"connection_id":141126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:53:00] local.INFO: Extracted packet for processing {"connection_id":141126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":141126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:53:00] local.INFO: GPS data processed {"connection_id":141126,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:53:00] local.INFO: Acknowledgment sent {"connection_id":141126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:53:00] local.INFO: TCP Data received {"connection_id":142160,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:53:00] local.INFO: Processing buffer {"connection_id":142160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:53:00] local.INFO: IMEI packet received {"connection_id":142160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":142160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:53:01] local.INFO: TCP Data received {"connection_id":142160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:53:01] local.INFO: Processing buffer {"connection_id":142160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:53:01] local.INFO: Packet analysis {"connection_id":142160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:53:01] local.INFO: Extracted packet for processing {"connection_id":142160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:53:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:53:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":142160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:53:01] local.INFO: GPS data processed {"connection_id":142160,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:53:01] local.INFO: Acknowledgment sent {"connection_id":142160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:53:26] local.INFO: TCP Data received {"connection_id":143537,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cc1f30012d7bdb8005dd23b80001009b26..."} 
[2026-07-25 15:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cc1f30012d7bdb8005dd23b80001009b26..."} 
[2026-07-25 15:53:26] local.INFO: Processing buffer {"connection_id":143537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cc1f30012d7bdb8005dd23b80001009b26..."} 
[2026-07-25 15:53:26] local.INFO: Packet analysis {"connection_id":143537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:53:26] local.INFO: Extracted packet for processing {"connection_id":143537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763091840,"raw_latitude":98378680,"longitude_deg":76.309184,"latitude_deg":9.837868,"altitude":1,"angle":155,"satellites":38,"speed":0,"hex_longitude":"2d7bdb80","hex_latitude":"05dd23b8","is_valid_coordinates":true} 
[2026-07-25 15:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953580032001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924516005517166592,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784974942000,"timestamp_ms":1784974942000,"timestamp_seconds":1784974942,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cc1f30"} 
[2026-07-25 15:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751613893,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84860145297120547,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":35,"raw_value":1585493218877820501,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-8663477626247053312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505282267119616,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3419475969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18615925872635561,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3098740426426089728,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5861152553852796904,"corrected_to":0} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":136,"raw_value":282141300621312,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182023551189248,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194034688,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-2720167727589752831,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:26] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,169,85,24,241,157,16,197,159,209,45,64,35,1,36,10,66,240,22,227,152,221,4,113,205,218,136,239,69,2,123,59],"length":577,"final_offset":707,"validated_count":32,"validation_warnings":[{"io_id":205,"original":-5861152553852796904,"validated":0}]} 
[2026-07-25 15:53:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72228172959056112,"timestamp_seconds":72228172959056.11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953580032001,"66":11602,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924516005517166592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953580032001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:53:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924516005517166592,"description":"Unknown IO ID 45"} 
[2026-07-25 15:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953580032001,"power":11602,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924516005517166592}} 
[2026-07-25 15:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":143537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:53:26] local.INFO: GPS data processed {"connection_id":143537,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:53:26] local.INFO: Acknowledgment sent {"connection_id":143537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:53:31] local.INFO: TCP Data received {"connection_id":141126,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:53:31] local.INFO: Processing buffer {"connection_id":141126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:53:31] local.INFO: Packet analysis {"connection_id":141126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:53:31] local.INFO: Extracted packet for processing {"connection_id":141126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:53:31] 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-07-25 15:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":141126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:53:31] local.INFO: GPS data processed {"connection_id":141126,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:53:31] local.INFO: Acknowledgment sent {"connection_id":141126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:53:32] local.INFO: TCP Data received {"connection_id":142160,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:53:32] local.INFO: Processing buffer {"connection_id":142160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98c84ea0012db9678005e74748001f004125..."} 
[2026-07-25 15:53:32] local.INFO: Packet analysis {"connection_id":142160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:53:32] local.INFO: Extracted packet for processing {"connection_id":142160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98c8"} 
[2026-07-25 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":37,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953444096001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974692000,"timestamp_ms":1784974692000,"timestamp_seconds":1784974692,"priority":1,"record_length":96,"hex_timestamp":"0000019f98c84ea0"} 
[2026-07-25 15:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 15:53: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-07-25 15:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953444096001,"66":25778,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953444096001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:53:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:53:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953444096001,"power":25778,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":142160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:53:32] local.INFO: GPS data processed {"connection_id":142160,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:53:32] local.INFO: Acknowledgment sent {"connection_id":142160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:53:49] local.INFO: TCP Data received {"connection_id":142161,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:53:49] local.INFO: Processing buffer {"connection_id":142161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:53:49] local.INFO: IMEI packet received {"connection_id":142161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":142161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:53:54] local.INFO: TCP Data received {"connection_id":143539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:53:54] local.INFO: Processing buffer {"connection_id":143539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:53:54] local.INFO: IMEI packet received {"connection_id":143539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":143539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:53:54] local.INFO: TCP Data received {"connection_id":142161,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:53:54] local.INFO: Processing buffer {"connection_id":142161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:53:54] local.INFO: IMEI packet received {"connection_id":142161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":142161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:53:55] local.INFO: TCP Data received {"connection_id":142161,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cc3a88012d7bdb8005dd23b80001009b27..."} 
[2026-07-25 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cc3a88012d7bdb8005dd23b80001009b27..."} 
[2026-07-25 15:53:55] local.INFO: Processing buffer {"connection_id":142161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cc3a88012d7bdb8005dd23b80001009b27..."} 
[2026-07-25 15:53:55] local.INFO: Packet analysis {"connection_id":142161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:53:55] local.INFO: Extracted packet for processing {"connection_id":142161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":763091840,"raw_latitude":98378680,"longitude_deg":76.309184,"latitude_deg":9.837868,"altitude":1,"angle":155,"satellites":39,"speed":0,"hex_longitude":"2d7bdb80","hex_latitude":"05dd23b8","is_valid_coordinates":true} 
[2026-07-25 15:53: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-07-25 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953585152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924867849238067200,"note":"Value kept but may cause issues"} 
[2026-07-25 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784974949000,"timestamp_ms":1784974949000,"timestamp_seconds":1784974949,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cc3a88"} 
[2026-07-25 15:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-25 15:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953585152001,"66":11352,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924867849238067200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953585152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:53:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924867849238067200,"description":"Unknown IO ID 45"} 
[2026-07-25 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953585152001,"power":11352,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924867849238067200}} 
[2026-07-25 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":142161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:53:55] local.INFO: GPS data processed {"connection_id":142161,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:53:55] local.INFO: Acknowledgment sent {"connection_id":142161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:53:59] local.INFO: TCP Data received {"connection_id":143539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143539,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:53:59] local.INFO: Processing buffer {"connection_id":143539,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:53:59] local.INFO: IMEI packet received {"connection_id":143539,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":143539,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:54:00] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:00] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:00] local.INFO: IMEI packet received {"connection_id":141127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":141127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:54:00] local.INFO: TCP Data received {"connection_id":143539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:54:00] local.INFO: Processing buffer {"connection_id":143539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:54:00] local.INFO: Packet analysis {"connection_id":143539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:54:00] local.INFO: Extracted packet for processing {"connection_id":143539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":143539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:54:00] local.INFO: GPS data processed {"connection_id":143539,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:54:00] local.INFO: Acknowledgment sent {"connection_id":143539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:54:05] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:05] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:05] local.INFO: IMEI packet received {"connection_id":141127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":141127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:54:06] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:54:06] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:54:06] local.INFO: Packet analysis {"connection_id":141127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:54:06] local.INFO: Extracted packet for processing {"connection_id":141127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:54:06] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:54:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":141127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:54:06] local.INFO: GPS data processed {"connection_id":141127,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:54:06] local.INFO: Acknowledgment sent {"connection_id":141127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:54:10] local.INFO: TCP Data received {"connection_id":141127,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:54:10] local.INFO: Processing buffer {"connection_id":141127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:54:10] local.INFO: Packet analysis {"connection_id":141127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:54:10] local.INFO: Extracted packet for processing {"connection_id":141127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:54:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:54:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":141127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:54:10] local.INFO: GPS data processed {"connection_id":141127,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:54:10] local.INFO: Acknowledgment sent {"connection_id":141127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:54:26] local.INFO: TCP Data received {"connection_id":142161,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cc3a88012d7bdb8005dd23b80001009b27..."} 
[2026-07-25 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cc3a88012d7bdb8005dd23b80001009b27..."} 
[2026-07-25 15:54:26] local.INFO: Processing buffer {"connection_id":142161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cc3a88012d7bdb8005dd23b80001009b27..."} 
[2026-07-25 15:54:26] local.INFO: Packet analysis {"connection_id":142161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:54:26] local.INFO: Extracted packet for processing {"connection_id":142161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763091840,"raw_latitude":98378680,"longitude_deg":76.309184,"latitude_deg":9.837868,"altitude":1,"angle":155,"satellites":39,"speed":0,"hex_longitude":"2d7bdb80","hex_latitude":"05dd23b8","is_valid_coordinates":true} 
[2026-07-25 15:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953586944001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924867849238067200,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784974949000,"timestamp_ms":1784974949000,"timestamp_seconds":1784974949,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cc3a88"} 
[2026-07-25 15:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 15:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953586944001,"66":11352,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924867849238067200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953586944001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:54:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924867849238067200,"description":"Unknown IO ID 45"} 
[2026-07-25 15:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953586944001,"power":11352,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924867849238067200}} 
[2026-07-25 15:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":142161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:54:27] local.INFO: GPS data processed {"connection_id":142161,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:54:27] local.INFO: Acknowledgment sent {"connection_id":142161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:54:31] local.INFO: TCP Data received {"connection_id":143539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:54:31] local.INFO: Processing buffer {"connection_id":143539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:54:31] local.INFO: Packet analysis {"connection_id":143539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:54:31] local.INFO: Extracted packet for processing {"connection_id":143539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143539,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:54:31] 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-07-25 15:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":143539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:54:31] local.INFO: GPS data processed {"connection_id":143539,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:54:31] local.INFO: Acknowledgment sent {"connection_id":143539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:54:49] local.INFO: TCP Data received {"connection_id":142162,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:54:49] local.INFO: Processing buffer {"connection_id":142162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:54:49] local.INFO: IMEI packet received {"connection_id":142162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":142162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:54:54] local.INFO: TCP Data received {"connection_id":142162,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:54:54] local.INFO: Processing buffer {"connection_id":142162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:54:54] local.INFO: IMEI packet received {"connection_id":142162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":142162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:54:54] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:54:54] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:54:54] local.INFO: IMEI packet received {"connection_id":141128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":141128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:54:55] local.INFO: TCP Data received {"connection_id":143538,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:54:55] local.INFO: Processing buffer {"connection_id":143538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 15:54:55] local.INFO: IMEI packet received {"connection_id":143538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":143538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:54:55] local.INFO: TCP Data received {"connection_id":142162,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cd24e8012d7bd98005dd23980001009b29..."} 
[2026-07-25 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cd24e8012d7bd98005dd23980001009b29..."} 
[2026-07-25 15:54:55] local.INFO: Processing buffer {"connection_id":142162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cd24e8012d7bd98005dd23980001009b29..."} 
[2026-07-25 15:54:55] local.INFO: Packet analysis {"connection_id":142162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:54:55] local.INFO: Extracted packet for processing {"connection_id":142162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763091328,"raw_latitude":98378648,"longitude_deg":76.3091328,"latitude_deg":9.8378648,"altitude":1,"angle":155,"satellites":41,"speed":0,"hex_longitude":"2d7bd980","hex_latitude":"05dd2398","is_valid_coordinates":true} 
[2026-07-25 15:54: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-07-25 15:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953586944001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924867849238067200,"note":"Value kept but may cause issues"} 
[2026-07-25 15:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975009000,"timestamp_ms":1784975009000,"timestamp_seconds":1784975009,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cd24e8"} 
[2026-07-25 15:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 15:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953586944001,"66":12428,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924867849238067200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953586944001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924867849238067200,"description":"Unknown IO ID 45"} 
[2026-07-25 15:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953586944001,"power":12428,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924867849238067200}} 
[2026-07-25 15:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":142162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:54:55] local.INFO: GPS data processed {"connection_id":142162,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:54:55] local.INFO: Acknowledgment sent {"connection_id":142162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:54:55] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:55] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:54:55] local.INFO: IMEI packet received {"connection_id":141187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":141187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:54:59] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:54:59] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:54:59] local.INFO: IMEI packet received {"connection_id":141128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":141128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:55:00] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:55:00] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:55:00] local.INFO: Packet analysis {"connection_id":141128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:55:00] local.INFO: Extracted packet for processing {"connection_id":141128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":141128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:55:00] local.INFO: GPS data processed {"connection_id":141128,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:55:00] local.INFO: Acknowledgment sent {"connection_id":141128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:55:00] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:55:00] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:55:00] local.INFO: IMEI packet received {"connection_id":141187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":141187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:55:01] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:55:01] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:55:01] local.INFO: Packet analysis {"connection_id":141187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:55:01] local.INFO: Extracted packet for processing {"connection_id":141187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:55:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:55:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":141187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:55:01] local.INFO: GPS data processed {"connection_id":141187,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:55:01] local.INFO: Acknowledgment sent {"connection_id":141187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:55:26] local.INFO: TCP Data received {"connection_id":142162,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cd24e8012d7bd98005dd23980001009b29..."} 
[2026-07-25 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cd24e8012d7bd98005dd23980001009b29..."} 
[2026-07-25 15:55:26] local.INFO: Processing buffer {"connection_id":142162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cd24e8012d7bd98005dd23980001009b29..."} 
[2026-07-25 15:55:26] local.INFO: Packet analysis {"connection_id":142162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:55:26] local.INFO: Extracted packet for processing {"connection_id":142162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763091328,"raw_latitude":98378648,"longitude_deg":76.3091328,"latitude_deg":9.8378648,"altitude":1,"angle":155,"satellites":41,"speed":0,"hex_longitude":"2d7bd980","hex_latitude":"05dd2398","is_valid_coordinates":true} 
[2026-07-25 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953602304001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924304899284637696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975009000,"timestamp_ms":1784975009000,"timestamp_seconds":1784975009,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cd24e8"} 
[2026-07-25 15:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 15:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953602304001,"66":12428,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924304899284637696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953602304001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:55:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924304899284637696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953602304001,"power":12428,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924304899284637696}} 
[2026-07-25 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":142162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:55:26] local.INFO: GPS data processed {"connection_id":142162,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:55:26] local.INFO: Acknowledgment sent {"connection_id":142162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:55:31] local.INFO: TCP Data received {"connection_id":141128,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:55:31] local.INFO: Processing buffer {"connection_id":141128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:55:31] local.INFO: Packet analysis {"connection_id":141128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:55:31] local.INFO: Extracted packet for processing {"connection_id":141128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:55:31] 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-07-25 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":141128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:55:31] local.INFO: GPS data processed {"connection_id":141128,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:55:31] local.INFO: Acknowledgment sent {"connection_id":141128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:55:32] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:55:32] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:55:32] local.INFO: Packet analysis {"connection_id":141187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:55:32] local.INFO: Extracted packet for processing {"connection_id":141187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:55: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-07-25 15:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:55:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:55:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":141187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:55:32] local.INFO: GPS data processed {"connection_id":141187,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:55:32] local.INFO: Acknowledgment sent {"connection_id":141187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:55:49] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:55:49] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:55:49] local.INFO: IMEI packet received {"connection_id":143540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":143540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:55:54] local.INFO: TCP Data received {"connection_id":143541,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:55:54] local.INFO: Processing buffer {"connection_id":143541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:55:54] local.INFO: IMEI packet received {"connection_id":143541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":143541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:55:54] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:55:54] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:55:54] local.INFO: IMEI packet received {"connection_id":143540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":143540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:55:55] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cd82a8012d7bdb8005dd23b80001009b29..."} 
[2026-07-25 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cd82a8012d7bdb8005dd23b80001009b29..."} 
[2026-07-25 15:55:55] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cd82a8012d7bdb8005dd23b80001009b29..."} 
[2026-07-25 15:55:55] local.INFO: Packet analysis {"connection_id":143540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:55:55] local.INFO: Extracted packet for processing {"connection_id":143540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763091840,"raw_latitude":98378680,"longitude_deg":76.309184,"latitude_deg":9.837868,"altitude":1,"angle":155,"satellites":41,"speed":0,"hex_longitude":"2d7bdb80","hex_latitude":"05dd23b8","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953602304001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273478598328320,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924304899284637696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975033000,"timestamp_ms":1784975033000,"timestamp_seconds":1784975033,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cd82a8"} 
[2026-07-25 15:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 15:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953602304001,"66":11167,"169":206,"85":15104,"24":0,"16":110273478598328320,"45":8924304899284637696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953602304001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:55:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273478598328320,"km_value":110273478598328.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924304899284637696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953602304001,"power":11167,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924304899284637696}} 
[2026-07-25 15:55:55] local.INFO: TCP Data received {"connection_id":142163,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":143540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:55:55] local.INFO: Processing buffer {"connection_id":142163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:55:55] local.INFO: GPS data processed {"connection_id":143540,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:55:55] local.INFO: IMEI packet received {"connection_id":142163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:55:55] local.INFO: Acknowledgment sent {"connection_id":143540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":142163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:55:59] local.INFO: TCP Data received {"connection_id":143541,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:55:59] local.INFO: Processing buffer {"connection_id":143541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:55:59] local.INFO: IMEI packet received {"connection_id":143541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":143541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:56:00] local.INFO: TCP Data received {"connection_id":142163,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:56:00] local.INFO: Processing buffer {"connection_id":142163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:56:00] local.INFO: IMEI packet received {"connection_id":142163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":142163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:56:00] local.INFO: TCP Data received {"connection_id":143541,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:56:00] local.INFO: Processing buffer {"connection_id":143541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ca6d98012d1ad7c007243c38003300d22b..."} 
[2026-07-25 15:56:00] local.INFO: Packet analysis {"connection_id":143541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:56:00] local.INFO: Extracted packet for processing {"connection_id":143541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ca"} 
[2026-07-25 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953479680001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974831000,"timestamp_ms":1784974831000,"timestamp_seconds":1784974831,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ca6d98"} 
[2026-07-25 15:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953479680001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953479680001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953479680001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":143541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:56:00] local.INFO: GPS data processed {"connection_id":143541,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:56:00] local.INFO: Acknowledgment sent {"connection_id":143541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:56:00] local.INFO: TCP Data received {"connection_id":142163,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:56:00] local.INFO: Processing buffer {"connection_id":142163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:56:00] local.INFO: Packet analysis {"connection_id":142163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:56:00] local.INFO: Extracted packet for processing {"connection_id":142163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:56:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:56:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":142163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:56:01] local.INFO: GPS data processed {"connection_id":142163,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:56:01] local.INFO: Acknowledgment sent {"connection_id":142163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:56:26] local.INFO: TCP Data received {"connection_id":143540,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cdc510012d7bdc8005dd24800000016529..."} 
[2026-07-25 15:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cdc510012d7bdc8005dd24800000016529..."} 
[2026-07-25 15:56:26] local.INFO: Processing buffer {"connection_id":143540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cdc510012d7bdc8005dd24800000016529..."} 
[2026-07-25 15:56:26] local.INFO: Packet analysis {"connection_id":143540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:56:26] local.INFO: Extracted packet for processing {"connection_id":143540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cd"} 
[2026-07-25 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98378880,"longitude_deg":76.3092096,"latitude_deg":9.837888,"altitude":0,"angle":357,"satellites":41,"speed":1,"hex_longitude":"2d7bdc80","hex_latitude":"05dd2480","is_valid_coordinates":true} 
[2026-07-25 15:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953608448001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273495778197504,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924867849238067200,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975050000,"timestamp_ms":1784975050000,"timestamp_seconds":1784975050,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cdc510"} 
[2026-07-25 15:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-07-25 15:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953608448001,"66":12330,"169":206,"85":15104,"24":1,"16":110273495778197504,"45":8924867849238067200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953608448001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:56:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273495778197504,"km_value":110273495778197.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924867849238067200,"description":"Unknown IO ID 45"} 
[2026-07-25 15:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953608448001,"power":12330,"unknown_169":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8924867849238067200}} 
[2026-07-25 15:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":143540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:56:26] local.INFO: GPS data processed {"connection_id":143540,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:56:26] local.INFO: Acknowledgment sent {"connection_id":143540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:56:31] local.INFO: TCP Data received {"connection_id":143541,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:56:31] local.INFO: Processing buffer {"connection_id":143541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:56:31] local.INFO: Packet analysis {"connection_id":143541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cf"} 
[2026-07-25 15:56:31] local.INFO: Extracted packet for processing {"connection_id":143541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cf"} 
[2026-07-25 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953556736001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784975132000,"timestamp_ms":1784975132000,"timestamp_seconds":1784975132,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cf0560"} 
[2026-07-25 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-07-25 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:56:31] 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-07-25 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953556736001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953556736001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953556736001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:56:32] local.INFO: TCP Data received {"connection_id":142163,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:56:32] local.INFO: Processing buffer {"connection_id":142163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:56:32] local.INFO: Packet analysis {"connection_id":142163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:56:32] local.INFO: Extracted packet for processing {"connection_id":142163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:56: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-07-25 15:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:56:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:56:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":142163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:56:32] local.INFO: GPS data processed {"connection_id":142163,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:56:32] local.INFO: Acknowledgment sent {"connection_id":142163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":143541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:56:32] local.INFO: GPS data processed {"connection_id":143541,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:56:32] local.INFO: Acknowledgment sent {"connection_id":143541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:56:49] local.INFO: TCP Data received {"connection_id":142164,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:56:49] local.INFO: Processing buffer {"connection_id":142164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:56:49] local.INFO: IMEI packet received {"connection_id":142164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":142164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:56:54] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:56:54] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:56:54] local.INFO: IMEI packet received {"connection_id":141188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":141188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:56:54] local.INFO: TCP Data received {"connection_id":142164,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:56:54] local.INFO: Processing buffer {"connection_id":142164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:56:54] local.INFO: IMEI packet received {"connection_id":142164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":142164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:56:55] local.INFO: TCP Data received {"connection_id":142164,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ce1718012d7bdc8005dd24900000016528..."} 
[2026-07-25 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ce1718012d7bdc8005dd24900000016528..."} 
[2026-07-25 15:56:55] local.INFO: Processing buffer {"connection_id":142164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ce1718012d7bdc8005dd24900000016528..."} 
[2026-07-25 15:56:55] local.INFO: Packet analysis {"connection_id":142164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:56:55] local.INFO: Extracted packet for processing {"connection_id":142164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98378896,"longitude_deg":76.3092096,"latitude_deg":9.8378896,"altitude":0,"angle":357,"satellites":40,"speed":0,"hex_longitude":"2d7bdc80","hex_latitude":"05dd2490","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953612800001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273495778197504,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324214829056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975071000,"timestamp_ms":1784975071000,"timestamp_seconds":1784975071,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ce1718"} 
[2026-07-25 15:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-25 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953612800001,"66":12863,"169":206,"85":15104,"24":0,"16":110273495778197504,"45":8925149324214829056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953612800001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:56:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273495778197504,"km_value":110273495778197.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324214829056,"description":"Unknown IO ID 45"} 
[2026-07-25 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953612800001,"power":12863,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925149324214829056}} 
[2026-07-25 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":142164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:56:55] local.INFO: GPS data processed {"connection_id":142164,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:56:55] local.INFO: Acknowledgment sent {"connection_id":142164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:56:55] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:56:55] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:56:55] local.INFO: IMEI packet received {"connection_id":141189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":141189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:56:59] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:56:59] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:56:59] local.INFO: IMEI packet received {"connection_id":141188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":141188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:57:00] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:57:00] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:57:00] local.INFO: Packet analysis {"connection_id":141188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cf"} 
[2026-07-25 15:57:00] local.INFO: Extracted packet for processing {"connection_id":141188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cf"} 
[2026-07-25 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953556736001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784975132000,"timestamp_ms":1784975132000,"timestamp_seconds":1784975132,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cf0560"} 
[2026-07-25 15:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953556736001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953556736001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953556736001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":141188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:57:00] local.INFO: GPS data processed {"connection_id":141188,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:57:00] local.INFO: Acknowledgment sent {"connection_id":141188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:57:00] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:57:00] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:57:00] local.INFO: IMEI packet received {"connection_id":141189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":141189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:57:01] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:57:01] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:57:01] local.INFO: Packet analysis {"connection_id":141189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:57:01] local.INFO: Extracted packet for processing {"connection_id":141189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:57:01] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:57:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":141189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:57:01] local.INFO: GPS data processed {"connection_id":141189,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:57:01] local.INFO: Acknowledgment sent {"connection_id":141189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:57:26] local.INFO: TCP Data received {"connection_id":142164,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ce6920012d7bdc8005dd24900000016528..."} 
[2026-07-25 15:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ce6920012d7bdc8005dd24900000016528..."} 
[2026-07-25 15:57:26] local.INFO: Processing buffer {"connection_id":142164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ce6920012d7bdc8005dd24900000016528..."} 
[2026-07-25 15:57:26] local.INFO: Packet analysis {"connection_id":142164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:57:26] local.INFO: Extracted packet for processing {"connection_id":142164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763092096,"raw_latitude":98378896,"longitude_deg":76.3092096,"latitude_deg":9.8378896,"altitude":0,"angle":357,"satellites":40,"speed":0,"hex_longitude":"2d7bdc80","hex_latitude":"05dd2490","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953618176001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273495778197504,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324214833152,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975092000,"timestamp_ms":1784975092000,"timestamp_seconds":1784975092,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ce6920"} 
[2026-07-25 15:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 15:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953618176001,"66":12982,"169":206,"85":15104,"24":0,"16":110273495778197504,"45":8925149324214833152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953618176001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:57:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273495778197504,"km_value":110273495778197.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324214833152,"description":"Unknown IO ID 45"} 
[2026-07-25 15:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953618176001,"power":12982,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8925149324214833152}} 
[2026-07-25 15:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":142164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:57:26] local.INFO: GPS data processed {"connection_id":142164,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:57:26] local.INFO: Acknowledgment sent {"connection_id":142164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:57:31] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:57:31] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cf0560012d1ad7c007243c38003300d22a..."} 
[2026-07-25 15:57:31] local.INFO: Packet analysis {"connection_id":141188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cf"} 
[2026-07-25 15:57:31] local.INFO: Extracted packet for processing {"connection_id":141188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cf"} 
[2026-07-25 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756733888,"raw_latitude":119815224,"longitude_deg":75.6733888,"latitude_deg":11.9815224,"altitude":51,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d1ad7c0","hex_latitude":"07243c38","is_valid_coordinates":true} 
[2026-07-25 15:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953556736001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8797239778476032,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934225701884147712,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784975132000,"timestamp_ms":1784975132000,"timestamp_seconds":1784975132,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cf0560"} 
[2026-07-25 15:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 15:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 15:57:31] 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-07-25 15:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 15:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 15:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953556736001,"66":2166,"176":206,"83":42752,"24":0,"16":8797239778476032,"45":1934225701884147712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 15:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 15:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953556736001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 15:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8797239778476032,"km_value":8797239778476.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934225701884147712,"description":"Unknown IO ID 45"} 
[2026-07-25 15:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953556736001,"power":2166,"unknown_176":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1934225701884147712}} 
[2026-07-25 15:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":141188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:57:31] local.INFO: GPS data processed {"connection_id":141188,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:57:31] local.INFO: Acknowledgment sent {"connection_id":141188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:57:32] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:57:32] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:57:32] local.INFO: Packet analysis {"connection_id":141189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:57:32] local.INFO: Extracted packet for processing {"connection_id":141189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:57: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-07-25 15:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:57:32] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:57:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":141189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:57:32] local.INFO: GPS data processed {"connection_id":141189,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:57:32] local.INFO: Acknowledgment sent {"connection_id":141189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:57:54] local.INFO: TCP Data received {"connection_id":143544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:57:54] local.INFO: Processing buffer {"connection_id":143544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:57:54] local.INFO: IMEI packet received {"connection_id":143544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":143544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:57:54] local.INFO: TCP Data received {"connection_id":143545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:57:54] local.INFO: Processing buffer {"connection_id":143545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:57:54] local.INFO: IMEI packet received {"connection_id":143545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 15:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":143545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:57:59] local.INFO: TCP Data received {"connection_id":143544,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143544,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:57:59] local.INFO: Processing buffer {"connection_id":143544,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:57:59] local.INFO: IMEI packet received {"connection_id":143544,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":143544,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:57:59] local.INFO: TCP Data received {"connection_id":143545,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:57:59] local.INFO: Processing buffer {"connection_id":143545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 15:57:59] local.INFO: IMEI packet received {"connection_id":143545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 15:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":143545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:57:59] local.INFO: TCP Data received {"connection_id":143544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cebb28012d7bdbc005dd26380001016628..."} 
[2026-07-25 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cebb28012d7bdbc005dd26380001016628..."} 
[2026-07-25 15:57:59] local.INFO: Processing buffer {"connection_id":143544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cebb28012d7bdbc005dd26380001016628..."} 
[2026-07-25 15:57:59] local.INFO: Packet analysis {"connection_id":143544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:57:59] local.INFO: Extracted packet for processing {"connection_id":143544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763091904,"raw_latitude":98379320,"longitude_deg":76.3091904,"latitude_deg":9.837932,"altitude":1,"angle":358,"satellites":40,"speed":2,"hex_longitude":"2d7bdbc0","hex_latitude":"05dd2638","is_valid_coordinates":true} 
[2026-07-25 15: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-07-25 15:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953623552001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273525842968576,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925149324214833152,"note":"Value kept but may cause issues"} 
[2026-07-25 15:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784975113000,"timestamp_ms":1784975113000,"timestamp_seconds":1784975113,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cebb28"} 
[2026-07-25 15:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 15:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15: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-07-25 15:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953623552001,"66":13080,"169":206,"85":15104,"24":2,"16":110273525842968576,"45":8925149324214833152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953623552001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:57:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:57:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273525842968576,"km_value":110273525842968.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925149324214833152,"description":"Unknown IO ID 45"} 
[2026-07-25 15:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953623552001,"power":13080,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8925149324214833152}} 
[2026-07-25 15:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":143544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:57:59] local.INFO: GPS data processed {"connection_id":143544,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:57:59] local.INFO: Acknowledgment sent {"connection_id":143544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:58:00] local.INFO: TCP Data received {"connection_id":142165,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:00] local.INFO: Processing buffer {"connection_id":142165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:00] local.INFO: IMEI packet received {"connection_id":142165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":142165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:58:05] local.INFO: TCP Data received {"connection_id":143544,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ceda68012d7bdb0005dd27e80001014828..."} 
[2026-07-25 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ceda68012d7bdb0005dd27e80001014828..."} 
[2026-07-25 15:58:05] local.INFO: Processing buffer {"connection_id":143544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ceda68012d7bdb0005dd27e80001014828..."} 
[2026-07-25 15:58:05] local.INFO: Packet analysis {"connection_id":143544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:58:05] local.INFO: Extracted packet for processing {"connection_id":143544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763091712,"raw_latitude":98379752,"longitude_deg":76.3091712,"latitude_deg":9.8379752,"altitude":1,"angle":328,"satellites":40,"speed":3,"hex_longitude":"2d7bdb00","hex_latitude":"05dd27e8","is_valid_coordinates":true} 
[2026-07-25 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953628928001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273547317805056,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924938217982408704,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784975121000,"timestamp_ms":1784975121000,"timestamp_seconds":1784975121,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ceda68"} 
[2026-07-25 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 15:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143544,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953628928001,"66":12885,"169":206,"85":15104,"24":3,"16":110273547317805056,"45":8924938217982408704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953628928001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273547317805056,"km_value":110273547317805.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924938217982408704,"description":"Unknown IO ID 45"} 
[2026-07-25 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953628928001,"power":12885,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8924938217982408704}} 
[2026-07-25 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":143544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:58:05] local.INFO: GPS data processed {"connection_id":143544,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:58:05] local.INFO: Acknowledgment sent {"connection_id":143544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:58:05] local.INFO: TCP Data received {"connection_id":142165,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:05] local.INFO: Processing buffer {"connection_id":142165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:05] local.INFO: IMEI packet received {"connection_id":142165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":142165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:58:06] local.INFO: TCP Data received {"connection_id":142165,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:58:06] local.INFO: Processing buffer {"connection_id":142165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:58:06] local.INFO: Packet analysis {"connection_id":142165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:58:06] local.INFO: Extracted packet for processing {"connection_id":142165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":142165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:58:06] local.INFO: GPS data processed {"connection_id":142165,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:58:06] local.INFO: Acknowledgment sent {"connection_id":142165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:58:10] local.INFO: TCP Data received {"connection_id":142165,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:58:10] local.INFO: Processing buffer {"connection_id":142165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cce668012db9678005e74748001f004129..."} 
[2026-07-25 15:58:10] local.INFO: Packet analysis {"connection_id":142165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:58:10] local.INFO: Extracted packet for processing {"connection_id":142165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98cc"} 
[2026-07-25 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953521152001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784974993000,"timestamp_ms":1784974993000,"timestamp_seconds":1784974993,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cce668"} 
[2026-07-25 15:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 15:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953521152001,"66":25756,"22":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,92,24,16,45]} 
[2026-07-25 15:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953521152001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:58:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-07-25 15:58:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953521152001,"power":25756,"unknown_22":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":142165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:58:10] local.INFO: GPS data processed {"connection_id":142165,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:58:10] local.INFO: Acknowledgment sent {"connection_id":142165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:58:49] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:58:49] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:58:49] local.INFO: IMEI packet received {"connection_id":143546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":143546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:58:52] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:52] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:52] local.INFO: IMEI packet received {"connection_id":143547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":143547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:58:54] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:58:54] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:58:54] local.INFO: IMEI packet received {"connection_id":143546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":143546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:58:55] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ceedf0012d7bd94005dd29200000015a27..."} 
[2026-07-25 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ceedf0012d7bd94005dd29200000015a27..."} 
[2026-07-25 15:58:55] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ceedf0012d7bd94005dd29200000015a27..."} 
[2026-07-25 15:58:55] local.INFO: Packet analysis {"connection_id":143546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:58:55] local.INFO: Extracted packet for processing {"connection_id":143546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98380064,"longitude_deg":76.3091264,"latitude_deg":9.8380064,"altitude":0,"angle":346,"satellites":39,"speed":3,"hex_longitude":"2d7bd940","hex_latitude":"05dd2920","is_valid_coordinates":true} 
[2026-07-25 15:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953630976001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273573087608832,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924727111749986304,"note":"Value kept but may cause issues"} 
[2026-07-25 15:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975126000,"timestamp_ms":1784975126000,"timestamp_seconds":1784975126,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ceedf0"} 
[2026-07-25 15:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 15:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953630976001,"66":13059,"169":206,"85":15104,"24":3,"16":110273573087608832,"45":8924727111749986304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953630976001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273573087608832,"km_value":110273573087608.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924727111749986304,"description":"Unknown IO ID 45"} 
[2026-07-25 15:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953630976001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8924727111749986304}} 
[2026-07-25 15:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":143546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:58:55] local.INFO: GPS data processed {"connection_id":143546,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:58:55] local.INFO: Acknowledgment sent {"connection_id":143546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:58:56] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:56] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:58:56] local.INFO: IMEI packet received {"connection_id":143547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":143547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:59:00] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:59:00] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:59:00] local.INFO: IMEI packet received {"connection_id":143547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 15:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":143547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:59:01] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:01] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:01] local.INFO: Packet analysis {"connection_id":143547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 15:59:01] local.INFO: Extracted packet for processing {"connection_id":143547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953598208001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784975294000,"timestamp_ms":1784975294000,"timestamp_seconds":1784975294,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d17e30"} 
[2026-07-25 15:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 15:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953598208001,"66":25625,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953598208001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:59:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:59:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953598208001,"power":25625,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":143547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:59:01] local.INFO: GPS data processed {"connection_id":143547,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:59:01] local.INFO: Acknowledgment sent {"connection_id":143547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:59:06] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:06] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:06] local.INFO: Packet analysis {"connection_id":143547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 15:59:06] local.INFO: Extracted packet for processing {"connection_id":143547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 15:59:06] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953598208001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784975294000,"timestamp_ms":1784975294000,"timestamp_seconds":1784975294,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d17e30"} 
[2026-07-25 15:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 15:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953598208001,"66":25625,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953598208001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:59:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:59:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953598208001,"power":25625,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":143547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:59:06] local.INFO: GPS data processed {"connection_id":143547,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:59:06] local.INFO: Acknowledgment sent {"connection_id":143547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:59:26] local.INFO: TCP Data received {"connection_id":143546,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 15:59:26] local.INFO: Processing buffer {"connection_id":143546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 15:59:26] local.INFO: Packet analysis {"connection_id":143546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:59:26] local.INFO: Extracted packet for processing {"connection_id":143546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98380120,"longitude_deg":76.3091264,"latitude_deg":9.838012,"altitude":0,"angle":352,"satellites":40,"speed":2,"hex_longitude":"2d7bd940","hex_latitude":"05dd2958","is_valid_coordinates":true} 
[2026-07-25 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632256001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540822528,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975127000,"timestamp_ms":1784975127000,"timestamp_seconds":1784975127,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cef1d8"} 
[2026-07-25 15:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 15:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303131270368686,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563605160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3457619969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710105600,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,169,85,24,241,157,16,197,159,218,45,39,1,40,10,66,187,192,38,105,128,240,182,227,152,221,4,113,205,220,41,239,48,2,135,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 15:59:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":380598527131648,"timestamp_seconds":380598527131.648,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632256001,"66":13059,"169":206,"85":15104,"24":2,"16":110273577382576128,"45":8924234530540822528},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632256001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:59:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540822528,"description":"Unknown IO ID 45"} 
[2026-07-25 15:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632256001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8924234530540822528}} 
[2026-07-25 15:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":143546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:59:26] local.INFO: GPS data processed {"connection_id":143546,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:59:26] local.INFO: Acknowledgment sent {"connection_id":143546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:59:37] local.INFO: TCP Data received {"connection_id":143547,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:37] local.INFO: Processing buffer {"connection_id":143547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 15:59:37] local.INFO: Packet analysis {"connection_id":143547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 15:59:37] local.INFO: Extracted packet for processing {"connection_id":143547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953598208001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784975294000,"timestamp_ms":1784975294000,"timestamp_seconds":1784975294,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d17e30"} 
[2026-07-25 15:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 15:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 15:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 15:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 15:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 15:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 15:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953598208001,"66":25625,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 15:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 15:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 15:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953598208001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:59:37] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 15:59:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 15:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 15:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953598208001,"power":25625,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 15:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":143547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:59:37] local.INFO: GPS data processed {"connection_id":143547,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:59:37] local.INFO: Acknowledgment sent {"connection_id":143547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:59:49] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:59:49] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:59:49] local.INFO: IMEI packet received {"connection_id":141130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 15:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":141130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 15:59:54] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:59:54] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 15:59:54] local.INFO: IMEI packet received {"connection_id":141130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 15:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":141130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 15:59:55] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 15:59:55] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 15:59:55] local.INFO: Packet analysis {"connection_id":141130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:59:55] local.INFO: Extracted packet for processing {"connection_id":141130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98380120,"longitude_deg":76.3091264,"latitude_deg":9.838012,"altitude":0,"angle":352,"satellites":40,"speed":2,"hex_longitude":"2d7bd940","hex_latitude":"05dd2958","is_valid_coordinates":true} 
[2026-07-25 15:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 15:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975127000,"timestamp_ms":1784975127000,"timestamp_seconds":1784975127,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cef1d8"} 
[2026-07-25 15:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 15:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 15: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150782270894,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399425,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563622160,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3462995969,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710156800,"note":"Value kept but may cause issues"} 
[2026-07-25 15:59:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,169,85,24,241,157,16,197,159,237,45,64,41,39,10,66,218,1,40,187,192,240,227,152,221,4,113,205,23,220,144,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 15:59:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800303,"timestamp_seconds":387199891800.303,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 15:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 15:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 15:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 15:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 15:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 15:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 15:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 15:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":13059,"169":206,"85":15104,"24":2,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 15:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 15:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 15:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 15:59:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 15:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 15:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 15:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 15:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 15:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":141130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 15:59:55] local.INFO: GPS data processed {"connection_id":141130,"processed":1,"errors":0,"total":1} 
[2026-07-25 15:59:55] local.INFO: Acknowledgment sent {"connection_id":141130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 15:59:55] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:59:55] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 15:59:55] local.INFO: IMEI packet received {"connection_id":141190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 15:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":141190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:00:00] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:00:00] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:00:00] local.INFO: IMEI packet received {"connection_id":141190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":141190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:00:00] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:00:00] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:00:00] local.INFO: Packet analysis {"connection_id":141190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 16:00:00] local.INFO: Extracted packet for processing {"connection_id":141190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953598208001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784975294000,"timestamp_ms":1784975294000,"timestamp_seconds":1784975294,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d17e30"} 
[2026-07-25 16:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 16:00: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-07-25 16:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953598208001,"66":25625,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953598208001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953598208001,"power":25625,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 16:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":141190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:00:00] local.INFO: GPS data processed {"connection_id":141190,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:00:00] local.INFO: Acknowledgment sent {"connection_id":141190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:00:26] local.INFO: TCP Data received {"connection_id":141130,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 16:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 16:00:26] local.INFO: Processing buffer {"connection_id":141130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98cef1d8012d7bd94005dd29580000016028..."} 
[2026-07-25 16:00:26] local.INFO: Packet analysis {"connection_id":141130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 16:00:26] local.INFO: Extracted packet for processing {"connection_id":141130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ce"} 
[2026-07-25 16:00:26] local.INFO: GPS Element Parsed {"raw_longitude":763091264,"raw_latitude":98380120,"longitude_deg":76.3091264,"latitude_deg":9.838012,"altitude":0,"angle":352,"satellites":40,"speed":2,"hex_longitude":"2d7bd940","hex_latitude":"05dd2958","is_valid_coordinates":true} 
[2026-07-25 16:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975127000,"timestamp_ms":1784975127000,"timestamp_seconds":1784975127,"priority":1,"record_length":96,"hex_timestamp":"0000019f98cef1d8"} 
[2026-07-25 16:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150782270894,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399425,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563622160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3462995969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710156800,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:26] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,169,85,24,241,157,16,197,159,237,45,64,41,39,10,66,218,1,40,187,192,240,227,152,221,4,113,205,23,220,144,239,50,2,135,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:00:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800303,"timestamp_seconds":387199891800.303,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":13059,"169":206,"85":15104,"24":2,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:00:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":141130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:00:26] local.INFO: GPS data processed {"connection_id":141130,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:00:26] local.INFO: Acknowledgment sent {"connection_id":141130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:00:29] local.INFO: TCP Data received {"connection_id":141129,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:00:29] local.INFO: Processing buffer {"connection_id":141129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:00:29] local.INFO: IMEI packet received {"connection_id":141129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":141129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:00:31] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:00:31] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:00:31] local.INFO: Packet analysis {"connection_id":141190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 16:00:31] local.INFO: Extracted packet for processing {"connection_id":141190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953598208001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784975294000,"timestamp_ms":1784975294000,"timestamp_seconds":1784975294,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d17e30"} 
[2026-07-25 16:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 16:00: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-07-25 16: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-07-25 16:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953598208001,"66":25625,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953598208001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953598208001,"power":25625,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 16:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":141190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:00:31] local.INFO: GPS data processed {"connection_id":141190,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:00:31] local.INFO: Acknowledgment sent {"connection_id":141190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:00:49] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:00:49] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:00:49] local.INFO: IMEI packet received {"connection_id":143548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":143548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:00:54] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:00:54] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:00:54] local.INFO: IMEI packet received {"connection_id":143548,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":143548,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:00:55] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:00:55] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:00:55] local.INFO: Packet analysis {"connection_id":143548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:00:55] local.INFO: Extracted packet for processing {"connection_id":143548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:00:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:00:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:00:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":143548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:00:55] local.INFO: GPS data processed {"connection_id":143548,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:00:55] local.INFO: Acknowledgment sent {"connection_id":143548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:00:55] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:00:55] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:00:55] local.INFO: IMEI packet received {"connection_id":143549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":143549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:01:01] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:01:01] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:01:01] local.INFO: IMEI packet received {"connection_id":143549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":143549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:01:02] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:01:02] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d17e30012db9678005e74748001f004128..."} 
[2026-07-25 16:01:02] local.INFO: Packet analysis {"connection_id":143549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 16:01:02] local.INFO: Extracted packet for processing {"connection_id":143549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d1"} 
[2026-07-25 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 16:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953598208001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784975294000,"timestamp_ms":1784975294000,"timestamp_seconds":1784975294,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d17e30"} 
[2026-07-25 16:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 16:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953598208001,"66":25625,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953598208001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953598208001,"power":25625,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 16:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":143549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:01:02] local.INFO: GPS data processed {"connection_id":143549,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:01:02] local.INFO: Acknowledgment sent {"connection_id":143549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:01:26] local.INFO: TCP Data received {"connection_id":143548,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:01:26] local.INFO: Processing buffer {"connection_id":143548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:01:26] local.INFO: Packet analysis {"connection_id":143548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:01:26] local.INFO: Extracted packet for processing {"connection_id":143548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:26] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:01:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143548,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:01:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":143548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:01:26] local.INFO: GPS data processed {"connection_id":143548,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:01:26] local.INFO: Acknowledgment sent {"connection_id":143548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:01:33] local.INFO: TCP Data received {"connection_id":143549,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d381d0012db9678005e74748001f004128..."} 
[2026-07-25 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d381d0012db9678005e74748001f004128..."} 
[2026-07-25 16:01:33] local.INFO: Processing buffer {"connection_id":143549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d381d0012db9678005e74748001f004128..."} 
[2026-07-25 16:01:33] local.INFO: Packet analysis {"connection_id":143549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:01:33] local.INFO: Extracted packet for processing {"connection_id":143549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":767125376,"raw_latitude":99043144,"longitude_deg":76.7125376,"latitude_deg":9.9043144,"altitude":31,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2db96780","hex_latitude":"05e74748","is_valid_coordinates":true} 
[2026-07-25 16:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953675264001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784975426000,"timestamp_ms":1784975426000,"timestamp_seconds":1784975426,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d381d0"} 
[2026-07-25 16:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":25,"data_length":795,"current_offset":136} 
[2026-07-25 16:01: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-07-25 16:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953675264001,"66":25582,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953675264001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:01:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:01:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953675264001,"power":25582,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 16:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":143549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:01:33] local.INFO: GPS data processed {"connection_id":143549,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:01:33] local.INFO: Acknowledgment sent {"connection_id":143549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:01:49] local.INFO: TCP Data received {"connection_id":143550,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:01:49] local.INFO: Processing buffer {"connection_id":143550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:01:49] local.INFO: IMEI packet received {"connection_id":143550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":143550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:01:54] local.INFO: TCP Data received {"connection_id":143550,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:01:54] local.INFO: Processing buffer {"connection_id":143550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:01:54] local.INFO: IMEI packet received {"connection_id":143550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":143550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:01:54] local.INFO: TCP Data received {"connection_id":143550,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:01:54] local.INFO: Processing buffer {"connection_id":143550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:01:54] local.INFO: Packet analysis {"connection_id":143550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:01:54] local.INFO: Extracted packet for processing {"connection_id":143550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 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-07-25 16:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:01:54] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:01:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 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-07-25 16:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:01:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":143550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:01:54] local.INFO: GPS data processed {"connection_id":143550,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:01:54] local.INFO: Acknowledgment sent {"connection_id":143550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:02:00] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:00] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:00] local.INFO: IMEI packet received {"connection_id":141131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":141131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:02:03] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:03] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:03] local.INFO: IMEI packet received {"connection_id":141131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":141131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:02:04] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d3d7c0012db96e8005e747d0001f004229..."} 
[2026-07-25 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d3d7c0012db96e8005e747d0001f004229..."} 
[2026-07-25 16:02:04] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d3d7c0012db96e8005e747d0001f004229..."} 
[2026-07-25 16:02:04] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:02:04] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":767127168,"raw_latitude":99043280,"longitude_deg":76.7127168,"latitude_deg":9.904328,"altitude":31,"angle":66,"satellites":41,"speed":0,"hex_longitude":"2db96e80","hex_latitude":"05e747d0","is_valid_coordinates":true} 
[2026-07-25 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953709056001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5086956491248285696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784975448000,"timestamp_ms":1784975448000,"timestamp_seconds":1784975448,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d3d7c0"} 
[2026-07-25 16:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 16:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953709056001,"66":27463,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5086956491248285696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953709056001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:02:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:02:04] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5086956491248285696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953709056001,"power":27463,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5086956491248285696}} 
[2026-07-25 16:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:02:04] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:02:04] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:02:05] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d429c8012db96e8005e747d0001f004228..."} 
[2026-07-25 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d429c8012db96e8005e747d0001f004228..."} 
[2026-07-25 16:02:05] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d429c8012db96e8005e747d0001f004228..."} 
[2026-07-25 16:02:05] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:02:05] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":767127168,"raw_latitude":99043280,"longitude_deg":76.7127168,"latitude_deg":9.904328,"altitude":31,"angle":66,"satellites":40,"speed":0,"hex_longitude":"2db96e80","hex_latitude":"05e747d0","is_valid_coordinates":true} 
[2026-07-25 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953714688001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867756118343680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5084986166411276288,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784975469000,"timestamp_ms":1784975469000,"timestamp_seconds":1784975469,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d429c8"} 
[2026-07-25 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 16:02: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-07-25 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953714688001,"66":27908,"23":206,"92":41728,"24":0,"16":357867756118343680,"45":-5084986166411276288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953714688001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:02:05] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:02:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867756118343680,"km_value":357867756118343.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5084986166411276288,"description":"Unknown IO ID 45"} 
[2026-07-25 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953714688001,"power":27908,"unknown_23":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5084986166411276288}} 
[2026-07-25 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:02:05] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:02:05] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:02:26] local.INFO: TCP Data received {"connection_id":143550,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:02:26] local.INFO: Processing buffer {"connection_id":143550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:02:26] local.INFO: Packet analysis {"connection_id":143550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:02:26] local.INFO: Extracted packet for processing {"connection_id":143550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:26] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:02:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:02:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":143550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:02:26] local.INFO: GPS data processed {"connection_id":143550,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:02:26] local.INFO: Acknowledgment sent {"connection_id":143550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:02:36] local.INFO: TCP Data received {"connection_id":141131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d46848012db9704005e748200024004d28..."} 
[2026-07-25 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d46848012db9704005e748200024004d28..."} 
[2026-07-25 16:02:36] local.INFO: Processing buffer {"connection_id":141131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d46848012db9704005e748200024004d28..."} 
[2026-07-25 16:02:36] local.INFO: Packet analysis {"connection_id":141131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:02:36] local.INFO: Extracted packet for processing {"connection_id":141131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":767127616,"raw_latitude":99043360,"longitude_deg":76.7127616,"latitude_deg":9.904336,"altitude":36,"angle":77,"satellites":40,"speed":3,"hex_longitude":"2db97040","hex_latitude":"05e74820","is_valid_coordinates":true} 
[2026-07-25 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953720064001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867777593180160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5084986166411276288,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784975485000,"timestamp_ms":1784975485000,"timestamp_seconds":1784975485,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d46848"} 
[2026-07-25 16:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953720064001,"66":27865,"23":206,"92":41728,"24":3,"16":357867777593180160,"45":-5084986166411276288},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953720064001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:02:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:02:36] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867777593180160,"km_value":357867777593180.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5084986166411276288,"description":"Unknown IO ID 45"} 
[2026-07-25 16:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953720064001,"power":27865,"unknown_23":206,"unknown_92":41728,"ignition":3,"odometer":null,"unknown_45":-5084986166411276288}} 
[2026-07-25 16:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":141131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:02:36] local.INFO: GPS data processed {"connection_id":141131,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:02:36] local.INFO: Acknowledgment sent {"connection_id":141131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:02:51] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:51] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:51] local.INFO: IMEI packet received {"connection_id":141192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":141192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:02:53] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:53] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:53] local.INFO: IMEI packet received {"connection_id":141192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":141192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:02:54] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:02:54] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:02:54] local.INFO: IMEI packet received {"connection_id":141191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":141191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:02:55] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:55] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:55] local.INFO: IMEI packet received {"connection_id":141192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":141192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:02:56] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:56] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:02:56] local.INFO: IMEI packet received {"connection_id":141192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":141192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:02:57] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d4e160012db9720005e74bc8002400e52a..."} 
[2026-07-25 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d4e160012db9720005e74bc8002400e52a..."} 
[2026-07-25 16:02:57] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d4e160012db9720005e74bc8002400e52a..."} 
[2026-07-25 16:02:57] local.INFO: Packet analysis {"connection_id":141192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:02:57] local.INFO: Extracted packet for processing {"connection_id":141192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:02:57] local.INFO: GPS Element Parsed {"raw_longitude":767128064,"raw_latitude":99044296,"longitude_deg":76.7128064,"latitude_deg":9.9044296,"altitude":36,"angle":229,"satellites":42,"speed":1,"hex_longitude":"2db97200","hex_latitude":"05e74bc8","is_valid_coordinates":true} 
[2026-07-25 16:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953729792001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867880672395264,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5083930635248375808,"note":"Value kept but may cause issues"} 
[2026-07-25 16:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784975516000,"timestamp_ms":1784975516000,"timestamp_seconds":1784975516,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d4e160"} 
[2026-07-25 16:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 16:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953729792001,"66":28093,"23":206,"92":41728,"24":1,"16":357867880672395264,"45":-5083930635248375808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953729792001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:02:57] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:02:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867880672395264,"km_value":357867880672395.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5083930635248375808,"description":"Unknown IO ID 45"} 
[2026-07-25 16:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953729792001,"power":28093,"unknown_23":206,"unknown_92":41728,"ignition":1,"odometer":null,"unknown_45":-5083930635248375808}} 
[2026-07-25 16:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":141192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:02:57] local.INFO: GPS data processed {"connection_id":141192,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:02:57] local.INFO: Acknowledgment sent {"connection_id":141192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:02:59] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:02:59] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:02:59] local.INFO: IMEI packet received {"connection_id":141191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":141191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:03:00] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:00] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:00] local.INFO: Packet analysis {"connection_id":141191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:03:00] local.INFO: Extracted packet for processing {"connection_id":141191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:00] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:03:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":141191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:03:00] local.INFO: GPS data processed {"connection_id":141191,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:03:00] local.INFO: Acknowledgment sent {"connection_id":141191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:03:04] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:04] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:04] local.INFO: Packet analysis {"connection_id":141191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:03:04] local.INFO: Extracted packet for processing {"connection_id":141191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:04] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:03:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":141191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:03:04] local.INFO: GPS data processed {"connection_id":141191,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:03:04] local.INFO: Acknowledgment sent {"connection_id":141191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:03:27] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d4e930012db971c005e74ba0002400d829..."} 
[2026-07-25 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d4e930012db971c005e74ba0002400d829..."} 
[2026-07-25 16:03:27] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d4e930012db971c005e74ba0002400d829..."} 
[2026-07-25 16:03:27] local.INFO: Packet analysis {"connection_id":141192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:03:27] local.INFO: Extracted packet for processing {"connection_id":141192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:03:27] local.INFO: GPS Element Parsed {"raw_longitude":767128000,"raw_latitude":99044256,"longitude_deg":76.7128,"latitude_deg":9.9044256,"altitude":36,"angle":216,"satellites":41,"speed":1,"hex_longitude":"2db971c0","hex_latitude":"05e74ba0","is_valid_coordinates":true} 
[2026-07-25 16:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953732096001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867884967362560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5084001003992528896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784975518000,"timestamp_ms":1784975518000,"timestamp_seconds":1784975518,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d4e930"} 
[2026-07-25 16:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-25 16:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953732096001,"66":27865,"23":206,"92":41728,"24":1,"16":357867884967362560,"45":-5084001003992528896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953732096001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:03:27] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:03:27] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867884967362560,"km_value":357867884967362.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5084001003992528896,"description":"Unknown IO ID 45"} 
[2026-07-25 16:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953732096001,"power":27865,"unknown_23":206,"unknown_92":41728,"ignition":1,"odometer":null,"unknown_45":-5084001003992528896}} 
[2026-07-25 16:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":141192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:03:27] local.INFO: GPS data processed {"connection_id":141192,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:03:27] local.INFO: Acknowledgment sent {"connection_id":141192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:03:49] local.INFO: TCP Data received {"connection_id":143551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:03:49] local.INFO: Processing buffer {"connection_id":143551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:03:49] local.INFO: IMEI packet received {"connection_id":143551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":143551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:03:54] local.INFO: TCP Data received {"connection_id":143551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:03:54] local.INFO: Processing buffer {"connection_id":143551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:03:54] local.INFO: IMEI packet received {"connection_id":143551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":143551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:03:54] local.INFO: TCP Data received {"connection_id":143551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:54] local.INFO: Processing buffer {"connection_id":143551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:03:54] local.INFO: Packet analysis {"connection_id":143551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:03:54] local.INFO: Extracted packet for processing {"connection_id":143551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 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-07-25 16:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:03:54] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:03:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 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-07-25 16:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:03:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":143551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:03:54] local.INFO: GPS data processed {"connection_id":143551,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:03:54] local.INFO: Acknowledgment sent {"connection_id":143551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:03:55] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:03:55] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:03:55] local.INFO: IMEI packet received {"connection_id":141194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":141194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:04:00] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:04:00] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:04:00] local.INFO: IMEI packet received {"connection_id":141194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":141194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:04:01] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d4f8d0012db9710005e74b78002400c62a..."} 
[2026-07-25 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d4f8d0012db9710005e74b78002400c62a..."} 
[2026-07-25 16:04:01] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d4f8d0012db9710005e74b78002400c62a..."} 
[2026-07-25 16:04:01] local.INFO: Packet analysis {"connection_id":141194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:04:01] local.INFO: Extracted packet for processing {"connection_id":141194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d4"} 
[2026-07-25 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":767127808,"raw_latitude":99044216,"longitude_deg":76.7127808,"latitude_deg":9.9044216,"altitude":36,"angle":198,"satellites":42,"speed":1,"hex_longitude":"2db97100","hex_latitude":"05e74b78","is_valid_coordinates":true} 
[2026-07-25 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953732608001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357867893557297152,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5084071372736716800,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784975522000,"timestamp_ms":1784975522000,"timestamp_seconds":1784975522,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d4f8d0"} 
[2026-07-25 16:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953732608001,"66":27995,"23":206,"92":41728,"24":1,"16":357867893557297152,"45":-5084071372736716800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953732608001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:04:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:04:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357867893557297152,"km_value":357867893557297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5084071372736716800,"description":"Unknown IO ID 45"} 
[2026-07-25 16:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953732608001,"power":27995,"unknown_23":206,"unknown_92":41728,"ignition":1,"odometer":null,"unknown_45":-5084071372736716800}} 
[2026-07-25 16:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":141194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:04:01] local.INFO: GPS data processed {"connection_id":141194,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:04:01] local.INFO: Acknowledgment sent {"connection_id":141194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:04:25] local.INFO: TCP Data received {"connection_id":143551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:04:25] local.INFO: Processing buffer {"connection_id":143551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:04:25] local.INFO: Packet analysis {"connection_id":143551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:04:25] local.INFO: Extracted packet for processing {"connection_id":143551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:25] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:04:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:04:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":143551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:04:25] local.INFO: GPS data processed {"connection_id":143551,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:04:25] local.INFO: Acknowledgment sent {"connection_id":143551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:04:31] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d68740012db963c005e749e00024011e2b..."} 
[2026-07-25 16:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d68740012db963c005e749e00024011e2b..."} 
[2026-07-25 16:04:31] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d68740012db963c005e749e00024011e2b..."} 
[2026-07-25 16:04:31] local.INFO: Packet analysis {"connection_id":141194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:04:31] local.INFO: Extracted packet for processing {"connection_id":141194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:04:31] local.INFO: GPS Element Parsed {"raw_longitude":767124416,"raw_latitude":99043808,"longitude_deg":76.7124416,"latitude_deg":9.9043808,"altitude":36,"angle":286,"satellites":43,"speed":8,"hex_longitude":"2db963c0","hex_latitude":"05e749e0","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953758976001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357868108305661952,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5087519441201610752,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784975624000,"timestamp_ms":1784975624000,"timestamp_seconds":1784975624,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d68740"} 
[2026-07-25 16:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 16:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953758976001,"66":27876,"23":206,"92":41728,"24":8,"16":357868108305661952,"45":-5087519441201610752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953758976001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357868108305661952,"km_value":357868108305661.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5087519441201610752,"description":"Unknown IO ID 45"} 
[2026-07-25 16:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953758976001,"power":27876,"unknown_23":206,"unknown_92":41728,"ignition":8,"odometer":null,"unknown_45":-5087519441201610752}} 
[2026-07-25 16:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":141194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:04:31] local.INFO: GPS data processed {"connection_id":141194,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:04:31] local.INFO: Acknowledgment sent {"connection_id":141194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:04:49] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:04:49] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:04:49] local.INFO: IMEI packet received {"connection_id":141195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":141195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:04:54] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:04:54] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:04:54] local.INFO: IMEI packet received {"connection_id":141195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":141195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:04:55] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:04:55] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:04:55] local.INFO: Packet analysis {"connection_id":141195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:04:55] local.INFO: Extracted packet for processing {"connection_id":141195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:04:55] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:04:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:04:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:04:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":141195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:04:55] local.INFO: GPS data processed {"connection_id":141195,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:04:55] local.INFO: Acknowledgment sent {"connection_id":141195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:04:56] local.INFO: TCP Data received {"connection_id":141132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:04:56] local.INFO: Processing buffer {"connection_id":141132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:04:56] local.INFO: IMEI packet received {"connection_id":141132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":141132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:05:01] local.INFO: TCP Data received {"connection_id":141132,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:01] local.INFO: Processing buffer {"connection_id":141132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:01] local.INFO: IMEI packet received {"connection_id":141132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":141132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:05:01] local.INFO: TCP Data received {"connection_id":141132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d68b28012db9628005e749f0002401012b..."} 
[2026-07-25 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d68b28012db9628005e749f0002401012b..."} 
[2026-07-25 16:05:01] local.INFO: Processing buffer {"connection_id":141132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d68b28012db9628005e749f0002401012b..."} 
[2026-07-25 16:05:01] local.INFO: Packet analysis {"connection_id":141132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:05:01] local.INFO: Extracted packet for processing {"connection_id":141132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":767124096,"raw_latitude":99043824,"longitude_deg":76.7124096,"latitude_deg":9.9043824,"altitude":36,"angle":257,"satellites":43,"speed":8,"hex_longitude":"2db96280","hex_latitude":"05e749f0","is_valid_coordinates":true} 
[2026-07-25 16:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357868125485531136,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5088012022410780672,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784975625000,"timestamp_ms":1784975625000,"timestamp_seconds":1784975625,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d68b28"} 
[2026-07-25 16:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953759744001,"66":27876,"23":206,"92":41728,"24":8,"16":357868125485531136,"45":-5088012022410780672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:05:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:05:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357868125485531136,"km_value":357868125485531.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5088012022410780672,"description":"Unknown IO ID 45"} 
[2026-07-25 16:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953759744001,"power":27876,"unknown_23":206,"unknown_92":41728,"ignition":8,"odometer":null,"unknown_45":-5088012022410780672}} 
[2026-07-25 16:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":141132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:05:01] local.INFO: GPS data processed {"connection_id":141132,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:05:01] local.INFO: Acknowledgment sent {"connection_id":141132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:05:26] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:05:26] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d39d28012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:05:26] local.INFO: Packet analysis {"connection_id":141195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:05:26] local.INFO: Extracted packet for processing {"connection_id":141195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d3"} 
[2026-07-25 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953632512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924234530540836864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784975433000,"timestamp_ms":1784975433000,"timestamp_seconds":1784975433,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d39d28"} 
[2026-07-25 16:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159724527022,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2563643160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3468371969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147867940,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505966,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3307798528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3710160896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:26] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,169,85,24,241,157,16,197,159,45,64,41,40,10,66,237,39,218,1,240,227,152,221,4,113,205,2,105,220,144,239,50,135,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-07-25 16:05:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387199891800304,"timestamp_seconds":387199891800.304,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953632512001,"66":12678,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8924234530540836864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953632512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:05:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924234530540836864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953632512001,"power":12678,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8924234530540836864}} 
[2026-07-25 16:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":141195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:05:26] local.INFO: GPS data processed {"connection_id":141195,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:05:26] local.INFO: Acknowledgment sent {"connection_id":141195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:05:32] local.INFO: TCP Data received {"connection_id":141132,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d68f10012db9620005e749b0002400f52a..."} 
[2026-07-25 16:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d68f10012db9620005e749b0002400f52a..."} 
[2026-07-25 16:05:32] local.INFO: Processing buffer {"connection_id":141132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d68f10012db9620005e749b0002400f52a..."} 
[2026-07-25 16:05:32] local.INFO: Packet analysis {"connection_id":141132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:05:32] local.INFO: Extracted packet for processing {"connection_id":141132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":767123968,"raw_latitude":99043760,"longitude_deg":76.7123968,"latitude_deg":9.904376,"altitude":36,"angle":245,"satellites":42,"speed":7,"hex_longitude":"2db96200","hex_latitude":"05e749b0","is_valid_coordinates":true} 
[2026-07-25 16:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953760000001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357868134075465728,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5088363866131664896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784975626000,"timestamp_ms":1784975626000,"timestamp_seconds":1784975626,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d68f10"} 
[2026-07-25 16:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:05: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-07-25 16:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953760000001,"66":27919,"23":206,"92":41728,"24":7,"16":357868134075465728,"45":-5088363866131664896},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953760000001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:05:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:05:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357868134075465728,"km_value":357868134075465.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5088363866131664896,"description":"Unknown IO ID 45"} 
[2026-07-25 16:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953760000001,"power":27919,"unknown_23":206,"unknown_92":41728,"ignition":7,"odometer":null,"unknown_45":-5088363866131664896}} 
[2026-07-25 16:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":141132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:05:32] local.INFO: GPS data processed {"connection_id":141132,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:05:32] local.INFO: Acknowledgment sent {"connection_id":141132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:05:54] local.INFO: TCP Data received {"connection_id":142166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:54] local.INFO: Processing buffer {"connection_id":142166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:54] local.INFO: IMEI packet received {"connection_id":142166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":142166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:05:55] local.INFO: TCP Data received {"connection_id":142166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:55] local.INFO: Processing buffer {"connection_id":142166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:05:55] local.INFO: IMEI packet received {"connection_id":142166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":142166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:06:00] local.INFO: TCP Data received {"connection_id":142166,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:06:00] local.INFO: Processing buffer {"connection_id":142166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:06:00] local.INFO: IMEI packet received {"connection_id":142166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":142166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:06:01] local.INFO: TCP Data received {"connection_id":142166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d6d948012db94bc005e74000002101022a..."} 
[2026-07-25 16:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d6d948012db94bc005e74000002101022a..."} 
[2026-07-25 16:06:01] local.INFO: Processing buffer {"connection_id":142166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d6d948012db94bc005e74000002101022a..."} 
[2026-07-25 16:06:01] local.INFO: Packet analysis {"connection_id":142166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:06:01] local.INFO: Extracted packet for processing {"connection_id":142166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d6"} 
[2026-07-25 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":767118272,"raw_latitude":99041280,"longitude_deg":76.7118272,"latitude_deg":9.904128,"altitude":33,"angle":258,"satellites":42,"speed":23,"hex_longitude":"2db94bc0","hex_latitude":"05e74000","is_valid_coordinates":true} 
[2026-07-25 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953760256001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357868430428209152,"note":"Value kept but may cause issues"} 
[2026-07-25 16:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5088504603620036608,"note":"Value kept but may cause issues"} 
[2026-07-25 16:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784975645000,"timestamp_ms":1784975645000,"timestamp_seconds":1784975645,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d6d948"} 
[2026-07-25 16:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 16:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953760256001,"66":27865,"23":206,"92":41728,"24":23,"16":357868430428209152,"45":-5088504603620036608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,92,24,16,45]} 
[2026-07-25 16:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953760256001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:06:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-25 16:06:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357868430428209152,"km_value":357868430428209.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5088504603620036608,"description":"Unknown IO ID 45"} 
[2026-07-25 16:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953760256001,"power":27865,"unknown_23":206,"unknown_92":41728,"ignition":23,"odometer":null,"unknown_45":-5088504603620036608}} 
[2026-07-25 16:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":142166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:06:01] local.INFO: GPS data processed {"connection_id":142166,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:06:01] local.INFO: Acknowledgment sent {"connection_id":142166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:06:04] local.INFO: TCP Data received {"connection_id":141193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:06:04] local.INFO: Processing buffer {"connection_id":141193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:06:04] local.INFO: IMEI packet received {"connection_id":141193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":141193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:06:32] local.INFO: TCP Data received {"connection_id":142166,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d84878012db90e8005e799300025014d28..."} 
[2026-07-25 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d84878012db90e8005e799300025014d28..."} 
[2026-07-25 16:06:32] local.INFO: Processing buffer {"connection_id":142166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d84878012db90e8005e799300025014d28..."} 
[2026-07-25 16:06:32] local.INFO: Packet analysis {"connection_id":142166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:06:32] local.INFO: Extracted packet for processing {"connection_id":142166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":767102592,"raw_latitude":99064112,"longitude_deg":76.7102592,"latitude_deg":9.9064112,"altitude":37,"angle":333,"satellites":40,"speed":34,"hex_longitude":"2db90e80","hex_latitude":"05e79930","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953787392001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357870131235258368,"note":"Value kept but may cause issues"} 
[2026-07-25 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5110107808078974976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784975739000,"timestamp_ms":1784975739000,"timestamp_seconds":1784975739,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d84878"} 
[2026-07-25 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-07-25 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 16:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953787392001,"66":27974,"224":206,"92":41728,"24":34,"16":357870131235258368,"45":-5110107808078974976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,92,24,16,45]} 
[2026-07-25 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953787392001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357870131235258368,"km_value":357870131235258.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5110107808078974976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953787392001,"power":27974,"unknown_224":206,"unknown_92":41728,"ignition":34,"odometer":null,"unknown_45":-5110107808078974976}} 
[2026-07-25 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":142166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:06:32] local.INFO: GPS data processed {"connection_id":142166,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:06:32] local.INFO: Acknowledgment sent {"connection_id":142166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:06:55] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:06:55] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:06:55] local.INFO: IMEI packet received {"connection_id":141196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":141196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:07:00] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:07:00] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:07:00] local.INFO: IMEI packet received {"connection_id":141196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":141196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:07:00] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d85fe8012db9038005e7aa680026013b28..."} 
[2026-07-25 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d85fe8012db9038005e7aa680026013b28..."} 
[2026-07-25 16:07:00] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d85fe8012db9038005e7aa680026013b28..."} 
[2026-07-25 16:07:00] local.INFO: Packet analysis {"connection_id":141196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:07:00] local.INFO: Extracted packet for processing {"connection_id":141196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":767099776,"raw_latitude":99068520,"longitude_deg":76.7099776,"latitude_deg":9.906852,"altitude":38,"angle":315,"satellites":40,"speed":33,"hex_longitude":"2db90380","hex_latitude":"05e7aa68","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953789184001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357870384638328832,"note":"Value kept but may cause issues"} 
[2026-07-25 16:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5112007764170166272,"note":"Value kept but may cause issues"} 
[2026-07-25 16:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784975745000,"timestamp_ms":1784975745000,"timestamp_seconds":1784975745,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d85fe8"} 
[2026-07-25 16:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 16:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953789184001,"66":27974,"224":206,"92":41728,"24":33,"16":357870384638328832,"45":-5112007764170166272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,92,24,16,45]} 
[2026-07-25 16:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953789184001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:07:01] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 16:07:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357870384638328832,"km_value":357870384638328.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5112007764170166272,"description":"Unknown IO ID 45"} 
[2026-07-25 16:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953789184001,"power":27974,"unknown_224":206,"unknown_92":41728,"ignition":33,"odometer":null,"unknown_45":-5112007764170166272}} 
[2026-07-25 16:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":141196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:07:01] local.INFO: GPS data processed {"connection_id":141196,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:07:01] local.INFO: Acknowledgment sent {"connection_id":141196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:07:32] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d867b8012db8fe0005e7ae680026012a27..."} 
[2026-07-25 16:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d867b8012db8fe0005e7ae680026012a27..."} 
[2026-07-25 16:07:32] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d867b8012db8fe0005e7ae680026012a27..."} 
[2026-07-25 16:07:32] local.INFO: Packet analysis {"connection_id":141196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:07:32] local.INFO: Extracted packet for processing {"connection_id":141196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:07:32] local.INFO: GPS Element Parsed {"raw_longitude":767098368,"raw_latitude":99069544,"longitude_deg":76.7098368,"latitude_deg":9.9069544,"altitude":38,"angle":298,"satellites":39,"speed":34,"hex_longitude":"2db8fe00","hex_latitude":"05e7ae68","is_valid_coordinates":true} 
[2026-07-25 16:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953790720001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357870466242707456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5115103988912855040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784975747000,"timestamp_ms":1784975747000,"timestamp_seconds":1784975747,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d867b8"} 
[2026-07-25 16:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 16:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953790720001,"66":27995,"224":206,"92":41728,"24":34,"16":357870466242707456,"45":-5115103988912855040},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,92,24,16,45]} 
[2026-07-25 16:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953790720001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:07:32] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 16:07:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357870466242707456,"km_value":357870466242707.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5115103988912855040,"description":"Unknown IO ID 45"} 
[2026-07-25 16:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953790720001,"power":27995,"unknown_224":206,"unknown_92":41728,"ignition":34,"odometer":null,"unknown_45":-5115103988912855040}} 
[2026-07-25 16:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":141196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:07:32] local.INFO: GPS data processed {"connection_id":141196,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:07:32] local.INFO: Acknowledgment sent {"connection_id":141196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:07:55] local.INFO: TCP Data received {"connection_id":143552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:07:55] local.INFO: Processing buffer {"connection_id":143552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:07:55] local.INFO: IMEI packet received {"connection_id":143552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":143552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:08:04] local.INFO: TCP Data received {"connection_id":143552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:04] local.INFO: Processing buffer {"connection_id":143552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:04] local.INFO: IMEI packet received {"connection_id":143552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":143552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:08:16] local.INFO: TCP Data received {"connection_id":143552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:16] local.INFO: Processing buffer {"connection_id":143552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:16] local.INFO: IMEI packet received {"connection_id":143552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":143552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:08:35] local.INFO: TCP Data received {"connection_id":143552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:35] local.INFO: Processing buffer {"connection_id":143552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:08:35] local.INFO: IMEI packet received {"connection_id":143552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":143552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:11:39] local.INFO: TCP Data received {"connection_id":142167,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:11:39] local.INFO: Processing buffer {"connection_id":142167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:11:39] local.INFO: IMEI packet received {"connection_id":142167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":142167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:13:55] local.INFO: TCP Data received {"connection_id":143554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:13:55] local.INFO: Processing buffer {"connection_id":143554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:13:55] local.INFO: IMEI packet received {"connection_id":143554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":143554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:13:57] local.INFO: TCP Data received {"connection_id":143554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:13:58] local.INFO: Processing buffer {"connection_id":143554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:13:58] local.INFO: IMEI packet received {"connection_id":143554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":143554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:14:03] local.INFO: TCP Data received {"connection_id":143554,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143554,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:14:03] local.INFO: Processing buffer {"connection_id":143554,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:14:03] local.INFO: IMEI packet received {"connection_id":143554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":143554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:14:03] local.INFO: TCP Data received {"connection_id":143554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98defb50012db6fdc005e44790002e00962a..."} 
[2026-07-25 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98defb50012db6fdc005e44790002e00962a..."} 
[2026-07-25 16:14:03] local.INFO: Processing buffer {"connection_id":143554,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f98..."} 
[2026-07-25 16:14:03] local.INFO: IMEI packet received {"connection_id":143554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":143554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:14:05] local.INFO: TCP Data received {"connection_id":143554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98df4d58012db70b8005e426400037009e2c..."} 
[2026-07-25 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98df4d58012db70b8005e426400037009e2c..."} 
[2026-07-25 16:14:05] local.INFO: Processing buffer {"connection_id":143554,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f98defb50012db6fdc005e44790002e00962a..."} 
[2026-07-25 16:14:05] local.INFO: Packet analysis {"connection_id":143554,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f98de"} 
[2026-07-25 16:14:05] local.INFO: Extracted packet for processing {"connection_id":143554,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98de"} 
[2026-07-25 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":766967232,"raw_latitude":98846608,"longitude_deg":76.6967232,"latitude_deg":9.8846608,"altitude":46,"angle":150,"satellites":42,"speed":18,"hex_longitude":"2db6fdc0","hex_latitude":"05e44790","is_valid_coordinates":true} 
[2026-07-25 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953896704001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357886464995885056,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5265833838996215808,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784976178000,"timestamp_ms":1784976178000,"timestamp_seconds":1784976178,"priority":1,"record_length":96,"hex_timestamp":"0000019f98defb50"} 
[2026-07-25 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 16:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953896704001,"66":27930,"168":206,"92":41728,"24":18,"16":357886464995885056,"45":-5265833838996215808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,92,24,16,45]} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953896704001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357886464995885056,"km_value":357886464995885.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5265833838996215808,"description":"Unknown IO ID 45"} 
[2026-07-25 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953896704001,"power":27930,"unknown_168":206,"unknown_92":41728,"ignition":18,"odometer":null,"unknown_45":-5265833838996215808}} 
[2026-07-25 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":143554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:14:05] local.INFO: GPS data processed {"connection_id":143554,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:14:05] local.INFO: Acknowledgment sent {"connection_id":143554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:14:05] local.INFO: Packet analysis {"connection_id":143554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:14:05] local.INFO: Extracted packet for processing {"connection_id":143554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":766970752,"raw_latitude":98838080,"longitude_deg":76.6970752,"latitude_deg":9.883808,"altitude":55,"angle":158,"satellites":44,"speed":17,"hex_longitude":"2db70b80","hex_latitude":"05e42640","is_valid_coordinates":true} 
[2026-07-25 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953901568001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357886911672483840,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5260837658161606656,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784976199000,"timestamp_ms":1784976199000,"timestamp_seconds":1784976199,"priority":1,"record_length":96,"hex_timestamp":"0000019f98df4d58"} 
[2026-07-25 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 16:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953901568001,"66":27908,"168":206,"92":41728,"24":17,"16":357886911672483840,"45":-5260837658161606656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,92,24,16,45]} 
[2026-07-25 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953901568001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357886911672483840,"km_value":357886911672483.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5260837658161606656,"description":"Unknown IO ID 45"} 
[2026-07-25 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953901568001,"power":27908,"unknown_168":206,"unknown_92":41728,"ignition":17,"odometer":null,"unknown_45":-5260837658161606656}} 
[2026-07-25 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":143554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:14:05] local.INFO: GPS data processed {"connection_id":143554,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:14:05] local.INFO: Acknowledgment sent {"connection_id":143554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:14:39] local.INFO: TCP Data received {"connection_id":143554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98df4d58012db70b8005e426400037009e2c..."} 
[2026-07-25 16:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98df4d58012db70b8005e426400037009e2c..."} 
[2026-07-25 16:14:39] local.INFO: Processing buffer {"connection_id":143554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98df4d58012db70b8005e426400037009e2c..."} 
[2026-07-25 16:14:39] local.INFO: Packet analysis {"connection_id":143554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:14:39] local.INFO: Extracted packet for processing {"connection_id":143554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":766970752,"raw_latitude":98838080,"longitude_deg":76.6970752,"latitude_deg":9.883808,"altitude":55,"angle":158,"satellites":44,"speed":17,"hex_longitude":"2db70b80","hex_latitude":"05e42640","is_valid_coordinates":true} 
[2026-07-25 16:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953906944001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357886911672483840,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5256967377234018304,"note":"Value kept but may cause issues"} 
[2026-07-25 16:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784976199000,"timestamp_ms":1784976199000,"timestamp_seconds":1784976199,"priority":1,"record_length":96,"hex_timestamp":"0000019f98df4d58"} 
[2026-07-25 16:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953906944001,"66":27908,"168":206,"92":41728,"24":17,"16":357886911672483840,"45":-5256967377234018304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,92,24,16,45]} 
[2026-07-25 16:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953906944001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:14:39] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 16:14:39] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357886911672483840,"km_value":357886911672483.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5256967377234018304,"description":"Unknown IO ID 45"} 
[2026-07-25 16:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953906944001,"power":27908,"unknown_168":206,"unknown_92":41728,"ignition":17,"odometer":null,"unknown_45":-5256967377234018304}} 
[2026-07-25 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":143554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:14:39] local.INFO: GPS data processed {"connection_id":143554,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:14:39] local.INFO: Acknowledgment sent {"connection_id":143554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:14:54] local.INFO: TCP Data received {"connection_id":142169,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:14:54] local.INFO: Processing buffer {"connection_id":142169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:14:54] local.INFO: IMEI packet received {"connection_id":142169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":142169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:14:59] local.INFO: TCP Data received {"connection_id":142169,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:14:59] local.INFO: Processing buffer {"connection_id":142169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:14:59] local.INFO: IMEI packet received {"connection_id":142169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":142169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:14:59] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:14:59] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:14:59] local.INFO: IMEI packet received {"connection_id":141135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":141135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:15:00] local.INFO: TCP Data received {"connection_id":142169,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d815b0012d7bd7c005dd29680000016720..."} 
[2026-07-25 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d815b0012d7bd7c005dd29680000016720..."} 
[2026-07-25 16:15:00] local.INFO: Processing buffer {"connection_id":142169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d815b0012d7bd7c005dd29680000016720..."} 
[2026-07-25 16:15:00] local.INFO: Packet analysis {"connection_id":142169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:15:00] local.INFO: Extracted packet for processing {"connection_id":142169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":32,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953710848001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318075774976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784975726000,"timestamp_ms":1784975726000,"timestamp_seconds":1784975726,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d815b0"} 
[2026-07-25 16:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:15: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-07-25 16:15: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-07-25 16:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:15: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-07-25 16:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953710848001,"66":12613,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8923812318075774976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953710848001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:15:00] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318075774976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953710848001,"power":12613,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923812318075774976}} 
[2026-07-25 16:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":142169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:15:00] local.INFO: GPS data processed {"connection_id":142169,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:15:00] local.INFO: Acknowledgment sent {"connection_id":142169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:15:00] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:00] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:00] local.INFO: IMEI packet received {"connection_id":141135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":141135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:15:05] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:05] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:05] local.INFO: IMEI packet received {"connection_id":141135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":141135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:15:07] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98df6c98012db711c005e41a00003800912c..."} 
[2026-07-25 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98df6c98012db711c005e41a00003800912c..."} 
[2026-07-25 16:15:07] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98df6c98012db711c005e41a00003800912c..."} 
[2026-07-25 16:15:07] local.INFO: Packet analysis {"connection_id":141135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:15:07] local.INFO: Extracted packet for processing {"connection_id":141135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":766972352,"raw_latitude":98834944,"longitude_deg":76.6972352,"latitude_deg":9.8834944,"altitude":56,"angle":145,"satellites":44,"speed":17,"hex_longitude":"2db711c0","hex_latitude":"05e41a00","is_valid_coordinates":true} 
[2026-07-25 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953906944001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357887079176208384,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5256967377234018304,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784976207000,"timestamp_ms":1784976207000,"timestamp_seconds":1784976207,"priority":1,"record_length":96,"hex_timestamp":"0000019f98df6c98"} 
[2026-07-25 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953906944001,"66":28050,"129":206,"92":41728,"24":17,"16":357887079176208384,"45":-5256967377234018304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,92,24,16,45]} 
[2026-07-25 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953906944001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:15:07] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 16:15:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357887079176208384,"km_value":357887079176208.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5256967377234018304,"description":"Unknown IO ID 45"} 
[2026-07-25 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953906944001,"power":28050,"unknown_129":206,"unknown_92":41728,"ignition":17,"odometer":null,"unknown_45":-5256967377234018304}} 
[2026-07-25 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":141135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:15:07] local.INFO: GPS data processed {"connection_id":141135,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:15:07] local.INFO: Acknowledgment sent {"connection_id":141135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:15:31] local.INFO: TCP Data received {"connection_id":142169,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d815b0012d7bd7c005dd29680000016720..."} 
[2026-07-25 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d815b0012d7bd7c005dd29680000016720..."} 
[2026-07-25 16:15:31] local.INFO: Processing buffer {"connection_id":142169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d815b0012d7bd7c005dd29680000016720..."} 
[2026-07-25 16:15:31] local.INFO: Packet analysis {"connection_id":142169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:15:31] local.INFO: Extracted packet for processing {"connection_id":142169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":32,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953785856001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318075774976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784975726000,"timestamp_ms":1784975726000,"timestamp_seconds":1784975726,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d815b0"} 
[2026-07-25 16:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 16:15: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-07-25 16:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:15: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-07-25 16:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953785856001,"66":12613,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8923812318075774976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953785856001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318075774976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953785856001,"power":12613,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923812318075774976}} 
[2026-07-25 16:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":142169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:15:31] local.INFO: GPS data processed {"connection_id":142169,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:15:31] local.INFO: Acknowledgment sent {"connection_id":142169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:15:38] local.INFO: TCP Data received {"connection_id":141135,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98df8408012db7180005e41218003a00852d..."} 
[2026-07-25 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98df8408012db7180005e41218003a00852d..."} 
[2026-07-25 16:15:38] local.INFO: Processing buffer {"connection_id":141135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98df8408012db7180005e41218003a00852d..."} 
[2026-07-25 16:15:38] local.INFO: Packet analysis {"connection_id":141135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:15:38] local.INFO: Extracted packet for processing {"connection_id":141135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98df"} 
[2026-07-25 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":766973952,"raw_latitude":98832920,"longitude_deg":76.6973952,"latitude_deg":9.883292,"altitude":58,"angle":133,"satellites":45,"speed":16,"hex_longitude":"2db71800","hex_latitude":"05e41218","is_valid_coordinates":true} 
[2026-07-25 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953908992001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357887203730259968,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5255208158630379520,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784976213000,"timestamp_ms":1784976213000,"timestamp_seconds":1784976213,"priority":1,"record_length":96,"hex_timestamp":"0000019f98df8408"} 
[2026-07-25 16:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953908992001,"66":28093,"129":206,"92":41728,"24":16,"16":357887203730259968,"45":-5255208158630379520},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,92,24,16,45]} 
[2026-07-25 16:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953908992001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:15:38] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-25 16:15:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357887203730259968,"km_value":357887203730259.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5255208158630379520,"description":"Unknown IO ID 45"} 
[2026-07-25 16:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953908992001,"power":28093,"unknown_129":206,"unknown_92":41728,"ignition":16,"odometer":null,"unknown_45":-5255208158630379520}} 
[2026-07-25 16:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":141135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:15:38] local.INFO: GPS data processed {"connection_id":141135,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:15:38] local.INFO: Acknowledgment sent {"connection_id":141135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:15:49] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:15:49] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:15:49] local.INFO: IMEI packet received {"connection_id":141199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":141199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:15:54] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:15:54] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:15:54] local.INFO: IMEI packet received {"connection_id":141199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":141199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:15:54] local.INFO: TCP Data received {"connection_id":141200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:54] local.INFO: Processing buffer {"connection_id":141200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:54] local.INFO: IMEI packet received {"connection_id":141200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":141200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:15:55] local.INFO: TCP Data received {"connection_id":141200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:55] local.INFO: Processing buffer {"connection_id":141200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:55] local.INFO: IMEI packet received {"connection_id":141200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":141200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:15:55] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98d834f0012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98d834f0012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:15:55] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98d834f0012d7bd7c005dd29680000016723..."} 
[2026-07-25 16:15:55] local.INFO: Packet analysis {"connection_id":141199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:15:55] local.INFO: Extracted packet for processing {"connection_id":141199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98d8"} 
[2026-07-25 16:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":0,"angle":359,"satellites":35,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953785856001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318075774976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784975734000,"timestamp_ms":1784975734000,"timestamp_seconds":1784975734,"priority":1,"record_length":96,"hex_timestamp":"0000019f98d834f0"} 
[2026-07-25 16:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 16:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953785856001,"66":3133,"169":206,"85":15104,"24":0,"16":110273577382576128,"45":8923812318075774976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953785856001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:15:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318075774976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953785856001,"power":3133,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8923812318075774976}} 
[2026-07-25 16:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":141199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:15:55] local.INFO: GPS data processed {"connection_id":141199,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:15:55] local.INFO: Acknowledgment sent {"connection_id":141199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:15:56] local.INFO: TCP Data received {"connection_id":141200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:56] local.INFO: Processing buffer {"connection_id":141200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:56] local.INFO: IMEI packet received {"connection_id":141200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":141200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:15:58] local.INFO: TCP Data received {"connection_id":141200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:58] local.INFO: Processing buffer {"connection_id":141200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:15:58] local.INFO: IMEI packet received {"connection_id":141200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":141200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:15:59] local.INFO: TCP Data received {"connection_id":141200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e0bc88012db7ef8005e34ef8002e00af2d..."} 
[2026-07-25 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e0bc88012db7ef8005e34ef8002e00af2d..."} 
[2026-07-25 16:15:59] local.INFO: Processing buffer {"connection_id":141200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e0bc88012db7ef8005e34ef8002e00af2d..."} 
[2026-07-25 16:15:59] local.INFO: Packet analysis {"connection_id":141200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:15:59] local.INFO: Extracted packet for processing {"connection_id":141200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:15:59] local.INFO: GPS Element Parsed {"raw_longitude":767029120,"raw_latitude":98782968,"longitude_deg":76.702912,"latitude_deg":9.8782968,"altitude":46,"angle":175,"satellites":45,"speed":20,"hex_longitude":"2db7ef80","hex_latitude":"05e34ef8","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953929984001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357890901697101824,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5193213295022579712,"note":"Value kept but may cause issues"} 
[2026-07-25 16:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784976293000,"timestamp_ms":1784976293000,"timestamp_seconds":1784976293,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e0bc88"} 
[2026-07-25 16:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953929984001,"66":27984,"130":206,"92":41728,"24":20,"16":357890901697101824,"45":-5193213295022579712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,92,24,16,45]} 
[2026-07-25 16:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953929984001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:15:59] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-25 16:15:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357890901697101824,"km_value":357890901697101.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5193213295022579712,"description":"Unknown IO ID 45"} 
[2026-07-25 16:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953929984001,"power":27984,"unknown_130":206,"unknown_92":41728,"ignition":20,"odometer":null,"unknown_45":-5193213295022579712}} 
[2026-07-25 16:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":141200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:15:59] local.INFO: GPS data processed {"connection_id":141200,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:15:59] local.INFO: Acknowledgment sent {"connection_id":141200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:16:26] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:16:26] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:16:26] local.INFO: Packet analysis {"connection_id":141199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:16:26] local.INFO: Extracted packet for processing {"connection_id":141199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":13,"angle":359,"satellites":39,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953787904001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318075774976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:26] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-25 16:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784976254000,"timestamp_ms":1784976254000,"timestamp_seconds":1784976254,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e02430"} 
[2026-07-25 16:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:16:26] 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-07-25 16: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":12,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-25 16:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":807,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141199,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953787904001,"66":2024,"24":0,"16":110273577382576128,"45":8923812318075774976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-25 16:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953787904001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318075774976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:16:26] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456953787904001,"power":2024,"ignition":0,"odometer":null,"unknown_45":8923812318075774976}} 
[2026-07-25 16:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":141199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:16:26] local.INFO: GPS data processed {"connection_id":141199,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:16:26] local.INFO: Acknowledgment sent {"connection_id":141199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:16:30] local.INFO: TCP Data received {"connection_id":141200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e16868012db7a38005e2e698002600e229..."} 
[2026-07-25 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e16868012db7a38005e2e698002600e229..."} 
[2026-07-25 16:16:30] local.INFO: Processing buffer {"connection_id":141200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e16868012db7a38005e2e698002600e229..."} 
[2026-07-25 16:16:30] local.INFO: Packet analysis {"connection_id":141200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e1"} 
[2026-07-25 16:16:30] local.INFO: Extracted packet for processing {"connection_id":141200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e1"} 
[2026-07-25 16:16:30] local.INFO: GPS Element Parsed {"raw_longitude":767009664,"raw_latitude":98756248,"longitude_deg":76.7009664,"latitude_deg":9.8756248,"altitude":38,"angle":226,"satellites":41,"speed":48,"hex_longitude":"2db7a380","hex_latitude":"05e2e698","is_valid_coordinates":true} 
[2026-07-25 16:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953941760001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357892688403496960,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5212423962190030848,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784976337000,"timestamp_ms":1784976337000,"timestamp_seconds":1784976337,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e16868"} 
[2026-07-25 16:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:16: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":124,"data_length":795,"current_offset":136} 
[2026-07-25 16:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953941760001,"66":27995,"130":206,"92":41728,"24":48,"16":357892688403496960,"45":-5212423962190030848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,92,24,16,45]} 
[2026-07-25 16:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953941760001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:16:30] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-25 16:16:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357892688403496960,"km_value":357892688403496.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5212423962190030848,"description":"Unknown IO ID 45"} 
[2026-07-25 16:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953941760001,"power":27995,"unknown_130":206,"unknown_92":41728,"ignition":48,"odometer":null,"unknown_45":-5212423962190030848}} 
[2026-07-25 16:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":141200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:16:30] local.INFO: GPS data processed {"connection_id":141200,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:16:30] local.INFO: Acknowledgment sent {"connection_id":141200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:16:54] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:16:54] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:16:54] local.INFO: IMEI packet received {"connection_id":141136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":141136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:16:55] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:16:55] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:16:55] local.INFO: IMEI packet received {"connection_id":143555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":143555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:16:58] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:16:58] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:16:58] local.INFO: IMEI packet received {"connection_id":143555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":143555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:16:59] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e17808012db7960005e2d7e0002500d426..."} 
[2026-07-25 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e17808012db7960005e2d7e0002500d426..."} 
[2026-07-25 16:16:59] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e17808012db7960005e2d7e0002500d426..."} 
[2026-07-25 16:16:59] local.INFO: Packet analysis {"connection_id":143555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e1"} 
[2026-07-25 16:16:59] local.INFO: Extracted packet for processing {"connection_id":143555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e1"} 
[2026-07-25 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":767006208,"raw_latitude":98752480,"longitude_deg":76.7006208,"latitude_deg":9.875248,"altitude":37,"angle":212,"satellites":38,"speed":50,"hex_longitude":"2db79600","hex_latitude":"05e2d7e0","is_valid_coordinates":true} 
[2026-07-25 16:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953942272001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357892937511600128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5214183180794947584,"note":"Value kept but may cause issues"} 
[2026-07-25 16:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784976341000,"timestamp_ms":1784976341000,"timestamp_seconds":1784976341,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e17808"} 
[2026-07-25 16:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 16:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953942272001,"66":27919,"130":206,"92":41728,"24":50,"16":357892937511600128,"45":-5214183180794947584},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,92,24,16,45]} 
[2026-07-25 16:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953942272001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:16:59] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-25 16:16:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357892937511600128,"km_value":357892937511600.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5214183180794947584,"description":"Unknown IO ID 45"} 
[2026-07-25 16:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953942272001,"power":27919,"unknown_130":206,"unknown_92":41728,"ignition":50,"odometer":null,"unknown_45":-5214183180794947584}} 
[2026-07-25 16:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":143555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:16:59] local.INFO: GPS data processed {"connection_id":143555,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:16:59] local.INFO: Acknowledgment sent {"connection_id":143555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:16:59] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:16:59] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:16:59] local.INFO: IMEI packet received {"connection_id":141136,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":141136,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:17:00] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:17:00] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:17:00] local.INFO: Packet analysis {"connection_id":141136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:17:00] local.INFO: Extracted packet for processing {"connection_id":141136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":13,"angle":359,"satellites":39,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953921024001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318075774976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:00] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-25 16:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784976254000,"timestamp_ms":1784976254000,"timestamp_seconds":1784976254,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e02430"} 
[2026-07-25 16:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":7,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 16:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:17: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-07-25 16:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953921024001,"66":2024,"24":0,"16":110273577382576128,"45":8923812318075774976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-25 16:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953921024001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318075774976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:17:00] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456953921024001,"power":2024,"ignition":0,"odometer":null,"unknown_45":8923812318075774976}} 
[2026-07-25 16:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":141136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:17:00] local.INFO: GPS data processed {"connection_id":141136,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:17:00] local.INFO: Acknowledgment sent {"connection_id":141136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:17:14] local.INFO: TCP Data received {"connection_id":142168,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:17:14] local.INFO: Processing buffer {"connection_id":142168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:17:14] local.INFO: IMEI packet received {"connection_id":142168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":142168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:17:29] local.INFO: TCP Data received {"connection_id":143555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e26a38012db78b0005e1f700002b00a82a..."} 
[2026-07-25 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e26a38012db78b0005e1f700002b00a82a..."} 
[2026-07-25 16:17:29] local.INFO: Processing buffer {"connection_id":143555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e26a38012db78b0005e1f700002b00a82a..."} 
[2026-07-25 16:17:29] local.INFO: Packet analysis {"connection_id":143555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:17:29] local.INFO: Extracted packet for processing {"connection_id":143555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":767003392,"raw_latitude":98694912,"longitude_deg":76.7003392,"latitude_deg":9.8694912,"altitude":43,"angle":168,"satellites":42,"speed":33,"hex_longitude":"2db78b00","hex_latitude":"05e1f700","is_valid_coordinates":true} 
[2026-07-25 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953957376001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357895913923936256,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5223401486296420352,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784976403000,"timestamp_ms":1784976403000,"timestamp_seconds":1784976403,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e26a38"} 
[2026-07-25 16:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 16:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953957376001,"66":27865,"81":206,"92":41728,"24":33,"16":357895913923936256,"45":-5223401486296420352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953957376001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357895913923936256,"km_value":357895913923936.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5223401486296420352,"description":"Unknown IO ID 45"} 
[2026-07-25 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953957376001,"power":27865,"unknown_81":206,"unknown_92":41728,"ignition":33,"odometer":null,"unknown_45":-5223401486296420352}} 
[2026-07-25 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":143555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:17:29] local.INFO: GPS data processed {"connection_id":143555,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:17:29] local.INFO: Acknowledgment sent {"connection_id":143555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:17:31] local.INFO: TCP Data received {"connection_id":141136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:17:31] local.INFO: Processing buffer {"connection_id":141136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e02430012d7bd7c005dd2968000d016727..."} 
[2026-07-25 16:17:31] local.INFO: Packet analysis {"connection_id":141136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:17:31] local.INFO: Extracted packet for processing {"connection_id":141136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e0"} 
[2026-07-25 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763090880,"raw_latitude":98380136,"longitude_deg":76.309088,"latitude_deg":9.8380136,"altitude":13,"angle":359,"satellites":39,"speed":0,"hex_longitude":"2d7bd7c0","hex_latitude":"05dd2968","is_valid_coordinates":true} 
[2026-07-25 16:17: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-07-25 16:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953921024001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273577382576128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923812318075774976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:31] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-25 16:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784976254000,"timestamp_ms":1784976254000,"timestamp_seconds":1784976254,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e02430"} 
[2026-07-25 16:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":7,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 16:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141136,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:17: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-07-25 16:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953921024001,"66":2024,"24":0,"16":110273577382576128,"45":8923812318075774976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-25 16:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953921024001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273577382576128,"km_value":110273577382576.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923812318075774976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:17:31] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456953921024001,"power":2024,"ignition":0,"odometer":null,"unknown_45":8923812318075774976}} 
[2026-07-25 16:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":141136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:17:31] local.INFO: GPS data processed {"connection_id":141136,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:17:31] local.INFO: Acknowledgment sent {"connection_id":141136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:17:49] local.INFO: TCP Data received {"connection_id":142170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:17:49] local.INFO: Processing buffer {"connection_id":142170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:17:49] local.INFO: IMEI packet received {"connection_id":142170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":142170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:17:53] local.INFO: TCP Data received {"connection_id":142170,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:17:53] local.INFO: Processing buffer {"connection_id":142170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:17:53] local.INFO: IMEI packet received {"connection_id":142170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":142170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:17:54] local.INFO: TCP Data received {"connection_id":142170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e31a00012d7bdd0005dd2ae8000c000b23..."} 
[2026-07-25 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e31a00012d7bdd0005dd2ae8000c000b23..."} 
[2026-07-25 16:17:54] local.INFO: Processing buffer {"connection_id":142170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e31a00012d7bdd0005dd2ae8000c000b23..."} 
[2026-07-25 16:17:54] local.INFO: Packet analysis {"connection_id":142170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:17:54] local.INFO: Extracted packet for processing {"connection_id":142170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:17:54] local.INFO: GPS Element Parsed {"raw_longitude":763092224,"raw_latitude":98380520,"longitude_deg":76.3092224,"latitude_deg":9.838052,"altitude":12,"angle":11,"satellites":35,"speed":3,"hex_longitude":"2d7bdd00","hex_latitude":"05dd2ae8","is_valid_coordinates":true} 
[2026-07-25 16:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953968640001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273628922183680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925290061703573504,"note":"Value kept but may cause issues"} 
[2026-07-25 16:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784976448000,"timestamp_ms":1784976448000,"timestamp_seconds":1784976448,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e31a00"} 
[2026-07-25 16:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-25 16:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953968640001,"66":11297,"169":206,"85":15104,"24":3,"16":110273628922183680,"45":8925290061703573504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953968640001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:17:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:17:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273628922183680,"km_value":110273628922183.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925290061703573504,"description":"Unknown IO ID 45"} 
[2026-07-25 16:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953968640001,"power":11297,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8925290061703573504}} 
[2026-07-25 16:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":142170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:17:54] local.INFO: GPS data processed {"connection_id":142170,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:17:54] local.INFO: Acknowledgment sent {"connection_id":142170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:17:54] local.INFO: TCP Data received {"connection_id":141137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:17:54] local.INFO: Processing buffer {"connection_id":141137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:17:54] local.INFO: IMEI packet received {"connection_id":141137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":141137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:17:55] local.INFO: TCP Data received {"connection_id":141137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:17:55] local.INFO: Processing buffer {"connection_id":141137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:17:55] local.INFO: IMEI packet received {"connection_id":141137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:18:00] local.INFO: TCP Data received {"connection_id":141137,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:18:00] local.INFO: Processing buffer {"connection_id":141137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:18:00] local.INFO: IMEI packet received {"connection_id":141137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:18:01] local.INFO: TCP Data received {"connection_id":141137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e275f0012db78c0005e1ed98002c00b428..."} 
[2026-07-25 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e275f0012db78c0005e1ed98002c00b428..."} 
[2026-07-25 16:18:01] local.INFO: Processing buffer {"connection_id":141137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e275f0012db78c0005e1ed98002c00b428..."} 
[2026-07-25 16:18:01] local.INFO: Packet analysis {"connection_id":141137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:18:01] local.INFO: Extracted packet for processing {"connection_id":141137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":767003648,"raw_latitude":98692504,"longitude_deg":76.7003648,"latitude_deg":9.8692504,"altitude":44,"angle":180,"satellites":40,"speed":32,"hex_longitude":"2db78c00","hex_latitude":"05e1ed98","is_valid_coordinates":true} 
[2026-07-25 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953959168001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357896029888053248,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5221079317740060672,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976406000,"timestamp_ms":1784976406000,"timestamp_seconds":1784976406,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e275f0"} 
[2026-07-25 16:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953959168001,"66":27919,"81":206,"92":41728,"24":32,"16":357896029888053248,"45":-5221079317740060672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953959168001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:18:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:18:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357896029888053248,"km_value":357896029888053.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5221079317740060672,"description":"Unknown IO ID 45"} 
[2026-07-25 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953959168001,"power":27919,"unknown_81":206,"unknown_92":41728,"ignition":32,"odometer":null,"unknown_45":-5221079317740060672}} 
[2026-07-25 16:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:18:01] local.INFO: GPS data processed {"connection_id":141137,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:18:01] local.INFO: Acknowledgment sent {"connection_id":141137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:18:25] local.INFO: TCP Data received {"connection_id":142170,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e321d0012d7bdd0005dd2be8000c000024..."} 
[2026-07-25 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e321d0012d7bdd0005dd2be8000c000024..."} 
[2026-07-25 16:18:25] local.INFO: Processing buffer {"connection_id":142170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e321d0012d7bdd0005dd2be8000c000024..."} 
[2026-07-25 16:18:25] local.INFO: Packet analysis {"connection_id":142170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:18:25] local.INFO: Extracted packet for processing {"connection_id":142170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763092224,"raw_latitude":98380776,"longitude_deg":76.3092224,"latitude_deg":9.8380776,"altitude":12,"angle":0,"satellites":36,"speed":5,"hex_longitude":"2d7bdd00","hex_latitude":"05dd2be8","is_valid_coordinates":true} 
[2026-07-25 16:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953970688001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110273641807085568,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925290061703604224,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784976450000,"timestamp_ms":1784976450000,"timestamp_seconds":1784976450,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e321d0"} 
[2026-07-25 16:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-25 16:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953970688001,"66":12374,"169":206,"85":15104,"24":5,"16":110273641807085568,"45":8925290061703604224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953970688001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:18:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110273641807085568,"km_value":110273641807085.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925290061703604224,"description":"Unknown IO ID 45"} 
[2026-07-25 16:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953970688001,"power":12374,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8925290061703604224}} 
[2026-07-25 16:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":142170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:18:25] local.INFO: GPS data processed {"connection_id":142170,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:18:25] local.INFO: Acknowledgment sent {"connection_id":142170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:18:32] local.INFO: TCP Data received {"connection_id":141137,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e28590012db78a8005e1e128002e00c32b..."} 
[2026-07-25 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e28590012db78a8005e1e128002e00c32b..."} 
[2026-07-25 16:18:32] local.INFO: Processing buffer {"connection_id":141137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e28590012db78a8005e1e128002e00c32b..."} 
[2026-07-25 16:18:32] local.INFO: Packet analysis {"connection_id":141137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:18:32] local.INFO: Extracted packet for processing {"connection_id":141137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":767003264,"raw_latitude":98689320,"longitude_deg":76.7003264,"latitude_deg":9.868932,"altitude":46,"angle":195,"satellites":43,"speed":32,"hex_longitude":"2db78a80","hex_latitude":"05e1e128","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953959936001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357896184506875904,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5220797842763966464,"note":"Value kept but may cause issues"} 
[2026-07-25 16:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976410000,"timestamp_ms":1784976410000,"timestamp_seconds":1784976410,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e28590"} 
[2026-07-25 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-07-25 16:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 16:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953959936001,"66":27930,"81":206,"92":41728,"24":32,"16":357896184506875904,"45":-5220797842763966464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953959936001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357896184506875904,"km_value":357896184506875.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5220797842763966464,"description":"Unknown IO ID 45"} 
[2026-07-25 16:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953959936001,"power":27930,"unknown_81":206,"unknown_92":41728,"ignition":32,"odometer":null,"unknown_45":-5220797842763966464}} 
[2026-07-25 16:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":141137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:18:32] local.INFO: GPS data processed {"connection_id":141137,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:18:32] local.INFO: Acknowledgment sent {"connection_id":141137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:18:55] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:18:55] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:18:55] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:19:06] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:06] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:06] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:19:06] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:06] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:06] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:19:10] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:10] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:10] local.INFO: IMEI packet received {"connection_id":141139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":141139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:19:11] local.INFO: TCP Data received {"connection_id":141139,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e29148012db786c005e1d880002f00cf28..."} 
[2026-07-25 16:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e29148012db786c005e1d880002f00cf28..."} 
[2026-07-25 16:19:11] local.INFO: Processing buffer {"connection_id":141139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e29148012db786c005e1d880002f00cf28..."} 
[2026-07-25 16:19:11] local.INFO: Packet analysis {"connection_id":141139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:19:11] local.INFO: Extracted packet for processing {"connection_id":141139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:19:11] local.INFO: GPS Element Parsed {"raw_longitude":767002304,"raw_latitude":98687104,"longitude_deg":76.7002304,"latitude_deg":9.8687104,"altitude":47,"angle":207,"satellites":40,"speed":32,"hex_longitude":"2db786c0","hex_latitude":"05e1d880","is_valid_coordinates":true} 
[2026-07-25 16:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953960960001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357896300470992896,"note":"Value kept but may cause issues"} 
[2026-07-25 16:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5221220055229847552,"note":"Value kept but may cause issues"} 
[2026-07-25 16:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784976413000,"timestamp_ms":1784976413000,"timestamp_seconds":1784976413,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e29148"} 
[2026-07-25 16:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 16:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953960960001,"66":27908,"81":206,"92":41728,"24":32,"16":357896300470992896,"45":-5221220055229847552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953960960001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:19:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357896300470992896,"km_value":357896300470992.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5221220055229847552,"description":"Unknown IO ID 45"} 
[2026-07-25 16:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953960960001,"power":27908,"unknown_81":206,"unknown_92":41728,"ignition":32,"odometer":null,"unknown_45":-5221220055229847552}} 
[2026-07-25 16:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":141139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:19:11] local.INFO: GPS data processed {"connection_id":141139,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:19:11] local.INFO: Acknowledgment sent {"connection_id":141139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:19:55] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:55] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:19:55] local.INFO: IMEI packet received {"connection_id":141201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":141201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:20:00] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:20:00] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:20:00] local.INFO: IMEI packet received {"connection_id":141201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":141201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:20:01] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e2c028012db7724005e1b9a8003200d723..."} 
[2026-07-25 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e2c028012db7724005e1b9a8003200d723..."} 
[2026-07-25 16:20:01] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e2c028012db7724005e1b9a8003200d723..."} 
[2026-07-25 16:20:01] local.INFO: Packet analysis {"connection_id":141201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:20:01] local.INFO: Extracted packet for processing {"connection_id":141201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":766997056,"raw_latitude":98679208,"longitude_deg":76.6997056,"latitude_deg":9.8679208,"altitude":50,"angle":215,"satellites":35,"speed":32,"hex_longitude":"2db77240","hex_latitude":"05e1b9a8","is_valid_coordinates":true} 
[2026-07-25 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953961728001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357896760032493568,"note":"Value kept but may cause issues"} 
[2026-07-25 16:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5222275586393079808,"note":"Value kept but may cause issues"} 
[2026-07-25 16:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976425000,"timestamp_ms":1784976425000,"timestamp_seconds":1784976425,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e2c028"} 
[2026-07-25 16:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953961728001,"66":27887,"81":206,"92":41728,"24":32,"16":357896760032493568,"45":-5222275586393079808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953961728001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:20:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:20:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357896760032493568,"km_value":357896760032493.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5222275586393079808,"description":"Unknown IO ID 45"} 
[2026-07-25 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953961728001,"power":27887,"unknown_81":206,"unknown_92":41728,"ignition":32,"odometer":null,"unknown_45":-5222275586393079808}} 
[2026-07-25 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":141201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:20:01] local.INFO: GPS data processed {"connection_id":141201,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:20:01] local.INFO: Acknowledgment sent {"connection_id":141201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:20:32] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e2eb20012db75f8005e19aa0003200cc27..."} 
[2026-07-25 16:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e2eb20012db75f8005e19aa0003200cc27..."} 
[2026-07-25 16:20:32] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e2eb20012db75f8005e19aa0003200cc27..."} 
[2026-07-25 16:20:32] local.INFO: Packet analysis {"connection_id":141201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:20:32] local.INFO: Extracted packet for processing {"connection_id":141201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e2"} 
[2026-07-25 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":766992256,"raw_latitude":98671264,"longitude_deg":76.6992256,"latitude_deg":9.8671264,"altitude":50,"angle":204,"satellites":39,"speed":35,"hex_longitude":"2db75f80","hex_latitude":"05e19aa0","is_valid_coordinates":true} 
[2026-07-25 16:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953964800001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357897211004059648,"note":"Value kept but may cause issues"} 
[2026-07-25 16:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5228045823417669632,"note":"Value kept but may cause issues"} 
[2026-07-25 16:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976436000,"timestamp_ms":1784976436000,"timestamp_seconds":1784976436,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e2eb20"} 
[2026-07-25 16:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 16:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953964800001,"66":27930,"81":206,"92":41728,"24":35,"16":357897211004059648,"45":-5228045823417669632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953964800001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:20:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:20:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357897211004059648,"km_value":357897211004059.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5228045823417669632,"description":"Unknown IO ID 45"} 
[2026-07-25 16:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953964800001,"power":27930,"unknown_81":206,"unknown_92":41728,"ignition":35,"odometer":null,"unknown_45":-5228045823417669632}} 
[2026-07-25 16:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":141201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:20:32] local.INFO: GPS data processed {"connection_id":141201,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:20:32] local.INFO: Acknowledgment sent {"connection_id":141201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:21:00] local.INFO: TCP Data received {"connection_id":143556,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:00] local.INFO: Processing buffer {"connection_id":143556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:00] local.INFO: IMEI packet received {"connection_id":143556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":143556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:21:05] local.INFO: TCP Data received {"connection_id":143556,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:05] local.INFO: Processing buffer {"connection_id":143556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:05] local.INFO: IMEI packet received {"connection_id":143556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":143556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:21:06] local.INFO: TCP Data received {"connection_id":143556,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e31230012db750c005e17990003400c929..."} 
[2026-07-25 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e31230012db750c005e17990003400c929..."} 
[2026-07-25 16:21:06] local.INFO: Processing buffer {"connection_id":143556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e31230012db750c005e17990003400c929..."} 
[2026-07-25 16:21:06] local.INFO: Packet analysis {"connection_id":143556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:21:06] local.INFO: Extracted packet for processing {"connection_id":143556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:21:06] local.INFO: GPS Element Parsed {"raw_longitude":766988480,"raw_latitude":98662800,"longitude_deg":76.698848,"latitude_deg":9.86628,"altitude":52,"angle":201,"satellites":41,"speed":37,"hex_longitude":"2db750c0","hex_latitude":"05e17990","is_valid_coordinates":true} 
[2026-07-25 16:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953967616001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357897657680658432,"note":"Value kept but may cause issues"} 
[2026-07-25 16:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5233323479233028096,"note":"Value kept but may cause issues"} 
[2026-07-25 16:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784976446000,"timestamp_ms":1784976446000,"timestamp_seconds":1784976446,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e31230"} 
[2026-07-25 16:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 16:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953967616001,"66":27843,"81":206,"92":41728,"24":37,"16":357897657680658432,"45":-5233323479233028096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953967616001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357897657680658432,"km_value":357897657680658.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5233323479233028096,"description":"Unknown IO ID 45"} 
[2026-07-25 16:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953967616001,"power":27843,"unknown_81":206,"unknown_92":41728,"ignition":37,"odometer":null,"unknown_45":-5233323479233028096}} 
[2026-07-25 16:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":143556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:21:06] local.INFO: GPS data processed {"connection_id":143556,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:21:06] local.INFO: Acknowledgment sent {"connection_id":143556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:21:10] local.INFO: TCP Data received {"connection_id":143556,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e33170012db7440005e15f08003400d526..."} 
[2026-07-25 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e33170012db7440005e15f08003400d526..."} 
[2026-07-25 16:21:10] local.INFO: Processing buffer {"connection_id":143556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e33170012db7440005e15f08003400d526..."} 
[2026-07-25 16:21:10] local.INFO: Packet analysis {"connection_id":143556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:21:10] local.INFO: Extracted packet for processing {"connection_id":143556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":766985216,"raw_latitude":98656008,"longitude_deg":76.6985216,"latitude_deg":9.8656008,"altitude":52,"angle":213,"satellites":38,"speed":37,"hex_longitude":"2db74400","hex_latitude":"05e15f08","is_valid_coordinates":true} 
[2026-07-25 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953970176001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898022752878592,"note":"Value kept but may cause issues"} 
[2026-07-25 16:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5237475235141677056,"note":"Value kept but may cause issues"} 
[2026-07-25 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784976454000,"timestamp_ms":1784976454000,"timestamp_seconds":1784976454,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e33170"} 
[2026-07-25 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 16:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953970176001,"66":28082,"81":206,"92":41728,"24":37,"16":357898022752878592,"45":-5237475235141677056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953970176001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:21:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898022752878592,"km_value":357898022752878.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5237475235141677056,"description":"Unknown IO ID 45"} 
[2026-07-25 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953970176001,"power":28082,"unknown_81":206,"unknown_92":41728,"ignition":37,"odometer":null,"unknown_45":-5237475235141677056}} 
[2026-07-25 16:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":143556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:21:10] local.INFO: GPS data processed {"connection_id":143556,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:21:10] local.INFO: Acknowledgment sent {"connection_id":143556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:21:55] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:55] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:21:55] local.INFO: IMEI packet received {"connection_id":141140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":141140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:22:00] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:22:00] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:22:00] local.INFO: IMEI packet received {"connection_id":141140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":141140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:22:01] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e344f8012db7384005e15058003400e127..."} 
[2026-07-25 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e344f8012db7384005e15058003400e127..."} 
[2026-07-25 16:22:01] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e344f8012db7384005e15058003400e127..."} 
[2026-07-25 16:22:01] local.INFO: Packet analysis {"connection_id":141140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:22:01] local.INFO: Extracted packet for processing {"connection_id":141140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":766982208,"raw_latitude":98652248,"longitude_deg":76.6982208,"latitude_deg":9.8652248,"altitude":52,"angle":225,"satellites":39,"speed":39,"hex_longitude":"2db73840","hex_latitude":"05e15058","is_valid_coordinates":true} 
[2026-07-25 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953972224001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898254681112576,"note":"Value kept but may cause issues"} 
[2026-07-25 16:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5241064041096476672,"note":"Value kept but may cause issues"} 
[2026-07-25 16:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976459000,"timestamp_ms":1784976459000,"timestamp_seconds":1784976459,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e344f8"} 
[2026-07-25 16:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 16:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953972224001,"66":28137,"81":206,"92":41728,"24":39,"16":357898254681112576,"45":-5241064041096476672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953972224001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898254681112576,"km_value":357898254681112.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5241064041096476672,"description":"Unknown IO ID 45"} 
[2026-07-25 16:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953972224001,"power":28137,"unknown_81":206,"unknown_92":41728,"ignition":39,"odometer":null,"unknown_45":-5241064041096476672}} 
[2026-07-25 16:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":141140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:22:01] local.INFO: GPS data processed {"connection_id":141140,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:22:01] local.INFO: Acknowledgment sent {"connection_id":141140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:22:32] local.INFO: TCP Data received {"connection_id":141140,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e350b0012db72ec005e148f8003300ee28..."} 
[2026-07-25 16:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e350b0012db72ec005e148f8003300ee28..."} 
[2026-07-25 16:22:32] local.INFO: Processing buffer {"connection_id":141140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e350b0012db72ec005e148f8003300ee28..."} 
[2026-07-25 16:22:32] local.INFO: Packet analysis {"connection_id":141140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:22:32] local.INFO: Extracted packet for processing {"connection_id":141140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":766979776,"raw_latitude":98650360,"longitude_deg":76.6979776,"latitude_deg":9.865036,"altitude":51,"angle":238,"satellites":40,"speed":41,"hex_longitude":"2db72ec0","hex_latitude":"05e148f8","is_valid_coordinates":true} 
[2026-07-25 16:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953973504001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898405004967936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5244371372073789440,"note":"Value kept but may cause issues"} 
[2026-07-25 16:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976462000,"timestamp_ms":1784976462000,"timestamp_seconds":1784976462,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e350b0"} 
[2026-07-25 16:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 16:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953973504001,"66":27908,"81":206,"92":41728,"24":41,"16":357898405004967936,"45":-5244371372073789440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953973504001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:22:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:22:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898405004967936,"km_value":357898405004967.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5244371372073789440,"description":"Unknown IO ID 45"} 
[2026-07-25 16:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953973504001,"power":27908,"unknown_81":206,"unknown_92":41728,"ignition":41,"odometer":null,"unknown_45":-5244371372073789440}} 
[2026-07-25 16:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":141140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:22:32] local.INFO: GPS data processed {"connection_id":141140,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:22:32] local.INFO: Acknowledgment sent {"connection_id":141140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:22:49] local.INFO: TCP Data received {"connection_id":141138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:22:49] local.INFO: Processing buffer {"connection_id":141138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:22:49] local.INFO: IMEI packet received {"connection_id":141138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":141138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:22:55] local.INFO: TCP Data received {"connection_id":142171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:22:55] local.INFO: Processing buffer {"connection_id":142171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:22:55] local.INFO: IMEI packet received {"connection_id":142171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":142171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:23:00] local.INFO: TCP Data received {"connection_id":142171,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:23:00] local.INFO: Processing buffer {"connection_id":142171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:23:00] local.INFO: IMEI packet received {"connection_id":142171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":142171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:23:01] local.INFO: TCP Data received {"connection_id":142171,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e35880012db7274005e14508003100f227..."} 
[2026-07-25 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e35880012db7274005e14508003100f227..."} 
[2026-07-25 16:23:01] local.INFO: Processing buffer {"connection_id":142171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e35880012db7274005e14508003100f227..."} 
[2026-07-25 16:23:01] local.INFO: Packet analysis {"connection_id":142171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:23:01] local.INFO: Extracted packet for processing {"connection_id":142171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":766977856,"raw_latitude":98649352,"longitude_deg":76.6977856,"latitude_deg":9.8649352,"altitude":49,"angle":242,"satellites":39,"speed":42,"hex_longitude":"2db72740","hex_latitude":"05e14508","is_valid_coordinates":true} 
[2026-07-25 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953974272001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5247045384353024000,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976464000,"timestamp_ms":1784976464000,"timestamp_seconds":1784976464,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e35880"} 
[2026-07-25 16:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953974272001,"66":28006,"81":206,"92":41728,"24":42,"16":357898508084183040,"45":-5247045384353024000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953974272001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:23:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:23:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5247045384353024000,"description":"Unknown IO ID 45"} 
[2026-07-25 16:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953974272001,"power":28006,"unknown_81":206,"unknown_92":41728,"ignition":42,"odometer":null,"unknown_45":-5247045384353024000}} 
[2026-07-25 16:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":142171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:23:01] local.INFO: GPS data processed {"connection_id":142171,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:23:01] local.INFO: Acknowledgment sent {"connection_id":142171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:23:14] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:14] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:14] local.INFO: IMEI packet received {"connection_id":143557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":143557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:23:17] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:17] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:17] local.INFO: IMEI packet received {"connection_id":143557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":143557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:23:18] local.INFO: TCP Data received {"connection_id":143557,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e81370012d7b70c005e037f80000016227..."} 
[2026-07-25 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e81370012d7b70c005e037f80000016227..."} 
[2026-07-25 16:23:18] local.INFO: Processing buffer {"connection_id":143557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e81370012d7b70c005e037f80000016227..."} 
[2026-07-25 16:23:18] local.INFO: Packet analysis {"connection_id":143557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:23:18] local.INFO: Extracted packet for processing {"connection_id":143557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:23:18] local.INFO: GPS Element Parsed {"raw_longitude":763064512,"raw_latitude":98580472,"longitude_deg":76.3064512,"latitude_deg":9.8580472,"altitude":0,"angle":354,"satellites":39,"speed":55,"hex_longitude":"2d7b70c0","hex_latitude":"05e037f8","is_valid_coordinates":true} 
[2026-07-25 16:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954052352001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110283515936899072,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087032918581248,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784976774000,"timestamp_ms":1784976774000,"timestamp_seconds":1784976774,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e81370"} 
[2026-07-25 16:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161184144807,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805072078,"corrected_to":0} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2565297160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2214592512,"corrected_to":0} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147868496,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":58077557095399480,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3416457216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3744086016,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,36,85,24,241,16,205,159,220,45,192,235,34,10,66,193,196,35,204,166,64,1,240,237,152,223,4,113,57,111,143,33,239,50,2,157,135,5,56],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2805072078,"validated":0},{"io_id":204,"original":2214592512,"validated":0}]} 
[2026-07-25 16:23:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387187010437120,"timestamp_seconds":387187010437.12,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954052352001,"66":12982,"36":206,"85":15104,"24":55,"16":110283515936899072,"45":8896087032918581248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-25 16:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954052352001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:23:18] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 16:23:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110283515936899072,"km_value":110283515936899.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087032918581248,"description":"Unknown IO ID 45"} 
[2026-07-25 16:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954052352001,"power":12982,"unknown_36":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8896087032918581248}} 
[2026-07-25 16:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":143557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:23:18] local.INFO: GPS data processed {"connection_id":143557,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:23:18] local.INFO: Acknowledgment sent {"connection_id":143557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:23:32] local.INFO: TCP Data received {"connection_id":142171,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e36050012db7204005e14060002f00e427..."} 
[2026-07-25 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e36050012db7204005e14060002f00e427..."} 
[2026-07-25 16:23:32] local.INFO: Processing buffer {"connection_id":142171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e36050012db7204005e14060002f00e427..."} 
[2026-07-25 16:23:32] local.INFO: Packet analysis {"connection_id":142171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:23:32] local.INFO: Extracted packet for processing {"connection_id":142171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":766976064,"raw_latitude":98648160,"longitude_deg":76.6976064,"latitude_deg":9.864816,"altitude":47,"angle":228,"satellites":39,"speed":43,"hex_longitude":"2db72040","hex_latitude":"05e14060","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953974784001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5249156446678611968,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976466000,"timestamp_ms":1784976466000,"timestamp_seconds":1784976466,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e36050"} 
[2026-07-25 16:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 16:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953974784001,"66":27517,"81":206,"92":41728,"24":43,"16":357898508084183040,"45":-5249156446678611968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953974784001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5249156446678611968,"description":"Unknown IO ID 45"} 
[2026-07-25 16:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953974784001,"power":27517,"unknown_81":206,"unknown_92":41728,"ignition":43,"odometer":null,"unknown_45":-5249156446678611968}} 
[2026-07-25 16:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":142171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:23:32] local.INFO: GPS data processed {"connection_id":142171,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:23:32] local.INFO: Acknowledgment sent {"connection_id":142171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:23:49] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:49] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:49] local.INFO: IMEI packet received {"connection_id":141202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":141202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:23:54] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:54] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:23:54] local.INFO: IMEI packet received {"connection_id":141202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":141202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:23:55] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e82ec8012d7b6c0005e05d800000016026..."} 
[2026-07-25 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e82ec8012d7b6c0005e05d800000016026..."} 
[2026-07-25 16:23:55] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e82ec8012d7b6c0005e05d800000016026..."} 
[2026-07-25 16:23:55] local.INFO: Packet analysis {"connection_id":141202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:23:55] local.INFO: Extracted packet for processing {"connection_id":141202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763063296,"raw_latitude":98590080,"longitude_deg":76.3063296,"latitude_deg":9.859008,"altitude":0,"angle":352,"satellites":38,"speed":54,"hex_longitude":"2d7b6c00","hex_latitude":"05e05d80","is_valid_coordinates":true} 
[2026-07-25 16:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954054144001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110283984088334336,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894820395525863424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784976781000,"timestamp_ms":1784976781000,"timestamp_seconds":1784976781,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e82ec8"} 
[2026-07-25 16:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 16:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954054144001,"66":13015,"36":206,"85":15104,"24":54,"16":110283984088334336,"45":8894820395525863424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-07-25 16:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954054144001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:23:55] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-07-25 16:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110283984088334336,"km_value":110283984088334.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894820395525863424,"description":"Unknown IO ID 45"} 
[2026-07-25 16:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954054144001,"power":13015,"unknown_36":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8894820395525863424}} 
[2026-07-25 16:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":141202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:23:55] local.INFO: GPS data processed {"connection_id":141202,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:23:55] local.INFO: Acknowledgment sent {"connection_id":141202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:23:55] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:23:55] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:23:55] local.INFO: IMEI packet received {"connection_id":141203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":141203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:24:00] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:24:00] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:24:00] local.INFO: IMEI packet received {"connection_id":141203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":141203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:24:01] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e36820012db71b4005e139d8002f00ce27..."} 
[2026-07-25 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e36820012db71b4005e139d8002f00ce27..."} 
[2026-07-25 16:24:01] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e36820012db71b4005e139d8002f00ce27..."} 
[2026-07-25 16:24:01] local.INFO: Packet analysis {"connection_id":141203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:24:01] local.INFO: Extracted packet for processing {"connection_id":141203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e3"} 
[2026-07-25 16:24:01] local.INFO: GPS Element Parsed {"raw_longitude":766974784,"raw_latitude":98646488,"longitude_deg":76.6974784,"latitude_deg":9.8646488,"altitude":47,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2db71b40","hex_latitude":"05e139d8","is_valid_coordinates":true} 
[2026-07-25 16:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975296001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5251126771515891712,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976468000,"timestamp_ms":1784976468000,"timestamp_seconds":1784976468,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e36820"} 
[2026-07-25 16:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-25 16:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975296001,"66":27213,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5251126771515891712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975296001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:24:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:24:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5251126771515891712,"description":"Unknown IO ID 45"} 
[2026-07-25 16:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975296001,"power":27213,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5251126771515891712}} 
[2026-07-25 16:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":141203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:24:01] local.INFO: GPS data processed {"connection_id":141203,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:24:01] local.INFO: Acknowledgment sent {"connection_id":141203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:24:26] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e84a20012d7b674005e082a00000016024..."} 
[2026-07-25 16:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e84a20012d7b674005e082a00000016024..."} 
[2026-07-25 16:24:26] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e84a20012d7b674005e082a00000016024..."} 
[2026-07-25 16:24:26] local.INFO: Packet analysis {"connection_id":141202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:24:26] local.INFO: Extracted packet for processing {"connection_id":141202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:24:26] local.INFO: GPS Element Parsed {"raw_longitude":763062080,"raw_latitude":98599584,"longitude_deg":76.306208,"latitude_deg":9.8599584,"altitude":0,"angle":352,"satellites":36,"speed":55,"hex_longitude":"2d7b6740","hex_latitude":"05e082a0","is_valid_coordinates":true} 
[2026-07-25 16:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954055936001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110284447944802304,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893483389388947456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784976788000,"timestamp_ms":1784976788000,"timestamp_seconds":1784976788,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e84a20"} 
[2026-07-25 16:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 16:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954055936001,"66":12722,"35":206,"85":15104,"24":55,"16":110284447944802304,"45":8893483389388947456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-25 16:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954055936001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:24:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-25 16:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110284447944802304,"km_value":110284447944802.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893483389388947456,"description":"Unknown IO ID 45"} 
[2026-07-25 16:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954055936001,"power":12722,"unknown_35":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8893483389388947456}} 
[2026-07-25 16:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":141202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:24:26] local.INFO: GPS data processed {"connection_id":141202,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:24:26] local.INFO: Acknowledgment sent {"connection_id":141202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:24:32] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:24:32] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:24:32] local.INFO: Packet analysis {"connection_id":141203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:24:32] local.INFO: Extracted packet for processing {"connection_id":141203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:24:32] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 16:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:24:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:24:32] local.INFO: GPS data processed {"connection_id":141203,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:24:32] local.INFO: Acknowledgment sent {"connection_id":141203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:24:49] local.INFO: TCP Data received {"connection_id":142172,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:24:49] local.INFO: Processing buffer {"connection_id":142172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:24:49] local.INFO: IMEI packet received {"connection_id":142172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":142172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:24:54] local.INFO: TCP Data received {"connection_id":142172,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:24:54] local.INFO: Processing buffer {"connection_id":142172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:24:54] local.INFO: IMEI packet received {"connection_id":142172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":142172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:24:55] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:24:55] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:24:55] local.INFO: IMEI packet received {"connection_id":141142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":141142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:24:55] local.INFO: TCP Data received {"connection_id":142172,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e86578012d7b618005e0a7600000015d22..."} 
[2026-07-25 16:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e86578012d7b618005e0a7600000015d22..."} 
[2026-07-25 16:24:55] local.INFO: Processing buffer {"connection_id":142172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e86578012d7b618005e0a7600000015d22..."} 
[2026-07-25 16:24:55] local.INFO: Packet analysis {"connection_id":142172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:24:55] local.INFO: Extracted packet for processing {"connection_id":142172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":98608992,"longitude_deg":76.3060608,"latitude_deg":9.8608992,"altitude":0,"angle":349,"satellites":34,"speed":53,"hex_longitude":"2d7b6180","hex_latitude":"05e0a760","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954057728001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110284907506302976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892146383252004864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784976795000,"timestamp_ms":1784976795000,"timestamp_seconds":1784976795,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e86578"} 
[2026-07-25 16:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 16:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954057728001,"66":13048,"35":206,"85":15104,"24":53,"16":110284907506302976,"45":8892146383252004864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-25 16:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954057728001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:24:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-25 16:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110284907506302976,"km_value":110284907506302.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892146383252004864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954057728001,"power":13048,"unknown_35":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8892146383252004864}} 
[2026-07-25 16:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":142172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:24:55] local.INFO: GPS data processed {"connection_id":142172,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:24:55] local.INFO: Acknowledgment sent {"connection_id":142172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:25:00] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:25:00] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:25:00] local.INFO: IMEI packet received {"connection_id":141142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":141142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:25:01] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:25:01] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:25:01] local.INFO: Packet analysis {"connection_id":141142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:25:01] local.INFO: Extracted packet for processing {"connection_id":141142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 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-07-25 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:25:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:25:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":141142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:25:01] local.INFO: GPS data processed {"connection_id":141142,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:25:01] local.INFO: Acknowledgment sent {"connection_id":141142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:25:26] local.INFO: TCP Data received {"connection_id":142172,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e880d0012d7b5c4005e0cb600000015e1d..."} 
[2026-07-25 16:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e880d0012d7b5c4005e0cb600000015e1d..."} 
[2026-07-25 16:25:26] local.INFO: Processing buffer {"connection_id":142172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e880d0012d7b5c4005e0cb600000015e1d..."} 
[2026-07-25 16:25:26] local.INFO: Packet analysis {"connection_id":142172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:25:26] local.INFO: Extracted packet for processing {"connection_id":142172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:25:26] local.INFO: GPS Element Parsed {"raw_longitude":763059264,"raw_latitude":98618208,"longitude_deg":76.3059264,"latitude_deg":9.8618208,"altitude":0,"angle":350,"satellites":29,"speed":56,"hex_longitude":"2d7b5c40","hex_latitude":"05e0cb60","is_valid_coordinates":true} 
[2026-07-25 16:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954059520001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110285362772836352,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527902138327040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784976802000,"timestamp_ms":1784976802000,"timestamp_seconds":1784976802,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e880d0"} 
[2026-07-25 16:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 16:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954059520001,"66":13048,"35":206,"85":15104,"24":56,"16":110285362772836352,"45":8890527902138327040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-25 16:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954059520001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:25:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-25 16:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110285362772836352,"km_value":110285362772836.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527902138327040,"description":"Unknown IO ID 45"} 
[2026-07-25 16:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954059520001,"power":13048,"unknown_35":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8890527902138327040}} 
[2026-07-25 16:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":142172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:25:26] local.INFO: GPS data processed {"connection_id":142172,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:25:26] local.INFO: Acknowledgment sent {"connection_id":142172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:25:32] local.INFO: TCP Data received {"connection_id":141142,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:25:32] local.INFO: Processing buffer {"connection_id":141142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:25:32] local.INFO: Packet analysis {"connection_id":141142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:25:32] local.INFO: Extracted packet for processing {"connection_id":141142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:25:32] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 16:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:25:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:25:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":141142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:25:32] local.INFO: GPS data processed {"connection_id":141142,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:25:32] local.INFO: Acknowledgment sent {"connection_id":141142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:25:49] local.INFO: TCP Data received {"connection_id":142173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:25:49] local.INFO: Processing buffer {"connection_id":142173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:25:49] local.INFO: IMEI packet received {"connection_id":142173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":142173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:25:54] local.INFO: TCP Data received {"connection_id":142173,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:25:54] local.INFO: Processing buffer {"connection_id":142173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:25:54] local.INFO: IMEI packet received {"connection_id":142173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":142173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:25:55] local.INFO: TCP Data received {"connection_id":142173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e89c28012d7b554005e0f3080000015f20..."} 
[2026-07-25 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e89c28012d7b554005e0f3080000015f20..."} 
[2026-07-25 16:25:55] local.INFO: Processing buffer {"connection_id":142173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e89c28012d7b554005e0f3080000015f20..."} 
[2026-07-25 16:25:55] local.INFO: Packet analysis {"connection_id":142173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:25:55] local.INFO: Extracted packet for processing {"connection_id":142173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763057472,"raw_latitude":98628360,"longitude_deg":76.3057472,"latitude_deg":9.862836,"altitude":0,"angle":351,"satellites":32,"speed":59,"hex_longitude":"2d7b5540","hex_latitude":"05e0f308","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954061312001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110285860989042688,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889050158512955392,"note":"Value kept but may cause issues"} 
[2026-07-25 16:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784976809000,"timestamp_ms":1784976809000,"timestamp_seconds":1784976809,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e89c28"} 
[2026-07-25 16:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 16:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954061312001,"66":13048,"35":206,"85":15104,"24":59,"16":110285860989042688,"45":8889050158512955392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-25 16:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954061312001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:25:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-25 16:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110285860989042688,"km_value":110285860989042.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889050158512955392,"description":"Unknown IO ID 45"} 
[2026-07-25 16:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954061312001,"power":13048,"unknown_35":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8889050158512955392}} 
[2026-07-25 16:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":142173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:25:55] local.INFO: GPS data processed {"connection_id":142173,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:25:55] local.INFO: Acknowledgment sent {"connection_id":142173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:26:00] local.INFO: TCP Data received {"connection_id":142174,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:00] local.INFO: Processing buffer {"connection_id":142174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:00] local.INFO: IMEI packet received {"connection_id":142174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":142174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:26:05] local.INFO: TCP Data received {"connection_id":142174,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:05] local.INFO: Processing buffer {"connection_id":142174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:05] local.INFO: IMEI packet received {"connection_id":142174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":142174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:26:06] local.INFO: TCP Data received {"connection_id":142174,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:26:06] local.INFO: Processing buffer {"connection_id":142174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:26:06] local.INFO: Packet analysis {"connection_id":142174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:26:06] local.INFO: Extracted packet for processing {"connection_id":142174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 16:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:26:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:26:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":142174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:26:06] local.INFO: GPS data processed {"connection_id":142174,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:26:06] local.INFO: Acknowledgment sent {"connection_id":142174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:26:27] local.INFO: TCP Data received {"connection_id":142173,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e8b398012d7b4f4005e116200000015f20..."} 
[2026-07-25 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e8b398012d7b4f4005e116200000015f20..."} 
[2026-07-25 16:26:27] local.INFO: Processing buffer {"connection_id":142173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e8b398012d7b4f4005e116200000015f20..."} 
[2026-07-25 16:26:27] local.INFO: Packet analysis {"connection_id":142173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:26:27] local.INFO: Extracted packet for processing {"connection_id":142173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763055936,"raw_latitude":98637344,"longitude_deg":76.3055936,"latitude_deg":9.8637344,"altitude":0,"angle":351,"satellites":32,"speed":60,"hex_longitude":"2d7b4f40","hex_latitude":"05e11620","is_valid_coordinates":true} 
[2026-07-25 16:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954063104001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110286303370674176,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887079833678579712,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784976815000,"timestamp_ms":1784976815000,"timestamp_seconds":1784976815,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e8b398"} 
[2026-07-25 16:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 16:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16: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-07-25 16:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954063104001,"66":12841,"35":206,"85":15104,"24":60,"16":110286303370674176,"45":8887079833678579712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-07-25 16:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954063104001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:26:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-25 16:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110286303370674176,"km_value":110286303370674.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887079833678579712,"description":"Unknown IO ID 45"} 
[2026-07-25 16:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954063104001,"power":12841,"unknown_35":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8887079833678579712}} 
[2026-07-25 16:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":142173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:26:27] local.INFO: GPS data processed {"connection_id":142173,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:26:27] local.INFO: Acknowledgment sent {"connection_id":142173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:26:37] local.INFO: TCP Data received {"connection_id":142174,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:26:37] local.INFO: Processing buffer {"connection_id":142174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:26:37] local.INFO: Packet analysis {"connection_id":142174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:26:37] local.INFO: Extracted packet for processing {"connection_id":142174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:26:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":142174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:26:37] local.INFO: GPS data processed {"connection_id":142174,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:26:37] local.INFO: Acknowledgment sent {"connection_id":142174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:26:49] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:26:49] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:26:49] local.INFO: IMEI packet received {"connection_id":141204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":141204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:26:54] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:26:54] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:26:54] local.INFO: IMEI packet received {"connection_id":141204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":141204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:26:54] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e8cef0012d7b494005e13d580000015e20..."} 
[2026-07-25 16:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e8cef0012d7b494005e13d580000015e20..."} 
[2026-07-25 16:26:54] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e8cef0012d7b494005e13d580000015e20..."} 
[2026-07-25 16:26:54] local.INFO: Packet analysis {"connection_id":141204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:26:54] local.INFO: Extracted packet for processing {"connection_id":141204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e8"} 
[2026-07-25 16:26:54] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98647384,"longitude_deg":76.30544,"latitude_deg":9.8647384,"altitude":0,"angle":350,"satellites":32,"speed":53,"hex_longitude":"2d7b4940","hex_latitude":"05e13d58","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954064640001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110286792996945920,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885390983820615680,"note":"Value kept but may cause issues"} 
[2026-07-25 16:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784976822000,"timestamp_ms":1784976822000,"timestamp_seconds":1784976822,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e8cef0"} 
[2026-07-25 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-07-25 16:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 16:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954064640001,"66":12885,"170":206,"85":15104,"24":53,"16":110286792996945920,"45":8885390983820615680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-07-25 16:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954064640001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:26:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 16:26:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110286792996945920,"km_value":110286792996945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885390983820615680,"description":"Unknown IO ID 45"} 
[2026-07-25 16:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954064640001,"power":12885,"unknown_170":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8885390983820615680}} 
[2026-07-25 16:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":141204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:26:55] local.INFO: GPS data processed {"connection_id":141204,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:26:55] local.INFO: Acknowledgment sent {"connection_id":141204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:26:55] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:55] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:26:55] local.INFO: IMEI packet received {"connection_id":141205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":141205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:27:00] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:27:00] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:27:00] local.INFO: IMEI packet received {"connection_id":141205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":141205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:27:01] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:27:01] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:27:01] local.INFO: Packet analysis {"connection_id":141205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:27:01] local.INFO: Extracted packet for processing {"connection_id":141205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 16:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":141205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:27:01] local.INFO: GPS data processed {"connection_id":141205,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:27:01] local.INFO: Acknowledgment sent {"connection_id":141205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:27:26] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98eb7a88012d7b338005e1df080000000223..."} 
[2026-07-25 16:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98eb7a88012d7b338005e1df080000000223..."} 
[2026-07-25 16:27:26] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98eb7a88012d7b338005e1df080000000223..."} 
[2026-07-25 16:27:26] local.INFO: Packet analysis {"connection_id":141204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:27:26] local.INFO: Extracted packet for processing {"connection_id":141204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:27:26] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98688776,"longitude_deg":76.3048832,"latitude_deg":9.8688776,"altitude":0,"angle":2,"satellites":35,"speed":5,"hex_longitude":"2d7b3380","hex_latitude":"05e1df08","is_valid_coordinates":true} 
[2026-07-25 16:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954106112001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110288845991313408,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877861528205924352,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784976997000,"timestamp_ms":1784976997000,"timestamp_seconds":1784976997,"priority":1,"record_length":96,"hex_timestamp":"0000019f98eb7a88"} 
[2026-07-25 16:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 16:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954106112001,"66":13178,"169":206,"85":15104,"24":5,"16":110288845991313408,"45":8877861528205924352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954106112001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:27:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110288845991313408,"km_value":110288845991313.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877861528205924352,"description":"Unknown IO ID 45"} 
[2026-07-25 16:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954106112001,"power":13178,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877861528205924352}} 
[2026-07-25 16:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":141204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:27:26] local.INFO: GPS data processed {"connection_id":141204,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:27:26] local.INFO: Acknowledgment sent {"connection_id":141204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:27:32] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:27:32] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98e7ffe8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:27:32] local.INFO: Packet analysis {"connection_id":141205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:27:32] local.INFO: Extracted packet for processing {"connection_id":141205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98e7"} 
[2026-07-25 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456953975808001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5252534146399873024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784976769000,"timestamp_ms":1784976769000,"timestamp_seconds":1784976769,"priority":1,"record_length":96,"hex_timestamp":"0000019f98e7ffe8"} 
[2026-07-25 16:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":77,"data_length":795,"current_offset":136} 
[2026-07-25 16:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456953975808001,"66":26289,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5252534146399873024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456953975808001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:27:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5252534146399873024,"description":"Unknown IO ID 45"} 
[2026-07-25 16:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456953975808001,"power":26289,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5252534146399873024}} 
[2026-07-25 16:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":141205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:27:32] local.INFO: GPS data processed {"connection_id":141205,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:27:32] local.INFO: Acknowledgment sent {"connection_id":141205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:27:49] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:27:49] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:27:49] local.INFO: IMEI packet received {"connection_id":141143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":141143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:27:55] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:27:55] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:27:55] local.INFO: IMEI packet received {"connection_id":141143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":141143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:27:55] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:27:55] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:27:55] local.INFO: IMEI packet received {"connection_id":141144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":141144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:27:56] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ebcc90012d7b330005e1e7f80000000324..."} 
[2026-07-25 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ebcc90012d7b330005e1e7f80000000324..."} 
[2026-07-25 16:27:56] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ebcc90012d7b330005e1e7f80000000324..."} 
[2026-07-25 16:27:56] local.INFO: Packet analysis {"connection_id":141143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:27:56] local.INFO: Extracted packet for processing {"connection_id":141143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98691064,"longitude_deg":76.3048704,"latitude_deg":9.8691064,"altitude":0,"angle":3,"satellites":36,"speed":5,"hex_longitude":"2d7b3300","hex_latitude":"05e1e7f8","is_valid_coordinates":true} 
[2026-07-25 16:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954111232001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110288966250397696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053230061568,"note":"Value kept but may cause issues"} 
[2026-07-25 16:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784977018000,"timestamp_ms":1784977018000,"timestamp_seconds":1784977018,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ebcc90"} 
[2026-07-25 16:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-25 16:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954111232001,"66":13048,"169":206,"85":15104,"24":5,"16":110288966250397696,"45":8877580053230061568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954111232001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:27:56] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110288966250397696,"km_value":110288966250397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053230061568,"description":"Unknown IO ID 45"} 
[2026-07-25 16:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954111232001,"power":13048,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8877580053230061568}} 
[2026-07-25 16:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":141143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:27:56] local.INFO: GPS data processed {"connection_id":141143,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:27:56] local.INFO: Acknowledgment sent {"connection_id":141143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:28:00] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:28:00] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:28:00] local.INFO: IMEI packet received {"connection_id":141144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:28:00] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ebe7e8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ebe7e8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:28:00] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ebe7e8012db722c005e12090003100ce2d..."} 
[2026-07-25 16:28:00] local.INFO: Packet analysis {"connection_id":141144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:28:00] local.INFO: Extracted packet for processing {"connection_id":141144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":766976704,"raw_latitude":98640016,"longitude_deg":76.6976704,"latitude_deg":9.8640016,"altitude":49,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2db722c0","hex_latitude":"05e12090","is_valid_coordinates":true} 
[2026-07-25 16:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954052864001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5250423084076199936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784977025000,"timestamp_ms":1784977025000,"timestamp_seconds":1784977025,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ebe7e8"} 
[2026-07-25 16:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 16: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-25 16:28:00] 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-07-25 16:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954052864001,"66":26082,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5250423084076199936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954052864001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5250423084076199936,"description":"Unknown IO ID 45"} 
[2026-07-25 16:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954052864001,"power":26082,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5250423084076199936}} 
[2026-07-25 16:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":141144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:28:00] local.INFO: GPS data processed {"connection_id":141144,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:28:00] local.INFO: Acknowledgment sent {"connection_id":141144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:28:24] local.INFO: TCP Data received {"connection_id":141141,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:28:24] local.INFO: Processing buffer {"connection_id":141141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:28:24] local.INFO: IMEI packet received {"connection_id":141141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":141141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:28:27] local.INFO: TCP Data received {"connection_id":141143,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ebf788012d7b328005e1ee280000015d24..."} 
[2026-07-25 16:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ebf788012d7b328005e1ee280000015d24..."} 
[2026-07-25 16:28:27] local.INFO: Processing buffer {"connection_id":141143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ebf788012d7b328005e1ee280000015d24..."} 
[2026-07-25 16:28:27] local.INFO: Packet analysis {"connection_id":141143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:28:27] local.INFO: Extracted packet for processing {"connection_id":141143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763048576,"raw_latitude":98692648,"longitude_deg":76.3048576,"latitude_deg":9.8692648,"altitude":0,"angle":349,"satellites":36,"speed":4,"hex_longitude":"2d7b3280","hex_latitude":"05e1ee28","is_valid_coordinates":true} 
[2026-07-25 16:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954116608001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289043559809024,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315742291968,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784977029000,"timestamp_ms":1784977029000,"timestamp_seconds":1784977029,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ebf788"} 
[2026-07-25 16:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":248,"data_length":795,"current_offset":136} 
[2026-07-25 16:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:28: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-07-25 16:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954116608001,"66":12906,"169":206,"85":15104,"24":4,"16":110289043559809024,"45":8877439315742291968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954116608001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:28:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289043559809024,"km_value":110289043559809.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315742291968,"description":"Unknown IO ID 45"} 
[2026-07-25 16:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954116608001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8877439315742291968}} 
[2026-07-25 16:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":141143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:28:27] local.INFO: GPS data processed {"connection_id":141143,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:28:27] local.INFO: Acknowledgment sent {"connection_id":141143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:28:31] local.INFO: TCP Data received {"connection_id":141144,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ebf3a0012db7218005e11d80003100962d..."} 
[2026-07-25 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ebf3a0012db7218005e11d80003100962d..."} 
[2026-07-25 16:28:31] local.INFO: Processing buffer {"connection_id":141144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ebf3a0012db7218005e11d80003100962d..."} 
[2026-07-25 16:28:31] local.INFO: Packet analysis {"connection_id":141144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:28:31] local.INFO: Extracted packet for processing {"connection_id":141144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98eb"} 
[2026-07-25 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":766976384,"raw_latitude":98639232,"longitude_deg":76.6976384,"latitude_deg":9.8639232,"altitude":49,"angle":150,"satellites":45,"speed":0,"hex_longitude":"2db72180","hex_latitude":"05e11d80","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954118400001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5250423084076199936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784977028000,"timestamp_ms":1784977028000,"timestamp_seconds":1784977028,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ebf3a0"} 
[2026-07-25 16:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-25 16:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954118400001,"66":27180,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5250423084076199936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954118400001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5250423084076199936,"description":"Unknown IO ID 45"} 
[2026-07-25 16:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954118400001,"power":27180,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5250423084076199936}} 
[2026-07-25 16:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":141144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:28:31] local.INFO: GPS data processed {"connection_id":141144,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:28:31] local.INFO: Acknowledgment sent {"connection_id":141144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:28:49] local.INFO: TCP Data received {"connection_id":143558,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:49] local.INFO: Processing buffer {"connection_id":143558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:49] local.INFO: IMEI packet received {"connection_id":143558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":143558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:28:49] local.INFO: TCP Data received {"connection_id":142175,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:28:49] local.INFO: Processing buffer {"connection_id":142175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:28:49] local.INFO: IMEI packet received {"connection_id":142175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":142175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:28:53] local.INFO: TCP Data received {"connection_id":143558,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:53] local.INFO: Processing buffer {"connection_id":143558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:53] local.INFO: IMEI packet received {"connection_id":143558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":143558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:28:54] local.INFO: TCP Data received {"connection_id":143558,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:54] local.INFO: Processing buffer {"connection_id":143558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:28:54] local.INFO: IMEI packet received {"connection_id":143558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":143558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:28:54] local.INFO: TCP Data received {"connection_id":143558,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ec3220012d7b328005e1f2080000000023..."} 
[2026-07-25 16:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ec3220012d7b328005e1f2080000000023..."} 
[2026-07-25 16:28:54] local.INFO: Processing buffer {"connection_id":143558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ec3220012d7b328005e1f2080000000023..."} 
[2026-07-25 16:28:54] local.INFO: Packet analysis {"connection_id":143558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:28:54] local.INFO: Extracted packet for processing {"connection_id":143558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763048576,"raw_latitude":98693640,"longitude_deg":76.3048576,"latitude_deg":9.869364,"altitude":0,"angle":0,"satellites":35,"speed":7,"hex_longitude":"2d7b3280","hex_latitude":"05e1f208","is_valid_coordinates":true} 
[2026-07-25 16:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954119424001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289095099416576,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877298578254342144,"note":"Value kept but may cause issues"} 
[2026-07-25 16:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784977044000,"timestamp_ms":1784977044000,"timestamp_seconds":1784977044,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ec3220"} 
[2026-07-25 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-07-25 16:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 16:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954119424001,"66":13189,"169":206,"85":15104,"24":7,"16":110289095099416576,"45":8877298578254342144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954119424001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:28:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289095099416576,"km_value":110289095099416.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877298578254342144,"description":"Unknown IO ID 45"} 
[2026-07-25 16:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954119424001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8877298578254342144}} 
[2026-07-25 16:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":143558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:28:54] local.INFO: GPS data processed {"connection_id":143558,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:28:54] local.INFO: Acknowledgment sent {"connection_id":143558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:28:55] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:28:55] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:28:55] local.INFO: IMEI packet received {"connection_id":141206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":141206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:29:00] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:00] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:00] local.INFO: IMEI packet received {"connection_id":141206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":141206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:29:01] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ec45a8012db7218005e11d80003100962b..."} 
[2026-07-25 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ec45a8012db7218005e11d80003100962b..."} 
[2026-07-25 16:29:01] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ec45a8012db7218005e11d80003100962b..."} 
[2026-07-25 16:29:01] local.INFO: Packet analysis {"connection_id":141206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:01] local.INFO: Extracted packet for processing {"connection_id":141206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":766976384,"raw_latitude":98639232,"longitude_deg":76.6976384,"latitude_deg":9.8639232,"altitude":49,"angle":150,"satellites":43,"speed":0,"hex_longitude":"2db72180","hex_latitude":"05e11d80","is_valid_coordinates":true} 
[2026-07-25 16:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954119168001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357898508084183040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5250774927797288960,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784977049000,"timestamp_ms":1784977049000,"timestamp_seconds":1784977049,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ec45a8"} 
[2026-07-25 16:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-25 16:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954119168001,"66":27876,"81":206,"92":41728,"24":0,"16":357898508084183040,"45":-5250774927797288960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954119168001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:29:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:29:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357898508084183040,"km_value":357898508084183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5250774927797288960,"description":"Unknown IO ID 45"} 
[2026-07-25 16:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954119168001,"power":27876,"unknown_81":206,"unknown_92":41728,"ignition":0,"odometer":null,"unknown_45":-5250774927797288960}} 
[2026-07-25 16:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":141206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:29:01] local.INFO: GPS data processed {"connection_id":141206,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:29:01] local.INFO: Acknowledgment sent {"connection_id":141206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:29:25] local.INFO: TCP Data received {"connection_id":143558,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ec8428012d7b318005e1fb380000016626..."} 
[2026-07-25 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ec8428012d7b318005e1fb380000016626..."} 
[2026-07-25 16:29:25] local.INFO: Processing buffer {"connection_id":143558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ec8428012d7b318005e1fb380000016626..."} 
[2026-07-25 16:29:25] local.INFO: Packet analysis {"connection_id":143558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:25] local.INFO: Extracted packet for processing {"connection_id":143558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763048320,"raw_latitude":98695992,"longitude_deg":76.304832,"latitude_deg":9.8695992,"altitude":0,"angle":358,"satellites":38,"speed":0,"hex_longitude":"2d7b3180","hex_latitude":"05e1fb38","is_valid_coordinates":true} 
[2026-07-25 16:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954123264001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289215358500864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877298578254596096,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784977065000,"timestamp_ms":1784977065000,"timestamp_seconds":1784977065,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ec8428"} 
[2026-07-25 16:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 16:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954123264001,"66":13059,"169":206,"85":15104,"24":0,"16":110289215358500864,"45":8877298578254596096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954123264001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:29:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289215358500864,"km_value":110289215358500.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877298578254596096,"description":"Unknown IO ID 45"} 
[2026-07-25 16:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954123264001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8877298578254596096}} 
[2026-07-25 16:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":143558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:29:25] local.INFO: GPS data processed {"connection_id":143558,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:29:25] local.INFO: Acknowledgment sent {"connection_id":143558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:29:32] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ed7a40012db6ea8005e0d980002b00fd28..."} 
[2026-07-25 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ed7a40012db6ea8005e0d980002b00fd28..."} 
[2026-07-25 16:29:32] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ed7a40012db6ea8005e0d980002b00fd28..."} 
[2026-07-25 16:29:32] local.INFO: Packet analysis {"connection_id":141206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:29:32] local.INFO: Extracted packet for processing {"connection_id":141206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":766962304,"raw_latitude":98621824,"longitude_deg":76.6962304,"latitude_deg":9.8621824,"altitude":43,"angle":253,"satellites":40,"speed":23,"hex_longitude":"2db6ea80","hex_latitude":"05e0d980","is_valid_coordinates":true} 
[2026-07-25 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954144512001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357900007027769344,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5265693101567379456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784977128000,"timestamp_ms":1784977128000,"timestamp_seconds":1784977128,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ed7a40"} 
[2026-07-25 16:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954144512001,"66":27691,"81":206,"92":41728,"24":23,"16":357900007027769344,"45":-5265693101567379456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,92,24,16,45]} 
[2026-07-25 16:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954144512001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:29:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 16:29:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357900007027769344,"km_value":357900007027769.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5265693101567379456,"description":"Unknown IO ID 45"} 
[2026-07-25 16:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954144512001,"power":27691,"unknown_81":206,"unknown_92":41728,"ignition":23,"odometer":null,"unknown_45":-5265693101567379456}} 
[2026-07-25 16:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":141206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:29:32] local.INFO: GPS data processed {"connection_id":141206,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:29:32] local.INFO: Acknowledgment sent {"connection_id":141206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:29:54] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:29:54] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:29:54] local.INFO: IMEI packet received {"connection_id":141208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":141208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:29:55] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:29:55] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:29:55] local.INFO: IMEI packet received {"connection_id":141208,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141208,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:29:55] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:55] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:55] local.INFO: IMEI packet received {"connection_id":141209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:29:55] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ecd630012d7b304005e202080000000620..."} 
[2026-07-25 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ecd630012d7b304005e202080000000620..."} 
[2026-07-25 16:29:55] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ecd630012d7b304005e202080000000620..."} 
[2026-07-25 16:29:55] local.INFO: Packet analysis {"connection_id":141208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:55] local.INFO: Extracted packet for processing {"connection_id":141208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98697736,"longitude_deg":76.3048,"latitude_deg":9.8697736,"altitude":0,"angle":6,"satellites":32,"speed":4,"hex_longitude":"2d7b3040","hex_latitude":"05e20208","is_valid_coordinates":true} 
[2026-07-25 16:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954128640001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289305552814080,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877017103278487552,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784977086000,"timestamp_ms":1784977086000,"timestamp_seconds":1784977086,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ecd630"} 
[2026-07-25 16:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762599,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399425,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2565548160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":34817,"corrected_to":0} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3950675969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3741843456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3788636160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2147869138,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3539533824,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,169,85,24,241,157,16,211,159,50,45,128,242,35,10,66,247,238,36,204,1,240,248,227,152,225,4,113,205,5,44,52,239,2,135],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":247,"original":34817,"validated":0},{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-25 16:29:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":393788371501056,"timestamp_seconds":393788371501.056,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954128640001,"66":13059,"169":206,"85":15104,"24":4,"16":110289305552814080,"45":8877017103278487552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954128640001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:29:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289305552814080,"km_value":110289305552814.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877017103278487552,"description":"Unknown IO ID 45"} 
[2026-07-25 16:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954128640001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8877017103278487552}} 
[2026-07-25 16:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":141208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:29:55] local.INFO: GPS data processed {"connection_id":141208,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:29:55] local.INFO: Acknowledgment sent {"connection_id":141208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:29:56] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:56] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:56] local.INFO: IMEI packet received {"connection_id":141209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":141209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:29:56] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:56] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:56] local.INFO: IMEI packet received {"connection_id":141209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":141209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:29:59] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ece1e8012d7b308005e203280000001820..."} 
[2026-07-25 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ece1e8012d7b308005e203280000001820..."} 
[2026-07-25 16:29:59] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ece1e8012d7b308005e203280000001820..."} 
[2026-07-25 16:29:59] local.INFO: Packet analysis {"connection_id":141208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:59] local.INFO: Extracted packet for processing {"connection_id":141208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ec"} 
[2026-07-25 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763048064,"raw_latitude":98698024,"longitude_deg":76.3048064,"latitude_deg":9.8698024,"altitude":0,"angle":24,"satellites":32,"speed":2,"hex_longitude":"2d7b3080","hex_latitude":"05e20328","is_valid_coordinates":true} 
[2026-07-25 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954134016001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289318437715968,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259558045696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784977089000,"timestamp_ms":1784977089000,"timestamp_seconds":1784977089,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ece1e8"} 
[2026-07-25 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663847,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399425,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2565549160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":34817,"corrected_to":0} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3956051969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3891789824,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3788642304,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3542024192,"note":"Value kept but may cause issues"} 
[2026-07-25 16:29:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,169,85,24,241,157,16,211,159,132,45,128,251,38,10,66,50,242,35,247,1,240,106,227,152,225,4,113,205,5,122,51,8,239,2,135],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":247,"original":34817,"validated":0},{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-25 16:29:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6734508982272,"timestamp_seconds":6734508982.272,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:29: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-07-25 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954134016001,"66":12722,"169":206,"85":15104,"24":2,"16":110289318437715968,"45":8876665259558045696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954134016001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289318437715968,"km_value":110289318437715.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259558045696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954134016001,"power":12722,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8876665259558045696}} 
[2026-07-25 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":141208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:29:59] local.INFO: GPS data processed {"connection_id":141208,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:29:59] local.INFO: Acknowledgment sent {"connection_id":141208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:29:59] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:59] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:29:59] local.INFO: IMEI packet received {"connection_id":141209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":141209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:30:32] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ed3008012d7b304005e203600000001a26..."} 
[2026-07-25 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ed3008012d7b304005e203600000001a26..."} 
[2026-07-25 16:30:32] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ed3008012d7b304005e203600000001a26..."} 
[2026-07-25 16:30:32] local.INFO: Packet analysis {"connection_id":141208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:30:32] local.INFO: Extracted packet for processing {"connection_id":141208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98698080,"longitude_deg":76.3048,"latitude_deg":9.869808,"altitude":0,"angle":26,"satellites":38,"speed":0,"hex_longitude":"2d7b3040","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-07-25 16:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954134784001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289327027650560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876735628302297088,"note":"Value kept but may cause issues"} 
[2026-07-25 16:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784977109000,"timestamp_ms":1784977109000,"timestamp_seconds":1784977109,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ed3008"} 
[2026-07-25 16:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 16:30: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-07-25 16:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141208,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:30: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-07-25 16:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954134784001,"66":12906,"169":206,"85":15104,"24":0,"16":110289327027650560,"45":8876735628302297088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 16:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954134784001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:30:32] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 16:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289327027650560,"km_value":110289327027650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876735628302297088,"description":"Unknown IO ID 45"} 
[2026-07-25 16:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954134784001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8876735628302297088}} 
[2026-07-25 16:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":141208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:30:32] local.INFO: GPS data processed {"connection_id":141208,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:30:32] local.INFO: Acknowledgment sent {"connection_id":141208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:30:46] local.INFO: TCP Data received {"connection_id":142176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:46] local.INFO: Processing buffer {"connection_id":142176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:46] local.INFO: IMEI packet received {"connection_id":142176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":142176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:30:49] local.INFO: TCP Data received {"connection_id":142176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:49] local.INFO: Processing buffer {"connection_id":142176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:49] local.INFO: IMEI packet received {"connection_id":142176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":142176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:30:54] local.INFO: TCP Data received {"connection_id":142176,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:54] local.INFO: Processing buffer {"connection_id":142176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:30:54] local.INFO: IMEI packet received {"connection_id":142176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":142176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:30:56] local.INFO: TCP Data received {"connection_id":142176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ed8210012d7b304005e203600000001a23..."} 
[2026-07-25 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ed8210012d7b304005e203600000001a23..."} 
[2026-07-25 16:30:56] local.INFO: Processing buffer {"connection_id":142176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ed8210012d7b304005e203600000001a23..."} 
[2026-07-25 16:30:56] local.INFO: Packet analysis {"connection_id":142176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:30:56] local.INFO: Extracted packet for processing {"connection_id":142176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98698080,"longitude_deg":76.3048,"latitude_deg":9.869808,"altitude":0,"angle":26,"satellites":35,"speed":0,"hex_longitude":"2d7b3040","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-07-25 16:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954139904001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259558133760,"note":"Value kept but may cause issues"} 
[2026-07-25 16:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289327027650560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:30:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784977130000,"timestamp_ms":1784977130000,"timestamp_seconds":1784977130,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ed8210"} 
[2026-07-25 16:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 16:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954139904001,"66":13059,"45":8876665259558133760,"85":15104,"24":0,"16":110289327027650560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-25 16:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954139904001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259558133760,"description":"Unknown IO ID 45"} 
[2026-07-25 16:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289327027650560,"km_value":110289327027650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:30:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954139904001,"power":13059,"unknown_45":8876665259558133760,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 16:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":142176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:30:56] local.INFO: GPS data processed {"connection_id":142176,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:30:56] local.INFO: Acknowledgment sent {"connection_id":142176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:31:27] local.INFO: TCP Data received {"connection_id":142176,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98edd418012d7b304005e203600000001a22..."} 
[2026-07-25 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98edd418012d7b304005e203600000001a22..."} 
[2026-07-25 16:31:27] local.INFO: Processing buffer {"connection_id":142176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98edd418012d7b304005e203600000001a22..."} 
[2026-07-25 16:31:27] local.INFO: Packet analysis {"connection_id":142176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:31:27] local.INFO: Extracted packet for processing {"connection_id":142176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ed"} 
[2026-07-25 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98698080,"longitude_deg":76.3048,"latitude_deg":9.869808,"altitude":0,"angle":26,"satellites":34,"speed":0,"hex_longitude":"2d7b3040","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-07-25 16:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954145280001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259558133760,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289327027650560,"note":"Value kept but may cause issues"} 
[2026-07-25 16: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-07-25 16:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784977151000,"timestamp_ms":1784977151000,"timestamp_seconds":1784977151,"priority":1,"record_length":96,"hex_timestamp":"0000019f98edd418"} 
[2026-07-25 16:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947303,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2565601160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399428,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4214751232,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3968083969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2147869170,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422375,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3545825280,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790481408,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:27] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,45,85,24,241,157,16,211,159,48,64,3,38,10,66,169,225,128,32,214,1,240,227,152,4,113,205,50,8,35,239,51,2,135,5],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-07-25 16:31:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28737626177536,"timestamp_seconds":28737626177.536,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:31: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-07-25 16:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954145280001,"66":13124,"45":8876665259558133760,"85":15104,"24":0,"16":110289327027650560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-25 16:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954145280001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259558133760,"description":"Unknown IO ID 45"} 
[2026-07-25 16:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289327027650560,"km_value":110289327027650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:31:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954145280001,"power":13124,"unknown_45":8876665259558133760,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 16:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":142176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:31:27] local.INFO: GPS data processed {"connection_id":142176,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:31:27] local.INFO: Acknowledgment sent {"connection_id":142176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:31:49] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:31:49] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:31:49] local.INFO: IMEI packet received {"connection_id":141210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":141210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:31:54] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:31:54] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:31:54] local.INFO: IMEI packet received {"connection_id":141210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":141210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:31:55] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ee2620012d7b304005e203600000001a20..."} 
[2026-07-25 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ee2620012d7b304005e203600000001a20..."} 
[2026-07-25 16:31:55] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ee2620012d7b304005e203600000001a20..."} 
[2026-07-25 16:31:55] local.INFO: Packet analysis {"connection_id":141210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ee"} 
[2026-07-25 16:31:55] local.INFO: Extracted packet for processing {"connection_id":141210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ee"} 
[2026-07-25 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763048000,"raw_latitude":98698080,"longitude_deg":76.3048,"latitude_deg":9.869808,"altitude":0,"angle":26,"satellites":32,"speed":0,"hex_longitude":"2d7b3040","hex_latitude":"05e20360","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954150656001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876665259558133760,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110289327027650560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:31:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784977172000,"timestamp_ms":1784977172000,"timestamp_seconds":1784977172,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ee2620"} 
[2026-07-25 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 16:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954150656001,"66":13091,"45":8876665259558133760,"85":15104,"24":0,"16":110289327027650560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-25 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954150656001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876665259558133760,"description":"Unknown IO ID 45"} 
[2026-07-25 16:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110289327027650560,"km_value":110289327027650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954150656001,"power":13091,"unknown_45":8876665259558133760,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":141210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:31:55] local.INFO: GPS data processed {"connection_id":141210,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:31:55] local.INFO: Acknowledgment sent {"connection_id":141210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:32:26] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f058a0012d7b1c4005e2a5500004015d1e..."} 
[2026-07-25 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f058a0012d7b1c4005e2a5500004015d1e..."} 
[2026-07-25 16:32:26] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f058a0012d7b1c4005e2a5500004015d1e..."} 
[2026-07-25 16:32:26] local.INFO: Packet analysis {"connection_id":141210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:32:26] local.INFO: Extracted packet for processing {"connection_id":141210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98739536,"longitude_deg":76.304288,"latitude_deg":9.8739536,"altitude":4,"angle":349,"satellites":30,"speed":37,"hex_longitude":"2d7b1c40","hex_latitude":"05e2a550","is_valid_coordinates":true} 
[2026-07-25 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954189312001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110291367137116160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872404019200,"note":"Value kept but may cause issues"} 
[2026-07-25 16:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784977316000,"timestamp_ms":1784977316000,"timestamp_seconds":1784977316,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f058a0"} 
[2026-07-25 16:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 16:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954189312001,"66":13189,"96":206,"85":15104,"24":37,"16":110291367137116160,"45":8872583872404019200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 16:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954189312001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:32:26] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 16:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110291367137116160,"km_value":110291367137116.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872404019200,"description":"Unknown IO ID 45"} 
[2026-07-25 16:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954189312001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8872583872404019200}} 
[2026-07-25 16:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":141210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:32:26] local.INFO: GPS data processed {"connection_id":141210,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:32:26] local.INFO: Acknowledgment sent {"connection_id":141210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:32:49] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:32:49] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:32:49] local.INFO: IMEI packet received {"connection_id":141146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":141146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:32:54] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:32:54] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:32:54] local.INFO: IMEI packet received {"connection_id":141146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":141146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:32:54] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f07fb0012d7b170005e2c7a80004016120..."} 
[2026-07-25 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f07fb0012d7b170005e2c7a80004016120..."} 
[2026-07-25 16:32:54] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f07fb0012d7b170005e2c7a80004016120..."} 
[2026-07-25 16:32:54] local.INFO: Packet analysis {"connection_id":141146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:32:54] local.INFO: Extracted packet for processing {"connection_id":141146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":763041536,"raw_latitude":98748328,"longitude_deg":76.3041536,"latitude_deg":9.8748328,"altitude":4,"angle":353,"satellites":32,"speed":32,"hex_longitude":"2d7b1700","hex_latitude":"05e2c7a8","is_valid_coordinates":true} 
[2026-07-25 16:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954192896001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110291796633845760,"note":"Value kept but may cause issues"} 
[2026-07-25 16:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035760034533376,"note":"Value kept but may cause issues"} 
[2026-07-25 16:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784977326000,"timestamp_ms":1784977326000,"timestamp_seconds":1784977326,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f07fb0"} 
[2026-07-25 16:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 16:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954192896001,"66":12982,"96":206,"85":15104,"24":32,"16":110291796633845760,"45":8871035760034533376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 16:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954192896001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110291796633845760,"km_value":110291796633845.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035760034533376,"description":"Unknown IO ID 45"} 
[2026-07-25 16:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954192896001,"power":12982,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8871035760034533376}} 
[2026-07-25 16:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":141146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:32:54] local.INFO: GPS data processed {"connection_id":141146,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:32:54] local.INFO: Acknowledgment sent {"connection_id":141146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:33:25] local.INFO: TCP Data received {"connection_id":141146,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f0a6c0012d7b124005e2eaf00005015f20..."} 
[2026-07-25 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f0a6c0012d7b124005e2eaf00005015f20..."} 
[2026-07-25 16:33:25] local.INFO: Processing buffer {"connection_id":141146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f0a6c0012d7b124005e2eaf00005015f20..."} 
[2026-07-25 16:33:25] local.INFO: Packet analysis {"connection_id":141146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:33:25] local.INFO: Extracted packet for processing {"connection_id":141146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98757360,"longitude_deg":76.304032,"latitude_deg":9.875736,"altitude":5,"angle":351,"satellites":32,"speed":42,"hex_longitude":"2d7b1240","hex_latitude":"05e2eaf0","is_valid_coordinates":true} 
[2026-07-25 16:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954195456001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110292239015477248,"note":"Value kept but may cause issues"} 
[2026-07-25 16:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869558016409053184,"note":"Value kept but may cause issues"} 
[2026-07-25 16:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784977336000,"timestamp_ms":1784977336000,"timestamp_seconds":1784977336,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f0a6c0"} 
[2026-07-25 16:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 16:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":141146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":141146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":141146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954195456001,"66":13102,"96":206,"85":15104,"24":42,"16":110292239015477248,"45":8869558016409053184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 16:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954195456001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:33:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 16:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110292239015477248,"km_value":110292239015477.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869558016409053184,"description":"Unknown IO ID 45"} 
[2026-07-25 16:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954195456001,"power":13102,"unknown_96":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8869558016409053184}} 
[2026-07-25 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":141146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:33:26] local.INFO: GPS data processed {"connection_id":141146,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:33:26] local.INFO: Acknowledgment sent {"connection_id":141146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:33:49] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:33:49] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:33:49] local.INFO: IMEI packet received {"connection_id":141212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":141212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:33:54] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:33:54] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:33:54] local.INFO: IMEI packet received {"connection_id":141212,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":141212,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:33:55] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f0c9e8012d7b0cc005e30e600005015e1f..."} 
[2026-07-25 16:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f0c9e8012d7b0cc005e30e600005015e1f..."} 
[2026-07-25 16:33:55] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f0c9e8012d7b0cc005e30e600005015e1f..."} 
[2026-07-25 16:33:55] local.INFO: Packet analysis {"connection_id":141212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:33:55] local.INFO: Extracted packet for processing {"connection_id":141212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f0"} 
[2026-07-25 16:33:55] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98766432,"longitude_deg":76.3038912,"latitude_deg":9.8766432,"altitude":5,"angle":350,"satellites":31,"speed":29,"hex_longitude":"2d7b0cc0","hex_latitude":"05e30e60","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954198016001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110292685692076032,"note":"Value kept but may cause issues"} 
[2026-07-25 16:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868221010271989760,"note":"Value kept but may cause issues"} 
[2026-07-25 16:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784977345000,"timestamp_ms":1784977345000,"timestamp_seconds":1784977345,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f0c9e8"} 
[2026-07-25 16:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 16:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954198016001,"66":11917,"96":206,"85":15104,"24":29,"16":110292685692076032,"45":8868221010271989760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 16:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954198016001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:33:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 16:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110292685692076032,"km_value":110292685692076.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868221010271989760,"description":"Unknown IO ID 45"} 
[2026-07-25 16:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954198016001,"power":11917,"unknown_96":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8868221010271989760}} 
[2026-07-25 16:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":141212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:33:55] local.INFO: GPS data processed {"connection_id":141212,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:33:55] local.INFO: Acknowledgment sent {"connection_id":141212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:34:14] local.INFO: TCP Data received {"connection_id":142178,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:34:14] local.INFO: Processing buffer {"connection_id":142178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:34:14] local.INFO: IMEI packet received {"connection_id":142178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":142178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:34:28] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f10480012d7b064005e33208000301671d..."} 
[2026-07-25 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f10480012d7b064005e33208000301671d..."} 
[2026-07-25 16:34:28] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f10480012d7b064005e33208000301671d..."} 
[2026-07-25 16:34:28] local.INFO: Packet analysis {"connection_id":141212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f1"} 
[2026-07-25 16:34:28] local.INFO: Extracted packet for processing {"connection_id":141212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f1"} 
[2026-07-25 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98775560,"longitude_deg":76.3037248,"latitude_deg":9.877556,"altitude":3,"angle":359,"satellites":29,"speed":18,"hex_longitude":"2d7b0640","hex_latitude":"05e33208","is_valid_coordinates":true} 
[2026-07-25 16:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954200320001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110293136663642112,"note":"Value kept but may cause issues"} 
[2026-07-25 16:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897902403584,"note":"Value kept but may cause issues"} 
[2026-07-25 16:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784977360000,"timestamp_ms":1784977360000,"timestamp_seconds":1784977360,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f10480"} 
[2026-07-25 16:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 16:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141212,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954200320001,"66":12765,"97":206,"85":15104,"24":18,"16":110293136663642112,"45":8866672897902403584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 16:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954200320001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:34:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 16:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110293136663642112,"km_value":110293136663642.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897902403584,"description":"Unknown IO ID 45"} 
[2026-07-25 16:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954200320001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8866672897902403584}} 
[2026-07-25 16:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":141212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:34:28] local.INFO: GPS data processed {"connection_id":141212,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:34:28] local.INFO: Acknowledgment sent {"connection_id":141212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:34:49] local.INFO: TCP Data received {"connection_id":142179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:34:49] local.INFO: Processing buffer {"connection_id":142179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:34:49] local.INFO: IMEI packet received {"connection_id":142179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":142179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:34:54] local.INFO: TCP Data received {"connection_id":142179,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:34:54] local.INFO: Processing buffer {"connection_id":142179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:34:54] local.INFO: IMEI packet received {"connection_id":142179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":142179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:34:56] local.INFO: TCP Data received {"connection_id":142179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f14300012d7b040005e34d30000101581e..."} 
[2026-07-25 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f14300012d7b040005e34d30000101581e..."} 
[2026-07-25 16:34:56] local.INFO: Processing buffer {"connection_id":142179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f14300012d7b040005e34d30000101581e..."} 
[2026-07-25 16:34:56] local.INFO: Packet analysis {"connection_id":142179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f1"} 
[2026-07-25 16:34:56] local.INFO: Extracted packet for processing {"connection_id":142179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f1"} 
[2026-07-25 16:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98782512,"longitude_deg":76.3036672,"latitude_deg":9.8782512,"altitude":1,"angle":344,"satellites":30,"speed":15,"hex_longitude":"2d7b0400","hex_latitude":"05e34d30","is_valid_coordinates":true} 
[2026-07-25 16:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954204160001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110293475966058496,"note":"Value kept but may cause issues"} 
[2026-07-25 16:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310556121088,"note":"Value kept but may cause issues"} 
[2026-07-25 16:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784977376000,"timestamp_ms":1784977376000,"timestamp_seconds":1784977376,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f14300"} 
[2026-07-25 16:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 16:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954204160001,"66":12972,"97":206,"85":15104,"24":15,"16":110293475966058496,"45":8864843310556121088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 16:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954204160001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:34:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 16:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110293475966058496,"km_value":110293475966058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310556121088,"description":"Unknown IO ID 45"} 
[2026-07-25 16:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954204160001,"power":12972,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8864843310556121088}} 
[2026-07-25 16:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":142179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:34:56] local.INFO: GPS data processed {"connection_id":142179,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:34:56] local.INFO: Acknowledgment sent {"connection_id":142179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:35:00] local.INFO: TCP Data received {"connection_id":143559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:00] local.INFO: Processing buffer {"connection_id":143559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:00] local.INFO: IMEI packet received {"connection_id":143559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:35:01] local.INFO: TCP Data received {"connection_id":143559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f22978012db505c005de3d18003f015027..."} 
[2026-07-25 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f22978012db505c005de3d18003f015027..."} 
[2026-07-25 16:35:01] local.INFO: Processing buffer {"connection_id":143559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f22978012db505c005de3d18003f015027..."} 
[2026-07-25 16:35:01] local.INFO: Packet analysis {"connection_id":143559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f2"} 
[2026-07-25 16:35:01] local.INFO: Extracted packet for processing {"connection_id":143559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f2"} 
[2026-07-25 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":766838208,"raw_latitude":98450712,"longitude_deg":76.6838208,"latitude_deg":9.8450712,"altitude":63,"angle":336,"satellites":39,"speed":32,"hex_longitude":"2db505c0","hex_latitude":"05de3d18","is_valid_coordinates":true} 
[2026-07-25 16:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954222336001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357913098088087552,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5401926990340122624,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784977435000,"timestamp_ms":1784977435000,"timestamp_seconds":1784977435,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f22978"} 
[2026-07-25 16:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954222336001,"66":27930,"126":206,"92":41728,"24":32,"16":357913098088087552,"45":-5401926990340122624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-07-25 16:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954222336001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:35:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-25 16:35:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357913098088087552,"km_value":357913098088087.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5401926990340122624,"description":"Unknown IO ID 45"} 
[2026-07-25 16:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954222336001,"power":27930,"unknown_126":206,"unknown_92":41728,"ignition":32,"odometer":null,"unknown_45":-5401926990340122624}} 
[2026-07-25 16:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":143559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:35:01] local.INFO: GPS data processed {"connection_id":143559,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:35:01] local.INFO: Acknowledgment sent {"connection_id":143559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:35:28] local.INFO: TCP Data received {"connection_id":142179,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f34e70012d7a638005e469700007011b24..."} 
[2026-07-25 16:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f34e70012d7a638005e469700007011b24..."} 
[2026-07-25 16:35:28] local.INFO: Processing buffer {"connection_id":142179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f34e70012d7a638005e469700007011b24..."} 
[2026-07-25 16:35:28] local.INFO: Packet analysis {"connection_id":142179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:35:28] local.INFO: Extracted packet for processing {"connection_id":142179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":762995584,"raw_latitude":98855280,"longitude_deg":76.2995584,"latitude_deg":9.885528,"altitude":7,"angle":283,"satellites":36,"speed":10,"hex_longitude":"2d7a6380","hex_latitude":"05e46970","is_valid_coordinates":true} 
[2026-07-25 16:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954242304001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110297697918910464,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819385101837735936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784977510000,"timestamp_ms":1784977510000,"timestamp_seconds":1784977510,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f34e70"} 
[2026-07-25 16:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 16:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954242304001,"66":13135,"97":206,"85":15104,"24":10,"16":110297697918910464,"45":8819385101837735936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 16:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954242304001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:35:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 16:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110297697918910464,"km_value":110297697918910.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819385101837735936,"description":"Unknown IO ID 45"} 
[2026-07-25 16:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954242304001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8819385101837735936}} 
[2026-07-25 16:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":142179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:35:29] local.INFO: GPS data processed {"connection_id":142179,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:35:29] local.INFO: Acknowledgment sent {"connection_id":142179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:35:32] local.INFO: TCP Data received {"connection_id":143559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f2e4f8012db4668005de9f60004000d229..."} 
[2026-07-25 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f2e4f8012db4668005de9f60004000d229..."} 
[2026-07-25 16:35:32] local.INFO: Processing buffer {"connection_id":143559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f2e4f8012db4668005de9f60004000d229..."} 
[2026-07-25 16:35:32] local.INFO: Packet analysis {"connection_id":143559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f2"} 
[2026-07-25 16:35:32] local.INFO: Extracted packet for processing {"connection_id":143559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f2"} 
[2026-07-25 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":766797440,"raw_latitude":98475872,"longitude_deg":76.679744,"latitude_deg":9.8475872,"altitude":64,"angle":210,"satellites":41,"speed":26,"hex_longitude":"2db46680","hex_latitude":"05de9f60","is_valid_coordinates":true} 
[2026-07-25 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954234880001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357915623528857600,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5446329667908415488,"note":"Value kept but may cause issues"} 
[2026-07-25 16:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784977483000,"timestamp_ms":1784977483000,"timestamp_seconds":1784977483,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f2e4f8"} 
[2026-07-25 16:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 16:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954234880001,"66":27908,"126":206,"92":41728,"24":26,"16":357915623528857600,"45":-5446329667908415488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,92,24,16,45]} 
[2026-07-25 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954234880001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357915623528857600,"km_value":357915623528857.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5446329667908415488,"description":"Unknown IO ID 45"} 
[2026-07-25 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954234880001,"power":27908,"unknown_126":206,"unknown_92":41728,"ignition":26,"odometer":null,"unknown_45":-5446329667908415488}} 
[2026-07-25 16:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":143559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:35:32] local.INFO: GPS data processed {"connection_id":143559,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:35:32] local.INFO: Acknowledgment sent {"connection_id":143559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:35:53] local.INFO: TCP Data received {"connection_id":142180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:53] local.INFO: Processing buffer {"connection_id":142180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:53] local.INFO: IMEI packet received {"connection_id":142180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":142180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:35:54] local.INFO: TCP Data received {"connection_id":142180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:54] local.INFO: Processing buffer {"connection_id":142180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:54] local.INFO: IMEI packet received {"connection_id":142180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":142180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:35:55] local.INFO: TCP Data received {"connection_id":142180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:55] local.INFO: Processing buffer {"connection_id":142180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:55] local.INFO: IMEI packet received {"connection_id":142180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":142180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:35:55] local.INFO: TCP Data received {"connection_id":142180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:55] local.INFO: Processing buffer {"connection_id":142180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:35:55] local.INFO: IMEI packet received {"connection_id":142180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":142180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:36:04] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:04] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:04] local.INFO: IMEI packet received {"connection_id":141214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":141214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:36:09] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:09] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:09] local.INFO: IMEI packet received {"connection_id":141214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":141214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:36:10] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f35258012d7a62c005e469700007010624..."} 
[2026-07-25 16:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f35258012d7a62c005e469700007010624..."} 
[2026-07-25 16:36:10] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f35258012d7a62c005e469700007010624..."} 
[2026-07-25 16:36:10] local.INFO: Packet analysis {"connection_id":141214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:36:10] local.INFO: Extracted packet for processing {"connection_id":141214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:36:10] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":98855280,"longitude_deg":76.2995392,"latitude_deg":9.885528,"altitude":7,"angle":262,"satellites":36,"speed":8,"hex_longitude":"2d7a62c0","hex_latitude":"05e46970","is_valid_coordinates":true} 
[2026-07-25 16:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954242560001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110297706508845056,"note":"Value kept but may cause issues"} 
[2026-07-25 16:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033258116870144,"note":"Value kept but may cause issues"} 
[2026-07-25 16:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784977511000,"timestamp_ms":1784977511000,"timestamp_seconds":1784977511,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f35258"} 
[2026-07-25 16:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 16:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954242560001,"66":13135,"97":206,"85":15104,"24":8,"16":110297706508845056,"45":8819033258116870144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 16:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954242560001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 16:36:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110297706508845056,"km_value":110297706508845.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033258116870144,"description":"Unknown IO ID 45"} 
[2026-07-25 16:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954242560001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8819033258116870144}} 
[2026-07-25 16:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":141214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:36:10] local.INFO: GPS data processed {"connection_id":141214,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:36:10] local.INFO: Acknowledgment sent {"connection_id":141214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:36:49] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:49] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:49] local.INFO: IMEI packet received {"connection_id":143560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":143560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:36:54] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:54] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:36:54] local.INFO: IMEI packet received {"connection_id":143560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":143560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:36:54] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f35640012d7a620005e46928000700f924..."} 
[2026-07-25 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f35640012d7a620005e46928000700f924..."} 
[2026-07-25 16:36:54] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f35640012d7a620005e46928000700f924..."} 
[2026-07-25 16:36:54] local.INFO: Packet analysis {"connection_id":143560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:36:54] local.INFO: Extracted packet for processing {"connection_id":143560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":98855208,"longitude_deg":76.29952,"latitude_deg":9.8855208,"altitude":7,"angle":249,"satellites":36,"speed":7,"hex_longitude":"2d7a6200","hex_latitude":"05e46928","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954242816001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110297715098779648,"note":"Value kept but may cause issues"} 
[2026-07-25 16:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822151884337152,"note":"Value kept but may cause issues"} 
[2026-07-25 16:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784977512000,"timestamp_ms":1784977512000,"timestamp_seconds":1784977512,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f35640"} 
[2026-07-25 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-07-25 16:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 16:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954242816001,"66":13135,"97":206,"85":15104,"24":7,"16":110297715098779648,"45":8818822151884337152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 16:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954242816001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 16:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 16:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110297715098779648,"km_value":110297715098779.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822151884337152,"description":"Unknown IO ID 45"} 
[2026-07-25 16:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954242816001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8818822151884337152}} 
[2026-07-25 16:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":143560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:36:54] local.INFO: GPS data processed {"connection_id":143560,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:36:54] local.INFO: Acknowledgment sent {"connection_id":143560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:37:25] local.INFO: TCP Data received {"connection_id":143560,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f3a460012d7a600005e467f8000900f926..."} 
[2026-07-25 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f3a460012d7a600005e467f8000900f926..."} 
[2026-07-25 16:37:25] local.INFO: Processing buffer {"connection_id":143560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f3a460012d7a600005e467f8000900f926..."} 
[2026-07-25 16:37:25] local.INFO: Packet analysis {"connection_id":143560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:37:25] local.INFO: Extracted packet for processing {"connection_id":143560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98854904,"longitude_deg":76.2994688,"latitude_deg":9.8854904,"altitude":9,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d7a6000","hex_latitude":"05e467f8","is_valid_coordinates":true} 
[2026-07-25 16:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954243072001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110297745163550720,"note":"Value kept but may cause issues"} 
[2026-07-25 16:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045651785728,"note":"Value kept but may cause issues"} 
[2026-07-25 16:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784977532000,"timestamp_ms":1784977532000,"timestamp_seconds":1784977532,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f3a460"} 
[2026-07-25 16:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 16:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954243072001,"66":12917,"157":206,"87":12288,"24":0,"16":110297745163550720,"45":8818611045651785728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 16:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954243072001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:37:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 16:37:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 16:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110297745163550720,"km_value":110297745163550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045651785728,"description":"Unknown IO ID 45"} 
[2026-07-25 16:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954243072001,"power":12917,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8818611045651785728}} 
[2026-07-25 16:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":143560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:37:25] local.INFO: GPS data processed {"connection_id":143560,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:37:25] local.INFO: Acknowledgment sent {"connection_id":143560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:37:54] local.INFO: TCP Data received {"connection_id":143561,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:37:54] local.INFO: Processing buffer {"connection_id":143561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:37:54] local.INFO: IMEI packet received {"connection_id":143561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":143561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:37:59] local.INFO: TCP Data received {"connection_id":143561,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:37:59] local.INFO: Processing buffer {"connection_id":143561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:37:59] local.INFO: IMEI packet received {"connection_id":143561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":143561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:38:00] local.INFO: TCP Data received {"connection_id":143561,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f3f668012d7a600005e467f8000900f929..."} 
[2026-07-25 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f3f668012d7a600005e467f8000900f929..."} 
[2026-07-25 16:38:00] local.INFO: Processing buffer {"connection_id":143561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f3f668012d7a600005e467f8000900f929..."} 
[2026-07-25 16:38:00] local.INFO: Packet analysis {"connection_id":143561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:38:00] local.INFO: Extracted packet for processing {"connection_id":143561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f3"} 
[2026-07-25 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98854904,"longitude_deg":76.2994688,"latitude_deg":9.8854904,"altitude":9,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d7a6000","hex_latitude":"05e467f8","is_valid_coordinates":true} 
[2026-07-25 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954248192001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110297745163550720,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095698286592,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784977553000,"timestamp_ms":1784977553000,"timestamp_seconds":1784977553,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f3f668"} 
[2026-07-25 16:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 16:38: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-07-25 16:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954248192001,"66":13048,"156":206,"87":13824,"24":0,"16":110297745163550720,"45":8818048095698286592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-25 16:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954248192001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-25 16:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110297745163550720,"km_value":110297745163550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095698286592,"description":"Unknown IO ID 45"} 
[2026-07-25 16:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954248192001,"power":13048,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818048095698286592}} 
[2026-07-25 16:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":143561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:38:00] local.INFO: GPS data processed {"connection_id":143561,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:38:00] local.INFO: Acknowledgment sent {"connection_id":143561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:38:31] local.INFO: TCP Data received {"connection_id":143561,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f44870012d7a600005e467f8000900f923..."} 
[2026-07-25 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f44870012d7a600005e467f8000900f923..."} 
[2026-07-25 16:38:31] local.INFO: Processing buffer {"connection_id":143561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f44870012d7a600005e467f8000900f923..."} 
[2026-07-25 16:38:31] local.INFO: Packet analysis {"connection_id":143561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f4"} 
[2026-07-25 16:38:31] local.INFO: Extracted packet for processing {"connection_id":143561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f4"} 
[2026-07-25 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98854904,"longitude_deg":76.2994688,"latitude_deg":9.8854904,"altitude":9,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d7a6000","hex_latitude":"05e467f8","is_valid_coordinates":true} 
[2026-07-25 16:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954253568001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110297745163550720,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818048095698286592,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784977574000,"timestamp_ms":1784977574000,"timestamp_seconds":1784977574,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f44870"} 
[2026-07-25 16:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 16:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954253568001,"66":12906,"157":206,"87":12288,"24":0,"16":110297745163550720,"45":8818048095698286592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 16:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954253568001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 16:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110297745163550720,"km_value":110297745163550.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818048095698286592,"description":"Unknown IO ID 45"} 
[2026-07-25 16:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954253568001,"power":12906,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8818048095698286592}} 
[2026-07-25 16:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":143561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:38:31] local.INFO: GPS data processed {"connection_id":143561,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:38:31] local.INFO: Acknowledgment sent {"connection_id":143561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:38:47] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:47] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:47] local.INFO: IMEI packet received {"connection_id":141148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":141148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:38:49] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:49] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:49] local.INFO: IMEI packet received {"connection_id":141148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":141148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:38:56] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:56] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:38:56] local.INFO: IMEI packet received {"connection_id":141148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":141148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:38:57] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f65bb0012d7a2c8005e45ca8000f014027..."} 
[2026-07-25 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f65bb0012d7a2c8005e45ca8000f014027..."} 
[2026-07-25 16:38:57] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f65bb0012d7a2c8005e45ca8000f014027..."} 
[2026-07-25 16:38:57] local.INFO: Packet analysis {"connection_id":141148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f6"} 
[2026-07-25 16:38:57] local.INFO: Extracted packet for processing {"connection_id":141148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f6"} 
[2026-07-25 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98852008,"longitude_deg":76.2981504,"latitude_deg":9.8852008,"altitude":15,"angle":320,"satellites":39,"speed":18,"hex_longitude":"2d7a2c80","hex_latitude":"05e45ca8","is_valid_coordinates":true} 
[2026-07-25 16:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954293504001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110298410883481600,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117752832,"note":"Value kept but may cause issues"} 
[2026-07-25 16:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784977710000,"timestamp_ms":1784977710000,"timestamp_seconds":1784977710,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f65bb0"} 
[2026-07-25 16:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 16:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954293504001,"66":13037,"157":206,"87":12288,"24":18,"16":110298410883481600,"45":8803903978117752832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 16:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954293504001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:38:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 16:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 16:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110298410883481600,"km_value":110298410883481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117752832,"description":"Unknown IO ID 45"} 
[2026-07-25 16:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954293504001,"power":13037,"unknown_157":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8803903978117752832}} 
[2026-07-25 16:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":141148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:38:57] local.INFO: GPS data processed {"connection_id":141148,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:38:57] local.INFO: Acknowledgment sent {"connection_id":141148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:39:28] local.INFO: TCP Data received {"connection_id":141148,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f66b50012d7a288005e462e80010014d2a..."} 
[2026-07-25 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f66b50012d7a288005e462e80010014d2a..."} 
[2026-07-25 16:39:28] local.INFO: Processing buffer {"connection_id":141148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f66b50012d7a288005e462e80010014d2a..."} 
[2026-07-25 16:39:28] local.INFO: Packet analysis {"connection_id":141148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f6"} 
[2026-07-25 16:39:28] local.INFO: Extracted packet for processing {"connection_id":141148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f6"} 
[2026-07-25 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":762980480,"raw_latitude":98853608,"longitude_deg":76.298048,"latitude_deg":9.8853608,"altitude":16,"angle":333,"satellites":42,"speed":16,"hex_longitude":"2d7a2880","hex_latitude":"05e462e8","is_valid_coordinates":true} 
[2026-07-25 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954293760001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110298501077794816,"note":"Value kept but may cause issues"} 
[2026-07-25 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134396946432,"note":"Value kept but may cause issues"} 
[2026-07-25 16:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784977714000,"timestamp_ms":1784977714000,"timestamp_seconds":1784977714,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f66b50"} 
[2026-07-25 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 16:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 16:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954293760001,"66":13091,"157":206,"87":12288,"24":16,"16":110298501077794816,"45":8803552134396946432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954293760001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:39:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 16:39:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110298501077794816,"km_value":110298501077794.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134396946432,"description":"Unknown IO ID 45"} 
[2026-07-25 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954293760001,"power":13091,"unknown_157":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8803552134396946432}} 
[2026-07-25 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":141148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:39:28] local.INFO: GPS data processed {"connection_id":141148,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:39:28] local.INFO: Acknowledgment sent {"connection_id":141148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:39:49] local.INFO: TCP Data received {"connection_id":141149,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:39:49] local.INFO: Processing buffer {"connection_id":141149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 16:39:49] local.INFO: IMEI packet received {"connection_id":141149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 16:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":141149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:39:49] local.INFO: TCP Data received {"connection_id":142181,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:39:49] local.INFO: Processing buffer {"connection_id":142181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:39:49] local.INFO: IMEI packet received {"connection_id":142181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":142181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:40:57] local.INFO: TCP Data received {"connection_id":142182,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:40:57] local.INFO: Processing buffer {"connection_id":142182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:40:57] local.INFO: IMEI packet received {"connection_id":142182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":142182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:41:00] local.INFO: TCP Data received {"connection_id":142182,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:41:00] local.INFO: Processing buffer {"connection_id":142182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:41:00] local.INFO: IMEI packet received {"connection_id":142182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":142182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:41:01] local.INFO: TCP Data received {"connection_id":142182,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e010000019f98f7a3d0012db4c18005dbf738005e00d323..."} 
[2026-07-25 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142182,"packet_length":93,"packet_hex":"00000000000000518e010000019f98f7a3d0012db4c18005dbf738005e00d323..."} 
[2026-07-25 16:41:01] local.INFO: Processing buffer {"connection_id":142182,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f98f7a3d0012db4c18005dbf738005e00d323..."} 
[2026-07-25 16:41:01] local.INFO: Packet analysis {"connection_id":142182,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f98f7"} 
[2026-07-25 16:41:01] local.INFO: Extracted packet for processing {"connection_id":142182,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f98f7"} 
[2026-07-25 16:41:01] local.INFO: GPS Element Parsed {"raw_longitude":766820736,"raw_latitude":98301752,"longitude_deg":76.6820736,"latitude_deg":9.8301752,"altitude":94,"angle":211,"satellites":35,"speed":26,"hex_longitude":"2db4c180","hex_latitude":"05dbf738","is_valid_coordinates":true} 
[2026-07-25 16: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":93,"current_offset":40} 
[2026-07-25 16:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:41:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:41:01] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 16:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142182,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 16:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142182,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 16:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142182,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 16:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 16:41:01] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 16:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":142182,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 16:41:01] local.ERROR: GPS data processing failed {"connection_id":142182,"error":"No valid data to process"} 
[2026-07-25 16:41:01] local.INFO: Acknowledgment sent {"connection_id":142182,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 16:41:05] local.INFO: TCP Data received {"connection_id":142182,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f7a7b8012db4c00005dbf550005d00e122..."} 
[2026-07-25 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f7a7b8012db4c00005dbf550005d00e122..."} 
[2026-07-25 16:41:05] local.INFO: Processing buffer {"connection_id":142182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f7a7b8012db4c00005dbf550005d00e122..."} 
[2026-07-25 16:41:05] local.INFO: Packet analysis {"connection_id":142182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f7"} 
[2026-07-25 16:41:05] local.INFO: Extracted packet for processing {"connection_id":142182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f7"} 
[2026-07-25 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":766820352,"raw_latitude":98301264,"longitude_deg":76.6820352,"latitude_deg":9.8301264,"altitude":93,"angle":225,"satellites":34,"speed":25,"hex_longitude":"2db4c000","hex_latitude":"05dbf550","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954315264001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357926098954092544,"note":"Value kept but may cause issues"} 
[2026-07-25 16:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5421911713723762688,"note":"Value kept but may cause issues"} 
[2026-07-25 16:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784977795000,"timestamp_ms":1784977795000,"timestamp_seconds":1784977795,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f7a7b8"} 
[2026-07-25 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-07-25 16:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954315264001,"66":28050,"154":206,"92":41728,"24":25,"16":357926098954092544,"45":-5421911713723762688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,92,24,16,45]} 
[2026-07-25 16:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954315264001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:41:05] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 16:41:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357926098954092544,"km_value":357926098954092.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5421911713723762688,"description":"Unknown IO ID 45"} 
[2026-07-25 16:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954315264001,"power":28050,"unknown_154":206,"unknown_92":41728,"ignition":25,"odometer":null,"unknown_45":-5421911713723762688}} 
[2026-07-25 16:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":142182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:41:05] local.INFO: GPS data processed {"connection_id":142182,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:41:05] local.INFO: Acknowledgment sent {"connection_id":142182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:41:37] local.INFO: TCP Data received {"connection_id":142182,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f85f50012db4528005dc1278004900ae25..."} 
[2026-07-25 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f85f50012db4528005dc1278004900ae25..."} 
[2026-07-25 16:41:37] local.INFO: Processing buffer {"connection_id":142182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f85f50012db4528005dc1278004900ae25..."} 
[2026-07-25 16:41:37] local.INFO: Packet analysis {"connection_id":142182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:41:37] local.INFO: Extracted packet for processing {"connection_id":142182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":766792320,"raw_latitude":98308728,"longitude_deg":76.679232,"latitude_deg":9.8308728,"altitude":73,"angle":174,"satellites":37,"speed":41,"hex_longitude":"2db45280","hex_latitude":"05dc1278","is_valid_coordinates":true} 
[2026-07-25 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954326272001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357928083228983296,"note":"Value kept but may cause issues"} 
[2026-07-25 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5453155436135675904,"note":"Value kept but may cause issues"} 
[2026-07-25 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784977842000,"timestamp_ms":1784977842000,"timestamp_seconds":1784977842,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f85f50"} 
[2026-07-25 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954326272001,"66":27908,"1":206,"83":17920,"24":41,"16":357928083228983296,"45":-5453155436135675904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-25 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954326272001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357928083228983296,"km_value":357928083228983.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5453155436135675904,"description":"Unknown IO ID 45"} 
[2026-07-25 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954326272001,"power":27908,"imei":206,"unknown_83":17920,"ignition":41,"odometer":null,"unknown_45":-5453155436135675904}} 
[2026-07-25 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":142182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:41:37] local.INFO: GPS data processed {"connection_id":142182,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:41:37] local.INFO: Acknowledgment sent {"connection_id":142182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:41:53] local.INFO: TCP Data received {"connection_id":143562,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:41:53] local.INFO: Processing buffer {"connection_id":143562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:41:53] local.INFO: IMEI packet received {"connection_id":143562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":143562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:42:00] local.INFO: TCP Data received {"connection_id":143562,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:00] local.INFO: Processing buffer {"connection_id":143562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:00] local.INFO: IMEI packet received {"connection_id":143562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":143562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:42:03] local.INFO: TCP Data received {"connection_id":143562,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143562,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:42:03] local.INFO: Processing buffer {"connection_id":143562,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:42:03] local.INFO: IMEI packet received {"connection_id":143562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":143562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:42:06] local.INFO: TCP Data received {"connection_id":143562,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f87e90012db4584005dbecf8004300b124..."} 
[2026-07-25 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f87e90012db4584005dbecf8004300b124..."} 
[2026-07-25 16:42:06] local.INFO: Processing buffer {"connection_id":143562,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f98..."} 
[2026-07-25 16:42:06] local.INFO: IMEI packet received {"connection_id":143562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":143562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:42:08] local.INFO: TCP Data received {"connection_id":143562,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f89600012db4590005dbca50003f00b425..."} 
[2026-07-25 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f89600012db4590005dbca50003f00b425..."} 
[2026-07-25 16:42:08] local.INFO: Processing buffer {"connection_id":143562,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f98f87e90012db4584005dbecf8004300b124..."} 
[2026-07-25 16:42:08] local.INFO: Packet analysis {"connection_id":143562,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:42:08] local.INFO: Extracted packet for processing {"connection_id":143562,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":766793792,"raw_latitude":98299128,"longitude_deg":76.6793792,"latitude_deg":9.8299128,"altitude":67,"angle":177,"satellites":36,"speed":54,"hex_longitude":"2db45840","hex_latitude":"05dbecf8","is_valid_coordinates":true} 
[2026-07-25 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954327552001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357928551380418560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5453155436136859648,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784977850000,"timestamp_ms":1784977850000,"timestamp_seconds":1784977850,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f87e90"} 
[2026-07-25 16:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954327552001,"66":28050,"1":206,"83":17920,"24":54,"16":357928551380418560,"45":-5453155436136859648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954327552001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357928551380418560,"km_value":357928551380418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5453155436136859648,"description":"Unknown IO ID 45"} 
[2026-07-25 16:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954327552001,"power":28050,"imei":206,"unknown_83":17920,"ignition":54,"odometer":null,"unknown_45":-5453155436136859648}} 
[2026-07-25 16:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":143562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:42:08] local.INFO: GPS data processed {"connection_id":143562,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:42:08] local.INFO: Acknowledgment sent {"connection_id":143562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:42:08] local.INFO: Packet analysis {"connection_id":143562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:42:08] local.INFO: Extracted packet for processing {"connection_id":143562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":766793984,"raw_latitude":98290256,"longitude_deg":76.6793984,"latitude_deg":9.8290256,"altitude":63,"angle":180,"satellites":37,"speed":61,"hex_longitude":"2db45900","hex_latitude":"05dbca50","is_valid_coordinates":true} 
[2026-07-25 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954329600001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357928985172115456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5451536955023230976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784977856000,"timestamp_ms":1784977856000,"timestamp_seconds":1784977856,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f89600"} 
[2026-07-25 16:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954329600001,"66":28104,"1":206,"83":17920,"24":61,"16":357928985172115456,"45":-5451536955023230976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-25 16:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954329600001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:42:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357928985172115456,"km_value":357928985172115.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5451536955023230976,"description":"Unknown IO ID 45"} 
[2026-07-25 16:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954329600001,"power":28104,"imei":206,"unknown_83":17920,"ignition":61,"odometer":null,"unknown_45":-5451536955023230976}} 
[2026-07-25 16:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":143562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:42:08] local.INFO: GPS data processed {"connection_id":143562,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:42:08] local.INFO: Acknowledgment sent {"connection_id":143562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:42:10] local.INFO: TCP Data received {"connection_id":143562,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f8ad70012db4558005dba6a8003c00bd26..."} 
[2026-07-25 16:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f8ad70012db4558005dba6a8003c00bd26..."} 
[2026-07-25 16:42:10] local.INFO: Processing buffer {"connection_id":143562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f8ad70012db4558005dba6a8003c00bd26..."} 
[2026-07-25 16:42:10] local.INFO: Packet analysis {"connection_id":143562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:42:10] local.INFO: Extracted packet for processing {"connection_id":143562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f8"} 
[2026-07-25 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":766793088,"raw_latitude":98281128,"longitude_deg":76.6793088,"latitude_deg":9.8281128,"altitude":60,"angle":189,"satellites":38,"speed":57,"hex_longitude":"2db45580","hex_latitude":"05dba6a8","is_valid_coordinates":true} 
[2026-07-25 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954331136001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357929427553746944,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5451325848792969216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784977862000,"timestamp_ms":1784977862000,"timestamp_seconds":1784977862,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f8ad70"} 
[2026-07-25 16:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 16:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954331136001,"66":28093,"1":206,"83":17920,"24":57,"16":357929427553746944,"45":-5451325848792969216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,83,24,16,45]} 
[2026-07-25 16:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954331136001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:42:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357929427553746944,"km_value":357929427553746.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5451325848792969216,"description":"Unknown IO ID 45"} 
[2026-07-25 16:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954331136001,"power":28093,"imei":206,"unknown_83":17920,"ignition":57,"odometer":null,"unknown_45":-5451325848792969216}} 
[2026-07-25 16:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":143562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:42:10] local.INFO: GPS data processed {"connection_id":143562,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:42:10] local.INFO: Acknowledgment sent {"connection_id":143562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:42:15] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:15] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:15] local.INFO: IMEI packet received {"connection_id":141150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 16:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":141150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:42:16] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:16] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:16] local.INFO: IMEI packet received {"connection_id":141150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":141150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:42:20] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:20] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:42:20] local.INFO: IMEI packet received {"connection_id":141150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":141150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:42:21] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-25 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-25 16:42:21] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-25 16:42:21] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 16:42:21] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754513443815424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,137,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:42:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:42:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 16:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 16:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 16:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 16:42:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 16:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 16:42:21] local.ERROR: GPS data processing failed {"connection_id":141150,"error":"No valid data to process"} 
[2026-07-25 16:42:21] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 16:42:54] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-25 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-25 16:42:54] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-25 16:42:54] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 16:42:54] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 16:42: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-07-25 16:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754513443815424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:42:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,137,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:42:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:42:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 16:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 16:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-25 16:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 16:42:54] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 16:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 16:42:54] local.ERROR: GPS data processing failed {"connection_id":141150,"error":"No valid data to process"} 
[2026-07-25 16:42:54] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 16:42:55] local.INFO: TCP Data received {"connection_id":142183,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:55] local.INFO: Processing buffer {"connection_id":142183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:55] local.INFO: IMEI packet received {"connection_id":142183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":142183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:42:56] local.INFO: TCP Data received {"connection_id":142183,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:56] local.INFO: Processing buffer {"connection_id":142183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:42:56] local.INFO: IMEI packet received {"connection_id":142183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":142183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:43:00] local.INFO: TCP Data received {"connection_id":142183,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:43:00] local.INFO: Processing buffer {"connection_id":142183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:43:00] local.INFO: IMEI packet received {"connection_id":142183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":142183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:43:01] local.INFO: TCP Data received {"connection_id":142183,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f99000012db4edc005daaac00036009728..."} 
[2026-07-25 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f99000012db4edc005daaac00036009728..."} 
[2026-07-25 16:43:01] local.INFO: Processing buffer {"connection_id":142183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f99000012db4edc005daaac00036009728..."} 
[2026-07-25 16:43:01] local.INFO: Packet analysis {"connection_id":142183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f9"} 
[2026-07-25 16:43:01] local.INFO: Extracted packet for processing {"connection_id":142183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f9"} 
[2026-07-25 16:43:01] local.INFO: GPS Element Parsed {"raw_longitude":766832064,"raw_latitude":98216640,"longitude_deg":76.6832064,"latitude_deg":9.821664,"altitude":54,"angle":151,"satellites":40,"speed":52,"hex_longitude":"2db4edc0","hex_latitude":"05daaac0","is_valid_coordinates":true} 
[2026-07-25 16:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954345984001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357933207124967424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5414593364349487104,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784977920000,"timestamp_ms":1784977920000,"timestamp_seconds":1784977920,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f99000"} 
[2026-07-25 16:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 16:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954345984001,"66":27995,"154":206,"92":41728,"24":52,"16":357933207124967424,"45":-5414593364349487104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,92,24,16,45]} 
[2026-07-25 16:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954345984001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357933207124967424,"km_value":357933207124967.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5414593364349487104,"description":"Unknown IO ID 45"} 
[2026-07-25 16:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954345984001,"power":27995,"unknown_154":206,"unknown_92":41728,"ignition":52,"odometer":null,"unknown_45":-5414593364349487104}} 
[2026-07-25 16:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":142183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:43:01] local.INFO: GPS data processed {"connection_id":142183,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:43:01] local.INFO: Acknowledgment sent {"connection_id":142183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:43:25] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fa6ea80100000000000000000000000000..."} 
[2026-07-25 16:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fa6ea80100000000000000000000000000..."} 
[2026-07-25 16:43:25] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fa6ea80100000000000000000000000000..."} 
[2026-07-25 16:43:25] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:43:25] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8754513443815424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,137,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784977977000,"timestamp_ms":1784977977000,"timestamp_seconds":1784977977,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fa6ea8"} 
[2026-07-25 16:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 16:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 16:43:25] local.INFO: GPS data processed {"connection_id":141150,"processed":0,"errors":0,"total":1} 
[2026-07-25 16:43:25] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:43:33] local.INFO: TCP Data received {"connection_id":142183,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98f99bb8012db4f3c005da9c40003600a329..."} 
[2026-07-25 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98f99bb8012db4f3c005da9c40003600a329..."} 
[2026-07-25 16:43:33] local.INFO: Processing buffer {"connection_id":142183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98f99bb8012db4f3c005da9c40003600a329..."} 
[2026-07-25 16:43:33] local.INFO: Packet analysis {"connection_id":142183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98f9"} 
[2026-07-25 16:43:33] local.INFO: Extracted packet for processing {"connection_id":142183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98f9"} 
[2026-07-25 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":766833600,"raw_latitude":98212928,"longitude_deg":76.68336,"latitude_deg":9.8212928,"altitude":54,"angle":163,"satellites":41,"speed":52,"hex_longitude":"2db4f3c0","hex_latitude":"05da9c40","is_valid_coordinates":true} 
[2026-07-25 16:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954347520001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357933404693463040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5409456446026104832,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,92,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784977923000,"timestamp_ms":1784977923000,"timestamp_seconds":1784977923,"priority":1,"record_length":96,"hex_timestamp":"0000019f98f99bb8"} 
[2026-07-25 16:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 16:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954347520001,"66":27952,"154":206,"92":41728,"24":52,"16":357933404693463040,"45":-5409456446026104832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,92,24,16,45]} 
[2026-07-25 16:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954347520001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:43:33] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-25 16:43:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":41728,"description":"Unknown IO ID 92"} 
[2026-07-25 16:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357933404693463040,"km_value":357933404693463.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5409456446026104832,"description":"Unknown IO ID 45"} 
[2026-07-25 16:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954347520001,"power":27952,"unknown_154":206,"unknown_92":41728,"ignition":52,"odometer":null,"unknown_45":-5409456446026104832}} 
[2026-07-25 16:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":142183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:43:33] local.INFO: GPS data processed {"connection_id":142183,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:43:33] local.INFO: Acknowledgment sent {"connection_id":142183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:43:57] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fb1e70012d1b640007245828002700b109..."} 
[2026-07-25 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fb1e70012d1b640007245828002700b109..."} 
[2026-07-25 16:43:57] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fb1e70012d1b640007245828002700b109..."} 
[2026-07-25 16:43:57] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fb"} 
[2026-07-25 16:43:57] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fb"} 
[2026-07-25 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756769792,"raw_latitude":119822376,"longitude_deg":75.6769792,"latitude_deg":11.9822376,"altitude":39,"angle":177,"satellites":9,"speed":2,"hex_longitude":"2d1b6400","hex_latitude":"07245828","is_valid_coordinates":true} 
[2026-07-25 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954373120001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755119034204160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973702567369654272,"note":"Value kept but may cause issues"} 
[2026-07-25 16:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784978022000,"timestamp_ms":1784978022000,"timestamp_seconds":1784978022,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fb1e70"} 
[2026-07-25 16:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-25 16:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954373120001,"66":14048,"136":206,"83":42752,"24":2,"16":8755119034204160,"45":1973702567369654272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 16:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954373120001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755119034204160,"km_value":8755119034204.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973702567369654272,"description":"Unknown IO ID 45"} 
[2026-07-25 16:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954373120001,"power":14048,"unknown_136":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1973702567369654272}} 
[2026-07-25 16:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:43:57] local.INFO: GPS data processed {"connection_id":141150,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:43:57] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:44:00] local.INFO: TCP Data received {"connection_id":141151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:00] local.INFO: Processing buffer {"connection_id":141151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:00] local.INFO: IMEI packet received {"connection_id":141151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":141151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:44:02] local.INFO: TCP Data received {"connection_id":141151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:02] local.INFO: Processing buffer {"connection_id":141151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:02] local.INFO: IMEI packet received {"connection_id":141151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":141151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:44:05] local.INFO: TCP Data received {"connection_id":141151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:05] local.INFO: Processing buffer {"connection_id":141151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:05] local.INFO: IMEI packet received {"connection_id":141151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":141151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:44:06] local.INFO: TCP Data received {"connection_id":141151,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fab8e0012db56c4005d923700030009229..."} 
[2026-07-25 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fab8e0012db56c4005d923700030009229..."} 
[2026-07-25 16:44:06] local.INFO: Processing buffer {"connection_id":141151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fab8e0012db56c4005d923700030009229..."} 
[2026-07-25 16:44:06] local.INFO: Packet analysis {"connection_id":141151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:44:06] local.INFO: Extracted packet for processing {"connection_id":141151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":766864448,"raw_latitude":98116464,"longitude_deg":76.6864448,"latitude_deg":9.8116464,"altitude":48,"angle":146,"satellites":41,"speed":48,"hex_longitude":"2db56c40","hex_latitude":"05d92370","is_valid_coordinates":true} 
[2026-07-25 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954365184001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357938348200820736,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5378283092378996736,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784977996000,"timestamp_ms":1784977996000,"timestamp_seconds":1784977996,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fab8e0"} 
[2026-07-25 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954365184001,"66":28050,"87":206,"83":17920,"24":48,"16":357938348200820736,"45":-5378283092378996736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-25 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954365184001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:44:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-25 16:44:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357938348200820736,"km_value":357938348200820.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5378283092378996736,"description":"Unknown IO ID 45"} 
[2026-07-25 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954365184001,"power":28050,"unknown_87":206,"unknown_83":17920,"ignition":48,"odometer":null,"unknown_45":-5378283092378996736}} 
[2026-07-25 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":141151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:44:06] local.INFO: GPS data processed {"connection_id":141151,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:44:06] local.INFO: Acknowledgment sent {"connection_id":141151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:44:28] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fbb6c8012d1b6140072458d00028001a0d..."} 
[2026-07-25 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fbb6c8012d1b6140072458d00028001a0d..."} 
[2026-07-25 16:44:28] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fbb6c8012d1b6140072458d00028001a0d..."} 
[2026-07-25 16:44:28] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fb"} 
[2026-07-25 16:44:28] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fb"} 
[2026-07-25 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119822544,"longitude_deg":75.6769088,"latitude_deg":11.9822544,"altitude":40,"angle":26,"satellites":13,"speed":4,"hex_longitude":"2d1b6140","hex_latitude":"072458d0","is_valid_coordinates":true} 
[2026-07-25 16:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954383360001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755226408386560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511183706112,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] 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-07-25 16:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784978061000,"timestamp_ms":1784978061000,"timestamp_seconds":1784978061,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fbb6c8"} 
[2026-07-25 16:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2566617160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733220409344,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4219731969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953734536,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090155776,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84754083227313240,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":216,"raw_value":11822606336393728,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.WARNING: Large IO value detected {"io_id":27,"raw_value":7187752857974603818,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:28] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,136,83,24,241,157,16,26,159,155,45,128,87,40,13,10,66,147,192,88,41,143,1,240,218,227,152,36,4,113,205,2,124,100,176,12,239,55,31,7,42,206,96,216,27],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-07-25 16:44:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882320310026305536,"timestamp_seconds":2882320310026305.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954383360001,"66":14352,"136":206,"83":42752,"24":4,"16":8755226408386560,"45":1972928511183706112},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 16:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954383360001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:44:28] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 16:44:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755226408386560,"km_value":8755226408386.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511183706112,"description":"Unknown IO ID 45"} 
[2026-07-25 16:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954383360001,"power":14352,"unknown_136":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1972928511183706112}} 
[2026-07-25 16:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:44:28] local.INFO: GPS data processed {"connection_id":141150,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:44:28] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:44:37] local.INFO: TCP Data received {"connection_id":141151,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fab8e0012db56c4005d923700030009229..."} 
[2026-07-25 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fab8e0012db56c4005d923700030009229..."} 
[2026-07-25 16:44:37] local.INFO: Processing buffer {"connection_id":141151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fab8e0012db56c4005d923700030009229..."} 
[2026-07-25 16:44:37] local.INFO: Packet analysis {"connection_id":141151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:44:37] local.INFO: Extracted packet for processing {"connection_id":141151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":766864448,"raw_latitude":98116464,"longitude_deg":76.6864448,"latitude_deg":9.8116464,"altitude":48,"angle":146,"satellites":41,"speed":48,"hex_longitude":"2db56c40","hex_latitude":"05d92370","is_valid_coordinates":true} 
[2026-07-25 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954366976001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357938348200820736,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5373849861497851904,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784977996000,"timestamp_ms":1784977996000,"timestamp_seconds":1784977996,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fab8e0"} 
[2026-07-25 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954366976001,"66":28050,"87":206,"83":17920,"24":48,"16":357938348200820736,"45":-5373849861497851904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-25 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954366976001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:44:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-25 16:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357938348200820736,"km_value":357938348200820.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5373849861497851904,"description":"Unknown IO ID 45"} 
[2026-07-25 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954366976001,"power":28050,"unknown_87":206,"unknown_83":17920,"ignition":48,"odometer":null,"unknown_45":-5373849861497851904}} 
[2026-07-25 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":141151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:44:37] local.INFO: GPS data processed {"connection_id":141151,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:44:37] local.INFO: Acknowledgment sent {"connection_id":141151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:44:55] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:55] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:55] local.INFO: IMEI packet received {"connection_id":141152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":141152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:44:56] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:56] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:44:56] local.INFO: IMEI packet received {"connection_id":141152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":141152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:44:59] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fbbab0012d1b618007245918002800370d..."} 
[2026-07-25 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fbbab0012d1b618007245918002800370d..."} 
[2026-07-25 16:44:59] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fbbab0012d1b618007245918002800370d..."} 
[2026-07-25 16:44:59] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fb"} 
[2026-07-25 16:44:59] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fb"} 
[2026-07-25 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756769152,"raw_latitude":119822616,"longitude_deg":75.6769152,"latitude_deg":11.9822616,"altitude":40,"angle":55,"satellites":13,"speed":6,"hex_longitude":"2d1b6180","hex_latitude":"07245918","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954383616001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8755234998321152,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511183736832,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] 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-07-25 16:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784978062000,"timestamp_ms":1784978062000,"timestamp_seconds":1784978062,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fbbab0"} 
[2026-07-25 16:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":26,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2566618160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733220474880,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4220499969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637447953734536,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090155776,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1535639758,"corrected_to":0} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84754084301055064,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":216,"raw_value":11822507552145920,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.WARNING: Large IO value detected {"io_id":27,"raw_value":7187752857974079530,"note":"Value kept but may cause issues"} 
[2026-07-25 16:44:59] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,136,83,24,241,157,16,26,159,178,45,64,88,40,13,10,66,155,128,87,147,192,1,240,38,227,152,36,4,113,205,2,132,100,112,12,239,56,31,7,42,206,72,216,27],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1535639758,"validated":0}]} 
[2026-07-25 16:44:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882332404654276608,"timestamp_seconds":2882332404654276.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954383616001,"66":14265,"136":206,"83":42752,"24":6,"16":8755234998321152,"45":1972928511183736832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 16:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954383616001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:44:59] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 16:44:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8755234998321152,"km_value":8755234998321.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511183736832,"description":"Unknown IO ID 45"} 
[2026-07-25 16:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954383616001,"power":14265,"unknown_136":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1972928511183736832}} 
[2026-07-25 16:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:44:59] local.INFO: GPS data processed {"connection_id":141150,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:44:59] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:45:00] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:00] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:00] local.INFO: IMEI packet received {"connection_id":141152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":141152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:45:01] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fad820012db5834005d904400032008e29..."} 
[2026-07-25 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fad820012db5834005d904400032008e29..."} 
[2026-07-25 16:45:01] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fad820012db5834005d904400032008e29..."} 
[2026-07-25 16:45:01] local.INFO: Packet analysis {"connection_id":141152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:45:01] local.INFO: Extracted packet for processing {"connection_id":141152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fa"} 
[2026-07-25 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":766870336,"raw_latitude":98108480,"longitude_deg":76.6870336,"latitude_deg":9.810848,"altitude":50,"angle":142,"satellites":41,"speed":51,"hex_longitude":"2db58340","hex_latitude":"05d90440","is_valid_coordinates":true} 
[2026-07-25 16:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954366976001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357938824942190592,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5373849861497851904,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978004000,"timestamp_ms":1784978004000,"timestamp_seconds":1784978004,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fad820"} 
[2026-07-25 16:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954366976001,"66":27908,"87":206,"83":17920,"24":51,"16":357938824942190592,"45":-5373849861497851904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-07-25 16:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954366976001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:45:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-25 16:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357938824942190592,"km_value":357938824942190.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5373849861497851904,"description":"Unknown IO ID 45"} 
[2026-07-25 16:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954366976001,"power":27908,"unknown_87":206,"unknown_83":17920,"ignition":51,"odometer":null,"unknown_45":-5373849861497851904}} 
[2026-07-25 16:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":141152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:45:01] local.INFO: GPS data processed {"connection_id":141152,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:45:01] local.INFO: Acknowledgment sent {"connection_id":141152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:45:24] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:45:24] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:45:24] local.INFO: IMEI packet received {"connection_id":141218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":141218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:45:32] local.INFO: TCP Data received {"connection_id":141152,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fc0100012db60b4005d79e70002d00b02b..."} 
[2026-07-25 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fc0100012db60b4005d79e70002d00b02b..."} 
[2026-07-25 16:45:32] local.INFO: Processing buffer {"connection_id":141152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fc0100012db60b4005d79e70002d00b02b..."} 
[2026-07-25 16:45:32] local.INFO: Packet analysis {"connection_id":141152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:45:32] local.INFO: Extracted packet for processing {"connection_id":141152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":766905152,"raw_latitude":98016880,"longitude_deg":76.6905152,"latitude_deg":9.801688,"altitude":45,"angle":176,"satellites":43,"speed":50,"hex_longitude":"2db60b40","hex_latitude":"05d79e70","is_valid_coordinates":true} 
[2026-07-25 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954386432001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357943635305562112,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5330221240130680832,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978080000,"timestamp_ms":1784978080000,"timestamp_seconds":1784978080,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fc0100"} 
[2026-07-25 16:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 16:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954386432001,"66":27974,"225":206,"83":17920,"24":50,"16":357943635305562112,"45":-5330221240130680832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-25 16:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954386432001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:45:32] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 16:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357943635305562112,"km_value":357943635305562.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5330221240130680832,"description":"Unknown IO ID 45"} 
[2026-07-25 16:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954386432001,"power":27974,"unknown_225":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5330221240130680832}} 
[2026-07-25 16:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":141152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:45:32] local.INFO: GPS data processed {"connection_id":141152,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:45:32] local.INFO: Acknowledgment sent {"connection_id":141152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:45:33] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fc9958012d1b2140072491b0001b01020f..."} 
[2026-07-25 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fc9958012d1b2140072491b0001b01020f..."} 
[2026-07-25 16:45:33] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fc9958012d1b2140072491b0001b01020f..."} 
[2026-07-25 16:45:33] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:45:33] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756752704,"raw_latitude":119837104,"longitude_deg":75.6752704,"latitude_deg":11.9837104,"altitude":27,"angle":258,"satellites":15,"speed":15,"hex_longitude":"2d1b2140","hex_latitude":"072491b0","is_valid_coordinates":true} 
[2026-07-25 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954397952001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8756394639491072,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1955758537608103936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:45:33] 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-07-25 16:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784978119000,"timestamp_ms":1784978119000,"timestamp_seconds":1784978119,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fc9958"} 
[2026-07-25 16:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 16:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954397952001,"66":14374,"136":206,"83":42752,"24":15,"16":8756394639491072,"45":1955758537608103936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 16:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954397952001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:45:33] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 16:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8756394639491072,"km_value":8756394639491.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1955758537608103936,"description":"Unknown IO ID 45"} 
[2026-07-25 16:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954397952001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1955758537608103936}} 
[2026-07-25 16:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:45:33] local.INFO: GPS data processed {"connection_id":141150,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:45:33] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:45:55] local.INFO: TCP Data received {"connection_id":142184,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:55] local.INFO: Processing buffer {"connection_id":142184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:55] local.INFO: IMEI packet received {"connection_id":142184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":142184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:45:56] local.INFO: TCP Data received {"connection_id":142184,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:56] local.INFO: Processing buffer {"connection_id":142184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:56] local.INFO: IMEI packet received {"connection_id":142184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":142184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:45:58] local.INFO: TCP Data received {"connection_id":142184,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:58] local.INFO: Processing buffer {"connection_id":142184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:45:58] local.INFO: IMEI packet received {"connection_id":142184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":142184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:46:00] local.INFO: TCP Data received {"connection_id":142184,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:00] local.INFO: Processing buffer {"connection_id":142184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:00] local.INFO: IMEI packet received {"connection_id":142184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":142184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:46:01] local.INFO: TCP Data received {"connection_id":142184,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fc1c58012db60cc005d77980002b00aa29..."} 
[2026-07-25 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fc1c58012db60cc005d77980002b00aa29..."} 
[2026-07-25 16:46:01] local.INFO: Processing buffer {"connection_id":142184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fc1c58012db60cc005d77980002b00aa29..."} 
[2026-07-25 16:46:01] local.INFO: Packet analysis {"connection_id":142184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:46:01] local.INFO: Extracted packet for processing {"connection_id":142184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:46:01] local.INFO: GPS Element Parsed {"raw_longitude":766905536,"raw_latitude":98007424,"longitude_deg":76.6905536,"latitude_deg":9.8007424,"altitude":43,"angle":170,"satellites":41,"speed":57,"hex_longitude":"2db60cc0","hex_latitude":"05d77980","is_valid_coordinates":true} 
[2026-07-25 16:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954388480001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357944094867062784,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5329095340226351104,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978087000,"timestamp_ms":1784978087000,"timestamp_seconds":1784978087,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fc1c58"} 
[2026-07-25 16:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 16:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954388480001,"66":27995,"225":206,"83":17920,"24":57,"16":357944094867062784,"45":-5329095340226351104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-25 16:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954388480001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:46:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 16:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357944094867062784,"km_value":357944094867062.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5329095340226351104,"description":"Unknown IO ID 45"} 
[2026-07-25 16:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954388480001,"power":27995,"unknown_225":206,"unknown_83":17920,"ignition":57,"odometer":null,"unknown_45":-5329095340226351104}} 
[2026-07-25 16:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":142184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:46:01] local.INFO: GPS data processed {"connection_id":142184,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:46:01] local.INFO: Acknowledgment sent {"connection_id":142184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:46:03] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fc9d40012d1b1fc0072490b8001c00ed0f..."} 
[2026-07-25 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fc9d40012d1b1fc0072490b8001c00ed0f..."} 
[2026-07-25 16:46:03] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fc9d40012d1b1fc0072490b8001c00ed0f..."} 
[2026-07-25 16:46:03] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:46:03] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756752320,"raw_latitude":119836856,"longitude_deg":75.675232,"latitude_deg":11.9836856,"altitude":28,"angle":237,"satellites":15,"speed":18,"hex_longitude":"2d1b1fc0","hex_latitude":"072490b8","is_valid_coordinates":true} 
[2026-07-25 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954398464001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8756416114327552,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1954914112677982208,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:03] 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-07-25 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784978120000,"timestamp_ms":1784978120000,"timestamp_seconds":1784978120,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fc9d40"} 
[2026-07-25 16:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 16:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954398464001,"66":14352,"136":206,"83":42752,"24":18,"16":8756416114327552,"45":1954914112677982208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-07-25 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954398464001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-07-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8756416114327552,"km_value":8756416114327.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1954914112677982208,"description":"Unknown IO ID 45"} 
[2026-07-25 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954398464001,"power":14352,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1954914112677982208}} 
[2026-07-25 16:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:46:03] local.INFO: GPS data processed {"connection_id":141150,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:46:03] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:46:32] local.INFO: TCP Data received {"connection_id":142184,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fcfee8012db5b14005d68748003000c528..."} 
[2026-07-25 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fcfee8012db5b14005d68748003000c528..."} 
[2026-07-25 16:46:32] local.INFO: Processing buffer {"connection_id":142184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fcfee8012db5b14005d68748003000c528..."} 
[2026-07-25 16:46:32] local.INFO: Packet analysis {"connection_id":142184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:46:32] local.INFO: Extracted packet for processing {"connection_id":142184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fc"} 
[2026-07-25 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":766882112,"raw_latitude":97945416,"longitude_deg":76.6882112,"latitude_deg":9.7945416,"altitude":48,"angle":197,"satellites":40,"speed":49,"hex_longitude":"2db5b140","hex_latitude":"05d68748","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954404608001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357947603855343616,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5353372556985360384,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978145000,"timestamp_ms":1784978145000,"timestamp_seconds":1784978145,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fcfee8"} 
[2026-07-25 16:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:46: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-07-25 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954404608001,"66":27865,"225":206,"83":17920,"24":49,"16":357947603855343616,"45":-5353372556985360384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-25 16:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954404608001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:46:32] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 16:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357947603855343616,"km_value":357947603855343.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5353372556985360384,"description":"Unknown IO ID 45"} 
[2026-07-25 16:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954404608001,"power":27865,"unknown_225":206,"unknown_83":17920,"ignition":49,"odometer":null,"unknown_45":-5353372556985360384}} 
[2026-07-25 16:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":142184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:46:32] local.INFO: GPS data processed {"connection_id":142184,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:46:32] local.INFO: Acknowledgment sent {"connection_id":142184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:46:34] local.INFO: TCP Data received {"connection_id":141150,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fda6e0012d1ab440072425c00027010a11..."} 
[2026-07-25 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fda6e0012d1ab440072425c00027010a11..."} 
[2026-07-25 16:46:34] local.INFO: Processing buffer {"connection_id":141150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fda6e0012d1ab440072425c00027010a11..."} 
[2026-07-25 16:46:34] local.INFO: Packet analysis {"connection_id":141150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:46:34] local.INFO: Extracted packet for processing {"connection_id":141150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756724800,"raw_latitude":119809472,"longitude_deg":75.67248,"latitude_deg":11.9809472,"altitude":39,"angle":266,"satellites":17,"speed":10,"hex_longitude":"2d1ab440","hex_latitude":"072425c0","is_valid_coordinates":true} 
[2026-07-25 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954415360001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8758323079806976,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925077765139623936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:46: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-07-25 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784978188000,"timestamp_ms":1784978188000,"timestamp_seconds":1784978188,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fda6e0"} 
[2026-07-25 16:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 16:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954415360001,"66":14341,"176":206,"83":42752,"24":10,"16":8758323079806976,"45":1925077765139623936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954415360001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8758323079806976,"km_value":8758323079806.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925077765139623936,"description":"Unknown IO ID 45"} 
[2026-07-25 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954415360001,"power":14341,"unknown_176":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1925077765139623936}} 
[2026-07-25 16:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":141150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:46:34] local.INFO: GPS data processed {"connection_id":141150,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:46:34] local.INFO: Acknowledgment sent {"connection_id":141150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:46:55] local.INFO: TCP Data received {"connection_id":142185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:55] local.INFO: Processing buffer {"connection_id":142185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:55] local.INFO: IMEI packet received {"connection_id":142185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":142185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:46:55] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:55] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:55] local.INFO: IMEI packet received {"connection_id":143563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 16:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":143563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:46:57] local.INFO: TCP Data received {"connection_id":142185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:57] local.INFO: Processing buffer {"connection_id":142185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:46:57] local.INFO: IMEI packet received {"connection_id":142185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":142185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:46:58] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:58] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:58] local.INFO: IMEI packet received {"connection_id":143563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":143563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:46:59] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:59] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:46:59] local.INFO: IMEI packet received {"connection_id":143563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":143563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:47:00] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:47:00] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:47:00] local.INFO: IMEI packet received {"connection_id":143563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":143563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:47:00] local.INFO: TCP Data received {"connection_id":142185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:47:00] local.INFO: Processing buffer {"connection_id":142185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:47:00] local.INFO: IMEI packet received {"connection_id":142185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":142185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:47:00] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fdaac8012d1ab2c0072426580026011711..."} 
[2026-07-25 16:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fdaac8012d1ab2c0072426580026011711..."} 
[2026-07-25 16:47:00] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fdaac8012d1ab2c0072426580026011711..."} 
[2026-07-25 16:47:00] local.INFO: Packet analysis {"connection_id":143563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:00] local.INFO: Extracted packet for processing {"connection_id":143563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756724416,"raw_latitude":119809624,"longitude_deg":75.6724416,"latitude_deg":11.9809624,"altitude":38,"angle":279,"satellites":17,"speed":11,"hex_longitude":"2d1ab2c0","hex_latitude":"07242658","is_valid_coordinates":true} 
[2026-07-25 16:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954416128001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8758340259676160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924233340209446912,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784978189000,"timestamp_ms":1784978189000,"timestamp_seconds":1784978189,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fdaac8"} 
[2026-07-25 16:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972570968,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2566746160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733264580608,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4253267969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":112,"raw_value":11541475057736960,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84753473341957179,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,176,83,24,241,157,16,29,159,155,45,64,38,40,17,10,66,151,39,135,1,240,71,227,152,36,4,113,205,15,127,188,112,239,56,2,31,7,206,192],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-07-25 16:47:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810538710587277312,"timestamp_seconds":2810538710587277.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954416128001,"66":14341,"176":206,"83":42752,"24":11,"16":8758340259676160,"45":1924233340209446912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-07-25 16:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954416128001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:47:00] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-25 16:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8758340259676160,"km_value":8758340259676.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924233340209446912,"description":"Unknown IO ID 45"} 
[2026-07-25 16:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954416128001,"power":14341,"unknown_176":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1924233340209446912}} 
[2026-07-25 16:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":143563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:47:00] local.INFO: GPS data processed {"connection_id":143563,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:47:00] local.INFO: Acknowledgment sent {"connection_id":143563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:47:01] local.INFO: TCP Data received {"connection_id":142185,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fd06b8012db5af8005d67d78003000b727..."} 
[2026-07-25 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fd06b8012db5af8005d67d78003000b727..."} 
[2026-07-25 16:47:01] local.INFO: Processing buffer {"connection_id":142185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fd06b8012db5af8005d67d78003000b727..."} 
[2026-07-25 16:47:01] local.INFO: Packet analysis {"connection_id":142185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:01] local.INFO: Extracted packet for processing {"connection_id":142185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":766881664,"raw_latitude":97942904,"longitude_deg":76.6881664,"latitude_deg":9.7942904,"altitude":48,"angle":183,"satellites":39,"speed":51,"hex_longitude":"2db5af80","hex_latitude":"05d67d78","is_valid_coordinates":true} 
[2026-07-25 16:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954405120001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357947728409395200,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5354428088148604928,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978147000,"timestamp_ms":1784978147000,"timestamp_seconds":1784978147,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fd06b8"} 
[2026-07-25 16:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954405120001,"66":28104,"225":206,"83":17920,"24":51,"16":357947728409395200,"45":-5354428088148604928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-25 16:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954405120001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357947728409395200,"km_value":357947728409395.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5354428088148604928,"description":"Unknown IO ID 45"} 
[2026-07-25 16:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954405120001,"power":28104,"unknown_225":206,"unknown_83":17920,"ignition":51,"odometer":null,"unknown_45":-5354428088148604928}} 
[2026-07-25 16:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":142185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:47:01] local.INFO: GPS data processed {"connection_id":142185,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:47:01] local.INFO: Acknowledgment sent {"connection_id":142185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:47:05] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fdb298012d1ab000072426b00027010811..."} 
[2026-07-25 16:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fdb298012d1ab000072426b00027010811..."} 
[2026-07-25 16:47:05] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fdb298012d1ab000072426b00027010811..."} 
[2026-07-25 16:47:05] local.INFO: Packet analysis {"connection_id":143563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:05] local.INFO: Extracted packet for processing {"connection_id":143563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756723712,"raw_latitude":119809712,"longitude_deg":75.6723712,"latitude_deg":11.9809712,"altitude":39,"angle":264,"satellites":17,"speed":15,"hex_longitude":"2d1ab000","hex_latitude":"072426b0","is_valid_coordinates":true} 
[2026-07-25 16:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954416384001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8758374619414528,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923811127744419840,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784978191000,"timestamp_ms":1784978191000,"timestamp_seconds":1784978191,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fdb298"} 
[2026-07-25 16:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972570992,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2583691264,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2566750160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733266546688,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":152,"raw_value":4253523969,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789919438,"corrected_to":0} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3087084826,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84753403548738610,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.WARNING: Large IO value detected {"io_id":80,"raw_value":11260047325667072,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,176,83,24,241,157,16,29,159,166,45,64,37,39,17,10,66,155,38,40,151,1,240,227,152,36,4,113,205,14,131,187,239,56,2,31,7,18,206,48,80],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1789919438,"validated":0}]} 
[2026-07-25 16:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738495410200576000,"timestamp_seconds":2738495410200576,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954416384001,"66":14265,"137":206,"83":42752,"24":15,"16":8758374619414528,"45":1923811127744419840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 16:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954416384001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:47:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 16:47:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8758374619414528,"km_value":8758374619414.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923811127744419840,"description":"Unknown IO ID 45"} 
[2026-07-25 16:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954416384001,"power":14265,"unknown_137":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1923811127744419840}} 
[2026-07-25 16:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":143563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:47:05] local.INFO: GPS data processed {"connection_id":143563,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:47:05] local.INFO: Acknowledgment sent {"connection_id":143563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:47:32] local.INFO: TCP Data received {"connection_id":142185,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fd0e88012db5afc005d67350003000ab29..."} 
[2026-07-25 16:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fd0e88012db5afc005d67350003000ab29..."} 
[2026-07-25 16:47:32] local.INFO: Processing buffer {"connection_id":142185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fd0e88012db5afc005d67350003000ab29..."} 
[2026-07-25 16:47:32] local.INFO: Packet analysis {"connection_id":142185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:32] local.INFO: Extracted packet for processing {"connection_id":142185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":766881728,"raw_latitude":97940304,"longitude_deg":76.6881728,"latitude_deg":9.7940304,"altitude":48,"angle":171,"satellites":41,"speed":50,"hex_longitude":"2db5afc0","hex_latitude":"05d67350","is_valid_coordinates":true} 
[2026-07-25 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954405632001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357947852963446784,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5354920669358491648,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978149000,"timestamp_ms":1784978149000,"timestamp_seconds":1784978149,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fd0e88"} 
[2026-07-25 16:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 16:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954405632001,"66":28006,"225":206,"83":17920,"24":50,"16":357947852963446784,"45":-5354920669358491648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,45]} 
[2026-07-25 16:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954405632001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:47:32] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 16:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357947852963446784,"km_value":357947852963446.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5354920669358491648,"description":"Unknown IO ID 45"} 
[2026-07-25 16:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954405632001,"power":28006,"unknown_225":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5354920669358491648}} 
[2026-07-25 16:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":142185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:47:32] local.INFO: GPS data processed {"connection_id":142185,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:47:32] local.INFO: Acknowledgment sent {"connection_id":142185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:47:36] local.INFO: TCP Data received {"connection_id":143563,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fdba68012d1aac8007242610002700fa11..."} 
[2026-07-25 16:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fdba68012d1aac8007242610002700fa11..."} 
[2026-07-25 16:47:36] local.INFO: Processing buffer {"connection_id":143563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fdba68012d1aac8007242610002700fa11..."} 
[2026-07-25 16:47:36] local.INFO: Packet analysis {"connection_id":143563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:36] local.INFO: Extracted packet for processing {"connection_id":143563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fd"} 
[2026-07-25 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":756722816,"raw_latitude":119809552,"longitude_deg":75.6722816,"latitude_deg":11.9809552,"altitude":39,"angle":250,"satellites":17,"speed":19,"hex_longitude":"2d1aac80","hex_latitude":"07242610","is_valid_coordinates":true} 
[2026-07-25 16:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954416896001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8758417569087488,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923037071558488064,"note":"Value kept but may cause issues"} 
[2026-07-25 16:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784978193000,"timestamp_ms":1784978193000,"timestamp_seconds":1784978193,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fdba68"} 
[2026-07-25 16:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 16:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954416896001,"66":14374,"137":206,"83":42752,"24":19,"16":8758417569087488,"45":1923037071558488064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 16:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954416896001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:47:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 16:47:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8758417569087488,"km_value":8758417569087.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923037071558488064,"description":"Unknown IO ID 45"} 
[2026-07-25 16:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954416896001,"power":14374,"unknown_137":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1923037071558488064}} 
[2026-07-25 16:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":143563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:47:36] local.INFO: GPS data processed {"connection_id":143563,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:47:36] local.INFO: Acknowledgment sent {"connection_id":143563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:48:00] local.INFO: TCP Data received {"connection_id":142186,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:00] local.INFO: Processing buffer {"connection_id":142186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:00] local.INFO: IMEI packet received {"connection_id":142186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":142186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:48:01] local.INFO: TCP Data received {"connection_id":142186,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142186,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:48:01] local.INFO: Processing buffer {"connection_id":142186,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:48:01] local.INFO: IMEI packet received {"connection_id":142186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":142186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:48:05] local.INFO: TCP Data received {"connection_id":142186,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:05] local.INFO: Processing buffer {"connection_id":142186,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 16:48:05] local.INFO: IMEI packet received {"connection_id":142186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":142186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:48:06] local.INFO: TCP Data received {"connection_id":142186,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fe3f38012db6320005d4e6f8002a00a32a..."} 
[2026-07-25 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fe3f38012db6320005d4e6f8002a00a32a..."} 
[2026-07-25 16:48:06] local.INFO: Processing buffer {"connection_id":142186,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f98..."} 
[2026-07-25 16:48:06] local.INFO: IMEI packet received {"connection_id":142186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":142186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:48:07] local.INFO: TCP Data received {"connection_id":142186,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fe5e78012db63ec005d4c2c0002800972b..."} 
[2026-07-25 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fe5e78012db63ec005d4c2c0002800972b..."} 
[2026-07-25 16:48:07] local.INFO: Processing buffer {"connection_id":142186,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f98fe3f38012db6320005d4e6f8002a00a32a..."} 
[2026-07-25 16:48:07] local.INFO: Packet analysis {"connection_id":142186,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:48:07] local.INFO: Extracted packet for processing {"connection_id":142186,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":766915072,"raw_latitude":97838840,"longitude_deg":76.6915072,"latitude_deg":9.783884,"altitude":42,"angle":163,"satellites":42,"speed":47,"hex_longitude":"2db63200","hex_latitude":"05d4e6f8","is_valid_coordinates":true} 
[2026-07-25 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954424064001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357953079938646016,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5322973259526354944,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784978227000,"timestamp_ms":1784978227000,"timestamp_seconds":1784978227,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fe3f38"} 
[2026-07-25 16:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954424064001,"66":27876,"241":206,"83":17920,"24":47,"16":357953079938646016,"45":-5322973259526354944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954424064001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357953079938646016,"km_value":357953079938646.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5322973259526354944,"description":"Unknown IO ID 45"} 
[2026-07-25 16:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954424064001,"power":27876,"unknown_241":206,"unknown_83":17920,"ignition":47,"odometer":null,"unknown_45":-5322973259526354944}} 
[2026-07-25 16:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":142186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:48:07] local.INFO: GPS data processed {"connection_id":142186,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:48:07] local.INFO: Acknowledgment sent {"connection_id":142186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:48:07] local.INFO: Packet analysis {"connection_id":142186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:48:07] local.INFO: Extracted packet for processing {"connection_id":142186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":766918336,"raw_latitude":97829568,"longitude_deg":76.6918336,"latitude_deg":9.7829568,"altitude":40,"angle":151,"satellites":43,"speed":50,"hex_longitude":"2db63ec0","hex_latitude":"05d4c2c0","is_valid_coordinates":true} 
[2026-07-25 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954426112001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357953556680015872,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188184924391424,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784978235000,"timestamp_ms":1784978235000,"timestamp_seconds":1784978235,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fe5e78"} 
[2026-07-25 16:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954426112001,"66":27876,"241":206,"83":17920,"24":50,"16":357953556680015872,"45":-5318188184924391424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-07-25 16:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954426112001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357953556680015872,"km_value":357953556680015.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188184924391424,"description":"Unknown IO ID 45"} 
[2026-07-25 16:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954426112001,"power":27876,"unknown_241":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5318188184924391424}} 
[2026-07-25 16:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":142186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:48:07] local.INFO: GPS data processed {"connection_id":142186,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:48:07] local.INFO: Acknowledgment sent {"connection_id":142186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:48:10] local.INFO: TCP Data received {"connection_id":142186,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fe5e78012db63ec005d4c2c0002800972b..."} 
[2026-07-25 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fe5e78012db63ec005d4c2c0002800972b..."} 
[2026-07-25 16:48:10] local.INFO: Processing buffer {"connection_id":142186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fe5e78012db63ec005d4c2c0002800972b..."} 
[2026-07-25 16:48:10] local.INFO: Packet analysis {"connection_id":142186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:48:10] local.INFO: Extracted packet for processing {"connection_id":142186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:48:10] local.INFO: GPS Element Parsed {"raw_longitude":766918336,"raw_latitude":97829568,"longitude_deg":76.6918336,"latitude_deg":9.7829568,"altitude":40,"angle":151,"satellites":43,"speed":50,"hex_longitude":"2db63ec0","hex_latitude":"05d4c2c0","is_valid_coordinates":true} 
[2026-07-25 16:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954428160001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357953556680015872,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5314599378973704192,"note":"Value kept but may cause issues"} 
[2026-07-25 16:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784978235000,"timestamp_ms":1784978235000,"timestamp_seconds":1784978235,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fe5e78"} 
[2026-07-25 16:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:48: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-07-25 16:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954428160001,"66":27876,"241":206,"83":17920,"24":50,"16":357953556680015872,"45":-5314599378973704192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-07-25 16:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954428160001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:48:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 16:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357953556680015872,"km_value":357953556680015.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5314599378973704192,"description":"Unknown IO ID 45"} 
[2026-07-25 16:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954428160001,"power":27876,"unknown_241":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5314599378973704192}} 
[2026-07-25 16:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":142186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:48:10] local.INFO: GPS data processed {"connection_id":142186,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:48:10] local.INFO: Acknowledgment sent {"connection_id":142186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:48:52] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:52] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:52] local.INFO: IMEI packet received {"connection_id":143565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":143565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:48:56] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:56] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:56] local.INFO: IMEI packet received {"connection_id":143565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":143565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:48:59] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:59] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:48:59] local.INFO: IMEI packet received {"connection_id":143565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":143565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:49:00] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fe79d0012db64e4005d4a2a0002700a32c..."} 
[2026-07-25 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fe79d0012db64e4005d4a2a0002700a32c..."} 
[2026-07-25 16:49:00] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fe79d0012db64e4005d4a2a0002700a32c..."} 
[2026-07-25 16:49:00] local.INFO: Packet analysis {"connection_id":143565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:49:00] local.INFO: Extracted packet for processing {"connection_id":143565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":766922304,"raw_latitude":97821344,"longitude_deg":76.6922304,"latitude_deg":9.7821344,"altitude":39,"angle":163,"satellites":44,"speed":52,"hex_longitude":"2db64e40","hex_latitude":"05d4a2a0","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954428160001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357953999061647360,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5314599378973704192,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784978242000,"timestamp_ms":1784978242000,"timestamp_seconds":1784978242,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fe79d0"} 
[2026-07-25 16:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 16:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954428160001,"66":27908,"241":206,"83":17920,"24":52,"16":357953999061647360,"45":-5314599378973704192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-07-25 16:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954428160001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:49:00] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 16:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357953999061647360,"km_value":357953999061647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5314599378973704192,"description":"Unknown IO ID 45"} 
[2026-07-25 16:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954428160001,"power":27908,"unknown_241":206,"unknown_83":17920,"ignition":52,"odometer":null,"unknown_45":-5314599378973704192}} 
[2026-07-25 16:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":143565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:49:00] local.INFO: GPS data processed {"connection_id":143565,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:49:00] local.INFO: Acknowledgment sent {"connection_id":143565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:49:02] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98fe79d0012db64e4005d4a2a0002700a32c..."} 
[2026-07-25 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98fe79d0012db64e4005d4a2a0002700a32c..."} 
[2026-07-25 16:49:02] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98fe79d0012db64e4005d4a2a0002700a32c..."} 
[2026-07-25 16:49:02] local.INFO: Packet analysis {"connection_id":143565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:49:02] local.INFO: Extracted packet for processing {"connection_id":143565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98fe"} 
[2026-07-25 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":766922304,"raw_latitude":97821344,"longitude_deg":76.6922304,"latitude_deg":9.7821344,"altitude":39,"angle":163,"satellites":44,"speed":52,"hex_longitude":"2db64e40","hex_latitude":"05d4a2a0","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954429952001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357953999061647360,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5310236516836794368,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784978242000,"timestamp_ms":1784978242000,"timestamp_seconds":1784978242,"priority":1,"record_length":96,"hex_timestamp":"0000019f98fe79d0"} 
[2026-07-25 16:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954429952001,"66":27908,"241":206,"83":17920,"24":52,"16":357953999061647360,"45":-5310236516836794368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-07-25 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954429952001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357953999061647360,"km_value":357953999061647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5310236516836794368,"description":"Unknown IO ID 45"} 
[2026-07-25 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954429952001,"power":27908,"unknown_241":206,"unknown_83":17920,"ignition":52,"odometer":null,"unknown_45":-5310236516836794368}} 
[2026-07-25 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":143565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:49:02] local.INFO: GPS data processed {"connection_id":143565,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:49:02] local.INFO: Acknowledgment sent {"connection_id":143565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:49:32] local.INFO: TCP Data received {"connection_id":143565,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ffd190012db6b5c005d31240002800d428..."} 
[2026-07-25 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ffd190012db6b5c005d31240002800d428..."} 
[2026-07-25 16:49:32] local.INFO: Processing buffer {"connection_id":143565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ffd190012db6b5c005d31240002800d428..."} 
[2026-07-25 16:49:32] local.INFO: Packet analysis {"connection_id":143565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ff"} 
[2026-07-25 16:49:32] local.INFO: Extracted packet for processing {"connection_id":143565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ff"} 
[2026-07-25 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":766948800,"raw_latitude":97718848,"longitude_deg":76.69488,"latitude_deg":9.7718848,"altitude":40,"angle":212,"satellites":40,"speed":44,"hex_longitude":"2db6b5c0","hex_latitude":"05d31240","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954451456001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357959423605342208,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5277515050819565568,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978330000,"timestamp_ms":1784978330000,"timestamp_seconds":1784978330,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ffd190"} 
[2026-07-25 16:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 16:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954451456001,"66":28017,"49":206,"83":17920,"24":44,"16":357959423605342208,"45":-5277515050819565568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-07-25 16:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954451456001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:49:32] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 16:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357959423605342208,"km_value":357959423605342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5277515050819565568,"description":"Unknown IO ID 45"} 
[2026-07-25 16:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954451456001,"power":28017,"unknown_49":206,"unknown_83":17920,"ignition":44,"odometer":null,"unknown_45":-5277515050819565568}} 
[2026-07-25 16:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":143565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:49:32] local.INFO: GPS data processed {"connection_id":143565,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:49:32] local.INFO: Acknowledgment sent {"connection_id":143565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:49:55] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:49:55] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:49:55] local.INFO: IMEI packet received {"connection_id":143566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":143566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:49:57] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:49:57] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:49:57] local.INFO: IMEI packet received {"connection_id":143566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":143566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:49:58] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ffd960012db6b28005d30a70002700c127..."} 
[2026-07-25 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ffd960012db6b28005d30a70002700c127..."} 
[2026-07-25 16:49:58] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ffd960012db6b28005d30a70002700c127..."} 
[2026-07-25 16:49:58] local.INFO: Packet analysis {"connection_id":143566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ff"} 
[2026-07-25 16:49:58] local.INFO: Extracted packet for processing {"connection_id":143566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ff"} 
[2026-07-25 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":766947968,"raw_latitude":97716848,"longitude_deg":76.6947968,"latitude_deg":9.7716848,"altitude":39,"angle":193,"satellites":39,"speed":42,"hex_longitude":"2db6b280","hex_latitude":"05d30a70","is_valid_coordinates":true} 
[2026-07-25 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954452480001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357959530979524608,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5281103856773480448,"note":"Value kept but may cause issues"} 
[2026-07-25 16:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784978332000,"timestamp_ms":1784978332000,"timestamp_seconds":1784978332,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ffd960"} 
[2026-07-25 16:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 16:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":143566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954452480001,"66":27767,"49":206,"83":17920,"24":42,"16":357959530979524608,"45":-5281103856773480448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-07-25 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954452480001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:49:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 16:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357959530979524608,"km_value":357959530979524.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5281103856773480448,"description":"Unknown IO ID 45"} 
[2026-07-25 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954452480001,"power":27767,"unknown_49":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5281103856773480448}} 
[2026-07-25 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":143566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:49:58] local.INFO: GPS data processed {"connection_id":143566,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:49:58] local.INFO: Acknowledgment sent {"connection_id":143566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:50:29] local.INFO: TCP Data received {"connection_id":143566,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f98ffe130012db6b1c005d30230002600b228..."} 
[2026-07-25 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f98ffe130012db6b1c005d30230002600b228..."} 
[2026-07-25 16:50:29] local.INFO: Processing buffer {"connection_id":143566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f98ffe130012db6b1c005d30230002600b228..."} 
[2026-07-25 16:50:29] local.INFO: Packet analysis {"connection_id":143566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f98ff"} 
[2026-07-25 16:50:29] local.INFO: Extracted packet for processing {"connection_id":143566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f98ff"} 
[2026-07-25 16:50:29] local.INFO: GPS Element Parsed {"raw_longitude":766947776,"raw_latitude":97714736,"longitude_deg":76.6947776,"latitude_deg":9.7714736,"altitude":38,"angle":178,"satellites":40,"speed":42,"hex_longitude":"2db6b1c0","hex_latitude":"05d30230","is_valid_coordinates":true} 
[2026-07-25 16:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954452992001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357959629763772416,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5282018650448302080,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784978334000,"timestamp_ms":1784978334000,"timestamp_seconds":1784978334,"priority":1,"record_length":96,"hex_timestamp":"0000019f98ffe130"} 
[2026-07-25 16:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 16:50: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-07-25 16:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954452992001,"66":27995,"49":206,"83":17920,"24":42,"16":357959629763772416,"45":-5282018650448302080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,83,24,16,45]} 
[2026-07-25 16:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954452992001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357959629763772416,"km_value":357959629763772.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5282018650448302080,"description":"Unknown IO ID 45"} 
[2026-07-25 16:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954452992001,"power":27995,"unknown_49":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5282018650448302080}} 
[2026-07-25 16:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":143566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:50:29] local.INFO: GPS data processed {"connection_id":143566,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:50:29] local.INFO: Acknowledgment sent {"connection_id":143566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:50:53] local.INFO: TCP Data received {"connection_id":141153,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:50:53] local.INFO: Processing buffer {"connection_id":141153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:50:53] local.INFO: IMEI packet received {"connection_id":141153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 16:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":141153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:50:55] local.INFO: TCP Data received {"connection_id":142187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:50:55] local.INFO: Processing buffer {"connection_id":142187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:50:55] local.INFO: IMEI packet received {"connection_id":142187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":142187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:50:56] local.INFO: TCP Data received {"connection_id":142187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:50:56] local.INFO: Processing buffer {"connection_id":142187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:50:56] local.INFO: IMEI packet received {"connection_id":142187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":142187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:50:56] local.INFO: TCP Data received {"connection_id":141153,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:50:56] local.INFO: Processing buffer {"connection_id":141153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:50:56] local.INFO: IMEI packet received {"connection_id":141153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":141153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:50:57] local.INFO: TCP Data received {"connection_id":141153,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f990144a8012d197f00072396e8004a00f91d..."} 
[2026-07-25 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990144a8012d197f00072396e8004a00f91d..."} 
[2026-07-25 16:50:57] local.INFO: Processing buffer {"connection_id":141153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990144a8012d197f00072396e8004a00f91d..."} 
[2026-07-25 16:50:57] local.INFO: Packet analysis {"connection_id":141153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:50:57] local.INFO: Extracted packet for processing {"connection_id":141153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119772904,"longitude_deg":75.6645632,"latitude_deg":11.9772904,"altitude":74,"angle":249,"satellites":29,"speed":30,"hex_longitude":"2d197f00","hex_latitude":"072396e8","is_valid_coordinates":true} 
[2026-07-25 16:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954473728001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762072586256384,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531409046870016,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] 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-07-25 16:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784978425000,"timestamp_ms":1784978425000,"timestamp_seconds":1784978425,"priority":1,"record_length":96,"hex_timestamp":"0000019f990144a8"} 
[2026-07-25 16:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:50:57] 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-07-25 16:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972571753,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2768240640,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2566943160,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733307047936,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2684431642,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84752692731650990,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":15763904852395008,"note":"Value kept but may cause issues"} 
[2026-07-25 16:50:57] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,42,83,24,241,16,32,159,227,10,66,1,240,33,153,45,35,4,113,205,117,30,40,29,239,55,2,157,31,7,56,206,232,128],"length":529,"final_offset":659,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 16:50:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116378468512169984,"timestamp_seconds":5116378468512170.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 16:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:50: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-07-25 16:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954473728001,"66":14374,"42":206,"83":42752,"24":30,"16":8762072586256384,"45":1847531409046870016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 16:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954473728001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:50:57] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 16:50:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762072586256384,"km_value":8762072586256.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531409046870016,"description":"Unknown IO ID 45"} 
[2026-07-25 16:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954473728001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1847531409046870016}} 
[2026-07-25 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":141153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:50:58] local.INFO: GPS data processed {"connection_id":141153,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:50:58] local.INFO: Acknowledgment sent {"connection_id":141153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:50:59] local.INFO: TCP Data received {"connection_id":143564,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:50:59] local.INFO: Processing buffer {"connection_id":143564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:50:59] local.INFO: IMEI packet received {"connection_id":143564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":143564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:51:00] local.INFO: TCP Data received {"connection_id":142187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:00] local.INFO: Processing buffer {"connection_id":142187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:00] local.INFO: IMEI packet received {"connection_id":142187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":142187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:51:01] local.INFO: TCP Data received {"connection_id":142187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9900b808012db7578005d23960002100a92c..."} 
[2026-07-25 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9900b808012db7578005d23960002100a92c..."} 
[2026-07-25 16:51:01] local.INFO: Processing buffer {"connection_id":142187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9900b808012db7578005d23960002100a92c..."} 
[2026-07-25 16:51:01] local.INFO: Packet analysis {"connection_id":142187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9900"} 
[2026-07-25 16:51:01] local.INFO: Extracted packet for processing {"connection_id":142187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9900"} 
[2026-07-25 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":766990208,"raw_latitude":97663328,"longitude_deg":76.6990208,"latitude_deg":9.7663328,"altitude":33,"angle":169,"satellites":44,"speed":51,"hex_longitude":"2db75780","hex_latitude":"05d23960","is_valid_coordinates":true} 
[2026-07-25 16:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954465792001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357962992723165184,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5237404866651097088,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978389000,"timestamp_ms":1784978389000,"timestamp_seconds":1784978389,"priority":1,"record_length":96,"hex_timestamp":"0000019f9900b808"} 
[2026-07-25 16:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 16:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954465792001,"66":27930,"47":206,"83":17920,"24":51,"16":357962992723165184,"45":-5237404866651097088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,45]} 
[2026-07-25 16:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954465792001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:51:01] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 16:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357962992723165184,"km_value":357962992723165.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5237404866651097088,"description":"Unknown IO ID 45"} 
[2026-07-25 16:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954465792001,"power":27930,"unknown_47":206,"unknown_83":17920,"ignition":51,"odometer":null,"unknown_45":-5237404866651097088}} 
[2026-07-25 16:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":142187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:51:01] local.INFO: GPS data processed {"connection_id":142187,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:51:01] local.INFO: Acknowledgment sent {"connection_id":142187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:51:09] local.INFO: TCP Data received {"connection_id":141153,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f990144a8012d197f00072396e8004a00f91d..."} 
[2026-07-25 16:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990144a8012d197f00072396e8004a00f91d..."} 
[2026-07-25 16:51:09] local.INFO: Processing buffer {"connection_id":141153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990144a8012d197f00072396e8004a00f91d..."} 
[2026-07-25 16:51:09] local.INFO: Packet analysis {"connection_id":141153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:51:09] local.INFO: Extracted packet for processing {"connection_id":141153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:51:09] local.INFO: GPS Element Parsed {"raw_longitude":756645632,"raw_latitude":119772904,"longitude_deg":75.6645632,"latitude_deg":11.9772904,"altitude":74,"angle":249,"satellites":29,"speed":30,"hex_longitude":"2d197f00","hex_latitude":"072396e8","is_valid_coordinates":true} 
[2026-07-25 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954476800001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762072586256384,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203652315136,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:09] 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-07-25 16:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784978425000,"timestamp_ms":1784978425000,"timestamp_seconds":1784978425,"priority":1,"record_length":96,"hex_timestamp":"0000019f990144a8"} 
[2026-07-25 16:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":38,"data_length":795,"current_offset":136} 
[2026-07-25 16:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:51:09] 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-07-25 16:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954476800001,"66":14374,"42":206,"83":42752,"24":30,"16":8762072586256384,"45":1837187203652315136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 16:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954476800001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:51:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 16:51:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762072586256384,"km_value":8762072586256.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203652315136,"description":"Unknown IO ID 45"} 
[2026-07-25 16:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954476800001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1837187203652315136}} 
[2026-07-25 16:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":141153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:51:09] local.INFO: GPS data processed {"connection_id":141153,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:51:09] local.INFO: Acknowledgment sent {"connection_id":141153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:51:32] local.INFO: TCP Data received {"connection_id":142187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9900d748012db75f8005d214000023009f2b..."} 
[2026-07-25 16:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9900d748012db75f8005d214000023009f2b..."} 
[2026-07-25 16:51:32] local.INFO: Processing buffer {"connection_id":142187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9900d748012db75f8005d214000023009f2b..."} 
[2026-07-25 16:51:32] local.INFO: Packet analysis {"connection_id":142187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9900"} 
[2026-07-25 16:51:32] local.INFO: Extracted packet for processing {"connection_id":142187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9900"} 
[2026-07-25 16:51:32] local.INFO: GPS Element Parsed {"raw_longitude":766992256,"raw_latitude":97653760,"longitude_deg":76.6992256,"latitude_deg":9.765376,"altitude":35,"angle":159,"satellites":43,"speed":42,"hex_longitude":"2db75f80","hex_latitude":"05d21400","is_valid_coordinates":true} 
[2026-07-25 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-07-25 16:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954467584001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357963465169567744,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5235575279304744960,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978397000,"timestamp_ms":1784978397000,"timestamp_seconds":1784978397,"priority":1,"record_length":96,"hex_timestamp":"0000019f9900d748"} 
[2026-07-25 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-07-25 16:51: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-07-25 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 16:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 16:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954467584001,"66":27995,"48":206,"83":17920,"24":42,"16":357963465169567744,"45":-5235575279304744960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-07-25 16:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954467584001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:51:32] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 16:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357963465169567744,"km_value":357963465169567.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5235575279304744960,"description":"Unknown IO ID 45"} 
[2026-07-25 16:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954467584001,"power":27995,"unknown_48":206,"unknown_83":17920,"ignition":42,"odometer":null,"unknown_45":-5235575279304744960}} 
[2026-07-25 16:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":142187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:51:32] local.INFO: GPS data processed {"connection_id":142187,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:51:32] local.INFO: Acknowledgment sent {"connection_id":142187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:51:41] local.INFO: TCP Data received {"connection_id":141153,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99015060012d197700072392d8004a00ed1d..."} 
[2026-07-25 16:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99015060012d197700072392d8004a00ed1d..."} 
[2026-07-25 16:51:41] local.INFO: Processing buffer {"connection_id":141153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99015060012d197700072392d8004a00ed1d..."} 
[2026-07-25 16:51:41] local.INFO: Packet analysis {"connection_id":141153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:51:41] local.INFO: Extracted packet for processing {"connection_id":141153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756643584,"raw_latitude":119771864,"longitude_deg":75.6643584,"latitude_deg":11.9771864,"altitude":74,"angle":237,"satellites":29,"speed":30,"hex_longitude":"2d197700","hex_latitude":"072392d8","is_valid_coordinates":true} 
[2026-07-25 16:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954476800001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8762184255406080,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837187203652315136,"note":"Value kept but may cause issues"} 
[2026-07-25 16:51:41] 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-07-25 16:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784978428000,"timestamp_ms":1784978428000,"timestamp_seconds":1784978428,"priority":1,"record_length":96,"hex_timestamp":"0000019f99015060"} 
[2026-07-25 16:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 16:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:51:41] 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-07-25 16:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954476800001,"66":14396,"42":206,"83":42752,"24":30,"16":8762184255406080,"45":1837187203652315136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 16:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954476800001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:51:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 16:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8762184255406080,"km_value":8762184255406.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837187203652315136,"description":"Unknown IO ID 45"} 
[2026-07-25 16:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954476800001,"power":14396,"unknown_42":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1837187203652315136}} 
[2026-07-25 16:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":141153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:51:41] local.INFO: GPS data processed {"connection_id":141153,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:51:41] local.INFO: Acknowledgment sent {"connection_id":141153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:51:53] local.INFO: TCP Data received {"connection_id":143567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:53] local.INFO: Processing buffer {"connection_id":143567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:53] local.INFO: IMEI packet received {"connection_id":143567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":143567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:51:55] local.INFO: TCP Data received {"connection_id":143567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:55] local.INFO: Processing buffer {"connection_id":143567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:51:55] local.INFO: IMEI packet received {"connection_id":143567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":143567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:52:00] local.INFO: TCP Data received {"connection_id":143567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:00] local.INFO: Processing buffer {"connection_id":143567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:00] local.INFO: IMEI packet received {"connection_id":143567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":143567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:52:01] local.INFO: TCP Data received {"connection_id":143567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9901ae20012db7964005d13c30002700a629..."} 
[2026-07-25 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9901ae20012db7964005d13c30002700a629..."} 
[2026-07-25 16:52:01] local.INFO: Processing buffer {"connection_id":143567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9901ae20012db7964005d13c30002700a629..."} 
[2026-07-25 16:52:01] local.INFO: Packet analysis {"connection_id":143567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:52:01] local.INFO: Extracted packet for processing {"connection_id":143567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:52:01] local.INFO: GPS Element Parsed {"raw_longitude":767006272,"raw_latitude":97598512,"longitude_deg":76.7006272,"latitude_deg":9.7598512,"altitude":39,"angle":166,"satellites":41,"speed":45,"hex_longitude":"2db79640","hex_latitude":"05d13c30","is_valid_coordinates":true} 
[2026-07-25 16:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954482176001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357966299847983104,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5220375630577297408,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978452000,"timestamp_ms":1784978452000,"timestamp_seconds":1784978452,"priority":1,"record_length":96,"hex_timestamp":"0000019f9901ae20"} 
[2026-07-25 16:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954482176001,"66":27930,"48":206,"83":17920,"24":45,"16":357966299847983104,"45":-5220375630577297408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-07-25 16:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954482176001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:52:01] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 16:52:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357966299847983104,"km_value":357966299847983.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5220375630577297408,"description":"Unknown IO ID 45"} 
[2026-07-25 16:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954482176001,"power":27930,"unknown_48":206,"unknown_83":17920,"ignition":45,"odometer":null,"unknown_45":-5220375630577297408}} 
[2026-07-25 16:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":143567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:52:01] local.INFO: GPS data processed {"connection_id":143567,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:52:01] local.INFO: Acknowledgment sent {"connection_id":143567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:52:12] local.INFO: TCP Data received {"connection_id":141153,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9902b3d8012d18bb400722fdf8006400e01d..."} 
[2026-07-25 16:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9902b3d8012d18bb400722fdf8006400e01d..."} 
[2026-07-25 16:52:12] local.INFO: Processing buffer {"connection_id":141153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9902b3d8012d18bb400722fdf8006400e01d..."} 
[2026-07-25 16:52:12] local.INFO: Packet analysis {"connection_id":141153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9902"} 
[2026-07-25 16:52:12] local.INFO: Extracted packet for processing {"connection_id":141153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9902"} 
[2026-07-25 16:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756595520,"raw_latitude":119733752,"longitude_deg":75.659552,"latitude_deg":11.9733752,"altitude":100,"angle":224,"satellites":29,"speed":34,"hex_longitude":"2d18bb40","hex_latitude":"0722fdf8","is_valid_coordinates":true} 
[2026-07-25 16:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954500608001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8765465610420224,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533137291264,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784978519000,"timestamp_ms":1784978519000,"timestamp_seconds":1784978519,"priority":1,"record_length":96,"hex_timestamp":"0000019f9902b3d8"} 
[2026-07-25 16:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 16:52: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-07-25 16:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:52:12] 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-07-25 16:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954500608001,"66":13993,"137":206,"83":42752,"24":34,"16":8765465610420224,"45":1782862533137291264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 16:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954500608001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:52:12] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 16:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 16:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8765465610420224,"km_value":8765465610420.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533137291264,"description":"Unknown IO ID 45"} 
[2026-07-25 16:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954500608001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1782862533137291264}} 
[2026-07-25 16:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":141153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:52:12] local.INFO: GPS data processed {"connection_id":141153,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:52:12] local.INFO: Acknowledgment sent {"connection_id":141153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:52:32] local.INFO: TCP Data received {"connection_id":143567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9901cd60012db7a10005d119c80027009b2c..."} 
[2026-07-25 16:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9901cd60012db7a10005d119c80027009b2c..."} 
[2026-07-25 16:52:32] local.INFO: Processing buffer {"connection_id":143567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9901cd60012db7a10005d119c80027009b2c..."} 
[2026-07-25 16:52:32] local.INFO: Packet analysis {"connection_id":143567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:52:32] local.INFO: Extracted packet for processing {"connection_id":143567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:52:32] local.INFO: GPS Element Parsed {"raw_longitude":767009024,"raw_latitude":97589704,"longitude_deg":76.7009024,"latitude_deg":9.7589704,"altitude":39,"angle":155,"satellites":44,"speed":47,"hex_longitude":"2db7a100","hex_latitude":"05d119c8","is_valid_coordinates":true} 
[2026-07-25 16:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954483712001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357966746524581888,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5217912724532744192,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978460000,"timestamp_ms":1784978460000,"timestamp_seconds":1784978460,"priority":1,"record_length":96,"hex_timestamp":"0000019f9901cd60"} 
[2026-07-25 16:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:52: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-07-25 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 16:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954483712001,"66":27865,"48":206,"83":17920,"24":47,"16":357966746524581888,"45":-5217912724532744192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-07-25 16:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954483712001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:52:32] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 16:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357966746524581888,"km_value":357966746524581.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5217912724532744192,"description":"Unknown IO ID 45"} 
[2026-07-25 16:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954483712001,"power":27865,"unknown_48":206,"unknown_83":17920,"ignition":47,"odometer":null,"unknown_45":-5217912724532744192}} 
[2026-07-25 16:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":143567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:52:32] local.INFO: GPS data processed {"connection_id":143567,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:52:32] local.INFO: Acknowledgment sent {"connection_id":143567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:52:55] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:55] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:55] local.INFO: IMEI packet received {"connection_id":141219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":141219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:52:59] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:59] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:52:59] local.INFO: IMEI packet received {"connection_id":141219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":141219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:52:59] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9901eca0012db7b30005d0f770002600992c..."} 
[2026-07-25 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9901eca0012db7b30005d0f770002600992c..."} 
[2026-07-25 16:52:59] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9901eca0012db7b30005d0f770002600992c..."} 
[2026-07-25 16:52:59] local.INFO: Packet analysis {"connection_id":141219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:52:59] local.INFO: Extracted packet for processing {"connection_id":141219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9901"} 
[2026-07-25 16:52:59] local.INFO: GPS Element Parsed {"raw_longitude":767013632,"raw_latitude":97580912,"longitude_deg":76.7013632,"latitude_deg":9.7580912,"altitude":38,"angle":153,"satellites":44,"speed":50,"hex_longitude":"2db7b300","hex_latitude":"05d0f770","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954485760001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357967227560919040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5214886868535359488,"note":"Value kept but may cause issues"} 
[2026-07-25 16:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784978468000,"timestamp_ms":1784978468000,"timestamp_seconds":1784978468,"priority":1,"record_length":96,"hex_timestamp":"0000019f9901eca0"} 
[2026-07-25 16:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:52: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-07-25 16: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-07-25 16:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954485760001,"66":27930,"48":206,"83":17920,"24":50,"16":357967227560919040,"45":-5214886868535359488},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,83,24,16,45]} 
[2026-07-25 16:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954485760001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17920,"description":"Unknown IO ID 83"} 
[2026-07-25 16:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357967227560919040,"km_value":357967227560919.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5214886868535359488,"description":"Unknown IO ID 45"} 
[2026-07-25 16:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954485760001,"power":27930,"unknown_48":206,"unknown_83":17920,"ignition":50,"odometer":null,"unknown_45":-5214886868535359488}} 
[2026-07-25 16:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":141219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:52:59] local.INFO: GPS data processed {"connection_id":141219,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:52:59] local.INFO: Acknowledgment sent {"connection_id":141219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:53:01] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:01] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:01] local.INFO: IMEI packet received {"connection_id":141220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 16:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":141220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:53:02] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:02] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:02] local.INFO: IMEI packet received {"connection_id":141220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":141220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:53:06] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:06] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:53:06] local.INFO: IMEI packet received {"connection_id":141220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":141220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:53:07] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99034460012d18a64007227e48006d00c11e..."} 
[2026-07-25 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99034460012d18a64007227e48006d00c11e..."} 
[2026-07-25 16:53:07] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99034460012d18a64007227e48006d00c11e..."} 
[2026-07-25 16:53:07] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:53:07] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119701064,"longitude_deg":75.6590144,"latitude_deg":11.9701064,"altitude":109,"angle":193,"satellites":30,"speed":39,"hex_longitude":"2d18a640","hex_latitude":"07227e48","is_valid_coordinates":true} 
[2026-07-25 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954508800001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8767132057731072,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189875156992,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784978556000,"timestamp_ms":1784978556000,"timestamp_seconds":1784978556,"priority":1,"record_length":96,"hex_timestamp":"0000019f99034460"} 
[2026-07-25 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954508800001,"66":13906,"105":206,"83":41984,"24":39,"16":8767132057731072,"45":1776881189875156992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954508800001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 16:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8767132057731072,"km_value":8767132057731.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189875156992,"description":"Unknown IO ID 45"} 
[2026-07-25 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954508800001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1776881189875156992}} 
[2026-07-25 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:53:07] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:53:07] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:53:31] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99032908012db7d3c005cf8ab8003600af2b..."} 
[2026-07-25 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99032908012db7d3c005cf8ab8003600af2b..."} 
[2026-07-25 16:53:31] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99032908012db7d3c005cf8ab8003600af2b..."} 
[2026-07-25 16:53:31] local.INFO: Packet analysis {"connection_id":141219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:53:31] local.INFO: Extracted packet for processing {"connection_id":141219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":767022016,"raw_latitude":97487544,"longitude_deg":76.7022016,"latitude_deg":9.7487544,"altitude":54,"angle":175,"satellites":43,"speed":43,"hex_longitude":"2db7d3c0","hex_latitude":"05cf8ab8","is_valid_coordinates":true} 
[2026-07-25 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954506240001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357971797406121984,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5201164963444406272,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784978549000,"timestamp_ms":1784978549000,"timestamp_seconds":1784978549,"priority":1,"record_length":96,"hex_timestamp":"0000019f99032908"} 
[2026-07-25 16:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 16:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954506240001,"66":27919,"25":206,"83":18688,"24":43,"16":357971797406121984,"45":-5201164963444406272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,45]} 
[2026-07-25 16:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954506240001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-07-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357971797406121984,"km_value":357971797406122.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5201164963444406272,"description":"Unknown IO ID 45"} 
[2026-07-25 16:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954506240001,"power":27919,"unknown_25":206,"unknown_83":18688,"ignition":43,"odometer":null,"unknown_45":-5201164963444406272}} 
[2026-07-25 16:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":141219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:53:31] local.INFO: GPS data processed {"connection_id":141219,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:53:31] local.INFO: Acknowledgment sent {"connection_id":141219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:53:38] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990357e8012d189e8007226ae0006900ce1e..."} 
[2026-07-25 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990357e8012d189e8007226ae0006900ce1e..."} 
[2026-07-25 16:53:38] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990357e8012d189e8007226ae0006900ce1e..."} 
[2026-07-25 16:53:38] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:53:38] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756588160,"raw_latitude":119696096,"longitude_deg":75.658816,"latitude_deg":11.9696096,"altitude":105,"angle":206,"satellites":30,"speed":44,"hex_longitude":"2d189e80","hex_latitude":"07226ae0","is_valid_coordinates":true} 
[2026-07-25 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954510336001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8767389755768832,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502431889408,"note":"Value kept but may cause issues"} 
[2026-07-25 16:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784978561000,"timestamp_ms":1784978561000,"timestamp_seconds":1784978561,"priority":1,"record_length":96,"hex_timestamp":"0000019f990357e8"} 
[2026-07-25 16:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-25 16:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954510336001,"66":13917,"105":206,"83":41984,"24":44,"16":8767389755768832,"45":1776177502431889408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 16:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954510336001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:53:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 16:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 16:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8767389755768832,"km_value":8767389755768.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502431889408,"description":"Unknown IO ID 45"} 
[2026-07-25 16:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954510336001,"power":13917,"unknown_105":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1776177502431889408}} 
[2026-07-25 16:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:53:39] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:53:39] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:53:57] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:57] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:57] local.INFO: IMEI packet received {"connection_id":143569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":143569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:53:57] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:57] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:57] local.INFO: IMEI packet received {"connection_id":143569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":143569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:53:58] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:58] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:53:58] local.INFO: IMEI packet received {"connection_id":143569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":143569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:54:00] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:54:00] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:54:00] local.INFO: IMEI packet received {"connection_id":143569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":143569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:54:00] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99034c30012db7d74005cf63f8003600ae2a..."} 
[2026-07-25 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99034c30012db7d74005cf63f8003600ae2a..."} 
[2026-07-25 16:54:00] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99034c30012db7d74005cf63f8003600ae2a..."} 
[2026-07-25 16:54:00] local.INFO: Packet analysis {"connection_id":143569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:54:00] local.INFO: Extracted packet for processing {"connection_id":143569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":767022912,"raw_latitude":97477624,"longitude_deg":76.7022912,"latitude_deg":9.7477624,"altitude":54,"angle":174,"satellites":42,"speed":44,"hex_longitude":"2db7d740","hex_latitude":"05cf63f8","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954508544001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357972282737426432,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5200602013493446656,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784978558000,"timestamp_ms":1784978558000,"timestamp_seconds":1784978558,"priority":1,"record_length":96,"hex_timestamp":"0000019f99034c30"} 
[2026-07-25 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 16:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954508544001,"66":27745,"24":44,"83":18688,"16":357972282737426432,"45":-5200602013493446656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954508544001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357972282737426432,"km_value":357972282737426.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5200602013493446656,"description":"Unknown IO ID 45"} 
[2026-07-25 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954508544001,"power":27745,"ignition":44,"unknown_83":18688,"odometer":null,"unknown_45":-5200602013493446656}} 
[2026-07-25 16:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":143569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:54:00] local.INFO: GPS data processed {"connection_id":143569,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:54:00] local.INFO: Acknowledgment sent {"connection_id":143569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:54:05] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99037340012db7db4005cf4098003700a82c..."} 
[2026-07-25 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99037340012db7db4005cf4098003700a82c..."} 
[2026-07-25 16:54:05] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99037340012db7db4005cf4098003700a82c..."} 
[2026-07-25 16:54:05] local.INFO: Packet analysis {"connection_id":143569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:54:05] local.INFO: Extracted packet for processing {"connection_id":143569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":767023936,"raw_latitude":97468568,"longitude_deg":76.7023936,"latitude_deg":9.7468568,"altitude":55,"angle":168,"satellites":44,"speed":29,"hex_longitude":"2db7db40","hex_latitude":"05cf4098","is_valid_coordinates":true} 
[2026-07-25 16:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954510848001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357972725119057920,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5199616851077498880,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784978568000,"timestamp_ms":1784978568000,"timestamp_seconds":1784978568,"priority":1,"record_length":96,"hex_timestamp":"0000019f99037340"} 
[2026-07-25 16:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 16:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954510848001,"66":28028,"24":29,"83":18688,"16":357972725119057920,"45":-5199616851077498880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 16:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954510848001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:54:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357972725119057920,"km_value":357972725119057.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5199616851077498880,"description":"Unknown IO ID 45"} 
[2026-07-25 16:54:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954510848001,"power":28028,"ignition":29,"unknown_83":18688,"odometer":null,"unknown_45":-5199616851077498880}} 
[2026-07-25 16:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":143569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:54:06] local.INFO: GPS data processed {"connection_id":143569,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:54:06] local.INFO: Acknowledgment sent {"connection_id":143569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:54:09] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99043690012d1820400721a680004b007b1e..."} 
[2026-07-25 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99043690012d1820400721a680004b007b1e..."} 
[2026-07-25 16:54:09] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99043690012d1820400721a680004b007b1e..."} 
[2026-07-25 16:54:09] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:54:09] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645824,"longitude_deg":75.655584,"latitude_deg":11.9645824,"altitude":75,"angle":123,"satellites":30,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721a680","is_valid_coordinates":true} 
[2026-07-25 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954525696001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8770301743595520,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073527808,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784978618000,"timestamp_ms":1784978618000,"timestamp_seconds":1784978618,"priority":1,"record_length":96,"hex_timestamp":"0000019f99043690"} 
[2026-07-25 16:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 16:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954525696001,"66":14483,"105":206,"83":41984,"24":8,"16":8770301743595520,"45":1738037643073527808},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 16:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954525696001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:54:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 16:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 16:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8770301743595520,"km_value":8770301743595.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073527808,"description":"Unknown IO ID 45"} 
[2026-07-25 16:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954525696001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738037643073527808}} 
[2026-07-25 16:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:54:09] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:54:09] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:54:40] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99044248012d1823000721a438004b00891e..."} 
[2026-07-25 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99044248012d1823000721a438004b00891e..."} 
[2026-07-25 16:54:40] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99044248012d1823000721a438004b00891e..."} 
[2026-07-25 16:54:40] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:54:40] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119645240,"longitude_deg":75.6556544,"latitude_deg":11.964524,"altitude":75,"angle":137,"satellites":30,"speed":13,"hex_longitude":"2d182300","hex_latitude":"0721a438","is_valid_coordinates":true} 
[2026-07-25 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954526208001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8770344693268480,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538520064,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784978621000,"timestamp_ms":1784978621000,"timestamp_seconds":1784978621,"priority":1,"record_length":96,"hex_timestamp":"0000019f99044248"} 
[2026-07-25 16:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-25 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954526208001,"66":14396,"105":206,"83":41984,"24":13,"16":8770344693268480,"45":1738459855538520064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954526208001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8770344693268480,"km_value":8770344693268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538520064,"description":"Unknown IO ID 45"} 
[2026-07-25 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954526208001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1738459855538520064}} 
[2026-07-25 16:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:54:40] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:54:40] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:54:40] local.INFO: TCP Data received {"connection_id":143569,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99039e38012db7e00005cf1e40003700b229..."} 
[2026-07-25 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99039e38012db7e00005cf1e40003700b229..."} 
[2026-07-25 16:54:40] local.INFO: Processing buffer {"connection_id":143569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99039e38012db7e00005cf1e40003700b229..."} 
[2026-07-25 16:54:40] local.INFO: Packet analysis {"connection_id":143569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:54:40] local.INFO: Extracted packet for processing {"connection_id":143569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9903"} 
[2026-07-25 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":767025152,"raw_latitude":97459776,"longitude_deg":76.7025152,"latitude_deg":9.7459776,"altitude":55,"angle":178,"satellites":41,"speed":35,"hex_longitude":"2db7e000","hex_latitude":"05cf1e40","is_valid_coordinates":true} 
[2026-07-25 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954513408001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357973154615787520,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5198490951172974592,"note":"Value kept but may cause issues"} 
[2026-07-25 16:54:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784978579000,"timestamp_ms":1784978579000,"timestamp_seconds":1784978579,"priority":1,"record_length":96,"hex_timestamp":"0000019f99039e38"} 
[2026-07-25 16:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954513408001,"66":27821,"24":35,"83":18688,"16":357973154615787520,"45":-5198490951172974592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954513408001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357973154615787520,"km_value":357973154615787.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5198490951172974592,"description":"Unknown IO ID 45"} 
[2026-07-25 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954513408001,"power":27821,"ignition":35,"unknown_83":18688,"odometer":null,"unknown_45":-5198490951172974592}} 
[2026-07-25 16:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":143569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:54:40] local.INFO: GPS data processed {"connection_id":143569,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:54:40] local.INFO: Acknowledgment sent {"connection_id":143569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:54:55] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:54:55] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:54:55] local.INFO: IMEI packet received {"connection_id":141221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":141221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:55:01] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:01] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:01] local.INFO: IMEI packet received {"connection_id":141221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":141221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:55:05] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99049450012db7144005ce7668003900f32c..."} 
[2026-07-25 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99049450012db7144005ce7668003900f32c..."} 
[2026-07-25 16:55:05] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99049450012db7144005ce7668003900f32c..."} 
[2026-07-25 16:55:05] local.INFO: Packet analysis {"connection_id":141221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:55:05] local.INFO: Extracted packet for processing {"connection_id":141221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":766972992,"raw_latitude":97416808,"longitude_deg":76.6972992,"latitude_deg":9.7416808,"altitude":57,"angle":243,"satellites":44,"speed":50,"hex_longitude":"2db71440","hex_latitude":"05ce7668","is_valid_coordinates":true} 
[2026-07-25 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954530560001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357976543344984064,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5245919484760737792,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 16:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784978642000,"timestamp_ms":1784978642000,"timestamp_seconds":1784978642,"priority":1,"record_length":96,"hex_timestamp":"0000019f99049450"} 
[2026-07-25 16:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 16:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954530560001,"66":27745,"24":50,"83":18688,"16":357976543344984064,"45":-5245919484760737792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 16:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954530560001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357976543344984064,"km_value":357976543344984.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5245919484760737792,"description":"Unknown IO ID 45"} 
[2026-07-25 16:55:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456954530560001,"power":27745,"ignition":50,"unknown_83":18688,"odometer":null,"unknown_45":-5245919484760737792}} 
[2026-07-25 16:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":141221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:55:05] local.INFO: GPS data processed {"connection_id":141221,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:55:05] local.INFO: Acknowledgment sent {"connection_id":141221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:55:12] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99046570012d182bc007219c48004e007d1e..."} 
[2026-07-25 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99046570012d182bc007219c48004e007d1e..."} 
[2026-07-25 16:55:12] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99046570012d182bc007219c48004e007d1e..."} 
[2026-07-25 16:55:12] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:55:12] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643208,"longitude_deg":75.6558784,"latitude_deg":11.9643208,"altitude":78,"angle":125,"satellites":30,"speed":17,"hex_longitude":"2d182bc0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-25 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954526976001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8770490722156544,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724324864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55: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-07-25 16:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784978630000,"timestamp_ms":1784978630000,"timestamp_seconds":1784978630,"priority":1,"record_length":96,"hex_timestamp":"0000019f99046570"} 
[2026-07-25 16:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-25 16:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 16:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 16:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 16:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954526976001,"66":14363,"105":206,"83":41984,"24":17,"16":8770490722156544,"45":1739233911724324864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 16:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 16:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 16:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954526976001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:55:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 16:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 16:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8770490722156544,"km_value":8770490722156.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724324864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954526976001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1739233911724324864}} 
[2026-07-25 16:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:55:12] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:55:12] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:55:26] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:26] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:26] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 16:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:55:27] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:27] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:27] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:55:28] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:28] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:28] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:55:29] local.INFO: TCP Data received {"connection_id":141154,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:29] local.INFO: Processing buffer {"connection_id":141154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 16:55:29] local.INFO: IMEI packet received {"connection_id":141154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 16:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":141154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:55:36] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9904abc0012db6f94005ce6c80003a00fe2c..."} 
[2026-07-25 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9904abc0012db6f94005ce6c80003a00fe2c..."} 
[2026-07-25 16:55:36] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9904abc0012db6f94005ce6c80003a00fe2c..."} 
[2026-07-25 16:55:36] local.INFO: Packet analysis {"connection_id":141221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:55:36] local.INFO: Extracted packet for processing {"connection_id":141221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9904"} 
[2026-07-25 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":766966080,"raw_latitude":97414272,"longitude_deg":76.696608,"latitude_deg":9.7414272,"altitude":58,"angle":254,"satellites":44,"speed":45,"hex_longitude":"2db6f940","hex_latitude":"05ce6c80","is_valid_coordinates":true} 
[2026-07-25 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954532352001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357976895532302336,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5254504471551645696,"note":"Value kept but may cause issues"} 
[2026-07-25 16:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784978648000,"timestamp_ms":1784978648000,"timestamp_seconds":1784978648,"priority":1,"record_length":96,"hex_timestamp":"0000019f9904abc0"} 
[2026-07-25 16:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:55: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-07-25 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 16:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954532352001,"66":27767,"125":206,"83":18688,"24":45,"16":357976895532302336,"45":-5254504471551645696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,83,24,16,45]} 
[2026-07-25 16:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954532352001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357976895532302336,"km_value":357976895532302.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5254504471551645696,"description":"Unknown IO ID 45"} 
[2026-07-25 16:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954532352001,"power":27767,"unknown_125":206,"unknown_83":18688,"ignition":45,"odometer":null,"unknown_45":-5254504471551645696}} 
[2026-07-25 16:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":141221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:55:36] local.INFO: GPS data processed {"connection_id":141221,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:55:36] local.INFO: Acknowledgment sent {"connection_id":141221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:55:55] local.INFO: TCP Data received {"connection_id":142188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:55] local.INFO: Processing buffer {"connection_id":142188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:55] local.INFO: IMEI packet received {"connection_id":142188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":142188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:55:57] local.INFO: TCP Data received {"connection_id":142188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:57] local.INFO: Processing buffer {"connection_id":142188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:55:57] local.INFO: IMEI packet received {"connection_id":142188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":142188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:56:00] local.INFO: TCP Data received {"connection_id":142188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:56:00] local.INFO: Processing buffer {"connection_id":142188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:56:00] local.INFO: IMEI packet received {"connection_id":142188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":142188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:56:01] local.INFO: TCP Data received {"connection_id":142188,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f990576e0012db5fe4005ce6c70001b00d42a..."} 
[2026-07-25 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990576e0012db5fe4005ce6c70001b00d42a..."} 
[2026-07-25 16:56:01] local.INFO: Processing buffer {"connection_id":142188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990576e0012db5fe4005ce6c70001b00d42a..."} 
[2026-07-25 16:56:01] local.INFO: Packet analysis {"connection_id":142188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9905"} 
[2026-07-25 16:56:01] local.INFO: Extracted packet for processing {"connection_id":142188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9905"} 
[2026-07-25 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":766901824,"raw_latitude":97414256,"longitude_deg":76.6901824,"latitude_deg":9.7414256,"altitude":27,"angle":212,"satellites":42,"speed":34,"hex_longitude":"2db5fe40","hex_latitude":"05ce6c70","is_valid_coordinates":true} 
[2026-07-25 16:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954546944001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357980048038297600,"note":"Value kept but may cause issues"} 
[2026-07-25 16:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332121196380084224,"note":"Value kept but may cause issues"} 
[2026-07-25 16:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978700000,"timestamp_ms":1784978700000,"timestamp_seconds":1784978700,"priority":1,"record_length":96,"hex_timestamp":"0000019f990576e0"} 
[2026-07-25 16:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954546944001,"66":27104,"11":206,"83":18688,"24":34,"16":357980048038297600,"45":-5332121196380084224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-25 16:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954546944001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:56:01] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-25 16:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357980048038297600,"km_value":357980048038297.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332121196380084224,"description":"Unknown IO ID 45"} 
[2026-07-25 16:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954546944001,"power":27104,"unknown_11":206,"unknown_83":18688,"ignition":34,"odometer":null,"unknown_45":-5332121196380084224}} 
[2026-07-25 16:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":142188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:56:01] local.INFO: GPS data processed {"connection_id":142188,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:56:01] local.INFO: Acknowledgment sent {"connection_id":142188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:56:31] local.INFO: TCP Data received {"connection_id":142188,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99057ac8012db5fd0005ce6950001b00c728..."} 
[2026-07-25 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99057ac8012db5fd0005ce6950001b00c728..."} 
[2026-07-25 16:56:31] local.INFO: Processing buffer {"connection_id":142188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99057ac8012db5fd0005ce6950001b00c728..."} 
[2026-07-25 16:56:31] local.INFO: Packet analysis {"connection_id":142188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9905"} 
[2026-07-25 16:56:31] local.INFO: Extracted packet for processing {"connection_id":142188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9905"} 
[2026-07-25 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":766901504,"raw_latitude":97413456,"longitude_deg":76.6901504,"latitude_deg":9.7413456,"altitude":27,"angle":199,"satellites":40,"speed":35,"hex_longitude":"2db5fd00","hex_latitude":"05ce6950","is_valid_coordinates":true} 
[2026-07-25 16: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-07-25 16:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954547200001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357980090987970560,"note":"Value kept but may cause issues"} 
[2026-07-25 16:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5332754515077861376,"note":"Value kept but may cause issues"} 
[2026-07-25 16:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784978701000,"timestamp_ms":1784978701000,"timestamp_seconds":1784978701,"priority":1,"record_length":96,"hex_timestamp":"0000019f99057ac8"} 
[2026-07-25 16:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 16:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16: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-07-25 16:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954547200001,"66":27104,"11":206,"83":18688,"24":35,"16":357980090987970560,"45":-5332754515077861376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-25 16:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954547200001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357980090987970560,"km_value":357980090987970.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5332754515077861376,"description":"Unknown IO ID 45"} 
[2026-07-25 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954547200001,"power":27104,"unknown_11":206,"unknown_83":18688,"ignition":35,"odometer":null,"unknown_45":-5332754515077861376}} 
[2026-07-25 16:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":142188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:56:31] local.INFO: GPS data processed {"connection_id":142188,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:56:31] local.INFO: Acknowledgment sent {"connection_id":142188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:56:34] local.INFO: TCP Data received {"connection_id":143568,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:56:34] local.INFO: Processing buffer {"connection_id":143568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 16:56:34] local.INFO: IMEI packet received {"connection_id":143568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 16:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":143568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:56:58] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:56:58] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:56:58] local.INFO: IMEI packet received {"connection_id":143570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":143570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:57:00] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:00] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:00] local.INFO: IMEI packet received {"connection_id":143570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":143570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:57:12] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:12] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:12] local.INFO: IMEI packet received {"connection_id":143570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":143570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:57:13] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f990651a0012db63fc005cd9538001800922a..."} 
[2026-07-25 16:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990651a0012db63fc005cd9538001800922a..."} 
[2026-07-25 16:57:13] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990651a0012db63fc005cd9538001800922a..."} 
[2026-07-25 16:57:13] local.INFO: Packet analysis {"connection_id":143570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9906"} 
[2026-07-25 16:57:13] local.INFO: Extracted packet for processing {"connection_id":143570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9906"} 
[2026-07-25 16:57:13] local.INFO: GPS Element Parsed {"raw_longitude":766918592,"raw_latitude":97359160,"longitude_deg":76.6918592,"latitude_deg":9.735916,"altitude":24,"angle":146,"satellites":42,"speed":47,"hex_longitude":"2db63fc0","hex_latitude":"05cd9538","is_valid_coordinates":true} 
[2026-07-25 16:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954560768001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357982929961353216,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5316077122721060864,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784978756000,"timestamp_ms":1784978756000,"timestamp_seconds":1784978756,"priority":1,"record_length":96,"hex_timestamp":"0000019f990651a0"} 
[2026-07-25 16:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 16:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954560768001,"66":28006,"11":206,"83":18688,"24":47,"16":357982929961353216,"45":-5316077122721060864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-25 16:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954560768001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:57:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-25 16:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357982929961353216,"km_value":357982929961353.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5316077122721060864,"description":"Unknown IO ID 45"} 
[2026-07-25 16:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954560768001,"power":28006,"unknown_11":206,"unknown_83":18688,"ignition":47,"odometer":null,"unknown_45":-5316077122721060864}} 
[2026-07-25 16:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":143570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:57:13] local.INFO: GPS data processed {"connection_id":143570,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:57:13] local.INFO: Acknowledgment sent {"connection_id":143570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:57:14] local.INFO: TCP Data received {"connection_id":143570,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99066cf8012db64ec005cd7a980018009d28..."} 
[2026-07-25 16:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99066cf8012db64ec005cd7a980018009d28..."} 
[2026-07-25 16:57:14] local.INFO: Processing buffer {"connection_id":143570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99066cf8012db64ec005cd7a980018009d28..."} 
[2026-07-25 16:57:14] local.INFO: Packet analysis {"connection_id":143570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9906"} 
[2026-07-25 16:57:14] local.INFO: Extracted packet for processing {"connection_id":143570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9906"} 
[2026-07-25 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":766922432,"raw_latitude":97352344,"longitude_deg":76.6922432,"latitude_deg":9.7352344,"altitude":24,"angle":157,"satellites":40,"speed":40,"hex_longitude":"2db64ec0","hex_latitude":"05cd7a98","is_valid_coordinates":true} 
[2026-07-25 16:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954561536001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357983307918475264,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5314317904117417984,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784978763000,"timestamp_ms":1784978763000,"timestamp_seconds":1784978763,"priority":1,"record_length":96,"hex_timestamp":"0000019f99066cf8"} 
[2026-07-25 16:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 16:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954561536001,"66":27800,"11":206,"83":18688,"24":40,"16":357983307918475264,"45":-5314317904117417984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-25 16:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954561536001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:57:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-25 16:57:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357983307918475264,"km_value":357983307918475.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5314317904117417984,"description":"Unknown IO ID 45"} 
[2026-07-25 16:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954561536001,"power":27800,"unknown_11":206,"unknown_83":18688,"ignition":40,"odometer":null,"unknown_45":-5314317904117417984}} 
[2026-07-25 16:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":143570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:57:14] local.INFO: GPS data processed {"connection_id":143570,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:57:14] local.INFO: Acknowledgment sent {"connection_id":143570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:57:54] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:55] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:55] local.INFO: IMEI packet received {"connection_id":141222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":141222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:57:55] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:55] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:55] local.INFO: IMEI packet received {"connection_id":141222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":141222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:57:56] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:56] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:57:56] local.INFO: IMEI packet received {"connection_id":141222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":141222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:57:56] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99069020012db65b0005cd5980001700a22a..."} 
[2026-07-25 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99069020012db65b0005cd5980001700a22a..."} 
[2026-07-25 16:57:56] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99069020012db65b0005cd5980001700a22a..."} 
[2026-07-25 16:57:56] local.INFO: Packet analysis {"connection_id":141222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9906"} 
[2026-07-25 16:57:56] local.INFO: Extracted packet for processing {"connection_id":141222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9906"} 
[2026-07-25 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":766925568,"raw_latitude":97343872,"longitude_deg":76.6925568,"latitude_deg":9.7343872,"altitude":23,"angle":162,"satellites":42,"speed":41,"hex_longitude":"2db65b00","hex_latitude":"05cd5980","is_valid_coordinates":true} 
[2026-07-25 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954563328001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357983746005139456,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5310095779468503040,"note":"Value kept but may cause issues"} 
[2026-07-25 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784978772000,"timestamp_ms":1784978772000,"timestamp_seconds":1784978772,"priority":1,"record_length":96,"hex_timestamp":"0000019f99069020"} 
[2026-07-25 16:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 16:57: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-07-25 16:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954563328001,"66":27974,"11":206,"83":18688,"24":41,"16":357983746005139456,"45":-5310095779468503040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-07-25 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954563328001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357983746005139456,"km_value":357983746005139.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5310095779468503040,"description":"Unknown IO ID 45"} 
[2026-07-25 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954563328001,"power":27974,"unknown_11":206,"unknown_83":18688,"ignition":41,"odometer":null,"unknown_45":-5310095779468503040}} 
[2026-07-25 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":141222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:57:56] local.INFO: GPS data processed {"connection_id":141222,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:57:56] local.INFO: Acknowledgment sent {"connection_id":141222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:58:27] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9907ebc8012db67c8005cc0dc8002b00bf28..."} 
[2026-07-25 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9907ebc8012db67c8005cc0dc8002b00bf28..."} 
[2026-07-25 16:58:27] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9907ebc8012db67c8005cc0dc8002b00bf28..."} 
[2026-07-25 16:58:27] local.INFO: Packet analysis {"connection_id":141222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9907"} 
[2026-07-25 16:58:27] local.INFO: Extracted packet for processing {"connection_id":141222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9907"} 
[2026-07-25 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":766934144,"raw_latitude":97258952,"longitude_deg":76.6934144,"latitude_deg":9.7258952,"altitude":43,"angle":191,"satellites":40,"speed":54,"hex_longitude":"2db67c80","hex_latitude":"05cc0dc8","is_valid_coordinates":true} 
[2026-07-25 16:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954586880001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357988002317729792,"note":"Value kept but may cause issues"} 
[2026-07-25 16:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5296866455584944128,"note":"Value kept but may cause issues"} 
[2026-07-25 16:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784978861000,"timestamp_ms":1784978861000,"timestamp_seconds":1784978861,"priority":1,"record_length":96,"hex_timestamp":"0000019f9907ebc8"} 
[2026-07-25 16:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 16:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954586880001,"66":27865,"58":206,"83":18688,"24":54,"16":357988002317729792,"45":-5296866455584944128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 16:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954586880001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:58:27] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 16:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357988002317729792,"km_value":357988002317729.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5296866455584944128,"description":"Unknown IO ID 45"} 
[2026-07-25 16:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954586880001,"power":27865,"unknown_58":206,"unknown_83":18688,"ignition":54,"odometer":null,"unknown_45":-5296866455584944128}} 
[2026-07-25 16:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":141222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:58:27] local.INFO: GPS data processed {"connection_id":141222,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:58:27] local.INFO: Acknowledgment sent {"connection_id":141222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:58:55] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:58:55] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:58:55] local.INFO: IMEI packet received {"connection_id":141224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 16:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 16:59:00] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:59:00] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 16:59:00] local.INFO: IMEI packet received {"connection_id":141224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 16:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":141224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 16:59:01] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f9907f780012db6780005cbff10002b00ca29..."} 
[2026-07-25 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9907f780012db6780005cbff10002b00ca29..."} 
[2026-07-25 16:59:01] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9907f780012db6780005cbff10002b00ca29..."} 
[2026-07-25 16:59:01] local.INFO: Packet analysis {"connection_id":141224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9907"} 
[2026-07-25 16:59:01] local.INFO: Extracted packet for processing {"connection_id":141224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9907"} 
[2026-07-25 16:59:01] local.INFO: GPS Element Parsed {"raw_longitude":766932992,"raw_latitude":97255184,"longitude_deg":76.6932992,"latitude_deg":9.7255184,"altitude":43,"angle":202,"satellites":41,"speed":53,"hex_longitude":"2db67800","hex_latitude":"05cbff10","is_valid_coordinates":true} 
[2026-07-25 16:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954588416001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357988191296290816,"note":"Value kept but may cause issues"} 
[2026-07-25 16:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5297218299307898880,"note":"Value kept but may cause issues"} 
[2026-07-25 16:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784978864000,"timestamp_ms":1784978864000,"timestamp_seconds":1784978864,"priority":1,"record_length":96,"hex_timestamp":"0000019f9907f780"} 
[2026-07-25 16:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 16:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954588416001,"66":27908,"58":206,"83":18688,"24":53,"16":357988191296290816,"45":-5297218299307898880},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 16:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954588416001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:59:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 16:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357988191296290816,"km_value":357988191296290.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5297218299307898880,"description":"Unknown IO ID 45"} 
[2026-07-25 16:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954588416001,"power":27908,"unknown_58":206,"unknown_83":18688,"ignition":53,"odometer":null,"unknown_45":-5297218299307898880}} 
[2026-07-25 16:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":141224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:59:01] local.INFO: GPS data processed {"connection_id":141224,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:59:01] local.INFO: Acknowledgment sent {"connection_id":141224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 16:59:34] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f99080720012db66e8005cbee18002c00d72a..."} 
[2026-07-25 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99080720012db66e8005cbee18002c00d72a..."} 
[2026-07-25 16:59:34] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99080720012db66e8005cbee18002c00d72a..."} 
[2026-07-25 16:59:34] local.INFO: Packet analysis {"connection_id":141224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 16:59:34] local.INFO: Extracted packet for processing {"connection_id":141224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":766930560,"raw_latitude":97250840,"longitude_deg":76.693056,"latitude_deg":9.725084,"altitude":44,"angle":215,"satellites":42,"speed":48,"hex_longitude":"2db66e80","hex_latitude":"05cbee18","is_valid_coordinates":true} 
[2026-07-25 16:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 16:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954589184001,"note":"Value kept but may cause issues"} 
[2026-07-25 16:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357988431814459392,"note":"Value kept but may cause issues"} 
[2026-07-25 16:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5298484936704061440,"note":"Value kept but may cause issues"} 
[2026-07-25 16:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 16:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784978868000,"timestamp_ms":1784978868000,"timestamp_seconds":1784978868,"priority":1,"record_length":96,"hex_timestamp":"0000019f99080720"} 
[2026-07-25 16:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 16:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 16:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 16:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 16:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 16:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 16:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 16:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 16:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 16:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 16:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954589184001,"66":27919,"58":206,"83":18688,"24":48,"16":357988431814459392,"45":-5298484936704061440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 16:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 16:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954589184001,"description":"Unknown IO ID 0"} 
[2026-07-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 16:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357988431814459392,"km_value":357988431814459.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 16:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5298484936704061440,"description":"Unknown IO ID 45"} 
[2026-07-25 16:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954589184001,"power":27919,"unknown_58":206,"unknown_83":18688,"ignition":48,"odometer":null,"unknown_45":-5298484936704061440}} 
[2026-07-25 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":141224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 16:59:34] local.INFO: GPS data processed {"connection_id":141224,"processed":1,"errors":0,"total":1} 
[2026-07-25 16:59:34] local.INFO: Acknowledgment sent {"connection_id":141224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:00:00] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:00] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:00] local.INFO: IMEI packet received {"connection_id":141155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":141155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:00:05] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:05] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:05] local.INFO: IMEI packet received {"connection_id":141155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":141155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:00:06] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f990812d8012db6658005cbe3c8002a00e329..."} 
[2026-07-25 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990812d8012db6658005cbe3c8002a00e329..."} 
[2026-07-25 17:00:06] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990812d8012db6658005cbe3c8002a00e329..."} 
[2026-07-25 17:00:06] local.INFO: Packet analysis {"connection_id":141155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 17:00:06] local.INFO: Extracted packet for processing {"connection_id":141155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":766928256,"raw_latitude":97248200,"longitude_deg":76.6928256,"latitude_deg":9.72482,"altitude":42,"angle":227,"satellites":41,"speed":46,"hex_longitude":"2db66580","hex_latitude":"05cbe3c8","is_valid_coordinates":true} 
[2026-07-25 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954590208001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357988603613151232,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5301158948983924736,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784978871000,"timestamp_ms":1784978871000,"timestamp_seconds":1784978871,"priority":1,"record_length":96,"hex_timestamp":"0000019f990812d8"} 
[2026-07-25 17:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 17:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954590208001,"66":27919,"58":206,"83":18688,"24":46,"16":357988603613151232,"45":-5301158948983924736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954590208001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:00:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357988603613151232,"km_value":357988603613151.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5301158948983924736,"description":"Unknown IO ID 45"} 
[2026-07-25 17:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954590208001,"power":27919,"unknown_58":206,"unknown_83":18688,"ignition":46,"odometer":null,"unknown_45":-5301158948983924736}} 
[2026-07-25 17:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":141155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:00:06] local.INFO: GPS data processed {"connection_id":141155,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:00:06] local.INFO: Acknowledgment sent {"connection_id":141155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:00:10] local.INFO: TCP Data received {"connection_id":141155,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99083218012db647c005cbcd38002400e22d..."} 
[2026-07-25 17:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99083218012db647c005cbcd38002400e22d..."} 
[2026-07-25 17:00:10] local.INFO: Processing buffer {"connection_id":141155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99083218012db647c005cbcd38002400e22d..."} 
[2026-07-25 17:00:10] local.INFO: Packet analysis {"connection_id":141155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 17:00:10] local.INFO: Extracted packet for processing {"connection_id":141155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 17:00:10] local.INFO: GPS Element Parsed {"raw_longitude":766920640,"raw_latitude":97242424,"longitude_deg":76.692064,"latitude_deg":9.7242424,"altitude":36,"angle":226,"satellites":45,"speed":44,"hex_longitude":"2db647c0","hex_latitude":"05cbcd38","is_valid_coordinates":true} 
[2026-07-25 17:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954590976001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357989063174651904,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5303692223774996480,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784978879000,"timestamp_ms":1784978879000,"timestamp_seconds":1784978879,"priority":1,"record_length":96,"hex_timestamp":"0000019f99083218"} 
[2026-07-25 17:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:00: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-07-25 17:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 17:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954590976001,"66":27800,"58":206,"83":18688,"24":44,"16":357989063174651904,"45":-5303692223774996480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954590976001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:00:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357989063174651904,"km_value":357989063174651.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5303692223774996480,"description":"Unknown IO ID 45"} 
[2026-07-25 17:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954590976001,"power":27800,"unknown_58":206,"unknown_83":18688,"ignition":44,"odometer":null,"unknown_45":-5303692223774996480}} 
[2026-07-25 17:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":141155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:00:11] local.INFO: GPS data processed {"connection_id":141155,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:00:11] local.INFO: Acknowledgment sent {"connection_id":141155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:00:31] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:00:31] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:00:31] local.INFO: IMEI packet received {"connection_id":143571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":143571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:00:32] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99089f78012d18c48007215190004800b41f..."} 
[2026-07-25 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99089f78012d18c48007215190004800b41f..."} 
[2026-07-25 17:00:32] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99089f78012d18c48007215190004800b41f..."} 
[2026-07-25 17:00:32] local.INFO: Packet analysis {"connection_id":143571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 17:00:32] local.INFO: Extracted packet for processing {"connection_id":143571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9908"} 
[2026-07-25 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119624080,"longitude_deg":75.6597888,"latitude_deg":11.962408,"altitude":72,"angle":180,"satellites":31,"speed":11,"hex_longitude":"2d18c480","hex_latitude":"07215190","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954599936001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8774936013307904,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457742336,"note":"Value kept but may cause issues"} 
[2026-07-25 17:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784978907000,"timestamp_ms":1784978907000,"timestamp_seconds":1784978907,"priority":1,"record_length":96,"hex_timestamp":"0000019f99089f78"} 
[2026-07-25 17:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-25 17:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954599936001,"66":13167,"103":206,"83":41984,"24":11,"16":8774936013307904,"45":1784692120457742336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954599936001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:00:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8774936013307904,"km_value":8774936013307.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457742336,"description":"Unknown IO ID 45"} 
[2026-07-25 17:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954599936001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1784692120457742336}} 
[2026-07-25 17:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":143571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:00:32] local.INFO: GPS data processed {"connection_id":143571,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:00:32] local.INFO: Acknowledgment sent {"connection_id":143571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:00:55] local.INFO: TCP Data received {"connection_id":142189,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:55] local.INFO: Processing buffer {"connection_id":142189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:55] local.INFO: IMEI packet received {"connection_id":142189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":142189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:00:59] local.INFO: TCP Data received {"connection_id":142189,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:59] local.INFO: Processing buffer {"connection_id":142189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:00:59] local.INFO: IMEI packet received {"connection_id":142189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":142189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:01:00] local.INFO: TCP Data received {"connection_id":142189,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:01:00] local.INFO: Processing buffer {"connection_id":142189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:01:00] local.INFO: IMEI packet received {"connection_id":142189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":142189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:01:00] local.INFO: TCP Data received {"connection_id":142189,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9909c858012db6350005cae5c8001700872d..."} 
[2026-07-25 17:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9909c858012db6350005cae5c8001700872d..."} 
[2026-07-25 17:01:00] local.INFO: Processing buffer {"connection_id":142189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9909c858012db6350005cae5c8001700872d..."} 
[2026-07-25 17:01:00] local.INFO: Packet analysis {"connection_id":142189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9909"} 
[2026-07-25 17:01:00] local.INFO: Extracted packet for processing {"connection_id":142189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9909"} 
[2026-07-25 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954618368001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318188185091860480,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784978983000,"timestamp_ms":1784978983000,"timestamp_seconds":1784978983,"priority":1,"record_length":96,"hex_timestamp":"0000019f9909c858"} 
[2026-07-25 17:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-07-25 17:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954618368001,"66":27865,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318188185091860480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954618368001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:01:00] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:01:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318188185091860480,"description":"Unknown IO ID 45"} 
[2026-07-25 17:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954618368001,"power":27865,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318188185091860480}} 
[2026-07-25 17:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":142189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:01:00] local.INFO: GPS data processed {"connection_id":142189,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:01:00] local.INFO: Acknowledgment sent {"connection_id":142189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:01:03] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a1290012d195b000720abd00031004d20..."} 
[2026-07-25 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a1290012d195b000720abd00031004d20..."} 
[2026-07-25 17:01:03] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a1290012d195b000720abd00031004d20..."} 
[2026-07-25 17:01:03] local.INFO: Packet analysis {"connection_id":143571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:03] local.INFO: Extracted packet for processing {"connection_id":143571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756636416,"raw_latitude":119581648,"longitude_deg":75.6636416,"latitude_deg":11.9581648,"altitude":49,"angle":77,"satellites":32,"speed":10,"hex_longitude":"2d195b00","hex_latitude":"0720abd0","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954623488001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8777981145120768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148348934144,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979002000,"timestamp_ms":1784979002000,"timestamp_seconds":1784979002,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a1290"} 
[2026-07-25 17:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 17:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954623488001,"66":14298,"103":206,"83":41984,"24":10,"16":8777981145120768,"45":1825154148348934144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954623488001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:01:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8777981145120768,"km_value":8777981145120.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148348934144,"description":"Unknown IO ID 45"} 
[2026-07-25 17:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954623488001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1825154148348934144}} 
[2026-07-25 17:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":143571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:01:04] local.INFO: GPS data processed {"connection_id":143571,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:01:04] local.INFO: Acknowledgment sent {"connection_id":143571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:01:05] local.INFO: TCP Data received {"connection_id":142189,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a1a60012db6350005cae5c8001700872d..."} 
[2026-07-25 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a1a60012db6350005cae5c8001700872d..."} 
[2026-07-25 17:01:05] local.INFO: Processing buffer {"connection_id":142189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a1a60012db6350005cae5c8001700872d..."} 
[2026-07-25 17:01:05] local.INFO: Packet analysis {"connection_id":142189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:05] local.INFO: Extracted packet for processing {"connection_id":142189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954619648001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784979004000,"timestamp_ms":1784979004000,"timestamp_seconds":1784979004,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a1a60"} 
[2026-07-25 17:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 17:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954619648001,"66":27593,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954619648001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:01:05] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954619648001,"power":27593,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":142189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:01:06] local.INFO: GPS data processed {"connection_id":142189,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:01:06] local.INFO: Acknowledgment sent {"connection_id":142189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:01:34] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a3d88012d195f000720ac200033005a21..."} 
[2026-07-25 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a3d88012d195f000720ac200033005a21..."} 
[2026-07-25 17:01:34] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a3d88012d195f000720ac200033005a21..."} 
[2026-07-25 17:01:34] local.INFO: Packet analysis {"connection_id":143571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:34] local.INFO: Extracted packet for processing {"connection_id":143571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119581728,"longitude_deg":75.663744,"latitude_deg":11.9581728,"altitude":51,"angle":90,"satellites":33,"speed":8,"hex_longitude":"2d195f00","hex_latitude":"0720ac20","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954624512001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8778032684728320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827054104441769984,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784979013000,"timestamp_ms":1784979013000,"timestamp_seconds":1784979013,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a3d88"} 
[2026-07-25 17:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 17:01: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-07-25 17: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-07-25 17:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":143571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954624512001,"66":14004,"103":206,"83":41984,"24":8,"16":8778032684728320,"45":1827054104441769984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954624512001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8778032684728320,"km_value":8778032684728.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827054104441769984,"description":"Unknown IO ID 45"} 
[2026-07-25 17:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954624512001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1827054104441769984}} 
[2026-07-25 17:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":143571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:01:34] local.INFO: GPS data processed {"connection_id":143571,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:01:34] local.INFO: Acknowledgment sent {"connection_id":143571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:01:36] local.INFO: TCP Data received {"connection_id":142189,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:01:36] local.INFO: Processing buffer {"connection_id":142189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:01:36] local.INFO: Packet analysis {"connection_id":142189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:36] local.INFO: Extracted packet for processing {"connection_id":142189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:01:36] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":142189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:01:36] local.INFO: GPS data processed {"connection_id":142189,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:01:36] local.INFO: Acknowledgment sent {"connection_id":142189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:02:00] local.INFO: TCP Data received {"connection_id":143572,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:00] local.INFO: Processing buffer {"connection_id":143572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:00] local.INFO: IMEI packet received {"connection_id":143572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:02:05] local.INFO: TCP Data received {"connection_id":143572,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:05] local.INFO: Processing buffer {"connection_id":143572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:05] local.INFO: IMEI packet received {"connection_id":143572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":143572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:02:05] local.INFO: TCP Data received {"connection_id":143571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990b27e8012d19b9400720aa200035013721..."} 
[2026-07-25 17:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990b27e8012d19b9400720aa200035013721..."} 
[2026-07-25 17:02:05] local.INFO: Processing buffer {"connection_id":143571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990b27e8012d19b9400720aa200035013721..."} 
[2026-07-25 17:02:05] local.INFO: Packet analysis {"connection_id":143571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990b"} 
[2026-07-25 17:02:05] local.INFO: Extracted packet for processing {"connection_id":143571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990b"} 
[2026-07-25 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581216,"longitude_deg":75.6660544,"latitude_deg":11.9581216,"altitude":53,"angle":311,"satellites":33,"speed":8,"hex_longitude":"2d19b940","hex_latitude":"0720aa20","is_valid_coordinates":true} 
[2026-07-25 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954642432001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779295405113344,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740777472,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784979073000,"timestamp_ms":1784979073000,"timestamp_seconds":1784979073,"priority":1,"record_length":96,"hex_timestamp":"0000019f990b27e8"} 
[2026-07-25 17:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-25 17:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954642432001,"66":13993,"103":206,"83":41984,"24":8,"16":8779295405113344,"45":1853653489740777472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954642432001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:02:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:02:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779295405113344,"km_value":8779295405113.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740777472,"description":"Unknown IO ID 45"} 
[2026-07-25 17:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954642432001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1853653489740777472}} 
[2026-07-25 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":143571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:02:06] local.INFO: GPS data processed {"connection_id":143571,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:02:06] local.INFO: Acknowledgment sent {"connection_id":143571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:02:06] local.INFO: TCP Data received {"connection_id":143572,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:02:06] local.INFO: Processing buffer {"connection_id":143572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:02:06] local.INFO: Packet analysis {"connection_id":143572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:02:06] local.INFO: Extracted packet for processing {"connection_id":143572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:02: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-07-25 17:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:02:06] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":143572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:02:06] local.INFO: GPS data processed {"connection_id":143572,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:02:06] local.INFO: Acknowledgment sent {"connection_id":143572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:02:09] local.INFO: TCP Data received {"connection_id":141223,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:02:09] local.INFO: Processing buffer {"connection_id":141223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:02:09] local.INFO: IMEI packet received {"connection_id":141223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":141223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:02:10] local.INFO: TCP Data received {"connection_id":143572,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:02:10] local.INFO: Processing buffer {"connection_id":143572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:02:10] local.INFO: Packet analysis {"connection_id":143572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:02:10] local.INFO: Extracted packet for processing {"connection_id":143572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:02:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:02:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":143572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:02:10] local.INFO: GPS data processed {"connection_id":143572,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:02:10] local.INFO: Acknowledgment sent {"connection_id":143572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:02:29] local.INFO: TCP Data received {"connection_id":142190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:02:29] local.INFO: Processing buffer {"connection_id":142190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:02:29] local.INFO: IMEI packet received {"connection_id":142190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":142190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:02:31] local.INFO: TCP Data received {"connection_id":142190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:02:31] local.INFO: Processing buffer {"connection_id":142190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:02:31] local.INFO: IMEI packet received {"connection_id":142190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":142190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:02:33] local.INFO: TCP Data received {"connection_id":142190,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990b2bd0012d19b8000720aab00035012921..."} 
[2026-07-25 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990b2bd0012d19b8000720aab00035012921..."} 
[2026-07-25 17:02:33] local.INFO: Processing buffer {"connection_id":142190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990b2bd0012d19b8000720aab00035012921..."} 
[2026-07-25 17:02:33] local.INFO: Packet analysis {"connection_id":142190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990b"} 
[2026-07-25 17:02:33] local.INFO: Extracted packet for processing {"connection_id":142190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990b"} 
[2026-07-25 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119581360,"longitude_deg":75.6660224,"latitude_deg":11.958136,"altitude":53,"angle":297,"satellites":33,"speed":12,"hex_longitude":"2d19b800","hex_latitude":"0720aab0","is_valid_coordinates":true} 
[2026-07-25 17:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954642688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779312584982528,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996638720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784979074000,"timestamp_ms":1784979074000,"timestamp_seconds":1784979074,"priority":1,"record_length":96,"hex_timestamp":"0000019f990b2bd0"} 
[2026-07-25 17:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 17:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954642688001,"66":13993,"103":206,"83":41984,"24":12,"16":8779312584982528,"45":1853583120996638720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954642688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:02:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779312584982528,"km_value":8779312584982.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996638720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954642688001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1853583120996638720}} 
[2026-07-25 17:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":142190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:02:33] local.INFO: GPS data processed {"connection_id":142190,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:02:33] local.INFO: Acknowledgment sent {"connection_id":142190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:02:55] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:55] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:02:55] local.INFO: IMEI packet received {"connection_id":141225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":141225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:03:00] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:03:00] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:03:00] local.INFO: IMEI packet received {"connection_id":141225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":141225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:03:01] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:03:01] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:03:01] local.INFO: Packet analysis {"connection_id":141225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:03:01] local.INFO: Extracted packet for processing {"connection_id":141225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:03:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":141225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:03:01] local.INFO: GPS data processed {"connection_id":141225,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:03:01] local.INFO: Acknowledgment sent {"connection_id":141225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:03:03] local.INFO: TCP Data received {"connection_id":142190,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990b4b10012d19ab400720b0380039011c21..."} 
[2026-07-25 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990b4b10012d19ab400720b0380039011c21..."} 
[2026-07-25 17:03:03] local.INFO: Processing buffer {"connection_id":142190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990b4b10012d19ab400720b0380039011c21..."} 
[2026-07-25 17:03:03] local.INFO: Packet analysis {"connection_id":142190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990b"} 
[2026-07-25 17:03:03] local.INFO: Extracted packet for processing {"connection_id":142190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990b"} 
[2026-07-25 17:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119582776,"longitude_deg":75.665696,"latitude_deg":11.9582776,"altitude":57,"angle":284,"satellites":33,"speed":19,"hex_longitude":"2d19ab40","hex_latitude":"0720b038","is_valid_coordinates":true} 
[2026-07-25 17:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954642944001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8779484383674368,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275787264,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979082000,"timestamp_ms":1784979082000,"timestamp_seconds":1784979082,"priority":1,"record_length":96,"hex_timestamp":"0000019f990b4b10"} 
[2026-07-25 17:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 17:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954642944001,"66":14070,"103":206,"83":41984,"24":19,"16":8779484383674368,"45":1853231277275787264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954642944001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8779484383674368,"km_value":8779484383674.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275787264,"description":"Unknown IO ID 45"} 
[2026-07-25 17:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954642944001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853231277275787264}} 
[2026-07-25 17:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":142190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:03:03] local.INFO: GPS data processed {"connection_id":142190,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:03:03] local.INFO: Acknowledgment sent {"connection_id":142190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:03:30] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:30] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:30] local.INFO: IMEI packet received {"connection_id":141156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":141156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:03:31] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:31] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:31] local.INFO: IMEI packet received {"connection_id":141156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":141156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:03:32] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:32] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:32] local.INFO: IMEI packet received {"connection_id":141156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":141156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:03:32] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:03:32] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:03:32] local.INFO: Packet analysis {"connection_id":141225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:03:32] local.INFO: Extracted packet for processing {"connection_id":141225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 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-07-25 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:03:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":141225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:03:32] local.INFO: GPS data processed {"connection_id":141225,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:03:32] local.INFO: Acknowledgment sent {"connection_id":141225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:03:36] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:36] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:03:36] local.INFO: IMEI packet received {"connection_id":141156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":141156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:03:36] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990c6c20012d18de000720f820003f013721..."} 
[2026-07-25 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990c6c20012d18de000720f820003f013721..."} 
[2026-07-25 17:03:36] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990c6c20012d18de000720f820003f013721..."} 
[2026-07-25 17:03:36] local.INFO: Packet analysis {"connection_id":141156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990c"} 
[2026-07-25 17:03:36] local.INFO: Extracted packet for processing {"connection_id":141156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990c"} 
[2026-07-25 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119601184,"longitude_deg":75.6604416,"latitude_deg":11.9601184,"altitude":63,"angle":311,"satellites":33,"speed":36,"hex_longitude":"2d18de00","hex_latitude":"0720f820","is_valid_coordinates":true} 
[2026-07-25 17:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954662144001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782340536926208,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796021488263084032,"note":"Value kept but may cause issues"} 
[2026-07-25 17:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784979156000,"timestamp_ms":1784979156000,"timestamp_seconds":1784979156,"priority":1,"record_length":96,"hex_timestamp":"0000019f990c6c20"} 
[2026-07-25 17:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 17:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954662144001,"66":13993,"103":206,"83":41984,"24":36,"16":8782340536926208,"45":1796021488263084032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954662144001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:03:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782340536926208,"km_value":8782340536926.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796021488263084032,"description":"Unknown IO ID 45"} 
[2026-07-25 17:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954662144001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1796021488263084032}} 
[2026-07-25 17:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":141156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:03:36] local.INFO: GPS data processed {"connection_id":141156,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:03:36] local.INFO: Acknowledgment sent {"connection_id":141156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:03:55] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:03:55] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:03:55] local.INFO: IMEI packet received {"connection_id":141157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":141157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:04:02] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:04:02] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:04:02] local.INFO: IMEI packet received {"connection_id":141157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":141157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:04:05] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:05] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:05] local.INFO: Packet analysis {"connection_id":141157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:04:05] local.INFO: Extracted packet for processing {"connection_id":141157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:04: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-07-25 17:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:04: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-07-25 17:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":141157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:04:05] local.INFO: GPS data processed {"connection_id":141157,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:04:05] local.INFO: Acknowledgment sent {"connection_id":141157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:04:05] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:05] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:05] local.INFO: Packet analysis {"connection_id":141157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:04:05] local.INFO: Extracted packet for processing {"connection_id":141157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:04: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-07-25 17:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:04: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-07-25 17:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":141157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:04:06] local.INFO: GPS data processed {"connection_id":141157,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:04:06] local.INFO: Acknowledgment sent {"connection_id":141157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:04:08] local.INFO: TCP Data received {"connection_id":141156,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990c77d8012d18d6c007210018003f014b21..."} 
[2026-07-25 17:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990c77d8012d18d6c007210018003f014b21..."} 
[2026-07-25 17:04:08] local.INFO: Processing buffer {"connection_id":141156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990c77d8012d18d6c007210018003f014b21..."} 
[2026-07-25 17:04:08] local.INFO: Packet analysis {"connection_id":141156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990c"} 
[2026-07-25 17:04:08] local.INFO: Extracted packet for processing {"connection_id":141156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990c"} 
[2026-07-25 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603224,"longitude_deg":75.660256,"latitude_deg":11.9603224,"altitude":63,"angle":331,"satellites":33,"speed":35,"hex_longitude":"2d18d6c0","hex_latitude":"07210018","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954663936001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8782473680912384,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732357939200,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784979159000,"timestamp_ms":1784979159000,"timestamp_seconds":1784979159,"priority":1,"record_length":96,"hex_timestamp":"0000019f990c77d8"} 
[2026-07-25 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-07-25 17:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 17:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954663936001,"66":14004,"103":206,"83":41984,"24":35,"16":8782473680912384,"45":1791869732357939200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954663936001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:04:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8782473680912384,"km_value":8782473680912.384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732357939200,"description":"Unknown IO ID 45"} 
[2026-07-25 17:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954663936001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1791869732357939200}} 
[2026-07-25 17:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":141156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:04:08] local.INFO: GPS data processed {"connection_id":141156,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:04:08] local.INFO: Acknowledgment sent {"connection_id":141156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:04:26] local.INFO: TCP Data received {"connection_id":142192,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:04:26] local.INFO: Processing buffer {"connection_id":142192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:04:26] local.INFO: IMEI packet received {"connection_id":142192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":142192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:04:31] local.INFO: TCP Data received {"connection_id":142192,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:04:31] local.INFO: Processing buffer {"connection_id":142192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:04:31] local.INFO: IMEI packet received {"connection_id":142192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":142192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:04:32] local.INFO: TCP Data received {"connection_id":142192,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990d3f10012d18818007218168004d011720..."} 
[2026-07-25 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990d3f10012d18818007218168004d011720..."} 
[2026-07-25 17:04:32] local.INFO: Processing buffer {"connection_id":142192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990d3f10012d18818007218168004d011720..."} 
[2026-07-25 17:04:32] local.INFO: Packet analysis {"connection_id":142192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990d"} 
[2026-07-25 17:04:32] local.INFO: Extracted packet for processing {"connection_id":142192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990d"} 
[2026-07-25 17:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756580736,"raw_latitude":119636328,"longitude_deg":75.6580736,"latitude_deg":11.9636328,"altitude":77,"angle":279,"satellites":32,"speed":30,"hex_longitude":"2d188180","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-07-25 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954674944001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8784573919920128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814972772352,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979210000,"timestamp_ms":1784979210000,"timestamp_seconds":1784979210,"priority":1,"record_length":96,"hex_timestamp":"0000019f990d3f10"} 
[2026-07-25 17:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 17:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954674944001,"66":14450,"106":206,"83":41984,"24":30,"16":8784573919920128,"45":1775473814972772352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 17:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954674944001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8784573919920128,"km_value":8784573919920.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814972772352,"description":"Unknown IO ID 45"} 
[2026-07-25 17:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954674944001,"power":14450,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1775473814972772352}} 
[2026-07-25 17:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":142192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:04:32] local.INFO: GPS data processed {"connection_id":142192,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:04:32] local.INFO: Acknowledgment sent {"connection_id":142192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:04:41] local.INFO: TCP Data received {"connection_id":141157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:41] local.INFO: Processing buffer {"connection_id":141157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:04:41] local.INFO: Packet analysis {"connection_id":141157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:04:41] local.INFO: Extracted packet for processing {"connection_id":141157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 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-07-25 17:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:04:41] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":141157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:04:41] local.INFO: GPS data processed {"connection_id":141157,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:04:41] local.INFO: Acknowledgment sent {"connection_id":141157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:04:55] local.INFO: TCP Data received {"connection_id":142193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:04:55] local.INFO: Processing buffer {"connection_id":142193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:04:55] local.INFO: IMEI packet received {"connection_id":142193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":142193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:05:00] local.INFO: TCP Data received {"connection_id":142193,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:05:00] local.INFO: Processing buffer {"connection_id":142193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:05:00] local.INFO: IMEI packet received {"connection_id":142193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":142193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:05:01] local.INFO: TCP Data received {"connection_id":142193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:05:01] local.INFO: Processing buffer {"connection_id":142193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:05:01] local.INFO: Packet analysis {"connection_id":142193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:05:01] local.INFO: Extracted packet for processing {"connection_id":142193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:05:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":142193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:05:01] local.INFO: GPS data processed {"connection_id":142193,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:05:01] local.INFO: Acknowledgment sent {"connection_id":142193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:05:03] local.INFO: TCP Data received {"connection_id":142192,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990d5298012d18748007218208004d010a20..."} 
[2026-07-25 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990d5298012d18748007218208004d010a20..."} 
[2026-07-25 17:05:03] local.INFO: Processing buffer {"connection_id":142192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990d5298012d18748007218208004d010a20..."} 
[2026-07-25 17:05:03] local.INFO: Packet analysis {"connection_id":142192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990d"} 
[2026-07-25 17:05:03] local.INFO: Extracted packet for processing {"connection_id":142192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990d"} 
[2026-07-25 17:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756577408,"raw_latitude":119636488,"longitude_deg":75.6577408,"latitude_deg":11.9636488,"altitude":77,"angle":266,"satellites":32,"speed":25,"hex_longitude":"2d187480","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-07-25 17:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954677760001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8784732833710080,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765833297021200384,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979215000,"timestamp_ms":1784979215000,"timestamp_seconds":1784979215,"priority":1,"record_length":96,"hex_timestamp":"0000019f990d5298"} 
[2026-07-25 17:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-25 17:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954677760001,"66":14102,"106":206,"83":41984,"24":25,"16":8784732833710080,"45":1765833297021200384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 17:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954677760001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:05:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 17:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8784732833710080,"km_value":8784732833710.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765833297021200384,"description":"Unknown IO ID 45"} 
[2026-07-25 17:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954677760001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1765833297021200384}} 
[2026-07-25 17:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":142192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:05:04] local.INFO: GPS data processed {"connection_id":142192,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:05:04] local.INFO: Acknowledgment sent {"connection_id":142192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:05:26] local.INFO: TCP Data received {"connection_id":143573,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:05:26] local.INFO: Processing buffer {"connection_id":143573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:05:26] local.INFO: IMEI packet received {"connection_id":143573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":143573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:05:31] local.INFO: TCP Data received {"connection_id":143573,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:05:31] local.INFO: Processing buffer {"connection_id":143573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:05:31] local.INFO: IMEI packet received {"connection_id":143573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":143573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:05:32] local.INFO: TCP Data received {"connection_id":142193,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:05:32] local.INFO: Processing buffer {"connection_id":142193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:05:32] local.INFO: Packet analysis {"connection_id":142193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:05:32] local.INFO: Extracted packet for processing {"connection_id":142193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":142193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:05:32] local.INFO: GPS data processed {"connection_id":142193,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:05:32] local.INFO: Acknowledgment sent {"connection_id":142193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:05:32] local.INFO: TCP Data received {"connection_id":143573,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990e48b0012d1824000721b7b0004f015921..."} 
[2026-07-25 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990e48b0012d1824000721b7b0004f015921..."} 
[2026-07-25 17:05:32] local.INFO: Processing buffer {"connection_id":143573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990e48b0012d1824000721b7b0004f015921..."} 
[2026-07-25 17:05:32] local.INFO: Packet analysis {"connection_id":143573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:05:32] local.INFO: Extracted packet for processing {"connection_id":143573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650224,"longitude_deg":75.65568,"latitude_deg":11.9650224,"altitude":79,"angle":345,"satellites":33,"speed":9,"hex_longitude":"2d182400","hex_latitude":"0721b7b0","is_valid_coordinates":true} 
[2026-07-25 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954694912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786150172917760,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446425600,"note":"Value kept but may cause issues"} 
[2026-07-25 17:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979278000,"timestamp_ms":1784979278000,"timestamp_seconds":1784979278,"priority":1,"record_length":96,"hex_timestamp":"0000019f990e48b0"} 
[2026-07-25 17:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":166,"data_length":795,"current_offset":136} 
[2026-07-25 17:05: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-07-25 17:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954694912001,"66":13222,"105":206,"83":41984,"24":9,"16":8786150172917760,"45":1739585755446425600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954694912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786150172917760,"km_value":8786150172917.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446425600,"description":"Unknown IO ID 45"} 
[2026-07-25 17:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954694912001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739585755446425600}} 
[2026-07-25 17:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":143573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:05:32] local.INFO: GPS data processed {"connection_id":143573,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:05:32] local.INFO: Acknowledgment sent {"connection_id":143573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:05:55] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:05:55] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:05:55] local.INFO: IMEI packet received {"connection_id":143574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":143574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:06:00] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:06:00] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:06:00] local.INFO: IMEI packet received {"connection_id":143574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":143574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:06:01] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:06:01] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990a58e0012db6350005cae5c8001700872b..."} 
[2026-07-25 17:06:01] local.INFO: Packet analysis {"connection_id":143574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:06:01] local.INFO: Extracted packet for processing {"connection_id":143574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990a"} 
[2026-07-25 17:06:01] local.INFO: GPS Element Parsed {"raw_longitude":766915840,"raw_latitude":97183176,"longitude_deg":76.691584,"latitude_deg":9.7183176,"altitude":23,"angle":135,"satellites":43,"speed":0,"hex_longitude":"2db63500","hex_latitude":"05cae5c8","is_valid_coordinates":true} 
[2026-07-25 17:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954625024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979020000,"timestamp_ms":1784979020000,"timestamp_seconds":1784979020,"priority":1,"record_length":96,"hex_timestamp":"0000019f990a58e0"} 
[2026-07-25 17:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 17:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954625024001,"66":27930,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954625024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:06:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954625024001,"power":27930,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":143574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:06:01] local.INFO: GPS data processed {"connection_id":143574,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:06:01] local.INFO: Acknowledgment sent {"connection_id":143574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:06:04] local.INFO: TCP Data received {"connection_id":143573,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990e4c98012d1823800721b868004f013e21..."} 
[2026-07-25 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990e4c98012d1823800721b868004f013e21..."} 
[2026-07-25 17:06:04] local.INFO: Processing buffer {"connection_id":143573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990e4c98012d1823800721b868004f013e21..."} 
[2026-07-25 17:06:04] local.INFO: Packet analysis {"connection_id":143573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:06:04] local.INFO: Extracted packet for processing {"connection_id":143573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650408,"longitude_deg":75.6556672,"latitude_deg":11.9650408,"altitude":79,"angle":318,"satellites":33,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954695168001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786158762852352,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702311424,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784979279000,"timestamp_ms":1784979279000,"timestamp_seconds":1784979279,"priority":1,"record_length":96,"hex_timestamp":"0000019f990e4c98"} 
[2026-07-25 17:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 17:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954695168001,"66":13135,"105":206,"83":41984,"24":8,"16":8786158762852352,"45":1739515386702311424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954695168001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:06:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786158762852352,"km_value":8786158762852.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702311424,"description":"Unknown IO ID 45"} 
[2026-07-25 17:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954695168001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739515386702311424}} 
[2026-07-25 17:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":143573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:06:04] local.INFO: GPS data processed {"connection_id":143573,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:06:04] local.INFO: Acknowledgment sent {"connection_id":143573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:06:26] local.INFO: TCP Data received {"connection_id":141226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:06:26] local.INFO: Processing buffer {"connection_id":141226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:06:26] local.INFO: IMEI packet received {"connection_id":141226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":141226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:06:31] local.INFO: TCP Data received {"connection_id":141226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:06:31] local.INFO: Processing buffer {"connection_id":141226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:06:31] local.INFO: IMEI packet received {"connection_id":141226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":141226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:06:32] local.INFO: TCP Data received {"connection_id":143574,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:06:32] local.INFO: Processing buffer {"connection_id":143574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:06:32] local.INFO: Packet analysis {"connection_id":143574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:06:32] local.INFO: Extracted packet for processing {"connection_id":143574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":143574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:06:32] local.INFO: GPS data processed {"connection_id":143574,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:06:32] local.INFO: Acknowledgment sent {"connection_id":143574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:06:32] local.INFO: TCP Data received {"connection_id":141226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990e5080012d1823000721b8c8004f012321..."} 
[2026-07-25 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990e5080012d1823000721b8c8004f012321..."} 
[2026-07-25 17:06:32] local.INFO: Processing buffer {"connection_id":141226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990e5080012d1823000721b8c8004f012321..."} 
[2026-07-25 17:06:32] local.INFO: Packet analysis {"connection_id":141226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:06:32] local.INFO: Extracted packet for processing {"connection_id":141226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650504,"longitude_deg":75.6556544,"latitude_deg":11.9650504,"altitude":79,"angle":291,"satellites":33,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721b8c8","is_valid_coordinates":true} 
[2026-07-25 17:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954695424001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786167352786944,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214003200,"note":"Value kept but may cause issues"} 
[2026-07-25 17:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979280000,"timestamp_ms":1784979280000,"timestamp_seconds":1784979280,"priority":1,"record_length":96,"hex_timestamp":"0000019f990e5080"} 
[2026-07-25 17:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":79,"data_length":795,"current_offset":136} 
[2026-07-25 17:06: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-07-25 17:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954695424001,"66":13135,"105":206,"83":41984,"24":7,"16":8786167352786944,"45":1739374649214003200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954695424001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786167352786944,"km_value":8786167352786.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214003200,"description":"Unknown IO ID 45"} 
[2026-07-25 17:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954695424001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739374649214003200}} 
[2026-07-25 17:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":141226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:06:32] local.INFO: GPS data processed {"connection_id":141226,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:06:32] local.INFO: Acknowledgment sent {"connection_id":141226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:06:55] local.INFO: TCP Data received {"connection_id":143575,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:06:55] local.INFO: Processing buffer {"connection_id":143575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:06:55] local.INFO: IMEI packet received {"connection_id":143575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":143575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:07:00] local.INFO: TCP Data received {"connection_id":143575,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:07:00] local.INFO: Processing buffer {"connection_id":143575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:07:00] local.INFO: IMEI packet received {"connection_id":143575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":143575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:07:01] local.INFO: TCP Data received {"connection_id":143575,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:07:01] local.INFO: Processing buffer {"connection_id":143575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:07:01] local.INFO: Packet analysis {"connection_id":143575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:01] local.INFO: Extracted packet for processing {"connection_id":143575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:07:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":143575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:07:01] local.INFO: GPS data processed {"connection_id":143575,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:07:01] local.INFO: Acknowledgment sent {"connection_id":143575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:07:04] local.INFO: TCP Data received {"connection_id":141226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ea288012d1823400721b960004f012320..."} 
[2026-07-25 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ea288012d1823400721b960004f012320..."} 
[2026-07-25 17:07:04] local.INFO: Processing buffer {"connection_id":141226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ea288012d1823400721b960004f012320..."} 
[2026-07-25 17:07:04] local.INFO: Packet analysis {"connection_id":141226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:04] local.INFO: Extracted packet for processing {"connection_id":141226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":32,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954695680001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725672448,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784979301000,"timestamp_ms":1784979301000,"timestamp_seconds":1784979301,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ea288"} 
[2026-07-25 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 17:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954695680001,"66":13048,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739233911725672448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954695680001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:07:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725672448,"description":"Unknown IO ID 45"} 
[2026-07-25 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954695680001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725672448}} 
[2026-07-25 17:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":141226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:07:04] local.INFO: GPS data processed {"connection_id":141226,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:07:04] local.INFO: Acknowledgment sent {"connection_id":141226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:07:26] local.INFO: TCP Data received {"connection_id":142194,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:07:26] local.INFO: Processing buffer {"connection_id":142194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:07:26] local.INFO: IMEI packet received {"connection_id":142194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":142194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:07:31] local.INFO: TCP Data received {"connection_id":142194,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:07:31] local.INFO: Processing buffer {"connection_id":142194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:07:31] local.INFO: IMEI packet received {"connection_id":142194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":142194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:07:32] local.INFO: TCP Data received {"connection_id":143575,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:07:32] local.INFO: Processing buffer {"connection_id":143575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:07:32] local.INFO: Packet analysis {"connection_id":143575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:32] local.INFO: Extracted packet for processing {"connection_id":143575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 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-07-25 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":143575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:07:32] local.INFO: GPS data processed {"connection_id":143575,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:07:32] local.INFO: Acknowledgment sent {"connection_id":143575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:07:32] local.INFO: TCP Data received {"connection_id":142194,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef490012d1823400721b960004f012322..."} 
[2026-07-25 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef490012d1823400721b960004f012322..."} 
[2026-07-25 17:07:32] local.INFO: Processing buffer {"connection_id":142194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef490012d1823400721b960004f012322..."} 
[2026-07-25 17:07:32] local.INFO: Packet analysis {"connection_id":142194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:32] local.INFO: Extracted packet for processing {"connection_id":142194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":34,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954701056001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979322000,"timestamp_ms":1784979322000,"timestamp_seconds":1784979322,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef490"} 
[2026-07-25 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-07-25 17:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 17:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954701056001,"66":13135,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954701056001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954701056001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":142194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:07:32] local.INFO: GPS data processed {"connection_id":142194,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:07:32] local.INFO: Acknowledgment sent {"connection_id":142194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:07:44] local.INFO: TCP Data received {"connection_id":142191,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:07:44] local.INFO: Processing buffer {"connection_id":142191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:07:44] local.INFO: IMEI packet received {"connection_id":142191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":142191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:07:55] local.INFO: TCP Data received {"connection_id":141227,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:07:55] local.INFO: Processing buffer {"connection_id":141227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:07:55] local.INFO: IMEI packet received {"connection_id":141227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":141227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:08:00] local.INFO: TCP Data received {"connection_id":141227,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:08:00] local.INFO: Processing buffer {"connection_id":141227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:08:00] local.INFO: IMEI packet received {"connection_id":141227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":141227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:08:01] local.INFO: TCP Data received {"connection_id":141227,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:08:01] local.INFO: Processing buffer {"connection_id":141227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:08:01] local.INFO: Packet analysis {"connection_id":141227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:08:01] local.INFO: Extracted packet for processing {"connection_id":141227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:08:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":141227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:08:01] local.INFO: GPS data processed {"connection_id":141227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:08:01] local.INFO: Acknowledgment sent {"connection_id":141227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:08:03] local.INFO: TCP Data received {"connection_id":142194,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990f4698012d1823400721b960004f012322..."} 
[2026-07-25 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990f4698012d1823400721b960004f012322..."} 
[2026-07-25 17:08:03] local.INFO: Processing buffer {"connection_id":142194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990f4698012d1823400721b960004f012322..."} 
[2026-07-25 17:08:03] local.INFO: Packet analysis {"connection_id":142194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990f"} 
[2026-07-25 17:08:03] local.INFO: Extracted packet for processing {"connection_id":142194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990f"} 
[2026-07-25 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":34,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706432001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979343000,"timestamp_ms":1784979343000,"timestamp_seconds":1784979343,"priority":1,"record_length":96,"hex_timestamp":"0000019f990f4698"} 
[2026-07-25 17:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 17:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706432001,"66":13080,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706432001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706432001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":142194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:08:03] local.INFO: GPS data processed {"connection_id":142194,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:08:03] local.INFO: Acknowledgment sent {"connection_id":142194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:08:26] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:26] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:26] local.INFO: IMEI packet received {"connection_id":141158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":141158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:08:27] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:27] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:27] local.INFO: IMEI packet received {"connection_id":141158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":141158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:08:31] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:31] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:08:31] local.INFO: IMEI packet received {"connection_id":141158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":141158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:08:32] local.INFO: TCP Data received {"connection_id":141227,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:08:32] local.INFO: Processing buffer {"connection_id":141227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:08:32] local.INFO: Packet analysis {"connection_id":141227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:08:32] local.INFO: Extracted packet for processing {"connection_id":141227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":141227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:08:32] local.INFO: GPS data processed {"connection_id":141227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:08:32] local.INFO: Acknowledgment sent {"connection_id":141227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:08:32] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990f98a0012d1823400721b960004f012322..."} 
[2026-07-25 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990f98a0012d1823400721b960004f012322..."} 
[2026-07-25 17:08:32] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990f98a0012d1823400721b960004f012322..."} 
[2026-07-25 17:08:32] local.INFO: Packet analysis {"connection_id":141158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990f"} 
[2026-07-25 17:08:32] local.INFO: Extracted packet for processing {"connection_id":141158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990f"} 
[2026-07-25 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":34,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954711808001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979364000,"timestamp_ms":1784979364000,"timestamp_seconds":1784979364,"priority":1,"record_length":96,"hex_timestamp":"0000019f990f98a0"} 
[2026-07-25 17:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 17:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954711808001,"66":13091,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954711808001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954711808001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":141158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:08:32] local.INFO: GPS data processed {"connection_id":141158,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:08:32] local.INFO: Acknowledgment sent {"connection_id":141158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:09:00] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:00] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:00] local.INFO: IMEI packet received {"connection_id":141160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":141160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:09:03] local.INFO: TCP Data received {"connection_id":141158,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f990feaa8012d1823400721b960004f012323..."} 
[2026-07-25 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990feaa8012d1823400721b960004f012323..."} 
[2026-07-25 17:09:03] local.INFO: Processing buffer {"connection_id":141158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990feaa8012d1823400721b960004f012323..."} 
[2026-07-25 17:09:03] local.INFO: Packet analysis {"connection_id":141158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990f"} 
[2026-07-25 17:09:03] local.INFO: Extracted packet for processing {"connection_id":141158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990f"} 
[2026-07-25 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":35,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954717184001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979385000,"timestamp_ms":1784979385000,"timestamp_seconds":1784979385,"priority":1,"record_length":96,"hex_timestamp":"0000019f990feaa8"} 
[2026-07-25 17:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 17:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954717184001,"66":13059,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954717184001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954717184001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":141158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:09:03] local.INFO: GPS data processed {"connection_id":141158,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:09:03] local.INFO: Acknowledgment sent {"connection_id":141158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:09:05] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:05] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:05] local.INFO: IMEI packet received {"connection_id":141160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":141160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:09:05] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:09:05] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:09:05] local.INFO: Packet analysis {"connection_id":141160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:09:05] local.INFO: Extracted packet for processing {"connection_id":141160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":141160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:09:05] local.INFO: GPS data processed {"connection_id":141160,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:09:05] local.INFO: Acknowledgment sent {"connection_id":141160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:09:10] local.INFO: TCP Data received {"connection_id":141160,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:09:10] local.INFO: Processing buffer {"connection_id":141160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:09:10] local.INFO: Packet analysis {"connection_id":141160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:09:10] local.INFO: Extracted packet for processing {"connection_id":141160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:09:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:09:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":141160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:09:10] local.INFO: GPS data processed {"connection_id":141160,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:09:10] local.INFO: Acknowledgment sent {"connection_id":141160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:09:31] local.INFO: TCP Data received {"connection_id":142195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:31] local.INFO: Processing buffer {"connection_id":142195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:31] local.INFO: IMEI packet received {"connection_id":142195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":142195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:09:31] local.INFO: TCP Data received {"connection_id":142195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:31] local.INFO: Processing buffer {"connection_id":142195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:31] local.INFO: IMEI packet received {"connection_id":142195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":142195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:09:36] local.INFO: TCP Data received {"connection_id":142195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:36] local.INFO: Processing buffer {"connection_id":142195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:09:36] local.INFO: IMEI packet received {"connection_id":142195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":142195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:09:37] local.INFO: TCP Data received {"connection_id":142195,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99103cb0012d1823400721b960004f012325..."} 
[2026-07-25 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99103cb0012d1823400721b960004f012325..."} 
[2026-07-25 17:09:37] local.INFO: Processing buffer {"connection_id":142195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99103cb0012d1823400721b960004f012325..."} 
[2026-07-25 17:09:37] local.INFO: Packet analysis {"connection_id":142195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9910"} 
[2026-07-25 17:09:37] local.INFO: Extracted packet for processing {"connection_id":142195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9910"} 
[2026-07-25 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954722560001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784979406000,"timestamp_ms":1784979406000,"timestamp_seconds":1784979406,"priority":1,"record_length":96,"hex_timestamp":"0000019f99103cb0"} 
[2026-07-25 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303164287929706,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709960,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2567851160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:09:37] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-25 17:09:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5177635,"corrected_to":0} 
[2026-07-25 17:09:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,55,159,152,45,64,185,79,34,10,66,70,244,1,240,227,153,33,4,113,205,80,35,200,239,51,2,31,7,8],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":5177635,"validated":0}]} 
[2026-07-25 17:09:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692870037203845120,"timestamp_seconds":5692870037203845.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954722560001,"66":13015,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954722560001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954722560001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":142195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:09:37] local.INFO: GPS data processed {"connection_id":142195,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:09:37] local.INFO: Acknowledgment sent {"connection_id":142195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:09:55] local.INFO: TCP Data received {"connection_id":141228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:55] local.INFO: Processing buffer {"connection_id":141228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:09:55] local.INFO: IMEI packet received {"connection_id":141228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":141228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:10:00] local.INFO: TCP Data received {"connection_id":141228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:10:00] local.INFO: Processing buffer {"connection_id":141228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:10:00] local.INFO: IMEI packet received {"connection_id":141228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":141228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:10:01] local.INFO: TCP Data received {"connection_id":141228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:10:01] local.INFO: Processing buffer {"connection_id":141228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:10:01] local.INFO: Packet analysis {"connection_id":141228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:10:01] local.INFO: Extracted packet for processing {"connection_id":141228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:10:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":141228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:10:01] local.INFO: GPS data processed {"connection_id":141228,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:10:01] local.INFO: Acknowledgment sent {"connection_id":141228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:10:08] local.INFO: TCP Data received {"connection_id":142195,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99108eb8012d1823400721b960004f012325..."} 
[2026-07-25 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99108eb8012d1823400721b960004f012325..."} 
[2026-07-25 17:10:08] local.INFO: Processing buffer {"connection_id":142195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99108eb8012d1823400721b960004f012325..."} 
[2026-07-25 17:10:08] local.INFO: Packet analysis {"connection_id":142195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9910"} 
[2026-07-25 17:10:08] local.INFO: Extracted packet for processing {"connection_id":142195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9910"} 
[2026-07-25 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954727936001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784979427000,"timestamp_ms":1784979427000,"timestamp_seconds":1784979427,"priority":1,"record_length":96,"hex_timestamp":"0000019f99108eb8"} 
[2026-07-25 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:10: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-07-25 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 17:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954727936001,"66":13004,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954727936001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954727936001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":142195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:10:08] local.INFO: GPS data processed {"connection_id":142195,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:10:08] local.INFO: Acknowledgment sent {"connection_id":142195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:10:26] local.INFO: TCP Data received {"connection_id":142196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:10:26] local.INFO: Processing buffer {"connection_id":142196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:10:26] local.INFO: IMEI packet received {"connection_id":142196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":142196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:10:31] local.INFO: TCP Data received {"connection_id":142196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:10:31] local.INFO: Processing buffer {"connection_id":142196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:10:31] local.INFO: IMEI packet received {"connection_id":142196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":142196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:10:32] local.INFO: TCP Data received {"connection_id":141228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:10:32] local.INFO: Processing buffer {"connection_id":141228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:10:32] local.INFO: Packet analysis {"connection_id":141228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:10:32] local.INFO: Extracted packet for processing {"connection_id":141228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":141228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:10:32] local.INFO: GPS data processed {"connection_id":141228,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:10:32] local.INFO: Acknowledgment sent {"connection_id":141228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:10:32] local.INFO: TCP Data received {"connection_id":142196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9910e0c0012d1823400721b960004f012325..."} 
[2026-07-25 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9910e0c0012d1823400721b960004f012325..."} 
[2026-07-25 17:10:32] local.INFO: Processing buffer {"connection_id":142196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9910e0c0012d1823400721b960004f012325..."} 
[2026-07-25 17:10:32] local.INFO: Packet analysis {"connection_id":142196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9910"} 
[2026-07-25 17:10:32] local.INFO: Extracted packet for processing {"connection_id":142196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9910"} 
[2026-07-25 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954733312001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979448000,"timestamp_ms":1784979448000,"timestamp_seconds":1784979448,"priority":1,"record_length":96,"hex_timestamp":"0000019f9910e0c0"} 
[2026-07-25 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-25 17:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954733312001,"66":12993,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954733312001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954733312001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":142196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:10:32] local.INFO: GPS data processed {"connection_id":142196,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:10:32] local.INFO: Acknowledgment sent {"connection_id":142196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:10:55] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:10:55] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:10:55] local.INFO: IMEI packet received {"connection_id":141161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":141161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:11:00] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:11:00] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:11:00] local.INFO: IMEI packet received {"connection_id":141161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":141161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:11:01] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:11:01] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f990ef878012db6310005cae678001a00872e..."} 
[2026-07-25 17:11:01] local.INFO: Packet analysis {"connection_id":141161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:11:01] local.INFO: Extracted packet for processing {"connection_id":141161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f990e"} 
[2026-07-25 17:11:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954629120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5317343760162109440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979323000,"timestamp_ms":1784979323000,"timestamp_seconds":1784979323,"priority":1,"record_length":96,"hex_timestamp":"0000019f990ef878"} 
[2026-07-25 17:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 17:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954629120001,"66":26310,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5317343760162109440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954629120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:11:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5317343760162109440,"description":"Unknown IO ID 45"} 
[2026-07-25 17:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954629120001,"power":26310,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5317343760162109440}} 
[2026-07-25 17:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":141161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:11:01] local.INFO: GPS data processed {"connection_id":141161,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:11:01] local.INFO: Acknowledgment sent {"connection_id":141161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:11:03] local.INFO: TCP Data received {"connection_id":142196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991132c8012d1823400721b960004f012326..."} 
[2026-07-25 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991132c8012d1823400721b960004f012326..."} 
[2026-07-25 17:11:03] local.INFO: Processing buffer {"connection_id":142196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991132c8012d1823400721b960004f012326..."} 
[2026-07-25 17:11:03] local.INFO: Packet analysis {"connection_id":142196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9911"} 
[2026-07-25 17:11:03] local.INFO: Extracted packet for processing {"connection_id":142196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9911"} 
[2026-07-25 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954738688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979469000,"timestamp_ms":1784979469000,"timestamp_seconds":1784979469,"priority":1,"record_length":96,"hex_timestamp":"0000019f991132c8"} 
[2026-07-25 17:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 17:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954738688001,"66":12950,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954738688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:11:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954738688001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":142196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:11:03] local.INFO: GPS data processed {"connection_id":142196,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:11:03] local.INFO: Acknowledgment sent {"connection_id":142196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:11:26] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:11:26] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:11:26] local.INFO: IMEI packet received {"connection_id":143576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":143576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:11:31] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:11:31] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:11:31] local.INFO: IMEI packet received {"connection_id":143576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":143576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:11:32] local.INFO: TCP Data received {"connection_id":141161,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:11:32] local.INFO: Processing buffer {"connection_id":141161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:11:32] local.INFO: Packet analysis {"connection_id":141161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:11:32] local.INFO: Extracted packet for processing {"connection_id":141161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":141161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:11:32] local.INFO: GPS data processed {"connection_id":141161,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:11:32] local.INFO: Acknowledgment sent {"connection_id":141161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:11:32] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991184d0012d1823400721b960004f012328..."} 
[2026-07-25 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991184d0012d1823400721b960004f012328..."} 
[2026-07-25 17:11:32] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991184d0012d1823400721b960004f012328..."} 
[2026-07-25 17:11:32] local.INFO: Packet analysis {"connection_id":143576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9911"} 
[2026-07-25 17:11:32] local.INFO: Extracted packet for processing {"connection_id":143576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9911"} 
[2026-07-25 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954744064001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979490000,"timestamp_ms":1784979490000,"timestamp_seconds":1784979490,"priority":1,"record_length":96,"hex_timestamp":"0000019f991184d0"} 
[2026-07-25 17:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 17:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954744064001,"66":12950,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954744064001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954744064001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":143576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:11:32] local.INFO: GPS data processed {"connection_id":143576,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:11:32] local.INFO: Acknowledgment sent {"connection_id":143576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:12:00] local.INFO: TCP Data received {"connection_id":141229,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:00] local.INFO: Processing buffer {"connection_id":141229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:00] local.INFO: IMEI packet received {"connection_id":141229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":141229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:12:03] local.INFO: TCP Data received {"connection_id":143576,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9911d6d8012d1823400721b960004f012328..."} 
[2026-07-25 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9911d6d8012d1823400721b960004f012328..."} 
[2026-07-25 17:12:03] local.INFO: Processing buffer {"connection_id":143576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9911d6d8012d1823400721b960004f012328..."} 
[2026-07-25 17:12:03] local.INFO: Packet analysis {"connection_id":143576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9911"} 
[2026-07-25 17:12:03] local.INFO: Extracted packet for processing {"connection_id":143576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9911"} 
[2026-07-25 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954749440001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979511000,"timestamp_ms":1784979511000,"timestamp_seconds":1784979511,"priority":1,"record_length":96,"hex_timestamp":"0000019f9911d6d8"} 
[2026-07-25 17:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 17:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954749440001,"66":12939,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954749440001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:12:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954749440001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":143576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:12:03] local.INFO: GPS data processed {"connection_id":143576,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:12:03] local.INFO: Acknowledgment sent {"connection_id":143576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:12:05] local.INFO: TCP Data received {"connection_id":141229,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:05] local.INFO: Processing buffer {"connection_id":141229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:05] local.INFO: IMEI packet received {"connection_id":141229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":141229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:12:06] local.INFO: TCP Data received {"connection_id":141229,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:12:06] local.INFO: Processing buffer {"connection_id":141229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:12:06] local.INFO: Packet analysis {"connection_id":141229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:12:06] local.INFO: Extracted packet for processing {"connection_id":141229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:12:06] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":141229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:12:06] local.INFO: GPS data processed {"connection_id":141229,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:12:06] local.INFO: Acknowledgment sent {"connection_id":141229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:12:10] local.INFO: TCP Data received {"connection_id":141229,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:12:10] local.INFO: Processing buffer {"connection_id":141229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:12:10] local.INFO: Packet analysis {"connection_id":141229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:12:10] local.INFO: Extracted packet for processing {"connection_id":141229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:12:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:12:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":141229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:12:10] local.INFO: GPS data processed {"connection_id":141229,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:12:10] local.INFO: Acknowledgment sent {"connection_id":141229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:12:27] local.INFO: TCP Data received {"connection_id":143577,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:12:27] local.INFO: Processing buffer {"connection_id":143577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:12:27] local.INFO: IMEI packet received {"connection_id":143577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":143577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:12:31] local.INFO: TCP Data received {"connection_id":143577,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:12:31] local.INFO: Processing buffer {"connection_id":143577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:12:31] local.INFO: IMEI packet received {"connection_id":143577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":143577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:12:32] local.INFO: TCP Data received {"connection_id":143577,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991228e0012d1823400721b960004f012328..."} 
[2026-07-25 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991228e0012d1823400721b960004f012328..."} 
[2026-07-25 17:12:32] local.INFO: Processing buffer {"connection_id":143577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991228e0012d1823400721b960004f012328..."} 
[2026-07-25 17:12:32] local.INFO: Packet analysis {"connection_id":143577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9912"} 
[2026-07-25 17:12:32] local.INFO: Extracted packet for processing {"connection_id":143577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9912"} 
[2026-07-25 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954754816001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979532000,"timestamp_ms":1784979532000,"timestamp_seconds":1784979532,"priority":1,"record_length":96,"hex_timestamp":"0000019f991228e0"} 
[2026-07-25 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-07-25 17:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 17:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954754816001,"66":12885,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954754816001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:12:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954754816001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":143577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:12:32] local.INFO: GPS data processed {"connection_id":143577,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:12:32] local.INFO: Acknowledgment sent {"connection_id":143577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:12:55] local.INFO: TCP Data received {"connection_id":143578,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:55] local.INFO: Processing buffer {"connection_id":143578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:12:55] local.INFO: IMEI packet received {"connection_id":143578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":143578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:13:00] local.INFO: TCP Data received {"connection_id":143578,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:13:00] local.INFO: Processing buffer {"connection_id":143578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:13:00] local.INFO: IMEI packet received {"connection_id":143578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":143578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:13:01] local.INFO: TCP Data received {"connection_id":143578,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:13:01] local.INFO: Processing buffer {"connection_id":143578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:13:01] local.INFO: Packet analysis {"connection_id":143578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:13:01] local.INFO: Extracted packet for processing {"connection_id":143578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:13:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:13:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":143578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:13:01] local.INFO: GPS data processed {"connection_id":143578,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:13:01] local.INFO: Acknowledgment sent {"connection_id":143578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:13:04] local.INFO: TCP Data received {"connection_id":143577,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99127ae8012d1823400721b960004f012329..."} 
[2026-07-25 17:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99127ae8012d1823400721b960004f012329..."} 
[2026-07-25 17:13:04] local.INFO: Processing buffer {"connection_id":143577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99127ae8012d1823400721b960004f012329..."} 
[2026-07-25 17:13:04] local.INFO: Packet analysis {"connection_id":143577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9912"} 
[2026-07-25 17:13:04] local.INFO: Extracted packet for processing {"connection_id":143577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9912"} 
[2026-07-25 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954760192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784979553000,"timestamp_ms":1784979553000,"timestamp_seconds":1784979553,"priority":1,"record_length":96,"hex_timestamp":"0000019f99127ae8"} 
[2026-07-25 17:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 17:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954760192001,"66":12885,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954760192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:13:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954760192001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":143577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:13:04] local.INFO: GPS data processed {"connection_id":143577,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:13:04] local.INFO: Acknowledgment sent {"connection_id":143577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:13:20] local.INFO: TCP Data received {"connection_id":141159,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:13:20] local.INFO: Processing buffer {"connection_id":141159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:13:20] local.INFO: IMEI packet received {"connection_id":141159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":141159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:13:26] local.INFO: TCP Data received {"connection_id":141162,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:13:26] local.INFO: Processing buffer {"connection_id":141162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:13:26] local.INFO: IMEI packet received {"connection_id":141162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":141162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:13:31] local.INFO: TCP Data received {"connection_id":141162,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:13:31] local.INFO: Processing buffer {"connection_id":141162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:13:31] local.INFO: IMEI packet received {"connection_id":141162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":141162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:13:32] local.INFO: TCP Data received {"connection_id":143578,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:13:32] local.INFO: Processing buffer {"connection_id":143578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:13:32] local.INFO: Packet analysis {"connection_id":143578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:13:32] local.INFO: Extracted packet for processing {"connection_id":143578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":143578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:13:32] local.INFO: GPS data processed {"connection_id":143578,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:13:32] local.INFO: Acknowledgment sent {"connection_id":143578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:13:32] local.INFO: TCP Data received {"connection_id":141162,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9912ccf0012d1823400721b960004f012329..."} 
[2026-07-25 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9912ccf0012d1823400721b960004f012329..."} 
[2026-07-25 17:13:32] local.INFO: Processing buffer {"connection_id":141162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9912ccf0012d1823400721b960004f012329..."} 
[2026-07-25 17:13:32] local.INFO: Packet analysis {"connection_id":141162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9912"} 
[2026-07-25 17:13:32] local.INFO: Extracted packet for processing {"connection_id":141162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9912"} 
[2026-07-25 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954765568001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979574000,"timestamp_ms":1784979574000,"timestamp_seconds":1784979574,"priority":1,"record_length":96,"hex_timestamp":"0000019f9912ccf0"} 
[2026-07-25 17:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 17:13: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-07-25 17:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954765568001,"66":12863,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954765568001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954765568001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":141162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:13:32] local.INFO: GPS data processed {"connection_id":141162,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:13:32] local.INFO: Acknowledgment sent {"connection_id":141162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:13:55] local.INFO: TCP Data received {"connection_id":142197,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:13:55] local.INFO: Processing buffer {"connection_id":142197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:13:55] local.INFO: IMEI packet received {"connection_id":142197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":142197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:14:00] local.INFO: TCP Data received {"connection_id":142197,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:14:00] local.INFO: Processing buffer {"connection_id":142197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:14:00] local.INFO: IMEI packet received {"connection_id":142197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":142197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:14:01] local.INFO: TCP Data received {"connection_id":142197,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:14:01] local.INFO: Processing buffer {"connection_id":142197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:14:01] local.INFO: Packet analysis {"connection_id":142197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:01] local.INFO: Extracted packet for processing {"connection_id":142197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:14:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":142197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:14:01] local.INFO: GPS data processed {"connection_id":142197,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:14:01] local.INFO: Acknowledgment sent {"connection_id":142197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:14:03] local.INFO: TCP Data received {"connection_id":141162,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99131ef8012d1823400721b960004f012329..."} 
[2026-07-25 17:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99131ef8012d1823400721b960004f012329..."} 
[2026-07-25 17:14:03] local.INFO: Processing buffer {"connection_id":141162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99131ef8012d1823400721b960004f012329..."} 
[2026-07-25 17:14:03] local.INFO: Packet analysis {"connection_id":141162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:03] local.INFO: Extracted packet for processing {"connection_id":141162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954770944001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979595000,"timestamp_ms":1784979595000,"timestamp_seconds":1784979595,"priority":1,"record_length":96,"hex_timestamp":"0000019f99131ef8"} 
[2026-07-25 17:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 17:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954770944001,"66":12809,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954770944001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:14:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954770944001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":141162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:14:04] local.INFO: GPS data processed {"connection_id":141162,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:14:04] local.INFO: Acknowledgment sent {"connection_id":141162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:14:09] local.INFO: TCP Data received {"connection_id":141163,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:14:09] local.INFO: Processing buffer {"connection_id":141163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:14:09] local.INFO: IMEI packet received {"connection_id":141163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":141163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:14:26] local.INFO: TCP Data received {"connection_id":143579,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:14:26] local.INFO: Processing buffer {"connection_id":143579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:14:26] local.INFO: IMEI packet received {"connection_id":143579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":143579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:14:31] local.INFO: TCP Data received {"connection_id":143579,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:14:31] local.INFO: Processing buffer {"connection_id":143579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:14:31] local.INFO: IMEI packet received {"connection_id":143579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":143579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:14:32] local.INFO: TCP Data received {"connection_id":142197,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:14:32] local.INFO: Processing buffer {"connection_id":142197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:14:32] local.INFO: Packet analysis {"connection_id":142197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:32] local.INFO: Extracted packet for processing {"connection_id":142197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":142197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:14:32] local.INFO: GPS data processed {"connection_id":142197,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:14:32] local.INFO: Acknowledgment sent {"connection_id":142197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:14:32] local.INFO: TCP Data received {"connection_id":143579,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99137100012d1823400721b960004f012329..."} 
[2026-07-25 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99137100012d1823400721b960004f012329..."} 
[2026-07-25 17:14:32] local.INFO: Processing buffer {"connection_id":143579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99137100012d1823400721b960004f012329..."} 
[2026-07-25 17:14:32] local.INFO: Packet analysis {"connection_id":143579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:32] local.INFO: Extracted packet for processing {"connection_id":143579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954776320001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979616000,"timestamp_ms":1784979616000,"timestamp_seconds":1784979616,"priority":1,"record_length":96,"hex_timestamp":"0000019f99137100"} 
[2026-07-25 17:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568041160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":1216183010674090816,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3110076495,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":132,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879111108473261,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430079028384834341,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 17:14:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,55,159,204,45,64,185,79,41,10,66,122,40,1,240,85,227,153,33,4,113,205,132,35,96,239,50,2,31,7,164,5],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:14:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692870062973648896,"timestamp_seconds":5692870062973649.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954776320001,"66":12841,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954776320001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954776320001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":143579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:14:32] local.INFO: GPS data processed {"connection_id":143579,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:14:32] local.INFO: Acknowledgment sent {"connection_id":143579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:14:55] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:14:55] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:14:55] local.INFO: IMEI packet received {"connection_id":141230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":141230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:15:00] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:15:00] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:15:00] local.INFO: IMEI packet received {"connection_id":141230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":141230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:15:01] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:15:01] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:15:01] local.INFO: Packet analysis {"connection_id":141230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:15:01] local.INFO: Extracted packet for processing {"connection_id":141230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:15:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:15:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":141230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:15:01] local.INFO: GPS data processed {"connection_id":141230,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:15:01] local.INFO: Acknowledgment sent {"connection_id":141230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:15:03] local.INFO: TCP Data received {"connection_id":143579,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9913c308012d1823400721b960004f012329..."} 
[2026-07-25 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9913c308012d1823400721b960004f012329..."} 
[2026-07-25 17:15:03] local.INFO: Processing buffer {"connection_id":143579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9913c308012d1823400721b960004f012329..."} 
[2026-07-25 17:15:03] local.INFO: Packet analysis {"connection_id":143579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:15:03] local.INFO: Extracted packet for processing {"connection_id":143579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954781696001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979637000,"timestamp_ms":1784979637000,"timestamp_seconds":1784979637,"priority":1,"record_length":96,"hex_timestamp":"0000019f9913c308"} 
[2026-07-25 17:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 17:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954781696001,"66":12841,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954781696001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954781696001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":143579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:15:03] local.INFO: GPS data processed {"connection_id":143579,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:15:03] local.INFO: Acknowledgment sent {"connection_id":143579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:15:27] local.INFO: TCP Data received {"connection_id":143581,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:27] local.INFO: Processing buffer {"connection_id":143581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:27] local.INFO: IMEI packet received {"connection_id":143581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":143581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:15:31] local.INFO: TCP Data received {"connection_id":143581,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:31] local.INFO: Processing buffer {"connection_id":143581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:31] local.INFO: IMEI packet received {"connection_id":143581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":143581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:15:32] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:15:32] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:15:32] local.INFO: Packet analysis {"connection_id":141230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:15:32] local.INFO: Extracted packet for processing {"connection_id":141230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:15:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":141230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:15:32] local.INFO: GPS data processed {"connection_id":141230,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:15:32] local.INFO: Acknowledgment sent {"connection_id":141230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:15:36] local.INFO: TCP Data received {"connection_id":143581,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:36] local.INFO: Processing buffer {"connection_id":143581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:15:36] local.INFO: IMEI packet received {"connection_id":143581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":143581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:15:37] local.INFO: TCP Data received {"connection_id":143581,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99141510012d1823400721b960004f01232a..."} 
[2026-07-25 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99141510012d1823400721b960004f01232a..."} 
[2026-07-25 17:15:37] local.INFO: Processing buffer {"connection_id":143581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99141510012d1823400721b960004f01232a..."} 
[2026-07-25 17:15:37] local.INFO: Packet analysis {"connection_id":143581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9914"} 
[2026-07-25 17:15:37] local.INFO: Extracted packet for processing {"connection_id":143581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9914"} 
[2026-07-25 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954787072001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784979658000,"timestamp_ms":1784979658000,"timestamp_seconds":1784979658,"priority":1,"record_length":96,"hex_timestamp":"0000019f99141510"} 
[2026-07-25 17:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 17:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954787072001,"66":12809,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954787072001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954787072001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":143581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:15:37] local.INFO: GPS data processed {"connection_id":143581,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:15:37] local.INFO: Acknowledgment sent {"connection_id":143581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:15:42] local.INFO: TCP Data received {"connection_id":143581,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99146718012d1823400721b960004f01232a..."} 
[2026-07-25 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99146718012d1823400721b960004f01232a..."} 
[2026-07-25 17:15:42] local.INFO: Processing buffer {"connection_id":143581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99146718012d1823400721b960004f01232a..."} 
[2026-07-25 17:15:42] local.INFO: Packet analysis {"connection_id":143581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9914"} 
[2026-07-25 17:15:42] local.INFO: Extracted packet for processing {"connection_id":143581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9914"} 
[2026-07-25 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954792448001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784979679000,"timestamp_ms":1784979679000,"timestamp_seconds":1784979679,"priority":1,"record_length":96,"hex_timestamp":"0000019f99146718"} 
[2026-07-25 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-07-25 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568104160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":153,"raw_value":1285452243223978816,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3110076495,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121350135762515,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430079028384834344,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 17:15:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,55,159,195,45,64,185,79,41,10,66,113,30,1,240,9,227,153,33,4,205,122,35,96,239,50,2,31,7,164,5],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:15:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692870067268616192,"timestamp_seconds":5692870067268616.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 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-07-25 17:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954792448001,"66":12798,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954792448001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:15:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:15:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954792448001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":143581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:15:42] local.INFO: GPS data processed {"connection_id":143581,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:15:42] local.INFO: Acknowledgment sent {"connection_id":143581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:15:55] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:15:55] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:15:55] local.INFO: IMEI packet received {"connection_id":141164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":141164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:16:00] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:16:00] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:16:00] local.INFO: IMEI packet received {"connection_id":141164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":141164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:16:00] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:16:00] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99139040012db6310005cae678001a008730..."} 
[2026-07-25 17:16:00] local.INFO: Packet analysis {"connection_id":141164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:16:00] local.INFO: Extracted packet for processing {"connection_id":141164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9913"} 
[2026-07-25 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954706688001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784979624000,"timestamp_ms":1784979624000,"timestamp_seconds":1784979624,"priority":1,"record_length":96,"hex_timestamp":"0000019f99139040"} 
[2026-07-25 17:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 17:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954706688001,"66":25191,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954706688001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:16:00] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954706688001,"power":25191,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":141164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:16:01] local.INFO: GPS data processed {"connection_id":141164,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:16:01] local.INFO: Acknowledgment sent {"connection_id":141164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:16:26] local.INFO: TCP Data received {"connection_id":142198,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:16:26] local.INFO: Processing buffer {"connection_id":142198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:16:26] local.INFO: IMEI packet received {"connection_id":142198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":142198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:16:30] local.INFO: TCP Data received {"connection_id":142198,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142198,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:16:30] local.INFO: Processing buffer {"connection_id":142198,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:16:30] local.INFO: IMEI packet received {"connection_id":142198,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":142198,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:16:31] local.INFO: TCP Data received {"connection_id":142198,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9917ed70012d1823400721b960004f012328..."} 
[2026-07-25 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9917ed70012d1823400721b960004f012328..."} 
[2026-07-25 17:16:31] local.INFO: Processing buffer {"connection_id":142198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9917ed70012d1823400721b960004f012328..."} 
[2026-07-25 17:16:31] local.INFO: Packet analysis {"connection_id":142198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9917"} 
[2026-07-25 17:16:31] local.INFO: Extracted packet for processing {"connection_id":142198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9917"} 
[2026-07-25 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954851584001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784979910000,"timestamp_ms":1784979910000,"timestamp_seconds":1784979910,"priority":1,"record_length":96,"hex_timestamp":"0000019f9917ed70"} 
[2026-07-25 17:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":101,"data_length":795,"current_offset":136} 
[2026-07-25 17:16: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-07-25 17: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-07-25 17:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954851584001,"66":12667,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954851584001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954851584001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":142198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:16:31] local.INFO: GPS data processed {"connection_id":142198,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:16:31] local.INFO: Acknowledgment sent {"connection_id":142198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:16:32] local.INFO: TCP Data received {"connection_id":141164,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:16:32] local.INFO: Processing buffer {"connection_id":141164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:16:32] local.INFO: Packet analysis {"connection_id":141164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:16:32] local.INFO: Extracted packet for processing {"connection_id":141164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 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-07-25 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:16:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":141164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:16:32] local.INFO: GPS data processed {"connection_id":141164,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:16:32] local.INFO: Acknowledgment sent {"connection_id":141164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:17:00] local.INFO: TCP Data received {"connection_id":142199,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:00] local.INFO: Processing buffer {"connection_id":142199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:00] local.INFO: IMEI packet received {"connection_id":142199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:17:02] local.INFO: TCP Data received {"connection_id":142198,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99183f78012d1823400721b960004f01232a..."} 
[2026-07-25 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99183f78012d1823400721b960004f01232a..."} 
[2026-07-25 17:17:02] local.INFO: Processing buffer {"connection_id":142198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99183f78012d1823400721b960004f01232a..."} 
[2026-07-25 17:17:02] local.INFO: Packet analysis {"connection_id":142198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:02] local.INFO: Extracted packet for processing {"connection_id":142198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954856960001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784979931000,"timestamp_ms":1784979931000,"timestamp_seconds":1784979931,"priority":1,"record_length":96,"hex_timestamp":"0000019f99183f78"} 
[2026-07-25 17:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":123,"data_length":795,"current_offset":136} 
[2026-07-25 17:17: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-07-25 17:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142198,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954856960001,"66":12645,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954856960001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954856960001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":142198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:17:02] local.INFO: GPS data processed {"connection_id":142198,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:17:02] local.INFO: Acknowledgment sent {"connection_id":142198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:17:05] local.INFO: TCP Data received {"connection_id":142199,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:05] local.INFO: Processing buffer {"connection_id":142199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:05] local.INFO: IMEI packet received {"connection_id":142199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":142199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:17:05] local.INFO: TCP Data received {"connection_id":142199,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:17:05] local.INFO: Processing buffer {"connection_id":142199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:17:05] local.INFO: Packet analysis {"connection_id":142199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:05] local.INFO: Extracted packet for processing {"connection_id":142199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:17:05] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:17:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":142199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:17:05] local.INFO: GPS data processed {"connection_id":142199,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:17:05] local.INFO: Acknowledgment sent {"connection_id":142199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:17:10] local.INFO: TCP Data received {"connection_id":142199,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:17:10] local.INFO: Processing buffer {"connection_id":142199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:17:10] local.INFO: Packet analysis {"connection_id":142199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:10] local.INFO: Extracted packet for processing {"connection_id":142199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:17:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:17:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":142199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:17:10] local.INFO: GPS data processed {"connection_id":142199,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:17:10] local.INFO: Acknowledgment sent {"connection_id":142199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:17:26] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:17:26] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:17:26] local.INFO: IMEI packet received {"connection_id":141231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":141231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:17:31] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:17:31] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:17:31] local.INFO: IMEI packet received {"connection_id":141231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":141231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:17:32] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99189180012d1823400721b960004f01232b..."} 
[2026-07-25 17:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99189180012d1823400721b960004f01232b..."} 
[2026-07-25 17:17:32] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99189180012d1823400721b960004f01232b..."} 
[2026-07-25 17:17:32] local.INFO: Packet analysis {"connection_id":141231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:32] local.INFO: Extracted packet for processing {"connection_id":141231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954862336001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979952000,"timestamp_ms":1784979952000,"timestamp_seconds":1784979952,"priority":1,"record_length":96,"hex_timestamp":"0000019f99189180"} 
[2026-07-25 17:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-25 17:17: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-07-25 17:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954862336001,"66":12613,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954862336001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:17:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954862336001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":141231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:17:32] local.INFO: GPS data processed {"connection_id":141231,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:17:32] local.INFO: Acknowledgment sent {"connection_id":141231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:17:34] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:17:34] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:17:34] local.INFO: IMEI packet received {"connection_id":141232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":141232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:17:39] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:17:39] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:17:39] local.INFO: IMEI packet received {"connection_id":141232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":141232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:17:41] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000005dc00100000000000000000000000000..."} 
[2026-07-25 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000005dc00100000000000000000000000000..."} 
[2026-07-25 17:17:41] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000005dc00100000000000000000000000000..."} 
[2026-07-25 17:17:41] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:17:41] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 17:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110298758775832576,"note":"Value kept but may cause issues"} 
[2026-07-25 17:17:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:17:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":24000,"timestamp_seconds":24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 17:17:41] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 17:17:41] local.ERROR: GPS data processing failed {"connection_id":141232,"error":"No valid data to process"} 
[2026-07-25 17:17:41] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 17:17:55] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:55] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:17:55] local.INFO: IMEI packet received {"connection_id":141165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:18:00] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:18:00] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:18:00] local.INFO: IMEI packet received {"connection_id":141165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:18:01] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:18:01] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:18:01] local.INFO: Packet analysis {"connection_id":141165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:18:01] local.INFO: Extracted packet for processing {"connection_id":141165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:18:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:18:01] local.INFO: GPS data processed {"connection_id":141165,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:18:01] local.INFO: Acknowledgment sent {"connection_id":141165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:18:03] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9918e388012d1823400721b960004f012328..."} 
[2026-07-25 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9918e388012d1823400721b960004f012328..."} 
[2026-07-25 17:18:03] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9918e388012d1823400721b960004f012328..."} 
[2026-07-25 17:18:03] local.INFO: Packet analysis {"connection_id":141231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:18:03] local.INFO: Extracted packet for processing {"connection_id":141231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954867712001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979973000,"timestamp_ms":1784979973000,"timestamp_seconds":1784979973,"priority":1,"record_length":96,"hex_timestamp":"0000019f9918e388"} 
[2026-07-25 17:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 17:18: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-07-25 17:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954867712001,"66":12645,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954867712001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:18:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954867712001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":141231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:18:04] local.INFO: GPS data processed {"connection_id":141231,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:18:04] local.INFO: Acknowledgment sent {"connection_id":141231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:18:13] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000000000005dc00100000000000000000000000000..."} 
[2026-07-25 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000005dc00100000000000000000000000000..."} 
[2026-07-25 17:18:13] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000005dc00100000000000000000000000000..."} 
[2026-07-25 17:18:13] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:18:13] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:18: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-07-25 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110298758775832576,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,97,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:18:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":24000,"timestamp_seconds":24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:18:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 17:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 17:18:13] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 17:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 17:18:13] local.ERROR: GPS data processing failed {"connection_id":141232,"error":"No valid data to process"} 
[2026-07-25 17:18:13] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 17:18:26] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:18:26] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:18:26] local.INFO: IMEI packet received {"connection_id":143582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":143582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:18:31] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:18:31] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:18:31] local.INFO: IMEI packet received {"connection_id":143582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":143582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:18:32] local.INFO: TCP Data received {"connection_id":141165,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:18:32] local.INFO: Processing buffer {"connection_id":141165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:18:32] local.INFO: Packet analysis {"connection_id":141165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:18:32] local.INFO: Extracted packet for processing {"connection_id":141165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":141165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:18:32] local.INFO: GPS data processed {"connection_id":141165,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:18:32] local.INFO: Acknowledgment sent {"connection_id":141165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:18:32] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99193590012d1823400721b960004f01232a..."} 
[2026-07-25 17:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99193590012d1823400721b960004f01232a..."} 
[2026-07-25 17:18:32] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99193590012d1823400721b960004f01232a..."} 
[2026-07-25 17:18:32] local.INFO: Packet analysis {"connection_id":143582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:18:32] local.INFO: Extracted packet for processing {"connection_id":143582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650656,"longitude_deg":75.6556608,"latitude_deg":11.9650656,"altitude":79,"angle":291,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b960","is_valid_coordinates":true} 
[2026-07-25 17:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954873088001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786218892394496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979994000,"timestamp_ms":1784979994000,"timestamp_seconds":1784979994,"priority":1,"record_length":96,"hex_timestamp":"0000019f99193590"} 
[2026-07-25 17:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":101,"data_length":795,"current_offset":136} 
[2026-07-25 17:18: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-07-25 17: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-07-25 17:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954873088001,"66":12645,"105":206,"83":41984,"24":0,"16":8786218892394496,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954873088001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786218892394496,"km_value":8786218892394.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954873088001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":143582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:18:32] local.INFO: GPS data processed {"connection_id":143582,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:18:32] local.INFO: Acknowledgment sent {"connection_id":143582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:18:45] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991b1dd8012d7a2d4005e45db0001100730d..."} 
[2026-07-25 17:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991b1dd8012d7a2d4005e45db0001100730d..."} 
[2026-07-25 17:18:45] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991b1dd8012d7a2d4005e45db0001100730d..."} 
[2026-07-25 17:18:45] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:18:45] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":762981696,"raw_latitude":98852272,"longitude_deg":76.2981696,"latitude_deg":9.8852272,"altitude":17,"angle":115,"satellites":13,"speed":14,"hex_longitude":"2d7a2d40","hex_latitude":"05e45db0","is_valid_coordinates":true} 
[2026-07-25 17:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954910208001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110299415905828864,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803341028164519936,"note":"Value kept but may cause issues"} 
[2026-07-25 17:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784980119000,"timestamp_ms":1784980119000,"timestamp_seconds":1784980119,"priority":1,"record_length":96,"hex_timestamp":"0000019f991b1dd8"} 
[2026-07-25 17:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-25 17:18: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-07-25 17:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:18:45] 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-07-25 17:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954910208001,"66":12645,"97":206,"85":15104,"24":14,"16":110299415905828864,"45":8803341028164519936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954910208001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110299415905828864,"km_value":110299415905828.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803341028164519936,"description":"Unknown IO ID 45"} 
[2026-07-25 17:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954910208001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8803341028164519936}} 
[2026-07-25 17:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:18:45] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:18:45] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:18:56] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:18:56] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:18:56] local.INFO: IMEI packet received {"connection_id":141167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":141167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:19:00] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:19:00] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:19:00] local.INFO: IMEI packet received {"connection_id":141167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":141167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:19:01] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:19:01] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:19:01] local.INFO: Packet analysis {"connection_id":141167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:19:01] local.INFO: Extracted packet for processing {"connection_id":141167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:19:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":141167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:19:01] local.INFO: GPS data processed {"connection_id":141167,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:19:01] local.INFO: Acknowledgment sent {"connection_id":141167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:19:03] local.INFO: TCP Data received {"connection_id":143582,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99194530012d1822c00721b798004b00c228..."} 
[2026-07-25 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99194530012d1822c00721b798004b00c228..."} 
[2026-07-25 17:19:03] local.INFO: Processing buffer {"connection_id":143582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99194530012d1822c00721b798004b00c228..."} 
[2026-07-25 17:19:03] local.INFO: Packet analysis {"connection_id":143582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:19:03] local.INFO: Extracted packet for processing {"connection_id":143582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650200,"longitude_deg":75.655648,"latitude_deg":11.96502,"altitude":75,"angle":194,"satellites":40,"speed":1,"hex_longitude":"2d1822c0","hex_latitude":"0721b798","is_valid_coordinates":true} 
[2026-07-25 17:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954878464001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786240367230976,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469889024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784979998000,"timestamp_ms":1784979998000,"timestamp_seconds":1784979998,"priority":1,"record_length":96,"hex_timestamp":"0000019f99194530"} 
[2026-07-25 17:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":101,"data_length":795,"current_offset":136} 
[2026-07-25 17:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954878464001,"66":12591,"105":206,"83":41984,"24":1,"16":8786240367230976,"45":1739304280469889024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954878464001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:19:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786240367230976,"km_value":8786240367230.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469889024,"description":"Unknown IO ID 45"} 
[2026-07-25 17:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954878464001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739304280469889024}} 
[2026-07-25 17:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":143582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:19:03] local.INFO: GPS data processed {"connection_id":143582,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:19:03] local.INFO: Acknowledgment sent {"connection_id":143582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:19:26] local.INFO: TCP Data received {"connection_id":142200,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:19:26] local.INFO: Processing buffer {"connection_id":142200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:19:26] local.INFO: IMEI packet received {"connection_id":142200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":142200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:19:28] local.INFO: TCP Data received {"connection_id":141166,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:19:28] local.INFO: Processing buffer {"connection_id":141166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:19:28] local.INFO: IMEI packet received {"connection_id":141166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":141166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:19:31] local.INFO: TCP Data received {"connection_id":142200,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:19:31] local.INFO: Processing buffer {"connection_id":142200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:19:31] local.INFO: IMEI packet received {"connection_id":142200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":142200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:19:32] local.INFO: TCP Data received {"connection_id":141167,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:19:32] local.INFO: Processing buffer {"connection_id":141167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:19:32] local.INFO: Packet analysis {"connection_id":141167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:19:32] local.INFO: Extracted packet for processing {"connection_id":141167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":141167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:19:32] local.INFO: GPS data processed {"connection_id":141167,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:19:32] local.INFO: Acknowledgment sent {"connection_id":141167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:19:32] local.INFO: TCP Data received {"connection_id":142200,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99198b80012d1821c00721b600004c00d32b..."} 
[2026-07-25 17:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99198b80012d1821c00721b600004c00d32b..."} 
[2026-07-25 17:19:32] local.INFO: Processing buffer {"connection_id":142200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99198b80012d1821c00721b600004c00d32b..."} 
[2026-07-25 17:19:32] local.INFO: Packet analysis {"connection_id":142200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:19:32] local.INFO: Extracted packet for processing {"connection_id":142200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649792,"longitude_deg":75.6556224,"latitude_deg":11.9649792,"altitude":76,"angle":211,"satellites":43,"speed":1,"hex_longitude":"2d1821c0","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-07-25 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954879488001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786266137034752,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981416960,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980016000,"timestamp_ms":1784980016000,"timestamp_seconds":1784980016,"priority":1,"record_length":96,"hex_timestamp":"0000019f99198b80"} 
[2026-07-25 17:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954879488001,"66":12548,"105":206,"83":41984,"24":1,"16":8786266137034752,"45":1739163542981416960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954879488001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786266137034752,"km_value":8786266137034.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981416960,"description":"Unknown IO ID 45"} 
[2026-07-25 17:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954879488001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981416960}} 
[2026-07-25 17:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":142200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:19:32] local.INFO: GPS data processed {"connection_id":142200,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:19:32] local.INFO: Acknowledgment sent {"connection_id":142200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:19:39] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991b21c0012d7a2ec005e45db00011005e0d..."} 
[2026-07-25 17:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991b21c0012d7a2ec005e45db00011005e0d..."} 
[2026-07-25 17:19:39] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991b21c0012d7a2ec005e45db00011005e0d..."} 
[2026-07-25 17:19:39] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:19:39] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:19:39] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":98852272,"longitude_deg":76.298208,"latitude_deg":9.8852272,"altitude":17,"angle":94,"satellites":13,"speed":15,"hex_longitude":"2d7a2ec0","hex_latitude":"05e45db0","is_valid_coordinates":true} 
[2026-07-25 17:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954910464001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110299433085698048,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803763240629547008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1784980120000,"timestamp_ms":1784980120000,"timestamp_seconds":1784980120,"priority":1,"record_length":96,"hex_timestamp":"0000019f991b21c0"} 
[2026-07-25 17:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-25 17:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:19:39] 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-07-25 17:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954910464001,"66":12645,"97":206,"85":15104,"24":15,"16":110299433085698048,"45":8803763240629547008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954910464001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:19:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110299433085698048,"km_value":110299433085698.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803763240629547008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954910464001,"power":12645,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8803763240629547008}} 
[2026-07-25 17:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:19:39] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:19:39] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:19:55] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:19:55] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:19:55] local.INFO: IMEI packet received {"connection_id":141233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":141233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:20:00] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:20:00] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:20:00] local.INFO: IMEI packet received {"connection_id":141233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":141233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:20:01] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:20:01] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:20:01] local.INFO: Packet analysis {"connection_id":141233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:20:01] local.INFO: Extracted packet for processing {"connection_id":141233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:20:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":141233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:01] local.INFO: GPS data processed {"connection_id":141233,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:01] local.INFO: Acknowledgment sent {"connection_id":141233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:03] local.INFO: TCP Data received {"connection_id":142200,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9919dd88012d1820400721b3e0004d00d72a..."} 
[2026-07-25 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9919dd88012d1820400721b3e0004d00d72a..."} 
[2026-07-25 17:20:03] local.INFO: Processing buffer {"connection_id":142200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9919dd88012d1820400721b3e0004d00d72a..."} 
[2026-07-25 17:20:03] local.INFO: Packet analysis {"connection_id":142200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:20:03] local.INFO: Extracted packet for processing {"connection_id":142200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9919"} 
[2026-07-25 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954884096001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004601856,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980037000,"timestamp_ms":1784980037000,"timestamp_seconds":1784980037,"priority":1,"record_length":96,"hex_timestamp":"0000019f9919dd88"} 
[2026-07-25 17:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568482160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3110076495,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:20:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,55,159,69,45,192,183,75,40,10,66,53,64,185,79,42,227,1,240,101,153,33,4,113,205,63,35,96,239,49,2,31,7,106],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:20:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476609328519643136,"timestamp_seconds":5476609328519643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954884096001,"66":12580,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738882068004601856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954884096001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004601856,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954884096001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004601856}} 
[2026-07-25 17:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":142200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:03] local.INFO: GPS data processed {"connection_id":142200,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:03] local.INFO: Acknowledgment sent {"connection_id":142200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:10] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991c5a40012d7a5e8005e467c80003004111..."} 
[2026-07-25 17:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991c5a40012d7a5e8005e467c80003004111..."} 
[2026-07-25 17:20:10] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991c5a40012d7a5e8005e467c80003004111..."} 
[2026-07-25 17:20:10] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:20:10] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":762994304,"raw_latitude":98854856,"longitude_deg":76.2994304,"latitude_deg":9.8854856,"altitude":3,"angle":65,"satellites":17,"speed":12,"hex_longitude":"2d7a5e80","hex_latitude":"05e467c8","is_valid_coordinates":true} 
[2026-07-25 17:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954929152001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110300068740857856,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814177814768220160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784980200000,"timestamp_ms":1784980200000,"timestamp_seconds":1784980200,"priority":1,"record_length":96,"hex_timestamp":"0000019f991c5a40"} 
[2026-07-25 17:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:20: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-07-25 17:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954929152001,"66":12863,"157":206,"87":12288,"24":12,"16":110300068740857856,"45":8814177814768220160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 17:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954929152001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 17:20:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 17:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110300068740857856,"km_value":110300068740857.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814177814768220160,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954929152001,"power":12863,"unknown_157":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8814177814768220160}} 
[2026-07-25 17:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:11] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:11] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:31] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:20:31] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:20:31] local.INFO: IMEI packet received {"connection_id":141168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":141168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:20:32] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:20:32] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:20:32] local.INFO: Packet analysis {"connection_id":141233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:20:32] local.INFO: Extracted packet for processing {"connection_id":141233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":141233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:32] local.INFO: GPS data processed {"connection_id":141233,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:32] local.INFO: Acknowledgment sent {"connection_id":141233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:36] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:20:36] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:20:36] local.INFO: IMEI packet received {"connection_id":141168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":141168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:20:37] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991a2f90012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991a2f90012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:20:37] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991a2f90012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:20:37] local.INFO: Packet analysis {"connection_id":141168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991a"} 
[2026-07-25 17:20:37] local.INFO: Extracted packet for processing {"connection_id":141168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991a"} 
[2026-07-25 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954889472001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784980058000,"timestamp_ms":1784980058000,"timestamp_seconds":1784980058,"priority":1,"record_length":96,"hex_timestamp":"0000019f991a2f90"} 
[2026-07-25 17:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954889472001,"66":12558,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954889472001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954889472001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":141168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:37] local.INFO: GPS data processed {"connection_id":141168,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:37] local.INFO: Acknowledgment sent {"connection_id":141168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:42] local.INFO: TCP Data received {"connection_id":141168,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991a8198012d1820400721b3e0004d00d72a..."} 
[2026-07-25 17:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991a8198012d1820400721b3e0004d00d72a..."} 
[2026-07-25 17:20:42] local.INFO: Processing buffer {"connection_id":141168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991a8198012d1820400721b3e0004d00d72a..."} 
[2026-07-25 17:20:42] local.INFO: Packet analysis {"connection_id":141168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991a"} 
[2026-07-25 17:20:42] local.INFO: Extracted packet for processing {"connection_id":141168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991a"} 
[2026-07-25 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954894848001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784980079000,"timestamp_ms":1784980079000,"timestamp_seconds":1784980079,"priority":1,"record_length":96,"hex_timestamp":"0000019f991a8198"} 
[2026-07-25 17:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568524160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052342624,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3110076495,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":51,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,55,159,221,45,64,179,77,42,10,66,139,192,182,76,43,69,1,240,47,227,153,33,4,113,205,35,96,40,239,49,2,31,7,79,106,51,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:20:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671307719114752,"timestamp_seconds":5548671307719115.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954894848001,"66":12548,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954894848001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954894848001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":141168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:42] local.INFO: GPS data processed {"connection_id":141168,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:42] local.INFO: Acknowledgment sent {"connection_id":141168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:42] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991c65f8012d7a618005e468e00003005111..."} 
[2026-07-25 17:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991c65f8012d7a618005e468e00003005111..."} 
[2026-07-25 17:20:42] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991c65f8012d7a618005e468e00003005111..."} 
[2026-07-25 17:20:42] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:20:42] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":762995072,"raw_latitude":98855136,"longitude_deg":76.2995072,"latitude_deg":9.8855136,"altitude":3,"angle":81,"satellites":17,"speed":7,"hex_longitude":"2d7a6180","hex_latitude":"05e468e0","is_valid_coordinates":true} 
[2026-07-25 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954931200001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110300107395563520,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817625883233208320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784980203000,"timestamp_ms":1784980203000,"timestamp_seconds":1784980203,"priority":1,"record_length":96,"hex_timestamp":"0000019f991c65f8"} 
[2026-07-25 17:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 17:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:20:42] 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-07-25 17:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954931200001,"66":12841,"157":206,"87":12288,"24":7,"16":110300107395563520,"45":8817625883233208320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 17:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954931200001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 17:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110300107395563520,"km_value":110300107395563.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817625883233208320,"description":"Unknown IO ID 45"} 
[2026-07-25 17:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954931200001,"power":12841,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8817625883233208320}} 
[2026-07-25 17:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:20:42] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:20:42] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:20:55] local.INFO: TCP Data received {"connection_id":142201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:20:55] local.INFO: Processing buffer {"connection_id":142201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:20:55] local.INFO: IMEI packet received {"connection_id":142201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":142201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:21:00] local.INFO: TCP Data received {"connection_id":142201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:21:00] local.INFO: Processing buffer {"connection_id":142201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:21:00] local.INFO: IMEI packet received {"connection_id":142201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":142201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:21:01] local.INFO: TCP Data received {"connection_id":142201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:21:01] local.INFO: Processing buffer {"connection_id":142201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99182808012db6310005cae678001a00872d..."} 
[2026-07-25 17:21:01] local.INFO: Packet analysis {"connection_id":142201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:21:01] local.INFO: Extracted packet for processing {"connection_id":142201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9918"} 
[2026-07-25 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954783744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784979925000,"timestamp_ms":1784979925000,"timestamp_seconds":1784979925,"priority":1,"record_length":96,"hex_timestamp":"0000019f99182808"} 
[2026-07-25 17:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 17:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954783744001,"66":25397,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954783744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:21:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954783744001,"power":25397,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":142201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:21:01] local.INFO: GPS data processed {"connection_id":142201,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:21:01] local.INFO: Acknowledgment sent {"connection_id":142201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:21:14] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991c69e0012d7a628005e469200003006111..."} 
[2026-07-25 17:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991c69e0012d7a628005e469200003006111..."} 
[2026-07-25 17:21:14] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991c69e0012d7a628005e469200003006111..."} 
[2026-07-25 17:21:14] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:21:14] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:21:14] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":98855200,"longitude_deg":76.2995328,"latitude_deg":9.88552,"altitude":3,"angle":97,"satellites":17,"speed":5,"hex_longitude":"2d7a6280","hex_latitude":"05e46920","is_valid_coordinates":true} 
[2026-07-25 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954931968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110300120280465408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818470308163411968,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784980204000,"timestamp_ms":1784980204000,"timestamp_seconds":1784980204,"priority":1,"record_length":96,"hex_timestamp":"0000019f991c69e0"} 
[2026-07-25 17:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 17:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:21:14] 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-07-25 17:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954931968001,"66":12841,"157":206,"87":12288,"24":5,"16":110300120280465408,"45":8818470308163411968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 17:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954931968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:21:14] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 17:21:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 17:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110300120280465408,"km_value":110300120280465.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818470308163411968,"description":"Unknown IO ID 45"} 
[2026-07-25 17:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954931968001,"power":12841,"unknown_157":206,"unknown_87":12288,"ignition":5,"odometer":null,"unknown_45":8818470308163411968}} 
[2026-07-25 17:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:21:14] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:21:14] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:21:26] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:21:26] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:21:26] local.INFO: IMEI packet received {"connection_id":143583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":143583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:21:31] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:21:31] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:21:31] local.INFO: IMEI packet received {"connection_id":143583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":143583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:21:32] local.INFO: TCP Data received {"connection_id":142201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:21:32] local.INFO: Processing buffer {"connection_id":142201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:21:32] local.INFO: Packet analysis {"connection_id":142201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:21:32] local.INFO: Extracted packet for processing {"connection_id":142201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:21: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-07-25 17:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":142201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:21:32] local.INFO: GPS data processed {"connection_id":142201,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:21:32] local.INFO: Acknowledgment sent {"connection_id":142201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:21:32] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991ad3a0012d1820400721b3e0004d00d729..."} 
[2026-07-25 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991ad3a0012d1820400721b3e0004d00d729..."} 
[2026-07-25 17:21:32] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991ad3a0012d1820400721b3e0004d00d729..."} 
[2026-07-25 17:21:32] local.INFO: Packet analysis {"connection_id":143583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991a"} 
[2026-07-25 17:21:32] local.INFO: Extracted packet for processing {"connection_id":143583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991a"} 
[2026-07-25 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954900224001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980100000,"timestamp_ms":1784980100000,"timestamp_seconds":1784980100,"priority":1,"record_length":96,"hex_timestamp":"0000019f991ad3a0"} 
[2026-07-25 17:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568545160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3080192075,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,55,159,47,45,64,179,77,40,10,66,221,42,139,192,1,240,4,227,153,33,113,205,53,35,96,239,49,2,31,7,79,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:21:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671316309049344,"timestamp_seconds":5548671316309049.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954900224001,"66":12515,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954900224001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954900224001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":143583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:21:32] local.INFO: GPS data processed {"connection_id":143583,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:21:32] local.INFO: Acknowledgment sent {"connection_id":143583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:21:45] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991c7d68012d7a654005e468c80001006e12..."} 
[2026-07-25 17:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991c7d68012d7a654005e468c80001006e12..."} 
[2026-07-25 17:21:45] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991c7d68012d7a654005e468c80001006e12..."} 
[2026-07-25 17:21:45] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:21:45] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":762996032,"raw_latitude":98855112,"longitude_deg":76.2996032,"latitude_deg":9.8855112,"altitude":1,"angle":110,"satellites":18,"speed":10,"hex_longitude":"2d7a6540","hex_latitude":"05e468c8","is_valid_coordinates":true} 
[2026-07-25 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954932224001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110300154640203776,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818751783140139008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784980209000,"timestamp_ms":1784980209000,"timestamp_seconds":1784980209,"priority":1,"record_length":96,"hex_timestamp":"0000019f991c7d68"} 
[2026-07-25 17:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 17:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:21:45] 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-07-25 17:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954932224001,"66":12961,"157":206,"87":12288,"24":10,"16":110300154640203776,"45":8818751783140139008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-25 17:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954932224001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:21:45] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 17:21:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-25 17:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110300154640203776,"km_value":110300154640203.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818751783140139008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954932224001,"power":12961,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8818751783140139008}} 
[2026-07-25 17:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:21:45] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:21:45] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:00] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:00] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:00] local.INFO: IMEI packet received {"connection_id":141169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":141169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:22:03] local.INFO: TCP Data received {"connection_id":143583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991b25a8012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991b25a8012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:22:03] local.INFO: Processing buffer {"connection_id":143583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991b25a8012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:22:03] local.INFO: Packet analysis {"connection_id":143583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:22:03] local.INFO: Extracted packet for processing {"connection_id":143583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954905600001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980121000,"timestamp_ms":1784980121000,"timestamp_seconds":1784980121,"priority":1,"record_length":96,"hex_timestamp":"0000019f991b25a8"} 
[2026-07-25 17:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954905600001,"66":12548,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954905600001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954905600001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":143583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:03] local.INFO: GPS data processed {"connection_id":143583,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:03] local.INFO: Acknowledgment sent {"connection_id":143583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:05] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:05] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:05] local.INFO: IMEI packet received {"connection_id":141169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":141169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:22:06] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:22:06] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:22:06] local.INFO: Packet analysis {"connection_id":141169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:22:06] local.INFO: Extracted packet for processing {"connection_id":141169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:06] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":141169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:06] local.INFO: GPS data processed {"connection_id":141169,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:06] local.INFO: Acknowledgment sent {"connection_id":141169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:10] local.INFO: TCP Data received {"connection_id":141169,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:22:10] local.INFO: Processing buffer {"connection_id":141169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:22:10] local.INFO: Packet analysis {"connection_id":141169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:22:10] local.INFO: Extracted packet for processing {"connection_id":141169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:10] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":141169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:10] local.INFO: GPS data processed {"connection_id":141169,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:10] local.INFO: Acknowledgment sent {"connection_id":141169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:14] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:14] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:14] local.INFO: IMEI packet received {"connection_id":141234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":141234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:22:14] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:14] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:14] local.INFO: IMEI packet received {"connection_id":141234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":141234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:22:19] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:19] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:22:19] local.INFO: IMEI packet received {"connection_id":141234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":141234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:22:20] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991e0fc0012d7af80005e382e8000900a913..."} 
[2026-07-25 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991e0fc0012d7af80005e382e8000900a913..."} 
[2026-07-25 17:22:20] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991e0fc0012d7af80005e382e8000900a913..."} 
[2026-07-25 17:22:20] local.INFO: Packet analysis {"connection_id":141234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:22:20] local.INFO: Extracted packet for processing {"connection_id":141234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:22:20] local.INFO: GPS Element Parsed {"raw_longitude":763033600,"raw_latitude":98796264,"longitude_deg":76.30336,"latitude_deg":9.8796264,"altitude":9,"angle":169,"satellites":19,"speed":7,"hex_longitude":"2d7af800","hex_latitude":"05e382e8","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954955520001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110303685103321088,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858721229819076608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784980312000,"timestamp_ms":1784980312000,"timestamp_seconds":1784980312,"priority":1,"record_length":96,"hex_timestamp":"0000019f991e0fc0"} 
[2026-07-25 17:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:22:20] 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-07-25 17:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954955520001,"66":12765,"97":206,"85":15104,"24":7,"16":110303685103321088,"45":8858721229819076608},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954955520001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110303685103321088,"km_value":110303685103321.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858721229819076608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954955520001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8858721229819076608}} 
[2026-07-25 17:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":141234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:20] local.INFO: GPS data processed {"connection_id":141234,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:20] local.INFO: Acknowledgment sent {"connection_id":141234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:24] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991e1f60012d7af88005e37fb00008009e13..."} 
[2026-07-25 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991e1f60012d7af88005e37fb00008009e13..."} 
[2026-07-25 17:22:24] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991e1f60012d7af88005e37fb00008009e13..."} 
[2026-07-25 17:22:24] local.INFO: Packet analysis {"connection_id":141234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:22:24] local.INFO: Extracted packet for processing {"connection_id":141234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763033728,"raw_latitude":98795440,"longitude_deg":76.3033728,"latitude_deg":9.879544,"altitude":8,"angle":158,"satellites":19,"speed":10,"hex_longitude":"2d7af880","hex_latitude":"05e37fb0","is_valid_coordinates":true} 
[2026-07-25 17:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954959872001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110303728052994048,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860832292143294464,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784980316000,"timestamp_ms":1784980316000,"timestamp_seconds":1784980316,"priority":1,"record_length":96,"hex_timestamp":"0000019f991e1f60"} 
[2026-07-25 17:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":141234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:22:24] 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-07-25 17:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954959872001,"66":13015,"97":206,"85":15104,"24":10,"16":110303728052994048,"45":8860832292143294464},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954959872001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110303728052994048,"km_value":110303728052994.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860832292143294464,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954959872001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8860832292143294464}} 
[2026-07-25 17:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":141234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:24] local.INFO: GPS data processed {"connection_id":141234,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:24] local.INFO: Acknowledgment sent {"connection_id":141234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:26] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:22:26] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:22:26] local.INFO: IMEI packet received {"connection_id":141235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":141235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:22:31] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:22:31] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:22:31] local.INFO: IMEI packet received {"connection_id":141235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":141235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:22:32] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991b77b0012d1820400721b3e0004d00d72b..."} 
[2026-07-25 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991b77b0012d1820400721b3e0004d00d72b..."} 
[2026-07-25 17:22:32] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991b77b0012d1820400721b3e0004d00d72b..."} 
[2026-07-25 17:22:32] local.INFO: Packet analysis {"connection_id":141235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:22:32] local.INFO: Extracted packet for processing {"connection_id":141235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954910976001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980142000,"timestamp_ms":1784980142000,"timestamp_seconds":1784980142,"priority":1,"record_length":96,"hex_timestamp":"0000019f991b77b0"} 
[2026-07-25 17:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568570160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":139,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,55,159,211,45,64,179,77,41,10,66,129,42,47,1,240,14,227,153,33,4,113,205,139,43,239,49,2,31,7,75,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:22:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671307719114752,"timestamp_seconds":5548671307719115.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954910976001,"66":12526,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954910976001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954910976001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":141235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:32] local.INFO: GPS data processed {"connection_id":141235,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:32] local.INFO: Acknowledgment sent {"connection_id":141235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:22:55] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:55] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:22:55] local.INFO: IMEI packet received {"connection_id":141170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":141170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:22:55] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991e5de0012d7b038005e35bd00003009e13..."} 
[2026-07-25 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991e5de0012d7b038005e35bd00003009e13..."} 
[2026-07-25 17:22:55] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991e5de0012d7b038005e35bd00003009e13..."} 
[2026-07-25 17:22:55] local.INFO: Packet analysis {"connection_id":141234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:22:55] local.INFO: Extracted packet for processing {"connection_id":141234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763036544,"raw_latitude":98786256,"longitude_deg":76.3036544,"latitude_deg":9.8786256,"altitude":3,"angle":158,"satellites":19,"speed":33,"hex_longitude":"2d7b0380","hex_latitude":"05e35bd0","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954960896001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110304191909462016,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860973029631438848,"note":"Value kept but may cause issues"} 
[2026-07-25 17:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784980332000,"timestamp_ms":1784980332000,"timestamp_seconds":1784980332,"priority":1,"record_length":96,"hex_timestamp":"0000019f991e5de0"} 
[2026-07-25 17:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 17:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:22:55] 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-07-25 17:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954960896001,"66":12439,"97":206,"85":15104,"24":33,"16":110304191909462016,"45":8860973029631438848},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954960896001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:22:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110304191909462016,"km_value":110304191909462.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860973029631438848,"description":"Unknown IO ID 45"} 
[2026-07-25 17:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954960896001,"power":12439,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8860973029631438848}} 
[2026-07-25 17:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":141234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:22:55] local.INFO: GPS data processed {"connection_id":141234,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:22:55] local.INFO: Acknowledgment sent {"connection_id":141234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:23:00] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:23:00] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:23:00] local.INFO: IMEI packet received {"connection_id":141170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":141170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:23:01] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:23:01] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:23:01] local.INFO: Packet analysis {"connection_id":141170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:23:01] local.INFO: Extracted packet for processing {"connection_id":141170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:23:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":141170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:23:01] local.INFO: GPS data processed {"connection_id":141170,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:23:01] local.INFO: Acknowledgment sent {"connection_id":141170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:23:03] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991bc9b8012d1820400721b3e0004d00d729..."} 
[2026-07-25 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991bc9b8012d1820400721b3e0004d00d729..."} 
[2026-07-25 17:23:03] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991bc9b8012d1820400721b3e0004d00d729..."} 
[2026-07-25 17:23:03] local.INFO: Packet analysis {"connection_id":141235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:23:03] local.INFO: Extracted packet for processing {"connection_id":141235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991b"} 
[2026-07-25 17:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954916352001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980163000,"timestamp_ms":1784980163000,"timestamp_seconds":1784980163,"priority":1,"record_length":96,"hex_timestamp":"0000019f991bc9b8"} 
[2026-07-25 17:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 17:23: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-07-25 17:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954916352001,"66":12526,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954916352001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954916352001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":141235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:23:03] local.INFO: GPS data processed {"connection_id":141235,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:23:03] local.INFO: Acknowledgment sent {"connection_id":141235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:23:24] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:24] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:24] local.INFO: IMEI packet received {"connection_id":143584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":143584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:23:26] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:26] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:26] local.INFO: IMEI packet received {"connection_id":143584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":143584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:23:27] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991e9c60012d7b0e0005e33c80000800ab12..."} 
[2026-07-25 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991e9c60012d7b0e0005e33c80000800ab12..."} 
[2026-07-25 17:23:27] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991e9c60012d7b0e0005e33c80000800ab12..."} 
[2026-07-25 17:23:27] local.INFO: Packet analysis {"connection_id":141234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:23:27] local.INFO: Extracted packet for processing {"connection_id":141234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98778240,"longitude_deg":76.3039232,"latitude_deg":9.877824,"altitude":8,"angle":171,"satellites":18,"speed":19,"hex_longitude":"2d7b0e00","hex_latitude":"05e33c80","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954964992001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110304604226322432,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864069254372904960,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784980348000,"timestamp_ms":1784980348000,"timestamp_seconds":1784980348,"priority":1,"record_length":96,"hex_timestamp":"0000019f991e9c60"} 
[2026-07-25 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-07-25 17:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 17:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:23: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-07-25 17:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954964992001,"66":12961,"97":206,"85":15104,"24":19,"16":110304604226322432,"45":8864069254372904960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954964992001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:23:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110304604226322432,"km_value":110304604226322.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864069254372904960,"description":"Unknown IO ID 45"} 
[2026-07-25 17:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954964992001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8864069254372904960}} 
[2026-07-25 17:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":141234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:23:27] local.INFO: GPS data processed {"connection_id":141234,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:23:27] local.INFO: Acknowledgment sent {"connection_id":141234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:23:31] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:31] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:23:31] local.INFO: IMEI packet received {"connection_id":143584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":143584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:23:32] local.INFO: TCP Data received {"connection_id":141170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:23:32] local.INFO: Processing buffer {"connection_id":141170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:23:32] local.INFO: Packet analysis {"connection_id":141170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:23:32] local.INFO: Extracted packet for processing {"connection_id":141170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 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-07-25 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:23: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-07-25 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-07-25 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-07-25 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":141170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:23:32] local.INFO: GPS data processed {"connection_id":141170,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:23:32] local.INFO: Acknowledgment sent {"connection_id":141170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:23:32] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991c1bc0012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991c1bc0012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:23:32] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991c1bc0012d1820400721b3e0004d00d728..."} 
[2026-07-25 17:23:32] local.INFO: Packet analysis {"connection_id":143584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:23:32] local.INFO: Extracted packet for processing {"connection_id":143584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954921728001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980184000,"timestamp_ms":1784980184000,"timestamp_seconds":1784980184,"priority":1,"record_length":96,"hex_timestamp":"0000019f991c1bc0"} 
[2026-07-25 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-07-25 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 17:23: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-07-25 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-07-25 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-07-25 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954921728001,"66":12548,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954921728001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954921728001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":143584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:23:32] local.INFO: GPS data processed {"connection_id":143584,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:23:32] local.INFO: Acknowledgment sent {"connection_id":143584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:23:55] local.INFO: TCP Data received {"connection_id":142203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:23:55] local.INFO: Processing buffer {"connection_id":142203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:23:55] local.INFO: IMEI packet received {"connection_id":142203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":142203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:24:00] local.INFO: TCP Data received {"connection_id":142203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:24:00] local.INFO: Processing buffer {"connection_id":142203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:24:00] local.INFO: IMEI packet received {"connection_id":142203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":142203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:24:01] local.INFO: TCP Data received {"connection_id":142203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:24:01] local.INFO: Processing buffer {"connection_id":142203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:24:01] local.INFO: Packet analysis {"connection_id":142203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:01] local.INFO: Extracted packet for processing {"connection_id":142203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:24:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":142203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:24:01] local.INFO: GPS data processed {"connection_id":142203,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:24:01] local.INFO: Acknowledgment sent {"connection_id":142203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:24:03] local.INFO: TCP Data received {"connection_id":143584,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991c6dc8012d1820400721b3e0004d00d727..."} 
[2026-07-25 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991c6dc8012d1820400721b3e0004d00d727..."} 
[2026-07-25 17:24:03] local.INFO: Processing buffer {"connection_id":143584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991c6dc8012d1820400721b3e0004d00d727..."} 
[2026-07-25 17:24:03] local.INFO: Packet analysis {"connection_id":143584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:03] local.INFO: Extracted packet for processing {"connection_id":143584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649248,"longitude_deg":75.655584,"latitude_deg":11.9649248,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3e0","is_valid_coordinates":true} 
[2026-07-25 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954927104001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786300496773120,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980205000,"timestamp_ms":1784980205000,"timestamp_seconds":1784980205,"priority":1,"record_length":96,"hex_timestamp":"0000019f991c6dc8"} 
[2026-07-25 17:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2568630160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3017801805,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,55,159,201,45,64,179,77,41,10,66,119,43,37,1,240,4,227,153,33,113,205,129,32,224,42,239,49,2,31,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 17:24:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548671307719114752,"timestamp_seconds":5548671307719115.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954927104001,"66":12526,"105":206,"83":41984,"24":0,"16":8786300496773120,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954927104001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786300496773120,"km_value":8786300496773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954927104001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":143584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:24:03] local.INFO: GPS data processed {"connection_id":143584,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:24:03] local.INFO: Acknowledgment sent {"connection_id":143584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:24:09] local.INFO: TCP Data received {"connection_id":141236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:24:09] local.INFO: Processing buffer {"connection_id":141236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:24:09] local.INFO: IMEI packet received {"connection_id":141236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":141236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:24:14] local.INFO: TCP Data received {"connection_id":141236,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:24:14] local.INFO: Processing buffer {"connection_id":141236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:24:14] local.INFO: IMEI packet received {"connection_id":141236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":141236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:24:15] local.INFO: TCP Data received {"connection_id":141236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991eafe8012d7b0d4005e33278000800b814..."} 
[2026-07-25 17:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991eafe8012d7b0d4005e33278000800b814..."} 
[2026-07-25 17:24:15] local.INFO: Processing buffer {"connection_id":141236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991eafe8012d7b0d4005e33278000800b814..."} 
[2026-07-25 17:24:15] local.INFO: Packet analysis {"connection_id":141236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:24:15] local.INFO: Extracted packet for processing {"connection_id":141236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991e"} 
[2026-07-25 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98775672,"longitude_deg":76.303904,"latitude_deg":9.8775672,"altitude":8,"angle":184,"satellites":20,"speed":21,"hex_longitude":"2d7b0d40","hex_latitude":"05e33278","is_valid_coordinates":true} 
[2026-07-25 17:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954969088001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110304728780374016,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741626314752,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784980353000,"timestamp_ms":1784980353000,"timestamp_seconds":1784980353,"priority":1,"record_length":96,"hex_timestamp":"0000019f991eafe8"} 
[2026-07-25 17:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-25 17:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:24:15] 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-07-25 17:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954969088001,"66":13091,"97":206,"85":15104,"24":21,"16":110304728780374016,"45":8867024741626314752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954969088001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:24:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110304728780374016,"km_value":110304728780374.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741626314752,"description":"Unknown IO ID 45"} 
[2026-07-25 17:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954969088001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8867024741626314752}} 
[2026-07-25 17:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":141236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:24:15] local.INFO: GPS data processed {"connection_id":141236,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:24:15] local.INFO: Acknowledgment sent {"connection_id":141236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:24:26] local.INFO: TCP Data received {"connection_id":143585,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:26] local.INFO: Processing buffer {"connection_id":143585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:26] local.INFO: IMEI packet received {"connection_id":143585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":143585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:24:27] local.INFO: TCP Data received {"connection_id":143585,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:27] local.INFO: Processing buffer {"connection_id":143585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:27] local.INFO: IMEI packet received {"connection_id":143585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":143585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:24:31] local.INFO: TCP Data received {"connection_id":143585,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:31] local.INFO: Processing buffer {"connection_id":143585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:24:31] local.INFO: IMEI packet received {"connection_id":143585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":143585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:24:32] local.INFO: TCP Data received {"connection_id":142203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:24:32] local.INFO: Processing buffer {"connection_id":142203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:24:32] local.INFO: Packet analysis {"connection_id":142203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:32] local.INFO: Extracted packet for processing {"connection_id":142203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:24: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-07-25 17: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-07-25 17:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":142203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:24:32] local.INFO: GPS data processed {"connection_id":142203,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:24:32] local.INFO: Acknowledgment sent {"connection_id":142203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:24:32] local.INFO: TCP Data received {"connection_id":143585,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991ca090012d181ec00721b230005200c929..."} 
[2026-07-25 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991ca090012d181ec00721b230005200c929..."} 
[2026-07-25 17:24:32] local.INFO: Processing buffer {"connection_id":143585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991ca090012d181ec00721b230005200c929..."} 
[2026-07-25 17:24:32] local.INFO: Packet analysis {"connection_id":143585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:32] local.INFO: Extracted packet for processing {"connection_id":143585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648816,"longitude_deg":75.6555456,"latitude_deg":11.9648816,"altitude":82,"angle":201,"satellites":41,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721b230","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954932480001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786330561544192,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539396608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980218000,"timestamp_ms":1784980218000,"timestamp_seconds":1784980218,"priority":1,"record_length":96,"hex_timestamp":"0000019f991ca090"} 
[2026-07-25 17:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17: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-07-25 17:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954932480001,"66":12526,"105":206,"83":41984,"24":1,"16":8786330561544192,"45":1738459855539396608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954932480001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786330561544192,"km_value":8786330561544.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539396608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954932480001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738459855539396608}} 
[2026-07-25 17:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":143585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:24:32] local.INFO: GPS data processed {"connection_id":143585,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:24:32] local.INFO: Acknowledgment sent {"connection_id":143585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:24:47] local.INFO: TCP Data received {"connection_id":141236,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991f01f0012d7b0dc005e32208000800ba13..."} 
[2026-07-25 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991f01f0012d7b0dc005e32208000800ba13..."} 
[2026-07-25 17:24:47] local.INFO: Processing buffer {"connection_id":141236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991f01f0012d7b0dc005e32208000800ba13..."} 
[2026-07-25 17:24:47] local.INFO: Packet analysis {"connection_id":141236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991f"} 
[2026-07-25 17:24:47] local.INFO: Extracted packet for processing {"connection_id":141236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991f"} 
[2026-07-25 17:24:47] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98771464,"longitude_deg":76.3039168,"latitude_deg":9.8771464,"altitude":8,"angle":186,"satellites":19,"speed":0,"hex_longitude":"2d7b0dc0","hex_latitude":"05e32208","is_valid_coordinates":true} 
[2026-07-25 17:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954970368001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110304943528738816,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635393124352,"note":"Value kept but may cause issues"} 
[2026-07-25 17:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784980374000,"timestamp_ms":1784980374000,"timestamp_seconds":1784980374,"priority":1,"record_length":96,"hex_timestamp":"0000019f991f01f0"} 
[2026-07-25 17:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 17:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:24:47] 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-07-25 17:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954970368001,"66":12461,"97":206,"85":15104,"24":0,"16":110304943528738816,"45":8866813635393124352},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954970368001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:24:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110304943528738816,"km_value":110304943528738.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635393124352,"description":"Unknown IO ID 45"} 
[2026-07-25 17:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954970368001,"power":12461,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866813635393124352}} 
[2026-07-25 17:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":141236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:24:47] local.INFO: GPS data processed {"connection_id":141236,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:24:47] local.INFO: Acknowledgment sent {"connection_id":141236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:24:55] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:24:55] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:24:55] local.INFO: IMEI packet received {"connection_id":141237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":141237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:24:59] local.INFO: TCP Data received {"connection_id":142202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:24:59] local.INFO: Processing buffer {"connection_id":142202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:24:59] local.INFO: IMEI packet received {"connection_id":142202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":142202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:25:00] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:25:00] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:25:00] local.INFO: IMEI packet received {"connection_id":141237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":141237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:25:01] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:25:01] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:25:01] local.INFO: Packet analysis {"connection_id":141237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:25:01] local.INFO: Extracted packet for processing {"connection_id":141237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:25:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":141237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:25:01] local.INFO: GPS data processed {"connection_id":141237,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:25:01] local.INFO: Acknowledgment sent {"connection_id":141237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:25:03] local.INFO: TCP Data received {"connection_id":143585,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f991ca478012d181ec00721b210005200bb2a..."} 
[2026-07-25 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991ca478012d181ec00721b210005200bb2a..."} 
[2026-07-25 17:25:03] local.INFO: Processing buffer {"connection_id":143585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991ca478012d181ec00721b210005200bb2a..."} 
[2026-07-25 17:25:03] local.INFO: Packet analysis {"connection_id":143585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:25:03] local.INFO: Extracted packet for processing {"connection_id":143585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648784,"longitude_deg":75.6555456,"latitude_deg":11.9648784,"altitude":82,"angle":187,"satellites":42,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721b210","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954935808001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786330561544192,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074220032,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980219000,"timestamp_ms":1784980219000,"timestamp_seconds":1784980219,"priority":1,"record_length":96,"hex_timestamp":"0000019f991ca478"} 
[2026-07-25 17:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 17:25: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-07-25 17: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-07-25 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954935808001,"66":12493,"105":206,"83":41984,"24":1,"16":8786330561544192,"45":1738037643074220032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954935808001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786330561544192,"km_value":8786330561544.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074220032,"description":"Unknown IO ID 45"} 
[2026-07-25 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954935808001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738037643074220032}} 
[2026-07-25 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":143585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:25:03] local.INFO: GPS data processed {"connection_id":143585,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:25:03] local.INFO: Acknowledgment sent {"connection_id":143585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:25:09] local.INFO: TCP Data received {"connection_id":142204,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:25:09] local.INFO: Processing buffer {"connection_id":142204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:25:09] local.INFO: IMEI packet received {"connection_id":142204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":142204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:25:14] local.INFO: TCP Data received {"connection_id":142204,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:25:14] local.INFO: Processing buffer {"connection_id":142204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:25:14] local.INFO: IMEI packet received {"connection_id":142204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":142204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:25:15] local.INFO: TCP Data received {"connection_id":142204,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f991f3c88012d7b0f4005e31470000700ae12..."} 
[2026-07-25 17:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991f3c88012d7b0f4005e31470000700ae12..."} 
[2026-07-25 17:25:15] local.INFO: Processing buffer {"connection_id":142204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991f3c88012d7b0f4005e31470000700ae12..."} 
[2026-07-25 17:25:15] local.INFO: Packet analysis {"connection_id":142204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991f"} 
[2026-07-25 17:25:15] local.INFO: Extracted packet for processing {"connection_id":142204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991f"} 
[2026-07-25 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98767984,"longitude_deg":76.3039552,"latitude_deg":9.8767984,"altitude":7,"angle":174,"satellites":18,"speed":23,"hex_longitude":"2d7b0f40","hex_latitude":"05e31470","is_valid_coordinates":true} 
[2026-07-25 17:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954975744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110305141097234432,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372880402432,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784980389000,"timestamp_ms":1784980389000,"timestamp_seconds":1784980389,"priority":1,"record_length":96,"hex_timestamp":"0000019f991f3c88"} 
[2026-07-25 17:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:25:15] 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-07-25 17:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954975744001,"66":12863,"97":206,"85":15104,"24":23,"16":110305141097234432,"45":8866954372880402432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-25 17:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954975744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-25 17:25:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110305141097234432,"km_value":110305141097234.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372880402432,"description":"Unknown IO ID 45"} 
[2026-07-25 17:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954975744001,"power":12863,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8866954372880402432}} 
[2026-07-25 17:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":142204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:25:15] local.INFO: GPS data processed {"connection_id":142204,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:25:15] local.INFO: Acknowledgment sent {"connection_id":142204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:25:26] local.INFO: TCP Data received {"connection_id":142205,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:25:26] local.INFO: Processing buffer {"connection_id":142205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:25:26] local.INFO: IMEI packet received {"connection_id":142205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":142205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:25:30] local.INFO: TCP Data received {"connection_id":142205,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:25:30] local.INFO: Processing buffer {"connection_id":142205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:25:30] local.INFO: IMEI packet received {"connection_id":142205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":142205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:25:31] local.INFO: TCP Data received {"connection_id":142205,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99202ad0012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99202ad0012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:25:31] local.INFO: Processing buffer {"connection_id":142205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99202ad0012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:25:31] local.INFO: Packet analysis {"connection_id":142205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9920"} 
[2026-07-25 17:25:31] local.INFO: Extracted packet for processing {"connection_id":142205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9920"} 
[2026-07-25 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954989824001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784980450000,"timestamp_ms":1784980450000,"timestamp_seconds":1784980450,"priority":1,"record_length":96,"hex_timestamp":"0000019f99202ad0"} 
[2026-07-25 17:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954989824001,"66":12504,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954989824001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954989824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":142205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:25:31] local.INFO: GPS data processed {"connection_id":142205,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:25:31] local.INFO: Acknowledgment sent {"connection_id":142205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:25:32] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:25:32] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:25:32] local.INFO: Packet analysis {"connection_id":141237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:25:32] local.INFO: Extracted packet for processing {"connection_id":141237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:25:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:25: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-07-25 17:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:25:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":141237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:25:32] local.INFO: GPS data processed {"connection_id":141237,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:25:32] local.INFO: Acknowledgment sent {"connection_id":141237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:25:50] local.INFO: TCP Data received {"connection_id":142204,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99216b20012d7b2b0005e259f8000000bb15..."} 
[2026-07-25 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99216b20012d7b2b0005e259f8000000bb15..."} 
[2026-07-25 17:25:50] local.INFO: Processing buffer {"connection_id":142204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99216b20012d7b2b0005e259f8000000bb15..."} 
[2026-07-25 17:25:50] local.INFO: Packet analysis {"connection_id":142204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:25:50] local.INFO: Extracted packet for processing {"connection_id":142204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":763046656,"raw_latitude":98720248,"longitude_deg":76.3046656,"latitude_deg":9.8720248,"altitude":0,"angle":187,"satellites":21,"speed":13,"hex_longitude":"2d7b2b00","hex_latitude":"05e259f8","is_valid_coordinates":true} 
[2026-07-25 17:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955012608001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110307559163822080,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253425334272,"note":"Value kept but may cause issues"} 
[2026-07-25 17:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784980532000,"timestamp_ms":1784980532000,"timestamp_seconds":1784980532,"priority":1,"record_length":96,"hex_timestamp":"0000019f99216b20"} 
[2026-07-25 17:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 17:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:25:50] 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-07-25 17:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955012608001,"66":12841,"96":206,"85":15104,"24":13,"16":110307559163822080,"45":8875328253425334272},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955012608001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:25:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110307559163822080,"km_value":110307559163822.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253425334272,"description":"Unknown IO ID 45"} 
[2026-07-25 17:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955012608001,"power":12841,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8875328253425334272}} 
[2026-07-25 17:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":142204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:25:50] local.INFO: GPS data processed {"connection_id":142204,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:25:50] local.INFO: Acknowledgment sent {"connection_id":142204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:25:55] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:25:55] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:25:55] local.INFO: IMEI packet received {"connection_id":143586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":143586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:26:00] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:26:00] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:26:00] local.INFO: IMEI packet received {"connection_id":143586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":143586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:26:01] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:26:01] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f991cbfd0012db6310005cae678001a00872e..."} 
[2026-07-25 17:26:01] local.INFO: Packet analysis {"connection_id":143586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:26:01] local.INFO: Extracted packet for processing {"connection_id":143586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f991c"} 
[2026-07-25 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954860800001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980226000,"timestamp_ms":1784980226000,"timestamp_seconds":1784980226,"priority":1,"record_length":96,"hex_timestamp":"0000019f991cbfd0"} 
[2026-07-25 17:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954860800001,"66":25734,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954860800001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954860800001,"power":25734,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":143586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:01] local.INFO: GPS data processed {"connection_id":143586,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:01] local.INFO: Acknowledgment sent {"connection_id":143586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:02] local.INFO: TCP Data received {"connection_id":142205,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99207cd8012d181ec00721b1c8005200c628..."} 
[2026-07-25 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99207cd8012d181ec00721b1c8005200c628..."} 
[2026-07-25 17:26:02] local.INFO: Processing buffer {"connection_id":142205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99207cd8012d181ec00721b1c8005200c628..."} 
[2026-07-25 17:26:02] local.INFO: Packet analysis {"connection_id":142205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9920"} 
[2026-07-25 17:26:02] local.INFO: Extracted packet for processing {"connection_id":142205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9920"} 
[2026-07-25 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954995200001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784980471000,"timestamp_ms":1784980471000,"timestamp_seconds":1784980471,"priority":1,"record_length":96,"hex_timestamp":"0000019f99207cd8"} 
[2026-07-25 17:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 17:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954995200001,"66":12504,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954995200001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954995200001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":142205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:02] local.INFO: GPS data processed {"connection_id":142205,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:02] local.INFO: Acknowledgment sent {"connection_id":142205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:09] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:09] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:09] local.INFO: IMEI packet received {"connection_id":141238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":141238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:26:13] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:13] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:13] local.INFO: IMEI packet received {"connection_id":141238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":141238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:26:14] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:14] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:26:14] local.INFO: IMEI packet received {"connection_id":141238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":141238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:26:14] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99217ac0012d7b2d4005e25570000000af14..."} 
[2026-07-25 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99217ac0012d7b2d4005e25570000000af14..."} 
[2026-07-25 17:26:14] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99217ac0012d7b2d4005e25570000000af14..."} 
[2026-07-25 17:26:14] local.INFO: Packet analysis {"connection_id":141238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:14] local.INFO: Extracted packet for processing {"connection_id":141238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:14] local.INFO: GPS Element Parsed {"raw_longitude":763047232,"raw_latitude":98719088,"longitude_deg":76.3047232,"latitude_deg":9.8719088,"altitude":0,"angle":175,"satellites":20,"speed":13,"hex_longitude":"2d7b2d40","hex_latitude":"05e25570","is_valid_coordinates":true} 
[2026-07-25 17:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955016192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110307623588331520,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875187515936077824,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784980536000,"timestamp_ms":1784980536000,"timestamp_seconds":1784980536,"priority":1,"record_length":96,"hex_timestamp":"0000019f99217ac0"} 
[2026-07-25 17:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:26: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-07-25 17:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 17:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:26:14] 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-07-25 17:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955016192001,"66":13048,"96":206,"85":15104,"24":13,"16":110307623588331520,"45":8875187515936077824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955016192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:26:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110307623588331520,"km_value":110307623588331.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875187515936077824,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955016192001,"power":13048,"unknown_96":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8875187515936077824}} 
[2026-07-25 17:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":141238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:14] local.INFO: GPS data processed {"connection_id":141238,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:14] local.INFO: Acknowledgment sent {"connection_id":141238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:19] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99219230012d7b2e8005e24f50000000bb13..."} 
[2026-07-25 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99219230012d7b2e8005e24f50000000bb13..."} 
[2026-07-25 17:26:19] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99219230012d7b2e8005e24f50000000bb13..."} 
[2026-07-25 17:26:19] local.INFO: Packet analysis {"connection_id":141238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:19] local.INFO: Extracted packet for processing {"connection_id":141238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:19] local.INFO: GPS Element Parsed {"raw_longitude":763047552,"raw_latitude":98717520,"longitude_deg":76.3047552,"latitude_deg":9.871752,"altitude":0,"angle":187,"satellites":19,"speed":10,"hex_longitude":"2d7b2e80","hex_latitude":"05e24f50","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955017216001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110307705192710144,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875820834633379840,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784980542000,"timestamp_ms":1784980542000,"timestamp_seconds":1784980542,"priority":1,"record_length":96,"hex_timestamp":"0000019f99219230"} 
[2026-07-25 17:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 17:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:26:19] 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-07-25 17:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955017216001,"66":12765,"96":206,"85":15104,"24":10,"16":110307705192710144,"45":8875820834633379840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955017216001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110307705192710144,"km_value":110307705192710.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875820834633379840,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955017216001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8875820834633379840}} 
[2026-07-25 17:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":141238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:19] local.INFO: GPS data processed {"connection_id":141238,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:19] local.INFO: Acknowledgment sent {"connection_id":141238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:26] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:26:26] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:26:26] local.INFO: IMEI packet received {"connection_id":141239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":141239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:26:31] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:26:31] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:26:31] local.INFO: IMEI packet received {"connection_id":141239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":141239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:26:32] local.INFO: TCP Data received {"connection_id":143586,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:26:32] local.INFO: Processing buffer {"connection_id":143586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:26:32] local.INFO: Packet analysis {"connection_id":143586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:32] local.INFO: Extracted packet for processing {"connection_id":143586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 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-07-25 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:26: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-07-25 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-07-25 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-07-25 17:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":143586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:32] local.INFO: GPS data processed {"connection_id":143586,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:32] local.INFO: Acknowledgment sent {"connection_id":143586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:32] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9920cee0012d181ec00721b1c8005200c62b..."} 
[2026-07-25 17:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9920cee0012d181ec00721b1c8005200c62b..."} 
[2026-07-25 17:26:32] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9920cee0012d181ec00721b1c8005200c62b..."} 
[2026-07-25 17:26:32] local.INFO: Packet analysis {"connection_id":141239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9920"} 
[2026-07-25 17:26:32] local.INFO: Extracted packet for processing {"connection_id":141239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9920"} 
[2026-07-25 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955000576001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980492000,"timestamp_ms":1784980492000,"timestamp_seconds":1784980492,"priority":1,"record_length":96,"hex_timestamp":"0000019f9920cee0"} 
[2026-07-25 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-07-25 17:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 17:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 17:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955000576001,"66":12461,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955000576001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955000576001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":141239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:32] local.INFO: GPS data processed {"connection_id":141239,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:32] local.INFO: Acknowledgment sent {"connection_id":141239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:51] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9921e438012d7b314005e24270000000ac11..."} 
[2026-07-25 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9921e438012d7b314005e24270000000ac11..."} 
[2026-07-25 17:26:51] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9921e438012d7b314005e24270000000ac11..."} 
[2026-07-25 17:26:51] local.INFO: Packet analysis {"connection_id":141238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:51] local.INFO: Extracted packet for processing {"connection_id":141238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763048256,"raw_latitude":98714224,"longitude_deg":76.3048256,"latitude_deg":9.8714224,"altitude":0,"angle":172,"satellites":17,"speed":12,"hex_longitude":"2d7b3140","hex_latitude":"05e24270","is_valid_coordinates":true} 
[2026-07-25 17:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955018752001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110307881286369280,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876172678353866752,"note":"Value kept but may cause issues"} 
[2026-07-25 17:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784980563000,"timestamp_ms":1784980563000,"timestamp_seconds":1784980563,"priority":1,"record_length":96,"hex_timestamp":"0000019f9921e438"} 
[2026-07-25 17:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 17:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:26:51] 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-07-25 17:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955018752001,"66":12809,"96":206,"85":15104,"24":12,"16":110307881286369280,"45":8876172678353866752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955018752001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:26:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110307881286369280,"km_value":110307881286369.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876172678353866752,"description":"Unknown IO ID 45"} 
[2026-07-25 17:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955018752001,"power":12809,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8876172678353866752}} 
[2026-07-25 17:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":141238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:26:51] local.INFO: GPS data processed {"connection_id":141238,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:26:51] local.INFO: Acknowledgment sent {"connection_id":141238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:26:55] local.INFO: TCP Data received {"connection_id":142206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:26:55] local.INFO: Processing buffer {"connection_id":142206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:26:55] local.INFO: IMEI packet received {"connection_id":142206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":142206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:27:00] local.INFO: TCP Data received {"connection_id":142206,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:27:00] local.INFO: Processing buffer {"connection_id":142206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:27:00] local.INFO: IMEI packet received {"connection_id":142206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":142206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:27:01] local.INFO: TCP Data received {"connection_id":142206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:27:01] local.INFO: Processing buffer {"connection_id":142206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:27:01] local.INFO: Packet analysis {"connection_id":142206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:01] local.INFO: Extracted packet for processing {"connection_id":142206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:27: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-07-25 17: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-07-25 17:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":142206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:01] local.INFO: GPS data processed {"connection_id":142206,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:01] local.INFO: Acknowledgment sent {"connection_id":142206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:03] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992120e8012d181ec00721b1c8005200c62a..."} 
[2026-07-25 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992120e8012d181ec00721b1c8005200c62a..."} 
[2026-07-25 17:27:03] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992120e8012d181ec00721b1c8005200c62a..."} 
[2026-07-25 17:27:03] local.INFO: Packet analysis {"connection_id":141239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:03] local.INFO: Extracted packet for processing {"connection_id":141239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955005952001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980513000,"timestamp_ms":1784980513000,"timestamp_seconds":1784980513,"priority":1,"record_length":96,"hex_timestamp":"0000019f992120e8"} 
[2026-07-25 17:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955005952001,"66":12461,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955005952001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955005952001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":141239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:03] local.INFO: GPS data processed {"connection_id":141239,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:03] local.INFO: Acknowledgment sent {"connection_id":141239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:14] local.INFO: TCP Data received {"connection_id":143587,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:27:14] local.INFO: Processing buffer {"connection_id":143587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:27:14] local.INFO: IMEI packet received {"connection_id":143587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":143587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:27:18] local.INFO: TCP Data received {"connection_id":143587,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:27:18] local.INFO: Processing buffer {"connection_id":143587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:27:18] local.INFO: IMEI packet received {"connection_id":143587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":143587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:27:20] local.INFO: TCP Data received {"connection_id":143587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99220378012d7b338005e23c30000000bb12..."} 
[2026-07-25 17:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99220378012d7b338005e23c30000000bb12..."} 
[2026-07-25 17:27:20] local.INFO: Processing buffer {"connection_id":143587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99220378012d7b338005e23c30000000bb12..."} 
[2026-07-25 17:27:20] local.INFO: Packet analysis {"connection_id":143587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:27:20] local.INFO: Extracted packet for processing {"connection_id":143587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:27:20] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98712624,"longitude_deg":76.3048832,"latitude_deg":9.8712624,"altitude":0,"angle":187,"satellites":18,"speed":6,"hex_longitude":"2d7b3380","hex_latitude":"05e23c30","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955024128001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110307971480682496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876946734538977280,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784980571000,"timestamp_ms":1784980571000,"timestamp_seconds":1784980571,"priority":1,"record_length":96,"hex_timestamp":"0000019f99220378"} 
[2026-07-25 17:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288230376319484928,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2569048160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2147869304,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2328888777989891968,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-25 17:27:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":172,"corrected_to":0} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3821600768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2123517593049318381,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3747221004431183445,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,85,24,241,157,16,228,159,146,45,128,79,19,10,66,122,64,20,107,1,240,41,227,153,226,4,113,205,7,200,239,51,2,135,5,8,50,59,172],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0},{"io_id":200,"original":172,"validated":0}]} 
[2026-07-25 17:27:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":189189015207936,"timestamp_seconds":189189015207.936,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":143587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":143587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":143587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:27:20] 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-07-25 17:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955024128001,"66":12515,"96":206,"85":15104,"24":6,"16":110307971480682496,"45":8876946734538977280},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955024128001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110307971480682496,"km_value":110307971480682.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876946734538977280,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955024128001,"power":12515,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8876946734538977280}} 
[2026-07-25 17:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":143587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:20] local.INFO: GPS data processed {"connection_id":143587,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:20] local.INFO: Acknowledgment sent {"connection_id":143587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:31] local.INFO: TCP Data received {"connection_id":141240,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:27:31] local.INFO: Processing buffer {"connection_id":141240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:27:31] local.INFO: IMEI packet received {"connection_id":141240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":141240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:27:32] local.INFO: TCP Data received {"connection_id":142206,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:27:32] local.INFO: Processing buffer {"connection_id":142206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:27:32] local.INFO: Packet analysis {"connection_id":142206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:32] local.INFO: Extracted packet for processing {"connection_id":142206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:27: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-07-25 17: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-07-25 17:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":142206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:32] local.INFO: GPS data processed {"connection_id":142206,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:32] local.INFO: Acknowledgment sent {"connection_id":142206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:36] local.INFO: TCP Data received {"connection_id":141240,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:27:36] local.INFO: Processing buffer {"connection_id":141240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:27:36] local.INFO: IMEI packet received {"connection_id":141240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":141240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:27:37] local.INFO: TCP Data received {"connection_id":141240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992172f0012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992172f0012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:27:37] local.INFO: Processing buffer {"connection_id":141240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992172f0012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:27:37] local.INFO: Packet analysis {"connection_id":141240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:37] local.INFO: Extracted packet for processing {"connection_id":141240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955011328001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784980534000,"timestamp_ms":1784980534000,"timestamp_seconds":1784980534,"priority":1,"record_length":96,"hex_timestamp":"0000019f992172f0"} 
[2026-07-25 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955011328001,"66":12504,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955011328001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955011328001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":141240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:37] local.INFO: GPS data processed {"connection_id":141240,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:37] local.INFO: Acknowledgment sent {"connection_id":141240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:38] local.INFO: TCP Data received {"connection_id":141240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9921c4f8012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9921c4f8012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:27:38] local.INFO: Processing buffer {"connection_id":141240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9921c4f8012d181ec00721b1c8005200c629..."} 
[2026-07-25 17:27:38] local.INFO: Packet analysis {"connection_id":141240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:38] local.INFO: Extracted packet for processing {"connection_id":141240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955016704001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784980555000,"timestamp_ms":1784980555000,"timestamp_seconds":1784980555,"priority":1,"record_length":96,"hex_timestamp":"0000019f9921c4f8"} 
[2026-07-25 17:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 17:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955016704001,"66":12461,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955016704001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955016704001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":141240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:38] local.INFO: GPS data processed {"connection_id":141240,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:38] local.INFO: Acknowledgment sent {"connection_id":141240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:51] local.INFO: TCP Data received {"connection_id":143587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99224db0012d7b338005e233a8000000a615..."} 
[2026-07-25 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99224db0012d7b338005e233a8000000a615..."} 
[2026-07-25 17:27:51] local.INFO: Processing buffer {"connection_id":143587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99224db0012d7b338005e233a8000000a615..."} 
[2026-07-25 17:27:51] local.INFO: Packet analysis {"connection_id":143587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:27:51] local.INFO: Extracted packet for processing {"connection_id":143587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763048832,"raw_latitude":98710440,"longitude_deg":76.3048832,"latitude_deg":9.871044,"altitude":0,"angle":166,"satellites":21,"speed":4,"hex_longitude":"2d7b3380","hex_latitude":"05e233a8","is_valid_coordinates":true} 
[2026-07-25 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955026176001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110308083149832192,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053236166656,"note":"Value kept but may cause issues"} 
[2026-07-25 17:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784980590000,"timestamp_ms":1784980590000,"timestamp_seconds":1784980590,"priority":1,"record_length":96,"hex_timestamp":"0000019f99224db0"} 
[2026-07-25 17:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-25 17:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:27:51] 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-07-25 17:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955026176001,"66":12722,"96":206,"85":15104,"24":4,"16":110308083149832192,"45":8877580053236166656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955026176001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:27:51] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110308083149832192,"km_value":110308083149832.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053236166656,"description":"Unknown IO ID 45"} 
[2026-07-25 17:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955026176001,"power":12722,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8877580053236166656}} 
[2026-07-25 17:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":143587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543824,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:27:51] local.INFO: GPS data processed {"connection_id":143587,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:27:51] local.INFO: Acknowledgment sent {"connection_id":143587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:27:55] local.INFO: TCP Data received {"connection_id":141171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:27:55] local.INFO: Processing buffer {"connection_id":141171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:27:55] local.INFO: IMEI packet received {"connection_id":141171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":141171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:28:00] local.INFO: TCP Data received {"connection_id":141171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:28:00] local.INFO: Processing buffer {"connection_id":141171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:28:00] local.INFO: IMEI packet received {"connection_id":141171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:28:01] local.INFO: TCP Data received {"connection_id":141171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:28:01] local.INFO: Processing buffer {"connection_id":141171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:28:01] local.INFO: Packet analysis {"connection_id":141171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:28:01] local.INFO: Extracted packet for processing {"connection_id":141171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:28: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-07-25 17:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":141171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:28:01] local.INFO: GPS data processed {"connection_id":141171,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:28:01] local.INFO: Acknowledgment sent {"connection_id":141171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:28:09] local.INFO: TCP Data received {"connection_id":141240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99221700012d181ec00721b1c8005200c62b..."} 
[2026-07-25 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99221700012d181ec00721b1c8005200c62b..."} 
[2026-07-25 17:28:09] local.INFO: Processing buffer {"connection_id":141240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99221700012d181ec00721b1c8005200c62b..."} 
[2026-07-25 17:28:09] local.INFO: Packet analysis {"connection_id":141240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:28:09] local.INFO: Extracted packet for processing {"connection_id":141240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955022080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784980576000,"timestamp_ms":1784980576000,"timestamp_seconds":1784980576,"priority":1,"record_length":96,"hex_timestamp":"0000019f99221700"} 
[2026-07-25 17:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955022080001,"66":12461,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955022080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:28:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:28:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955022080001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":141240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:28:09] local.INFO: GPS data processed {"connection_id":141240,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:28:09] local.INFO: Acknowledgment sent {"connection_id":141240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:28:09] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:28:09] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:28:09] local.INFO: IMEI packet received {"connection_id":141241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":141241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:28:14] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:28:14] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:28:14] local.INFO: IMEI packet received {"connection_id":141241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":141241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:28:15] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f992278a8012d7b330005e22d58000c00b316..."} 
[2026-07-25 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992278a8012d7b330005e22d58000c00b316..."} 
[2026-07-25 17:28:15] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992278a8012d7b330005e22d58000c00b316..."} 
[2026-07-25 17:28:15] local.INFO: Packet analysis {"connection_id":141241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:28:15] local.INFO: Extracted packet for processing {"connection_id":141241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:28:15] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98708824,"longitude_deg":76.3048704,"latitude_deg":9.8708824,"altitude":12,"angle":179,"satellites":22,"speed":0,"hex_longitude":"2d7b3300","hex_latitude":"05e22d58","is_valid_coordinates":true} 
[2026-07-25 17:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955031040001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110308164754210816,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877580053235607552,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784980601000,"timestamp_ms":1784980601000,"timestamp_seconds":1784980601,"priority":1,"record_length":96,"hex_timestamp":"0000019f992278a8"} 
[2026-07-25 17:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 17:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:28:15] 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-07-25 17:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955031040001,"66":12906,"96":206,"85":15104,"24":0,"16":110308164754210816,"45":8877580053235607552},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-25 17:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955031040001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:28:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-25 17:28:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110308164754210816,"km_value":110308164754210.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877580053235607552,"description":"Unknown IO ID 45"} 
[2026-07-25 17:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955031040001,"power":12906,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8877580053235607552}} 
[2026-07-25 17:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":141241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:28:15] local.INFO: GPS data processed {"connection_id":141241,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:28:15] local.INFO: Acknowledgment sent {"connection_id":141241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:28:24] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:24] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:24] local.INFO: IMEI packet received {"connection_id":141172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":141172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:28:26] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:26] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:26] local.INFO: IMEI packet received {"connection_id":141172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":141172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:28:31] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:31] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:28:31] local.INFO: IMEI packet received {"connection_id":141172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":141172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:28:32] local.INFO: TCP Data received {"connection_id":141171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:28:32] local.INFO: Processing buffer {"connection_id":141171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:28:32] local.INFO: Packet analysis {"connection_id":141171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:28:32] local.INFO: Extracted packet for processing {"connection_id":141171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:28: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-07-25 17:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":141171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:28:32] local.INFO: GPS data processed {"connection_id":141171,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:28:32] local.INFO: Acknowledgment sent {"connection_id":141171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:28:32] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99226908012d181ec00721b1c8005200c62a..."} 
[2026-07-25 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99226908012d181ec00721b1c8005200c62a..."} 
[2026-07-25 17:28:32] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99226908012d181ec00721b1c8005200c62a..."} 
[2026-07-25 17:28:32] local.INFO: Packet analysis {"connection_id":141172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:28:32] local.INFO: Extracted packet for processing {"connection_id":141172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955027456001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980597000,"timestamp_ms":1784980597000,"timestamp_seconds":1784980597,"priority":1,"record_length":96,"hex_timestamp":"0000019f99226908"} 
[2026-07-25 17:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955027456001,"66":12504,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955027456001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955027456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":141172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:28:32] local.INFO: GPS data processed {"connection_id":141172,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:28:32] local.INFO: Acknowledgment sent {"connection_id":141172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:28:46] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99242658012d7b764005e1b5200006005116..."} 
[2026-07-25 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99242658012d7b764005e1b5200006005116..."} 
[2026-07-25 17:28:46] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99242658012d7b764005e1b5200006005116..."} 
[2026-07-25 17:28:46] local.INFO: Packet analysis {"connection_id":141241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:28:46] local.INFO: Extracted packet for processing {"connection_id":141241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":763065920,"raw_latitude":98678048,"longitude_deg":76.306592,"latitude_deg":9.8678048,"altitude":6,"angle":81,"satellites":22,"speed":9,"hex_longitude":"2d7b7640","hex_latitude":"05e1b520","is_valid_coordinates":true} 
[2026-07-25 17:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955057152001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110310471151648768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890246427179196416,"note":"Value kept but may cause issues"} 
[2026-07-25 17:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784980711000,"timestamp_ms":1784980711000,"timestamp_seconds":1784980711,"priority":1,"record_length":96,"hex_timestamp":"0000019f99242658"} 
[2026-07-25 17:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 17:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:28:46] 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-07-25 17:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955057152001,"66":13222,"169":206,"85":15104,"24":9,"16":110310471151648768,"45":8890246427179196416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 17:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955057152001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:28:46] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 17:28:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110310471151648768,"km_value":110310471151648.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890246427179196416,"description":"Unknown IO ID 45"} 
[2026-07-25 17:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955057152001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8890246427179196416}} 
[2026-07-25 17:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":141241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:28:46] local.INFO: GPS data processed {"connection_id":141241,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:28:46] local.INFO: Acknowledgment sent {"connection_id":141241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:28:55] local.INFO: TCP Data received {"connection_id":143589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:28:55] local.INFO: Processing buffer {"connection_id":143589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:28:55] local.INFO: IMEI packet received {"connection_id":143589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":143589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:29:00] local.INFO: TCP Data received {"connection_id":143589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:29:00] local.INFO: Processing buffer {"connection_id":143589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:29:00] local.INFO: IMEI packet received {"connection_id":143589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:29:01] local.INFO: TCP Data received {"connection_id":143589,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:29:01] local.INFO: Processing buffer {"connection_id":143589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:29:01] local.INFO: Packet analysis {"connection_id":143589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:29:01] local.INFO: Extracted packet for processing {"connection_id":143589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:29:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:29: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-07-25 17:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:29:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":143589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:29:01] local.INFO: GPS data processed {"connection_id":143589,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:29:01] local.INFO: Acknowledgment sent {"connection_id":143589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:29:03] local.INFO: TCP Data received {"connection_id":141172,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9922bb10012d181ec00721b1c8005200c62c..."} 
[2026-07-25 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9922bb10012d181ec00721b1c8005200c62c..."} 
[2026-07-25 17:29:03] local.INFO: Processing buffer {"connection_id":141172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9922bb10012d181ec00721b1c8005200c62c..."} 
[2026-07-25 17:29:03] local.INFO: Packet analysis {"connection_id":141172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:29:03] local.INFO: Extracted packet for processing {"connection_id":141172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9922"} 
[2026-07-25 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955032832001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980618000,"timestamp_ms":1784980618000,"timestamp_seconds":1784980618,"priority":1,"record_length":96,"hex_timestamp":"0000019f9922bb10"} 
[2026-07-25 17:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17: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-07-25 17:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955032832001,"66":12439,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955032832001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955032832001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":141172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:29:03] local.INFO: GPS data processed {"connection_id":141172,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:29:03] local.INFO: Acknowledgment sent {"connection_id":141172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:29:09] local.INFO: TCP Data received {"connection_id":142207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:29:09] local.INFO: Processing buffer {"connection_id":142207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:29:09] local.INFO: IMEI packet received {"connection_id":142207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":142207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:29:14] local.INFO: TCP Data received {"connection_id":142207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:29:14] local.INFO: Processing buffer {"connection_id":142207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:29:14] local.INFO: IMEI packet received {"connection_id":142207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":142207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:29:14] local.INFO: TCP Data received {"connection_id":142207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99243dc8012d7b804005e1b7a00005004115..."} 
[2026-07-25 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99243dc8012d7b804005e1b7a00005004115..."} 
[2026-07-25 17:29:14] local.INFO: Processing buffer {"connection_id":142207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99243dc8012d7b804005e1b7a00005004115..."} 
[2026-07-25 17:29:14] local.INFO: Packet analysis {"connection_id":142207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:29:14] local.INFO: Extracted packet for processing {"connection_id":142207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":763068480,"raw_latitude":98678688,"longitude_deg":76.306848,"latitude_deg":9.8678688,"altitude":5,"angle":65,"satellites":21,"speed":21,"hex_longitude":"2d7b8040","hex_latitude":"05e1b7a0","is_valid_coordinates":true} 
[2026-07-25 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955062016001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110310595705700352,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368507922751488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784980717000,"timestamp_ms":1784980717000,"timestamp_seconds":1784980717,"priority":1,"record_length":96,"hex_timestamp":"0000019f99243dc8"} 
[2026-07-25 17:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:29: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-07-25 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 17:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:29:14] 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-07-25 17:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955062016001,"66":13222,"169":206,"85":15104,"24":21,"16":110310595705700352,"45":8896368507922751488},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 17:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955062016001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:29:14] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 17:29:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110310595705700352,"km_value":110310595705700.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368507922751488,"description":"Unknown IO ID 45"} 
[2026-07-25 17:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955062016001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8896368507922751488}} 
[2026-07-25 17:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":142207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:29:14] local.INFO: GPS data processed {"connection_id":142207,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:29:14] local.INFO: Acknowledgment sent {"connection_id":142207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:29:26] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:26] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:26] local.INFO: IMEI packet received {"connection_id":141173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":141173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:29:27] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:27] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:27] local.INFO: IMEI packet received {"connection_id":141173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":141173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:29:31] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:31] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:29:31] local.INFO: IMEI packet received {"connection_id":141173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":141173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:29:32] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99230d18012d181ec00721b1c8005200c62c..."} 
[2026-07-25 17:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99230d18012d181ec00721b1c8005200c62c..."} 
[2026-07-25 17:29:32] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99230d18012d181ec00721b1c8005200c62c..."} 
[2026-07-25 17:29:32] local.INFO: Packet analysis {"connection_id":141173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:29:32] local.INFO: Extracted packet for processing {"connection_id":141173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648712,"longitude_deg":75.6555456,"latitude_deg":11.9648712,"altitude":82,"angle":198,"satellites":44,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b1c8","is_valid_coordinates":true} 
[2026-07-25 17:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955038208001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786334856511488,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980639000,"timestamp_ms":1784980639000,"timestamp_seconds":1784980639,"priority":1,"record_length":96,"hex_timestamp":"0000019f99230d18"} 
[2026-07-25 17:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 17:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955038208001,"66":12461,"105":206,"83":41984,"24":0,"16":8786334856511488,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955038208001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786334856511488,"km_value":8786334856511.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955038208001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:29:32] local.INFO: TCP Data received {"connection_id":143589,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:29:32] local.INFO: Processing buffer {"connection_id":143589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:29:32] local.INFO: Packet analysis {"connection_id":143589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:29:32] local.INFO: Extracted packet for processing {"connection_id":143589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:29:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:29: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-07-25 17: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-07-25 17:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":143589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:29:32] local.INFO: GPS data processed {"connection_id":143589,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:29:32] local.INFO: Acknowledgment sent {"connection_id":143589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":141173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:29:32] local.INFO: GPS data processed {"connection_id":141173,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:29:32] local.INFO: Acknowledgment sent {"connection_id":141173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:29:46] local.INFO: TCP Data received {"connection_id":142207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99245150012d7b8b8005e1bb880005005016..."} 
[2026-07-25 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99245150012d7b8b8005e1bb880005005016..."} 
[2026-07-25 17:29:46] local.INFO: Processing buffer {"connection_id":142207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99245150012d7b8b8005e1bb880005005016..."} 
[2026-07-25 17:29:46] local.INFO: Packet analysis {"connection_id":142207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:29:46] local.INFO: Extracted packet for processing {"connection_id":142207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":763071360,"raw_latitude":98679688,"longitude_deg":76.307136,"latitude_deg":9.8679688,"altitude":5,"angle":80,"satellites":22,"speed":22,"hex_longitude":"2d7b8b80","hex_latitude":"05e1bb88","is_valid_coordinates":true} 
[2026-07-25 17:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955063552001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110310746029555712,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257690021888,"note":"Value kept but may cause issues"} 
[2026-07-25 17:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784980722000,"timestamp_ms":1784980722000,"timestamp_seconds":1784980722,"priority":1,"record_length":96,"hex_timestamp":"0000019f99245150"} 
[2026-07-25 17:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 17:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:29:46] 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-07-25 17:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955063552001,"66":12906,"169":206,"85":15104,"24":22,"16":110310746029555712,"45":8899183257690021888},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-25 17:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955063552001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:29:46] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 17:29:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110310746029555712,"km_value":110310746029555.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257690021888,"description":"Unknown IO ID 45"} 
[2026-07-25 17:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955063552001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8899183257690021888}} 
[2026-07-25 17:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":142207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:29:46] local.INFO: GPS data processed {"connection_id":142207,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:29:46] local.INFO: Acknowledgment sent {"connection_id":142207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:29:55] local.INFO: TCP Data received {"connection_id":142208,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:29:55] local.INFO: Processing buffer {"connection_id":142208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:29:55] local.INFO: IMEI packet received {"connection_id":142208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":142208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:30:00] local.INFO: TCP Data received {"connection_id":142208,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:30:00] local.INFO: Processing buffer {"connection_id":142208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:30:00] local.INFO: IMEI packet received {"connection_id":142208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":142208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:30:01] local.INFO: TCP Data received {"connection_id":142208,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:30:01] local.INFO: Processing buffer {"connection_id":142208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:30:01] local.INFO: Packet analysis {"connection_id":142208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:30:01] local.INFO: Extracted packet for processing {"connection_id":142208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:30: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-07-25 17:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:30:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":142208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:30:01] local.INFO: GPS data processed {"connection_id":142208,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:30:01] local.INFO: Acknowledgment sent {"connection_id":142208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:30:03] local.INFO: TCP Data received {"connection_id":141173,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99232488012d181d400721aea0004f00dc2c..."} 
[2026-07-25 17:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99232488012d181d400721aea0004f00dc2c..."} 
[2026-07-25 17:30:03] local.INFO: Processing buffer {"connection_id":141173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99232488012d181d400721aea0004f00dc2c..."} 
[2026-07-25 17:30:03] local.INFO: Packet analysis {"connection_id":141173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:30:03] local.INFO: Extracted packet for processing {"connection_id":141173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647904,"longitude_deg":75.6555072,"latitude_deg":11.9647904,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea0","is_valid_coordinates":true} 
[2026-07-25 17:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955043584001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786377806184448,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074193408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980645000,"timestamp_ms":1784980645000,"timestamp_seconds":1784980645,"priority":1,"record_length":96,"hex_timestamp":"0000019f99232488"} 
[2026-07-25 17:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955043584001,"66":12461,"105":206,"83":41984,"24":0,"16":8786377806184448,"45":1738037643074193408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955043584001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:30:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786377806184448,"km_value":8786377806184.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074193408,"description":"Unknown IO ID 45"} 
[2026-07-25 17:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955043584001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074193408}} 
[2026-07-25 17:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":141173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:30:03] local.INFO: GPS data processed {"connection_id":141173,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:30:03] local.INFO: Acknowledgment sent {"connection_id":141173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:30:09] local.INFO: TCP Data received {"connection_id":142209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:09] local.INFO: Processing buffer {"connection_id":142209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:09] local.INFO: IMEI packet received {"connection_id":142209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":142209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:30:12] local.INFO: TCP Data received {"connection_id":142209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:12] local.INFO: Processing buffer {"connection_id":142209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:12] local.INFO: IMEI packet received {"connection_id":142209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":142209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:30:14] local.INFO: TCP Data received {"connection_id":142209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142209,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:14] local.INFO: Processing buffer {"connection_id":142209,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:30:14] local.INFO: IMEI packet received {"connection_id":142209,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":142209,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:30:15] local.INFO: TCP Data received {"connection_id":142209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f992566a8012d7c338005e1de800009005316..."} 
[2026-07-25 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992566a8012d7c338005e1de800009005316..."} 
[2026-07-25 17:30:15] local.INFO: Processing buffer {"connection_id":142209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992566a8012d7c338005e1de800009005316..."} 
[2026-07-25 17:30:15] local.INFO: Packet analysis {"connection_id":142209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:30:15] local.INFO: Extracted packet for processing {"connection_id":142209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763114368,"raw_latitude":98688640,"longitude_deg":76.3114368,"latitude_deg":9.868864,"altitude":9,"angle":83,"satellites":22,"speed":23,"hex_longitude":"2d7c3380","hex_latitude":"05e1de80","is_valid_coordinates":true} 
[2026-07-25 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955081984001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946541422524176384,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110312932167909376,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784980793000,"timestamp_ms":1784980793000,"timestamp_seconds":1784980793,"priority":1,"record_length":96,"hex_timestamp":"0000019f992566a8"} 
[2026-07-25 17:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 17:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:30:15] 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-07-25 17:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955081984001,"66":12972,"45":8946541422524176384,"85":15104,"24":23,"16":110312932167909376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-25 17:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955081984001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946541422524176384,"description":"Unknown IO ID 45"} 
[2026-07-25 17:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110312932167909376,"km_value":110312932167909.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:30:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456955081984001,"power":12972,"unknown_45":8946541422524176384,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-07-25 17:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":142209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:30:15] local.INFO: GPS data processed {"connection_id":142209,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:30:15] local.INFO: Acknowledgment sent {"connection_id":142209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:30:26] local.INFO: TCP Data received {"connection_id":143590,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:30:26] local.INFO: Processing buffer {"connection_id":143590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:30:26] local.INFO: IMEI packet received {"connection_id":143590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":143590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:30:30] local.INFO: TCP Data received {"connection_id":143590,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:30:30] local.INFO: Processing buffer {"connection_id":143590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:30:30] local.INFO: IMEI packet received {"connection_id":143590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":143590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:30:31] local.INFO: TCP Data received {"connection_id":143590,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99237690012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99237690012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:30:31] local.INFO: Processing buffer {"connection_id":143590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99237690012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:30:31] local.INFO: Packet analysis {"connection_id":143590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:30:31] local.INFO: Extracted packet for processing {"connection_id":143590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955045120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608920576,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784980666000,"timestamp_ms":1784980666000,"timestamp_seconds":1784980666,"priority":1,"record_length":96,"hex_timestamp":"0000019f99237690"} 
[2026-07-25 17:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955045120001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737615430608920576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955045120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608920576,"description":"Unknown IO ID 45"} 
[2026-07-25 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955045120001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608920576}} 
[2026-07-25 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":143590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:30:31] local.INFO: GPS data processed {"connection_id":143590,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:30:31] local.INFO: Acknowledgment sent {"connection_id":143590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:30:33] local.INFO: TCP Data received {"connection_id":142208,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:30:33] local.INFO: Processing buffer {"connection_id":142208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:30:33] local.INFO: Packet analysis {"connection_id":142208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:30:33] local.INFO: Extracted packet for processing {"connection_id":142208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:30:33] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:30: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-07-25 17:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:30:33] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":142208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:30:33] local.INFO: GPS data processed {"connection_id":142208,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:30:33] local.INFO: Acknowledgment sent {"connection_id":142208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:30:34] local.INFO: TCP Data received {"connection_id":143588,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:30:34] local.INFO: Processing buffer {"connection_id":143588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:30:34] local.INFO: IMEI packet received {"connection_id":143588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":143588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:30:45] local.INFO: TCP Data received {"connection_id":142209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99256a90012d7c364005e1df100008004616..."} 
[2026-07-25 17:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99256a90012d7c364005e1df100008004616..."} 
[2026-07-25 17:30:45] local.INFO: Processing buffer {"connection_id":142209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99256a90012d7c364005e1df100008004616..."} 
[2026-07-25 17:30:45] local.INFO: Packet analysis {"connection_id":142209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:30:45] local.INFO: Extracted packet for processing {"connection_id":142209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:30:45] local.INFO: GPS Element Parsed {"raw_longitude":763115072,"raw_latitude":98688784,"longitude_deg":76.3115072,"latitude_deg":9.8688784,"altitude":8,"angle":70,"satellites":22,"speed":23,"hex_longitude":"2d7c3640","hex_latitude":"05e1df10","is_valid_coordinates":true} 
[2026-07-25 17:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955083008001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949637647267954688,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110312966527647744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:30: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-07-25 17:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784980794000,"timestamp_ms":1784980794000,"timestamp_seconds":1784980794,"priority":1,"record_length":96,"hex_timestamp":"0000019f99256a90"} 
[2026-07-25 17:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:30: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-07-25 17:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 17:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142209,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:30:45] 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-07-25 17:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955083008001,"66":12972,"45":8949637647267954688,"85":15104,"24":23,"16":110312966527647744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-07-25 17:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955083008001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949637647267954688,"description":"Unknown IO ID 45"} 
[2026-07-25 17:30:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110312966527647744,"km_value":110312966527647.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:30:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456955083008001,"power":12972,"unknown_45":8949637647267954688,"unknown_85":15104,"ignition":23,"odometer":null}} 
[2026-07-25 17:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":142209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:30:46] local.INFO: GPS data processed {"connection_id":142209,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:30:46] local.INFO: Acknowledgment sent {"connection_id":142209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:30:55] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:30:55] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:30:55] local.INFO: IMEI packet received {"connection_id":143591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":143591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:31:00] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:31:00] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:31:00] local.INFO: IMEI packet received {"connection_id":143591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":143591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:31:01] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:31:01] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99215798012db6310005cae678001a00872c..."} 
[2026-07-25 17:31:01] local.INFO: Packet analysis {"connection_id":143591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:31:01] local.INFO: Extracted packet for processing {"connection_id":143591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9921"} 
[2026-07-25 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456954937856001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980527000,"timestamp_ms":1784980527000,"timestamp_seconds":1784980527,"priority":1,"record_length":96,"hex_timestamp":"0000019f99215798"} 
[2026-07-25 17:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":134,"data_length":795,"current_offset":136} 
[2026-07-25 17:31: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-07-25 17:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456954937856001,"66":25712,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456954937856001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:31:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456954937856001,"power":25712,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":143591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:31:01] local.INFO: GPS data processed {"connection_id":143591,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:31:01] local.INFO: Acknowledgment sent {"connection_id":143591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:31:02] local.INFO: TCP Data received {"connection_id":143590,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9923c898012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9923c898012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:31:02] local.INFO: Processing buffer {"connection_id":143590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9923c898012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:31:02] local.INFO: Packet analysis {"connection_id":143590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:31:02] local.INFO: Extracted packet for processing {"connection_id":143590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9923"} 
[2026-07-25 17:31:02] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955050496001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784980687000,"timestamp_ms":1784980687000,"timestamp_seconds":1784980687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9923c898"} 
[2026-07-25 17:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955050496001,"66":12439,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955050496001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:31:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:31:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955050496001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":143590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:31:02] local.INFO: GPS data processed {"connection_id":143590,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:31:02] local.INFO: Acknowledgment sent {"connection_id":143590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:31:09] local.INFO: TCP Data received {"connection_id":142210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:31:09] local.INFO: Processing buffer {"connection_id":142210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:31:09] local.INFO: IMEI packet received {"connection_id":142210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":142210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:31:14] local.INFO: TCP Data received {"connection_id":142210,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:31:14] local.INFO: Processing buffer {"connection_id":142210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:31:14] local.INFO: IMEI packet received {"connection_id":142210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":142210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:31:15] local.INFO: TCP Data received {"connection_id":142210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99260ea0012d7c948005e20d800008006314..."} 
[2026-07-25 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99260ea0012d7c948005e20d800008006314..."} 
[2026-07-25 17:31:15] local.INFO: Processing buffer {"connection_id":142210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99260ea0012d7c948005e20d800008006314..."} 
[2026-07-25 17:31:15] local.INFO: Packet analysis {"connection_id":142210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:31:15] local.INFO: Extracted packet for processing {"connection_id":142210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763139200,"raw_latitude":98700672,"longitude_deg":76.31392,"latitude_deg":9.8700672,"altitude":8,"angle":99,"satellites":20,"speed":28,"hex_longitude":"2d7c9480","hex_latitude":"05e20d80","is_valid_coordinates":true} 
[2026-07-25 17:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955090944001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110314443996397568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966948358339162112,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784980836000,"timestamp_ms":1784980836000,"timestamp_seconds":1784980836,"priority":1,"record_length":96,"hex_timestamp":"0000019f99260ea0"} 
[2026-07-25 17:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 17:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:31:15] 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-07-25 17:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955090944001,"66":13059,"43":206,"85":15104,"24":28,"16":110314443996397568,"45":8966948358339162112},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-25 17:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955090944001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:31:15] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 17:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110314443996397568,"km_value":110314443996397.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966948358339162112,"description":"Unknown IO ID 45"} 
[2026-07-25 17:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955090944001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8966948358339162112}} 
[2026-07-25 17:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":142210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:31:15] local.INFO: GPS data processed {"connection_id":142210,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:31:15] local.INFO: Acknowledgment sent {"connection_id":142210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:31:26] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:31:26] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:31:26] local.INFO: IMEI packet received {"connection_id":141174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":141174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:31:31] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:31:31] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:31:31] local.INFO: IMEI packet received {"connection_id":141174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":141174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:31:31] local.INFO: TCP Data received {"connection_id":143591,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:31:31] local.INFO: Processing buffer {"connection_id":143591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:31:31] local.INFO: Packet analysis {"connection_id":143591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:31:31] local.INFO: Extracted packet for processing {"connection_id":143591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:31:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":143591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:31:31] local.INFO: GPS data processed {"connection_id":143591,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:31:31] local.INFO: Acknowledgment sent {"connection_id":143591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:31:32] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99241aa0012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99241aa0012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:31:32] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99241aa0012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:31:32] local.INFO: Packet analysis {"connection_id":141174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:31:32] local.INFO: Extracted packet for processing {"connection_id":141174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955055872001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980708000,"timestamp_ms":1784980708000,"timestamp_seconds":1784980708,"priority":1,"record_length":96,"hex_timestamp":"0000019f99241aa0"} 
[2026-07-25 17:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 17:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955055872001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955055872001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:31:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955055872001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":141174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:31:32] local.INFO: GPS data processed {"connection_id":141174,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:31:32] local.INFO: Acknowledgment sent {"connection_id":141174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:31:46] local.INFO: TCP Data received {"connection_id":142210,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99264168012d7cb84005e207c80009005d16..."} 
[2026-07-25 17:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99264168012d7cb84005e207c80009005d16..."} 
[2026-07-25 17:31:46] local.INFO: Processing buffer {"connection_id":142210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99264168012d7cb84005e207c80009005d16..."} 
[2026-07-25 17:31:46] local.INFO: Packet analysis {"connection_id":142210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:31:46] local.INFO: Extracted packet for processing {"connection_id":142210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:31:46] local.INFO: GPS Element Parsed {"raw_longitude":763148352,"raw_latitude":98699208,"longitude_deg":76.3148352,"latitude_deg":9.8699208,"altitude":9,"angle":93,"satellites":22,"speed":27,"hex_longitude":"2d7cb840","hex_latitude":"05e207c8","is_valid_coordinates":true} 
[2026-07-25 17:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955094016001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110314886378029056,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976940720011968512,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784980849000,"timestamp_ms":1784980849000,"timestamp_seconds":1784980849,"priority":1,"record_length":96,"hex_timestamp":"0000019f99264168"} 
[2026-07-25 17:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:31: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-07-25 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160999595342,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2569387160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-07-25 17:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1342254460,"corrected_to":0} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147869201,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3922722816,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792381952,"note":"Value kept but may cause issues"} 
[2026-07-25 17:31:46] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,85,24,241,157,16,234,159,223,45,19,8,21,10,66,212,128,20,6,22,233,208,192,1,240,117,227,153,226,4,113,205,200,96,168,239,50,2,135,5,29],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0},{"io_id":200,"original":1342254460,"validated":0}]} 
[2026-07-25 17:31:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576569689855754240,"timestamp_seconds":576569689855754.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:31:46] 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-07-25 17:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955094016001,"66":12765,"43":206,"85":15104,"24":27,"16":110314886378029056,"45":8976940720011968512},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-25 17:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955094016001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110314886378029056,"km_value":110314886378029.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976940720011968512,"description":"Unknown IO ID 45"} 
[2026-07-25 17:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955094016001,"power":12765,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8976940720011968512}} 
[2026-07-25 17:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":142210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:31:46] local.INFO: GPS data processed {"connection_id":142210,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:31:46] local.INFO: Acknowledgment sent {"connection_id":142210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:31:55] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:31:55] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:31:55] local.INFO: IMEI packet received {"connection_id":141175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":141175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:32:00] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:32:00] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:32:00] local.INFO: IMEI packet received {"connection_id":141175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":141175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:32:01] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:32:01] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:32:01] local.INFO: Packet analysis {"connection_id":141175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:32:01] local.INFO: Extracted packet for processing {"connection_id":141175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":141175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:01] local.INFO: GPS data processed {"connection_id":141175,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:01] local.INFO: Acknowledgment sent {"connection_id":141175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:03] local.INFO: TCP Data received {"connection_id":141174,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99246ca8012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99246ca8012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:32:03] local.INFO: Processing buffer {"connection_id":141174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99246ca8012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:32:03] local.INFO: Packet analysis {"connection_id":141174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:32:03] local.INFO: Extracted packet for processing {"connection_id":141174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955061248001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980729000,"timestamp_ms":1784980729000,"timestamp_seconds":1784980729,"priority":1,"record_length":96,"hex_timestamp":"0000019f99246ca8"} 
[2026-07-25 17:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955061248001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955061248001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955061248001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":141174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:03] local.INFO: GPS data processed {"connection_id":141174,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:03] local.INFO: Acknowledgment sent {"connection_id":141174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:14] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:32:14] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:32:14] local.INFO: IMEI packet received {"connection_id":141176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":141176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:32:15] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:32:15] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:32:15] local.INFO: IMEI packet received {"connection_id":141176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":141176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:32:16] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99267430012d7cd88005e207000009005216..."} 
[2026-07-25 17:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99267430012d7cd88005e207000009005216..."} 
[2026-07-25 17:32:16] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99267430012d7cd88005e207000009005216..."} 
[2026-07-25 17:32:16] local.INFO: Packet analysis {"connection_id":141176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:32:16] local.INFO: Extracted packet for processing {"connection_id":141176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:32:16] local.INFO: GPS Element Parsed {"raw_longitude":763156608,"raw_latitude":98699008,"longitude_deg":76.3156608,"latitude_deg":9.8699008,"altitude":9,"angle":82,"satellites":22,"speed":31,"hex_longitude":"2d7cd880","hex_latitude":"05e20700","is_valid_coordinates":true} 
[2026-07-25 17:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955097344001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110315281515020288,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987003450428999680,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784980862000,"timestamp_ms":1784980862000,"timestamp_seconds":1784980862,"priority":1,"record_length":96,"hex_timestamp":"0000019f99267430"} 
[2026-07-25 17:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32: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-07-25 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 17:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:32:16] 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-07-25 17:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955097344001,"66":13135,"43":206,"85":15104,"24":31,"16":110315281515020288,"45":8987003450428999680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-25 17:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955097344001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 17:32:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110315281515020288,"km_value":110315281515020.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987003450428999680,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955097344001,"power":13135,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8987003450428999680}} 
[2026-07-25 17:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":141176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:16] local.INFO: GPS data processed {"connection_id":141176,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:16] local.INFO: Acknowledgment sent {"connection_id":141176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:20] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9926a310012d7cfb0005e20ea0000d005c16..."} 
[2026-07-25 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9926a310012d7cfb0005e20ea0000d005c16..."} 
[2026-07-25 17:32:20] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9926a310012d7cfb0005e20ea0000d005c16..."} 
[2026-07-25 17:32:20] local.INFO: Packet analysis {"connection_id":141176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:32:20] local.INFO: Extracted packet for processing {"connection_id":141176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763165440,"raw_latitude":98700960,"longitude_deg":76.316544,"latitude_deg":9.870096,"altitude":13,"angle":92,"satellites":22,"speed":22,"hex_longitude":"2d7cfb00","hex_latitude":"05e20ea0","is_valid_coordinates":true} 
[2026-07-25 17:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955100672001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110315719601684480,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996081018427867136,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784980874000,"timestamp_ms":1784980874000,"timestamp_seconds":1784980874,"priority":1,"record_length":96,"hex_timestamp":"0000019f9926a310"} 
[2026-07-25 17:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 17:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:32:20] 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-07-25 17:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955100672001,"66":12906,"43":206,"85":15104,"24":22,"16":110315719601684480,"45":8996081018427867136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-25 17:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955100672001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:20] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 17:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110315719601684480,"km_value":110315719601684.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996081018427867136,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955100672001,"power":12906,"unknown_43":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8996081018427867136}} 
[2026-07-25 17:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":141176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:20] local.INFO: GPS data processed {"connection_id":141176,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:20] local.INFO: Acknowledgment sent {"connection_id":141176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:26] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:32:26] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:32:26] local.INFO: IMEI packet received {"connection_id":141242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":141242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:32:31] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:32:31] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:32:31] local.INFO: IMEI packet received {"connection_id":141242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":141242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:32:32] local.INFO: TCP Data received {"connection_id":141175,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:32:32] local.INFO: Processing buffer {"connection_id":141175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:32:32] local.INFO: Packet analysis {"connection_id":141175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:32:32] local.INFO: Extracted packet for processing {"connection_id":141175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:32:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:32: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-07-25 17:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":141175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:32] local.INFO: GPS data processed {"connection_id":141175,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:32] local.INFO: Acknowledgment sent {"connection_id":141175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:32] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9924beb0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9924beb0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:32:32] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9924beb0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:32:32] local.INFO: Packet analysis {"connection_id":141242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:32:32] local.INFO: Extracted packet for processing {"connection_id":141242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9924"} 
[2026-07-25 17:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955066624001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980750000,"timestamp_ms":1784980750000,"timestamp_seconds":1784980750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9924beb0"} 
[2026-07-25 17:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955066624001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955066624001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955066624001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":141242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:32] local.INFO: GPS data processed {"connection_id":141242,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:32] local.INFO: Acknowledgment sent {"connection_id":141242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:51] local.INFO: TCP Data received {"connection_id":141176,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9926ed48012d7d1ec005e20b98000d005f16..."} 
[2026-07-25 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9926ed48012d7d1ec005e20b98000d005f16..."} 
[2026-07-25 17:32:51] local.INFO: Processing buffer {"connection_id":141176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9926ed48012d7d1ec005e20b98000d005f16..."} 
[2026-07-25 17:32:51] local.INFO: Packet analysis {"connection_id":141176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:32:51] local.INFO: Extracted packet for processing {"connection_id":141176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763174592,"raw_latitude":98700184,"longitude_deg":76.3174592,"latitude_deg":9.8700184,"altitude":13,"angle":95,"satellites":22,"speed":27,"hex_longitude":"2d7d1ec0","hex_latitude":"05e20b98","is_valid_coordinates":true} 
[2026-07-25 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955103744001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110316157688348672,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005791905124884480,"note":"Value kept but may cause issues"} 
[2026-07-25 17:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784980893000,"timestamp_ms":1784980893000,"timestamp_seconds":1784980893,"priority":1,"record_length":96,"hex_timestamp":"0000019f9926ed48"} 
[2026-07-25 17:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 17:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:32:51] 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-07-25 17:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955103744001,"66":12906,"43":206,"85":15104,"24":27,"16":110316157688348672,"45":9005791905124884480},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-25 17:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955103744001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:32:51] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-25 17:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110316157688348672,"km_value":110316157688348.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005791905124884480,"description":"Unknown IO ID 45"} 
[2026-07-25 17:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955103744001,"power":12906,"unknown_43":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9005791905124884480}} 
[2026-07-25 17:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":141176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:32:51] local.INFO: GPS data processed {"connection_id":141176,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:32:51] local.INFO: Acknowledgment sent {"connection_id":141176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:32:55] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:32:55] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:32:55] local.INFO: IMEI packet received {"connection_id":141243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":141243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:33:00] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:33:00] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:33:00] local.INFO: IMEI packet received {"connection_id":141243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":141243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:33:01] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:33:01] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:33:01] local.INFO: Packet analysis {"connection_id":141243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:01] local.INFO: Extracted packet for processing {"connection_id":141243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:33:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":141243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:33:01] local.INFO: GPS data processed {"connection_id":141243,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:33:01] local.INFO: Acknowledgment sent {"connection_id":141243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:33:03] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992510b8012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992510b8012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:33:03] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992510b8012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:33:03] local.INFO: Packet analysis {"connection_id":141242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:03] local.INFO: Extracted packet for processing {"connection_id":141242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955072000001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980771000,"timestamp_ms":1784980771000,"timestamp_seconds":1784980771,"priority":1,"record_length":96,"hex_timestamp":"0000019f992510b8"} 
[2026-07-25 17:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955072000001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955072000001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:33:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955072000001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":141242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:33:03] local.INFO: GPS data processed {"connection_id":141242,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:33:03] local.INFO: Acknowledgment sent {"connection_id":141242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:33:09] local.INFO: TCP Data received {"connection_id":143592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:09] local.INFO: Processing buffer {"connection_id":143592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:09] local.INFO: IMEI packet received {"connection_id":143592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":143592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:33:09] local.INFO: TCP Data received {"connection_id":143592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:09] local.INFO: Processing buffer {"connection_id":143592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:09] local.INFO: IMEI packet received {"connection_id":143592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":143592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:33:14] local.INFO: TCP Data received {"connection_id":143592,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:14] local.INFO: Processing buffer {"connection_id":143592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:33:14] local.INFO: IMEI packet received {"connection_id":143592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":143592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:33:26] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:33:26] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:33:26] local.INFO: IMEI packet received {"connection_id":143593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":143593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:33:31] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:33:31] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:33:31] local.INFO: IMEI packet received {"connection_id":143593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":143593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:33:32] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:33:32] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:33:32] local.INFO: Packet analysis {"connection_id":141243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:32] local.INFO: Extracted packet for processing {"connection_id":141243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:33: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-07-25 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":141243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:33:32] local.INFO: GPS data processed {"connection_id":141243,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:33:32] local.INFO: Acknowledgment sent {"connection_id":141243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:33:32] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992562c0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992562c0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:33:32] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992562c0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:33:32] local.INFO: Packet analysis {"connection_id":143593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:32] local.INFO: Extracted packet for processing {"connection_id":143593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955077376001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980792000,"timestamp_ms":1784980792000,"timestamp_seconds":1784980792,"priority":1,"record_length":96,"hex_timestamp":"0000019f992562c0"} 
[2026-07-25 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955077376001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955077376001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955077376001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":143593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:33:32] local.INFO: GPS data processed {"connection_id":143593,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:33:32] local.INFO: Acknowledgment sent {"connection_id":143593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:33:55] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:33:55] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:33:55] local.INFO: IMEI packet received {"connection_id":141177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":141177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:34:00] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:34:00] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:34:00] local.INFO: IMEI packet received {"connection_id":141177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":141177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:34:01] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:34:01] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:34:01] local.INFO: Packet analysis {"connection_id":141177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:34:01] local.INFO: Extracted packet for processing {"connection_id":141177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:34:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:34:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":141177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:34:01] local.INFO: GPS data processed {"connection_id":141177,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:34:01] local.INFO: Acknowledgment sent {"connection_id":141177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:34:03] local.INFO: TCP Data received {"connection_id":143593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925b4c8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925b4c8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:34:03] local.INFO: Processing buffer {"connection_id":143593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925b4c8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:34:03] local.INFO: Packet analysis {"connection_id":143593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:34:03] local.INFO: Extracted packet for processing {"connection_id":143593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955082752001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980813000,"timestamp_ms":1784980813000,"timestamp_seconds":1784980813,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925b4c8"} 
[2026-07-25 17:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955082752001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955082752001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955082752001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:34:03] local.INFO: GPS data processed {"connection_id":143593,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:34:03] local.INFO: Acknowledgment sent {"connection_id":143593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:34:26] local.INFO: TCP Data received {"connection_id":142211,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:34:26] local.INFO: Processing buffer {"connection_id":142211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:34:26] local.INFO: IMEI packet received {"connection_id":142211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":142211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:34:31] local.INFO: TCP Data received {"connection_id":142211,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:34:31] local.INFO: Processing buffer {"connection_id":142211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:34:31] local.INFO: IMEI packet received {"connection_id":142211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":142211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:34:32] local.INFO: TCP Data received {"connection_id":141177,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:34:32] local.INFO: Processing buffer {"connection_id":141177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:34:32] local.INFO: Packet analysis {"connection_id":141177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:34:32] local.INFO: Extracted packet for processing {"connection_id":141177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:34: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-07-25 17:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":141177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:34:32] local.INFO: GPS data processed {"connection_id":141177,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:34:32] local.INFO: Acknowledgment sent {"connection_id":141177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:34:32] local.INFO: TCP Data received {"connection_id":142211,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992606d0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992606d0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:34:32] local.INFO: Processing buffer {"connection_id":142211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992606d0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:34:32] local.INFO: Packet analysis {"connection_id":142211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:34:32] local.INFO: Extracted packet for processing {"connection_id":142211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955088128001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980834000,"timestamp_ms":1784980834000,"timestamp_seconds":1784980834,"priority":1,"record_length":96,"hex_timestamp":"0000019f992606d0"} 
[2026-07-25 17:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955088128001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955088128001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955088128001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":142211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:34:32] local.INFO: GPS data processed {"connection_id":142211,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:34:32] local.INFO: Acknowledgment sent {"connection_id":142211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:34:55] local.INFO: TCP Data received {"connection_id":143594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:34:55] local.INFO: Processing buffer {"connection_id":143594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:34:55] local.INFO: IMEI packet received {"connection_id":143594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":143594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:35:00] local.INFO: TCP Data received {"connection_id":143594,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:35:00] local.INFO: Processing buffer {"connection_id":143594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:35:00] local.INFO: IMEI packet received {"connection_id":143594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:35:01] local.INFO: TCP Data received {"connection_id":143594,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:35:01] local.INFO: Processing buffer {"connection_id":143594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:35:01] local.INFO: Packet analysis {"connection_id":143594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:35:01] local.INFO: Extracted packet for processing {"connection_id":143594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:35:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":143594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:35:01] local.INFO: GPS data processed {"connection_id":143594,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:35:01] local.INFO: Acknowledgment sent {"connection_id":143594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:35:03] local.INFO: TCP Data received {"connection_id":142211,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992658d8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992658d8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:35:03] local.INFO: Processing buffer {"connection_id":142211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992658d8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:35:03] local.INFO: Packet analysis {"connection_id":142211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:35:03] local.INFO: Extracted packet for processing {"connection_id":142211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955093504001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980855000,"timestamp_ms":1784980855000,"timestamp_seconds":1784980855,"priority":1,"record_length":96,"hex_timestamp":"0000019f992658d8"} 
[2026-07-25 17:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955093504001,"66":12428,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955093504001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:35:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955093504001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":142211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:35:03] local.INFO: GPS data processed {"connection_id":142211,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:35:03] local.INFO: Acknowledgment sent {"connection_id":142211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:35:26] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:35:26] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:35:26] local.INFO: IMEI packet received {"connection_id":141178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":141178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:35:31] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:35:31] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:35:31] local.INFO: IMEI packet received {"connection_id":141178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":141178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:35:32] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9926aae0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9926aae0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:35:32] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9926aae0012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:35:32] local.INFO: Packet analysis {"connection_id":141178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:35:32] local.INFO: Extracted packet for processing {"connection_id":141178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955098880001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980876000,"timestamp_ms":1784980876000,"timestamp_seconds":1784980876,"priority":1,"record_length":96,"hex_timestamp":"0000019f9926aae0"} 
[2026-07-25 17:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 17:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955098880001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955098880001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:35:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955098880001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":141178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:35:32] local.INFO: GPS data processed {"connection_id":141178,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:35:32] local.INFO: Acknowledgment sent {"connection_id":141178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:35:33] local.INFO: TCP Data received {"connection_id":143594,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:35:33] local.INFO: Processing buffer {"connection_id":143594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:35:33] local.INFO: Packet analysis {"connection_id":143594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:35:33] local.INFO: Extracted packet for processing {"connection_id":143594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:35:33] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":143594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:35:33] local.INFO: GPS data processed {"connection_id":143594,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:35:33] local.INFO: Acknowledgment sent {"connection_id":143594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:36:00] local.INFO: TCP Data received {"connection_id":142212,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:00] local.INFO: Processing buffer {"connection_id":142212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:00] local.INFO: IMEI packet received {"connection_id":142212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":142212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:36:03] local.INFO: TCP Data received {"connection_id":141178,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9926fce8012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9926fce8012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:36:03] local.INFO: Processing buffer {"connection_id":141178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9926fce8012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:36:03] local.INFO: Packet analysis {"connection_id":141178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:36:03] local.INFO: Extracted packet for processing {"connection_id":141178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9926"} 
[2026-07-25 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955104256001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980897000,"timestamp_ms":1784980897000,"timestamp_seconds":1784980897,"priority":1,"record_length":96,"hex_timestamp":"0000019f9926fce8"} 
[2026-07-25 17:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955104256001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955104256001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:36:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955104256001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":141178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:36:03] local.INFO: GPS data processed {"connection_id":141178,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:36:03] local.INFO: Acknowledgment sent {"connection_id":141178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:36:05] local.INFO: TCP Data received {"connection_id":142212,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:05] local.INFO: Processing buffer {"connection_id":142212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:05] local.INFO: IMEI packet received {"connection_id":142212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":142212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:36:05] local.INFO: TCP Data received {"connection_id":142212,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:05] local.INFO: Processing buffer {"connection_id":142212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9925ef60012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:05] local.INFO: Packet analysis {"connection_id":142212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:36:05] local.INFO: Extracted packet for processing {"connection_id":142212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9925"} 
[2026-07-25 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955014912001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784980828000,"timestamp_ms":1784980828000,"timestamp_seconds":1784980828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9925ef60"} 
[2026-07-25 17:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 17:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955014912001,"66":25680,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955014912001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:36:05] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:36:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955014912001,"power":25680,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":142212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:36:05] local.INFO: GPS data processed {"connection_id":142212,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:36:05] local.INFO: Acknowledgment sent {"connection_id":142212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:36:06] local.INFO: TCP Data received {"connection_id":141244,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:36:06] local.INFO: Processing buffer {"connection_id":141244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:36:06] local.INFO: IMEI packet received {"connection_id":141244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":141244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:36:07] local.INFO: TCP Data received {"connection_id":142212,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:07] local.INFO: Processing buffer {"connection_id":142212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:07] local.INFO: Packet analysis {"connection_id":142212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:36:07] local.INFO: Extracted packet for processing {"connection_id":142212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":142212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:36:07] local.INFO: GPS data processed {"connection_id":142212,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:36:07] local.INFO: Acknowledgment sent {"connection_id":142212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:36:26] local.INFO: TCP Data received {"connection_id":142213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:26] local.INFO: Processing buffer {"connection_id":142213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:26] local.INFO: IMEI packet received {"connection_id":142213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":142213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:36:27] local.INFO: TCP Data received {"connection_id":142213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:27] local.INFO: Processing buffer {"connection_id":142213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:27] local.INFO: IMEI packet received {"connection_id":142213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":142213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:36:31] local.INFO: TCP Data received {"connection_id":142213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:31] local.INFO: Processing buffer {"connection_id":142213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:36:31] local.INFO: IMEI packet received {"connection_id":142213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":142213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:36:32] local.INFO: TCP Data received {"connection_id":142213,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99274ef0012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99274ef0012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:36:32] local.INFO: Processing buffer {"connection_id":142213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99274ef0012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:36:32] local.INFO: Packet analysis {"connection_id":142213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9927"} 
[2026-07-25 17:36:32] local.INFO: Extracted packet for processing {"connection_id":142213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9927"} 
[2026-07-25 17:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955109632001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784980918000,"timestamp_ms":1784980918000,"timestamp_seconds":1784980918,"priority":1,"record_length":96,"hex_timestamp":"0000019f99274ef0"} 
[2026-07-25 17:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955109632001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955109632001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955109632001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":142213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:36:32] local.INFO: GPS data processed {"connection_id":142213,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:36:32] local.INFO: Acknowledgment sent {"connection_id":142213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:36:38] local.INFO: TCP Data received {"connection_id":142212,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:38] local.INFO: Processing buffer {"connection_id":142212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:36:38] local.INFO: Packet analysis {"connection_id":142212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:36:38] local.INFO: Extracted packet for processing {"connection_id":142212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:36:38] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":142212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:36:38] local.INFO: GPS data processed {"connection_id":142212,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:36:38] local.INFO: Acknowledgment sent {"connection_id":142212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:36:55] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:55] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:36:55] local.INFO: IMEI packet received {"connection_id":141245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":141245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:37:00] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:37:00] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:37:00] local.INFO: IMEI packet received {"connection_id":141245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":141245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:37:01] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:37:01] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:37:01] local.INFO: Packet analysis {"connection_id":141245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:37:01] local.INFO: Extracted packet for processing {"connection_id":141245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:37: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-07-25 17:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:37:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:37:01] local.INFO: GPS data processed {"connection_id":141245,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:37:01] local.INFO: Acknowledgment sent {"connection_id":141245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:37:03] local.INFO: TCP Data received {"connection_id":142213,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9927a0f8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9927a0f8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:37:03] local.INFO: Processing buffer {"connection_id":142213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9927a0f8012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:37:03] local.INFO: Packet analysis {"connection_id":142213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9927"} 
[2026-07-25 17:37:03] local.INFO: Extracted packet for processing {"connection_id":142213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9927"} 
[2026-07-25 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955115008001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784980939000,"timestamp_ms":1784980939000,"timestamp_seconds":1784980939,"priority":1,"record_length":96,"hex_timestamp":"0000019f9927a0f8"} 
[2026-07-25 17:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955115008001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955115008001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:37:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955115008001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":142213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:37:03] local.INFO: GPS data processed {"connection_id":142213,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:37:03] local.INFO: Acknowledgment sent {"connection_id":142213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:37:30] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:30] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:30] local.INFO: IMEI packet received {"connection_id":141179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":141179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:37:31] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:31] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:31] local.INFO: IMEI packet received {"connection_id":141179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":141179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:37:32] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:37:32] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:37:32] local.INFO: Packet analysis {"connection_id":141245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:37:32] local.INFO: Extracted packet for processing {"connection_id":141245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:37:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:37: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-07-25 17:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:37:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":141245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:37:32] local.INFO: GPS data processed {"connection_id":141245,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:37:32] local.INFO: Acknowledgment sent {"connection_id":141245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:37:36] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:36] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:37:36] local.INFO: IMEI packet received {"connection_id":141179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":141179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:37:37] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992b2750012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992b2750012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:37:37] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992b2750012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:37:37] local.INFO: Packet analysis {"connection_id":141179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992b"} 
[2026-07-25 17:37:37] local.INFO: Extracted packet for processing {"connection_id":141179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992b"} 
[2026-07-25 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955174144001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784981170000,"timestamp_ms":1784981170000,"timestamp_seconds":1784981170,"priority":1,"record_length":96,"hex_timestamp":"0000019f992b2750"} 
[2026-07-25 17:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 17:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955174144001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955174144001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955174144001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":141179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:37:37] local.INFO: GPS data processed {"connection_id":141179,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:37:37] local.INFO: Acknowledgment sent {"connection_id":141179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:37:42] local.INFO: TCP Data received {"connection_id":141179,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992b7958012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992b7958012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:37:42] local.INFO: Processing buffer {"connection_id":141179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992b7958012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:37:42] local.INFO: Packet analysis {"connection_id":141179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992b"} 
[2026-07-25 17:37:42] local.INFO: Extracted packet for processing {"connection_id":141179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992b"} 
[2026-07-25 17:37:42] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955179520001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784981191000,"timestamp_ms":1784981191000,"timestamp_seconds":1784981191,"priority":1,"record_length":96,"hex_timestamp":"0000019f992b7958"} 
[2026-07-25 17:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955179520001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955179520001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:37:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955179520001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":141179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:37:42] local.INFO: GPS data processed {"connection_id":141179,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:37:42] local.INFO: Acknowledgment sent {"connection_id":141179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:37:55] local.INFO: TCP Data received {"connection_id":142214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:37:55] local.INFO: Processing buffer {"connection_id":142214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:37:55] local.INFO: IMEI packet received {"connection_id":142214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":142214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:38:00] local.INFO: TCP Data received {"connection_id":142214,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:38:00] local.INFO: Processing buffer {"connection_id":142214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:38:00] local.INFO: IMEI packet received {"connection_id":142214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":142214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:38:01] local.INFO: TCP Data received {"connection_id":142214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:38:01] local.INFO: Processing buffer {"connection_id":142214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:38:01] local.INFO: Packet analysis {"connection_id":142214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:38:01] local.INFO: Extracted packet for processing {"connection_id":142214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:38:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:38: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-07-25 17:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:38:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":142214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:38:01] local.INFO: GPS data processed {"connection_id":142214,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:38:01] local.INFO: Acknowledgment sent {"connection_id":142214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:38:26] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:38:26] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:38:26] local.INFO: IMEI packet received {"connection_id":141246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":141246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:38:31] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:38:31] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:38:31] local.INFO: IMEI packet received {"connection_id":141246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":141246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:38:32] local.INFO: TCP Data received {"connection_id":142214,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:38:32] local.INFO: Processing buffer {"connection_id":142214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:38:32] local.INFO: Packet analysis {"connection_id":142214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:38:32] local.INFO: Extracted packet for processing {"connection_id":142214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:38: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-07-25 17:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":142214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:38:32] local.INFO: GPS data processed {"connection_id":142214,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:38:32] local.INFO: Acknowledgment sent {"connection_id":142214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:38:32] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992bcb60012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992bcb60012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:38:32] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992bcb60012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:38:32] local.INFO: Packet analysis {"connection_id":141246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992b"} 
[2026-07-25 17:38:32] local.INFO: Extracted packet for processing {"connection_id":141246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992b"} 
[2026-07-25 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955184896001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981212000,"timestamp_ms":1784981212000,"timestamp_seconds":1784981212,"priority":1,"record_length":96,"hex_timestamp":"0000019f992bcb60"} 
[2026-07-25 17:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955184896001,"66":12385,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955184896001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955184896001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":141246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:38:32] local.INFO: GPS data processed {"connection_id":141246,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:38:32] local.INFO: Acknowledgment sent {"connection_id":141246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:38:55] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:38:55] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:38:55] local.INFO: IMEI packet received {"connection_id":143595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":143595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:39:00] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:39:00] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:39:00] local.INFO: IMEI packet received {"connection_id":143595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":143595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:39:01] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:39:01] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:39:01] local.INFO: Packet analysis {"connection_id":143595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:39:01] local.INFO: Extracted packet for processing {"connection_id":143595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:39: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-07-25 17:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:39:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":143595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:39:01] local.INFO: GPS data processed {"connection_id":143595,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:39:01] local.INFO: Acknowledgment sent {"connection_id":143595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:39:03] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992c1d68012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992c1d68012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:39:03] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992c1d68012d181d000721ae80004f00dc2c..."} 
[2026-07-25 17:39:03] local.INFO: Packet analysis {"connection_id":141246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992c"} 
[2026-07-25 17:39:03] local.INFO: Extracted packet for processing {"connection_id":141246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992c"} 
[2026-07-25 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955190272001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784981233000,"timestamp_ms":1784981233000,"timestamp_seconds":1784981233,"priority":1,"record_length":96,"hex_timestamp":"0000019f992c1d68"} 
[2026-07-25 17:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 17:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955190272001,"66":12428,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955190272001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:39:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955190272001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":141246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:39:03] local.INFO: GPS data processed {"connection_id":141246,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:39:03] local.INFO: Acknowledgment sent {"connection_id":141246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:39:26] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:39:26] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:39:26] local.INFO: IMEI packet received {"connection_id":141247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":141247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:39:31] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:39:31] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:39:31] local.INFO: IMEI packet received {"connection_id":141247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":141247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:39:32] local.INFO: TCP Data received {"connection_id":143595,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:39:32] local.INFO: Processing buffer {"connection_id":143595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:39:32] local.INFO: Packet analysis {"connection_id":143595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:39:32] local.INFO: Extracted packet for processing {"connection_id":143595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:39: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-07-25 17: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-07-25 17:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":143595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:39:32] local.INFO: GPS data processed {"connection_id":143595,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:39:32] local.INFO: Acknowledgment sent {"connection_id":143595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:39:32] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992c6f70012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992c6f70012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:39:32] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992c6f70012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:39:32] local.INFO: Packet analysis {"connection_id":141247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992c"} 
[2026-07-25 17:39:32] local.INFO: Extracted packet for processing {"connection_id":141247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992c"} 
[2026-07-25 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955195648001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981254000,"timestamp_ms":1784981254000,"timestamp_seconds":1784981254,"priority":1,"record_length":96,"hex_timestamp":"0000019f992c6f70"} 
[2026-07-25 17:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 17:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955195648001,"66":12439,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955195648001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955195648001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":141247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:39:32] local.INFO: GPS data processed {"connection_id":141247,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:39:32] local.INFO: Acknowledgment sent {"connection_id":141247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:40:00] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:00] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:00] local.INFO: IMEI packet received {"connection_id":141180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":141180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:40:03] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992cc178012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992cc178012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:40:03] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992cc178012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:40:03] local.INFO: Packet analysis {"connection_id":141247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992c"} 
[2026-07-25 17:40:03] local.INFO: Extracted packet for processing {"connection_id":141247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992c"} 
[2026-07-25 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955201024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784981275000,"timestamp_ms":1784981275000,"timestamp_seconds":1784981275,"priority":1,"record_length":96,"hex_timestamp":"0000019f992cc178"} 
[2026-07-25 17:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 17:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955201024001,"66":12428,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955201024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:40:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955201024001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":141247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:40:03] local.INFO: GPS data processed {"connection_id":141247,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:40:03] local.INFO: Acknowledgment sent {"connection_id":141247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:40:05] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:05] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:05] local.INFO: IMEI packet received {"connection_id":141180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":141180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:40:06] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:40:06] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:40:06] local.INFO: Packet analysis {"connection_id":141180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:40:06] local.INFO: Extracted packet for processing {"connection_id":141180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:40:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":141180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:40:06] local.INFO: GPS data processed {"connection_id":141180,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:40:06] local.INFO: Acknowledgment sent {"connection_id":141180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:40:10] local.INFO: TCP Data received {"connection_id":141180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:40:10] local.INFO: Processing buffer {"connection_id":141180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:40:10] local.INFO: Packet analysis {"connection_id":141180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:40:10] local.INFO: Extracted packet for processing {"connection_id":141180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 17:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:40:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:40:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":141180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:40:10] local.INFO: GPS data processed {"connection_id":141180,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:40:10] local.INFO: Acknowledgment sent {"connection_id":141180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:40:26] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:40:26] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:40:26] local.INFO: IMEI packet received {"connection_id":141248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":141248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:40:31] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:40:31] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:40:31] local.INFO: IMEI packet received {"connection_id":141248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":141248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:40:32] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992d1380012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992d1380012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:40:32] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992d1380012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:40:32] local.INFO: Packet analysis {"connection_id":141248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992d"} 
[2026-07-25 17:40:32] local.INFO: Extracted packet for processing {"connection_id":141248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992d"} 
[2026-07-25 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955206400001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981296000,"timestamp_ms":1784981296000,"timestamp_seconds":1784981296,"priority":1,"record_length":96,"hex_timestamp":"0000019f992d1380"} 
[2026-07-25 17:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 17:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955206400001,"66":12439,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955206400001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:40:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955206400001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":141248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:40:32] local.INFO: GPS data processed {"connection_id":141248,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:40:32] local.INFO: Acknowledgment sent {"connection_id":141248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:40:55] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:55] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:40:55] local.INFO: IMEI packet received {"connection_id":141249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":141249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:41:00] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:41:00] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:41:00] local.INFO: IMEI packet received {"connection_id":141249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":141249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:41:01] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:41:01] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992a8728012db6310005cae678001a00872c..."} 
[2026-07-25 17:41:01] local.INFO: Packet analysis {"connection_id":141249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:41:01] local.INFO: Extracted packet for processing {"connection_id":141249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992a"} 
[2026-07-25 17:41:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955091968001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981129000,"timestamp_ms":1784981129000,"timestamp_seconds":1784981129,"priority":1,"record_length":96,"hex_timestamp":"0000019f992a8728"} 
[2026-07-25 17:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955091968001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955091968001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955091968001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":141249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:41:01] local.INFO: GPS data processed {"connection_id":141249,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:41:01] local.INFO: Acknowledgment sent {"connection_id":141249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:41:04] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992d6588012d181d000721ae80004f00dc29..."} 
[2026-07-25 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992d6588012d181d000721ae80004f00dc29..."} 
[2026-07-25 17:41:04] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992d6588012d181d000721ae80004f00dc29..."} 
[2026-07-25 17:41:04] local.INFO: Packet analysis {"connection_id":141248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992d"} 
[2026-07-25 17:41:04] local.INFO: Extracted packet for processing {"connection_id":141248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992d"} 
[2026-07-25 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":41,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955211776001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784981317000,"timestamp_ms":1784981317000,"timestamp_seconds":1784981317,"priority":1,"record_length":96,"hex_timestamp":"0000019f992d6588"} 
[2026-07-25 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 17:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955211776001,"66":12461,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955211776001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:41:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955211776001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":141248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:41:04] local.INFO: GPS data processed {"connection_id":141248,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:41:04] local.INFO: Acknowledgment sent {"connection_id":141248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:41:26] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:41:26] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:41:26] local.INFO: IMEI packet received {"connection_id":141250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":141250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:41:31] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:41:31] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:41:31] local.INFO: IMEI packet received {"connection_id":141250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":141250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:41:32] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:41:32] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:41:32] local.INFO: Packet analysis {"connection_id":141249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:41:32] local.INFO: Extracted packet for processing {"connection_id":141249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:41: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-07-25 17:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":141249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:41:32] local.INFO: GPS data processed {"connection_id":141249,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:41:32] local.INFO: Acknowledgment sent {"connection_id":141249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:41:32] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992db790012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992db790012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:41:32] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992db790012d181d000721ae80004f00dc2a..."} 
[2026-07-25 17:41:32] local.INFO: Packet analysis {"connection_id":141250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992d"} 
[2026-07-25 17:41:32] local.INFO: Extracted packet for processing {"connection_id":141250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992d"} 
[2026-07-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955217152001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981338000,"timestamp_ms":1784981338000,"timestamp_seconds":1784981338,"priority":1,"record_length":96,"hex_timestamp":"0000019f992db790"} 
[2026-07-25 17:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955217152001,"66":12428,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955217152001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955217152001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":141250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:41:32] local.INFO: GPS data processed {"connection_id":141250,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:41:32] local.INFO: Acknowledgment sent {"connection_id":141250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:41:55] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:41:55] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:41:55] local.INFO: IMEI packet received {"connection_id":141181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":141181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:41:59] local.INFO: TCP Data received {"connection_id":141251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:41:59] local.INFO: Processing buffer {"connection_id":141251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:41:59] local.INFO: IMEI packet received {"connection_id":141251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":141251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:42:00] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:42:00] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:42:00] local.INFO: IMEI packet received {"connection_id":141181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":141181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:42:01] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:42:01] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:42:01] local.INFO: Packet analysis {"connection_id":141181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:42:01] local.INFO: Extracted packet for processing {"connection_id":141181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:42:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:42:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":141181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:42:01] local.INFO: GPS data processed {"connection_id":141181,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:42:01] local.INFO: Acknowledgment sent {"connection_id":141181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:42:03] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992e0998012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992e0998012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:42:03] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992e0998012d181d000721ae80004f00dc2b..."} 
[2026-07-25 17:42:03] local.INFO: Packet analysis {"connection_id":141250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992e"} 
[2026-07-25 17:42:03] local.INFO: Extracted packet for processing {"connection_id":141250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992e"} 
[2026-07-25 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647872,"longitude_deg":75.6555008,"latitude_deg":11.9647872,"altitude":79,"angle":220,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ae80","is_valid_coordinates":true} 
[2026-07-25 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955222528001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786382101151744,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864734720,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784981359000,"timestamp_ms":1784981359000,"timestamp_seconds":1784981359,"priority":1,"record_length":96,"hex_timestamp":"0000019f992e0998"} 
[2026-07-25 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 17:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955222528001,"66":12439,"105":206,"83":41984,"24":0,"16":8786382101151744,"45":1737545061864734720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955222528001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786382101151744,"km_value":8786382101151.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864734720,"description":"Unknown IO ID 45"} 
[2026-07-25 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955222528001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737545061864734720}} 
[2026-07-25 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":141250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:42:04] local.INFO: GPS data processed {"connection_id":141250,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:42:04] local.INFO: Acknowledgment sent {"connection_id":141250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:42:26] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:26] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:26] local.INFO: IMEI packet received {"connection_id":141252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":141252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:42:26] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:26] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:26] local.INFO: IMEI packet received {"connection_id":141252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":141252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:42:31] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:31] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:42:31] local.INFO: IMEI packet received {"connection_id":141252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":141252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:42:32] local.INFO: TCP Data received {"connection_id":141181,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:42:32] local.INFO: Processing buffer {"connection_id":141181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:42:32] local.INFO: Packet analysis {"connection_id":141181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:42:32] local.INFO: Extracted packet for processing {"connection_id":141181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17: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-07-25 17:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":141181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:42:32] local.INFO: GPS data processed {"connection_id":141181,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:42:32] local.INFO: Acknowledgment sent {"connection_id":141181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:42:32] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f992fd688012d181f400721a810004800802a..."} 
[2026-07-25 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992fd688012d181f400721a810004800802a..."} 
[2026-07-25 17:42:32] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992fd688012d181f400721a810004800802a..."} 
[2026-07-25 17:42:32] local.INFO: Packet analysis {"connection_id":141252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:42:32] local.INFO: Extracted packet for processing {"connection_id":141252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646224,"longitude_deg":75.6555584,"latitude_deg":11.9646224,"altitude":72,"angle":128,"satellites":42,"speed":9,"hex_longitude":"2d181f40","hex_latitude":"0721a810","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955257344001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786480885399552,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608629760,"note":"Value kept but may cause issues"} 
[2026-07-25 17:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981477000,"timestamp_ms":1784981477000,"timestamp_seconds":1784981477,"priority":1,"record_length":96,"hex_timestamp":"0000019f992fd688"} 
[2026-07-25 17:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-25 17:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955257344001,"66":14113,"105":206,"83":41984,"24":9,"16":8786480885399552,"45":1737615430608629760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 17:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955257344001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786480885399552,"km_value":8786480885399.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608629760,"description":"Unknown IO ID 45"} 
[2026-07-25 17:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955257344001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737615430608629760}} 
[2026-07-25 17:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":141252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:42:32] local.INFO: GPS data processed {"connection_id":141252,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:42:32] local.INFO: Acknowledgment sent {"connection_id":141252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:00] local.INFO: TCP Data received {"connection_id":142216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:00] local.INFO: Processing buffer {"connection_id":142216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:00] local.INFO: IMEI packet received {"connection_id":142216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":142216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:43:03] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99300d38012d18320007219898004c00732b..."} 
[2026-07-25 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99300d38012d18320007219898004c00732b..."} 
[2026-07-25 17:43:03] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99300d38012d18320007219898004c00732b..."} 
[2026-07-25 17:43:03] local.INFO: Packet analysis {"connection_id":141252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9930"} 
[2026-07-25 17:43:03] local.INFO: Extracted packet for processing {"connection_id":141252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9930"} 
[2026-07-25 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756560384,"raw_latitude":119642264,"longitude_deg":75.6560384,"latitude_deg":11.9642264,"altitude":76,"angle":115,"satellites":43,"speed":27,"hex_longitude":"2d183200","hex_latitude":"07219898","is_valid_coordinates":true} 
[2026-07-25 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955258112001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8786777238142976,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561911808,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784981491000,"timestamp_ms":1784981491000,"timestamp_seconds":1784981491,"priority":1,"record_length":96,"hex_timestamp":"0000019f99300d38"} 
[2026-07-25 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-25 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955258112001,"66":14189,"106":206,"83":41984,"24":27,"16":8786777238142976,"45":1738178380561911808},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955258112001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 17:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8786777238142976,"km_value":8786777238142.976,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561911808,"description":"Unknown IO ID 45"} 
[2026-07-25 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955258112001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1738178380561911808}} 
[2026-07-25 17:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":141252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:43:03] local.INFO: GPS data processed {"connection_id":141252,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:43:03] local.INFO: Acknowledgment sent {"connection_id":141252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:05] local.INFO: TCP Data received {"connection_id":142216,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:05] local.INFO: Processing buffer {"connection_id":142216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:05] local.INFO: IMEI packet received {"connection_id":142216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":142216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:43:05] local.INFO: TCP Data received {"connection_id":142216,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:43:05] local.INFO: Processing buffer {"connection_id":142216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:43:05] local.INFO: Packet analysis {"connection_id":142216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:43:05] local.INFO: Extracted packet for processing {"connection_id":142216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:43:05] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:43:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":142216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:43:05] local.INFO: GPS data processed {"connection_id":142216,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:43:05] local.INFO: Acknowledgment sent {"connection_id":142216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:10] local.INFO: TCP Data received {"connection_id":142216,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:43:10] local.INFO: Processing buffer {"connection_id":142216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:43:10] local.INFO: Packet analysis {"connection_id":142216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:43:10] local.INFO: Extracted packet for processing {"connection_id":142216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:43:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":142216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:43:10] local.INFO: GPS data processed {"connection_id":142216,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:43:10] local.INFO: Acknowledgment sent {"connection_id":142216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:26] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:26] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:26] local.INFO: IMEI packet received {"connection_id":143597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":143597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:43:30] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:30] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:30] local.INFO: IMEI packet received {"connection_id":143597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":143597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:43:31] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:31] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:43:31] local.INFO: IMEI packet received {"connection_id":143597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":143597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:43:32] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f99..."} 
[2026-07-25 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f99..."} 
[2026-07-25 17:43:32] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f99..."} 
[2026-07-25 17:43:32] local.INFO: IMEI packet received {"connection_id":143597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":143597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:43:36] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9930f798012d18d200072127c8003f00ab2c..."} 
[2026-07-25 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9930f798012d18d200072127c8003f00ab2c..."} 
[2026-07-25 17:43:36] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f9930dc40012d18c7c007213a28004000992b..."} 
[2026-07-25 17:43:36] local.INFO: Packet analysis {"connection_id":143597,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f9930"} 
[2026-07-25 17:43:36] local.INFO: Extracted packet for processing {"connection_id":143597,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9930"} 
[2026-07-25 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756598720,"raw_latitude":119618088,"longitude_deg":75.659872,"latitude_deg":11.9618088,"altitude":64,"angle":153,"satellites":43,"speed":32,"hex_longitude":"2d18c7c0","hex_latitude":"07213a28","is_valid_coordinates":true} 
[2026-07-25 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955274752001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789160944992256,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177420288,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784981544000,"timestamp_ms":1784981544000,"timestamp_seconds":1784981544,"priority":1,"record_length":96,"hex_timestamp":"0000019f9930dc40"} 
[2026-07-25 17:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 17:43: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-07-25 17:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955274752001,"66":14004,"106":206,"83":41984,"24":32,"16":8789160944992256,"45":1785043964177420288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955274752001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789160944992256,"km_value":8789160944992.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177420288,"description":"Unknown IO ID 45"} 
[2026-07-25 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955274752001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1785043964177420288}} 
[2026-07-25 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":143597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:43:36] local.INFO: GPS data processed {"connection_id":143597,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:43:36] local.INFO: Acknowledgment sent {"connection_id":143597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:36] local.INFO: Packet analysis {"connection_id":143597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9930"} 
[2026-07-25 17:43:36] local.INFO: Extracted packet for processing {"connection_id":143597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9930"} 
[2026-07-25 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613384,"longitude_deg":75.6601344,"latitude_deg":11.9613384,"altitude":63,"angle":171,"satellites":44,"speed":29,"hex_longitude":"2d18d200","hex_latitude":"072127c8","is_valid_coordinates":true} 
[2026-07-25 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955275264001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789422937997312,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130454528,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784981551000,"timestamp_ms":1784981551000,"timestamp_seconds":1784981551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9930f798"} 
[2026-07-25 17:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 17:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955275264001,"66":14080,"103":206,"83":41984,"24":29,"16":8789422937997312,"45":1785606914130454528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955275264001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789422937997312,"km_value":8789422937997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130454528,"description":"Unknown IO ID 45"} 
[2026-07-25 17:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955275264001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1785606914130454528}} 
[2026-07-25 17:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":143597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:43:36] local.INFO: GPS data processed {"connection_id":143597,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:43:36] local.INFO: Acknowledgment sent {"connection_id":143597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:38] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99310738012d18d24007211cc0003d00b72b..."} 
[2026-07-25 17:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99310738012d18d24007211cc0003d00b72b..."} 
[2026-07-25 17:43:38] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99310738012d18d24007211cc0003d00b72b..."} 
[2026-07-25 17:43:38] local.INFO: Packet analysis {"connection_id":143597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9931"} 
[2026-07-25 17:43:38] local.INFO: Extracted packet for processing {"connection_id":143597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9931"} 
[2026-07-25 17:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119610560,"longitude_deg":75.6601408,"latitude_deg":11.961056,"altitude":61,"angle":183,"satellites":43,"speed":28,"hex_longitude":"2d18d240","hex_latitude":"07211cc0","is_valid_coordinates":true} 
[2026-07-25 17:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955277056001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8789560376950784,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640534528,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43: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-07-25 17:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784981555000,"timestamp_ms":1784981555000,"timestamp_seconds":1784981555,"priority":1,"record_length":96,"hex_timestamp":"0000019f99310738"} 
[2026-07-25 17:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2570098160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":47105,"corrected_to":0} 
[2026-07-25 17:43:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-25 17:43:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252778,"note":"Value kept but may cause issues"} 
[2026-07-25 17:43:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,57,159,220,45,192,58,64,43,10,66,106,212,65,41,200,1,240,224,227,153,33,4,113,205,34,179,152,42,239,50,2,31,7,73,36],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":200,"original":47105,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-25 17:43:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539816629858271232,"timestamp_seconds":4539816629858271.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955277056001,"66":13961,"103":206,"83":41984,"24":28,"16":8789560376950784,"45":1788492032640534528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955277056001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8789560376950784,"km_value":8789560376950.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640534528,"description":"Unknown IO ID 45"} 
[2026-07-25 17:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955277056001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1788492032640534528}} 
[2026-07-25 17:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":143597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:43:38] local.INFO: GPS data processed {"connection_id":143597,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:43:38] local.INFO: Acknowledgment sent {"connection_id":143597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:43:55] local.INFO: TCP Data received {"connection_id":142217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:55] local.INFO: Processing buffer {"connection_id":142217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:43:55] local.INFO: IMEI packet received {"connection_id":142217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":142217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:44:00] local.INFO: TCP Data received {"connection_id":142217,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:44:00] local.INFO: Processing buffer {"connection_id":142217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:44:00] local.INFO: IMEI packet received {"connection_id":142217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":142217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:44:01] local.INFO: TCP Data received {"connection_id":142217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:44:01] local.INFO: Processing buffer {"connection_id":142217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:44:01] local.INFO: Packet analysis {"connection_id":142217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:44:01] local.INFO: Extracted packet for processing {"connection_id":142217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:44:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":142217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:44:01] local.INFO: GPS data processed {"connection_id":142217,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:44:01] local.INFO: Acknowledgment sent {"connection_id":142217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:44:09] local.INFO: TCP Data received {"connection_id":143597,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99319f90012d18ca400720f070003600b129..."} 
[2026-07-25 17:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99319f90012d18ca400720f070003600b129..."} 
[2026-07-25 17:44:09] local.INFO: Processing buffer {"connection_id":143597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99319f90012d18ca400720f070003600b129..."} 
[2026-07-25 17:44:09] local.INFO: Packet analysis {"connection_id":143597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9931"} 
[2026-07-25 17:44:09] local.INFO: Extracted packet for processing {"connection_id":143597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9931"} 
[2026-07-25 17:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119599216,"longitude_deg":75.659936,"latitude_deg":11.9599216,"altitude":54,"angle":177,"satellites":41,"speed":7,"hex_longitude":"2d18ca40","hex_latitude":"0720f070","is_valid_coordinates":true} 
[2026-07-25 17:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955287552001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8790221801914368,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786099495334987776,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784981594000,"timestamp_ms":1784981594000,"timestamp_seconds":1784981594,"priority":1,"record_length":96,"hex_timestamp":"0000019f99319f90"} 
[2026-07-25 17:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 17:44: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-07-25 17:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955287552001,"66":14233,"103":206,"83":41984,"24":7,"16":8790221801914368,"45":1786099495334987776},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955287552001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:44:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8790221801914368,"km_value":8790221801914.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786099495334987776,"description":"Unknown IO ID 45"} 
[2026-07-25 17:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955287552001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1786099495334987776}} 
[2026-07-25 17:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":143597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:44:09] local.INFO: GPS data processed {"connection_id":143597,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:44:09] local.INFO: Acknowledgment sent {"connection_id":143597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:44:26] local.INFO: TCP Data received {"connection_id":142218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:26] local.INFO: Processing buffer {"connection_id":142218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:26] local.INFO: IMEI packet received {"connection_id":142218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":142218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:44:26] local.INFO: TCP Data received {"connection_id":142218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:26] local.INFO: Processing buffer {"connection_id":142218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:26] local.INFO: IMEI packet received {"connection_id":142218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":142218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:44:27] local.INFO: TCP Data received {"connection_id":142218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:27] local.INFO: Processing buffer {"connection_id":142218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:27] local.INFO: IMEI packet received {"connection_id":142218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":142218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:44:28] local.INFO: TCP Data received {"connection_id":142218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:28] local.INFO: Processing buffer {"connection_id":142218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:44:28] local.INFO: IMEI packet received {"connection_id":142218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":142218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:44:32] local.INFO: TCP Data received {"connection_id":142217,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:44:32] local.INFO: Processing buffer {"connection_id":142217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:44:32] local.INFO: Packet analysis {"connection_id":142217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:44:32] local.INFO: Extracted packet for processing {"connection_id":142217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 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-07-25 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 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-07-25 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:44: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-07-25 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-07-25 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-07-25 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":142217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:44:32] local.INFO: GPS data processed {"connection_id":142217,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:44:32] local.INFO: Acknowledgment sent {"connection_id":142217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:44:55] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:44:55] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:44:55] local.INFO: IMEI packet received {"connection_id":141253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":141253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:45:00] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:45:00] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:45:00] local.INFO: IMEI packet received {"connection_id":141253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":141253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:45:01] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:45:01] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:45:01] local.INFO: Packet analysis {"connection_id":141253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:45:01] local.INFO: Extracted packet for processing {"connection_id":141253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:45:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":141253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:45:01] local.INFO: GPS data processed {"connection_id":141253,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:45:01] local.INFO: Acknowledgment sent {"connection_id":141253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:45:32] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:45:32] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:45:32] local.INFO: Packet analysis {"connection_id":141253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:45:32] local.INFO: Extracted packet for processing {"connection_id":141253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:45: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-07-25 17:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:45:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":141253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:45:32] local.INFO: GPS data processed {"connection_id":141253,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:45:32] local.INFO: Acknowledgment sent {"connection_id":141253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:45:55] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:45:55] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:45:55] local.INFO: IMEI packet received {"connection_id":141183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":141183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:46:00] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:46:00] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:46:00] local.INFO: IMEI packet received {"connection_id":141183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":141183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:46:01] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:46:01] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f992f1ef0012db6310005cae678001a00872c..."} 
[2026-07-25 17:46:01] local.INFO: Packet analysis {"connection_id":141183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:46:01] local.INFO: Extracted packet for processing {"connection_id":141183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f992f"} 
[2026-07-25 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955169024001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981430000,"timestamp_ms":1784981430000,"timestamp_seconds":1784981430,"priority":1,"record_length":96,"hex_timestamp":"0000019f992f1ef0"} 
[2026-07-25 17:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955169024001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955169024001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:46:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955169024001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":141183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:46:01] local.INFO: GPS data processed {"connection_id":141183,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:46:01] local.INFO: Acknowledgment sent {"connection_id":141183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:46:31] local.INFO: TCP Data received {"connection_id":141183,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:46:31] local.INFO: Processing buffer {"connection_id":141183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:46:31] local.INFO: Packet analysis {"connection_id":141183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:46:31] local.INFO: Extracted packet for processing {"connection_id":141183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:46:31] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:46: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-07-25 17:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:46:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":141183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:46:31] local.INFO: GPS data processed {"connection_id":141183,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:46:31] local.INFO: Acknowledgment sent {"connection_id":141183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:46:55] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:46:55] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:46:55] local.INFO: IMEI packet received {"connection_id":141184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":141184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:47:00] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:47:00] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:47:00] local.INFO: IMEI packet received {"connection_id":141184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":141184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:47:01] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:47:01] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:47:01] local.INFO: Packet analysis {"connection_id":141184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:47:01] local.INFO: Extracted packet for processing {"connection_id":141184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":141184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:47:01] local.INFO: GPS data processed {"connection_id":141184,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:47:01] local.INFO: Acknowledgment sent {"connection_id":141184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:47:32] local.INFO: TCP Data received {"connection_id":141184,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:47:32] local.INFO: Processing buffer {"connection_id":141184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:47:32] local.INFO: Packet analysis {"connection_id":141184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:47:32] local.INFO: Extracted packet for processing {"connection_id":141184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:47: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-07-25 17:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:47:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":141184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:47:32] local.INFO: GPS data processed {"connection_id":141184,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:47:32] local.INFO: Acknowledgment sent {"connection_id":141184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:47:39] local.INFO: TCP Data received {"connection_id":141182,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:47:39] local.INFO: Processing buffer {"connection_id":141182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:47:39] local.INFO: IMEI packet received {"connection_id":141182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":141182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:48:00] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:00] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:00] local.INFO: IMEI packet received {"connection_id":141185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":141185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:48:05] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:05] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:05] local.INFO: IMEI packet received {"connection_id":141185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":141185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:48:06] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:48:06] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:48:06] local.INFO: Packet analysis {"connection_id":141185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:48:06] local.INFO: Extracted packet for processing {"connection_id":141185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:48:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":141185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:48:06] local.INFO: GPS data processed {"connection_id":141185,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:48:06] local.INFO: Acknowledgment sent {"connection_id":141185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:48:10] local.INFO: TCP Data received {"connection_id":141185,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:48:10] local.INFO: Processing buffer {"connection_id":141185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:48:10] local.INFO: Packet analysis {"connection_id":141185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:48:10] local.INFO: Extracted packet for processing {"connection_id":141185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:48:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":141185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:48:10] local.INFO: GPS data processed {"connection_id":141185,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:48:10] local.INFO: Acknowledgment sent {"connection_id":141185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:48:56] local.INFO: TCP Data received {"connection_id":142222,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:56] local.INFO: Processing buffer {"connection_id":142222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:48:56] local.INFO: IMEI packet received {"connection_id":142222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":142222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:49:00] local.INFO: TCP Data received {"connection_id":142222,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:49:00] local.INFO: Processing buffer {"connection_id":142222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:49:00] local.INFO: IMEI packet received {"connection_id":142222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":142222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:49:01] local.INFO: TCP Data received {"connection_id":142222,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:01] local.INFO: Processing buffer {"connection_id":142222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:01] local.INFO: Packet analysis {"connection_id":142222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:49:01] local.INFO: Extracted packet for processing {"connection_id":142222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:49:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":142222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:49:01] local.INFO: GPS data processed {"connection_id":142222,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:49:01] local.INFO: Acknowledgment sent {"connection_id":142222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:49:06] local.INFO: TCP Data received {"connection_id":142222,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:06] local.INFO: Processing buffer {"connection_id":142222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:06] local.INFO: Packet analysis {"connection_id":142222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:49:06] local.INFO: Extracted packet for processing {"connection_id":142222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:49:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":142222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:49:06] local.INFO: GPS data processed {"connection_id":142222,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:49:06] local.INFO: Acknowledgment sent {"connection_id":142222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:49:30] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:49:30] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:49:30] local.INFO: IMEI packet received {"connection_id":141186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":141186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:49:31] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99359b18012d1a7940071fc9e00037012d2a..."} 
[2026-07-25 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99359b18012d1a7940071fc9e00037012d2a..."} 
[2026-07-25 17:49:31] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99359b18012d1a7940071fc9e00037012d2a..."} 
[2026-07-25 17:49:31] local.INFO: Packet analysis {"connection_id":141186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9935"} 
[2026-07-25 17:49:31] local.INFO: Extracted packet for processing {"connection_id":141186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9935"} 
[2026-07-25 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756709696,"raw_latitude":119523808,"longitude_deg":75.6709696,"latitude_deg":11.9523808,"altitude":55,"angle":301,"satellites":42,"speed":6,"hex_longitude":"2d1a7940","hex_latitude":"071fc9e0","is_valid_coordinates":true} 
[2026-07-25 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955354624001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8798373649842176,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907767053998731264,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784981855000,"timestamp_ms":1784981855000,"timestamp_seconds":1784981855,"priority":1,"record_length":96,"hex_timestamp":"0000019f99359b18"} 
[2026-07-25 17:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2570405160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-25 17:49:31] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3758173466,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,66,159,147,45,64,201,55,42,10,135,192,203,54,41,104,128,1,240,224,227,65,153,31,4,113,205,26,80,48,40,239,2,7,53,30],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-25 17:49:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963466919637876736,"timestamp_seconds":3963466919637876.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955354624001,"66":13993,"101":206,"83":41984,"24":6,"16":8798373649842176,"45":1907767053998731264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 17:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955354624001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8798373649842176,"km_value":8798373649842.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907767053998731264,"description":"Unknown IO ID 45"} 
[2026-07-25 17:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955354624001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1907767053998731264}} 
[2026-07-25 17:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":141186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:49:31] local.INFO: GPS data processed {"connection_id":141186,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:49:31] local.INFO: Acknowledgment sent {"connection_id":141186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:49:37] local.INFO: TCP Data received {"connection_id":142222,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:37] local.INFO: Processing buffer {"connection_id":142222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:49:37] local.INFO: Packet analysis {"connection_id":142222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:49:37] local.INFO: Extracted packet for processing {"connection_id":142222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:49:37] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":142222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:49:37] local.INFO: GPS data processed {"connection_id":142222,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:49:37] local.INFO: Acknowledgment sent {"connection_id":142222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:49:55] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:49:55] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:49:55] local.INFO: IMEI packet received {"connection_id":141254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:50:00] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:50:00] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:50:00] local.INFO: IMEI packet received {"connection_id":141254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":141254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:50:01] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:50:01] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:50:01] local.INFO: Packet analysis {"connection_id":141254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:50:01] local.INFO: Extracted packet for processing {"connection_id":141254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:50:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":141254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:50:01] local.INFO: GPS data processed {"connection_id":141254,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:50:01] local.INFO: Acknowledgment sent {"connection_id":141254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:50:02] local.INFO: TCP Data received {"connection_id":141186,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9935ed20012d1a78c0071fca200036012d26..."} 
[2026-07-25 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9935ed20012d1a78c0071fca200036012d26..."} 
[2026-07-25 17:50:02] local.INFO: Processing buffer {"connection_id":141186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9935ed20012d1a78c0071fca200036012d26..."} 
[2026-07-25 17:50:02] local.INFO: Packet analysis {"connection_id":141186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9935"} 
[2026-07-25 17:50:02] local.INFO: Extracted packet for processing {"connection_id":141186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9935"} 
[2026-07-25 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756709568,"raw_latitude":119523872,"longitude_deg":75.6709568,"latitude_deg":11.9523872,"altitude":54,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2d1a78c0","hex_latitude":"071fca20","is_valid_coordinates":true} 
[2026-07-25 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955354880001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8798382239776768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907626316510388224,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784981876000,"timestamp_ms":1784981876000,"timestamp_seconds":1784981876,"priority":1,"record_length":96,"hex_timestamp":"0000019f9935ed20"} 
[2026-07-25 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 17:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955354880001,"66":14363,"101":206,"83":41984,"24":0,"16":8798382239776768,"45":1907626316510388224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955354880001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:50:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 17:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8798382239776768,"km_value":8798382239776.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907626316510388224,"description":"Unknown IO ID 45"} 
[2026-07-25 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955354880001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1907626316510388224}} 
[2026-07-25 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":141186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:50:02] local.INFO: GPS data processed {"connection_id":141186,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:50:02] local.INFO: Acknowledgment sent {"connection_id":141186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:50:26] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:50:26] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:50:26] local.INFO: IMEI packet received {"connection_id":141187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":141187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:50:31] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:50:31] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:50:31] local.INFO: IMEI packet received {"connection_id":141187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":141187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:50:32] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:50:32] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:50:32] local.INFO: Packet analysis {"connection_id":141254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:50:32] local.INFO: Extracted packet for processing {"connection_id":141254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:50:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:50:32] local.INFO: GPS data processed {"connection_id":141254,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:50:32] local.INFO: Acknowledgment sent {"connection_id":141254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:50:32] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99363f28012d1a78c0071fca200036012d27..."} 
[2026-07-25 17:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99363f28012d1a78c0071fca200036012d27..."} 
[2026-07-25 17:50:32] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99363f28012d1a78c0071fca200036012d27..."} 
[2026-07-25 17:50:32] local.INFO: Packet analysis {"connection_id":141187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9936"} 
[2026-07-25 17:50:32] local.INFO: Extracted packet for processing {"connection_id":141187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9936"} 
[2026-07-25 17:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756709568,"raw_latitude":119523872,"longitude_deg":75.6709568,"latitude_deg":11.9523872,"altitude":54,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2d1a78c0","hex_latitude":"071fca20","is_valid_coordinates":true} 
[2026-07-25 17:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955360256001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8798382239776768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907485579022049280,"note":"Value kept but may cause issues"} 
[2026-07-25 17:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981897000,"timestamp_ms":1784981897000,"timestamp_seconds":1784981897,"priority":1,"record_length":96,"hex_timestamp":"0000019f99363f28"} 
[2026-07-25 17:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 17:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955360256001,"66":14396,"101":206,"83":41984,"24":0,"16":8798382239776768,"45":1907485579022049280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 17:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955360256001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8798382239776768,"km_value":8798382239776.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907485579022049280,"description":"Unknown IO ID 45"} 
[2026-07-25 17:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955360256001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1907485579022049280}} 
[2026-07-25 17:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:50:32] local.INFO: GPS data processed {"connection_id":141187,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:50:32] local.INFO: Acknowledgment sent {"connection_id":141187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:50:56] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:50:56] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:50:56] local.INFO: IMEI packet received {"connection_id":143600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":143600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:51:00] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:51:00] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:51:00] local.INFO: IMEI packet received {"connection_id":143600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":143600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:51:01] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:51:01] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9933b6b8012db6310005cae678001a00872d..."} 
[2026-07-25 17:51:01] local.INFO: Packet analysis {"connection_id":143600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:51:01] local.INFO: Extracted packet for processing {"connection_id":143600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9933"} 
[2026-07-25 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955246080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784981731000,"timestamp_ms":1784981731000,"timestamp_seconds":1784981731,"priority":1,"record_length":96,"hex_timestamp":"0000019f9933b6b8"} 
[2026-07-25 17:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955246080001,"66":25647,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955246080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955246080001,"power":25647,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":143600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:51:01] local.INFO: GPS data processed {"connection_id":143600,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:51:01] local.INFO: Acknowledgment sent {"connection_id":143600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:51:03] local.INFO: TCP Data received {"connection_id":141187,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993679c0012d1a7880071fca900036015b29..."} 
[2026-07-25 17:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993679c0012d1a7880071fca900036015b29..."} 
[2026-07-25 17:51:03] local.INFO: Processing buffer {"connection_id":141187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993679c0012d1a7880071fca900036015b29..."} 
[2026-07-25 17:51:03] local.INFO: Packet analysis {"connection_id":141187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9936"} 
[2026-07-25 17:51:03] local.INFO: Extracted packet for processing {"connection_id":141187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9936"} 
[2026-07-25 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756709504,"raw_latitude":119523984,"longitude_deg":75.6709504,"latitude_deg":11.9523984,"altitude":54,"angle":347,"satellites":41,"speed":7,"hex_longitude":"2d1a7880","hex_latitude":"071fca90","is_valid_coordinates":true} 
[2026-07-25 17:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955365632001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8798390829711360,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907485579022049280,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784981912000,"timestamp_ms":1784981912000,"timestamp_seconds":1784981912,"priority":1,"record_length":96,"hex_timestamp":"0000019f993679c0"} 
[2026-07-25 17:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-25 17:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955365632001,"66":14135,"101":206,"83":41984,"24":7,"16":8798390829711360,"45":1907485579022049280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 17:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955365632001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8798390829711360,"km_value":8798390829711.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907485579022049280,"description":"Unknown IO ID 45"} 
[2026-07-25 17:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955365632001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1907485579022049280}} 
[2026-07-25 17:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":141187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:51:03] local.INFO: GPS data processed {"connection_id":141187,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:51:03] local.INFO: Acknowledgment sent {"connection_id":141187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:51:26] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:51:26] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:51:26] local.INFO: IMEI packet received {"connection_id":141188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":141188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:51:31] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:51:31] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:51:31] local.INFO: IMEI packet received {"connection_id":141188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":141188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:51:32] local.INFO: TCP Data received {"connection_id":143600,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:51:32] local.INFO: Processing buffer {"connection_id":143600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:51:32] local.INFO: Packet analysis {"connection_id":143600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:51:32] local.INFO: Extracted packet for processing {"connection_id":143600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:51: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-07-25 17: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-07-25 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":143600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:51:32] local.INFO: GPS data processed {"connection_id":143600,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:51:32] local.INFO: Acknowledgment sent {"connection_id":143600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:51:32] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99368190012d1a77c0071fccc00036014829..."} 
[2026-07-25 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99368190012d1a77c0071fccc00036014829..."} 
[2026-07-25 17:51:32] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99368190012d1a77c0071fccc00036014829..."} 
[2026-07-25 17:51:32] local.INFO: Packet analysis {"connection_id":141188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9936"} 
[2026-07-25 17:51:32] local.INFO: Extracted packet for processing {"connection_id":141188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9936"} 
[2026-07-25 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756709312,"raw_latitude":119524544,"longitude_deg":75.6709312,"latitude_deg":11.9524544,"altitude":54,"angle":328,"satellites":41,"speed":17,"hex_longitude":"2d1a77c0","hex_latitude":"071fccc0","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955369472001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8798420894482432,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907415210277900288,"note":"Value kept but may cause issues"} 
[2026-07-25 17:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784981914000,"timestamp_ms":1784981914000,"timestamp_seconds":1784981914,"priority":1,"record_length":96,"hex_timestamp":"0000019f99368190"} 
[2026-07-25 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-25 17:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955369472001,"66":13993,"101":206,"83":41984,"24":17,"16":8798420894482432,"45":1907415210277900288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955369472001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8798420894482432,"km_value":8798420894482.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907415210277900288,"description":"Unknown IO ID 45"} 
[2026-07-25 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955369472001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1907415210277900288}} 
[2026-07-25 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":141188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:51:32] local.INFO: GPS data processed {"connection_id":141188,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:51:32] local.INFO: Acknowledgment sent {"connection_id":141188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:52:00] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:00] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:00] local.INFO: IMEI packet received {"connection_id":141255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":141255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:52:03] local.INFO: TCP Data received {"connection_id":141188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9938fe48012d19db0007200c300031012a2b..."} 
[2026-07-25 17:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9938fe48012d19db0007200c300031012a2b..."} 
[2026-07-25 17:52:03] local.INFO: Processing buffer {"connection_id":141188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9938fe48012d19db0007200c300031012a2b..."} 
[2026-07-25 17:52:03] local.INFO: Packet analysis {"connection_id":141188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:52:03] local.INFO: Extracted packet for processing {"connection_id":141188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756669184,"raw_latitude":119540784,"longitude_deg":75.6669184,"latitude_deg":11.9540784,"altitude":49,"angle":298,"satellites":43,"speed":30,"hex_longitude":"2d19db00","hex_latitude":"07200c30","is_valid_coordinates":true} 
[2026-07-25 17:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955411200001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800559788195840,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101090304,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982077000,"timestamp_ms":1784982077000,"timestamp_seconds":1784982077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9938fe48"} 
[2026-07-25 17:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 17:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955411200001,"66":14265,"103":206,"83":41984,"24":30,"16":8800559788195840,"45":1864279170101090304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955411200001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:52:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800559788195840,"km_value":8800559788195.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101090304,"description":"Unknown IO ID 45"} 
[2026-07-25 17:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955411200001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1864279170101090304}} 
[2026-07-25 17:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":141188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:52:03] local.INFO: GPS data processed {"connection_id":141188,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:52:03] local.INFO: Acknowledgment sent {"connection_id":141188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:52:05] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:05] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:05] local.INFO: IMEI packet received {"connection_id":141255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":141255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:52:06] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:52:06] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:52:06] local.INFO: Packet analysis {"connection_id":141255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:52:06] local.INFO: Extracted packet for processing {"connection_id":141255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:52:06] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":141255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:52:06] local.INFO: GPS data processed {"connection_id":141255,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:52:06] local.INFO: Acknowledgment sent {"connection_id":141255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:52:10] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:52:10] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:52:10] local.INFO: Packet analysis {"connection_id":141255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:52:10] local.INFO: Extracted packet for processing {"connection_id":141255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:52:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":141255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:52:10] local.INFO: GPS data processed {"connection_id":141255,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:52:10] local.INFO: Acknowledgment sent {"connection_id":141255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:52:26] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:26] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:26] local.INFO: IMEI packet received {"connection_id":141189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":141189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:52:26] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:26] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:26] local.INFO: IMEI packet received {"connection_id":141189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":141189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:52:31] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:31] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:52:31] local.INFO: IMEI packet received {"connection_id":141189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":141189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:52:32] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99390de8012d19d08007201330003001352b..."} 
[2026-07-25 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99390de8012d19d08007201330003001352b..."} 
[2026-07-25 17:52:32] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99390de8012d19d08007201330003001352b..."} 
[2026-07-25 17:52:32] local.INFO: Packet analysis {"connection_id":141189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:52:32] local.INFO: Extracted packet for processing {"connection_id":141189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756666496,"raw_latitude":119542576,"longitude_deg":75.6666496,"latitude_deg":11.9542576,"altitude":48,"angle":309,"satellites":43,"speed":31,"hex_longitude":"2d19d080","hex_latitude":"07201330","is_valid_coordinates":true} 
[2026-07-25 17:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955411712001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8800714407018496,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863082901450272768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982081000,"timestamp_ms":1784982081000,"timestamp_seconds":1784982081,"priority":1,"record_length":96,"hex_timestamp":"0000019f99390de8"} 
[2026-07-25 17:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 17:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955411712001,"66":14428,"103":206,"83":41984,"24":31,"16":8800714407018496,"45":1863082901450272768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955411712001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:52:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8800714407018496,"km_value":8800714407018.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863082901450272768,"description":"Unknown IO ID 45"} 
[2026-07-25 17:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955411712001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1863082901450272768}} 
[2026-07-25 17:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":141189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:52:32] local.INFO: GPS data processed {"connection_id":141189,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:52:32] local.INFO: Acknowledgment sent {"connection_id":141189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:52:56] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:56] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:52:56] local.INFO: IMEI packet received {"connection_id":141190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":141190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:53:00] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:53:00] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:53:00] local.INFO: IMEI packet received {"connection_id":141190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":141190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:53:01] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:01] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:01] local.INFO: Packet analysis {"connection_id":141190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:53:01] local.INFO: Extracted packet for processing {"connection_id":141190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:53:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":141190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:53:01] local.INFO: GPS data processed {"connection_id":141190,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:53:01] local.INFO: Acknowledgment sent {"connection_id":141190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:53:03] local.INFO: TCP Data received {"connection_id":141189,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9939d908012d19b6800720ac80002c012d26..."} 
[2026-07-25 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9939d908012d19b6800720ac80002c012d26..."} 
[2026-07-25 17:53:03] local.INFO: Processing buffer {"connection_id":141189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9939d908012d19b6800720ac80002c012d26..."} 
[2026-07-25 17:53:03] local.INFO: Packet analysis {"connection_id":141189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:53:03] local.INFO: Extracted packet for processing {"connection_id":141189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756659840,"raw_latitude":119581824,"longitude_deg":75.665984,"latitude_deg":11.9581824,"altitude":44,"angle":301,"satellites":38,"speed":20,"hex_longitude":"2d19b680","hex_latitude":"0720ac80","is_valid_coordinates":true} 
[2026-07-25 17:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955425792001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8802780286287872,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646020024320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982133000,"timestamp_ms":1784982133000,"timestamp_seconds":1784982133,"priority":1,"record_length":96,"hex_timestamp":"0000019f9939d908"} 
[2026-07-25 17:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 17:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955425792001,"66":14341,"103":206,"83":41984,"24":20,"16":8802780286287872,"45":1853301646020024320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955425792001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:53:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8802780286287872,"km_value":8802780286287.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646020024320,"description":"Unknown IO ID 45"} 
[2026-07-25 17:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955425792001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853301646020024320}} 
[2026-07-25 17:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":141189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:53:03] local.INFO: GPS data processed {"connection_id":141189,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:53:03] local.INFO: Acknowledgment sent {"connection_id":141189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:53:05] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:05] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:05] local.INFO: Packet analysis {"connection_id":141190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:53:05] local.INFO: Extracted packet for processing {"connection_id":141190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:53:05] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":141190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:53:05] local.INFO: GPS data processed {"connection_id":141190,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:53:05] local.INFO: Acknowledgment sent {"connection_id":141190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:53:16] local.INFO: TCP Data received {"connection_id":142221,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:53:16] local.INFO: Processing buffer {"connection_id":142221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:53:16] local.INFO: IMEI packet received {"connection_id":142221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":142221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:53:29] local.INFO: TCP Data received {"connection_id":142223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:29] local.INFO: Processing buffer {"connection_id":142223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:29] local.INFO: IMEI packet received {"connection_id":142223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":142223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:53:31] local.INFO: TCP Data received {"connection_id":142223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:31] local.INFO: Processing buffer {"connection_id":142223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:31] local.INFO: IMEI packet received {"connection_id":142223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":142223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:53:35] local.INFO: TCP Data received {"connection_id":142223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:35] local.INFO: Processing buffer {"connection_id":142223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:53:35] local.INFO: IMEI packet received {"connection_id":142223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":142223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:53:36] local.INFO: TCP Data received {"connection_id":142223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9939e8a8012d19aec00720af70002e012227..."} 
[2026-07-25 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9939e8a8012d19aec00720af70002e012227..."} 
[2026-07-25 17:53:36] local.INFO: Processing buffer {"connection_id":142223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9939e8a8012d19aec00720af70002e012227..."} 
[2026-07-25 17:53:36] local.INFO: Packet analysis {"connection_id":142223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:53:36] local.INFO: Extracted packet for processing {"connection_id":142223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119582576,"longitude_deg":75.6657856,"latitude_deg":11.9582576,"altitude":46,"angle":290,"satellites":39,"speed":19,"hex_longitude":"2d19aec0","hex_latitude":"0720af70","is_valid_coordinates":true} 
[2026-07-25 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955426048001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8802879070535680,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852809064810840064,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784982137000,"timestamp_ms":1784982137000,"timestamp_seconds":1784982137,"priority":1,"record_length":96,"hex_timestamp":"0000019f9939e8a8"} 
[2026-07-25 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6972586406,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2570693160,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84752197736669330,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503733941633024,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2791309355,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402104,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":232,"raw_value":11540517615573760,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,70,159,213,45,64,171,44,38,10,66,209,192,170,37,205,128,1,240,227,153,32,4,113,21,177,239,54,2,31,7,41,27,206,232],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-07-25 17:53:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170865253878857728,"timestamp_seconds":3170865253878857.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955426048001,"66":14461,"103":206,"83":41984,"24":19,"16":8802879070535680,"45":1852809064810840064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955426048001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8802879070535680,"km_value":8802879070535.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852809064810840064,"description":"Unknown IO ID 45"} 
[2026-07-25 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955426048001,"power":14461,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1852809064810840064}} 
[2026-07-25 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":142223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:53:36] local.INFO: GPS data processed {"connection_id":142223,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:53:36] local.INFO: Acknowledgment sent {"connection_id":142223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:53:36] local.INFO: TCP Data received {"connection_id":141190,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:36] local.INFO: Processing buffer {"connection_id":141190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:53:36] local.INFO: Packet analysis {"connection_id":141190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:53:36] local.INFO: Extracted packet for processing {"connection_id":141190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":141190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:53:36] local.INFO: GPS data processed {"connection_id":141190,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:53:36] local.INFO: Acknowledgment sent {"connection_id":141190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:53:37] local.INFO: TCP Data received {"connection_id":142223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9939fc30012d19a5800720b1800030011525..."} 
[2026-07-25 17:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9939fc30012d19a5800720b1800030011525..."} 
[2026-07-25 17:53:37] local.INFO: Processing buffer {"connection_id":142223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9939fc30012d19a5800720b1800030011525..."} 
[2026-07-25 17:53:37] local.INFO: Packet analysis {"connection_id":142223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:53:37] local.INFO: Extracted packet for processing {"connection_id":142223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9939"} 
[2026-07-25 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119583104,"longitude_deg":75.6655488,"latitude_deg":11.9583104,"altitude":48,"angle":277,"satellites":37,"speed":18,"hex_longitude":"2d19a580","hex_latitude":"0720b180","is_valid_coordinates":true} 
[2026-07-25 17:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955427072001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8802995034652672,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633741524992,"note":"Value kept but may cause issues"} 
[2026-07-25 17:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784982142000,"timestamp_ms":1784982142000,"timestamp_seconds":1784982142,"priority":1,"record_length":96,"hex_timestamp":"0000019f9939fc30"} 
[2026-07-25 17:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-25 17:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955427072001,"66":14428,"103":206,"83":41984,"24":18,"16":8802995034652672,"45":1850627633741524992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955427072001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:53:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8802995034652672,"km_value":8802995034652.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633741524992,"description":"Unknown IO ID 45"} 
[2026-07-25 17:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955427072001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1850627633741524992}} 
[2026-07-25 17:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":142223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:53:37] local.INFO: GPS data processed {"connection_id":142223,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:53:37] local.INFO: Acknowledgment sent {"connection_id":142223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:53:49] local.INFO: TCP Data received {"connection_id":142224,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:53:49] local.INFO: Processing buffer {"connection_id":142224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:53:49] local.INFO: IMEI packet received {"connection_id":142224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":142224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:53:55] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:53:55] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:53:55] local.INFO: IMEI packet received {"connection_id":141191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":141191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:54:00] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:54:00] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:54:00] local.INFO: IMEI packet received {"connection_id":141191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":141191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:54:01] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:54:01] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:54:01] local.INFO: Packet analysis {"connection_id":141191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:54:01] local.INFO: Extracted packet for processing {"connection_id":141191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:54:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":141191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:54:01] local.INFO: GPS data processed {"connection_id":141191,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:54:01] local.INFO: Acknowledgment sent {"connection_id":141191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:54:08] local.INFO: TCP Data received {"connection_id":142223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993a2b10012d1989800720b328003001062a..."} 
[2026-07-25 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993a2b10012d1989800720b328003001062a..."} 
[2026-07-25 17:54:08] local.INFO: Processing buffer {"connection_id":142223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993a2b10012d1989800720b328003001062a..."} 
[2026-07-25 17:54:08] local.INFO: Packet analysis {"connection_id":142223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993a"} 
[2026-07-25 17:54:08] local.INFO: Extracted packet for processing {"connection_id":142223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993a"} 
[2026-07-25 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583528,"longitude_deg":75.664832,"latitude_deg":11.9583528,"altitude":48,"angle":262,"satellites":42,"speed":27,"hex_longitude":"2d198980","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-07-25 17:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955428352001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8803338632036352,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990207086592,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784982154000,"timestamp_ms":1784982154000,"timestamp_seconds":1784982154,"priority":1,"record_length":96,"hex_timestamp":"0000019f993a2b10"} 
[2026-07-25 17:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 17:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955428352001,"66":14428,"103":206,"83":41984,"24":27,"16":8803338632036352,"45":1848023990207086592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955428352001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:54:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8803338632036352,"km_value":8803338632036.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990207086592,"description":"Unknown IO ID 45"} 
[2026-07-25 17:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955428352001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1848023990207086592}} 
[2026-07-25 17:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":142223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:54:08] local.INFO: GPS data processed {"connection_id":142223,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:54:08] local.INFO: Acknowledgment sent {"connection_id":142223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:54:23] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:23] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:23] local.INFO: IMEI packet received {"connection_id":141256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":141256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:54:26] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:26] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:26] local.INFO: IMEI packet received {"connection_id":141256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":141256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:54:27] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:27] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:54:27] local.INFO: IMEI packet received {"connection_id":141256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":141256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:54:28] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993b2510012d18df400720f7d00033013926..."} 
[2026-07-25 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993b2510012d18df400720f7d00033013926..."} 
[2026-07-25 17:54:28] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993b2510012d18df400720f7d00033013926..."} 
[2026-07-25 17:54:28] local.INFO: Packet analysis {"connection_id":141256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993b"} 
[2026-07-25 17:54:28] local.INFO: Extracted packet for processing {"connection_id":141256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993b"} 
[2026-07-25 17:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756604736,"raw_latitude":119601104,"longitude_deg":75.6604736,"latitude_deg":11.9601104,"altitude":51,"angle":313,"satellites":38,"speed":29,"hex_longitude":"2d18df40","hex_latitude":"0720f7d0","is_valid_coordinates":true} 
[2026-07-25 17:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955445504001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8805773878493184,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1796514069472196608,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784982218000,"timestamp_ms":1784982218000,"timestamp_seconds":1784982218,"priority":1,"record_length":96,"hex_timestamp":"0000019f993b2510"} 
[2026-07-25 17:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":169,"data_length":795,"current_offset":136} 
[2026-07-25 17:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955445504001,"66":14070,"103":206,"83":41984,"24":29,"16":8805773878493184,"45":1796514069472196608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955445504001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8805773878493184,"km_value":8805773878493.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1796514069472196608,"description":"Unknown IO ID 45"} 
[2026-07-25 17:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955445504001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1796514069472196608}} 
[2026-07-25 17:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":141256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:54:28] local.INFO: GPS data processed {"connection_id":141256,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:54:28] local.INFO: Acknowledgment sent {"connection_id":141256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:54:32] local.INFO: TCP Data received {"connection_id":141191,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:54:32] local.INFO: Processing buffer {"connection_id":141191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:54:32] local.INFO: Packet analysis {"connection_id":141191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:54:32] local.INFO: Extracted packet for processing {"connection_id":141191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:54:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":141191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:54:32] local.INFO: GPS data processed {"connection_id":141191,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:54:32] local.INFO: Acknowledgment sent {"connection_id":141191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:54:55] local.INFO: TCP Data received {"connection_id":142225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:54:55] local.INFO: Processing buffer {"connection_id":142225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:54:55] local.INFO: IMEI packet received {"connection_id":142225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":142225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:54:59] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993b34b0012d18d700072100780035014925..."} 
[2026-07-25 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993b34b0012d18d700072100780035014925..."} 
[2026-07-25 17:54:59] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993b34b0012d18d700072100780035014925..."} 
[2026-07-25 17:54:59] local.INFO: Packet analysis {"connection_id":141256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993b"} 
[2026-07-25 17:54:59] local.INFO: Extracted packet for processing {"connection_id":141256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993b"} 
[2026-07-25 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603320,"longitude_deg":75.6602624,"latitude_deg":11.960332,"altitude":53,"angle":329,"satellites":37,"speed":30,"hex_longitude":"2d18d700","hex_latitude":"07210078","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955447808001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8805919907381248,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792221576078807040,"note":"Value kept but may cause issues"} 
[2026-07-25 17:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784982222000,"timestamp_ms":1784982222000,"timestamp_seconds":1784982222,"priority":1,"record_length":96,"hex_timestamp":"0000019f993b34b0"} 
[2026-07-25 17:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-25 17:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955447808001,"66":14113,"103":206,"83":41984,"24":30,"16":8805919907381248,"45":1792221576078807040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955447808001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:54:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8805919907381248,"km_value":8805919907381.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792221576078807040,"description":"Unknown IO ID 45"} 
[2026-07-25 17:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955447808001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1792221576078807040}} 
[2026-07-25 17:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":141256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:54:59] local.INFO: GPS data processed {"connection_id":141256,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:54:59] local.INFO: Acknowledgment sent {"connection_id":141256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:55:00] local.INFO: TCP Data received {"connection_id":142225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:55:00] local.INFO: Processing buffer {"connection_id":142225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:55:00] local.INFO: IMEI packet received {"connection_id":142225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":142225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:55:01] local.INFO: TCP Data received {"connection_id":142225,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:55:01] local.INFO: Processing buffer {"connection_id":142225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:55:01] local.INFO: Packet analysis {"connection_id":142225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:55:01] local.INFO: Extracted packet for processing {"connection_id":142225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:55:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:55:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":142225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:55:01] local.INFO: GPS data processed {"connection_id":142225,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:55:01] local.INFO: Acknowledgment sent {"connection_id":142225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:55:23] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:23] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:23] local.INFO: IMEI packet received {"connection_id":143601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":143601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:55:24] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:24] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:24] local.INFO: IMEI packet received {"connection_id":143601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":143601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:55:26] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:26] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:26] local.INFO: IMEI packet received {"connection_id":143601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":143601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:55:31] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:31] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:55:31] local.INFO: IMEI packet received {"connection_id":143601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":143601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:55:32] local.INFO: TCP Data received {"connection_id":142225,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:55:32] local.INFO: Processing buffer {"connection_id":142225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:55:32] local.INFO: Packet analysis {"connection_id":142225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:55:32] local.INFO: Extracted packet for processing {"connection_id":142225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:55: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-07-25 17:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":142225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:55:32] local.INFO: GPS data processed {"connection_id":142225,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:55:32] local.INFO: Acknowledgment sent {"connection_id":142225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:55:32] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993b4068012d18d3c0072109680036015625..."} 
[2026-07-25 17:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993b4068012d18d3c0072109680036015625..."} 
[2026-07-25 17:55:32] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993b4068012d18d3c0072109680036015625..."} 
[2026-07-25 17:55:32] local.INFO: Packet analysis {"connection_id":143601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993b"} 
[2026-07-25 17:55:32] local.INFO: Extracted packet for processing {"connection_id":143601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993b"} 
[2026-07-25 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119605608,"longitude_deg":75.6601792,"latitude_deg":11.9605608,"altitude":54,"angle":342,"satellites":37,"speed":31,"hex_longitude":"2d18d3c0","hex_latitude":"07210968","is_valid_coordinates":true} 
[2026-07-25 17:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955448832001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8806040166465536,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521511424,"note":"Value kept but may cause issues"} 
[2026-07-25 17:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982225000,"timestamp_ms":1784982225000,"timestamp_seconds":1784982225,"priority":1,"record_length":96,"hex_timestamp":"0000019f993b4068"} 
[2026-07-25 17:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-25 17:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955448832001,"66":13722,"103":206,"83":41984,"24":31,"16":8806040166465536,"45":1789899407521511424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955448832001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8806040166465536,"km_value":8806040166465.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521511424,"description":"Unknown IO ID 45"} 
[2026-07-25 17:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955448832001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1789899407521511424}} 
[2026-07-25 17:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":143601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:55:32] local.INFO: GPS data processed {"connection_id":143601,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:55:32] local.INFO: Acknowledgment sent {"connection_id":143601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:55:55] local.INFO: TCP Data received {"connection_id":142226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:55:55] local.INFO: Processing buffer {"connection_id":142226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:55:55] local.INFO: IMEI packet received {"connection_id":142226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":142226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:56:00] local.INFO: TCP Data received {"connection_id":142226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:56:00] local.INFO: Processing buffer {"connection_id":142226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:56:00] local.INFO: IMEI packet received {"connection_id":142226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":142226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:56:01] local.INFO: TCP Data received {"connection_id":142226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:56:01] local.INFO: Processing buffer {"connection_id":142226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99384e80012db6310005cae678001a00872d..."} 
[2026-07-25 17:56:01] local.INFO: Packet analysis {"connection_id":142226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:56:01] local.INFO: Extracted packet for processing {"connection_id":142226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9938"} 
[2026-07-25 17:56:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955323136001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982032000,"timestamp_ms":1784982032000,"timestamp_seconds":1784982032,"priority":1,"record_length":96,"hex_timestamp":"0000019f99384e80"} 
[2026-07-25 17:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 17:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955323136001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 17:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955323136001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:56:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 17:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955323136001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":142226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:56:01] local.INFO: GPS data processed {"connection_id":142226,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:56:01] local.INFO: Acknowledgment sent {"connection_id":142226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:56:03] local.INFO: TCP Data received {"connection_id":143601,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993c6178012d18ad0007217080004b012824..."} 
[2026-07-25 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993c6178012d18ad0007217080004b012824..."} 
[2026-07-25 17:56:03] local.INFO: Processing buffer {"connection_id":143601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993c6178012d18ad0007217080004b012824..."} 
[2026-07-25 17:56:03] local.INFO: Packet analysis {"connection_id":143601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:56:03] local.INFO: Extracted packet for processing {"connection_id":143601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119632000,"longitude_deg":75.6591872,"latitude_deg":11.9632,"altitude":75,"angle":296,"satellites":36,"speed":3,"hex_longitude":"2d18ad00","hex_latitude":"07217080","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955465216001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807526225149952,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507040768,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982299000,"timestamp_ms":1784982299000,"timestamp_seconds":1784982299,"priority":1,"record_length":96,"hex_timestamp":"0000019f993c6178"} 
[2026-07-25 17:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 17:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143601,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955465216001,"66":12852,"103":206,"83":41984,"24":3,"16":8807526225149952,"45":1778077458507040768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955465216001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807526225149952,"km_value":8807526225149.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507040768,"description":"Unknown IO ID 45"} 
[2026-07-25 17:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955465216001,"power":12852,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1778077458507040768}} 
[2026-07-25 17:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":143601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:56:04] local.INFO: GPS data processed {"connection_id":143601,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:56:04] local.INFO: Acknowledgment sent {"connection_id":143601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:56:25] local.INFO: TCP Data received {"connection_id":143602,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:25] local.INFO: Processing buffer {"connection_id":143602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:25] local.INFO: IMEI packet received {"connection_id":143602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":143602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:56:26] local.INFO: TCP Data received {"connection_id":143602,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:26] local.INFO: Processing buffer {"connection_id":143602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:26] local.INFO: IMEI packet received {"connection_id":143602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":143602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:56:31] local.INFO: TCP Data received {"connection_id":143602,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:31] local.INFO: Processing buffer {"connection_id":143602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:56:31] local.INFO: IMEI packet received {"connection_id":143602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":143602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:56:32] local.INFO: TCP Data received {"connection_id":142226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:56:32] local.INFO: Processing buffer {"connection_id":142226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:56:32] local.INFO: Packet analysis {"connection_id":142226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:56:32] local.INFO: Extracted packet for processing {"connection_id":142226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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-07-25 17: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-07-25 17:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":142226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:56:32] local.INFO: GPS data processed {"connection_id":142226,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:56:32] local.INFO: Acknowledgment sent {"connection_id":142226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:56:32] local.INFO: TCP Data received {"connection_id":143602,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993c6d30012d18ab80072170f0004a011c24..."} 
[2026-07-25 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993c6d30012d18ab80072170f0004a011c24..."} 
[2026-07-25 17:56:32] local.INFO: Processing buffer {"connection_id":143602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993c6d30012d18ab80072170f0004a011c24..."} 
[2026-07-25 17:56:32] local.INFO: Packet analysis {"connection_id":143602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:56:32] local.INFO: Extracted packet for processing {"connection_id":143602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632112,"longitude_deg":75.6591488,"latitude_deg":11.9632112,"altitude":74,"angle":284,"satellites":36,"speed":4,"hex_longitude":"2d18ab80","hex_latitude":"072170f0","is_valid_coordinates":true} 
[2026-07-25 17:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955468544001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807547699986432,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507005952,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982302000,"timestamp_ms":1784982302000,"timestamp_seconds":1784982302,"priority":1,"record_length":96,"hex_timestamp":"0000019f993c6d30"} 
[2026-07-25 17:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 17:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955468544001,"66":12722,"103":206,"83":41984,"24":4,"16":8807547699986432,"45":1778077458507005952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955468544001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807547699986432,"km_value":8807547699986.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507005952,"description":"Unknown IO ID 45"} 
[2026-07-25 17:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955468544001,"power":12722,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1778077458507005952}} 
[2026-07-25 17:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":143602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:56:32] local.INFO: GPS data processed {"connection_id":143602,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:56:32] local.INFO: Acknowledgment sent {"connection_id":143602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:56:39] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:56:39] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:56:39] local.INFO: IMEI packet received {"connection_id":142227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 17:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":142227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:56:44] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:56:44] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 17:56:44] local.INFO: IMEI packet received {"connection_id":142227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 17:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":142227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:56:45] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-25 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-25 17:56:45] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-25 17:56:45] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:56:45] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:56:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 17:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:56:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 17:56:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:56:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 17:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 17:56:45] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 17:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 17:56:45] local.ERROR: GPS data processing failed {"connection_id":142227,"error":"No valid data to process"} 
[2026-07-25 17:56:45] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 17:56:55] local.INFO: TCP Data received {"connection_id":142228,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:56:55] local.INFO: Processing buffer {"connection_id":142228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:56:55] local.INFO: IMEI packet received {"connection_id":142228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":142228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:57:00] local.INFO: TCP Data received {"connection_id":142228,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:57:00] local.INFO: Processing buffer {"connection_id":142228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:57:00] local.INFO: IMEI packet received {"connection_id":142228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":142228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:57:01] local.INFO: TCP Data received {"connection_id":142228,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:57:01] local.INFO: Processing buffer {"connection_id":142228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:57:01] local.INFO: Packet analysis {"connection_id":142228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:01] local.INFO: Extracted packet for processing {"connection_id":142228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:57:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":142228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:57:01] local.INFO: GPS data processed {"connection_id":142228,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:57:01] local.INFO: Acknowledgment sent {"connection_id":142228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:57:03] local.INFO: TCP Data received {"connection_id":143602,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993c78e8012d18aa80072171600049012a24..."} 
[2026-07-25 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993c78e8012d18aa80072171600049012a24..."} 
[2026-07-25 17:57:03] local.INFO: Processing buffer {"connection_id":143602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993c78e8012d18aa80072171600049012a24..."} 
[2026-07-25 17:57:03] local.INFO: Packet analysis {"connection_id":143602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:03] local.INFO: Extracted packet for processing {"connection_id":143602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632224,"longitude_deg":75.6591232,"latitude_deg":11.9632224,"altitude":73,"angle":298,"satellites":36,"speed":2,"hex_longitude":"2d18aa80","hex_latitude":"07217160","is_valid_coordinates":true} 
[2026-07-25 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955469312001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807560584888320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246041968640,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982305000,"timestamp_ms":1784982305000,"timestamp_seconds":1784982305,"priority":1,"record_length":96,"hex_timestamp":"0000019f993c78e8"} 
[2026-07-25 17:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 17:57: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-07-25 17:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955469312001,"66":12765,"103":206,"83":41984,"24":2,"16":8807560584888320,"45":1777655246041968640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955469312001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807560584888320,"km_value":8807560584888.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246041968640,"description":"Unknown IO ID 45"} 
[2026-07-25 17:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955469312001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1777655246041968640}} 
[2026-07-25 17:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":143602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:57:03] local.INFO: GPS data processed {"connection_id":143602,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:57:03] local.INFO: Acknowledgment sent {"connection_id":143602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:57:16] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-25 17:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-25 17:57:16] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001b580100000000000000000000000000..."} 
[2026-07-25 17:57:16] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:57:16] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 17:57:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 17:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:16] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 17:57:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7000,"timestamp_seconds":7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 17:57:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 17:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 17:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 17:57:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 17:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 17:57:16] local.ERROR: GPS data processing failed {"connection_id":142227,"error":"No valid data to process"} 
[2026-07-25 17:57:16] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 17:57:26] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:57:26] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:57:26] local.INFO: IMEI packet received {"connection_id":141192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":141192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:57:31] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:57:31] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:57:31] local.INFO: IMEI packet received {"connection_id":141192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":141192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:57:32] local.INFO: TCP Data received {"connection_id":142228,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:57:32] local.INFO: Processing buffer {"connection_id":142228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:57:32] local.INFO: Packet analysis {"connection_id":142228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:32] local.INFO: Extracted packet for processing {"connection_id":142228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:57: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-07-25 17:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:57:32] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ccaf0012d18aa80072171680049013029..."} 
[2026-07-25 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ccaf0012d18aa80072171680049013029..."} 
[2026-07-25 17:57:32] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ccaf0012d18aa80072171680049013029..."} 
[2026-07-25 17:57:32] local.INFO: Packet analysis {"connection_id":141192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:32] local.INFO: Extracted packet for processing {"connection_id":141192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632232,"longitude_deg":75.6591232,"latitude_deg":11.9632232,"altitude":73,"angle":304,"satellites":41,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-07-25 17:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955470080001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807560584888320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065286656,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982326000,"timestamp_ms":1784982326000,"timestamp_seconds":1784982326,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ccaf0"} 
[2026-07-25 17:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 17:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955470080001,"66":12613,"103":206,"83":41984,"24":0,"16":8807560584888320,"45":1777373771065286656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955470080001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807560584888320,"km_value":8807560584888.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065286656,"description":"Unknown IO ID 45"} 
[2026-07-25 17:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955470080001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065286656}} 
[2026-07-25 17:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":142228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:57:32] local.INFO: GPS data processed {"connection_id":142228,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:57:32] local.INFO: Acknowledgment sent {"connection_id":142228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":141192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:57:32] local.INFO: GPS data processed {"connection_id":141192,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:57:32] local.INFO: Acknowledgment sent {"connection_id":141192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:57:47] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:57:47] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:57:47] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:57:47] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 17:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:57:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 17:57:47] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 17:57:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:57:47] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:57:47] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:57:55] local.INFO: TCP Data received {"connection_id":143603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:57:55] local.INFO: Processing buffer {"connection_id":143603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:57:55] local.INFO: IMEI packet received {"connection_id":143603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":143603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:58:00] local.INFO: TCP Data received {"connection_id":143603,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:58:00] local.INFO: Processing buffer {"connection_id":143603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:58:00] local.INFO: IMEI packet received {"connection_id":143603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:58:01] local.INFO: TCP Data received {"connection_id":143603,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:58:01] local.INFO: Processing buffer {"connection_id":143603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:58:01] local.INFO: Packet analysis {"connection_id":143603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:58:01] local.INFO: Extracted packet for processing {"connection_id":143603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:58:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":143603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:58:01] local.INFO: GPS data processed {"connection_id":143603,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:58:01] local.INFO: Acknowledgment sent {"connection_id":143603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:58:03] local.INFO: TCP Data received {"connection_id":141192,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993d1cf8012d18aa8007217168004901302c..."} 
[2026-07-25 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993d1cf8012d18aa8007217168004901302c..."} 
[2026-07-25 17:58:03] local.INFO: Processing buffer {"connection_id":141192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993d1cf8012d18aa8007217168004901302c..."} 
[2026-07-25 17:58:03] local.INFO: Packet analysis {"connection_id":141192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993d"} 
[2026-07-25 17:58:03] local.INFO: Extracted packet for processing {"connection_id":141192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993d"} 
[2026-07-25 17:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632232,"longitude_deg":75.6591232,"latitude_deg":11.9632232,"altitude":73,"angle":304,"satellites":44,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-07-25 17:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955475456001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807560584888320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065288704,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982347000,"timestamp_ms":1784982347000,"timestamp_seconds":1784982347,"priority":1,"record_length":96,"hex_timestamp":"0000019f993d1cf8"} 
[2026-07-25 17:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 17:58: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-07-25 17:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955475456001,"66":12461,"103":206,"83":41984,"24":0,"16":8807560584888320,"45":1777373771065288704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955475456001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:58:03] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807560584888320,"km_value":8807560584888.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065288704,"description":"Unknown IO ID 45"} 
[2026-07-25 17:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955475456001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065288704}} 
[2026-07-25 17:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":141192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:58:03] local.INFO: GPS data processed {"connection_id":141192,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:58:03] local.INFO: Acknowledgment sent {"connection_id":141192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:58:18] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:58:18] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:58:18] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:58:18] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 17:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 17:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 17:58:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:58:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:58:18] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:58:18] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:58:25] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:25] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:25] local.INFO: IMEI packet received {"connection_id":143604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":143604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:58:26] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:26] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:26] local.INFO: IMEI packet received {"connection_id":143604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":143604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:58:31] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:31] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:58:31] local.INFO: IMEI packet received {"connection_id":143604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":143604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:58:32] local.INFO: TCP Data received {"connection_id":143603,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:58:32] local.INFO: Processing buffer {"connection_id":143603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:58:32] local.INFO: Packet analysis {"connection_id":143603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:58:32] local.INFO: Extracted packet for processing {"connection_id":143603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:58: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-07-25 17:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":143603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:58:32] local.INFO: GPS data processed {"connection_id":143603,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:58:32] local.INFO: Acknowledgment sent {"connection_id":143603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:58:32] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993d6f00012d18aa80072171680049013029..."} 
[2026-07-25 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993d6f00012d18aa80072171680049013029..."} 
[2026-07-25 17:58:32] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993d6f00012d18aa80072171680049013029..."} 
[2026-07-25 17:58:32] local.INFO: Packet analysis {"connection_id":143604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993d"} 
[2026-07-25 17:58:32] local.INFO: Extracted packet for processing {"connection_id":143604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993d"} 
[2026-07-25 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632232,"longitude_deg":75.6591232,"latitude_deg":11.9632232,"altitude":73,"angle":304,"satellites":41,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-07-25 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955480832001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807560584888320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065288704,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982368000,"timestamp_ms":1784982368000,"timestamp_seconds":1784982368,"priority":1,"record_length":96,"hex_timestamp":"0000019f993d6f00"} 
[2026-07-25 17:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 17:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955480832001,"66":14004,"103":206,"83":41984,"24":0,"16":8807560584888320,"45":1777373771065288704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 17:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955480832001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807560584888320,"km_value":8807560584888.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065288704,"description":"Unknown IO ID 45"} 
[2026-07-25 17:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955480832001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065288704}} 
[2026-07-25 17:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":143604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:58:32] local.INFO: GPS data processed {"connection_id":143604,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:58:32] local.INFO: Acknowledgment sent {"connection_id":143604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:58:49] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:58:49] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:58:49] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:58:49] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:58:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 17:58:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 17:58:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:58:49] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:58:49] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:58:55] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:58:55] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:58:55] local.INFO: IMEI packet received {"connection_id":143605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":143605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:59:00] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:59:00] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:59:00] local.INFO: IMEI packet received {"connection_id":143605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":143605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:59:02] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:59:02] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:59:02] local.INFO: Packet analysis {"connection_id":143605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:59:02] local.INFO: Extracted packet for processing {"connection_id":143605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:59:02] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":143605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:59:02] local.INFO: GPS data processed {"connection_id":143605,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:59:02] local.INFO: Acknowledgment sent {"connection_id":143605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:59:03] local.INFO: TCP Data received {"connection_id":143604,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993dc108012d18aa8007217168004901302a..."} 
[2026-07-25 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993dc108012d18aa8007217168004901302a..."} 
[2026-07-25 17:59:03] local.INFO: Processing buffer {"connection_id":143604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993dc108012d18aa8007217168004901302a..."} 
[2026-07-25 17:59:03] local.INFO: Packet analysis {"connection_id":143604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993d"} 
[2026-07-25 17:59:03] local.INFO: Extracted packet for processing {"connection_id":143604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993d"} 
[2026-07-25 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632232,"longitude_deg":75.6591232,"latitude_deg":11.9632232,"altitude":73,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217168","is_valid_coordinates":true} 
[2026-07-25 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955486208001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8807560584888320,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065288704,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982389000,"timestamp_ms":1784982389000,"timestamp_seconds":1784982389,"priority":1,"record_length":96,"hex_timestamp":"0000019f993dc108"} 
[2026-07-25 17:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 17:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955486208001,"66":14004,"106":206,"83":41984,"24":0,"16":8807560584888320,"45":1777373771065288704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 17:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955486208001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 17:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8807560584888320,"km_value":8807560584888.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065288704,"description":"Unknown IO ID 45"} 
[2026-07-25 17:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955486208001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771065288704}} 
[2026-07-25 17:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":143604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:59:03] local.INFO: GPS data processed {"connection_id":143604,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:59:03] local.INFO: Acknowledgment sent {"connection_id":143604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:59:19] local.INFO: TCP Data received {"connection_id":141193,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:59:19] local.INFO: Processing buffer {"connection_id":141193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 17:59:19] local.INFO: IMEI packet received {"connection_id":141193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 17:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":141193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:59:20] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:59:20] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:59:20] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:59:20] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:59:20] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 17:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 17:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 17:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 17:59:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 17:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:59:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 17:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:59:20] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:59:20] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:59:26] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:26] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:26] local.INFO: IMEI packet received {"connection_id":141194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 17:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":141194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 17:59:27] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:27] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:27] local.INFO: IMEI packet received {"connection_id":141194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":141194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:59:31] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:31] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 17:59:31] local.INFO: IMEI packet received {"connection_id":141194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 17:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":141194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 17:59:32] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993fd060012d186e00072181e8004e01062d..."} 
[2026-07-25 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993fd060012d186e00072181e8004e01062d..."} 
[2026-07-25 17:59:32] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993fd060012d186e00072181e8004e01062d..."} 
[2026-07-25 17:59:32] local.INFO: Packet analysis {"connection_id":141194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993f"} 
[2026-07-25 17:59:32] local.INFO: Extracted packet for processing {"connection_id":141194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993f"} 
[2026-07-25 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756575744,"raw_latitude":119636456,"longitude_deg":75.6575744,"latitude_deg":11.9636456,"altitude":78,"angle":262,"satellites":45,"speed":20,"hex_longitude":"2d186e00","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-07-25 17:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955525120001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8808355153838080,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762174122324011008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982524000,"timestamp_ms":1784982524000,"timestamp_seconds":1784982524,"priority":1,"record_length":96,"hex_timestamp":"0000019f993fd060"} 
[2026-07-25 17:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 17:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17: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-07-25 17:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 17:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955525120001,"66":13091,"106":206,"83":41984,"24":20,"16":8808355153838080,"45":1762174122324011008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 17:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955525120001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 17:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8808355153838080,"km_value":8808355153838.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762174122324011008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955525120001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1762174122324011008}} 
[2026-07-25 17:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":141194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:59:32] local.INFO: GPS data processed {"connection_id":141194,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:59:32] local.INFO: Acknowledgment sent {"connection_id":141194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:59:32] local.INFO: TCP Data received {"connection_id":143605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:59:32] local.INFO: Processing buffer {"connection_id":143605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 17:59:32] local.INFO: Packet analysis {"connection_id":143605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:59:32] local.INFO: Extracted packet for processing {"connection_id":143605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 17:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 17:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 17:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 17:59: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-07-25 17: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-07-25 17:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 17:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 17:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 17:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 17:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 17:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 17:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":143605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:59:32] local.INFO: GPS data processed {"connection_id":143605,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:59:32] local.INFO: Acknowledgment sent {"connection_id":143605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:59:51] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:59:51] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 17:59:51] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:59:51] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 17:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 17:59:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 17:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 17:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 17:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 17:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 17:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 17:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 17:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 17:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 17:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 17:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 17:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 17:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 17:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 17:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 17:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 17:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 17:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 17:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 17:59:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 17:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 17:59:51] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 17:59:51] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 17:59:55] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:59:55] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 17:59:55] local.INFO: IMEI packet received {"connection_id":141195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 17:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":141195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:00:00] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:00:00] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:00:00] local.INFO: IMEI packet received {"connection_id":141195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":141195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:00:01] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:00:01] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:00:01] local.INFO: Packet analysis {"connection_id":141195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 18:00:01] local.INFO: Extracted packet for processing {"connection_id":141195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 18:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 18:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":141195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:00:01] local.INFO: GPS data processed {"connection_id":141195,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:00:01] local.INFO: Acknowledgment sent {"connection_id":141195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:00:03] local.INFO: TCP Data received {"connection_id":141194,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993fd830012d1869c0072181b0004f01122b..."} 
[2026-07-25 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993fd830012d1869c0072181b0004f01122b..."} 
[2026-07-25 18:00:03] local.INFO: Processing buffer {"connection_id":141194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993fd830012d1869c0072181b0004f01122b..."} 
[2026-07-25 18:00:03] local.INFO: Packet analysis {"connection_id":141194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993f"} 
[2026-07-25 18:00:03] local.INFO: Extracted packet for processing {"connection_id":141194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993f"} 
[2026-07-25 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756574656,"raw_latitude":119636400,"longitude_deg":75.6574656,"latitude_deg":11.96364,"altitude":79,"angle":274,"satellites":43,"speed":25,"hex_longitude":"2d1869c0","hex_latitude":"072181b0","is_valid_coordinates":true} 
[2026-07-25 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955526144001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8808410988412928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760344534975375360,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982526000,"timestamp_ms":1784982526000,"timestamp_seconds":1784982526,"priority":1,"record_length":96,"hex_timestamp":"0000019f993fd830"} 
[2026-07-25 18:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 18:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955526144001,"66":13015,"106":206,"83":41984,"24":25,"16":8808410988412928,"45":1760344534975375360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 18:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955526144001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8808410988412928,"km_value":8808410988412.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760344534975375360,"description":"Unknown IO ID 45"} 
[2026-07-25 18:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955526144001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1760344534975375360}} 
[2026-07-25 18:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":141194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:00:03] local.INFO: GPS data processed {"connection_id":141194,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:00:03] local.INFO: Acknowledgment sent {"connection_id":141194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:00:23] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 18:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 18:00:23] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 18:00:23] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 18:00:23] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 18:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 18:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 18:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 18:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 18:00:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:00:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:00:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 18:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:00:23] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:00:23] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:00:26] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:00:26] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:00:26] local.INFO: IMEI packet received {"connection_id":141196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":141196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:00:31] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:00:31] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:00:31] local.INFO: IMEI packet received {"connection_id":141196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":141196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:00:32] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f993fe3e8012d18614007218350005001202b..."} 
[2026-07-25 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993fe3e8012d18614007218350005001202b..."} 
[2026-07-25 18:00:32] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993fe3e8012d18614007218350005001202b..."} 
[2026-07-25 18:00:32] local.INFO: Packet analysis {"connection_id":141196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993f"} 
[2026-07-25 18:00:32] local.INFO: Extracted packet for processing {"connection_id":141196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993f"} 
[2026-07-25 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756572480,"raw_latitude":119636816,"longitude_deg":75.657248,"latitude_deg":11.9636816,"altitude":80,"angle":288,"satellites":43,"speed":30,"hex_longitude":"2d186140","hex_latitude":"07218350","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955526656001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8808514067628032,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759148266324340736,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982529000,"timestamp_ms":1784982529000,"timestamp_seconds":1784982529,"priority":1,"record_length":96,"hex_timestamp":"0000019f993fe3e8"} 
[2026-07-25 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-07-25 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 18:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955526656001,"66":12950,"105":206,"83":41984,"24":30,"16":8808514067628032,"45":1759148266324340736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955526656001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8808514067628032,"km_value":8808514067628.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759148266324340736,"description":"Unknown IO ID 45"} 
[2026-07-25 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955526656001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1759148266324340736}} 
[2026-07-25 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":141196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:00:32] local.INFO: GPS data processed {"connection_id":141196,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:00:32] local.INFO: Acknowledgment sent {"connection_id":141196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:00:32] local.INFO: TCP Data received {"connection_id":141195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:00:32] local.INFO: Processing buffer {"connection_id":141195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:00:32] local.INFO: Packet analysis {"connection_id":141195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 18:00:32] local.INFO: Extracted packet for processing {"connection_id":141195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 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-07-25 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:00: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-07-25 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-07-25 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-07-25 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":141195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:00:32] local.INFO: GPS data processed {"connection_id":141195,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:00:32] local.INFO: Acknowledgment sent {"connection_id":141195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:00:54] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 18:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 18:00:54] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993e7c88012d7dca8005e202a0001f010b07..."} 
[2026-07-25 18:00:54] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 18:00:54] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993e"} 
[2026-07-25 18:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763218560,"raw_latitude":98697888,"longitude_deg":76.321856,"latitude_deg":9.8697888,"altitude":31,"angle":267,"satellites":7,"speed":0,"hex_longitude":"2d7dca80","hex_latitude":"05e202a0","is_valid_coordinates":true} 
[2026-07-25 18:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:00:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784982437000,"timestamp_ms":1784982437000,"timestamp_seconds":1784982437,"priority":1,"record_length":96,"hex_timestamp":"0000019f993e7c88"} 
[2026-07-25 18:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 18:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12254,"61":206,"85":15104,"24":0,"16":110318318056898560},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16]} 
[2026-07-25 18:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 18:00:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:00:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12254,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 18:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:00:54] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:00:54] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:00:55] local.INFO: TCP Data received {"connection_id":143606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:00:55] local.INFO: Processing buffer {"connection_id":143606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:00:55] local.INFO: IMEI packet received {"connection_id":143606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":143606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:01:00] local.INFO: TCP Data received {"connection_id":143606,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:01:00] local.INFO: Processing buffer {"connection_id":143606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:01:00] local.INFO: IMEI packet received {"connection_id":143606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":143606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:01:01] local.INFO: TCP Data received {"connection_id":143606,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:01:01] local.INFO: Processing buffer {"connection_id":143606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f993ce648012db6310005cae678001a00872c..."} 
[2026-07-25 18:01:01] local.INFO: Packet analysis {"connection_id":143606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 18:01:01] local.INFO: Extracted packet for processing {"connection_id":143606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f993c"} 
[2026-07-25 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":44,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955400192001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982333000,"timestamp_ms":1784982333000,"timestamp_seconds":1784982333,"priority":1,"record_length":96,"hex_timestamp":"0000019f993ce648"} 
[2026-07-25 18:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955400192001,"66":25625,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 18:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955400192001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:01:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 18:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955400192001,"power":25625,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":143606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:01:01] local.INFO: GPS data processed {"connection_id":143606,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:01:01] local.INFO: Acknowledgment sent {"connection_id":143606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:01:03] local.INFO: TCP Data received {"connection_id":141196,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99400ee0012d18400007219240005101242a..."} 
[2026-07-25 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99400ee0012d18400007219240005101242a..."} 
[2026-07-25 18:01:03] local.INFO: Processing buffer {"connection_id":141196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99400ee0012d18400007219240005101242a..."} 
[2026-07-25 18:01:03] local.INFO: Packet analysis {"connection_id":141196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:01:03] local.INFO: Extracted packet for processing {"connection_id":141196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756563968,"raw_latitude":119640640,"longitude_deg":75.6563968,"latitude_deg":11.964064,"altitude":81,"angle":292,"satellites":42,"speed":30,"hex_longitude":"2d184000","hex_latitude":"07219240","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955527424001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8808960744226816,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756755729022406656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982540000,"timestamp_ms":1784982540000,"timestamp_seconds":1784982540,"priority":1,"record_length":96,"hex_timestamp":"0000019f99400ee0"} 
[2026-07-25 18:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 18:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955527424001,"66":12841,"105":206,"83":41984,"24":30,"16":8808960744226816,"45":1756755729022406656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955527424001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:01:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8808960744226816,"km_value":8808960744226.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756755729022406656,"description":"Unknown IO ID 45"} 
[2026-07-25 18:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955527424001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1756755729022406656}} 
[2026-07-25 18:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":141196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:01:03] local.INFO: GPS data processed {"connection_id":141196,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:01:03] local.INFO: Acknowledgment sent {"connection_id":141196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:01:25] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:01:25] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:01:25] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:01:25] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:01:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:01:25] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:01:25] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:01:31] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:01:31] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:01:31] local.INFO: IMEI packet received {"connection_id":141257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":141257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:01:32] local.INFO: TCP Data received {"connection_id":143606,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:01:32] local.INFO: Processing buffer {"connection_id":143606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:01:32] local.INFO: Packet analysis {"connection_id":143606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:01:32] local.INFO: Extracted packet for processing {"connection_id":143606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955477248001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982634000,"timestamp_ms":1784982634000,"timestamp_seconds":1784982634,"priority":1,"record_length":96,"hex_timestamp":"0000019f99417e10"} 
[2026-07-25 18:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:01: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-07-25 18:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955477248001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 18:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955477248001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:01:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 18:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955477248001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":143606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:01:32] local.INFO: GPS data processed {"connection_id":143606,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:01:32] local.INFO: Acknowledgment sent {"connection_id":143606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:01:35] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:01:35] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:01:35] local.INFO: IMEI packet received {"connection_id":141257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":141257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:01:36] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99402a38012d182fc0072198e8005001312c..."} 
[2026-07-25 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99402a38012d182fc0072198e8005001312c..."} 
[2026-07-25 18:01:36] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99402a38012d182fc0072198e8005001312c..."} 
[2026-07-25 18:01:36] local.INFO: Packet analysis {"connection_id":141257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:01:36] local.INFO: Extracted packet for processing {"connection_id":141257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":119642344,"longitude_deg":75.6559808,"latitude_deg":11.9642344,"altitude":80,"angle":305,"satellites":44,"speed":15,"hex_longitude":"2d182fc0","hex_latitude":"072198e8","is_valid_coordinates":true} 
[2026-07-25 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955530240001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809171197624320,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747396686047756288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784982547000,"timestamp_ms":1784982547000,"timestamp_seconds":1784982547,"priority":1,"record_length":96,"hex_timestamp":"0000019f99402a38"} 
[2026-07-25 18:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955530240001,"66":12776,"105":206,"83":41984,"24":15,"16":8809171197624320,"45":1747396686047756288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955530240001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809171197624320,"km_value":8809171197624.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747396686047756288,"description":"Unknown IO ID 45"} 
[2026-07-25 18:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955530240001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1747396686047756288}} 
[2026-07-25 18:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":141257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:01:36] local.INFO: GPS data processed {"connection_id":141257,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:01:36] local.INFO: Acknowledgment sent {"connection_id":141257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:01:55] local.INFO: TCP Data received {"connection_id":143607,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:01:55] local.INFO: Processing buffer {"connection_id":143607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:01:55] local.INFO: IMEI packet received {"connection_id":143607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":143607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:01:56] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:01:56] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:01:56] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:01:56] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:01:56] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:01:56] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:02:00] local.INFO: TCP Data received {"connection_id":143607,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:02:00] local.INFO: Processing buffer {"connection_id":143607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:02:00] local.INFO: IMEI packet received {"connection_id":143607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":143607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:02:01] local.INFO: TCP Data received {"connection_id":143607,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:02:01] local.INFO: Processing buffer {"connection_id":143607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:02:01] local.INFO: Packet analysis {"connection_id":143607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:02:01] local.INFO: Extracted packet for processing {"connection_id":143607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955477248001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982634000,"timestamp_ms":1784982634000,"timestamp_seconds":1784982634,"priority":1,"record_length":96,"hex_timestamp":"0000019f99417e10"} 
[2026-07-25 18:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955477248001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 18:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955477248001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:02:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 18:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955477248001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":143607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:02:01] local.INFO: GPS data processed {"connection_id":143607,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:02:01] local.INFO: Acknowledgment sent {"connection_id":143607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:02:07] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99403dc0012d182bc007219bb0004f01242d..."} 
[2026-07-25 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99403dc0012d182bc007219bb0004f01242d..."} 
[2026-07-25 18:02:07] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99403dc0012d182bc007219bb0004f01242d..."} 
[2026-07-25 18:02:07] local.INFO: Packet analysis {"connection_id":141257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:02:07] local.INFO: Extracted packet for processing {"connection_id":141257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643056,"longitude_deg":75.6558784,"latitude_deg":11.9643056,"altitude":79,"angle":292,"satellites":45,"speed":6,"hex_longitude":"2d182bc0","hex_latitude":"07219bb0","is_valid_coordinates":true} 
[2026-07-25 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955532032001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809235622133760,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742822717676644352,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784982552000,"timestamp_ms":1784982552000,"timestamp_seconds":1784982552,"priority":1,"record_length":96,"hex_timestamp":"0000019f99403dc0"} 
[2026-07-25 18:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 18:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955532032001,"66":12689,"105":206,"83":41984,"24":6,"16":8809235622133760,"45":1742822717676644352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955532032001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809235622133760,"km_value":8809235622133.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742822717676644352,"description":"Unknown IO ID 45"} 
[2026-07-25 18:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955532032001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1742822717676644352}} 
[2026-07-25 18:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":141257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:02:07] local.INFO: GPS data processed {"connection_id":141257,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:02:07] local.INFO: Acknowledgment sent {"connection_id":141257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:02:26] local.INFO: TCP Data received {"connection_id":141197,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:02:26] local.INFO: Processing buffer {"connection_id":141197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:02:26] local.INFO: IMEI packet received {"connection_id":141197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":141197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:02:27] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:02:27] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:02:27] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:02:27] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:02:28] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:02:28] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:02:31] local.INFO: TCP Data received {"connection_id":141197,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:02:31] local.INFO: Processing buffer {"connection_id":141197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:02:31] local.INFO: IMEI packet received {"connection_id":141197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":141197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:02:32] local.INFO: TCP Data received {"connection_id":141197,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99408fc8012d18298007219cf0004e012029..."} 
[2026-07-25 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99408fc8012d18298007219cf0004e012029..."} 
[2026-07-25 18:02:32] local.INFO: Processing buffer {"connection_id":141197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99408fc8012d18298007219cf0004e012029..."} 
[2026-07-25 18:02:32] local.INFO: Packet analysis {"connection_id":141197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:02:32] local.INFO: Extracted packet for processing {"connection_id":141197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9940"} 
[2026-07-25 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756558208,"raw_latitude":119643376,"longitude_deg":75.6558208,"latitude_deg":11.9643376,"altitude":78,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d182980","hex_latitude":"07219cf0","is_valid_coordinates":true} 
[2026-07-25 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955533312001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809265686904832,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769984000,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982573000,"timestamp_ms":1784982573000,"timestamp_seconds":1784982573,"priority":1,"record_length":96,"hex_timestamp":"0000019f99408fc8"} 
[2026-07-25 18:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":145,"data_length":795,"current_offset":136} 
[2026-07-25 18:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955533312001,"66":12439,"105":206,"83":41984,"24":0,"16":8809265686904832,"45":1741696817769984000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955533312001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809265686904832,"km_value":8809265686904.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769984000,"description":"Unknown IO ID 45"} 
[2026-07-25 18:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955533312001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741696817769984000}} 
[2026-07-25 18:02:32] local.INFO: TCP Data received {"connection_id":143607,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:02:32] local.INFO: Processing buffer {"connection_id":143607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:02:32] local.INFO: Packet analysis {"connection_id":143607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:02:32] local.INFO: Extracted packet for processing {"connection_id":143607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955477248001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982634000,"timestamp_ms":1784982634000,"timestamp_seconds":1784982634,"priority":1,"record_length":96,"hex_timestamp":"0000019f99417e10"} 
[2026-07-25 18:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:02: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-07-25 18:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955477248001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 18:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":141197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955477248001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:02:32] local.INFO: GPS data processed {"connection_id":141197,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:02:32] local.INFO: Acknowledgment sent {"connection_id":141197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955477248001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":143607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:02:32] local.INFO: GPS data processed {"connection_id":143607,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:02:32] local.INFO: Acknowledgment sent {"connection_id":143607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:02:55] local.INFO: TCP Data received {"connection_id":142229,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:02:55] local.INFO: Processing buffer {"connection_id":142229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:02:55] local.INFO: IMEI packet received {"connection_id":142229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":142229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:02:59] local.INFO: TCP Data received {"connection_id":142227,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:02:59] local.INFO: Processing buffer {"connection_id":142227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:02:59] local.INFO: Packet analysis {"connection_id":142227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:02:59] local.INFO: Extracted packet for processing {"connection_id":142227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:02:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":142227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:02:59] local.INFO: GPS data processed {"connection_id":142227,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:02:59] local.INFO: Acknowledgment sent {"connection_id":142227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:03:00] local.INFO: TCP Data received {"connection_id":142229,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:03:00] local.INFO: Processing buffer {"connection_id":142229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:03:00] local.INFO: IMEI packet received {"connection_id":142229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":142229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:03:01] local.INFO: TCP Data received {"connection_id":142229,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:03:01] local.INFO: Processing buffer {"connection_id":142229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:03:01] local.INFO: Packet analysis {"connection_id":142229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:03:01] local.INFO: Extracted packet for processing {"connection_id":142229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:03:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955477248001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982634000,"timestamp_ms":1784982634000,"timestamp_seconds":1784982634,"priority":1,"record_length":96,"hex_timestamp":"0000019f99417e10"} 
[2026-07-25 18:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955477248001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 18:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955477248001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:03:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 18:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955477248001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":142229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:03:01] local.INFO: GPS data processed {"connection_id":142229,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:03:01] local.INFO: Acknowledgment sent {"connection_id":142229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:03:03] local.INFO: TCP Data received {"connection_id":141197,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9942fce0012d181e400721ac30004c001d2c..."} 
[2026-07-25 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9942fce0012d181e400721ac30004c001d2c..."} 
[2026-07-25 18:03:03] local.INFO: Processing buffer {"connection_id":141197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9942fce0012d181e400721ac30004c001d2c..."} 
[2026-07-25 18:03:03] local.INFO: Packet analysis {"connection_id":141197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:03:03] local.INFO: Extracted packet for processing {"connection_id":141197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647280,"longitude_deg":75.6555328,"latitude_deg":11.964728,"altitude":76,"angle":29,"satellites":44,"speed":17,"hex_longitude":"2d181e40","hex_latitude":"0721ac30","is_valid_coordinates":true} 
[2026-07-25 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955578880001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809531974877184,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864423424,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982732000,"timestamp_ms":1784982732000,"timestamp_seconds":1784982732,"priority":1,"record_length":96,"hex_timestamp":"0000019f9942fce0"} 
[2026-07-25 18:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-25 18:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955578880001,"66":13091,"105":206,"83":41984,"24":17,"16":8809531974877184,"45":1737545061864423424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955578880001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809531974877184,"km_value":8809531974877.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864423424,"description":"Unknown IO ID 45"} 
[2026-07-25 18:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955578880001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1737545061864423424}} 
[2026-07-25 18:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":141197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:03:03] local.INFO: GPS data processed {"connection_id":141197,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:03:03] local.INFO: Acknowledgment sent {"connection_id":141197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:03:19] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:03:19] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:03:19] local.INFO: IMEI packet received {"connection_id":143608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":143608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:03:24] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:03:24] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:03:24] local.INFO: IMEI packet received {"connection_id":143608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":143608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:03:25] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:03:25] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:03:25] local.INFO: Packet analysis {"connection_id":143608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:03:25] local.INFO: Extracted packet for processing {"connection_id":143608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:03:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":143608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:03:25] local.INFO: GPS data processed {"connection_id":143608,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:03:25] local.INFO: Acknowledgment sent {"connection_id":143608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:03:26] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:03:26] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:03:26] local.INFO: IMEI packet received {"connection_id":141258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":141258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:03:31] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:03:31] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:03:31] local.INFO: IMEI packet received {"connection_id":141258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":141258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:03:32] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99431c20012d1824c00721b7c8004b01662b..."} 
[2026-07-25 18:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99431c20012d1824c00721b7c8004b01662b..."} 
[2026-07-25 18:03:32] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99431c20012d1824c00721b7c8004b01662b..."} 
[2026-07-25 18:03:32] local.INFO: Packet analysis {"connection_id":141258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:03:32] local.INFO: Extracted packet for processing {"connection_id":141258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650248,"longitude_deg":75.6556992,"latitude_deg":11.9650248,"altitude":75,"angle":358,"satellites":43,"speed":11,"hex_longitude":"2d1824c0","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955579392001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809695183634432,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585471488,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982740000,"timestamp_ms":1784982740000,"timestamp_seconds":1784982740,"priority":1,"record_length":96,"hex_timestamp":"0000019f99431c20"} 
[2026-07-25 18:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 18:03: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-07-25 18: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-07-25 18:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955579392001,"66":13091,"105":206,"83":41984,"24":11,"16":8809695183634432,"45":1737896905585471488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955579392001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809695183634432,"km_value":8809695183634.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585471488,"description":"Unknown IO ID 45"} 
[2026-07-25 18:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955579392001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737896905585471488}} 
[2026-07-25 18:03:32] local.INFO: TCP Data received {"connection_id":142229,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:03:32] local.INFO: Processing buffer {"connection_id":142229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:03:32] local.INFO: Packet analysis {"connection_id":142229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:03:32] local.INFO: Extracted packet for processing {"connection_id":142229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:03:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955477248001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982634000,"timestamp_ms":1784982634000,"timestamp_seconds":1784982634,"priority":1,"record_length":96,"hex_timestamp":"0000019f99417e10"} 
[2026-07-25 18:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:03: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-07-25 18: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-07-25 18:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955477248001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 18:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955477248001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955477248001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":142229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:03:32] local.INFO: GPS data processed {"connection_id":142229,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:03:32] local.INFO: Acknowledgment sent {"connection_id":142229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":141258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:03:32] local.INFO: GPS data processed {"connection_id":141258,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:03:32] local.INFO: Acknowledgment sent {"connection_id":141258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:03:55] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:03:55] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:03:55] local.INFO: IMEI packet received {"connection_id":141199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":141199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:03:56] local.INFO: TCP Data received {"connection_id":143608,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:03:56] local.INFO: Processing buffer {"connection_id":143608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:03:56] local.INFO: Packet analysis {"connection_id":143608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:03:56] local.INFO: Extracted packet for processing {"connection_id":143608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:03:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":143608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:03:56] local.INFO: GPS data processed {"connection_id":143608,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:03:56] local.INFO: Acknowledgment sent {"connection_id":143608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:04:00] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:04:00] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:04:00] local.INFO: IMEI packet received {"connection_id":141199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":141199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:04:01] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:04:01] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99417e10012db6310005cae678001a00872e..."} 
[2026-07-25 18:04:01] local.INFO: Packet analysis {"connection_id":141199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:04:01] local.INFO: Extracted packet for processing {"connection_id":141199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9941"} 
[2026-07-25 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955477248001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982634000,"timestamp_ms":1784982634000,"timestamp_seconds":1784982634,"priority":1,"record_length":96,"hex_timestamp":"0000019f99417e10"} 
[2026-07-25 18:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955477248001,"66":25625,"58":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 18:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955477248001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:04:01] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 18:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955477248001,"power":25625,"unknown_58":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":141199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:04:01] local.INFO: GPS data processed {"connection_id":141199,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:04:01] local.INFO: Acknowledgment sent {"connection_id":141199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:04:03] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99432008012d1824800721b890004b014a2c..."} 
[2026-07-25 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99432008012d1824800721b890004b014a2c..."} 
[2026-07-25 18:04:03] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99432008012d1824800721b890004b014a2c..."} 
[2026-07-25 18:04:03] local.INFO: Packet analysis {"connection_id":141258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:04:03] local.INFO: Extracted packet for processing {"connection_id":141258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650448,"longitude_deg":75.6556928,"latitude_deg":11.9650448,"altitude":75,"angle":330,"satellites":44,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-07-25 18:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955581440001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809708068536320,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934850560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982741000,"timestamp_ms":1784982741000,"timestamp_seconds":1784982741,"priority":1,"record_length":96,"hex_timestamp":"0000019f99432008"} 
[2026-07-25 18:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 18:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955581440001,"66":13080,"105":206,"83":41984,"24":6,"16":8809708068536320,"45":1739726492934850560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955581440001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:04:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809708068536320,"km_value":8809708068536.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934850560,"description":"Unknown IO ID 45"} 
[2026-07-25 18:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955581440001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739726492934850560}} 
[2026-07-25 18:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":141258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:04:03] local.INFO: GPS data processed {"connection_id":141258,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:04:03] local.INFO: Acknowledgment sent {"connection_id":141258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:04:24] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:04:24] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:04:24] local.INFO: IMEI packet received {"connection_id":143609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":143609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:04:26] local.INFO: TCP Data received {"connection_id":143610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:04:26] local.INFO: Processing buffer {"connection_id":143610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:04:26] local.INFO: IMEI packet received {"connection_id":143610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":143610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:04:29] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:04:29] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:04:29] local.INFO: IMEI packet received {"connection_id":143609,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":143609,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:04:30] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:04:30] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:04:30] local.INFO: Packet analysis {"connection_id":143609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:04:30] local.INFO: Extracted packet for processing {"connection_id":143609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:04:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":143609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:04:30] local.INFO: GPS data processed {"connection_id":143609,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:04:30] local.INFO: Acknowledgment sent {"connection_id":143609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:04:31] local.INFO: TCP Data received {"connection_id":143610,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:04:31] local.INFO: Processing buffer {"connection_id":143610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:04:31] local.INFO: IMEI packet received {"connection_id":143610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":143610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:04:32] local.INFO: TCP Data received {"connection_id":141199,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f99448380012db6310005cae678001a00872d..."} 
[2026-07-25 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99448380012db6310005cae678001a00872d..."} 
[2026-07-25 18:04:32] local.INFO: Processing buffer {"connection_id":141199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99448380012db6310005cae678001a00872d..."} 
[2026-07-25 18:04:32] local.INFO: Packet analysis {"connection_id":141199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:04:32] local.INFO: Extracted packet for processing {"connection_id":141199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":766914816,"raw_latitude":97183352,"longitude_deg":76.6914816,"latitude_deg":9.7183352,"altitude":26,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2db63100","hex_latitude":"05cae678","is_valid_coordinates":true} 
[2026-07-25 18:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955554304001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982832000,"timestamp_ms":1784982832000,"timestamp_seconds":1784982832,"priority":1,"record_length":96,"hex_timestamp":"0000019f99448380"} 
[2026-07-25 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-07-25 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 18:04: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-07-25 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-07-25 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-07-25 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955554304001,"66":25615,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955554304001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955554304001,"power":25615,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":141199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:04:32] local.INFO: GPS data processed {"connection_id":141199,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:04:32] local.INFO: Acknowledgment sent {"connection_id":141199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:04:32] local.INFO: TCP Data received {"connection_id":143610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99437210012d1823000721b690004a014a2b..."} 
[2026-07-25 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99437210012d1823000721b690004a014a2b..."} 
[2026-07-25 18:04:32] local.INFO: Processing buffer {"connection_id":143610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99437210012d1823000721b690004a014a2b..."} 
[2026-07-25 18:04:32] local.INFO: Packet analysis {"connection_id":143610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:04:32] local.INFO: Extracted packet for processing {"connection_id":143610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955581696001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190724096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982762000,"timestamp_ms":1784982762000,"timestamp_seconds":1784982762,"priority":1,"record_length":96,"hex_timestamp":"0000019f99437210"} 
[2026-07-25 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-07-25 18:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 18:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 18:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955581696001,"66":13048,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739656124190724096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955581696001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190724096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955581696001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190724096}} 
[2026-07-25 18:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":143610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:04:32] local.INFO: GPS data processed {"connection_id":143610,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:04:32] local.INFO: Acknowledgment sent {"connection_id":143610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:04:54] local.INFO: TCP Data received {"connection_id":141198,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:04:54] local.INFO: Processing buffer {"connection_id":141198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:04:54] local.INFO: IMEI packet received {"connection_id":141198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":141198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:05:00] local.INFO: TCP Data received {"connection_id":142230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:00] local.INFO: Processing buffer {"connection_id":142230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:00] local.INFO: IMEI packet received {"connection_id":142230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":142230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:05:01] local.INFO: TCP Data received {"connection_id":143609,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:05:01] local.INFO: Processing buffer {"connection_id":143609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:05:01] local.INFO: Packet analysis {"connection_id":143609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:05:01] local.INFO: Extracted packet for processing {"connection_id":143609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143609,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:05:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":143609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:05:01] local.INFO: GPS data processed {"connection_id":143609,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:05:01] local.INFO: Acknowledgment sent {"connection_id":143609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:05:03] local.INFO: TCP Data received {"connection_id":143610,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9943c418012d1823000721b690004a014a2c..."} 
[2026-07-25 18:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9943c418012d1823000721b690004a014a2c..."} 
[2026-07-25 18:05:03] local.INFO: Processing buffer {"connection_id":143610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9943c418012d1823000721b690004a014a2c..."} 
[2026-07-25 18:05:03] local.INFO: Packet analysis {"connection_id":143610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:05:03] local.INFO: Extracted packet for processing {"connection_id":143610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9943"} 
[2026-07-25 18:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955587072001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982783000,"timestamp_ms":1784982783000,"timestamp_seconds":1784982783,"priority":1,"record_length":96,"hex_timestamp":"0000019f9943c418"} 
[2026-07-25 18:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 18:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955587072001,"66":12972,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955587072001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:05:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955587072001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":143610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:05:03] local.INFO: GPS data processed {"connection_id":143610,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:05:03] local.INFO: Acknowledgment sent {"connection_id":143610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:05:05] local.INFO: TCP Data received {"connection_id":142230,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:05] local.INFO: Processing buffer {"connection_id":142230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:05] local.INFO: IMEI packet received {"connection_id":142230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":142230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:05:06] local.INFO: TCP Data received {"connection_id":142230,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9944d588012db6328005cae778001a00872f..."} 
[2026-07-25 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9944d588012db6328005cae778001a00872f..."} 
[2026-07-25 18:05:06] local.INFO: Processing buffer {"connection_id":142230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9944d588012db6328005cae778001a00872f..."} 
[2026-07-25 18:05:06] local.INFO: Packet analysis {"connection_id":142230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:05:06] local.INFO: Extracted packet for processing {"connection_id":142230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":766915200,"raw_latitude":97183608,"longitude_deg":76.69152,"latitude_deg":9.7183608,"altitude":26,"angle":135,"satellites":47,"speed":0,"hex_longitude":"2db63280","hex_latitude":"05cae778","is_valid_coordinates":true} 
[2026-07-25 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955604992001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357991365277122560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5318469660068907008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784982853000,"timestamp_ms":1784982853000,"timestamp_seconds":1784982853,"priority":1,"record_length":96,"hex_timestamp":"0000019f9944d588"} 
[2026-07-25 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955604992001,"66":27800,"147":206,"83":18688,"24":0,"16":357991365277122560,"45":-5318469660068907008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,45]} 
[2026-07-25 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955604992001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:05:06] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-25 18:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357991365277122560,"km_value":357991365277122.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5318469660068907008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955604992001,"power":27800,"unknown_147":206,"unknown_83":18688,"ignition":0,"odometer":null,"unknown_45":-5318469660068907008}} 
[2026-07-25 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":142230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:05:06] local.INFO: GPS data processed {"connection_id":142230,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:05:06] local.INFO: Acknowledgment sent {"connection_id":142230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:05:19] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:05:19] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:05:19] local.INFO: IMEI packet received {"connection_id":143611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":143611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:05:24] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:05:24] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:05:24] local.INFO: IMEI packet received {"connection_id":143611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":143611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:05:25] local.INFO: TCP Data received {"connection_id":143611,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:05:25] local.INFO: Processing buffer {"connection_id":143611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99422608012d7dcf0005e201980003010b16..."} 
[2026-07-25 18:05:25] local.INFO: Packet analysis {"connection_id":143611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:05:25] local.INFO: Extracted packet for processing {"connection_id":143611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9942"} 
[2026-07-25 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":763219712,"raw_latitude":98697624,"longitude_deg":76.3219712,"latitude_deg":9.8697624,"altitude":3,"angle":267,"satellites":22,"speed":0,"hex_longitude":"2d7dcf00","hex_latitude":"05e20198","is_valid_coordinates":true} 
[2026-07-25 18:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955503872001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064197962791559168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784982677000,"timestamp_ms":1784982677000,"timestamp_seconds":1784982677,"priority":1,"record_length":96,"hex_timestamp":"0000019f99422608"} 
[2026-07-25 18:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 18:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955503872001,"66":12232,"61":206,"85":15104,"24":0,"16":110318318056898560,"45":9064197962791559168},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-25 18:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955503872001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110318318056898560,"km_value":110318318056898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064197962791559168,"description":"Unknown IO ID 45"} 
[2026-07-25 18:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955503872001,"power":12232,"unknown_61":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9064197962791559168}} 
[2026-07-25 18:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":143611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:05:25] local.INFO: GPS data processed {"connection_id":143611,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:05:25] local.INFO: Acknowledgment sent {"connection_id":143611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:05:27] local.INFO: TCP Data received {"connection_id":142231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:27] local.INFO: Processing buffer {"connection_id":142231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:27] local.INFO: IMEI packet received {"connection_id":142231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":142231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:05:27] local.INFO: TCP Data received {"connection_id":142231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:27] local.INFO: Processing buffer {"connection_id":142231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:27] local.INFO: IMEI packet received {"connection_id":142231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":142231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:05:31] local.INFO: TCP Data received {"connection_id":142231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:31] local.INFO: Processing buffer {"connection_id":142231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:05:31] local.INFO: IMEI packet received {"connection_id":142231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":142231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:05:32] local.INFO: TCP Data received {"connection_id":143612,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:32] local.INFO: Processing buffer {"connection_id":143612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:32] local.INFO: IMEI packet received {"connection_id":143612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":143612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:05:32] local.INFO: TCP Data received {"connection_id":142231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99441620012d1823000721b690004a014a2e..."} 
[2026-07-25 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99441620012d1823000721b690004a014a2e..."} 
[2026-07-25 18:05:32] local.INFO: Processing buffer {"connection_id":142231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99441620012d1823000721b690004a014a2e..."} 
[2026-07-25 18:05:32] local.INFO: Packet analysis {"connection_id":142231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:05:32] local.INFO: Extracted packet for processing {"connection_id":142231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955592448001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982804000,"timestamp_ms":1784982804000,"timestamp_seconds":1784982804,"priority":1,"record_length":96,"hex_timestamp":"0000019f99441620"} 
[2026-07-25 18:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 18:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955592448001,"66":12950,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955592448001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:05:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955592448001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":142231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:05:32] local.INFO: GPS data processed {"connection_id":142231,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:05:32] local.INFO: Acknowledgment sent {"connection_id":142231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:05:33] local.INFO: TCP Data received {"connection_id":143612,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:33] local.INFO: Processing buffer {"connection_id":143612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:33] local.INFO: IMEI packet received {"connection_id":143612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":143612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:05:35] local.INFO: TCP Data received {"connection_id":143612,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:35] local.INFO: Processing buffer {"connection_id":143612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:35] local.INFO: IMEI packet received {"connection_id":143612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":143612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:05:35] local.INFO: TCP Data received {"connection_id":143612,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:35] local.INFO: Processing buffer {"connection_id":143612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:05:35] local.INFO: IMEI packet received {"connection_id":143612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":143612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:06:03] local.INFO: TCP Data received {"connection_id":142231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99446828012d1823000721b690004a014a2e..."} 
[2026-07-25 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99446828012d1823000721b690004a014a2e..."} 
[2026-07-25 18:06:03] local.INFO: Processing buffer {"connection_id":142231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99446828012d1823000721b690004a014a2e..."} 
[2026-07-25 18:06:03] local.INFO: Packet analysis {"connection_id":142231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:06:03] local.INFO: Extracted packet for processing {"connection_id":142231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955597824001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982825000,"timestamp_ms":1784982825000,"timestamp_seconds":1784982825,"priority":1,"record_length":96,"hex_timestamp":"0000019f99446828"} 
[2026-07-25 18:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 18:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955597824001,"66":12950,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955597824001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:06:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955597824001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":142231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":543999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:06:03] local.INFO: GPS data processed {"connection_id":142231,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:06:03] local.INFO: Acknowledgment sent {"connection_id":142231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:06:26] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:06:26] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:06:26] local.INFO: IMEI packet received {"connection_id":143613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":143613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:06:31] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:06:31] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:06:31] local.INFO: IMEI packet received {"connection_id":143613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":143613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:06:32] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9944ba30012d1823000721b690004a014a2b..."} 
[2026-07-25 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9944ba30012d1823000721b690004a014a2b..."} 
[2026-07-25 18:06:32] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9944ba30012d1823000721b690004a014a2b..."} 
[2026-07-25 18:06:32] local.INFO: Packet analysis {"connection_id":143613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:06:32] local.INFO: Extracted packet for processing {"connection_id":143613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9944"} 
[2026-07-25 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955603200001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784982846000,"timestamp_ms":1784982846000,"timestamp_seconds":1784982846,"priority":1,"record_length":96,"hex_timestamp":"0000019f9944ba30"} 
[2026-07-25 18:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 18:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955603200001,"66":12885,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955603200001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:06:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955603200001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":143613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:06:32] local.INFO: GPS data processed {"connection_id":143613,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:06:32] local.INFO: Acknowledgment sent {"connection_id":143613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:07:03] local.INFO: TCP Data received {"connection_id":143613,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99450c38012d1823000721b690004a014a2b..."} 
[2026-07-25 18:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99450c38012d1823000721b690004a014a2b..."} 
[2026-07-25 18:07:03] local.INFO: Processing buffer {"connection_id":143613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99450c38012d1823000721b690004a014a2b..."} 
[2026-07-25 18:07:03] local.INFO: Packet analysis {"connection_id":143613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9945"} 
[2026-07-25 18:07:03] local.INFO: Extracted packet for processing {"connection_id":143613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9945"} 
[2026-07-25 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955608576001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784982867000,"timestamp_ms":1784982867000,"timestamp_seconds":1784982867,"priority":1,"record_length":96,"hex_timestamp":"0000019f99450c38"} 
[2026-07-25 18:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 18:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955608576001,"66":12863,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955608576001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955608576001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":143613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:07:03] local.INFO: GPS data processed {"connection_id":143613,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:07:03] local.INFO: Acknowledgment sent {"connection_id":143613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:07:31] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:07:31] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:07:31] local.INFO: IMEI packet received {"connection_id":141201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":141201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:07:34] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:07:34] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:07:34] local.INFO: IMEI packet received {"connection_id":141201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":141201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:07:35] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99455e40012d1823000721b690004a014a2c..."} 
[2026-07-25 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99455e40012d1823000721b690004a014a2c..."} 
[2026-07-25 18:07:35] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99455e40012d1823000721b690004a014a2c..."} 
[2026-07-25 18:07:35] local.INFO: Packet analysis {"connection_id":141201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9945"} 
[2026-07-25 18:07:35] local.INFO: Extracted packet for processing {"connection_id":141201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9945"} 
[2026-07-25 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955613952001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784982888000,"timestamp_ms":1784982888000,"timestamp_seconds":1784982888,"priority":1,"record_length":96,"hex_timestamp":"0000019f99455e40"} 
[2026-07-25 18:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955613952001,"66":14102,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955613952001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955613952001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":141201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:07:35] local.INFO: GPS data processed {"connection_id":141201,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:07:35] local.INFO: Acknowledgment sent {"connection_id":141201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:07:36] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9945b048012d1823000721b690004a014a2d..."} 
[2026-07-25 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9945b048012d1823000721b690004a014a2d..."} 
[2026-07-25 18:07:36] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9945b048012d1823000721b690004a014a2d..."} 
[2026-07-25 18:07:36] local.INFO: Packet analysis {"connection_id":141201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9945"} 
[2026-07-25 18:07:36] local.INFO: Extracted packet for processing {"connection_id":141201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9945"} 
[2026-07-25 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649936,"longitude_deg":75.6556544,"latitude_deg":11.9649936,"altitude":74,"angle":330,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-07-25 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955619328001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8809751018209280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725527040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784982909000,"timestamp_ms":1784982909000,"timestamp_seconds":1784982909,"priority":1,"record_length":96,"hex_timestamp":"0000019f9945b048"} 
[2026-07-25 18:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 18:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955619328001,"66":14135,"105":206,"83":41984,"24":0,"16":8809751018209280,"45":1739233911725527040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955619328001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8809751018209280,"km_value":8809751018209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725527040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955619328001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725527040}} 
[2026-07-25 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":141201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:07:36] local.INFO: GPS data processed {"connection_id":141201,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:07:36] local.INFO: Acknowledgment sent {"connection_id":141201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:08:07] local.INFO: TCP Data received {"connection_id":141201,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99477d38012d189ac0072262280065001029..."} 
[2026-07-25 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99477d38012d189ac0072262280065001029..."} 
[2026-07-25 18:08:07] local.INFO: Processing buffer {"connection_id":141201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99477d38012d189ac0072262280065001029..."} 
[2026-07-25 18:08:07] local.INFO: Packet analysis {"connection_id":141201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9947"} 
[2026-07-25 18:08:07] local.INFO: Extracted packet for processing {"connection_id":141201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9947"} 
[2026-07-25 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756587200,"raw_latitude":119693864,"longitude_deg":75.65872,"latitude_deg":11.9693864,"altitude":101,"angle":16,"satellites":41,"speed":6,"hex_longitude":"2d189ac0","hex_latitude":"07226228","is_valid_coordinates":true} 
[2026-07-25 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955651840001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8812358063357952,"note":"Value kept but may cause issues"} 
[2026-07-25 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772659065221074944,"note":"Value kept but may cause issues"} 
[2026-07-25 18:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784983027000,"timestamp_ms":1784983027000,"timestamp_seconds":1784983027,"priority":1,"record_length":96,"hex_timestamp":"0000019f99477d38"} 
[2026-07-25 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 18:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955651840001,"66":13863,"105":206,"83":41984,"24":6,"16":8812358063357952,"45":1772659065221074944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955651840001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8812358063357952,"km_value":8812358063357.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772659065221074944,"description":"Unknown IO ID 45"} 
[2026-07-25 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955651840001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1772659065221074944}} 
[2026-07-25 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":141201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:08:08] local.INFO: GPS data processed {"connection_id":141201,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:08:08] local.INFO: Acknowledgment sent {"connection_id":141201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:09:41] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:09:41] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:09:41] local.INFO: IMEI packet received {"connection_id":141202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":141202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:09:45] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:09:45] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:09:45] local.INFO: IMEI packet received {"connection_id":141202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":141202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:09:46] local.INFO: TCP Data received {"connection_id":141202,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9948dcc8012d18ff8007230248005900232a..."} 
[2026-07-25 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9948dcc8012d18ff8007230248005900232a..."} 
[2026-07-25 18:09:46] local.INFO: Processing buffer {"connection_id":141202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9948dcc8012d18ff8007230248005900232a..."} 
[2026-07-25 18:09:46] local.INFO: Packet analysis {"connection_id":141202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9948"} 
[2026-07-25 18:09:46] local.INFO: Extracted packet for processing {"connection_id":141202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9948"} 
[2026-07-25 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756612992,"raw_latitude":119734856,"longitude_deg":75.6612992,"latitude_deg":11.9734856,"altitude":89,"angle":35,"satellites":42,"speed":35,"hex_longitude":"2d18ff80","hex_latitude":"07230248","is_valid_coordinates":true} 
[2026-07-25 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955677440001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8815360245497856,"note":"Value kept but may cause issues"} 
[2026-07-25 18:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799962137972256768,"note":"Value kept but may cause issues"} 
[2026-07-25 18:09: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-07-25 18:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784983117000,"timestamp_ms":1784983117000,"timestamp_seconds":1784983117,"priority":1,"record_length":96,"hex_timestamp":"0000019f9948dcc8"} 
[2026-07-25 18:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:09: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-07-25 18:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955677440001,"66":12113,"177":206,"83":42752,"24":35,"16":8815360245497856,"45":1799962137972256768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955677440001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8815360245497856,"km_value":8815360245497.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799962137972256768,"description":"Unknown IO ID 45"} 
[2026-07-25 18:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955677440001,"power":12113,"unknown_177":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1799962137972256768}} 
[2026-07-25 18:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":141202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:09:46] local.INFO: GPS data processed {"connection_id":141202,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:09:46] local.INFO: Acknowledgment sent {"connection_id":141202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:10:05] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:05] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:05] local.INFO: IMEI packet received {"connection_id":143614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":143614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:10:06] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:06] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:06] local.INFO: IMEI packet received {"connection_id":143614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":143614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:10:10] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:10] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:10:10] local.INFO: IMEI packet received {"connection_id":143614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":143614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:10:11] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000027100100000000000000000000000000..."} 
[2026-07-25 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000027100100000000000000000000000000..."} 
[2026-07-25 18:10:11] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000027100100000000000000000000000000..."} 
[2026-07-25 18:10:11] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:10:11] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:10:11] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 18:10:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":10000,"timestamp_seconds":10,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 18:10:11] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 18:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 18:10:11] local.ERROR: GPS data processing failed {"connection_id":143614,"error":"No valid data to process"} 
[2026-07-25 18:10:11] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 18:10:26] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:10:26] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:10:26] local.INFO: IMEI packet received {"connection_id":141203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":141203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:10:30] local.INFO: TCP Data received {"connection_id":142235,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:10:30] local.INFO: Processing buffer {"connection_id":142235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:10:30] local.INFO: IMEI packet received {"connection_id":142235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":142235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:10:31] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:10:31] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:10:31] local.INFO: IMEI packet received {"connection_id":141203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":141203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:10:31] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994903d8012d19154007231df80054002b27..."} 
[2026-07-25 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994903d8012d19154007231df80054002b27..."} 
[2026-07-25 18:10:31] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994903d8012d19154007231df80054002b27..."} 
[2026-07-25 18:10:31] local.INFO: Packet analysis {"connection_id":141203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:10:31] local.INFO: Extracted packet for processing {"connection_id":141203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":756618560,"raw_latitude":119741944,"longitude_deg":75.661856,"latitude_deg":11.9741944,"altitude":84,"angle":43,"satellites":39,"speed":36,"hex_longitude":"2d191540","hex_latitude":"07231df8","is_valid_coordinates":true} 
[2026-07-25 18:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955677952001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8815798332162048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801299144111966208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:10:31] 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-07-25 18:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784983127000,"timestamp_ms":1784983127000,"timestamp_seconds":1784983127,"priority":1,"record_length":96,"hex_timestamp":"0000019f994903d8"} 
[2026-07-25 18:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-25 18:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955677952001,"66":12613,"177":206,"83":42752,"24":36,"16":8815798332162048,"45":1801299144111966208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955677952001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:10:31] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:10:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8815798332162048,"km_value":8815798332162.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801299144111966208,"description":"Unknown IO ID 45"} 
[2026-07-25 18:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955677952001,"power":12613,"unknown_177":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1801299144111966208}} 
[2026-07-25 18:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":141203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:10:32] local.INFO: GPS data processed {"connection_id":141203,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:10:32] local.INFO: Acknowledgment sent {"connection_id":141203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:10:37] local.INFO: TCP Data received {"connection_id":141259,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:10:37] local.INFO: Processing buffer {"connection_id":141259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:10:37] local.INFO: IMEI packet received {"connection_id":141259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":141259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:10:42] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000027100100000000000000000000000000..."} 
[2026-07-25 18:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000027100100000000000000000000000000..."} 
[2026-07-25 18:10:42] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000027100100000000000000000000000000..."} 
[2026-07-25 18:10:42] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:10:42] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:10: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-07-25 18:10: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-07-25 18:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:10:42] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 18:10:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":10000,"timestamp_seconds":10,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:10:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 18:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 18:10:42] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 18:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 18:10:42] local.ERROR: GPS data processing failed {"connection_id":143614,"error":"No valid data to process"} 
[2026-07-25 18:10:42] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 18:11:03] local.INFO: TCP Data received {"connection_id":141203,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99492ae8012d1930c0072338d80050002b27..."} 
[2026-07-25 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99492ae8012d1930c0072338d80050002b27..."} 
[2026-07-25 18:11:03] local.INFO: Processing buffer {"connection_id":141203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99492ae8012d1930c0072338d80050002b27..."} 
[2026-07-25 18:11:03] local.INFO: Packet analysis {"connection_id":141203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:11:03] local.INFO: Extracted packet for processing {"connection_id":141203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756625600,"raw_latitude":119748824,"longitude_deg":75.66256,"latitude_deg":11.9748824,"altitude":80,"angle":43,"satellites":39,"speed":41,"hex_longitude":"2d1930c0","hex_latitude":"072338d8","is_valid_coordinates":true} 
[2026-07-25 18:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955680512001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8816266483597312,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807421224857237504,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:03] 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-07-25 18:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983137000,"timestamp_ms":1784983137000,"timestamp_seconds":1784983137,"priority":1,"record_length":96,"hex_timestamp":"0000019f99492ae8"} 
[2026-07-25 18:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 18:11: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-07-25 18:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955680512001,"66":12526,"177":206,"83":42752,"24":41,"16":8816266483597312,"45":1807421224857237504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955680512001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:11:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8816266483597312,"km_value":8816266483597.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807421224857237504,"description":"Unknown IO ID 45"} 
[2026-07-25 18:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955680512001,"power":12526,"unknown_177":206,"unknown_83":42752,"ignition":41,"odometer":null,"unknown_45":1807421224857237504}} 
[2026-07-25 18:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":141203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:11:03] local.INFO: GPS data processed {"connection_id":141203,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:11:03] local.INFO: Acknowledgment sent {"connection_id":141203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:11:05] local.INFO: TCP Data received {"connection_id":143615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:05] local.INFO: Processing buffer {"connection_id":143615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:05] local.INFO: IMEI packet received {"connection_id":143615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":143615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:11:10] local.INFO: TCP Data received {"connection_id":143615,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:10] local.INFO: Processing buffer {"connection_id":143615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:10] local.INFO: IMEI packet received {"connection_id":143615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":143615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:11:11] local.INFO: TCP Data received {"connection_id":143615,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99497908012db4fb0005ca6130001900d12b..."} 
[2026-07-25 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99497908012db4fb0005ca6130001900d12b..."} 
[2026-07-25 18:11:11] local.INFO: Processing buffer {"connection_id":143615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99497908012db4fb0005ca6130001900d12b..."} 
[2026-07-25 18:11:11] local.INFO: Packet analysis {"connection_id":143615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:11:11] local.INFO: Extracted packet for processing {"connection_id":143615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":766835456,"raw_latitude":97149232,"longitude_deg":76.6835456,"latitude_deg":9.7149232,"altitude":25,"angle":209,"satellites":43,"speed":10,"hex_longitude":"2db4fb00","hex_latitude":"05ca6130","is_valid_coordinates":true} 
[2026-07-25 18:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955682816001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357995913647489024,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5405515796625125376,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784983157000,"timestamp_ms":1784983157000,"timestamp_seconds":1784983157,"priority":1,"record_length":96,"hex_timestamp":"0000019f99497908"} 
[2026-07-25 18:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955682816001,"66":27800,"117":206,"83":18688,"24":10,"16":357995913647489024,"45":-5405515796625125376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-25 18:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955682816001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:11:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 18:11:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357995913647489024,"km_value":357995913647489.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5405515796625125376,"description":"Unknown IO ID 45"} 
[2026-07-25 18:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955682816001,"power":27800,"unknown_117":206,"unknown_83":18688,"ignition":10,"odometer":null,"unknown_45":-5405515796625125376}} 
[2026-07-25 18:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":143615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:11:11] local.INFO: GPS data processed {"connection_id":143615,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:11:11] local.INFO: Acknowledgment sent {"connection_id":143615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:11:13] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000032c80100000000000000000000000000..."} 
[2026-07-25 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000032c80100000000000000000000000000..."} 
[2026-07-25 18:11:13] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000032c80100000000000000000000000000..."} 
[2026-07-25 18:11:13] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:11:13] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:11: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-07-25 18:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:13] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 18:11:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":13000,"timestamp_seconds":13,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:11:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 18:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 18:11:13] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 18:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 18:11:13] local.ERROR: GPS data processing failed {"connection_id":143614,"error":"No valid data to process"} 
[2026-07-25 18:11:13] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 18:11:24] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:24] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:24] local.INFO: IMEI packet received {"connection_id":141204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":141204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:11:26] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:26] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:26] local.INFO: IMEI packet received {"connection_id":141204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":141204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:11:32] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:32] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:11:32] local.INFO: IMEI packet received {"connection_id":141204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":141204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:11:32] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99494e10012d194980072357080049002326..."} 
[2026-07-25 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99494e10012d194980072357080049002326..."} 
[2026-07-25 18:11:32] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99494e10012d194980072357080049002326..."} 
[2026-07-25 18:11:32] local.INFO: Packet analysis {"connection_id":141204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:11:32] local.INFO: Extracted packet for processing {"connection_id":141204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756631936,"raw_latitude":119756552,"longitude_deg":75.6631936,"latitude_deg":11.9756552,"altitude":73,"angle":35,"satellites":38,"speed":45,"hex_longitude":"2d194980","hex_latitude":"07235708","is_valid_coordinates":true} 
[2026-07-25 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955683072001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8816747519934464,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1815161786718541824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:32] 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-07-25 18:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983146000,"timestamp_ms":1784983146000,"timestamp_seconds":1784983146,"priority":1,"record_length":96,"hex_timestamp":"0000019f99494e10"} 
[2026-07-25 18:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 18:11: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-07-25 18:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955683072001,"66":12504,"177":206,"83":42752,"24":45,"16":8816747519934464,"45":1815161786718541824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955683072001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8816747519934464,"km_value":8816747519934.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1815161786718541824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955683072001,"power":12504,"unknown_177":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1815161786718541824}} 
[2026-07-25 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":141204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:11:33] local.INFO: GPS data processed {"connection_id":141204,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:11:33] local.INFO: Acknowledgment sent {"connection_id":141204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:11:45] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000032c80100000000000000000000000000..."} 
[2026-07-25 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000032c80100000000000000000000000000..."} 
[2026-07-25 18:11:45] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000032c80100000000000000000000000000..."} 
[2026-07-25 18:11:45] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:11:45] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:11:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-25 18:11:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":13000,"timestamp_seconds":13,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:11:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 18:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 18:11:45] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 18:11:45] local.ERROR: GPS data processing failed {"connection_id":143614,"error":"No valid data to process"} 
[2026-07-25 18:11:45] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 18:11:55] local.INFO: TCP Data received {"connection_id":143616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:55] local.INFO: Processing buffer {"connection_id":143616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:55] local.INFO: IMEI packet received {"connection_id":143616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":143616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:11:56] local.INFO: TCP Data received {"connection_id":143616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:56] local.INFO: Processing buffer {"connection_id":143616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:11:56] local.INFO: IMEI packet received {"connection_id":143616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":143616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:12:00] local.INFO: TCP Data received {"connection_id":143616,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:12:00] local.INFO: Processing buffer {"connection_id":143616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:12:00] local.INFO: IMEI packet received {"connection_id":143616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":143616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:12:01] local.INFO: TCP Data received {"connection_id":143616,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b0390012db4258005ca6ba80044011a2d..."} 
[2026-07-25 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b0390012db4258005ca6ba80044011a2d..."} 
[2026-07-25 18:12:01] local.INFO: Processing buffer {"connection_id":143616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b0390012db4258005ca6ba80044011a2d..."} 
[2026-07-25 18:12:01] local.INFO: Packet analysis {"connection_id":143616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:12:01] local.INFO: Extracted packet for processing {"connection_id":143616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:12:01] local.INFO: GPS Element Parsed {"raw_longitude":766780800,"raw_latitude":97151912,"longitude_deg":76.67808,"latitude_deg":9.7151912,"altitude":68,"angle":282,"satellites":45,"speed":27,"hex_longitude":"2db42580","hex_latitude":"05ca6ba8","is_valid_coordinates":true} 
[2026-07-25 18:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955710208001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357998563642310656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5455688711223914496,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983258000,"timestamp_ms":1784983258000,"timestamp_seconds":1784983258,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b0390"} 
[2026-07-25 18:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955710208001,"66":27745,"73":206,"83":18688,"24":27,"16":357998563642310656,"45":-5455688711223914496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955710208001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:12:01] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357998563642310656,"km_value":357998563642310.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5455688711223914496,"description":"Unknown IO ID 45"} 
[2026-07-25 18:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955710208001,"power":27745,"unknown_73":206,"unknown_83":18688,"ignition":27,"odometer":null,"unknown_45":-5455688711223914496}} 
[2026-07-25 18:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":143616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:12:01] local.INFO: GPS data processed {"connection_id":143616,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:12:01] local.INFO: Acknowledgment sent {"connection_id":143616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:12:04] local.INFO: TCP Data received {"connection_id":141204,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99496d50012d195c80072377180043001d24..."} 
[2026-07-25 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99496d50012d195c80072377180043001d24..."} 
[2026-07-25 18:12:04] local.INFO: Processing buffer {"connection_id":141204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99496d50012d195c80072377180043001d24..."} 
[2026-07-25 18:12:04] local.INFO: Packet analysis {"connection_id":141204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:12:04] local.INFO: Extracted packet for processing {"connection_id":141204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756636800,"raw_latitude":119764760,"longitude_deg":75.66368,"latitude_deg":11.976476,"altitude":67,"angle":29,"satellites":36,"speed":48,"hex_longitude":"2d195c80","hex_latitude":"07237718","is_valid_coordinates":true} 
[2026-07-25 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955685376001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8817207081435136,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822128292394108928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:04] 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-07-25 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784983154000,"timestamp_ms":1784983154000,"timestamp_seconds":1784983154,"priority":1,"record_length":96,"hex_timestamp":"0000019f99496d50"} 
[2026-07-25 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 18:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955685376001,"66":12385,"177":206,"83":42752,"24":48,"16":8817207081435136,"45":1822128292394108928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955685376001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:12:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8817207081435136,"km_value":8817207081435.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822128292394108928,"description":"Unknown IO ID 45"} 
[2026-07-25 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955685376001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1822128292394108928}} 
[2026-07-25 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":141204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:12:04] local.INFO: GPS data processed {"connection_id":141204,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:12:04] local.INFO: Acknowledgment sent {"connection_id":141204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:12:16] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 18:12:16] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 18:12:16] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:12:16] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:12:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 18:12:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 18:12:16] local.ERROR: GPS data processing failed {"connection_id":143614,"error":"No valid data to process"} 
[2026-07-25 18:12:16] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 18:12:26] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:26] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:26] local.INFO: IMEI packet received {"connection_id":143617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":143617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:12:27] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:27] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:27] local.INFO: IMEI packet received {"connection_id":143617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":143617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:12:32] local.INFO: TCP Data received {"connection_id":143616,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b1ee8012db4114005ca6e90004201072b..."} 
[2026-07-25 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b1ee8012db4114005ca6e90004201072b..."} 
[2026-07-25 18:12:32] local.INFO: Processing buffer {"connection_id":143616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b1ee8012db4114005ca6e90004201072b..."} 
[2026-07-25 18:12:32] local.INFO: Packet analysis {"connection_id":143616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:12:32] local.INFO: Extracted packet for processing {"connection_id":143616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":766775616,"raw_latitude":97152656,"longitude_deg":76.6775616,"latitude_deg":9.7152656,"altitude":66,"angle":263,"satellites":43,"speed":28,"hex_longitude":"2db41140","hex_latitude":"05ca6e90","is_valid_coordinates":true} 
[2026-07-25 18:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955714048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357998812750413824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5465821810384984064,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983265000,"timestamp_ms":1784983265000,"timestamp_seconds":1784983265,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b1ee8"} 
[2026-07-25 18:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955714048001,"66":27713,"73":206,"83":18688,"24":28,"16":357998812750413824,"45":-5465821810384984064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955714048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:12:32] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357998812750413824,"km_value":357998812750413.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5465821810384984064,"description":"Unknown IO ID 45"} 
[2026-07-25 18:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955714048001,"power":27713,"unknown_73":206,"unknown_83":18688,"ignition":28,"odometer":null,"unknown_45":-5465821810384984064}} 
[2026-07-25 18:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":143616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:12:32] local.INFO: GPS data processed {"connection_id":143616,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:12:32] local.INFO: Acknowledgment sent {"connection_id":143616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:12:32] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:32] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:12:32] local.INFO: IMEI packet received {"connection_id":143617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":143617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:12:33] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994984c0012d196cc007238d480040002b22..."} 
[2026-07-25 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994984c0012d196cc007238d480040002b22..."} 
[2026-07-25 18:12:33] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994984c0012d196cc007238d480040002b22..."} 
[2026-07-25 18:12:33] local.INFO: Packet analysis {"connection_id":143617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:12:33] local.INFO: Extracted packet for processing {"connection_id":143617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9949"} 
[2026-07-25 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756640960,"raw_latitude":119770440,"longitude_deg":75.664096,"latitude_deg":11.977044,"altitude":64,"angle":43,"satellites":34,"speed":44,"hex_longitude":"2d196cc0","hex_latitude":"07238d48","is_valid_coordinates":true} 
[2026-07-25 18:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955687424001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8817546383851520,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827476316953712640,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784983160000,"timestamp_ms":1784983160000,"timestamp_seconds":1784983160,"priority":1,"record_length":96,"hex_timestamp":"0000019f994984c0"} 
[2026-07-25 18:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955687424001,"66":12363,"42":206,"83":42752,"24":44,"16":8817546383851520,"45":1827476316953712640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955687424001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8817546383851520,"km_value":8817546383851.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827476316953712640,"description":"Unknown IO ID 45"} 
[2026-07-25 18:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955687424001,"power":12363,"unknown_42":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1827476316953712640}} 
[2026-07-25 18:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":143617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:12:33] local.INFO: GPS data processed {"connection_id":143617,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:12:33] local.INFO: Acknowledgment sent {"connection_id":143617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:12:47] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 18:12:47] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 18:12:47] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 18:12:47] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 18:12:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:12:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:12:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:12:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 18:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 18:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 18:12:47] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 18:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 18:12:47] local.ERROR: GPS data processing failed {"connection_id":143614,"error":"No valid data to process"} 
[2026-07-25 18:12:47] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 18:12:55] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:12:55] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:12:55] local.INFO: IMEI packet received {"connection_id":141205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":141205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:13:00] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:13:00] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:13:00] local.INFO: IMEI packet received {"connection_id":141205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":141205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:13:01] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b22d0012db40e8005ca6dd0004200fb2b..."} 
[2026-07-25 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b22d0012db40e8005ca6dd0004200fb2b..."} 
[2026-07-25 18:13:01] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b22d0012db40e8005ca6dd0004200fb2b..."} 
[2026-07-25 18:13:01] local.INFO: Packet analysis {"connection_id":141205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:13:01] local.INFO: Extracted packet for processing {"connection_id":141205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":766774912,"raw_latitude":97152464,"longitude_deg":76.6774912,"latitude_deg":9.7152464,"altitude":66,"angle":251,"satellites":43,"speed":27,"hex_longitude":"2db40e80","hex_latitude":"05ca6dd0","is_valid_coordinates":true} 
[2026-07-25 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955715840001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357998847110152192,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5471521678663184384,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983266000,"timestamp_ms":1784983266000,"timestamp_seconds":1784983266,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b22d0"} 
[2026-07-25 18:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-25 18:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955715840001,"66":27213,"73":206,"83":18688,"24":27,"16":357998847110152192,"45":-5471521678663184384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955715840001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:13:01] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357998847110152192,"km_value":357998847110152.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5471521678663184384,"description":"Unknown IO ID 45"} 
[2026-07-25 18:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955715840001,"power":27213,"unknown_73":206,"unknown_83":18688,"ignition":27,"odometer":null,"unknown_45":-5471521678663184384}} 
[2026-07-25 18:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":141205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:13:01] local.INFO: GPS data processed {"connection_id":141205,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:13:01] local.INFO: Acknowledgment sent {"connection_id":141205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:13:03] local.INFO: TCP Data received {"connection_id":143617,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994c1cd0012d19be000723a3080039005429..."} 
[2026-07-25 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994c1cd0012d19be000723a3080039005429..."} 
[2026-07-25 18:13:03] local.INFO: Processing buffer {"connection_id":143617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994c1cd0012d19be000723a3080039005429..."} 
[2026-07-25 18:13:03] local.INFO: Packet analysis {"connection_id":143617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:13:03] local.INFO: Extracted packet for processing {"connection_id":143617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756661760,"raw_latitude":119776008,"longitude_deg":75.666176,"latitude_deg":11.9776008,"altitude":57,"angle":84,"satellites":41,"speed":15,"hex_longitude":"2d19be00","hex_latitude":"0723a308","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955727104001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818598650839040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120215000170496,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] 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-07-25 18:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983330000,"timestamp_ms":1784983330000,"timestamp_seconds":1784983330,"priority":1,"record_length":96,"hex_timestamp":"0000019f994c1cd0"} 
[2026-07-25 18:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481029410304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":84,"raw_value":5836665117072162817,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7401199897712715379,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483920908714190,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2705326137,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2147951521,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3724594527,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":56,"raw_value":24250828529336320,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":192,"raw_value":514426649865551953,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.WARNING: Large IO value detected {"io_id":41,"raw_value":10414574138949636,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,42,83,24,241,157,16,84,159,120,45,128,161,57,39,10,66,38,212,1,240,146,227,153,35,4,113,205,48,176,64,40,239,47,2,31,7,56,192,41],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-07-25 18:13:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107377589960572928,"timestamp_seconds":4107377589960573.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955727104001,"66":12776,"42":206,"83":42752,"24":15,"16":8818598650839040,"45":1851120215000170496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955727104001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:13:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818598650839040,"km_value":8818598650839.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120215000170496,"description":"Unknown IO ID 45"} 
[2026-07-25 18:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955727104001,"power":12776,"unknown_42":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1851120215000170496}} 
[2026-07-25 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":143617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:13:04] local.INFO: GPS data processed {"connection_id":143617,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:13:04] local.INFO: Acknowledgment sent {"connection_id":143617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:13:18] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994ad8980100000000000000000000000000..."} 
[2026-07-25 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994ad8980100000000000000000000000000..."} 
[2026-07-25 18:13:18] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994ad8980100000000000000000000000000..."} 
[2026-07-25 18:13:18] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994a"} 
[2026-07-25 18:13:18] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994a"} 
[2026-07-25 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1784983247000,"timestamp_ms":1784983247000,"timestamp_seconds":1784983247,"priority":1,"record_length":96,"hex_timestamp":"0000019f994ad898"} 
[2026-07-25 18:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 18:13:18] local.INFO: GPS data processed {"connection_id":143614,"processed":0,"errors":0,"total":1} 
[2026-07-25 18:13:18] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:13:26] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:13:26] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:13:26] local.INFO: IMEI packet received {"connection_id":141260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":141260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:13:31] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:13:31] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:13:31] local.INFO: IMEI packet received {"connection_id":141260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":141260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:13:32] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994c47c8012d19d2400723a3e80035006128..."} 
[2026-07-25 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994c47c8012d19d2400723a3e80035006128..."} 
[2026-07-25 18:13:32] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994c47c8012d19d2400723a3e80035006128..."} 
[2026-07-25 18:13:32] local.INFO: Packet analysis {"connection_id":141260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:13:32] local.INFO: Extracted packet for processing {"connection_id":141260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119776232,"longitude_deg":75.6666944,"latitude_deg":11.9776232,"altitude":53,"angle":97,"satellites":40,"speed":16,"hex_longitude":"2d19d240","hex_latitude":"0723a3e8","is_valid_coordinates":true} 
[2026-07-25 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955732480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818847758942208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854920127185881088,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:32] 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-07-25 18:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983341000,"timestamp_ms":1784983341000,"timestamp_seconds":1784983341,"priority":1,"record_length":96,"hex_timestamp":"0000019f994c47c8"} 
[2026-07-25 18:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":232,"data_length":795,"current_offset":136} 
[2026-07-25 18:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955732480001,"66":12841,"42":206,"83":42752,"24":16,"16":8818847758942208,"45":1854920127185881088},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955732480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818847758942208,"km_value":8818847758942.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854920127185881088,"description":"Unknown IO ID 45"} 
[2026-07-25 18:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955732480001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1854920127185881088}} 
[2026-07-25 18:13:32] local.INFO: TCP Data received {"connection_id":141205,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b2aa0012db4098005ca6b18004100ec2a..."} 
[2026-07-25 18:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":141260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:13:32] local.INFO: GPS data processed {"connection_id":141260,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:13:32] local.INFO: Acknowledgment sent {"connection_id":141260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b2aa0012db4098005ca6b18004100ec2a..."} 
[2026-07-25 18:13:32] local.INFO: Processing buffer {"connection_id":141205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b2aa0012db4098005ca6b18004100ec2a..."} 
[2026-07-25 18:13:32] local.INFO: Packet analysis {"connection_id":141205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:13:32] local.INFO: Extracted packet for processing {"connection_id":141205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":766773632,"raw_latitude":97151768,"longitude_deg":76.6773632,"latitude_deg":9.7151768,"altitude":65,"angle":236,"satellites":42,"speed":30,"hex_longitude":"2db40980","hex_latitude":"05ca6b18","is_valid_coordinates":true} 
[2026-07-25 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955716096001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357998920124596224,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5472295734849187840,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983268000,"timestamp_ms":1784983268000,"timestamp_seconds":1784983268,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b2aa0"} 
[2026-07-25 18:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 18:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955716096001,"66":27745,"73":206,"83":18688,"24":30,"16":357998920124596224,"45":-5472295734849187840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955716096001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357998920124596224,"km_value":357998920124596.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5472295734849187840,"description":"Unknown IO ID 45"} 
[2026-07-25 18:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955716096001,"power":27745,"unknown_73":206,"unknown_83":18688,"ignition":30,"odometer":null,"unknown_45":-5472295734849187840}} 
[2026-07-25 18:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":141205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:13:32] local.INFO: GPS data processed {"connection_id":141205,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:13:32] local.INFO: Acknowledgment sent {"connection_id":141205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:13:50] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b2aa00100000000000000000000000000..."} 
[2026-07-25 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b2aa00100000000000000000000000000..."} 
[2026-07-25 18:13:50] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b2aa00100000000000000000000000000..."} 
[2026-07-25 18:13:50] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:13:50] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:13:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784983268000,"timestamp_ms":1784983268000,"timestamp_seconds":1784983268,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b2aa0"} 
[2026-07-25 18:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 18:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 18:13:50] local.INFO: GPS data processed {"connection_id":143614,"processed":0,"errors":0,"total":1} 
[2026-07-25 18:13:50] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:00] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:00] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:00] local.INFO: IMEI packet received {"connection_id":141261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":141261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:14:03] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994c5768012d19d6400723a2e8003400742a..."} 
[2026-07-25 18:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994c5768012d19d6400723a2e8003400742a..."} 
[2026-07-25 18:14:03] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994c5768012d19d6400723a2e8003400742a..."} 
[2026-07-25 18:14:03] local.INFO: Packet analysis {"connection_id":141260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:14:03] local.INFO: Extracted packet for processing {"connection_id":141260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756667968,"raw_latitude":119775976,"longitude_deg":75.6667968,"latitude_deg":11.9775976,"altitude":52,"angle":116,"satellites":42,"speed":6,"hex_longitude":"2d19d640","hex_latitude":"0723a2e8","is_valid_coordinates":true} 
[2026-07-25 18:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955735296001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818895003582464,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860619995464329216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:03] 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-07-25 18:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983345000,"timestamp_ms":1784983345000,"timestamp_seconds":1784983345,"priority":1,"record_length":96,"hex_timestamp":"0000019f994c5768"} 
[2026-07-25 18:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955735296001,"66":12841,"42":206,"83":42752,"24":6,"16":8818895003582464,"45":1860619995464329216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955735296001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818895003582464,"km_value":8818895003582.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860619995464329216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955735296001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1860619995464329216}} 
[2026-07-25 18:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":141260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:14:03] local.INFO: GPS data processed {"connection_id":141260,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:14:03] local.INFO: Acknowledgment sent {"connection_id":141260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:05] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:05] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:05] local.INFO: IMEI packet received {"connection_id":141261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":141261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:14:06] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b51b0012db3e98005ca5a40003400f228..."} 
[2026-07-25 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b51b0012db3e98005ca5a40003400f228..."} 
[2026-07-25 18:14:06] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b51b0012db3e98005ca5a40003400f228..."} 
[2026-07-25 18:14:06] local.INFO: Packet analysis {"connection_id":141261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:06] local.INFO: Extracted packet for processing {"connection_id":141261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":766765440,"raw_latitude":97147456,"longitude_deg":76.676544,"latitude_deg":9.7147456,"altitude":52,"angle":242,"satellites":40,"speed":40,"hex_longitude":"2db3e980","hex_latitude":"05ca5a40","is_valid_coordinates":true} 
[2026-07-25 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955716608001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357999362506227712,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5473703109732919296,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784983278000,"timestamp_ms":1784983278000,"timestamp_seconds":1784983278,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b51b0"} 
[2026-07-25 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955716608001,"66":27376,"73":206,"83":18688,"24":40,"16":357999362506227712,"45":-5473703109732919296},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955716608001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:14:06] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357999362506227712,"km_value":357999362506227.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5473703109732919296,"description":"Unknown IO ID 45"} 
[2026-07-25 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955716608001,"power":27376,"unknown_73":206,"unknown_83":18688,"ignition":40,"odometer":null,"unknown_45":-5473703109732919296}} 
[2026-07-25 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":141261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:14:06] local.INFO: GPS data processed {"connection_id":141261,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:14:06] local.INFO: Acknowledgment sent {"connection_id":141261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:07] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b74d8012db3c88005ca4998002900f629..."} 
[2026-07-25 18:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b74d8012db3c88005ca4998002900f629..."} 
[2026-07-25 18:14:07] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b74d8012db3c88005ca4998002900f629..."} 
[2026-07-25 18:14:07] local.INFO: Packet analysis {"connection_id":141261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:07] local.INFO: Extracted packet for processing {"connection_id":141261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:07] local.INFO: GPS Element Parsed {"raw_longitude":766756992,"raw_latitude":97143192,"longitude_deg":76.6756992,"latitude_deg":9.7143192,"altitude":41,"angle":246,"satellites":41,"speed":41,"hex_longitude":"2db3c880","hex_latitude":"05ca4998","is_valid_coordinates":true} 
[2026-07-25 18:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955719168001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":357999817772761088,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5482710308988764160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784983287000,"timestamp_ms":1784983287000,"timestamp_seconds":1784983287,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b74d8"} 
[2026-07-25 18:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955719168001,"66":27919,"73":206,"83":18688,"24":41,"16":357999817772761088,"45":-5482710308988764160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955719168001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:14:07] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":357999817772761088,"km_value":357999817772761.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5482710308988764160,"description":"Unknown IO ID 45"} 
[2026-07-25 18:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955719168001,"power":27919,"unknown_73":206,"unknown_83":18688,"ignition":41,"odometer":null,"unknown_45":-5482710308988764160}} 
[2026-07-25 18:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":141261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:14:07] local.INFO: GPS data processed {"connection_id":141261,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:14:07] local.INFO: Acknowledgment sent {"connection_id":141261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:21] local.INFO: TCP Data received {"connection_id":143614,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b7ca80100000000000000000000000000..."} 
[2026-07-25 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b7ca80100000000000000000000000000..."} 
[2026-07-25 18:14:21] local.INFO: Processing buffer {"connection_id":143614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b7ca80100000000000000000000000000..."} 
[2026-07-25 18:14:21] local.INFO: Packet analysis {"connection_id":143614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:21] local.INFO: Extracted packet for processing {"connection_id":143614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 18:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784983289000,"timestamp_ms":1784983289000,"timestamp_seconds":1784983289,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b7ca8"} 
[2026-07-25 18:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":143614,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 18:14:21] local.INFO: GPS data processed {"connection_id":143614,"processed":0,"errors":0,"total":1} 
[2026-07-25 18:14:21] local.INFO: Acknowledgment sent {"connection_id":143614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:31] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:14:31] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:14:31] local.INFO: IMEI packet received {"connection_id":141262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":141262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:14:36] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:14:36] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:14:36] local.INFO: IMEI packet received {"connection_id":141262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":141262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:14:37] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994c5b50012d19d6c00723a2700034008929..."} 
[2026-07-25 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994c5b50012d19d6c00723a2700034008929..."} 
[2026-07-25 18:14:37] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994c5b50012d19d6c00723a2700034008929..."} 
[2026-07-25 18:14:37] local.INFO: Packet analysis {"connection_id":141262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:14:37] local.INFO: Extracted packet for processing {"connection_id":141262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756668096,"raw_latitude":119775856,"longitude_deg":75.6668096,"latitude_deg":11.9775856,"altitude":52,"angle":137,"satellites":41,"speed":6,"hex_longitude":"2d19d6c0","hex_latitude":"0723a270","is_valid_coordinates":true} 
[2026-07-25 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955736320001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818903593517056,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861745895371106304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:37] 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-07-25 18:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784983346000,"timestamp_ms":1784983346000,"timestamp_seconds":1784983346,"priority":1,"record_length":96,"hex_timestamp":"0000019f994c5b50"} 
[2026-07-25 18:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955736320001,"66":12841,"42":206,"83":42752,"24":6,"16":8818903593517056,"45":1861745895371106304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955736320001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:14:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818903593517056,"km_value":8818903593517.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861745895371106304,"description":"Unknown IO ID 45"} 
[2026-07-25 18:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955736320001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1861745895371106304}} 
[2026-07-25 18:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":141262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:14:37] local.INFO: GPS data processed {"connection_id":141262,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:14:37] local.INFO: Acknowledgment sent {"connection_id":141262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:38] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994b8478012db3ba8005ca4180002700ea27..."} 
[2026-07-25 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994b8478012db3ba8005ca4180002700ea27..."} 
[2026-07-25 18:14:38] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994b8478012db3ba8005ca4180002700ea27..."} 
[2026-07-25 18:14:38] local.INFO: Packet analysis {"connection_id":141261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:38] local.INFO: Extracted packet for processing {"connection_id":141261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":766753408,"raw_latitude":97141120,"longitude_deg":76.6753408,"latitude_deg":9.714112,"altitude":39,"angle":234,"satellites":39,"speed":39,"hex_longitude":"2db3ba80","hex_latitude":"05ca4180","is_valid_coordinates":true} 
[2026-07-25 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955721472001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358000015341256704,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5491998983221307392,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784983291000,"timestamp_ms":1784983291000,"timestamp_seconds":1784983291,"priority":1,"record_length":96,"hex_timestamp":"0000019f994b8478"} 
[2026-07-25 18:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955721472001,"66":28006,"73":206,"83":18688,"24":39,"16":358000015341256704,"45":-5491998983221307392},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955721472001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:14:38] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358000015341256704,"km_value":358000015341256.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5491998983221307392,"description":"Unknown IO ID 45"} 
[2026-07-25 18:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955721472001,"power":28006,"unknown_73":206,"unknown_83":18688,"ignition":39,"odometer":null,"unknown_45":-5491998983221307392}} 
[2026-07-25 18:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":141261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:14:38] local.INFO: GPS data processed {"connection_id":141261,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:14:38] local.INFO: Acknowledgment sent {"connection_id":141261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:42] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994c5f38012d19d7000723a1f8003400962a..."} 
[2026-07-25 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994c5f38012d19d7000723a1f8003400962a..."} 
[2026-07-25 18:14:42] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994c5f38012d19d7000723a1f8003400962a..."} 
[2026-07-25 18:14:42] local.INFO: Packet analysis {"connection_id":141262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:14:42] local.INFO: Extracted packet for processing {"connection_id":141262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994c"} 
[2026-07-25 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756668160,"raw_latitude":119775736,"longitude_deg":75.666816,"latitude_deg":11.9775736,"altitude":52,"angle":150,"satellites":42,"speed":6,"hex_longitude":"2d19d700","hex_latitude":"0723a1f8","is_valid_coordinates":true} 
[2026-07-25 18:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955736576001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8818912183451648,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861886632859430912,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:42] 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-07-25 18:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784983347000,"timestamp_ms":1784983347000,"timestamp_seconds":1784983347,"priority":1,"record_length":96,"hex_timestamp":"0000019f994c5f38"} 
[2026-07-25 18:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14: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-07-25 18:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955736576001,"66":12841,"42":206,"83":42752,"24":6,"16":8818912183451648,"45":1861886632859430912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955736576001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:14:42] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8818912183451648,"km_value":8818912183451.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861886632859430912,"description":"Unknown IO ID 45"} 
[2026-07-25 18:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955736576001,"power":12841,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1861886632859430912}} 
[2026-07-25 18:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":141262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:14:42] local.INFO: GPS data processed {"connection_id":141262,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:14:42] local.INFO: Acknowledgment sent {"connection_id":141262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:45] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:45] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:45] local.INFO: IMEI packet received {"connection_id":143619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":143619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:14:45] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:45] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:45] local.INFO: IMEI packet received {"connection_id":143619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":143619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:14:50] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:50] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:14:50] local.INFO: IMEI packet received {"connection_id":143619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":143619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:14:51] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994bceb00100000000000000000000000000..."} 
[2026-07-25 18:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994bceb00100000000000000000000000000..."} 
[2026-07-25 18:14:51] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994bceb00100000000000000000000000000..."} 
[2026-07-25 18:14:51] local.INFO: Packet analysis {"connection_id":143619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14:51] local.INFO: Extracted packet for processing {"connection_id":143619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994b"} 
[2026-07-25 18:14: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-07-25 18:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110318318056898560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,61,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 18:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784983310000,"timestamp_ms":1784983310000,"timestamp_seconds":1784983310,"priority":1,"record_length":96,"hex_timestamp":"0000019f994bceb0"} 
[2026-07-25 18:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263882795188736,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":884763263000,"corrected_to":0} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3355508736,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":239,"raw_value":2814766962638848,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":1873722844869873152,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3991732224,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.WARNING: Large IO value detected {"io_id":69,"raw_value":144119587232588800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:14:51] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,61,85,24,241,157,16,237,159,42,10,66,216,9,1,240,41,227,4,113,205,50,239,2,47,135,69],"length":625,"final_offset":755,"validated_count":27,"validation_warnings":[{"io_id":205,"original":884763263000,"validated":0}]} 
[2026-07-25 18:14:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":143619,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-25 18:14:51] local.INFO: GPS data processed {"connection_id":143619,"processed":0,"errors":0,"total":1} 
[2026-07-25 18:14:51] local.INFO: Acknowledgment sent {"connection_id":143619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:14:55] local.INFO: TCP Data received {"connection_id":142237,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:55] local.INFO: Processing buffer {"connection_id":142237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:55] local.INFO: IMEI packet received {"connection_id":142237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":142237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:14:59] local.INFO: TCP Data received {"connection_id":142237,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:59] local.INFO: Processing buffer {"connection_id":142237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:14:59] local.INFO: IMEI packet received {"connection_id":142237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":142237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:15:00] local.INFO: TCP Data received {"connection_id":142237,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994da370012db2960005c9b6b8003100e82c..."} 
[2026-07-25 18:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994da370012db2960005c9b6b8003100e82c..."} 
[2026-07-25 18:15:00] local.INFO: Processing buffer {"connection_id":142237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994da370012db2960005c9b6b8003100e82c..."} 
[2026-07-25 18:15:00] local.INFO: Packet analysis {"connection_id":142237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:15:00] local.INFO: Extracted packet for processing {"connection_id":142237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":766678528,"raw_latitude":97105592,"longitude_deg":76.6678528,"latitude_deg":9.7105592,"altitude":49,"angle":232,"satellites":44,"speed":15,"hex_longitude":"2db29600","hex_latitude":"05c9b6b8","is_valid_coordinates":true} 
[2026-07-25 18:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955758080001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358004018250776576,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5578271063592749056,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784983430000,"timestamp_ms":1784983430000,"timestamp_seconds":1784983430,"priority":1,"record_length":96,"hex_timestamp":"0000019f994da370"} 
[2026-07-25 18:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:15: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-07-25 18:15: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-07-25 18:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955758080001,"66":27745,"73":206,"83":18688,"24":15,"16":358004018250776576,"45":-5578271063592749056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,45]} 
[2026-07-25 18:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955758080001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:15:00] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-25 18:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358004018250776576,"km_value":358004018250776.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5578271063592749056,"description":"Unknown IO ID 45"} 
[2026-07-25 18:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955758080001,"power":27745,"unknown_73":206,"unknown_83":18688,"ignition":15,"odometer":null,"unknown_45":-5578271063592749056}} 
[2026-07-25 18:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":142237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:15:00] local.INFO: GPS data processed {"connection_id":142237,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:15:00] local.INFO: Acknowledgment sent {"connection_id":142237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:15:23] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994e7660012d7e6fc005dfaaf80008009f08..."} 
[2026-07-25 18:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994e7660012d7e6fc005dfaaf80008009f08..."} 
[2026-07-25 18:15:23] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994e7660012d7e6fc005dfaaf80008009f08..."} 
[2026-07-25 18:15:23] local.INFO: Packet analysis {"connection_id":143619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:15:23] local.INFO: Extracted packet for processing {"connection_id":143619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:15:23] local.INFO: GPS Element Parsed {"raw_longitude":763260864,"raw_latitude":98544376,"longitude_deg":76.3260864,"latitude_deg":9.8544376,"altitude":8,"angle":159,"satellites":8,"speed":28,"hex_longitude":"2d7e6fc0","hex_latitude":"05dfaaf8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955769600001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110319194230226944,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109163590283413504,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784983484000,"timestamp_ms":1784983484000,"timestamp_seconds":1784983484,"priority":1,"record_length":96,"hex_timestamp":"0000019f994e7660"} 
[2026-07-25 18:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 18:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955769600001,"66":12819,"104":206,"85":15104,"24":28,"16":110319194230226944,"45":9109163590283413504},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-25 18:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955769600001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:15:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-25 18:15:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110319194230226944,"km_value":110319194230226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109163590283413504,"description":"Unknown IO ID 45"} 
[2026-07-25 18:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955769600001,"power":12819,"unknown_104":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9109163590283413504}} 
[2026-07-25 18:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":143619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:15:23] local.INFO: GPS data processed {"connection_id":143619,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:15:23] local.INFO: Acknowledgment sent {"connection_id":143619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:15:23] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:23] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:23] local.INFO: IMEI packet received {"connection_id":141263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":141263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:15:26] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:26] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:26] local.INFO: IMEI packet received {"connection_id":141263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":141263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:15:31] local.INFO: TCP Data received {"connection_id":142237,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994dd638012db2830005c9a700003000db2d..."} 
[2026-07-25 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994dd638012db2830005c9a700003000db2d..."} 
[2026-07-25 18:15:31] local.INFO: Processing buffer {"connection_id":142237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994dd638012db2830005c9a700003000db2d..."} 
[2026-07-25 18:15:31] local.INFO: Packet analysis {"connection_id":142237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:15:31] local.INFO: Extracted packet for processing {"connection_id":142237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":766673664,"raw_latitude":97101568,"longitude_deg":76.6673664,"latitude_deg":9.7101568,"altitude":48,"angle":219,"satellites":45,"speed":29,"hex_longitude":"2db28300","hex_latitude":"05c9a700","is_valid_coordinates":true} 
[2026-07-25 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955758080001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358004323193454592,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5578271063592749056,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784983443000,"timestamp_ms":1784983443000,"timestamp_seconds":1784983443,"priority":1,"record_length":96,"hex_timestamp":"0000019f994dd638"} 
[2026-07-25 18:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955758080001,"66":27821,"157":206,"83":18688,"24":29,"16":358004323193454592,"45":-5578271063592749056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,45]} 
[2026-07-25 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955758080001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358004323193454592,"km_value":358004323193454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5578271063592749056,"description":"Unknown IO ID 45"} 
[2026-07-25 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955758080001,"power":27821,"unknown_157":206,"unknown_83":18688,"ignition":29,"odometer":null,"unknown_45":-5578271063592749056}} 
[2026-07-25 18:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":142237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:15:31] local.INFO: GPS data processed {"connection_id":142237,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:15:31] local.INFO: Acknowledgment sent {"connection_id":142237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:15:31] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:31] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:15:31] local.INFO: IMEI packet received {"connection_id":141263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":141263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:15:32] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994dd638012d19d440072399f0003701112b..."} 
[2026-07-25 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994dd638012d19d440072399f0003701112b..."} 
[2026-07-25 18:15:32] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994dd638012d19d440072399f0003701112b..."} 
[2026-07-25 18:15:32] local.INFO: Packet analysis {"connection_id":141263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:15:32] local.INFO: Extracted packet for processing {"connection_id":141263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955756032001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:32] 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-07-25 18:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983443000,"timestamp_ms":1784983443000,"timestamp_seconds":1784983443,"priority":1,"record_length":96,"hex_timestamp":"0000019f994dd638"} 
[2026-07-25 18:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:15: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-07-25 18:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955756032001,"66":12722,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955756032001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:15:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955756032001,"power":12722,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":141263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:15:32] local.INFO: GPS data processed {"connection_id":141263,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:15:32] local.INFO: Acknowledgment sent {"connection_id":141263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:15:54] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994ea928012d7e7c0005df8760000a009e08..."} 
[2026-07-25 18:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994ea928012d7e7c0005df8760000a009e08..."} 
[2026-07-25 18:15:54] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994ea928012d7e7c0005df8760000a009e08..."} 
[2026-07-25 18:15:54] local.INFO: Packet analysis {"connection_id":143619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:15:54] local.INFO: Extracted packet for processing {"connection_id":143619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:15:54] local.INFO: GPS Element Parsed {"raw_longitude":763264000,"raw_latitude":98535264,"longitude_deg":76.3264,"latitude_deg":9.8535264,"altitude":10,"angle":158,"satellites":8,"speed":31,"hex_longitude":"2d7e7c00","hex_latitude":"05df8760","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955771904001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110319662381662208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9110711702653696000,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784983497000,"timestamp_ms":1784983497000,"timestamp_seconds":1784983497,"priority":1,"record_length":96,"hex_timestamp":"0000019f994ea928"} 
[2026-07-25 18:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2571987160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505282951315456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":153,"raw_value":5554855893121630208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":1585530955924570624,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6370624034085470232,"corrected_to":0} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3758161920,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181941946810624,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802136,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":135,"raw_value":3991732224,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775708598783573,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":144119587232967168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:15:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":72057594037927936,"corrected_to":0} 
[2026-07-25 18:15:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,104,85,24,241,157,16,238,159,83,45,64,195,7,8,10,66,71,204,20,1,240,133,227,237,153,4,113,205,186,239,2,50,135,51,59,69,200],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":6370624034085470232,"validated":0},{"io_id":200,"original":72057594037927936,"validated":0}]} 
[2026-07-25 18:15:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576635609013813248,"timestamp_seconds":576635609013813.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955771904001,"66":13091,"104":206,"85":15104,"24":31,"16":110319662381662208,"45":9110711702653696000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-07-25 18:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955771904001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:15:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-25 18:15:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110319662381662208,"km_value":110319662381662.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9110711702653696000,"description":"Unknown IO ID 45"} 
[2026-07-25 18:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955771904001,"power":13091,"unknown_104":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9110711702653696000}} 
[2026-07-25 18:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":143619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:15:54] local.INFO: GPS data processed {"connection_id":143619,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:15:54] local.INFO: Acknowledgment sent {"connection_id":143619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:15:55] local.INFO: TCP Data received {"connection_id":142238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:15:55] local.INFO: Processing buffer {"connection_id":142238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:15:55] local.INFO: IMEI packet received {"connection_id":142238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":142238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:16:00] local.INFO: TCP Data received {"connection_id":142238,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:00] local.INFO: Processing buffer {"connection_id":142238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:00] local.INFO: IMEI packet received {"connection_id":142238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":142238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:16:01] local.INFO: TCP Data received {"connection_id":142238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994dfd48012db26a8005c987f8002600da2a..."} 
[2026-07-25 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994dfd48012db26a8005c987f8002600da2a..."} 
[2026-07-25 18:16:01] local.INFO: Processing buffer {"connection_id":142238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994dfd48012db26a8005c987f8002600da2a..."} 
[2026-07-25 18:16:01] local.INFO: Packet analysis {"connection_id":142238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:16:01] local.INFO: Extracted packet for processing {"connection_id":142238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994d"} 
[2026-07-25 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":766667392,"raw_latitude":97093624,"longitude_deg":76.6667392,"latitude_deg":9.7093624,"altitude":38,"angle":218,"satellites":42,"speed":48,"hex_longitude":"2db26a80","hex_latitude":"05c987f8","is_valid_coordinates":true} 
[2026-07-25 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955761408001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358004808524759040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5583619088151281664,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983453000,"timestamp_ms":1784983453000,"timestamp_seconds":1784983453,"priority":1,"record_length":96,"hex_timestamp":"0000019f994dfd48"} 
[2026-07-25 18:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955761408001,"66":27865,"157":206,"83":18688,"24":48,"16":358004808524759040,"45":-5583619088151281664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,83,24,16,45]} 
[2026-07-25 18:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955761408001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358004808524759040,"km_value":358004808524759.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5583619088151281664,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955761408001,"power":27865,"unknown_157":206,"unknown_83":18688,"ignition":48,"odometer":null,"unknown_45":-5583619088151281664}} 
[2026-07-25 18:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":142238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:01] local.INFO: GPS data processed {"connection_id":142238,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:01] local.INFO: Acknowledgment sent {"connection_id":142238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:03] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994e2840012d19d440072399f0003701112b..."} 
[2026-07-25 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994e2840012d19d440072399f0003701112b..."} 
[2026-07-25 18:16:03] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994e2840012d19d440072399f0003701112b..."} 
[2026-07-25 18:16:03] local.INFO: Packet analysis {"connection_id":141263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:16:03] local.INFO: Extracted packet for processing {"connection_id":141263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955761408001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:03] 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-07-25 18:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983464000,"timestamp_ms":1784983464000,"timestamp_seconds":1784983464,"priority":1,"record_length":96,"hex_timestamp":"0000019f994e2840"} 
[2026-07-25 18:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18: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-07-25 18: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-07-25 18:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955761408001,"66":12722,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955761408001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955761408001,"power":12722,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":141263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:03] local.INFO: GPS data processed {"connection_id":141263,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:03] local.INFO: Acknowledgment sent {"connection_id":141263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:04] local.INFO: TCP Data received {"connection_id":143618,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:16:04] local.INFO: Processing buffer {"connection_id":143618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:16:04] local.INFO: IMEI packet received {"connection_id":143618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":143618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:16:25] local.INFO: TCP Data received {"connection_id":143619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994ed420012d7e874005df6688000a00a308..."} 
[2026-07-25 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994ed420012d7e874005df6688000a00a308..."} 
[2026-07-25 18:16:25] local.INFO: Processing buffer {"connection_id":143619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994ed420012d7e874005df6688000a00a308..."} 
[2026-07-25 18:16:25] local.INFO: Packet analysis {"connection_id":143619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:16:25] local.INFO: Extracted packet for processing {"connection_id":143619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763266880,"raw_latitude":98526856,"longitude_deg":76.326688,"latitude_deg":9.8526856,"altitude":10,"angle":163,"satellites":8,"speed":30,"hex_longitude":"2d7e8740","hex_latitude":"05df6688","is_valid_coordinates":true} 
[2026-07-25 18:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955775232001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110320091878391808,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114159771116068864,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784983508000,"timestamp_ms":1784983508000,"timestamp_seconds":1784983508,"priority":1,"record_length":96,"hex_timestamp":"0000019f994ed420"} 
[2026-07-25 18:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 18:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":143619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":143619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955775232001,"66":13243,"207":206,"85":15104,"24":30,"16":110320091878391808,"45":9114159771116068864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 18:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955775232001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:25] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 18:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110320091878391808,"km_value":110320091878391.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114159771116068864,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955775232001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9114159771116068864}} 
[2026-07-25 18:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":143619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:25] local.INFO: GPS data processed {"connection_id":143619,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:25] local.INFO: Acknowledgment sent {"connection_id":143619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:26] local.INFO: TCP Data received {"connection_id":141264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:26] local.INFO: Processing buffer {"connection_id":141264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:26] local.INFO: IMEI packet received {"connection_id":141264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":141264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:16:27] local.INFO: TCP Data received {"connection_id":141264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:27] local.INFO: Processing buffer {"connection_id":141264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:27] local.INFO: IMEI packet received {"connection_id":141264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":141264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:16:31] local.INFO: TCP Data received {"connection_id":141264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:31] local.INFO: Processing buffer {"connection_id":141264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:16:31] local.INFO: IMEI packet received {"connection_id":141264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":141264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:16:32] local.INFO: TCP Data received {"connection_id":141264,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994e7a48012d19d440072399f0003701112b..."} 
[2026-07-25 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994e7a48012d19d440072399f0003701112b..."} 
[2026-07-25 18:16:32] local.INFO: Processing buffer {"connection_id":141264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994e7a48012d19d440072399f0003701112b..."} 
[2026-07-25 18:16:32] local.INFO: Packet analysis {"connection_id":141264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:16:32] local.INFO: Extracted packet for processing {"connection_id":141264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955766784001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:32] 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-07-25 18:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983485000,"timestamp_ms":1784983485000,"timestamp_seconds":1784983485,"priority":1,"record_length":96,"hex_timestamp":"0000019f994e7a48"} 
[2026-07-25 18:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:16: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-07-25 18:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955766784001,"66":12667,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955766784001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955766784001,"power":12667,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":141264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:32] local.INFO: GPS data processed {"connection_id":141264,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:32] local.INFO: Acknowledgment sent {"connection_id":141264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:32] local.INFO: TCP Data received {"connection_id":142238,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f6890012db1c4c005c8c4b0000f011b2d..."} 
[2026-07-25 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f6890012db1c4c005c8c4b0000f011b2d..."} 
[2026-07-25 18:16:32] local.INFO: Processing buffer {"connection_id":142238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f6890012db1c4c005c8c4b0000f011b2d..."} 
[2026-07-25 18:16:32] local.INFO: Packet analysis {"connection_id":142238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:16:32] local.INFO: Extracted packet for processing {"connection_id":142238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":766624960,"raw_latitude":97043632,"longitude_deg":76.662496,"latitude_deg":9.7043632,"altitude":15,"angle":283,"satellites":45,"speed":13,"hex_longitude":"2db1c4c0","hex_latitude":"05c8c4b0","is_valid_coordinates":true} 
[2026-07-25 18:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955786496001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358008167189184512,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5635199377648427008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983546000,"timestamp_ms":1784983546000,"timestamp_seconds":1784983546,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f6890"} 
[2026-07-25 18:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955786496001,"66":27930,"158":206,"83":18688,"24":13,"16":358008167189184512,"45":-5635199377648427008},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-07-25 18:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955786496001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358008167189184512,"km_value":358008167189184.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5635199377648427008,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955786496001,"power":27930,"unknown_158":206,"unknown_83":18688,"ignition":13,"odometer":null,"unknown_45":-5635199377648427008}} 
[2026-07-25 18:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":142238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:32] local.INFO: GPS data processed {"connection_id":142238,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:32] local.INFO: Acknowledgment sent {"connection_id":142238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:45] local.INFO: TCP Data received {"connection_id":142239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:16:45] local.INFO: Processing buffer {"connection_id":142239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:16:45] local.INFO: IMEI packet received {"connection_id":142239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":142239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:16:49] local.INFO: TCP Data received {"connection_id":142239,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:16:49] local.INFO: Processing buffer {"connection_id":142239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:16:49] local.INFO: IMEI packet received {"connection_id":142239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":142239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:16:49] local.INFO: TCP Data received {"connection_id":142239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f06e8012d7e928005df45b8000a009b08..."} 
[2026-07-25 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f06e8012d7e928005df45b8000a009b08..."} 
[2026-07-25 18:16:49] local.INFO: Processing buffer {"connection_id":142239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f06e8012d7e928005df45b8000a009b08..."} 
[2026-07-25 18:16:49] local.INFO: Packet analysis {"connection_id":142239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:16:49] local.INFO: Extracted packet for processing {"connection_id":142239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":763269760,"raw_latitude":98518456,"longitude_deg":76.326976,"latitude_deg":9.8518456,"altitude":10,"angle":155,"satellites":8,"speed":21,"hex_longitude":"2d7e9280","hex_latitude":"05df45b8","is_valid_coordinates":true} 
[2026-07-25 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955778048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110320521375121408,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117326364601911296,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1784983521000,"timestamp_ms":1784983521000,"timestamp_seconds":1784983521,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f06e8"} 
[2026-07-25 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 18:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":142239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":142239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":142239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955778048001,"66":12906,"207":206,"85":15104,"24":21,"16":110320521375121408,"45":9117326364601911296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955778048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 18:16:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110320521375121408,"km_value":110320521375121.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117326364601911296,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955778048001,"power":12906,"unknown_207":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9117326364601911296}} 
[2026-07-25 18:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":142239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:49] local.INFO: GPS data processed {"connection_id":142239,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:49] local.INFO: Acknowledgment sent {"connection_id":142239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:50] local.INFO: TCP Data received {"connection_id":142239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f5120012d7ea20005df26b8000a00990a..."} 
[2026-07-25 18:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f5120012d7ea20005df26b8000a00990a..."} 
[2026-07-25 18:16:50] local.INFO: Processing buffer {"connection_id":142239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f5120012d7ea20005df26b8000a00990a..."} 
[2026-07-25 18:16:50] local.INFO: Packet analysis {"connection_id":142239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:16:50] local.INFO: Extracted packet for processing {"connection_id":142239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:16:50] local.INFO: GPS Element Parsed {"raw_longitude":763273728,"raw_latitude":98510520,"longitude_deg":76.3273728,"latitude_deg":9.851052,"altitude":10,"angle":153,"satellites":10,"speed":24,"hex_longitude":"2d7ea200","hex_latitude":"05df26b8","is_valid_coordinates":true} 
[2026-07-25 18:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955781376001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110320950871851008,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120492958087755776,"note":"Value kept but may cause issues"} 
[2026-07-25 18:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784983540000,"timestamp_ms":1784983540000,"timestamp_seconds":1784983540,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f5120"} 
[2026-07-25 18:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 18:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955781376001,"66":12917,"207":206,"85":15104,"24":24,"16":110320950871851008,"45":9120492958087755776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 18:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955781376001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:16:50] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 18:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110320950871851008,"km_value":110320950871851.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120492958087755776,"description":"Unknown IO ID 45"} 
[2026-07-25 18:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955781376001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9120492958087755776}} 
[2026-07-25 18:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":142239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:16:50] local.INFO: GPS data processed {"connection_id":142239,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:16:50] local.INFO: Acknowledgment sent {"connection_id":142239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:16:55] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:55] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:55] local.INFO: IMEI packet received {"connection_id":141206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":141206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:16:57] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:57] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:16:57] local.INFO: IMEI packet received {"connection_id":141206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":141206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:17:00] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:00] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:00] local.INFO: IMEI packet received {"connection_id":141206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":141206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:17:01] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f7c18012db1be4005c8c5c0000f010d2b..."} 
[2026-07-25 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f7c18012db1be4005c8c5c0000f010d2b..."} 
[2026-07-25 18:17:01] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f7c18012db1be4005c8c5c0000f010d2b..."} 
[2026-07-25 18:17:01] local.INFO: Packet analysis {"connection_id":141206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:01] local.INFO: Extracted packet for processing {"connection_id":141206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:01] local.INFO: GPS Element Parsed {"raw_longitude":766623296,"raw_latitude":97043904,"longitude_deg":76.6623296,"latitude_deg":9.7043904,"altitude":15,"angle":269,"satellites":43,"speed":13,"hex_longitude":"2db1be40","hex_latitude":"05c8c5c0","is_valid_coordinates":true} 
[2026-07-25 18:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955787776001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358008248793563136,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5637169702485315584,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983551000,"timestamp_ms":1784983551000,"timestamp_seconds":1784983551,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f7c18"} 
[2026-07-25 18:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955787776001,"66":27865,"158":206,"83":18688,"24":13,"16":358008248793563136,"45":-5637169702485315584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-07-25 18:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955787776001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-25 18:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358008248793563136,"km_value":358008248793563.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5637169702485315584,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955787776001,"power":27865,"unknown_158":206,"unknown_83":18688,"ignition":13,"odometer":null,"unknown_45":-5637169702485315584}} 
[2026-07-25 18:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":141206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:01] local.INFO: GPS data processed {"connection_id":141206,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:01] local.INFO: Acknowledgment sent {"connection_id":141206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:03] local.INFO: TCP Data received {"connection_id":141264,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994ecc50012d19d440072399f0003701112b..."} 
[2026-07-25 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994ecc50012d19d440072399f0003701112b..."} 
[2026-07-25 18:17:03] local.INFO: Processing buffer {"connection_id":141264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994ecc50012d19d440072399f0003701112b..."} 
[2026-07-25 18:17:03] local.INFO: Packet analysis {"connection_id":141264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:17:03] local.INFO: Extracted packet for processing {"connection_id":141264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994e"} 
[2026-07-25 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955772160001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:03] 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-07-25 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983506000,"timestamp_ms":1784983506000,"timestamp_seconds":1784983506,"priority":1,"record_length":96,"hex_timestamp":"0000019f994ecc50"} 
[2026-07-25 18:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18: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-07-25 18:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955772160001,"66":12689,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955772160001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955772160001,"power":12689,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":141264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:03] local.INFO: GPS data processed {"connection_id":141264,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:03] local.INFO: Acknowledgment sent {"connection_id":141264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:21] local.INFO: TCP Data received {"connection_id":142239,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f7060012d7ea7c005df19a80008008c0a..."} 
[2026-07-25 18:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f7060012d7ea7c005df19a80008008c0a..."} 
[2026-07-25 18:17:21] local.INFO: Processing buffer {"connection_id":142239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f7060012d7ea7c005df19a80008008c0a..."} 
[2026-07-25 18:17:21] local.INFO: Packet analysis {"connection_id":142239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:21] local.INFO: Extracted packet for processing {"connection_id":142239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:21] local.INFO: GPS Element Parsed {"raw_longitude":763275200,"raw_latitude":98507176,"longitude_deg":76.32752,"latitude_deg":9.8507176,"altitude":8,"angle":140,"satellites":10,"speed":11,"hex_longitude":"2d7ea7c0","hex_latitude":"05df19a8","is_valid_coordinates":true} 
[2026-07-25 18:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955786240001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110321131260477440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124855820224739328,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784983548000,"timestamp_ms":1784983548000,"timestamp_seconds":1784983548,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f7060"} 
[2026-07-25 18:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 18:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955786240001,"66":13254,"207":206,"85":15104,"24":11,"16":110321131260477440,"45":9124855820224739328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 18:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955786240001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:21] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 18:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110321131260477440,"km_value":110321131260477.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124855820224739328,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955786240001,"power":13254,"unknown_207":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9124855820224739328}} 
[2026-07-25 18:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":142239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:21] local.INFO: GPS data processed {"connection_id":142239,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:21] local.INFO: Acknowledgment sent {"connection_id":142239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:26] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:17:26] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:17:26] local.INFO: IMEI packet received {"connection_id":141265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":141265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:17:29] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:17:29] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:17:29] local.INFO: IMEI packet received {"connection_id":141265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":141265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:17:30] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f1e58012d19d440072399f0003701112a..."} 
[2026-07-25 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f1e58012d19d440072399f0003701112a..."} 
[2026-07-25 18:17:30] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f1e58012d19d440072399f0003701112a..."} 
[2026-07-25 18:17:30] local.INFO: Packet analysis {"connection_id":141265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:30] local.INFO: Extracted packet for processing {"connection_id":141265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955777536001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:30] 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-07-25 18:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784983527000,"timestamp_ms":1784983527000,"timestamp_seconds":1784983527,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f1e58"} 
[2026-07-25 18:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":145,"data_length":795,"current_offset":136} 
[2026-07-25 18:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955777536001,"66":12667,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955777536001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:17:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955777536001,"power":12667,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":141265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:30] local.INFO: GPS data processed {"connection_id":141265,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:30] local.INFO: Acknowledgment sent {"connection_id":141265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:33] local.INFO: TCP Data received {"connection_id":141206,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f83e8012db1bb4005c8c580000e01002b..."} 
[2026-07-25 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f83e8012db1bb4005c8c580000e01002b..."} 
[2026-07-25 18:17:33] local.INFO: Processing buffer {"connection_id":141206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f83e8012db1bb4005c8c580000e01002b..."} 
[2026-07-25 18:17:33] local.INFO: Packet analysis {"connection_id":141206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:33] local.INFO: Extracted packet for processing {"connection_id":141206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:33] local.INFO: GPS Element Parsed {"raw_longitude":766622528,"raw_latitude":97043840,"longitude_deg":76.6622528,"latitude_deg":9.704384,"altitude":14,"angle":256,"satellites":43,"speed":17,"hex_longitude":"2db1bb40","hex_latitude":"05c8c580","is_valid_coordinates":true} 
[2026-07-25 18:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955789056001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358008287448268800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5638999289833865216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784983553000,"timestamp_ms":1784983553000,"timestamp_seconds":1784983553,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f83e8"} 
[2026-07-25 18:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:17: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-07-25 18:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955789056001,"66":27930,"158":206,"83":18688,"24":17,"16":358008287448268800,"45":-5638999289833865216},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-07-25 18:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955789056001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-25 18:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358008287448268800,"km_value":358008287448268.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5638999289833865216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955789056001,"power":27930,"unknown_158":206,"unknown_83":18688,"ignition":17,"odometer":null,"unknown_45":-5638999289833865216}} 
[2026-07-25 18:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":141206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:33] local.INFO: GPS data processed {"connection_id":141206,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:33] local.INFO: Acknowledgment sent {"connection_id":141206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:47] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:17:47] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:17:47] local.INFO: IMEI packet received {"connection_id":141266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":141266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:17:50] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:17:50] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:17:50] local.INFO: IMEI packet received {"connection_id":141266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":141266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:17:51] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994faee0012d7ec08005defd80000700900b..."} 
[2026-07-25 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994faee0012d7ec08005defd80000700900b..."} 
[2026-07-25 18:17:51] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994faee0012d7ec08005defd80000700900b..."} 
[2026-07-25 18:17:51] local.INFO: Packet analysis {"connection_id":141266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:51] local.INFO: Extracted packet for processing {"connection_id":141266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":763281536,"raw_latitude":98499968,"longitude_deg":76.3281536,"latitude_deg":9.8499968,"altitude":7,"angle":144,"satellites":11,"speed":30,"hex_longitude":"2d7ec080","hex_latitude":"05defd80","is_valid_coordinates":true} 
[2026-07-25 18:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955788288001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110321595116945408,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126474301339969536,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784983564000,"timestamp_ms":1784983564000,"timestamp_seconds":1784983564,"priority":1,"record_length":96,"hex_timestamp":"0000019f994faee0"} 
[2026-07-25 18:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-25 18:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955788288001,"66":12917,"207":206,"85":15104,"24":30,"16":110321595116945408,"45":9126474301339969536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 18:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955788288001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:51] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 18:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110321595116945408,"km_value":110321595116945.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126474301339969536,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955788288001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9126474301339969536}} 
[2026-07-25 18:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":141266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:51] local.INFO: GPS data processed {"connection_id":141266,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:51] local.INFO: Acknowledgment sent {"connection_id":141266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:55] local.INFO: TCP Data received {"connection_id":141207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:55] local.INFO: Processing buffer {"connection_id":141207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:55] local.INFO: IMEI packet received {"connection_id":141207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:17:55] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f994fca38012d7ecb4005deede80006009e0b..."} 
[2026-07-25 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994fca38012d7ecb4005deede80006009e0b..."} 
[2026-07-25 18:17:55] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994fca38012d7ecb4005deede80006009e0b..."} 
[2026-07-25 18:17:55] local.INFO: Packet analysis {"connection_id":141266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:55] local.INFO: Extracted packet for processing {"connection_id":141266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763284288,"raw_latitude":98495976,"longitude_deg":76.3284288,"latitude_deg":9.8495976,"altitude":6,"angle":158,"satellites":11,"speed":27,"hex_longitude":"2d7ecb40","hex_latitude":"05deede8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955792384001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110321827045179392,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133440807011713024,"note":"Value kept but may cause issues"} 
[2026-07-25 18:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784983571000,"timestamp_ms":1784983571000,"timestamp_seconds":1784983571,"priority":1,"record_length":96,"hex_timestamp":"0000019f994fca38"} 
[2026-07-25 18:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 18:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955792384001,"66":13059,"206":206,"85":15104,"24":27,"16":110321827045179392,"45":9133440807011713024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-25 18:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955792384001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:17:55] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-25 18:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110321827045179392,"km_value":110321827045179.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133440807011713024,"description":"Unknown IO ID 45"} 
[2026-07-25 18:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955792384001,"power":13059,"unknown_206":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9133440807011713024}} 
[2026-07-25 18:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":141266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:17:55] local.INFO: GPS data processed {"connection_id":141266,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:17:55] local.INFO: Acknowledgment sent {"connection_id":141266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:17:57] local.INFO: TCP Data received {"connection_id":141207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:57] local.INFO: Processing buffer {"connection_id":141207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:17:57] local.INFO: IMEI packet received {"connection_id":141207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":141207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:18:00] local.INFO: TCP Data received {"connection_id":141207,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:18:00] local.INFO: Processing buffer {"connection_id":141207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:18:00] local.INFO: IMEI packet received {"connection_id":141207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:18:01] local.INFO: TCP Data received {"connection_id":141207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f8fa0012db1b5c005c8c308000e00f32c..."} 
[2026-07-25 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f8fa0012db1b5c005c8c308000e00f32c..."} 
[2026-07-25 18:18:01] local.INFO: Processing buffer {"connection_id":141207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f8fa0012db1b5c005c8c308000e00f32c..."} 
[2026-07-25 18:18:01] local.INFO: Packet analysis {"connection_id":141207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:18:01] local.INFO: Extracted packet for processing {"connection_id":141207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":766621120,"raw_latitude":97043208,"longitude_deg":76.662112,"latitude_deg":9.7043208,"altitude":14,"angle":243,"satellites":44,"speed":24,"hex_longitude":"2db1b5c0","hex_latitude":"05c8c308","is_valid_coordinates":true} 
[2026-07-25 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955789568001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358008360462712832,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5639843714764013568,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983556000,"timestamp_ms":1784983556000,"timestamp_seconds":1784983556,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f8fa0"} 
[2026-07-25 18:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955789568001,"66":27887,"158":206,"83":18688,"24":24,"16":358008360462712832,"45":-5639843714764013568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,83,24,16,45]} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955789568001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358008360462712832,"km_value":358008360462712.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5639843714764013568,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955789568001,"power":27887,"unknown_158":206,"unknown_83":18688,"ignition":24,"odometer":null,"unknown_45":-5639843714764013568}} 
[2026-07-25 18:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:01] local.INFO: GPS data processed {"connection_id":141207,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:01] local.INFO: Acknowledgment sent {"connection_id":141207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:01] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994f7060012d19d440072399f0003701112b..."} 
[2026-07-25 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994f7060012d19d440072399f0003701112b..."} 
[2026-07-25 18:18:01] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994f7060012d19d440072399f0003701112b..."} 
[2026-07-25 18:18:01] local.INFO: Packet analysis {"connection_id":141265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:18:01] local.INFO: Extracted packet for processing {"connection_id":141265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955782912001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:01] 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-07-25 18:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983548000,"timestamp_ms":1784983548000,"timestamp_seconds":1784983548,"priority":1,"record_length":96,"hex_timestamp":"0000019f994f7060"} 
[2026-07-25 18:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-25 18:18: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-07-25 18:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955782912001,"66":12678,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955782912001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955782912001,"power":12678,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:01] local.INFO: GPS data processed {"connection_id":141265,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:01] local.INFO: Acknowledgment sent {"connection_id":141265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:26] local.INFO: TCP Data received {"connection_id":142240,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:18:26] local.INFO: Processing buffer {"connection_id":142240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:18:26] local.INFO: IMEI packet received {"connection_id":142240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":142240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:18:26] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99516c30012d7f134005ddfd88000e009d0d..."} 
[2026-07-25 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99516c30012d7f134005ddfd88000e009d0d..."} 
[2026-07-25 18:18:26] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99516c30012d7f134005ddfd88000e009d0d..."} 
[2026-07-25 18:18:26] local.INFO: Packet analysis {"connection_id":141266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:26] local.INFO: Extracted packet for processing {"connection_id":141266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763302720,"raw_latitude":98434440,"longitude_deg":76.330272,"latitude_deg":9.843444,"altitude":14,"angle":157,"satellites":13,"speed":12,"hex_longitude":"2d7f1340","hex_latitude":"05ddfd88","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955821056001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110324983846141952,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156521755085338624,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784983678000,"timestamp_ms":1784983678000,"timestamp_seconds":1784983678,"priority":1,"record_length":96,"hex_timestamp":"0000019f99516c30"} 
[2026-07-25 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-07-25 18:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 18:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 18:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955821056001,"66":12939,"205":206,"85":15104,"24":12,"16":110324983846141952,"45":9156521755085338624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-25 18:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955821056001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110324983846141952,"km_value":110324983846141.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156521755085338624,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955821056001,"power":12939,"cell_id":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9156521755085338624}} 
[2026-07-25 18:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":141266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544045,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:26] local.INFO: GPS data processed {"connection_id":141266,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:26] local.INFO: Acknowledgment sent {"connection_id":141266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:31] local.INFO: TCP Data received {"connection_id":142240,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:18:31] local.INFO: Processing buffer {"connection_id":142240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:18:31] local.INFO: IMEI packet received {"connection_id":142240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":142240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:18:32] local.INFO: TCP Data received {"connection_id":141207,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995102b8012db0d90005c85578001600f527..."} 
[2026-07-25 18:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995102b8012db0d90005c85578001600f527..."} 
[2026-07-25 18:18:32] local.INFO: Processing buffer {"connection_id":141207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995102b8012db0d90005c85578001600f527..."} 
[2026-07-25 18:18:32] local.INFO: Packet analysis {"connection_id":141207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:32] local.INFO: Extracted packet for processing {"connection_id":141207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:32] local.INFO: GPS Element Parsed {"raw_longitude":766564608,"raw_latitude":97015160,"longitude_deg":76.6564608,"latitude_deg":9.701516,"altitude":22,"angle":245,"satellites":39,"speed":23,"hex_longitude":"2db0d900","hex_latitude":"05c85578","is_valid_coordinates":true} 
[2026-07-25 18:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955811584001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358011414184460288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5693675804066637824,"note":"Value kept but may cause issues"} 
[2026-07-25 18: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-07-25 18:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983651000,"timestamp_ms":1784983651000,"timestamp_seconds":1784983651,"priority":1,"record_length":96,"hex_timestamp":"0000019f995102b8"} 
[2026-07-25 18:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 18:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955811584001,"66":27908,"102":206,"83":18688,"24":23,"16":358011414184460288,"45":-5693675804066637824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955811584001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358011414184460288,"km_value":358011414184460.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5693675804066637824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955811584001,"power":27908,"unknown_102":206,"unknown_83":18688,"ignition":23,"odometer":null,"unknown_45":-5693675804066637824}} 
[2026-07-25 18:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":141207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:32] local.INFO: GPS data processed {"connection_id":141207,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:32] local.INFO: Acknowledgment sent {"connection_id":141207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:32] local.INFO: TCP Data received {"connection_id":142240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f994fc268012d19d440072399f0003701112a..."} 
[2026-07-25 18:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f994fc268012d19d440072399f0003701112a..."} 
[2026-07-25 18:18:32] local.INFO: Processing buffer {"connection_id":142240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f994fc268012d19d440072399f0003701112a..."} 
[2026-07-25 18:18:32] local.INFO: Packet analysis {"connection_id":142240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:18:32] local.INFO: Extracted packet for processing {"connection_id":142240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f994f"} 
[2026-07-25 18:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955788288001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:32] 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-07-25 18:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983569000,"timestamp_ms":1784983569000,"timestamp_seconds":1784983569,"priority":1,"record_length":96,"hex_timestamp":"0000019f994fc268"} 
[2026-07-25 18:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-25 18:18: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-07-25 18: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-07-25 18:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955788288001,"66":12558,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955788288001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955788288001,"power":12558,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":142240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:32] local.INFO: GPS data processed {"connection_id":142240,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:32] local.INFO: Acknowledgment sent {"connection_id":142240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:49] local.INFO: TCP Data received {"connection_id":141267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:18:49] local.INFO: Processing buffer {"connection_id":141267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:18:49] local.INFO: IMEI packet received {"connection_id":141267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":141267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:18:50] local.INFO: TCP Data received {"connection_id":141267,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141267,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:18:50] local.INFO: Processing buffer {"connection_id":141267,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:18:50] local.INFO: IMEI packet received {"connection_id":141267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":141267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:18:51] local.INFO: TCP Data received {"connection_id":141267,"ip":"42.109.136.1","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f99..."} 
[2026-07-25 18:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141267,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f99..."} 
[2026-07-25 18:18:51] local.INFO: Processing buffer {"connection_id":141267,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f99..."} 
[2026-07-25 18:18:51] local.INFO: IMEI packet received {"connection_id":141267,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":141267,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:18:56] local.INFO: TCP Data received {"connection_id":141267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9951cdd8012d7f344005ddbdb0000c009f0e..."} 
[2026-07-25 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9951cdd8012d7f344005ddbdb0000c009f0e..."} 
[2026-07-25 18:18:56] local.INFO: Processing buffer {"connection_id":141267,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f9951a6c8012d7f224005dddb00000d00930e..."} 
[2026-07-25 18:18:56] local.INFO: Packet analysis {"connection_id":141267,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:56] local.INFO: Extracted packet for processing {"connection_id":141267,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763306560,"raw_latitude":98425600,"longitude_deg":76.330656,"latitude_deg":9.84256,"altitude":13,"angle":147,"satellites":14,"speed":37,"hex_longitude":"2d7f2240","hex_latitude":"05dddb00","is_valid_coordinates":true} 
[2026-07-25 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955821568001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110325451997577216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156732861317744640,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784983693000,"timestamp_ms":1784983693000,"timestamp_seconds":1784983693,"priority":1,"record_length":96,"hex_timestamp":"0000019f9951a6c8"} 
[2026-07-25 18:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 18:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955821568001,"66":12765,"205":206,"85":15104,"24":37,"16":110325451997577216,"45":9156732861317744640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955821568001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110325451997577216,"km_value":110325451997577.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156732861317744640,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955821568001,"power":12765,"cell_id":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9156732861317744640}} 
[2026-07-25 18:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":141267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:56] local.INFO: GPS data processed {"connection_id":141267,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:56] local.INFO: Acknowledgment sent {"connection_id":141267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:56] local.INFO: Packet analysis {"connection_id":141267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:56] local.INFO: Extracted packet for processing {"connection_id":141267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763311168,"raw_latitude":98418096,"longitude_deg":76.3311168,"latitude_deg":9.8418096,"altitude":12,"angle":159,"satellites":14,"speed":38,"hex_longitude":"2d7f3440","hex_latitude":"05ddbdb0","is_valid_coordinates":true} 
[2026-07-25 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955825408001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110325881494306816,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9160954985966141440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784983703000,"timestamp_ms":1784983703000,"timestamp_seconds":1784983703,"priority":1,"record_length":96,"hex_timestamp":"0000019f9951cdd8"} 
[2026-07-25 18:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955825408001,"66":13178,"205":206,"85":15104,"24":38,"16":110325881494306816,"45":9160954985966141440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-25 18:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955825408001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110325881494306816,"km_value":110325881494306.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9160954985966141440,"description":"Unknown IO ID 45"} 
[2026-07-25 18:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955825408001,"power":13178,"cell_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9160954985966141440}} 
[2026-07-25 18:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":141267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:18:57] local.INFO: GPS data processed {"connection_id":141267,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:18:57] local.INFO: Acknowledgment sent {"connection_id":141267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:18:58] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:18:58] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:18:58] local.INFO: IMEI packet received {"connection_id":141208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":141208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:19:00] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:00] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:00] local.INFO: IMEI packet received {"connection_id":141208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":141208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:19:03] local.INFO: TCP Data received {"connection_id":142240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99501470012d19d440072399f0003701112b..."} 
[2026-07-25 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99501470012d19d440072399f0003701112b..."} 
[2026-07-25 18:19:03] local.INFO: Processing buffer {"connection_id":142240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99501470012d19d440072399f0003701112b..."} 
[2026-07-25 18:19:03] local.INFO: Packet analysis {"connection_id":142240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9950"} 
[2026-07-25 18:19:03] local.INFO: Extracted packet for processing {"connection_id":142240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9950"} 
[2026-07-25 18:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955793664001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] 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-07-25 18:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983590000,"timestamp_ms":1784983590000,"timestamp_seconds":1784983590,"priority":1,"record_length":96,"hex_timestamp":"0000019f99501470"} 
[2026-07-25 18:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":14,"data_length":795,"current_offset":136} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2572015160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249861977587292656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2582642743,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5692323070316898304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,177,83,24,241,157,16,84,159,112,45,64,153,55,43,10,66,30,42,204,1,240,145,227,35,4,113,205,40,212,239,49,2,31,7,106,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:19:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963468019149045760,"timestamp_seconds":3963468019149046.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955793664001,"66":12613,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955793664001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955793664001,"power":12613,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":142240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:19:03] local.INFO: GPS data processed {"connection_id":142240,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:19:03] local.INFO: Acknowledgment sent {"connection_id":142240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:19:05] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:05] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:05] local.INFO: IMEI packet received {"connection_id":141208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":141208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:19:06] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99511e10012db0d14005c852100017010126..."} 
[2026-07-25 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99511e10012db0d14005c852100017010126..."} 
[2026-07-25 18:19:06] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99511e10012db0d14005c852100017010126..."} 
[2026-07-25 18:19:06] local.INFO: Packet analysis {"connection_id":141208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:19:06] local.INFO: Extracted packet for processing {"connection_id":141208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":766562624,"raw_latitude":97014288,"longitude_deg":76.6562624,"latitude_deg":9.7014288,"altitude":23,"angle":257,"satellites":38,"speed":9,"hex_longitude":"2db0d140","hex_latitude":"05c85210","is_valid_coordinates":true} 
[2026-07-25 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955814656001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358011521558642688,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5703527428252141568,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784983658000,"timestamp_ms":1784983658000,"timestamp_seconds":1784983658,"priority":1,"record_length":96,"hex_timestamp":"0000019f99511e10"} 
[2026-07-25 18:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955814656001,"66":27919,"102":206,"83":18688,"24":9,"16":358011521558642688,"45":-5703527428252141568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 18:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955814656001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 18:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358011521558642688,"km_value":358011521558642.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5703527428252141568,"description":"Unknown IO ID 45"} 
[2026-07-25 18:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955814656001,"power":27919,"unknown_102":206,"unknown_83":18688,"ignition":9,"odometer":null,"unknown_45":-5703527428252141568}} 
[2026-07-25 18:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":141208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:19:06] local.INFO: GPS data processed {"connection_id":141208,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:19:06] local.INFO: Acknowledgment sent {"connection_id":141208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:19:10] local.INFO: TCP Data received {"connection_id":141208,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995125e0012db0cf0005c85130001800f629..."} 
[2026-07-25 18:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995125e0012db0cf0005c85130001800f629..."} 
[2026-07-25 18:19:10] local.INFO: Processing buffer {"connection_id":141208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995125e0012db0cf0005c85130001800f629..."} 
[2026-07-25 18:19:10] local.INFO: Packet analysis {"connection_id":141208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:19:10] local.INFO: Extracted packet for processing {"connection_id":141208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:19:10] local.INFO: GPS Element Parsed {"raw_longitude":766562048,"raw_latitude":97014064,"longitude_deg":76.6562048,"latitude_deg":9.7014064,"altitude":24,"angle":246,"satellites":41,"speed":14,"hex_longitude":"2db0cf00","hex_latitude":"05c85130","is_valid_coordinates":true} 
[2026-07-25 18:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955816448001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358011551623413760,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5705708859321872384,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784983660000,"timestamp_ms":1784983660000,"timestamp_seconds":1784983660,"priority":1,"record_length":96,"hex_timestamp":"0000019f995125e0"} 
[2026-07-25 18:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955816448001,"66":27865,"102":206,"83":18688,"24":14,"16":358011551623413760,"45":-5705708859321872384},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 18:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955816448001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:19:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 18:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358011551623413760,"km_value":358011551623413.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5705708859321872384,"description":"Unknown IO ID 45"} 
[2026-07-25 18:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955816448001,"power":27865,"unknown_102":206,"unknown_83":18688,"ignition":14,"odometer":null,"unknown_45":-5705708859321872384}} 
[2026-07-25 18:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":141208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:19:10] local.INFO: GPS data processed {"connection_id":141208,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:19:10] local.INFO: Acknowledgment sent {"connection_id":141208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:19:26] local.INFO: TCP Data received {"connection_id":143621,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:19:26] local.INFO: Processing buffer {"connection_id":143621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:19:26] local.INFO: IMEI packet received {"connection_id":143621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":143621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:19:31] local.INFO: TCP Data received {"connection_id":143621,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:19:31] local.INFO: Processing buffer {"connection_id":143621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:19:31] local.INFO: IMEI packet received {"connection_id":143621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":143621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:19:32] local.INFO: TCP Data received {"connection_id":143621,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99506678012d19d440072399f0003701112c..."} 
[2026-07-25 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99506678012d19d440072399f0003701112c..."} 
[2026-07-25 18:19:32] local.INFO: Processing buffer {"connection_id":143621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99506678012d19d440072399f0003701112c..."} 
[2026-07-25 18:19:32] local.INFO: Packet analysis {"connection_id":143621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9950"} 
[2026-07-25 18:19:32] local.INFO: Extracted packet for processing {"connection_id":143621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9950"} 
[2026-07-25 18:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955799040001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:32] 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-07-25 18:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983611000,"timestamp_ms":1784983611000,"timestamp_seconds":1784983611,"priority":1,"record_length":96,"hex_timestamp":"0000019f99506678"} 
[2026-07-25 18:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 18:19: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-07-25 18:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955799040001,"66":12591,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955799040001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:19:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955799040001,"power":12591,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":143621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:19:32] local.INFO: GPS data processed {"connection_id":143621,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:19:32] local.INFO: Acknowledgment sent {"connection_id":143621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:19:37] local.INFO: TCP Data received {"connection_id":141267,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9952ac80012d7f7bc005dcced0000200980e..."} 
[2026-07-25 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9952ac80012d7f7bc005dcced0000200980e..."} 
[2026-07-25 18:19:37] local.INFO: Processing buffer {"connection_id":141267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9952ac80012d7f7bc005dcced0000200980e..."} 
[2026-07-25 18:19:37] local.INFO: Packet analysis {"connection_id":141267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:19:37] local.INFO: Extracted packet for processing {"connection_id":141267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763329472,"raw_latitude":98356944,"longitude_deg":76.3329472,"latitude_deg":9.8356944,"altitude":2,"angle":152,"satellites":14,"speed":38,"hex_longitude":"2d7f7bc0","hex_latitude":"05dcced0","is_valid_coordinates":true} 
[2026-07-25 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955840512001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110329016820432896,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183261877855105024,"note":"Value kept but may cause issues"} 
[2026-07-25 18:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784983760000,"timestamp_ms":1784983760000,"timestamp_seconds":1784983760,"priority":1,"record_length":96,"hex_timestamp":"0000019f9952ac80"} 
[2026-07-25 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 18:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141267,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:19: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-07-25 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955840512001,"66":13091,"205":206,"85":15104,"24":38,"16":110329016820432896,"45":9183261877855105024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-25 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955840512001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110329016820432896,"km_value":110329016820432.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183261877855105024,"description":"Unknown IO ID 45"} 
[2026-07-25 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955840512001,"power":13091,"cell_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9183261877855105024}} 
[2026-07-25 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":141267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:19:37] local.INFO: GPS data processed {"connection_id":141267,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:19:37] local.INFO: Acknowledgment sent {"connection_id":141267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:19:44] local.INFO: TCP Data received {"connection_id":142241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:44] local.INFO: Processing buffer {"connection_id":142241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:44] local.INFO: IMEI packet received {"connection_id":142241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":142241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:19:45] local.INFO: TCP Data received {"connection_id":142241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:45] local.INFO: Processing buffer {"connection_id":142241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:45] local.INFO: IMEI packet received {"connection_id":142241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":142241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:19:45] local.INFO: TCP Data received {"connection_id":142241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:45] local.INFO: Processing buffer {"connection_id":142241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:45] local.INFO: IMEI packet received {"connection_id":142241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":142241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:19:47] local.INFO: TCP Data received {"connection_id":142241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:47] local.INFO: Processing buffer {"connection_id":142241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:19:47] local.INFO: IMEI packet received {"connection_id":142241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":142241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:19:55] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:55] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:19:55] local.INFO: IMEI packet received {"connection_id":141209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":141209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:20:01] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:01] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:01] local.INFO: IMEI packet received {"connection_id":141209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":141209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:20:02] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99516078012db0aec005c84268001500ee2a..."} 
[2026-07-25 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99516078012db0aec005c84268001500ee2a..."} 
[2026-07-25 18:20:02] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99516078012db0aec005c84268001500ee2a..."} 
[2026-07-25 18:20:02] local.INFO: Packet analysis {"connection_id":141209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:20:02] local.INFO: Extracted packet for processing {"connection_id":141209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":766553792,"raw_latitude":97010280,"longitude_deg":76.6553792,"latitude_deg":9.701028,"altitude":21,"angle":238,"satellites":42,"speed":23,"hex_longitude":"2db0aec0","hex_latitude":"05c84268","is_valid_coordinates":true} 
[2026-07-25 18:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955816960001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358011985415110656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5706342178019528704,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784983675000,"timestamp_ms":1784983675000,"timestamp_seconds":1784983675,"priority":1,"record_length":96,"hex_timestamp":"0000019f99516078"} 
[2026-07-25 18:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955816960001,"66":27919,"102":206,"83":18688,"24":23,"16":358011985415110656,"45":-5706342178019528704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955816960001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:20:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 18:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358011985415110656,"km_value":358011985415110.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5706342178019528704,"description":"Unknown IO ID 45"} 
[2026-07-25 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955816960001,"power":27919,"unknown_102":206,"unknown_83":18688,"ignition":23,"odometer":null,"unknown_45":-5706342178019528704}} 
[2026-07-25 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":141209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:20:02] local.INFO: GPS data processed {"connection_id":141209,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:20:02] local.INFO: Acknowledgment sent {"connection_id":141209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:20:03] local.INFO: TCP Data received {"connection_id":143621,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9950b880012d19d440072399f0003701112b..."} 
[2026-07-25 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9950b880012d19d440072399f0003701112b..."} 
[2026-07-25 18:20:03] local.INFO: Processing buffer {"connection_id":143621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9950b880012d19d440072399f0003701112b..."} 
[2026-07-25 18:20:03] local.INFO: Packet analysis {"connection_id":143621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9950"} 
[2026-07-25 18:20:03] local.INFO: Extracted packet for processing {"connection_id":143621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9950"} 
[2026-07-25 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955804416001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:03] 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-07-25 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983632000,"timestamp_ms":1784983632000,"timestamp_seconds":1784983632,"priority":1,"record_length":96,"hex_timestamp":"0000019f9950b880"} 
[2026-07-25 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 18:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955804416001,"66":12558,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955804416001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955804416001,"power":12558,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":143621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:20:03] local.INFO: GPS data processed {"connection_id":143621,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:20:03] local.INFO: Acknowledgment sent {"connection_id":143621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:20:31] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:20:31] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:20:31] local.INFO: IMEI packet received {"connection_id":141268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":141268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:20:33] local.INFO: TCP Data received {"connection_id":141209,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9952fe88012dafc60005c7d060000e00f728..."} 
[2026-07-25 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9952fe88012dafc60005c7d060000e00f728..."} 
[2026-07-25 18:20:33] local.INFO: Processing buffer {"connection_id":141209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9952fe88012dafc60005c7d060000e00f728..."} 
[2026-07-25 18:20:33] local.INFO: Packet analysis {"connection_id":141209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:20:33] local.INFO: Extracted packet for processing {"connection_id":141209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":766494208,"raw_latitude":96981088,"longitude_deg":76.6494208,"latitude_deg":9.6981088,"altitude":14,"angle":247,"satellites":40,"speed":40,"hex_longitude":"2dafc600","hex_latitude":"05c7d060","is_valid_coordinates":true} 
[2026-07-25 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955845376001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358015258180190208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5771011053926418432,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784983781000,"timestamp_ms":1784983781000,"timestamp_seconds":1784983781,"priority":1,"record_length":96,"hex_timestamp":"0000019f9952fe88"} 
[2026-07-25 18:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 18:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955845376001,"66":27887,"100":206,"83":18688,"24":40,"16":358015258180190208,"45":-5771011053926418432},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-07-25 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955845376001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:20:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-25 18:20:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358015258180190208,"km_value":358015258180190.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5771011053926418432,"description":"Unknown IO ID 45"} 
[2026-07-25 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955845376001,"power":27887,"unknown_100":206,"unknown_83":18688,"ignition":40,"odometer":null,"unknown_45":-5771011053926418432}} 
[2026-07-25 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":141209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:20:33] local.INFO: GPS data processed {"connection_id":141209,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:20:33] local.INFO: Acknowledgment sent {"connection_id":141209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:20:36] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:20:36] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:20:36] local.INFO: IMEI packet received {"connection_id":141268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":141268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:20:37] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99510a88012d19d440072399f0003701112c..."} 
[2026-07-25 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99510a88012d19d440072399f0003701112c..."} 
[2026-07-25 18:20:37] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99510a88012d19d440072399f0003701112c..."} 
[2026-07-25 18:20:37] local.INFO: Packet analysis {"connection_id":141268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:20:37] local.INFO: Extracted packet for processing {"connection_id":141268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955809792001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20: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-07-25 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784983653000,"timestamp_ms":1784983653000,"timestamp_seconds":1784983653,"priority":1,"record_length":96,"hex_timestamp":"0000019f99510a88"} 
[2026-07-25 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":14,"data_length":795,"current_offset":136} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2572078160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249861977587292656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2582642743,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5692323070316898304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,177,83,24,241,157,16,84,159,102,45,64,153,55,44,10,66,20,43,194,1,240,14,227,35,4,113,205,30,212,42,239,49,2,31,7,106,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:20:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963468023444013056,"timestamp_seconds":3963468023444013.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955809792001,"66":12580,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955809792001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:20:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955809792001,"power":12580,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":141268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:20:37] local.INFO: GPS data processed {"connection_id":141268,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:20:37] local.INFO: Acknowledgment sent {"connection_id":141268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:20:38] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99515c90012d19d440072399f0003701112b..."} 
[2026-07-25 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99515c90012d19d440072399f0003701112b..."} 
[2026-07-25 18:20:38] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99515c90012d19d440072399f0003701112b..."} 
[2026-07-25 18:20:38] local.INFO: Packet analysis {"connection_id":141268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:20:38] local.INFO: Extracted packet for processing {"connection_id":141268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955815168001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:20:38] 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-07-25 18:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784983674000,"timestamp_ms":1784983674000,"timestamp_seconds":1784983674,"priority":1,"record_length":96,"hex_timestamp":"0000019f99515c90"} 
[2026-07-25 18:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-07-25 18:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955815168001,"66":12558,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955815168001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:20:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955815168001,"power":12558,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":141268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:20:39] local.INFO: GPS data processed {"connection_id":141268,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:20:39] local.INFO: Acknowledgment sent {"connection_id":141268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:20:55] local.INFO: TCP Data received {"connection_id":142242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:55] local.INFO: Processing buffer {"connection_id":142242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:55] local.INFO: IMEI packet received {"connection_id":142242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":142242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:20:56] local.INFO: TCP Data received {"connection_id":142242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:56] local.INFO: Processing buffer {"connection_id":142242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:20:56] local.INFO: IMEI packet received {"connection_id":142242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":142242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:21:00] local.INFO: TCP Data received {"connection_id":142242,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:21:00] local.INFO: Processing buffer {"connection_id":142242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:21:00] local.INFO: IMEI packet received {"connection_id":142242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":142242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:21:02] local.INFO: TCP Data received {"connection_id":142242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995321b0012dafa54005c7bfe0000c00ed2c..."} 
[2026-07-25 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995321b0012dafa54005c7bfe0000c00ed2c..."} 
[2026-07-25 18:21:02] local.INFO: Processing buffer {"connection_id":142242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995321b0012dafa54005c7bfe0000c00ed2c..."} 
[2026-07-25 18:21:02] local.INFO: Packet analysis {"connection_id":142242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:21:02] local.INFO: Extracted packet for processing {"connection_id":142242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":766485824,"raw_latitude":96976864,"longitude_deg":76.6485824,"latitude_deg":9.6976864,"altitude":12,"angle":237,"satellites":44,"speed":42,"hex_longitude":"2dafa540","hex_latitude":"05c7bfe0","is_valid_coordinates":true} 
[2026-07-25 18:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955847936001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358015709151756288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5780933046856294400,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784983790000,"timestamp_ms":1784983790000,"timestamp_seconds":1784983790,"priority":1,"record_length":96,"hex_timestamp":"0000019f995321b0"} 
[2026-07-25 18:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 18:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955847936001,"66":27930,"100":206,"83":18688,"24":42,"16":358015709151756288,"45":-5780933046856294400},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-07-25 18:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955847936001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:21:02] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-25 18:21:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358015709151756288,"km_value":358015709151756.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5780933046856294400,"description":"Unknown IO ID 45"} 
[2026-07-25 18:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955847936001,"power":27930,"unknown_100":206,"unknown_83":18688,"ignition":42,"odometer":null,"unknown_45":-5780933046856294400}} 
[2026-07-25 18:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":142242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:21:02] local.INFO: GPS data processed {"connection_id":142242,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:21:02] local.INFO: Acknowledgment sent {"connection_id":142242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:21:10] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9951ae98012d19d440072399f0003701112d..."} 
[2026-07-25 18:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9951ae98012d19d440072399f0003701112d..."} 
[2026-07-25 18:21:10] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9951ae98012d19d440072399f0003701112d..."} 
[2026-07-25 18:21:10] local.INFO: Packet analysis {"connection_id":141268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:21:10] local.INFO: Extracted packet for processing {"connection_id":141268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9951"} 
[2026-07-25 18:21:10] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955820544001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] 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-07-25 18:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784983695000,"timestamp_ms":1784983695000,"timestamp_seconds":1784983695,"priority":1,"record_length":96,"hex_timestamp":"0000019f9951ae98"} 
[2026-07-25 18:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2572120160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249861977587292656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2582642743,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5692323070316898304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729337913346,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:10] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,177,83,24,241,157,16,84,159,10,45,64,153,55,44,66,184,43,102,1,240,47,227,35,4,113,205,194,212,42,239,49,2,31,7,106,63,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:21:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963468023444013056,"timestamp_seconds":3963468023444013.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955820544001,"66":12548,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955820544001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:21:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:21:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955820544001,"power":12548,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":141268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:21:10] local.INFO: GPS data processed {"connection_id":141268,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:21:10] local.INFO: Acknowledgment sent {"connection_id":141268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:21:26] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:21:26] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:21:26] local.INFO: IMEI packet received {"connection_id":141210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":141210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:21:31] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:21:31] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:21:31] local.INFO: IMEI packet received {"connection_id":141210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":141210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:21:32] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995200a0012d19d440072399f0003701112e..."} 
[2026-07-25 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995200a0012d19d440072399f0003701112e..."} 
[2026-07-25 18:21:32] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995200a0012d19d440072399f0003701112e..."} 
[2026-07-25 18:21:32] local.INFO: Packet analysis {"connection_id":141210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:21:32] local.INFO: Extracted packet for processing {"connection_id":141210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":46,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955825920001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] 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-07-25 18:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983716000,"timestamp_ms":1784983716000,"timestamp_seconds":1784983716,"priority":1,"record_length":96,"hex_timestamp":"0000019f995200a0"} 
[2026-07-25 18:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2572141160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2582642743,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:21:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5692323070316898304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:32] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,177,83,24,241,157,16,84,159,92,45,64,153,55,43,10,66,44,184,1,240,14,227,35,4,113,205,20,212,239,49,2,31,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:21:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963468032033947648,"timestamp_seconds":3963468032033947.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955825920001,"66":12504,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955825920001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:21:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955825920001,"power":12504,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":141210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:21:32] local.INFO: GPS data processed {"connection_id":141210,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:21:32] local.INFO: Acknowledgment sent {"connection_id":141210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:21:33] local.INFO: TCP Data received {"connection_id":142242,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99533150012daf97c005c7b5b8000c00e12c..."} 
[2026-07-25 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99533150012daf97c005c7b5b8000c00e12c..."} 
[2026-07-25 18:21:33] local.INFO: Processing buffer {"connection_id":142242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99533150012daf97c005c7b5b8000c00e12c..."} 
[2026-07-25 18:21:33] local.INFO: Packet analysis {"connection_id":142242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:21:33] local.INFO: Extracted packet for processing {"connection_id":142242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:21:33] local.INFO: GPS Element Parsed {"raw_longitude":766482368,"raw_latitude":96974264,"longitude_deg":76.6482368,"latitude_deg":9.6974264,"altitude":12,"angle":225,"satellites":44,"speed":43,"hex_longitude":"2daf97c0","hex_latitude":"05c7b5b8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955850240001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358015915310186496,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5790151352344649728,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784983794000,"timestamp_ms":1784983794000,"timestamp_seconds":1784983794,"priority":1,"record_length":96,"hex_timestamp":"0000019f99533150"} 
[2026-07-25 18:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955850240001,"66":27713,"100":206,"83":18688,"24":43,"16":358015915310186496,"45":-5790151352344649728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-07-25 18:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955850240001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:21:33] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-25 18:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358015915310186496,"km_value":358015915310186.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5790151352344649728,"description":"Unknown IO ID 45"} 
[2026-07-25 18:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955850240001,"power":27713,"unknown_100":206,"unknown_83":18688,"ignition":43,"odometer":null,"unknown_45":-5790151352344649728}} 
[2026-07-25 18:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":142242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:21:33] local.INFO: GPS data processed {"connection_id":142242,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:21:33] local.INFO: Acknowledgment sent {"connection_id":142242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:21:37] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995252a8012d19d440072399f00037011129..."} 
[2026-07-25 18:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995252a8012d19d440072399f00037011129..."} 
[2026-07-25 18:21:37] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995252a8012d19d440072399f00037011129..."} 
[2026-07-25 18:21:37] local.INFO: Packet analysis {"connection_id":141210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:21:37] local.INFO: Extracted packet for processing {"connection_id":141210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955831296001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:21: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-07-25 18:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784983737000,"timestamp_ms":1784983737000,"timestamp_seconds":1784983737,"priority":1,"record_length":96,"hex_timestamp":"0000019f995252a8"} 
[2026-07-25 18:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 18:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955831296001,"66":12526,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955831296001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:21:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955831296001,"power":12526,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":141210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:21:37] local.INFO: GPS data processed {"connection_id":141210,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:21:37] local.INFO: Acknowledgment sent {"connection_id":141210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:21:39] local.INFO: TCP Data received {"connection_id":143620,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:21:39] local.INFO: Processing buffer {"connection_id":143620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:21:39] local.INFO: IMEI packet received {"connection_id":143620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":143620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:21:55] local.INFO: TCP Data received {"connection_id":141211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:21:55] local.INFO: Processing buffer {"connection_id":141211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:21:55] local.INFO: IMEI packet received {"connection_id":141211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":141211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:22:00] local.INFO: TCP Data received {"connection_id":141211,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:00] local.INFO: Processing buffer {"connection_id":141211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:00] local.INFO: IMEI packet received {"connection_id":141211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":141211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:22:01] local.INFO: TCP Data received {"connection_id":141211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99535478012daf7f0005c799b8000c00de2b..."} 
[2026-07-25 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99535478012daf7f0005c799b8000c00de2b..."} 
[2026-07-25 18:22:01] local.INFO: Processing buffer {"connection_id":141211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99535478012daf7f0005c799b8000c00de2b..."} 
[2026-07-25 18:22:01] local.INFO: Packet analysis {"connection_id":141211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:22:01] local.INFO: Extracted packet for processing {"connection_id":141211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:22:01] local.INFO: GPS Element Parsed {"raw_longitude":766476032,"raw_latitude":96967096,"longitude_deg":76.6476032,"latitude_deg":9.6967096,"altitude":12,"angle":222,"satellites":43,"speed":39,"hex_longitude":"2daf7f00","hex_latitude":"05c799b8","is_valid_coordinates":true} 
[2026-07-25 18:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955851264001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358016379166654464,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5793951264530909184,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983803000,"timestamp_ms":1784983803000,"timestamp_seconds":1784983803,"priority":1,"record_length":96,"hex_timestamp":"0000019f99535478"} 
[2026-07-25 18:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-25 18:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955851264001,"66":27332,"100":206,"83":18688,"24":39,"16":358016379166654464,"45":-5793951264530909184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-07-25 18:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955851264001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:22:01] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-25 18:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358016379166654464,"km_value":358016379166654.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5793951264530909184,"description":"Unknown IO ID 45"} 
[2026-07-25 18:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955851264001,"power":27332,"unknown_100":206,"unknown_83":18688,"ignition":39,"odometer":null,"unknown_45":-5793951264530909184}} 
[2026-07-25 18:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":141211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:22:01] local.INFO: GPS data processed {"connection_id":141211,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:22:01] local.INFO: Acknowledgment sent {"connection_id":141211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:22:08] local.INFO: TCP Data received {"connection_id":141210,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9952a4b0012d19d440072399f0003701112a..."} 
[2026-07-25 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9952a4b0012d19d440072399f0003701112a..."} 
[2026-07-25 18:22:08] local.INFO: Processing buffer {"connection_id":141210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9952a4b0012d19d440072399f0003701112a..."} 
[2026-07-25 18:22:08] local.INFO: Packet analysis {"connection_id":141210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:22:08] local.INFO: Extracted packet for processing {"connection_id":141210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955836672001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:08] 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-07-25 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784983758000,"timestamp_ms":1784983758000,"timestamp_seconds":1784983758,"priority":1,"record_length":96,"hex_timestamp":"0000019f9952a4b0"} 
[2026-07-25 18:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 18:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955836672001,"66":12526,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955836672001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:22:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955836672001,"power":12526,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":141210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:22:08] local.INFO: GPS data processed {"connection_id":141210,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:22:08] local.INFO: Acknowledgment sent {"connection_id":141210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:22:23] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:23] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:23] local.INFO: IMEI packet received {"connection_id":141212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":141212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:22:26] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:26] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:26] local.INFO: IMEI packet received {"connection_id":141212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":141212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:22:31] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:31] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:22:31] local.INFO: IMEI packet received {"connection_id":141212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":141212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:22:32] local.INFO: TCP Data received {"connection_id":141211,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99538b28012daf658005c781d0000b00e22c..."} 
[2026-07-25 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99538b28012daf658005c781d0000b00e22c..."} 
[2026-07-25 18:22:32] local.INFO: Processing buffer {"connection_id":141211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99538b28012daf658005c781d0000b00e22c..."} 
[2026-07-25 18:22:32] local.INFO: Packet analysis {"connection_id":141211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:22:32] local.INFO: Extracted packet for processing {"connection_id":141211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:22:32] local.INFO: GPS Element Parsed {"raw_longitude":766469504,"raw_latitude":96960976,"longitude_deg":76.6469504,"latitude_deg":9.6960976,"altitude":11,"angle":226,"satellites":44,"speed":20,"hex_longitude":"2daf6580","hex_latitude":"05c781d0","is_valid_coordinates":true} 
[2026-07-25 18:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955853568001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358016808663384064,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5800917770206332928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983817000,"timestamp_ms":1784983817000,"timestamp_seconds":1784983817,"priority":1,"record_length":96,"hex_timestamp":"0000019f99538b28"} 
[2026-07-25 18:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:22: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-07-25 18: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 18:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955853568001,"66":27865,"100":206,"83":18688,"24":20,"16":358016808663384064,"45":-5800917770206332928},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,83,24,16,45]} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955853568001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358016808663384064,"km_value":358016808663384.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5800917770206332928,"description":"Unknown IO ID 45"} 
[2026-07-25 18:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955853568001,"power":27865,"unknown_100":206,"unknown_83":18688,"ignition":20,"odometer":null,"unknown_45":-5800917770206332928}} 
[2026-07-25 18:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":141211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:22:32] local.INFO: GPS data processed {"connection_id":141211,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:22:32] local.INFO: Acknowledgment sent {"connection_id":141211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:22:32] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9952f6b8012d19d440072399f0003701112c..."} 
[2026-07-25 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9952f6b8012d19d440072399f0003701112c..."} 
[2026-07-25 18:22:32] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9952f6b8012d19d440072399f0003701112c..."} 
[2026-07-25 18:22:32] local.INFO: Packet analysis {"connection_id":141212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:22:32] local.INFO: Extracted packet for processing {"connection_id":141212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9952"} 
[2026-07-25 18:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955842048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:32] 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-07-25 18:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983779000,"timestamp_ms":1784983779000,"timestamp_seconds":1784983779,"priority":1,"record_length":96,"hex_timestamp":"0000019f9952f6b8"} 
[2026-07-25 18:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":238,"data_length":795,"current_offset":136} 
[2026-07-25 18:22: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-07-25 18:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955842048001,"66":12526,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955842048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955842048001,"power":12526,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":141212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:22:32] local.INFO: GPS data processed {"connection_id":141212,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:22:32] local.INFO: Acknowledgment sent {"connection_id":141212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:22:55] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:55] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:55] local.INFO: IMEI packet received {"connection_id":141269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":141269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:22:59] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:59] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:22:59] local.INFO: IMEI packet received {"connection_id":141269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":141269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:22:59] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9953ba08012daf504005c769d0000c00d62c..."} 
[2026-07-25 18:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9953ba08012daf504005c769d0000c00d62c..."} 
[2026-07-25 18:22:59] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9953ba08012daf504005c769d0000c00d62c..."} 
[2026-07-25 18:22:59] local.INFO: Packet analysis {"connection_id":141269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:22:59] local.INFO: Extracted packet for processing {"connection_id":141269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":766464064,"raw_latitude":96954832,"longitude_deg":76.6464064,"latitude_deg":9.6954832,"altitude":12,"angle":214,"satellites":44,"speed":27,"hex_longitude":"2daf5040","hex_latitude":"05c769d0","is_valid_coordinates":true} 
[2026-07-25 18:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955857152001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358017203800375296,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5808095382114021376,"note":"Value kept but may cause issues"} 
[2026-07-25 18:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784983829000,"timestamp_ms":1784983829000,"timestamp_seconds":1784983829,"priority":1,"record_length":96,"hex_timestamp":"0000019f9953ba08"} 
[2026-07-25 18:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:22: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-07-25 18:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955857152001,"66":27974,"217":206,"83":18688,"24":27,"16":358017203800375296,"45":-5808095382114021376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-25 18:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955857152001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:22:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 18:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358017203800375296,"km_value":358017203800375.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5808095382114021376,"description":"Unknown IO ID 45"} 
[2026-07-25 18:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955857152001,"power":27974,"unknown_217":206,"unknown_83":18688,"ignition":27,"odometer":null,"unknown_45":-5808095382114021376}} 
[2026-07-25 18:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":141269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:22:59] local.INFO: GPS data processed {"connection_id":141269,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:22:59] local.INFO: Acknowledgment sent {"connection_id":141269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:23:03] local.INFO: TCP Data received {"connection_id":141212,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995348c0012d19d440072399f0003701112a..."} 
[2026-07-25 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995348c0012d19d440072399f0003701112a..."} 
[2026-07-25 18:23:03] local.INFO: Processing buffer {"connection_id":141212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995348c0012d19d440072399f0003701112a..."} 
[2026-07-25 18:23:03] local.INFO: Packet analysis {"connection_id":141212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:23:03] local.INFO: Extracted packet for processing {"connection_id":141212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955847424001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:03] 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-07-25 18:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983800000,"timestamp_ms":1784983800000,"timestamp_seconds":1784983800,"priority":1,"record_length":96,"hex_timestamp":"0000019f995348c0"} 
[2026-07-25 18:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 18:23: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-07-25 18:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955847424001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955847424001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:23:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955847424001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":141212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:23:03] local.INFO: GPS data processed {"connection_id":141212,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:23:03] local.INFO: Acknowledgment sent {"connection_id":141212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:23:26] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:26] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:26] local.INFO: IMEI packet received {"connection_id":141270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":141270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:23:27] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:27] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:27] local.INFO: IMEI packet received {"connection_id":141270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":141270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:23:31] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:31] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:23:31] local.INFO: IMEI packet received {"connection_id":141270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":141270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:23:32] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99539ac8012d19d440072399f0003701112a..."} 
[2026-07-25 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99539ac8012d19d440072399f0003701112a..."} 
[2026-07-25 18:23:32] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99539ac8012d19d440072399f0003701112a..."} 
[2026-07-25 18:23:32] local.INFO: Packet analysis {"connection_id":141270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:23:32] local.INFO: Extracted packet for processing {"connection_id":141270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955852800001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:32] 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-07-25 18:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983821000,"timestamp_ms":1784983821000,"timestamp_seconds":1784983821,"priority":1,"record_length":96,"hex_timestamp":"0000019f99539ac8"} 
[2026-07-25 18:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955852800001,"66":12439,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955852800001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:23:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955852800001,"power":12439,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":141270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:23:32] local.INFO: GPS data processed {"connection_id":141270,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:23:32] local.INFO: Acknowledgment sent {"connection_id":141270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:23:34] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99540440012daf3c0005c74d78000c00de2b..."} 
[2026-07-25 18:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99540440012daf3c0005c74d78000c00de2b..."} 
[2026-07-25 18:23:34] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99540440012daf3c0005c74d78000c00de2b..."} 
[2026-07-25 18:23:34] local.INFO: Packet analysis {"connection_id":141269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:23:34] local.INFO: Extracted packet for processing {"connection_id":141269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":766458880,"raw_latitude":96947576,"longitude_deg":76.645888,"latitude_deg":9.6947576,"altitude":12,"angle":222,"satellites":43,"speed":18,"hex_longitude":"2daf3c00","hex_latitude":"05c74d78","is_valid_coordinates":true} 
[2026-07-25 18:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955860224001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358017637592072192,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5814076725370695680,"note":"Value kept but may cause issues"} 
[2026-07-25 18:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784983848000,"timestamp_ms":1784983848000,"timestamp_seconds":1784983848,"priority":1,"record_length":96,"hex_timestamp":"0000019f99540440"} 
[2026-07-25 18:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955860224001,"66":27930,"217":206,"83":18688,"24":18,"16":358017637592072192,"45":-5814076725370695680},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-25 18:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955860224001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:23:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 18:23:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358017637592072192,"km_value":358017637592072.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5814076725370695680,"description":"Unknown IO ID 45"} 
[2026-07-25 18:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955860224001,"power":27930,"unknown_217":206,"unknown_83":18688,"ignition":18,"odometer":null,"unknown_45":-5814076725370695680}} 
[2026-07-25 18:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":141269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:23:34] local.INFO: GPS data processed {"connection_id":141269,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:23:34] local.INFO: Acknowledgment sent {"connection_id":141269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:23:55] local.INFO: TCP Data received {"connection_id":142246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:23:55] local.INFO: Processing buffer {"connection_id":142246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:23:55] local.INFO: IMEI packet received {"connection_id":142246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":142246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:24:00] local.INFO: TCP Data received {"connection_id":142246,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:24:00] local.INFO: Processing buffer {"connection_id":142246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:24:00] local.INFO: IMEI packet received {"connection_id":142246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":142246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:24:01] local.INFO: TCP Data received {"connection_id":142246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99543af0012daf22c005c73868000c00ea2b..."} 
[2026-07-25 18:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99543af0012daf22c005c73868000c00ea2b..."} 
[2026-07-25 18:24:01] local.INFO: Processing buffer {"connection_id":142246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99543af0012daf22c005c73868000c00ea2b..."} 
[2026-07-25 18:24:01] local.INFO: Packet analysis {"connection_id":142246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:24:01] local.INFO: Extracted packet for processing {"connection_id":142246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:24:01] local.INFO: GPS Element Parsed {"raw_longitude":766452416,"raw_latitude":96942184,"longitude_deg":76.6452416,"latitude_deg":9.6942184,"altitude":12,"angle":234,"satellites":43,"speed":30,"hex_longitude":"2daf22c0","hex_latitude":"05c73868","is_valid_coordinates":true} 
[2026-07-25 18:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955865088001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358018045613965312,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5819776593650944000,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983862000,"timestamp_ms":1784983862000,"timestamp_seconds":1784983862,"priority":1,"record_length":96,"hex_timestamp":"0000019f99543af0"} 
[2026-07-25 18:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955865088001,"66":27974,"217":206,"83":18688,"24":30,"16":358018045613965312,"45":-5819776593650944000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-07-25 18:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955865088001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:24:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-25 18:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":18688,"description":"Unknown IO ID 83"} 
[2026-07-25 18:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358018045613965312,"km_value":358018045613965.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5819776593650944000,"description":"Unknown IO ID 45"} 
[2026-07-25 18:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955865088001,"power":27974,"unknown_217":206,"unknown_83":18688,"ignition":30,"odometer":null,"unknown_45":-5819776593650944000}} 
[2026-07-25 18:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":142246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:24:01] local.INFO: GPS data processed {"connection_id":142246,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:24:01] local.INFO: Acknowledgment sent {"connection_id":142246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:24:03] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9953ecd0012d19d440072399f0003701112a..."} 
[2026-07-25 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9953ecd0012d19d440072399f0003701112a..."} 
[2026-07-25 18:24:03] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9953ecd0012d19d440072399f0003701112a..."} 
[2026-07-25 18:24:03] local.INFO: Packet analysis {"connection_id":141270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:24:03] local.INFO: Extracted packet for processing {"connection_id":141270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9953"} 
[2026-07-25 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955858176001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:03] 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-07-25 18:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983842000,"timestamp_ms":1784983842000,"timestamp_seconds":1784983842,"priority":1,"record_length":96,"hex_timestamp":"0000019f9953ecd0"} 
[2026-07-25 18:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 18:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955858176001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955858176001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:24:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955858176001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":141270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:24:03] local.INFO: GPS data processed {"connection_id":141270,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:24:03] local.INFO: Acknowledgment sent {"connection_id":141270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:24:26] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:24:26] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:24:26] local.INFO: IMEI packet received {"connection_id":143623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":143623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:24:29] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:24:29] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:24:29] local.INFO: IMEI packet received {"connection_id":143623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":143623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:24:30] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99543ed8012d19d440072399f0003701112d..."} 
[2026-07-25 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99543ed8012d19d440072399f0003701112d..."} 
[2026-07-25 18:24:30] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99543ed8012d19d440072399f0003701112d..."} 
[2026-07-25 18:24:30] local.INFO: Packet analysis {"connection_id":143623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:24:30] local.INFO: Extracted packet for processing {"connection_id":143623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955863552001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:30] 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-07-25 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784983863000,"timestamp_ms":1784983863000,"timestamp_seconds":1784983863,"priority":1,"record_length":96,"hex_timestamp":"0000019f99543ed8"} 
[2026-07-25 18:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18: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-07-25 18:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955863552001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955863552001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:24:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:24:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955863552001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":143623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:24:30] local.INFO: GPS data processed {"connection_id":143623,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:24:30] local.INFO: Acknowledgment sent {"connection_id":143623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:24:32] local.INFO: TCP Data received {"connection_id":142246,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995680f8012dade9c005c68a98000c00f62a..."} 
[2026-07-25 18:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995680f8012dade9c005c68a98000c00f62a..."} 
[2026-07-25 18:24:32] local.INFO: Processing buffer {"connection_id":142246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995680f8012dade9c005c68a98000c00f62a..."} 
[2026-07-25 18:24:32] local.INFO: Packet analysis {"connection_id":142246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:24:32] local.INFO: Extracted packet for processing {"connection_id":142246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:24:32] local.INFO: GPS Element Parsed {"raw_longitude":766372288,"raw_latitude":96897688,"longitude_deg":76.6372288,"latitude_deg":9.6897688,"altitude":12,"angle":246,"satellites":42,"speed":39,"hex_longitude":"2dade9c0","hex_latitude":"05c68a98","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955905536001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358022447955443712,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5910270798675582976,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984011000,"timestamp_ms":1784984011000,"timestamp_seconds":1784984011,"priority":1,"record_length":96,"hex_timestamp":"0000019f995680f8"} 
[2026-07-25 18:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955905536001,"66":27930,"167":206,"83":16896,"24":39,"16":358022447955443712,"45":-5910270798675582976},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-25 18:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955905536001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:24:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358022447955443712,"km_value":358022447955443.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5910270798675582976,"description":"Unknown IO ID 45"} 
[2026-07-25 18:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955905536001,"power":27930,"unknown_167":206,"unknown_83":16896,"ignition":39,"odometer":null,"unknown_45":-5910270798675582976}} 
[2026-07-25 18:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":142246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:24:32] local.INFO: GPS data processed {"connection_id":142246,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:24:32] local.INFO: Acknowledgment sent {"connection_id":142246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:24:50] local.INFO: TCP Data received {"connection_id":143624,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:24:50] local.INFO: Processing buffer {"connection_id":143624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:24:50] local.INFO: IMEI packet received {"connection_id":143624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":143624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:24:51] local.INFO: TCP Data received {"connection_id":143624,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9956d300012d81c24005da7358000a00500f..."} 
[2026-07-25 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9956d300012d81c24005da7358000a00500f..."} 
[2026-07-25 18:24:51] local.INFO: Processing buffer {"connection_id":143624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9956d300012d81c24005da7358000a00500f..."} 
[2026-07-25 18:24:51] local.INFO: Packet analysis {"connection_id":143624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:24:51] local.INFO: Extracted packet for processing {"connection_id":143624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:24:51] local.INFO: GPS Element Parsed {"raw_longitude":763478592,"raw_latitude":98202456,"longitude_deg":76.3478592,"latitude_deg":9.8202456,"altitude":10,"angle":80,"satellites":15,"speed":32,"hex_longitude":"2d81c240","hex_latitude":"05da7358","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955911680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110341309016834048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098467490799622144,"note":"Value kept but may cause issues"} 
[2026-07-25 18:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984032000,"timestamp_ms":1784984032000,"timestamp_seconds":1784984032,"priority":1,"record_length":96,"hex_timestamp":"0000019f9956d300"} 
[2026-07-25 18:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 18:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955911680001,"66":12765,"71":206,"85":15104,"24":32,"16":110341309016834048,"45":-9098467490799622144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 18:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955911680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:24:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 18:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110341309016834048,"km_value":110341309016834.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098467490799622144,"description":"Unknown IO ID 45"} 
[2026-07-25 18:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955911680001,"power":12765,"unknown_71":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9098467490799622144}} 
[2026-07-25 18:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":143624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:24:51] local.INFO: GPS data processed {"connection_id":143624,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:24:51] local.INFO: Acknowledgment sent {"connection_id":143624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:01] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:01] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:01] local.INFO: IMEI packet received {"connection_id":141214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":141214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:25:01] local.INFO: TCP Data received {"connection_id":143623,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995490e0012d19d440072399f0003701112c..."} 
[2026-07-25 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995490e0012d19d440072399f0003701112c..."} 
[2026-07-25 18:25:01] local.INFO: Processing buffer {"connection_id":143623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995490e0012d19d440072399f0003701112c..."} 
[2026-07-25 18:25:01] local.INFO: Packet analysis {"connection_id":143623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:25:01] local.INFO: Extracted packet for processing {"connection_id":143623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955868928001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:01] 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-07-25 18:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784983884000,"timestamp_ms":1784983884000,"timestamp_seconds":1784983884,"priority":1,"record_length":96,"hex_timestamp":"0000019f995490e0"} 
[2026-07-25 18:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955868928001,"66":12504,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955868928001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955868928001,"power":12504,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":143623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:01] local.INFO: GPS data processed {"connection_id":143623,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:01] local.INFO: Acknowledgment sent {"connection_id":143623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:02] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:02] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:02] local.INFO: IMEI packet received {"connection_id":141214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":141214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:25:02] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9956a420012dadc64005c68010000b010027..."} 
[2026-07-25 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9956a420012dadc64005c68010000b010027..."} 
[2026-07-25 18:25:02] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9956a420012dadc64005c68010000b010027..."} 
[2026-07-25 18:25:02] local.INFO: Packet analysis {"connection_id":141214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:25:02] local.INFO: Extracted packet for processing {"connection_id":141214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":766363200,"raw_latitude":96894992,"longitude_deg":76.63632,"latitude_deg":9.6894992,"altitude":11,"angle":256,"satellites":39,"speed":41,"hex_longitude":"2dadc640","hex_latitude":"05c68010","is_valid_coordinates":true} 
[2026-07-25 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955906816001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358022898927009792,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5914985504536094720,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784984020000,"timestamp_ms":1784984020000,"timestamp_seconds":1784984020,"priority":1,"record_length":96,"hex_timestamp":"0000019f9956a420"} 
[2026-07-25 18:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955906816001,"66":27887,"167":206,"83":16896,"24":41,"16":358022898927009792,"45":-5914985504536094720},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-25 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955906816001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358022898927009792,"km_value":358022898927009.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5914985504536094720,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955906816001,"power":27887,"unknown_167":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-5914985504536094720}} 
[2026-07-25 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":141214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:02] local.INFO: GPS data processed {"connection_id":141214,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:02] local.INFO: Acknowledgment sent {"connection_id":141214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:05] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9956c748012dada00005c676d0000a01002b..."} 
[2026-07-25 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9956c748012dada00005c676d0000a01002b..."} 
[2026-07-25 18:25:05] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9956c748012dada00005c676d0000a01002b..."} 
[2026-07-25 18:25:05] local.INFO: Packet analysis {"connection_id":141214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:25:05] local.INFO: Extracted packet for processing {"connection_id":141214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:25:05] local.INFO: GPS Element Parsed {"raw_longitude":766353408,"raw_latitude":96892624,"longitude_deg":76.6353408,"latitude_deg":9.6892624,"altitude":10,"angle":256,"satellites":43,"speed":44,"hex_longitude":"2dada000","hex_latitude":"05c676d0","is_valid_coordinates":true} 
[2026-07-25 18:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955909120001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358023384258314240,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5924977866210013184,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784984029000,"timestamp_ms":1784984029000,"timestamp_seconds":1784984029,"priority":1,"record_length":96,"hex_timestamp":"0000019f9956c748"} 
[2026-07-25 18:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25: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-07-25 18: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955909120001,"66":27800,"167":206,"83":16896,"24":44,"16":358023384258314240,"45":-5924977866210013184},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-25 18:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955909120001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:25:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358023384258314240,"km_value":358023384258314.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5924977866210013184,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955909120001,"power":27800,"unknown_167":206,"unknown_83":16896,"ignition":44,"odometer":null,"unknown_45":-5924977866210013184}} 
[2026-07-25 18:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":141214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:05] local.INFO: GPS data processed {"connection_id":141214,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:05] local.INFO: Acknowledgment sent {"connection_id":141214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:23] local.INFO: TCP Data received {"connection_id":143624,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9957c530012d823e4005da18c8000e00aa10..."} 
[2026-07-25 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9957c530012d823e4005da18c8000e00aa10..."} 
[2026-07-25 18:25:23] local.INFO: Processing buffer {"connection_id":143624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9957c530012d823e4005da18c8000e00aa10..."} 
[2026-07-25 18:25:23] local.INFO: Packet analysis {"connection_id":143624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:25:23] local.INFO: Extracted packet for processing {"connection_id":143624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:25:23] local.INFO: GPS Element Parsed {"raw_longitude":763510336,"raw_latitude":98179272,"longitude_deg":76.3510336,"latitude_deg":9.8179272,"altitude":14,"angle":170,"satellites":16,"speed":38,"hex_longitude":"2d823e40","hex_latitude":"05da18c8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955925504001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110344027731132416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063353487458590720,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784984094000,"timestamp_ms":1784984094000,"timestamp_seconds":1784984094,"priority":1,"record_length":96,"hex_timestamp":"0000019f9957c530"} 
[2026-07-25 18:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25: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-07-25 18:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":143624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":143624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":143624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955925504001,"66":12798,"71":206,"85":15104,"24":38,"16":110344027731132416,"45":-9063353487458590720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 18:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955925504001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110344027731132416,"km_value":110344027731132.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063353487458590720,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955925504001,"power":12798,"unknown_71":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9063353487458590720}} 
[2026-07-25 18:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":143624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:23] local.INFO: GPS data processed {"connection_id":143624,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:23] local.INFO: Acknowledgment sent {"connection_id":143624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:26] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:25:26] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:25:26] local.INFO: IMEI packet received {"connection_id":141271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":141271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:25:31] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:25:31] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:25:31] local.INFO: IMEI packet received {"connection_id":141271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":141271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:25:32] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9954e2e8012d19d440072399f0003701112b..."} 
[2026-07-25 18:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9954e2e8012d19d440072399f0003701112b..."} 
[2026-07-25 18:25:32] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9954e2e8012d19d440072399f0003701112b..."} 
[2026-07-25 18:25:32] local.INFO: Packet analysis {"connection_id":141271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:25:32] local.INFO: Extracted packet for processing {"connection_id":141271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9954"} 
[2026-07-25 18:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955874304001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:32] 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-07-25 18:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983905000,"timestamp_ms":1784983905000,"timestamp_seconds":1784983905,"priority":1,"record_length":96,"hex_timestamp":"0000019f9954e2e8"} 
[2026-07-25 18:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955874304001,"66":12439,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955874304001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955874304001,"power":12439,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":141271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:32] local.INFO: GPS data processed {"connection_id":141271,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:32] local.INFO: Acknowledgment sent {"connection_id":141271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:37] local.INFO: TCP Data received {"connection_id":141214,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9956ea70012dad7b8005c66df0000900ff2c..."} 
[2026-07-25 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9956ea70012dad7b8005c66df0000900ff2c..."} 
[2026-07-25 18:25:37] local.INFO: Processing buffer {"connection_id":141214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9956ea70012dad7b8005c66df0000900ff2c..."} 
[2026-07-25 18:25:37] local.INFO: Packet analysis {"connection_id":141214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:25:37] local.INFO: Extracted packet for processing {"connection_id":141214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":766344064,"raw_latitude":96890352,"longitude_deg":76.6344064,"latitude_deg":9.6890352,"altitude":9,"angle":255,"satellites":44,"speed":41,"hex_longitude":"2dad7b80","hex_latitude":"05c66df0","is_valid_coordinates":true} 
[2026-07-25 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955911424001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358023843819814912,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5935744284069801984,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784984038000,"timestamp_ms":1784984038000,"timestamp_seconds":1784984038,"priority":1,"record_length":96,"hex_timestamp":"0000019f9956ea70"} 
[2026-07-25 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955911424001,"66":27843,"167":206,"83":16896,"24":41,"16":358023843819814912,"45":-5935744284069801984},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-25 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955911424001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358023843819814912,"km_value":358023843819814.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5935744284069801984,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955911424001,"power":27843,"unknown_167":206,"unknown_83":16896,"ignition":41,"odometer":null,"unknown_45":-5935744284069801984}} 
[2026-07-25 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":141214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:37] local.INFO: GPS data processed {"connection_id":141214,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:37] local.INFO: Acknowledgment sent {"connection_id":141214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:45] local.INFO: TCP Data received {"connection_id":142247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:25:45] local.INFO: Processing buffer {"connection_id":142247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:25:45] local.INFO: IMEI packet received {"connection_id":142247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":142247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:25:50] local.INFO: TCP Data received {"connection_id":142247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:25:50] local.INFO: Processing buffer {"connection_id":142247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:25:50] local.INFO: IMEI packet received {"connection_id":142247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":142247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:25:51] local.INFO: TCP Data received {"connection_id":142247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9957ec40012d82450005d9f408000f00ab10..."} 
[2026-07-25 18:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9957ec40012d82450005d9f408000f00ab10..."} 
[2026-07-25 18:25:51] local.INFO: Processing buffer {"connection_id":142247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9957ec40012d82450005d9f408000f00ab10..."} 
[2026-07-25 18:25:51] local.INFO: Packet analysis {"connection_id":142247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:25:51] local.INFO: Extracted packet for processing {"connection_id":142247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:25:51] local.INFO: GPS Element Parsed {"raw_longitude":763512064,"raw_latitude":98169864,"longitude_deg":76.3512064,"latitude_deg":9.8169864,"altitude":15,"angle":171,"satellites":16,"speed":37,"hex_longitude":"2d824500","hex_latitude":"05d9f408","is_valid_coordinates":true} 
[2026-07-25 18:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955928064001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110344491587600384,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061735006344787968,"note":"Value kept but may cause issues"} 
[2026-07-25 18:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984104000,"timestamp_ms":1784984104000,"timestamp_seconds":1784984104,"priority":1,"record_length":96,"hex_timestamp":"0000019f9957ec40"} 
[2026-07-25 18:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955928064001,"66":12613,"71":206,"85":15104,"24":37,"16":110344491587600384,"45":-9061735006344787968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 18:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955928064001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:25:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 18:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110344491587600384,"km_value":110344491587600.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061735006344787968,"description":"Unknown IO ID 45"} 
[2026-07-25 18:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955928064001,"power":12613,"unknown_71":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9061735006344787968}} 
[2026-07-25 18:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":142247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:25:51] local.INFO: GPS data processed {"connection_id":142247,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:25:51] local.INFO: Acknowledgment sent {"connection_id":142247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:25:52] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:52] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:52] local.INFO: IMEI packet received {"connection_id":143625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":143625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:25:55] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:55] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:25:55] local.INFO: IMEI packet received {"connection_id":143625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":143625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:26:00] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:26:00] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:26:00] local.INFO: IMEI packet received {"connection_id":143625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":143625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:26:02] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99570d98012dad580005c66538000a01002d..."} 
[2026-07-25 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99570d98012dad580005c66538000a01002d..."} 
[2026-07-25 18:26:02] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99570d98012dad580005c66538000a01002d..."} 
[2026-07-25 18:26:02] local.INFO: Packet analysis {"connection_id":143625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:26:02] local.INFO: Extracted packet for processing {"connection_id":143625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":766334976,"raw_latitude":96888120,"longitude_deg":76.6334976,"latitude_deg":9.688812,"altitude":10,"angle":256,"satellites":45,"speed":38,"hex_longitude":"2dad5800","hex_latitude":"05c66538","is_valid_coordinates":true} 
[2026-07-25 18:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955913728001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358024290496413696,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5946018120720322560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784984047000,"timestamp_ms":1784984047000,"timestamp_seconds":1784984047,"priority":1,"record_length":96,"hex_timestamp":"0000019f99570d98"} 
[2026-07-25 18:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955913728001,"66":27865,"167":206,"83":16896,"24":38,"16":358024290496413696,"45":-5946018120720322560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-25 18:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955913728001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:26:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358024290496413696,"km_value":358024290496413.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5946018120720322560,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955913728001,"power":27865,"unknown_167":206,"unknown_83":16896,"ignition":38,"odometer":null,"unknown_45":-5946018120720322560}} 
[2026-07-25 18:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":143625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:02] local.INFO: GPS data processed {"connection_id":143625,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:02] local.INFO: Acknowledgment sent {"connection_id":143625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:04] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995534f0012d19d440072399f0003701112b..."} 
[2026-07-25 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995534f0012d19d440072399f0003701112b..."} 
[2026-07-25 18:26:04] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995534f0012d19d440072399f0003701112b..."} 
[2026-07-25 18:26:04] local.INFO: Packet analysis {"connection_id":141271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9955"} 
[2026-07-25 18:26:04] local.INFO: Extracted packet for processing {"connection_id":141271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9955"} 
[2026-07-25 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955879680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:04] 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-07-25 18:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784983926000,"timestamp_ms":1784983926000,"timestamp_seconds":1784983926,"priority":1,"record_length":96,"hex_timestamp":"0000019f995534f0"} 
[2026-07-25 18:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955879680001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955879680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955879680001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":141271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:04] local.INFO: GPS data processed {"connection_id":141271,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:04] local.INFO: Acknowledgment sent {"connection_id":141271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:05] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995728f0012dad3dc005c66070000a010c2d..."} 
[2026-07-25 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995728f0012dad3dc005c66070000a010c2d..."} 
[2026-07-25 18:26:05] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995728f0012dad3dc005c66070000a010c2d..."} 
[2026-07-25 18:26:05] local.INFO: Packet analysis {"connection_id":143625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:26:05] local.INFO: Extracted packet for processing {"connection_id":143625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":766328256,"raw_latitude":96886896,"longitude_deg":76.6328256,"latitude_deg":9.6886896,"altitude":10,"angle":268,"satellites":45,"speed":39,"hex_longitude":"2dad3dc0","hex_latitude":"05c66070","is_valid_coordinates":true} 
[2026-07-25 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955916032001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358024616913928192,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5956010482394122240,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784984054000,"timestamp_ms":1784984054000,"timestamp_seconds":1784984054,"priority":1,"record_length":96,"hex_timestamp":"0000019f995728f0"} 
[2026-07-25 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26: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-07-25 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955916032001,"66":27876,"167":206,"83":16896,"24":39,"16":358024616913928192,"45":-5956010482394122240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,83,24,16,45]} 
[2026-07-25 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955916032001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358024616913928192,"km_value":358024616913928.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5956010482394122240,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955916032001,"power":27876,"unknown_167":206,"unknown_83":16896,"ignition":39,"odometer":null,"unknown_45":-5956010482394122240}} 
[2026-07-25 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":143625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:05] local.INFO: GPS data processed {"connection_id":143625,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:05] local.INFO: Acknowledgment sent {"connection_id":143625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:22] local.INFO: TCP Data received {"connection_id":142247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99581350012d824a0005d9d778000e009f11..."} 
[2026-07-25 18:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99581350012d824a0005d9d778000e009f11..."} 
[2026-07-25 18:26:22] local.INFO: Processing buffer {"connection_id":142247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99581350012d824a0005d9d778000e009f11..."} 
[2026-07-25 18:26:22] local.INFO: Packet analysis {"connection_id":142247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:26:22] local.INFO: Extracted packet for processing {"connection_id":142247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763513344,"raw_latitude":98162552,"longitude_deg":76.3513344,"latitude_deg":9.8162552,"altitude":14,"angle":159,"satellites":17,"speed":15,"hex_longitude":"2d824a00","hex_latitude":"05d9d778","is_valid_coordinates":true} 
[2026-07-25 18:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955930624001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110344852364853248,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059835050254399488,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784984114000,"timestamp_ms":1784984114000,"timestamp_seconds":1784984114,"priority":1,"record_length":96,"hex_timestamp":"0000019f99581350"} 
[2026-07-25 18:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955930624001,"66":12928,"71":206,"85":15104,"24":15,"16":110344852364853248,"45":-9059835050254399488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 18:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955930624001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 18:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110344852364853248,"km_value":110344852364853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059835050254399488,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955930624001,"power":12928,"unknown_71":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9059835050254399488}} 
[2026-07-25 18:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":142247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:23] local.INFO: GPS data processed {"connection_id":142247,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:23] local.INFO: Acknowledgment sent {"connection_id":142247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:26] local.INFO: TCP Data received {"connection_id":141215,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:26:26] local.INFO: Processing buffer {"connection_id":141215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:26:26] local.INFO: IMEI packet received {"connection_id":141215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":141215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:26:31] local.INFO: TCP Data received {"connection_id":141215,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:26:31] local.INFO: Processing buffer {"connection_id":141215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:26:31] local.INFO: IMEI packet received {"connection_id":141215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":141215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:26:32] local.INFO: TCP Data received {"connection_id":141215,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995586f8012d19d440072399f0003701112c..."} 
[2026-07-25 18:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995586f8012d19d440072399f0003701112c..."} 
[2026-07-25 18:26:32] local.INFO: Processing buffer {"connection_id":141215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995586f8012d19d440072399f0003701112c..."} 
[2026-07-25 18:26:32] local.INFO: Packet analysis {"connection_id":141215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9955"} 
[2026-07-25 18:26:32] local.INFO: Extracted packet for processing {"connection_id":141215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9955"} 
[2026-07-25 18:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955885056001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:32] 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-07-25 18:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784983947000,"timestamp_ms":1784983947000,"timestamp_seconds":1784983947,"priority":1,"record_length":96,"hex_timestamp":"0000019f995586f8"} 
[2026-07-25 18:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955885056001,"66":12428,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955885056001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955885056001,"power":12428,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":141215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:32] local.INFO: GPS data processed {"connection_id":141215,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:32] local.INFO: Acknowledgment sent {"connection_id":141215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:36] local.INFO: TCP Data received {"connection_id":143625,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99575000012dad180005c65f58000c010a2a..."} 
[2026-07-25 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99575000012dad180005c65f58000c010a2a..."} 
[2026-07-25 18:26:36] local.INFO: Processing buffer {"connection_id":143625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99575000012dad180005c65f58000c010a2a..."} 
[2026-07-25 18:26:36] local.INFO: Packet analysis {"connection_id":143625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:26:36] local.INFO: Extracted packet for processing {"connection_id":143625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":766318592,"raw_latitude":96886616,"longitude_deg":76.6318592,"latitude_deg":9.6886616,"altitude":12,"angle":266,"satellites":42,"speed":31,"hex_longitude":"2dad1800","hex_latitude":"05c65f58","is_valid_coordinates":true} 
[2026-07-25 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955917824001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358025080770396160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5963399200533090304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784984064000,"timestamp_ms":1784984064000,"timestamp_seconds":1784984064,"priority":1,"record_length":96,"hex_timestamp":"0000019f99575000"} 
[2026-07-25 18:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26: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-07-25 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955917824001,"66":27767,"165":206,"83":16896,"24":31,"16":358025080770396160,"45":-5963399200533090304},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-07-25 18:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955917824001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 18:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358025080770396160,"km_value":358025080770396.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5963399200533090304,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955917824001,"power":27767,"unknown_165":206,"unknown_83":16896,"ignition":31,"odometer":null,"unknown_45":-5963399200533090304}} 
[2026-07-25 18:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":143625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:36] local.INFO: GPS data processed {"connection_id":143625,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:36] local.INFO: Acknowledgment sent {"connection_id":143625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:46] local.INFO: TCP Data received {"connection_id":142248,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:46] local.INFO: Processing buffer {"connection_id":142248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:46] local.INFO: IMEI packet received {"connection_id":142248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":142248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:26:47] local.INFO: TCP Data received {"connection_id":142248,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:47] local.INFO: Processing buffer {"connection_id":142248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:47] local.INFO: IMEI packet received {"connection_id":142248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":142248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:26:50] local.INFO: TCP Data received {"connection_id":142248,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:50] local.INFO: Processing buffer {"connection_id":142248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:26:50] local.INFO: IMEI packet received {"connection_id":142248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":142248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:26:51] local.INFO: TCP Data received {"connection_id":142248,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99584230012d824ac005d9d380000d00b011..."} 
[2026-07-25 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99584230012d824ac005d9d380000d00b011..."} 
[2026-07-25 18:26:51] local.INFO: Processing buffer {"connection_id":142248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99584230012d824ac005d9d380000d00b011..."} 
[2026-07-25 18:26:51] local.INFO: Packet analysis {"connection_id":142248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:26:51] local.INFO: Extracted packet for processing {"connection_id":142248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:26:51] local.INFO: GPS Element Parsed {"raw_longitude":763513536,"raw_latitude":98161536,"longitude_deg":76.3513536,"latitude_deg":9.8161536,"altitude":13,"angle":176,"satellites":17,"speed":9,"hex_longitude":"2d824ac0","hex_latitude":"05d9d380","is_valid_coordinates":true} 
[2026-07-25 18:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955933184001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110344903904460800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058427675372718080,"note":"Value kept but may cause issues"} 
[2026-07-25 18:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984126000,"timestamp_ms":1784984126000,"timestamp_seconds":1784984126,"priority":1,"record_length":96,"hex_timestamp":"0000019f99584230"} 
[2026-07-25 18:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-25 18:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955933184001,"66":12667,"71":206,"85":15104,"24":9,"16":110344903904460800,"45":-9058427675372718080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 18:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955933184001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:26:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 18:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110344903904460800,"km_value":110344903904460.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058427675372718080,"description":"Unknown IO ID 45"} 
[2026-07-25 18:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955933184001,"power":12667,"unknown_71":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9058427675372718080}} 
[2026-07-25 18:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":142248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:26:51] local.INFO: GPS data processed {"connection_id":142248,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:26:51] local.INFO: Acknowledgment sent {"connection_id":142248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:26:55] local.INFO: TCP Data received {"connection_id":141216,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:26:55] local.INFO: Processing buffer {"connection_id":141216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:26:55] local.INFO: IMEI packet received {"connection_id":141216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":141216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:27:00] local.INFO: TCP Data received {"connection_id":141216,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:00] local.INFO: Processing buffer {"connection_id":141216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:00] local.INFO: IMEI packet received {"connection_id":141216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":141216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:27:01] local.INFO: TCP Data received {"connection_id":141216,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99578a98012dacf44005c65dc8000d010929..."} 
[2026-07-25 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99578a98012dacf44005c65dc8000d010929..."} 
[2026-07-25 18:27:01] local.INFO: Processing buffer {"connection_id":141216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99578a98012dacf44005c65dc8000d010929..."} 
[2026-07-25 18:27:01] local.INFO: Packet analysis {"connection_id":141216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:27:01] local.INFO: Extracted packet for processing {"connection_id":141216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":766309440,"raw_latitude":96886216,"longitude_deg":76.630944,"latitude_deg":9.6886216,"altitude":13,"angle":265,"satellites":41,"speed":18,"hex_longitude":"2dacf440","hex_latitude":"05c65dc8","is_valid_coordinates":true} 
[2026-07-25 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955920384001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358025518857060352,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5974024880903989248,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984079000,"timestamp_ms":1784984079000,"timestamp_seconds":1784984079,"priority":1,"record_length":96,"hex_timestamp":"0000019f99578a98"} 
[2026-07-25 18:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955920384001,"66":27930,"165":206,"83":16896,"24":18,"16":358025518857060352,"45":-5974024880903989248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-07-25 18:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955920384001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 18:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358025518857060352,"km_value":358025518857060.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5974024880903989248,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955920384001,"power":27930,"unknown_165":206,"unknown_83":16896,"ignition":18,"odometer":null,"unknown_45":-5974024880903989248}} 
[2026-07-25 18:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":141216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:01] local.INFO: GPS data processed {"connection_id":141216,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:01] local.INFO: Acknowledgment sent {"connection_id":141216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:03] local.INFO: TCP Data received {"connection_id":141215,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9955d900012d19d440072399f0003701112d..."} 
[2026-07-25 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9955d900012d19d440072399f0003701112d..."} 
[2026-07-25 18:27:03] local.INFO: Processing buffer {"connection_id":141215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9955d900012d19d440072399f0003701112d..."} 
[2026-07-25 18:27:03] local.INFO: Packet analysis {"connection_id":141215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9955"} 
[2026-07-25 18:27:03] local.INFO: Extracted packet for processing {"connection_id":141215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9955"} 
[2026-07-25 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955890432001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:03] 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-07-25 18:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784983968000,"timestamp_ms":1784983968000,"timestamp_seconds":1784983968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9955d900"} 
[2026-07-25 18:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955890432001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955890432001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955890432001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":141215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:03] local.INFO: GPS data processed {"connection_id":141215,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:03] local.INFO: Acknowledgment sent {"connection_id":141215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:14] local.INFO: TCP Data received {"connection_id":142245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:27:14] local.INFO: Processing buffer {"connection_id":142245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:27:14] local.INFO: IMEI packet received {"connection_id":142245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":142245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:27:22] local.INFO: TCP Data received {"connection_id":142248,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9959bd18012d82898005d88b68001300a211..."} 
[2026-07-25 18:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9959bd18012d82898005d88b68001300a211..."} 
[2026-07-25 18:27:22] local.INFO: Processing buffer {"connection_id":142248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9959bd18012d82898005d88b68001300a211..."} 
[2026-07-25 18:27:22] local.INFO: Packet analysis {"connection_id":142248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:27:22] local.INFO: Extracted packet for processing {"connection_id":142248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:27:22] local.INFO: GPS Element Parsed {"raw_longitude":763529600,"raw_latitude":98077544,"longitude_deg":76.35296,"latitude_deg":9.8077544,"altitude":19,"angle":162,"satellites":17,"speed":47,"hex_longitude":"2d828980","hex_latitude":"05d88b68","is_valid_coordinates":true} 
[2026-07-25 18:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955961088001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110349087202607104,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040554014373353472,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784984223000,"timestamp_ms":1784984223000,"timestamp_seconds":1784984223,"priority":1,"record_length":96,"hex_timestamp":"0000019f9959bd18"} 
[2026-07-25 18:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955961088001,"66":13048,"49":206,"85":15104,"24":47,"16":110349087202607104,"45":-9040554014373353472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 18:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955961088001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 18:27:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110349087202607104,"km_value":110349087202607.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040554014373353472,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955961088001,"power":13048,"unknown_49":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9040554014373353472}} 
[2026-07-25 18:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":142248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:22] local.INFO: GPS data processed {"connection_id":142248,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:22] local.INFO: Acknowledgment sent {"connection_id":142248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:31] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:27:31] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:27:31] local.INFO: IMEI packet received {"connection_id":143626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":143626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:27:32] local.INFO: TCP Data received {"connection_id":141216,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9957b1a8012dacdd0005c65ec8000e01162b..."} 
[2026-07-25 18:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9957b1a8012dacdd0005c65ec8000e01162b..."} 
[2026-07-25 18:27:32] local.INFO: Processing buffer {"connection_id":141216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9957b1a8012dacdd0005c65ec8000e01162b..."} 
[2026-07-25 18:27:32] local.INFO: Packet analysis {"connection_id":141216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:27:32] local.INFO: Extracted packet for processing {"connection_id":141216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:27:32] local.INFO: GPS Element Parsed {"raw_longitude":766303488,"raw_latitude":96886472,"longitude_deg":76.6303488,"latitude_deg":9.6886472,"altitude":14,"angle":278,"satellites":43,"speed":27,"hex_longitude":"2dacdd00","hex_latitude":"05c65ec8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955924224001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358025802324901888,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5984087611321497600,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984089000,"timestamp_ms":1784984089000,"timestamp_seconds":1784984089,"priority":1,"record_length":96,"hex_timestamp":"0000019f9957b1a8"} 
[2026-07-25 18:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27: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-07-25 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955924224001,"66":27767,"165":206,"83":16896,"24":27,"16":358025802324901888,"45":-5984087611321497600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-07-25 18:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955924224001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 18:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358025802324901888,"km_value":358025802324901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5984087611321497600,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955924224001,"power":27767,"unknown_165":206,"unknown_83":16896,"ignition":27,"odometer":null,"unknown_45":-5984087611321497600}} 
[2026-07-25 18:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":141216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:32] local.INFO: GPS data processed {"connection_id":141216,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:32] local.INFO: Acknowledgment sent {"connection_id":141216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:36] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:27:36] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:27:36] local.INFO: IMEI packet received {"connection_id":143626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":143626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:27:37] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99562b08012d19d440072399f0003701112c..."} 
[2026-07-25 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99562b08012d19d440072399f0003701112c..."} 
[2026-07-25 18:27:37] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99562b08012d19d440072399f0003701112c..."} 
[2026-07-25 18:27:37] local.INFO: Packet analysis {"connection_id":143626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:27:37] local.INFO: Extracted packet for processing {"connection_id":143626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955895808001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27: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-07-25 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784983989000,"timestamp_ms":1784983989000,"timestamp_seconds":1784983989,"priority":1,"record_length":96,"hex_timestamp":"0000019f99562b08"} 
[2026-07-25 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955895808001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955895808001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955895808001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":143626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:37] local.INFO: GPS data processed {"connection_id":143626,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:37] local.INFO: Acknowledgment sent {"connection_id":143626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:38] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99567d10012d19d440072399f0003701112c..."} 
[2026-07-25 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99567d10012d19d440072399f0003701112c..."} 
[2026-07-25 18:27:38] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99567d10012d19d440072399f0003701112c..."} 
[2026-07-25 18:27:38] local.INFO: Packet analysis {"connection_id":143626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:27:38] local.INFO: Extracted packet for processing {"connection_id":143626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955901184001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:38] 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-07-25 18:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784984010000,"timestamp_ms":1784984010000,"timestamp_seconds":1784984010,"priority":1,"record_length":96,"hex_timestamp":"0000019f99567d10"} 
[2026-07-25 18:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955901184001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955901184001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955901184001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":143626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:38] local.INFO: GPS data processed {"connection_id":143626,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:38] local.INFO: Acknowledgment sent {"connection_id":143626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:45] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:27:45] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:27:45] local.INFO: IMEI packet received {"connection_id":141272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":141272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:27:50] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:27:50] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:27:50] local.INFO: IMEI packet received {"connection_id":141272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":141272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:27:51] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9959d870012d8297c005d86a10001100a211..."} 
[2026-07-25 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9959d870012d8297c005d86a10001100a211..."} 
[2026-07-25 18:27:51] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9959d870012d8297c005d86a10001100a211..."} 
[2026-07-25 18:27:51] local.INFO: Packet analysis {"connection_id":141272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:27:51] local.INFO: Extracted packet for processing {"connection_id":141272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:27:51] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":98069008,"longitude_deg":76.3533248,"latitude_deg":9.8069008,"altitude":17,"angle":162,"satellites":17,"speed":54,"hex_longitude":"2d8297c0","hex_latitude":"05d86a10","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955961088001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110349533879205888,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040554014373353472,"note":"Value kept but may cause issues"} 
[2026-07-25 18:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984230000,"timestamp_ms":1784984230000,"timestamp_seconds":1784984230,"priority":1,"record_length":96,"hex_timestamp":"0000019f9959d870"} 
[2026-07-25 18:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 18:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955961088001,"66":12722,"49":206,"85":15104,"24":54,"16":110349533879205888,"45":-9040554014373353472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 18:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955961088001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:27:51] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 18:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110349533879205888,"km_value":110349533879205.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040554014373353472,"description":"Unknown IO ID 45"} 
[2026-07-25 18:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955961088001,"power":12722,"unknown_49":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-9040554014373353472}} 
[2026-07-25 18:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":141272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:27:51] local.INFO: GPS data processed {"connection_id":141272,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:27:51] local.INFO: Acknowledgment sent {"connection_id":141272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:27:55] local.INFO: TCP Data received {"connection_id":142249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:55] local.INFO: Processing buffer {"connection_id":142249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:55] local.INFO: IMEI packet received {"connection_id":142249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":142249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:27:56] local.INFO: TCP Data received {"connection_id":142249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:56] local.INFO: Processing buffer {"connection_id":142249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:27:56] local.INFO: IMEI packet received {"connection_id":142249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":142249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:28:00] local.INFO: TCP Data received {"connection_id":142249,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:28:00] local.INFO: Processing buffer {"connection_id":142249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:28:00] local.INFO: IMEI packet received {"connection_id":142249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":142249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:28:01] local.INFO: TCP Data received {"connection_id":142249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9957e470012dacb9c005c66580000f01212d..."} 
[2026-07-25 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9957e470012dacb9c005c66580000f01212d..."} 
[2026-07-25 18:28:01] local.INFO: Processing buffer {"connection_id":142249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9957e470012dacb9c005c66580000f01212d..."} 
[2026-07-25 18:28:01] local.INFO: Packet analysis {"connection_id":142249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:28:01] local.INFO: Extracted packet for processing {"connection_id":142249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":766294464,"raw_latitude":96888192,"longitude_deg":76.6294464,"latitude_deg":9.6888192,"altitude":15,"angle":289,"satellites":45,"speed":26,"hex_longitude":"2dacb9c0","hex_latitude":"05c66580","is_valid_coordinates":true} 
[2026-07-25 18:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955926784001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358026244706533376,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5990631904529954816,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984102000,"timestamp_ms":1784984102000,"timestamp_seconds":1784984102,"priority":1,"record_length":96,"hex_timestamp":"0000019f9957e470"} 
[2026-07-25 18:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 18:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955926784001,"66":27919,"165":206,"83":16896,"24":26,"16":358026244706533376,"45":-5990631904529954816},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,45]} 
[2026-07-25 18:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955926784001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-25 18:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358026244706533376,"km_value":358026244706533.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5990631904529954816,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955926784001,"power":27919,"unknown_165":206,"unknown_83":16896,"ignition":26,"odometer":null,"unknown_45":-5990631904529954816}} 
[2026-07-25 18:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":142249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:01] local.INFO: GPS data processed {"connection_id":142249,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:01] local.INFO: Acknowledgment sent {"connection_id":142249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:10] local.INFO: TCP Data received {"connection_id":143626,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9956cf18012d19d440072399f0003701112b..."} 
[2026-07-25 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9956cf18012d19d440072399f0003701112b..."} 
[2026-07-25 18:28:10] local.INFO: Processing buffer {"connection_id":143626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9956cf18012d19d440072399f0003701112b..."} 
[2026-07-25 18:28:10] local.INFO: Packet analysis {"connection_id":143626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:28:10] local.INFO: Extracted packet for processing {"connection_id":143626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9956"} 
[2026-07-25 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955906560001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:10] 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-07-25 18:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784984031000,"timestamp_ms":1784984031000,"timestamp_seconds":1784984031,"priority":1,"record_length":96,"hex_timestamp":"0000019f9956cf18"} 
[2026-07-25 18:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955906560001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955906560001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:10] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955906560001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":143626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:10] local.INFO: GPS data processed {"connection_id":143626,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:10] local.INFO: Acknowledgment sent {"connection_id":143626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:22] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9959ff80012d829f4005d847a80012009e11..."} 
[2026-07-25 18:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9959ff80012d829f4005d847a80012009e11..."} 
[2026-07-25 18:28:22] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9959ff80012d829f4005d847a80012009e11..."} 
[2026-07-25 18:28:22] local.INFO: Packet analysis {"connection_id":141272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:28:22] local.INFO: Extracted packet for processing {"connection_id":141272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:28:22] local.INFO: GPS Element Parsed {"raw_longitude":763535168,"raw_latitude":98060200,"longitude_deg":76.3535168,"latitude_deg":9.80602,"altitude":18,"angle":158,"satellites":17,"speed":15,"hex_longitude":"2d829f40","hex_latitude":"05d847a8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955962880001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110349971965870080,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542995957411840,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784984240000,"timestamp_ms":1784984240000,"timestamp_seconds":1784984240,"priority":1,"record_length":96,"hex_timestamp":"0000019f9959ff80"} 
[2026-07-25 18:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955962880001,"66":12526,"49":206,"85":15104,"24":15,"16":110349971965870080,"45":-9036542995957411840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-25 18:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955962880001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:22] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-25 18:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110349971965870080,"km_value":110349971965870.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542995957411840,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955962880001,"power":12526,"unknown_49":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9036542995957411840}} 
[2026-07-25 18:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":141272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:22] local.INFO: GPS data processed {"connection_id":141272,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:22] local.INFO: Acknowledgment sent {"connection_id":141272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:26] local.INFO: TCP Data received {"connection_id":141217,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:28:26] local.INFO: Processing buffer {"connection_id":141217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:28:26] local.INFO: IMEI packet received {"connection_id":141217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":141217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:28:31] local.INFO: TCP Data received {"connection_id":141217,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:28:31] local.INFO: Processing buffer {"connection_id":141217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:28:31] local.INFO: IMEI packet received {"connection_id":141217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":141217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:28:32] local.INFO: TCP Data received {"connection_id":142249,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a68f8012dab1cc005c652d0001201072b..."} 
[2026-07-25 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a68f8012dab1cc005c652d0001201072b..."} 
[2026-07-25 18:28:32] local.INFO: Processing buffer {"connection_id":142249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a68f8012dab1cc005c652d0001201072b..."} 
[2026-07-25 18:28:32] local.INFO: Packet analysis {"connection_id":142249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:28:32] local.INFO: Extracted packet for processing {"connection_id":142249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":766188736,"raw_latitude":96883408,"longitude_deg":76.6188736,"latitude_deg":9.6883408,"altitude":18,"angle":263,"satellites":43,"speed":55,"hex_longitude":"2dab1cc0","hex_latitude":"05c652d0","is_valid_coordinates":true} 
[2026-07-25 18:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955970816001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358031574760947712,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6107725494842583040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984267000,"timestamp_ms":1784984267000,"timestamp_seconds":1784984267,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a68f8"} 
[2026-07-25 18:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 18:28: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-07-25 18:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955970816001,"66":27865,"93":206,"83":16896,"24":55,"16":358031574760947712,"45":-6107725494842583040},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,45]} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955970816001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358031574760947712,"km_value":358031574760947.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6107725494842583040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955970816001,"power":27865,"unknown_93":206,"unknown_83":16896,"ignition":55,"odometer":null,"unknown_45":-6107725494842583040}} 
[2026-07-25 18:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":142249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:32] local.INFO: GPS data processed {"connection_id":142249,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:32] local.INFO: Acknowledgment sent {"connection_id":142249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:32] local.INFO: TCP Data received {"connection_id":141217,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99572120012d19d440072399f0003701112b..."} 
[2026-07-25 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99572120012d19d440072399f0003701112b..."} 
[2026-07-25 18:28:32] local.INFO: Processing buffer {"connection_id":141217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99572120012d19d440072399f0003701112b..."} 
[2026-07-25 18:28:32] local.INFO: Packet analysis {"connection_id":141217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:28:32] local.INFO: Extracted packet for processing {"connection_id":141217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955911936001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:32] 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-07-25 18:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984052000,"timestamp_ms":1784984052000,"timestamp_seconds":1784984052,"priority":1,"record_length":96,"hex_timestamp":"0000019f99572120"} 
[2026-07-25 18:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955911936001,"66":12406,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955911936001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955911936001,"power":12406,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":141217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:32] local.INFO: GPS data processed {"connection_id":141217,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:32] local.INFO: Acknowledgment sent {"connection_id":141217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:36] local.INFO: TCP Data received {"connection_id":141217,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99577328012d19d440072399f00037011129..."} 
[2026-07-25 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99577328012d19d440072399f00037011129..."} 
[2026-07-25 18:28:36] local.INFO: Processing buffer {"connection_id":141217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99577328012d19d440072399f00037011129..."} 
[2026-07-25 18:28:36] local.INFO: Packet analysis {"connection_id":141217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:28:36] local.INFO: Extracted packet for processing {"connection_id":141217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955917312001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:36] 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-07-25 18:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784984073000,"timestamp_ms":1784984073000,"timestamp_seconds":1784984073,"priority":1,"record_length":96,"hex_timestamp":"0000019f99577328"} 
[2026-07-25 18:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 18:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955917312001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955917312001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955917312001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":141217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:37] local.INFO: GPS data processed {"connection_id":141217,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:37] local.INFO: Acknowledgment sent {"connection_id":141217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:45] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:28:45] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:28:45] local.INFO: IMEI packet received {"connection_id":141273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":141273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:28:50] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:28:50] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:28:50] local.INFO: IMEI packet received {"connection_id":141273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":141273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:28:51] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a3630012d829e8005d84758001000d00f..."} 
[2026-07-25 18:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a3630012d829e8005d84758001000d00f..."} 
[2026-07-25 18:28:51] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a3630012d829e8005d84758001000d00f..."} 
[2026-07-25 18:28:51] local.INFO: Packet analysis {"connection_id":141273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:28:51] local.INFO: Extracted packet for processing {"connection_id":141273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:28:51] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98060120,"longitude_deg":76.3534976,"latitude_deg":9.806012,"altitude":16,"angle":208,"satellites":15,"speed":5,"hex_longitude":"2d829e80","hex_latitude":"05d84758","is_valid_coordinates":true} 
[2026-07-25 18:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955965440001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110349993440706560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933634336768,"note":"Value kept but may cause issues"} 
[2026-07-25 18:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984254000,"timestamp_ms":1784984254000,"timestamp_seconds":1784984254,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a3630"} 
[2026-07-25 18:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 18:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955965440001,"66":13124,"47":206,"85":15104,"24":5,"16":110349993440706560,"45":-9034431933634336768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955965440001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110349993440706560,"km_value":110349993440706.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933634336768,"description":"Unknown IO ID 45"} 
[2026-07-25 18:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955965440001,"power":13124,"unknown_47":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9034431933634336768}} 
[2026-07-25 18:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":141273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:28:51] local.INFO: GPS data processed {"connection_id":141273,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:28:51] local.INFO: Acknowledgment sent {"connection_id":141273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:28:55] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:28:55] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:28:55] local.INFO: IMEI packet received {"connection_id":141218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":141218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:29:00] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:00] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:00] local.INFO: IMEI packet received {"connection_id":141218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":141218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:29:00] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:00] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:00] local.INFO: IMEI packet received {"connection_id":141218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":141218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:29:01] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a70c8012dab120005c65040001000fa2a..."} 
[2026-07-25 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a70c8012dab120005c65040001000fa2a..."} 
[2026-07-25 18:29:01] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a70c8012dab120005c65040001000fa2a..."} 
[2026-07-25 18:29:01] local.INFO: Packet analysis {"connection_id":141218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:01] local.INFO: Extracted packet for processing {"connection_id":141218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":766185984,"raw_latitude":96882752,"longitude_deg":76.6185984,"latitude_deg":9.6882752,"altitude":16,"angle":250,"satellites":42,"speed":55,"hex_longitude":"2dab1200","hex_latitude":"05c65040","is_valid_coordinates":true} 
[2026-07-25 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955972352001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358031707904933888,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6116803062841290752,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984269000,"timestamp_ms":1784984269000,"timestamp_seconds":1784984269,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a70c8"} 
[2026-07-25 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955972352001,"66":27919,"93":206,"83":16896,"24":55,"16":358031707904933888,"45":-6116803062841290752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,45]} 
[2026-07-25 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955972352001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358031707904933888,"km_value":358031707904933.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6116803062841290752,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955972352001,"power":27919,"unknown_93":206,"unknown_83":16896,"ignition":55,"odometer":null,"unknown_45":-6116803062841290752}} 
[2026-07-25 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":141218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:01] local.INFO: GPS data processed {"connection_id":141218,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:01] local.INFO: Acknowledgment sent {"connection_id":141218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:29:05] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a8068012daafe0005c64618000e00ec2a..."} 
[2026-07-25 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a8068012daafe0005c64618000e00ec2a..."} 
[2026-07-25 18:29:05] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a8068012daafe0005c64618000e00ec2a..."} 
[2026-07-25 18:29:05] local.INFO: Packet analysis {"connection_id":141218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:05] local.INFO: Extracted packet for processing {"connection_id":141218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":766180864,"raw_latitude":96880152,"longitude_deg":76.6180864,"latitude_deg":9.6880152,"altitude":14,"angle":236,"satellites":42,"speed":53,"hex_longitude":"2daafe00","hex_latitude":"05c64618","is_valid_coordinates":true} 
[2026-07-25 18:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955972864001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358031982782840832,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6119828918841098240,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784984273000,"timestamp_ms":1784984273000,"timestamp_seconds":1784984273,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a8068"} 
[2026-07-25 18:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955972864001,"66":27832,"93":206,"83":16896,"24":53,"16":358031982782840832,"45":-6119828918841098240},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,45]} 
[2026-07-25 18:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955972864001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 18:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358031982782840832,"km_value":358031982782840.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6119828918841098240,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955972864001,"power":27832,"unknown_93":206,"unknown_83":16896,"ignition":53,"odometer":null,"unknown_45":-6119828918841098240}} 
[2026-07-25 18:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":141218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:05] local.INFO: GPS data processed {"connection_id":141218,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:05] local.INFO: Acknowledgment sent {"connection_id":141218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:29:08] local.INFO: TCP Data received {"connection_id":141217,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9957c530012d19d440072399f0003701112c..."} 
[2026-07-25 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9957c530012d19d440072399f0003701112c..."} 
[2026-07-25 18:29:08] local.INFO: Processing buffer {"connection_id":141217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9957c530012d19d440072399f0003701112c..."} 
[2026-07-25 18:29:08] local.INFO: Packet analysis {"connection_id":141217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:29:08] local.INFO: Extracted packet for processing {"connection_id":141217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9957"} 
[2026-07-25 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955922688001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:08] 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-07-25 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784984094000,"timestamp_ms":1784984094000,"timestamp_seconds":1784984094,"priority":1,"record_length":96,"hex_timestamp":"0000019f9957c530"} 
[2026-07-25 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955922688001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955922688001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:29:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955922688001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":141217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:08] local.INFO: GPS data processed {"connection_id":141217,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:08] local.INFO: Acknowledgment sent {"connection_id":141217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:29:21] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a3a18012d829e8005d84710001000ba11..."} 
[2026-07-25 18:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a3a18012d829e8005d84710001000ba11..."} 
[2026-07-25 18:29:21] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a3a18012d829e8005d84710001000ba11..."} 
[2026-07-25 18:29:21] local.INFO: Packet analysis {"connection_id":141273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:21] local.INFO: Extracted packet for processing {"connection_id":141273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:21] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98060048,"longitude_deg":76.3534976,"latitude_deg":9.8060048,"altitude":16,"angle":186,"satellites":17,"speed":9,"hex_longitude":"2d829e80","hex_latitude":"05d84710","is_valid_coordinates":true} 
[2026-07-25 18:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955969024001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110349997735673856,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039866890240,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784984255000,"timestamp_ms":1784984255000,"timestamp_seconds":1784984255,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a3a18"} 
[2026-07-25 18:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955969024001,"66":13124,"47":206,"85":15104,"24":9,"16":110349997735673856,"45":-9034643039866890240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955969024001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:21] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110349997735673856,"km_value":110349997735673.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039866890240,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955969024001,"power":13124,"unknown_47":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9034643039866890240}} 
[2026-07-25 18:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":141273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:21] local.INFO: GPS data processed {"connection_id":141273,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:21] local.INFO: Acknowledgment sent {"connection_id":141273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:29:23] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:23] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:23] local.INFO: IMEI packet received {"connection_id":141275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":141275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:29:26] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:26] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:26] local.INFO: IMEI packet received {"connection_id":141275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":141275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:29:31] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:31] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:29:31] local.INFO: IMEI packet received {"connection_id":141275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":141275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:29:32] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99581738012d19d440072399f0003701112a..."} 
[2026-07-25 18:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99581738012d19d440072399f0003701112a..."} 
[2026-07-25 18:29:32] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99581738012d19d440072399f0003701112a..."} 
[2026-07-25 18:29:32] local.INFO: Packet analysis {"connection_id":141275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:29:32] local.INFO: Extracted packet for processing {"connection_id":141275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955928064001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:32] 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-07-25 18:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984115000,"timestamp_ms":1784984115000,"timestamp_seconds":1784984115,"priority":1,"record_length":96,"hex_timestamp":"0000019f99581738"} 
[2026-07-25 18:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955928064001,"66":12439,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955928064001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955928064001,"power":12439,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":141275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:32] local.INFO: GPS data processed {"connection_id":141275,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:32] local.INFO: Acknowledgment sent {"connection_id":141275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:29:36] local.INFO: TCP Data received {"connection_id":141218,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a9bc0012daade8005c63000000f00eb2b..."} 
[2026-07-25 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a9bc0012daade8005c63000000f00eb2b..."} 
[2026-07-25 18:29:36] local.INFO: Processing buffer {"connection_id":141218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a9bc0012daade8005c63000000f00eb2b..."} 
[2026-07-25 18:29:36] local.INFO: Packet analysis {"connection_id":141218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:36] local.INFO: Extracted packet for processing {"connection_id":141218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:36] local.INFO: GPS Element Parsed {"raw_longitude":766172800,"raw_latitude":96874496,"longitude_deg":76.61728,"latitude_deg":9.6874496,"altitude":15,"angle":235,"satellites":43,"speed":56,"hex_longitude":"2daade80","hex_latitude":"05c63000","is_valid_coordinates":true} 
[2026-07-25 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955973888001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358032459524210688,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6125458418375976960,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784984280000,"timestamp_ms":1784984280000,"timestamp_seconds":1784984280,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a9bc0"} 
[2026-07-25 18:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29: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-07-25 18:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955973888001,"66":27919,"93":206,"83":16896,"24":56,"16":358032459524210688,"45":-6125458418375976960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,45]} 
[2026-07-25 18:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955973888001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:36] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 18:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358032459524210688,"km_value":358032459524210.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6125458418375976960,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955973888001,"power":27919,"unknown_93":206,"unknown_83":16896,"ignition":56,"odometer":null,"unknown_45":-6125458418375976960}} 
[2026-07-25 18:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":141218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:36] local.INFO: GPS data processed {"connection_id":141218,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:36] local.INFO: Acknowledgment sent {"connection_id":141218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:29:46] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:46] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:46] local.INFO: IMEI packet received {"connection_id":141219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":141219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:29:50] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:50] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:50] local.INFO: IMEI packet received {"connection_id":141219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":141219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:29:55] local.INFO: TCP Data received {"connection_id":143627,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:55] local.INFO: Processing buffer {"connection_id":143627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:29:55] local.INFO: IMEI packet received {"connection_id":143627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":143627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:29:55] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:55] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:29:55] local.INFO: IMEI packet received {"connection_id":141219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:29:56] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a41e8012d829f0005d84478001000aa11..."} 
[2026-07-25 18:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a41e8012d829f0005d84478001000aa11..."} 
[2026-07-25 18:29:56] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a41e8012d829f0005d84478001000aa11..."} 
[2026-07-25 18:29:56] local.INFO: Packet analysis {"connection_id":141219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:56] local.INFO: Extracted packet for processing {"connection_id":141219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98059384,"longitude_deg":76.3535104,"latitude_deg":9.8059384,"altitude":16,"angle":170,"satellites":17,"speed":15,"hex_longitude":"2d829f00","hex_latitude":"05d84478","is_valid_coordinates":true} 
[2026-07-25 18:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955969280001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110350027800444928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039866908672,"note":"Value kept but may cause issues"} 
[2026-07-25 18:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784984257000,"timestamp_ms":1784984257000,"timestamp_seconds":1784984257,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a41e8"} 
[2026-07-25 18:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 18:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955969280001,"66":12743,"47":206,"85":15104,"24":15,"16":110350027800444928,"45":-9034643039866908672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955969280001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:29:56] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110350027800444928,"km_value":110350027800444.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039866908672,"description":"Unknown IO ID 45"} 
[2026-07-25 18:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955969280001,"power":12743,"unknown_47":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9034643039866908672}} 
[2026-07-25 18:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":141219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:29:56] local.INFO: GPS data processed {"connection_id":141219,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:29:56] local.INFO: Acknowledgment sent {"connection_id":141219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:00] local.INFO: TCP Data received {"connection_id":143627,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:30:00] local.INFO: Processing buffer {"connection_id":143627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:30:00] local.INFO: IMEI packet received {"connection_id":143627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":143627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:30:01] local.INFO: TCP Data received {"connection_id":143627,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995aab60012daacac005c62538000f00f62c..."} 
[2026-07-25 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995aab60012daacac005c62538000f00f62c..."} 
[2026-07-25 18:30:01] local.INFO: Processing buffer {"connection_id":143627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995aab60012daacac005c62538000f00f62c..."} 
[2026-07-25 18:30:01] local.INFO: Packet analysis {"connection_id":143627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:01] local.INFO: Extracted packet for processing {"connection_id":143627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":766167744,"raw_latitude":96871736,"longitude_deg":76.6167744,"latitude_deg":9.6871736,"altitude":15,"angle":246,"satellites":44,"speed":55,"hex_longitude":"2daacac0","hex_latitude":"05c62538","is_valid_coordinates":true} 
[2026-07-25 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955975680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358032734402117632,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6134324880143810560,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984284000,"timestamp_ms":1784984284000,"timestamp_seconds":1784984284,"priority":1,"record_length":96,"hex_timestamp":"0000019f995aab60"} 
[2026-07-25 18:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955975680001,"66":27908,"93":206,"83":16896,"24":55,"16":358032734402117632,"45":-6134324880143810560},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,45]} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955975680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358032734402117632,"km_value":358032734402117.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6134324880143810560,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955975680001,"power":27908,"unknown_93":206,"unknown_83":16896,"ignition":55,"odometer":null,"unknown_45":-6134324880143810560}} 
[2026-07-25 18:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":143627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:01] local.INFO: GPS data processed {"connection_id":143627,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:01] local.INFO: Acknowledgment sent {"connection_id":143627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:01] local.INFO: TCP Data received {"connection_id":141219,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a49b8012d829f8005d842080011009c11..."} 
[2026-07-25 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a49b8012d829f8005d842080011009c11..."} 
[2026-07-25 18:30:01] local.INFO: Processing buffer {"connection_id":141219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a49b8012d829f8005d842080011009c11..."} 
[2026-07-25 18:30:01] local.INFO: Packet analysis {"connection_id":141219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:01] local.INFO: Extracted packet for processing {"connection_id":141219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":98058760,"longitude_deg":76.3535232,"latitude_deg":9.805876,"altitude":17,"angle":156,"satellites":17,"speed":10,"hex_longitude":"2d829f80","hex_latitude":"05d84208","is_valid_coordinates":true} 
[2026-07-25 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955969792001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110350062160183296,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034502302378723328,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984259000,"timestamp_ms":1784984259000,"timestamp_seconds":1784984259,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a49b8"} 
[2026-07-25 18:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 18:30: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-07-25 18:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:30: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-07-25 18:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955969792001,"66":12765,"47":206,"85":15104,"24":10,"16":110350062160183296,"45":-9034502302378723328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955969792001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110350062160183296,"km_value":110350062160183.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034502302378723328,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955969792001,"power":12765,"unknown_47":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9034502302378723328}} 
[2026-07-25 18:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":141219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:01] local.INFO: GPS data processed {"connection_id":141219,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:01] local.INFO: Acknowledgment sent {"connection_id":141219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:03] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99586940012d19d440072399f00037011129..."} 
[2026-07-25 18:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99586940012d19d440072399f00037011129..."} 
[2026-07-25 18:30:03] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99586940012d19d440072399f00037011129..."} 
[2026-07-25 18:30:03] local.INFO: Packet analysis {"connection_id":141275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:30:03] local.INFO: Extracted packet for processing {"connection_id":141275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955933440001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:03] 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-07-25 18:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984136000,"timestamp_ms":1784984136000,"timestamp_seconds":1784984136,"priority":1,"record_length":96,"hex_timestamp":"0000019f99586940"} 
[2026-07-25 18:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 18:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955933440001,"66":12428,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955933440001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955933440001,"power":12428,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":141275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:03] local.INFO: GPS data processed {"connection_id":141275,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:03] local.INFO: Acknowledgment sent {"connection_id":141275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:26] local.INFO: TCP Data received {"connection_id":142250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:26] local.INFO: Processing buffer {"connection_id":142250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:26] local.INFO: IMEI packet received {"connection_id":142250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":142250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:30:27] local.INFO: TCP Data received {"connection_id":142250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:27] local.INFO: Processing buffer {"connection_id":142250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:27] local.INFO: IMEI packet received {"connection_id":142250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":142250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:30:31] local.INFO: TCP Data received {"connection_id":142250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:31] local.INFO: Processing buffer {"connection_id":142250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:30:31] local.INFO: IMEI packet received {"connection_id":142250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":142250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:30:32] local.INFO: TCP Data received {"connection_id":142250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9958bb48012d19d440072399f0003701112a..."} 
[2026-07-25 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9958bb48012d19d440072399f0003701112a..."} 
[2026-07-25 18:30:32] local.INFO: Processing buffer {"connection_id":142250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9958bb48012d19d440072399f0003701112a..."} 
[2026-07-25 18:30:32] local.INFO: Packet analysis {"connection_id":142250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:30:32] local.INFO: Extracted packet for processing {"connection_id":142250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9958"} 
[2026-07-25 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955938816001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:32] 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-07-25 18:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984157000,"timestamp_ms":1784984157000,"timestamp_seconds":1784984157,"priority":1,"record_length":96,"hex_timestamp":"0000019f9958bb48"} 
[2026-07-25 18:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 18:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955938816001,"66":12461,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955938816001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955938816001,"power":12461,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":142250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:32] local.INFO: GPS data processed {"connection_id":142250,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:32] local.INFO: Acknowledgment sent {"connection_id":142250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:33] local.INFO: TCP Data received {"connection_id":143627,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995acaa0012daaa74005c61630000d00f72d..."} 
[2026-07-25 18:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995acaa0012daaa74005c61630000d00f72d..."} 
[2026-07-25 18:30:33] local.INFO: Processing buffer {"connection_id":143627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995acaa0012daaa74005c61630000d00f72d..."} 
[2026-07-25 18:30:33] local.INFO: Packet analysis {"connection_id":143627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:33] local.INFO: Extracted packet for processing {"connection_id":143627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:33] local.INFO: GPS Element Parsed {"raw_longitude":766158656,"raw_latitude":96867888,"longitude_deg":76.6158656,"latitude_deg":9.6867888,"altitude":13,"angle":247,"satellites":45,"speed":44,"hex_longitude":"2daaa740","hex_latitude":"05c61630","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955976704001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358033206848520192,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6139884010934552576,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784984292000,"timestamp_ms":1784984292000,"timestamp_seconds":1784984292,"priority":1,"record_length":96,"hex_timestamp":"0000019f995acaa0"} 
[2026-07-25 18:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955976704001,"66":27919,"93":206,"83":16896,"24":44,"16":358033206848520192,"45":-6139884010934552576},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,83,24,16,45]} 
[2026-07-25 18:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955976704001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-25 18:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358033206848520192,"km_value":358033206848520.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6139884010934552576,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955976704001,"power":27919,"unknown_93":206,"unknown_83":16896,"ignition":44,"odometer":null,"unknown_45":-6139884010934552576}} 
[2026-07-25 18:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":143627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:33] local.INFO: GPS data processed {"connection_id":143627,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:33] local.INFO: Acknowledgment sent {"connection_id":143627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:45] local.INFO: TCP Data received {"connection_id":142251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:30:45] local.INFO: Processing buffer {"connection_id":142251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:30:45] local.INFO: IMEI packet received {"connection_id":142251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":142251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:30:49] local.INFO: TCP Data received {"connection_id":142251,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:30:49] local.INFO: Processing buffer {"connection_id":142251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:30:49] local.INFO: IMEI packet received {"connection_id":142251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":142251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:30:50] local.INFO: TCP Data received {"connection_id":142251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a4da0012d829fc005d84130001100aa11..."} 
[2026-07-25 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a4da0012d829fc005d84130001100aa11..."} 
[2026-07-25 18:30:50] local.INFO: Processing buffer {"connection_id":142251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a4da0012d829fc005d84130001100aa11..."} 
[2026-07-25 18:30:50] local.INFO: Packet analysis {"connection_id":142251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:50] local.INFO: Extracted packet for processing {"connection_id":142251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98058544,"longitude_deg":76.3535296,"latitude_deg":9.8058544,"altitude":17,"angle":170,"satellites":17,"speed":7,"hex_longitude":"2d829fc0","hex_latitude":"05d84130","is_valid_coordinates":true} 
[2026-07-25 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955970304001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110350070750117888,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564890527744,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784984260000,"timestamp_ms":1784984260000,"timestamp_seconds":1784984260,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a4da0"} 
[2026-07-25 18:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955970304001,"66":12722,"47":206,"85":15104,"24":7,"16":110350070750117888,"45":-9034361564890527744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955970304001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:50] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110350070750117888,"km_value":110350070750117.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564890527744,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955970304001,"power":12722,"unknown_47":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9034361564890527744}} 
[2026-07-25 18:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":142251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:50] local.INFO: GPS data processed {"connection_id":142251,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:50] local.INFO: Acknowledgment sent {"connection_id":142251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:30:51] local.INFO: TCP Data received {"connection_id":142251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995a9bc0012d829fc005d84098001100ae11..."} 
[2026-07-25 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995a9bc0012d829fc005d84098001100ae11..."} 
[2026-07-25 18:30:51] local.INFO: Processing buffer {"connection_id":142251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995a9bc0012d829fc005d84098001100ae11..."} 
[2026-07-25 18:30:51] local.INFO: Packet analysis {"connection_id":142251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:51] local.INFO: Extracted packet for processing {"connection_id":142251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98058392,"longitude_deg":76.3535296,"latitude_deg":9.8058392,"altitude":17,"angle":174,"satellites":17,"speed":0,"hex_longitude":"2d829fc0","hex_latitude":"05d84098","is_valid_coordinates":true} 
[2026-07-25 18:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955970560001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110350079340052480,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196146405376,"note":"Value kept but may cause issues"} 
[2026-07-25 18:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984280000,"timestamp_ms":1784984280000,"timestamp_seconds":1784984280,"priority":1,"record_length":96,"hex_timestamp":"0000019f995a9bc0"} 
[2026-07-25 18:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955970560001,"66":12993,"47":206,"85":15104,"24":0,"16":110350079340052480,"45":-9034291196146405376},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955970560001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:30:51] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110350079340052480,"km_value":110350079340052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196146405376,"description":"Unknown IO ID 45"} 
[2026-07-25 18:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955970560001,"power":12993,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034291196146405376}} 
[2026-07-25 18:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":142251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:30:51] local.INFO: GPS data processed {"connection_id":142251,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:30:51] local.INFO: Acknowledgment sent {"connection_id":142251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:03] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:03] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:03] local.INFO: IMEI packet received {"connection_id":143628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":143628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:31:03] local.INFO: TCP Data received {"connection_id":142250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99590d50012d19d440072399f00037011129..."} 
[2026-07-25 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99590d50012d19d440072399f00037011129..."} 
[2026-07-25 18:31:03] local.INFO: Processing buffer {"connection_id":142250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99590d50012d19d440072399f00037011129..."} 
[2026-07-25 18:31:03] local.INFO: Packet analysis {"connection_id":142250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:31:03] local.INFO: Extracted packet for processing {"connection_id":142250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9959"} 
[2026-07-25 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955944192001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:03] 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-07-25 18:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984178000,"timestamp_ms":1784984178000,"timestamp_seconds":1784984178,"priority":1,"record_length":96,"hex_timestamp":"0000019f99590d50"} 
[2026-07-25 18:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955944192001,"66":12428,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955944192001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955944192001,"power":12428,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:31:03] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:03] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:03] local.INFO: IMEI packet received {"connection_id":143628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":143628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":142250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:03] local.INFO: GPS data processed {"connection_id":142250,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:03] local.INFO: Acknowledgment sent {"connection_id":142250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:04] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995c4588012da94b4005c54788000e00ef2a..."} 
[2026-07-25 18:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995c4588012da94b4005c54788000e00ef2a..."} 
[2026-07-25 18:31:04] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995c4588012da94b4005c54788000e00ef2a..."} 
[2026-07-25 18:31:04] local.INFO: Packet analysis {"connection_id":143628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:04] local.INFO: Extracted packet for processing {"connection_id":143628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":766069568,"raw_latitude":96814984,"longitude_deg":76.6069568,"latitude_deg":9.6814984,"altitude":14,"angle":239,"satellites":42,"speed":51,"hex_longitude":"2da94b40","hex_latitude":"05c54788","is_valid_coordinates":true} 
[2026-07-25 18:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956001792001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358038184715616256,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6239174308982614016,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784984389000,"timestamp_ms":1784984389000,"timestamp_seconds":1784984389,"priority":1,"record_length":96,"hex_timestamp":"0000019f995c4588"} 
[2026-07-25 18:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956001792001,"66":27908,"95":206,"83":16896,"24":51,"16":358038184715616256,"45":-6239174308982614016},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-25 18:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956001792001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358038184715616256,"km_value":358038184715616.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6239174308982614016,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956001792001,"power":27908,"unknown_95":206,"unknown_83":16896,"ignition":51,"odometer":null,"unknown_45":-6239174308982614016}} 
[2026-07-25 18:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":143628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:04] local.INFO: GPS data processed {"connection_id":143628,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:04] local.INFO: Acknowledgment sent {"connection_id":143628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:05] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995c60e0012da92b4005c534b0000f00ef2c..."} 
[2026-07-25 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995c60e0012da92b4005c534b0000f00ef2c..."} 
[2026-07-25 18:31:05] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995c60e0012da92b4005c534b0000f00ef2c..."} 
[2026-07-25 18:31:05] local.INFO: Packet analysis {"connection_id":143628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:05] local.INFO: Extracted packet for processing {"connection_id":143628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":766061376,"raw_latitude":96810160,"longitude_deg":76.6061376,"latitude_deg":9.681016,"altitude":15,"angle":239,"satellites":44,"speed":54,"hex_longitude":"2da92b40","hex_latitude":"05c534b0","is_valid_coordinates":true} 
[2026-07-25 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956003584001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358038639982149632,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6247829664517617664,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784984396000,"timestamp_ms":1784984396000,"timestamp_seconds":1784984396,"priority":1,"record_length":96,"hex_timestamp":"0000019f995c60e0"} 
[2026-07-25 18:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956003584001,"66":27571,"95":206,"83":16896,"24":54,"16":358038639982149632,"45":-6247829664517617664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-25 18:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956003584001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 18:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358038639982149632,"km_value":358038639982149.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6247829664517617664,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956003584001,"power":27571,"unknown_95":206,"unknown_83":16896,"ignition":54,"odometer":null,"unknown_45":-6247829664517617664}} 
[2026-07-25 18:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":143628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:05] local.INFO: GPS data processed {"connection_id":143628,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:05] local.INFO: Acknowledgment sent {"connection_id":143628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:23] local.INFO: TCP Data received {"connection_id":142251,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995aedc8012d829fc005d84098001100ae11..."} 
[2026-07-25 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995aedc8012d829fc005d84098001100ae11..."} 
[2026-07-25 18:31:23] local.INFO: Processing buffer {"connection_id":142251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995aedc8012d829fc005d84098001100ae11..."} 
[2026-07-25 18:31:23] local.INFO: Packet analysis {"connection_id":142251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:31:23] local.INFO: Extracted packet for processing {"connection_id":142251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995a"} 
[2026-07-25 18:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98058392,"longitude_deg":76.3535296,"latitude_deg":9.8058392,"altitude":17,"angle":174,"satellites":17,"speed":0,"hex_longitude":"2d829fc0","hex_latitude":"05d84098","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456955975680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110350079340052480,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196146444288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784984301000,"timestamp_ms":1784984301000,"timestamp_seconds":1784984301,"priority":1,"record_length":96,"hex_timestamp":"0000019f995aedc8"} 
[2026-07-25 18:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456955975680001,"66":12743,"47":206,"85":15104,"24":0,"16":110350079340052480,"45":-9034291196146444288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456955975680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:23] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110350079340052480,"km_value":110350079340052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196146444288,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456955975680001,"power":12743,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034291196146444288}} 
[2026-07-25 18:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":142251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:23] local.INFO: GPS data processed {"connection_id":142251,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:23] local.INFO: Acknowledgment sent {"connection_id":142251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:26] local.INFO: TCP Data received {"connection_id":142252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:31:26] local.INFO: Processing buffer {"connection_id":142252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:31:26] local.INFO: IMEI packet received {"connection_id":142252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":142252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:31:29] local.INFO: TCP Data received {"connection_id":142252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:31:29] local.INFO: Processing buffer {"connection_id":142252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:31:29] local.INFO: IMEI packet received {"connection_id":142252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":142252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:31:30] local.INFO: TCP Data received {"connection_id":142252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995c93a8012d19d440072399f00037011128..."} 
[2026-07-25 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995c93a8012d19d440072399f00037011128..."} 
[2026-07-25 18:31:30] local.INFO: Processing buffer {"connection_id":142252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995c93a8012d19d440072399f00037011128..."} 
[2026-07-25 18:31:30] local.INFO: Packet analysis {"connection_id":142252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:30] local.INFO: Extracted packet for processing {"connection_id":142252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956003328001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:30] 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-07-25 18:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784984409000,"timestamp_ms":1784984409000,"timestamp_seconds":1784984409,"priority":1,"record_length":96,"hex_timestamp":"0000019f995c93a8"} 
[2026-07-25 18:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956003328001,"66":12428,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956003328001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:31:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956003328001,"power":12428,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":142252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:30] local.INFO: GPS data processed {"connection_id":142252,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:30] local.INFO: Acknowledgment sent {"connection_id":142252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:36] local.INFO: TCP Data received {"connection_id":143628,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995c7c38012da90c0005c522b0001000ef29..."} 
[2026-07-25 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995c7c38012da90c0005c522b0001000ef29..."} 
[2026-07-25 18:31:36] local.INFO: Processing buffer {"connection_id":143628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995c7c38012da90c0005c522b0001000ef29..."} 
[2026-07-25 18:31:36] local.INFO: Packet analysis {"connection_id":143628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:36] local.INFO: Extracted packet for processing {"connection_id":143628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":766053376,"raw_latitude":96805552,"longitude_deg":76.6053376,"latitude_deg":9.6805552,"altitude":16,"angle":239,"satellites":41,"speed":51,"hex_longitude":"2da90c00","hex_latitude":"05c522b0","is_valid_coordinates":true} 
[2026-07-25 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956005376001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358039082363781120,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6256836863773593600,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784984403000,"timestamp_ms":1784984403000,"timestamp_seconds":1784984403,"priority":1,"record_length":96,"hex_timestamp":"0000019f995c7c38"} 
[2026-07-25 18:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956005376001,"66":27919,"95":206,"83":16896,"24":51,"16":358039082363781120,"45":-6256836863773593600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-25 18:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956005376001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 18:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358039082363781120,"km_value":358039082363781.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6256836863773593600,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956005376001,"power":27919,"unknown_95":206,"unknown_83":16896,"ignition":51,"odometer":null,"unknown_45":-6256836863773593600}} 
[2026-07-25 18:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":143628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:36] local.INFO: GPS data processed {"connection_id":143628,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:36] local.INFO: Acknowledgment sent {"connection_id":143628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:45] local.INFO: TCP Data received {"connection_id":142253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:31:45] local.INFO: Processing buffer {"connection_id":142253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:31:45] local.INFO: IMEI packet received {"connection_id":142253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":142253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:31:50] local.INFO: TCP Data received {"connection_id":142253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:31:50] local.INFO: Processing buffer {"connection_id":142253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:31:50] local.INFO: IMEI packet received {"connection_id":142253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":142253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:31:51] local.INFO: TCP Data received {"connection_id":142253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995dd010012d829fc005d81718001000b317..."} 
[2026-07-25 18:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995dd010012d829fc005d81718001000b317..."} 
[2026-07-25 18:31:51] local.INFO: Processing buffer {"connection_id":142253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995dd010012d829fc005d81718001000b317..."} 
[2026-07-25 18:31:51] local.INFO: Packet analysis {"connection_id":142253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:31:51] local.INFO: Extracted packet for processing {"connection_id":142253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:31:51] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":98047768,"longitude_deg":76.3535296,"latitude_deg":9.8047768,"altitude":16,"angle":179,"satellites":23,"speed":40,"hex_longitude":"2d829fc0","hex_latitude":"05d81718","is_valid_coordinates":true} 
[2026-07-25 18:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956026112001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110350594736128000,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196146774016,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984490000,"timestamp_ms":1784984490000,"timestamp_seconds":1784984490,"priority":1,"record_length":96,"hex_timestamp":"0000019f995dd010"} 
[2026-07-25 18:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956026112001,"66":12798,"47":206,"85":15104,"24":40,"16":110350594736128000,"45":-9034291196146774016},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-25 18:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956026112001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:51] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-25 18:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110350594736128000,"km_value":110350594736128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196146774016,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956026112001,"power":12798,"unknown_47":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9034291196146774016}} 
[2026-07-25 18:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":142253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:51] local.INFO: GPS data processed {"connection_id":142253,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:51] local.INFO: Acknowledgment sent {"connection_id":142253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:52] local.INFO: TCP Data received {"connection_id":142253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995df338012d82a00005d7f388000c00b417..."} 
[2026-07-25 18:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995df338012d82a00005d7f388000c00b417..."} 
[2026-07-25 18:31:52] local.INFO: Processing buffer {"connection_id":142253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995df338012d82a00005d7f388000c00b417..."} 
[2026-07-25 18:31:52] local.INFO: Packet analysis {"connection_id":142253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:31:52] local.INFO: Extracted packet for processing {"connection_id":142253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:31:52] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98038664,"longitude_deg":76.353536,"latitude_deg":9.8038664,"altitude":12,"angle":180,"satellites":23,"speed":37,"hex_longitude":"2d82a000","hex_latitude":"05d7f388","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956029440001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110351037117759488,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291196149164032,"note":"Value kept but may cause issues"} 
[2026-07-25 18:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784984499000,"timestamp_ms":1784984499000,"timestamp_seconds":1784984499,"priority":1,"record_length":96,"hex_timestamp":"0000019f995df338"} 
[2026-07-25 18:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956029440001,"66":12906,"155":206,"85":15104,"24":37,"16":110351037117759488,"45":-9034291196149164032},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-25 18:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956029440001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:31:52] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 18:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110351037117759488,"km_value":110351037117759.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291196149164032,"description":"Unknown IO ID 45"} 
[2026-07-25 18:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956029440001,"power":12906,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034291196149164032}} 
[2026-07-25 18:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":142253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:31:52] local.INFO: GPS data processed {"connection_id":142253,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:31:52] local.INFO: Acknowledgment sent {"connection_id":142253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:31:54] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:54] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:31:54] local.INFO: IMEI packet received {"connection_id":141220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":141220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:32:01] local.INFO: TCP Data received {"connection_id":142252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995ce5b0012d19d440072399f00037011129..."} 
[2026-07-25 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995ce5b0012d19d440072399f00037011129..."} 
[2026-07-25 18:32:01] local.INFO: Processing buffer {"connection_id":142252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995ce5b0012d19d440072399f00037011129..."} 
[2026-07-25 18:32:01] local.INFO: Packet analysis {"connection_id":142252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:01] local.INFO: Extracted packet for processing {"connection_id":142252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956008704001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:01] 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-07-25 18:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984430000,"timestamp_ms":1784984430000,"timestamp_seconds":1784984430,"priority":1,"record_length":96,"hex_timestamp":"0000019f995ce5b0"} 
[2026-07-25 18:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956008704001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956008704001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956008704001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":142252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:01] local.INFO: GPS data processed {"connection_id":142252,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:01] local.INFO: Acknowledgment sent {"connection_id":142252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:04] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.109.136.6","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 18:32:04] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 18:32:04] local.INFO: IMEI packet received {"connection_id":141220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":141220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:32:10] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995c9790012da8ecc005c511e8000f00f029..."} 
[2026-07-25 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995c9790012da8ecc005c511e8000f00f029..."} 
[2026-07-25 18:32:10] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f99..."} 
[2026-07-25 18:32:10] local.INFO: IMEI packet received {"connection_id":141220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":141220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:32:11] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995cb2e8012da8cdc005c500f0000e00f02b..."} 
[2026-07-25 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995cb2e8012da8cdc005c500f0000e00f02b..."} 
[2026-07-25 18:32:11] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f995c9790012da8ecc005c511e8000f00f029..."} 
[2026-07-25 18:32:11] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:11] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":766045376,"raw_latitude":96801256,"longitude_deg":76.6045376,"latitude_deg":9.6801256,"altitude":15,"angle":240,"satellites":41,"speed":52,"hex_longitude":"2da8ecc0","hex_latitude":"05c511e8","is_valid_coordinates":true} 
[2026-07-25 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956007168001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358039520450445312,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6265632956796981248,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784984410000,"timestamp_ms":1784984410000,"timestamp_seconds":1784984410,"priority":1,"record_length":96,"hex_timestamp":"0000019f995c9790"} 
[2026-07-25 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956007168001,"66":27745,"95":206,"83":16896,"24":52,"16":358039520450445312,"45":-6265632956796981248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956007168001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358039520450445312,"km_value":358039520450445.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6265632956796981248,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956007168001,"power":27745,"unknown_95":206,"unknown_83":16896,"ignition":52,"odometer":null,"unknown_45":-6265632956796981248}} 
[2026-07-25 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:11] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:11] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:11] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:11] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":766037440,"raw_latitude":96796912,"longitude_deg":76.603744,"latitude_deg":9.6796912,"altitude":14,"angle":240,"satellites":43,"speed":48,"hex_longitude":"2da8cdc0","hex_latitude":"05c500f0","is_valid_coordinates":true} 
[2026-07-25 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956008960001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358039954242142208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6274429049820289024,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784984417000,"timestamp_ms":1784984417000,"timestamp_seconds":1784984417,"priority":1,"record_length":96,"hex_timestamp":"0000019f995cb2e8"} 
[2026-07-25 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956008960001,"66":27843,"95":206,"83":16896,"24":48,"16":358039954242142208,"45":-6274429049820289024},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956008960001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358039954242142208,"km_value":358039954242142.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6274429049820289024,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956008960001,"power":27843,"unknown_95":206,"unknown_83":16896,"ignition":48,"odometer":null,"unknown_45":-6274429049820289024}} 
[2026-07-25 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:11] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:11] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:11] local.INFO: TCP Data received {"connection_id":141220,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995cd228012da8ae0005c4eee8001000f128..."} 
[2026-07-25 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995cd228012da8ae0005c4eee8001000f128..."} 
[2026-07-25 18:32:11] local.INFO: Processing buffer {"connection_id":141220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995cd228012da8ae0005c4eee8001000f128..."} 
[2026-07-25 18:32:11] local.INFO: Packet analysis {"connection_id":141220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:11] local.INFO: Extracted packet for processing {"connection_id":141220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995c"} 
[2026-07-25 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":766029312,"raw_latitude":96792296,"longitude_deg":76.6029312,"latitude_deg":9.6792296,"altitude":16,"angle":241,"satellites":40,"speed":44,"hex_longitude":"2da8ae00","hex_latitude":"05c4eee8","is_valid_coordinates":true} 
[2026-07-25 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956010752001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358040405213708288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6283154774099431424,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784984425000,"timestamp_ms":1784984425000,"timestamp_seconds":1784984425,"priority":1,"record_length":96,"hex_timestamp":"0000019f995cd228"} 
[2026-07-25 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956010752001,"66":27865,"95":206,"83":16896,"24":44,"16":358040405213708288,"45":-6283154774099431424},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,45]} 
[2026-07-25 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956010752001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358040405213708288,"km_value":358040405213708.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6283154774099431424,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956010752001,"power":27865,"unknown_95":206,"unknown_83":16896,"ignition":44,"odometer":null,"unknown_45":-6283154774099431424}} 
[2026-07-25 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":141220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:11] local.INFO: GPS data processed {"connection_id":141220,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:11] local.INFO: Acknowledgment sent {"connection_id":141220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:23] local.INFO: TCP Data received {"connection_id":142253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e1a48012d82a14005d7cda8000a00b117..."} 
[2026-07-25 18:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e1a48012d82a14005d7cda8000a00b117..."} 
[2026-07-25 18:32:23] local.INFO: Processing buffer {"connection_id":142253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e1a48012d82a14005d7cda8000a00b117..."} 
[2026-07-25 18:32:23] local.INFO: Packet analysis {"connection_id":142253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:32:23] local.INFO: Extracted packet for processing {"connection_id":142253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:32:23] local.INFO: GPS Element Parsed {"raw_longitude":763535680,"raw_latitude":98028968,"longitude_deg":76.353568,"latitude_deg":9.8028968,"altitude":10,"angle":177,"satellites":23,"speed":33,"hex_longitude":"2d82a140","hex_latitude":"05d7cda8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956031744001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110351505269194752,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827407316992,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784984509000,"timestamp_ms":1784984509000,"timestamp_seconds":1784984509,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e1a48"} 
[2026-07-25 18:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32: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-07-25 18: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956031744001,"66":13135,"155":206,"85":15104,"24":33,"16":110351505269194752,"45":-9034220827407316992},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-25 18:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956031744001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110351505269194752,"km_value":110351505269194.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827407316992,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956031744001,"power":13135,"unknown_155":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9034220827407316992}} 
[2026-07-25 18:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":142253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:23] local.INFO: GPS data processed {"connection_id":142253,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:23] local.INFO: Acknowledgment sent {"connection_id":142253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:26] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:32:26] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:32:26] local.INFO: IMEI packet received {"connection_id":141221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":141221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:32:31] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:32:31] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:32:31] local.INFO: IMEI packet received {"connection_id":141221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":141221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:32:32] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995d37b8012d19d440072399f0003701112a..."} 
[2026-07-25 18:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995d37b8012d19d440072399f0003701112a..."} 
[2026-07-25 18:32:32] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995d37b8012d19d440072399f0003701112a..."} 
[2026-07-25 18:32:32] local.INFO: Packet analysis {"connection_id":141221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:32:32] local.INFO: Extracted packet for processing {"connection_id":141221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956014080001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:32] 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-07-25 18:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984451000,"timestamp_ms":1784984451000,"timestamp_seconds":1784984451,"priority":1,"record_length":96,"hex_timestamp":"0000019f995d37b8"} 
[2026-07-25 18:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956014080001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956014080001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956014080001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":141221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:32] local.INFO: GPS data processed {"connection_id":141221,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:32] local.INFO: Acknowledgment sent {"connection_id":141221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:45] local.INFO: TCP Data received {"connection_id":143629,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:32:45] local.INFO: Processing buffer {"connection_id":143629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:32:45] local.INFO: IMEI packet received {"connection_id":143629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:32:45] local.INFO: IMEI acknowledgment sent {"connection_id":143629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:32:49] local.INFO: TCP Data received {"connection_id":141274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:32:49] local.INFO: Processing buffer {"connection_id":141274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:32:49] local.INFO: IMEI packet received {"connection_id":141274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":141274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:32:50] local.INFO: TCP Data received {"connection_id":143629,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:32:50] local.INFO: Processing buffer {"connection_id":143629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:32:50] local.INFO: IMEI packet received {"connection_id":143629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":143629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:32:51] local.INFO: TCP Data received {"connection_id":143629,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e4540012d82a38005d7a960000900af17..."} 
[2026-07-25 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e4540012d82a38005d7a960000900af17..."} 
[2026-07-25 18:32:51] local.INFO: Processing buffer {"connection_id":143629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e4540012d82a38005d7a960000900af17..."} 
[2026-07-25 18:32:51] local.INFO: Packet analysis {"connection_id":143629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:32:51] local.INFO: Extracted packet for processing {"connection_id":143629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":98019680,"longitude_deg":76.3536256,"latitude_deg":9.801968,"altitude":9,"angle":175,"satellites":23,"speed":30,"hex_longitude":"2d82a380","hex_latitude":"05d7a960","is_valid_coordinates":true} 
[2026-07-25 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956034304001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110351960535728128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033868983688910848,"note":"Value kept but may cause issues"} 
[2026-07-25 18:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984520000,"timestamp_ms":1784984520000,"timestamp_seconds":1784984520,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e4540"} 
[2026-07-25 18:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 18:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956034304001,"66":12961,"155":206,"85":15104,"24":30,"16":110351960535728128,"45":-9033868983688910848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-25 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956034304001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:32:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 18:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110351960535728128,"km_value":110351960535728.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033868983688910848,"description":"Unknown IO ID 45"} 
[2026-07-25 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956034304001,"power":12961,"unknown_155":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9033868983688910848}} 
[2026-07-25 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":143629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:32:51] local.INFO: GPS data processed {"connection_id":143629,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:32:51] local.INFO: Acknowledgment sent {"connection_id":143629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:32:56] local.INFO: TCP Data received {"connection_id":142254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:32:56] local.INFO: Processing buffer {"connection_id":142254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:32:56] local.INFO: IMEI packet received {"connection_id":142254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":142254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:32:57] local.INFO: TCP Data received {"connection_id":142254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:32:57] local.INFO: Processing buffer {"connection_id":142254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:32:57] local.INFO: IMEI packet received {"connection_id":142254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":142254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:33:00] local.INFO: TCP Data received {"connection_id":142254,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:33:00] local.INFO: Processing buffer {"connection_id":142254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:33:00] local.INFO: IMEI packet received {"connection_id":142254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":142254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:33:02] local.INFO: TCP Data received {"connection_id":142254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e2600012da79f8005c42300000f01042a..."} 
[2026-07-25 18:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e2600012da79f8005c42300000f01042a..."} 
[2026-07-25 18:33:02] local.INFO: Processing buffer {"connection_id":142254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e2600012da79f8005c42300000f01042a..."} 
[2026-07-25 18:33:02] local.INFO: Packet analysis {"connection_id":142254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:02] local.INFO: Extracted packet for processing {"connection_id":142254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:02] local.INFO: GPS Element Parsed {"raw_longitude":765960064,"raw_latitude":96740096,"longitude_deg":76.5960064,"latitude_deg":9.6740096,"altitude":15,"angle":260,"satellites":42,"speed":17,"hex_longitude":"2da79f80","hex_latitude":"05c42300","is_valid_coordinates":true} 
[2026-07-25 18:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956034048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358044627166560256,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6366119523499296768,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784984512000,"timestamp_ms":1784984512000,"timestamp_seconds":1784984512,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e2600"} 
[2026-07-25 18:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956034048001,"66":27865,"179":206,"83":16896,"24":17,"16":358044627166560256,"45":-6366119523499296768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 18:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956034048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:33:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 18:33:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358044627166560256,"km_value":358044627166560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6366119523499296768,"description":"Unknown IO ID 45"} 
[2026-07-25 18:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956034048001,"power":27865,"unknown_179":206,"unknown_83":16896,"ignition":17,"odometer":null,"unknown_45":-6366119523499296768}} 
[2026-07-25 18:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":142254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:33:02] local.INFO: GPS data processed {"connection_id":142254,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:33:02] local.INFO: Acknowledgment sent {"connection_id":142254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:33:03] local.INFO: TCP Data received {"connection_id":141221,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995d89c0012d19d440072399f00037011129..."} 
[2026-07-25 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995d89c0012d19d440072399f00037011129..."} 
[2026-07-25 18:33:03] local.INFO: Processing buffer {"connection_id":141221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995d89c0012d19d440072399f00037011129..."} 
[2026-07-25 18:33:03] local.INFO: Packet analysis {"connection_id":141221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:33:03] local.INFO: Extracted packet for processing {"connection_id":141221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956019456001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:03] 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-07-25 18:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984472000,"timestamp_ms":1784984472000,"timestamp_seconds":1784984472,"priority":1,"record_length":96,"hex_timestamp":"0000019f995d89c0"} 
[2026-07-25 18:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956019456001,"66":12406,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956019456001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956019456001,"power":12406,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":141221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:33:03] local.INFO: GPS data processed {"connection_id":141221,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:33:03] local.INFO: Acknowledgment sent {"connection_id":141221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:33:22] local.INFO: TCP Data received {"connection_id":143629,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e6c50012d82a60005d78310000700b217..."} 
[2026-07-25 18:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e6c50012d82a60005d78310000700b217..."} 
[2026-07-25 18:33:22] local.INFO: Processing buffer {"connection_id":143629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e6c50012d82a60005d78310000700b217..."} 
[2026-07-25 18:33:22] local.INFO: Packet analysis {"connection_id":143629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:22] local.INFO: Extracted packet for processing {"connection_id":143629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:22] local.INFO: GPS Element Parsed {"raw_longitude":763536896,"raw_latitude":98009872,"longitude_deg":76.3536896,"latitude_deg":9.8009872,"altitude":7,"angle":178,"satellites":23,"speed":42,"hex_longitude":"2d82a600","hex_latitude":"05d78310","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956037120001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110352432982130688,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235664993689600,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784984530000,"timestamp_ms":1784984530000,"timestamp_seconds":1784984530,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e6c50"} 
[2026-07-25 18:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-25 18:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956037120001,"66":12885,"155":206,"85":15104,"24":42,"16":110352432982130688,"45":-9033235664993689600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-25 18:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956037120001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:33:22] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 18:33:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110352432982130688,"km_value":110352432982130.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235664993689600,"description":"Unknown IO ID 45"} 
[2026-07-25 18:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956037120001,"power":12885,"unknown_155":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9033235664993689600}} 
[2026-07-25 18:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":143629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:33:22] local.INFO: GPS data processed {"connection_id":143629,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:33:22] local.INFO: Acknowledgment sent {"connection_id":143629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:33:26] local.INFO: TCP Data received {"connection_id":143630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:33:26] local.INFO: Processing buffer {"connection_id":143630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:33:26] local.INFO: IMEI packet received {"connection_id":143630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":143630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:33:31] local.INFO: TCP Data received {"connection_id":143630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:33:31] local.INFO: Processing buffer {"connection_id":143630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:33:31] local.INFO: IMEI packet received {"connection_id":143630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":143630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:33:32] local.INFO: TCP Data received {"connection_id":143630,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995ddbc8012d19d440072399f00037011128..."} 
[2026-07-25 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995ddbc8012d19d440072399f00037011128..."} 
[2026-07-25 18:33:32] local.INFO: Processing buffer {"connection_id":143630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995ddbc8012d19d440072399f00037011128..."} 
[2026-07-25 18:33:32] local.INFO: Packet analysis {"connection_id":143630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:33:32] local.INFO: Extracted packet for processing {"connection_id":143630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995d"} 
[2026-07-25 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956024832001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:32] 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-07-25 18:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984493000,"timestamp_ms":1784984493000,"timestamp_seconds":1784984493,"priority":1,"record_length":96,"hex_timestamp":"0000019f995ddbc8"} 
[2026-07-25 18:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 18:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956024832001,"66":12406,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956024832001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:33:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956024832001,"power":12406,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":143630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:33:32] local.INFO: GPS data processed {"connection_id":143630,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:33:32] local.INFO: Acknowledgment sent {"connection_id":143630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:33:34] local.INFO: TCP Data received {"connection_id":142254,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e3988012da794c005c422580010011127..."} 
[2026-07-25 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e3988012da794c005c422580010011127..."} 
[2026-07-25 18:33:34] local.INFO: Processing buffer {"connection_id":142254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e3988012da794c005c422580010011127..."} 
[2026-07-25 18:33:34] local.INFO: Packet analysis {"connection_id":142254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:34] local.INFO: Extracted packet for processing {"connection_id":142254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:34] local.INFO: GPS Element Parsed {"raw_longitude":765957312,"raw_latitude":96739928,"longitude_deg":76.5957312,"latitude_deg":9.6739928,"altitude":16,"angle":273,"satellites":39,"speed":23,"hex_longitude":"2da794c0","hex_latitude":"05c42258","is_valid_coordinates":true} 
[2026-07-25 18:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956035072001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358044756015579136,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6368230585824772096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784984517000,"timestamp_ms":1784984517000,"timestamp_seconds":1784984517,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e3988"} 
[2026-07-25 18:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956035072001,"66":27908,"179":206,"83":16896,"24":23,"16":358044756015579136,"45":-6368230585824772096},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 18:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956035072001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:33:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 18:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358044756015579136,"km_value":358044756015579.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6368230585824772096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956035072001,"power":27908,"unknown_179":206,"unknown_83":16896,"ignition":23,"odometer":null,"unknown_45":-6368230585824772096}} 
[2026-07-25 18:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":142254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:33:34] local.INFO: GPS data processed {"connection_id":142254,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:33:34] local.INFO: Acknowledgment sent {"connection_id":142254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:33:45] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:33:45] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:33:45] local.INFO: IMEI packet received {"connection_id":141222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":141222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:33:50] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:33:50] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:33:50] local.INFO: IMEI packet received {"connection_id":141222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":141222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:33:51] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e9360012d82a88005d75fd0000500ad17..."} 
[2026-07-25 18:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e9360012d82a88005d75fd0000500ad17..."} 
[2026-07-25 18:33:51] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e9360012d82a88005d75fd0000500ad17..."} 
[2026-07-25 18:33:51] local.INFO: Packet analysis {"connection_id":141222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:51] local.INFO: Extracted packet for processing {"connection_id":141222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":763537536,"raw_latitude":98000848,"longitude_deg":76.3537536,"latitude_deg":9.8000848,"altitude":5,"angle":173,"satellites":23,"speed":34,"hex_longitude":"2d82a880","hex_latitude":"05d75fd0","is_valid_coordinates":true} 
[2026-07-25 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110352875363762176,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032531977554423808,"note":"Value kept but may cause issues"} 
[2026-07-25 18:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984540000,"timestamp_ms":1784984540000,"timestamp_seconds":1784984540,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e9360"} 
[2026-07-25 18:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 18:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956039680001,"66":12798,"155":206,"85":15104,"24":34,"16":110352875363762176,"45":-9032531977554423808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-25 18:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110352875363762176,"km_value":110352875363762.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032531977554423808,"description":"Unknown IO ID 45"} 
[2026-07-25 18:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956039680001,"power":12798,"unknown_155":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9032531977554423808}} 
[2026-07-25 18:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":141222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:33:51] local.INFO: GPS data processed {"connection_id":141222,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:33:51] local.INFO: Acknowledgment sent {"connection_id":141222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:33:55] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:33:55] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:33:55] local.INFO: IMEI packet received {"connection_id":143631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":143631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:34:00] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:00] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:00] local.INFO: IMEI packet received {"connection_id":143631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":143631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:34:03] local.INFO: TCP Data received {"connection_id":143630,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e2dd0012d19d440072399f00037011129..."} 
[2026-07-25 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e2dd0012d19d440072399f00037011129..."} 
[2026-07-25 18:34:03] local.INFO: Processing buffer {"connection_id":143630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e2dd0012d19d440072399f00037011129..."} 
[2026-07-25 18:34:03] local.INFO: Packet analysis {"connection_id":143630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:03] local.INFO: Extracted packet for processing {"connection_id":143630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956030208001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:03] 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-07-25 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984514000,"timestamp_ms":1784984514000,"timestamp_seconds":1784984514,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e2dd0"} 
[2026-07-25 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956030208001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956030208001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956030208001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:34:03] local.INFO: GPS data processed {"connection_id":143630,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:34:03] local.INFO: Acknowledgment sent {"connection_id":143630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:34:03] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e6868012da771c005c427a80010011723..."} 
[2026-07-25 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e6868012da771c005c427a80010011723..."} 
[2026-07-25 18:34:03] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e6868012da771c005c427a80010011723..."} 
[2026-07-25 18:34:03] local.INFO: Packet analysis {"connection_id":143631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:03] local.INFO: Extracted packet for processing {"connection_id":143631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":765948352,"raw_latitude":96741288,"longitude_deg":76.5948352,"latitude_deg":9.6741288,"altitude":16,"angle":279,"satellites":35,"speed":40,"hex_longitude":"2da771c0","hex_latitude":"05c427a8","is_valid_coordinates":true} 
[2026-07-25 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956036352001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358045194102243328,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6371256441824454656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984529000,"timestamp_ms":1784984529000,"timestamp_seconds":1784984529,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e6868"} 
[2026-07-25 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956036352001,"66":27745,"179":206,"83":16896,"24":40,"16":358045194102243328,"45":-6371256441824454656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956036352001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358045194102243328,"km_value":358045194102243.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6371256441824454656,"description":"Unknown IO ID 45"} 
[2026-07-25 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956036352001,"power":27745,"unknown_179":206,"unknown_83":16896,"ignition":40,"odometer":null,"unknown_45":-6371256441824454656}} 
[2026-07-25 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:34:03] local.INFO: GPS data processed {"connection_id":143631,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:34:03] local.INFO: Acknowledgment sent {"connection_id":143631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:34:22] local.INFO: TCP Data received {"connection_id":141222,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f995eaad0012d82aac005d751f8000700a017..."} 
[2026-07-25 18:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995eaad0012d82aac005d751f8000700a017..."} 
[2026-07-25 18:34:22] local.INFO: Processing buffer {"connection_id":141222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995eaad0012d82aac005d751f8000700a017..."} 
[2026-07-25 18:34:22] local.INFO: Packet analysis {"connection_id":141222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:22] local.INFO: Extracted packet for processing {"connection_id":141222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:22] local.INFO: GPS Element Parsed {"raw_longitude":763538112,"raw_latitude":97997304,"longitude_deg":76.3538112,"latitude_deg":9.7997304,"altitude":7,"angle":160,"satellites":23,"speed":14,"hex_longitude":"2d82aac0","hex_latitude":"05d751f8","is_valid_coordinates":true} 
[2026-07-25 18:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956042240001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110353047162454016,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031828290114957312,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784984546000,"timestamp_ms":1784984546000,"timestamp_seconds":1784984546,"priority":1,"record_length":96,"hex_timestamp":"0000019f995eaad0"} 
[2026-07-25 18:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956042240001,"66":12961,"155":206,"85":15104,"24":14,"16":110353047162454016,"45":-9031828290114957312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-25 18:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956042240001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:34:22] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 18:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110353047162454016,"km_value":110353047162454.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031828290114957312,"description":"Unknown IO ID 45"} 
[2026-07-25 18:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956042240001,"power":12961,"unknown_155":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9031828290114957312}} 
[2026-07-25 18:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":141222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:34:23] local.INFO: GPS data processed {"connection_id":141222,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:34:23] local.INFO: Acknowledgment sent {"connection_id":141222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:34:26] local.INFO: TCP Data received {"connection_id":142255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:34:26] local.INFO: Processing buffer {"connection_id":142255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:34:26] local.INFO: IMEI packet received {"connection_id":142255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":142255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:34:31] local.INFO: TCP Data received {"connection_id":142255,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:34:31] local.INFO: Processing buffer {"connection_id":142255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:34:31] local.INFO: IMEI packet received {"connection_id":142255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":142255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:34:32] local.INFO: TCP Data received {"connection_id":142255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995e7fd8012d19d440072399f0003701112c..."} 
[2026-07-25 18:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995e7fd8012d19d440072399f0003701112c..."} 
[2026-07-25 18:34:32] local.INFO: Processing buffer {"connection_id":142255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995e7fd8012d19d440072399f0003701112c..."} 
[2026-07-25 18:34:32] local.INFO: Packet analysis {"connection_id":142255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:32] local.INFO: Extracted packet for processing {"connection_id":142255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956035584001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:32] 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-07-25 18:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984535000,"timestamp_ms":1784984535000,"timestamp_seconds":1784984535,"priority":1,"record_length":96,"hex_timestamp":"0000019f995e7fd8"} 
[2026-07-25 18:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956035584001,"66":12341,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956035584001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:34:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956035584001,"power":12341,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":142255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:34:32] local.INFO: GPS data processed {"connection_id":142255,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:34:32] local.INFO: Acknowledgment sent {"connection_id":142255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:34:45] local.INFO: TCP Data received {"connection_id":141223,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:34:45] local.INFO: Processing buffer {"connection_id":141223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:34:45] local.INFO: IMEI packet received {"connection_id":141223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":141223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:34:47] local.INFO: TCP Data received {"connection_id":143631,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f995fcfc8012da6248005c43140000f00d626..."} 
[2026-07-25 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995fcfc8012da6248005c43140000f00d626..."} 
[2026-07-25 18:34:47] local.INFO: Processing buffer {"connection_id":143631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995fcfc8012da6248005c43140000f00d626..."} 
[2026-07-25 18:34:47] local.INFO: Packet analysis {"connection_id":143631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:34:47] local.INFO: Extracted packet for processing {"connection_id":143631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":765863040,"raw_latitude":96743744,"longitude_deg":76.586304,"latitude_deg":9.6743744,"altitude":15,"angle":214,"satellites":38,"speed":48,"hex_longitude":"2da62480","hex_latitude":"05c43140","is_valid_coordinates":true} 
[2026-07-25 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956062208001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358049909976334336,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6472094852229357568,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784984621000,"timestamp_ms":1784984621000,"timestamp_seconds":1784984621,"priority":1,"record_length":96,"hex_timestamp":"0000019f995fcfc8"} 
[2026-07-25 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:34: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-07-25 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956062208001,"66":27865,"181":206,"83":16896,"24":48,"16":358049909976334336,"45":-6472094852229357568},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,45]} 
[2026-07-25 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956062208001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358049909976334336,"km_value":358049909976334.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6472094852229357568,"description":"Unknown IO ID 45"} 
[2026-07-25 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956062208001,"power":27865,"unknown_181":206,"unknown_83":16896,"ignition":48,"odometer":null,"unknown_45":-6472094852229357568}} 
[2026-07-25 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":143631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:34:47] local.INFO: GPS data processed {"connection_id":143631,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:34:47] local.INFO: Acknowledgment sent {"connection_id":143631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:34:50] local.INFO: TCP Data received {"connection_id":141223,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:34:50] local.INFO: Processing buffer {"connection_id":141223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:34:50] local.INFO: IMEI packet received {"connection_id":141223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":141223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:34:51] local.INFO: TCP Data received {"connection_id":141223,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996077c0012d82ba0005d69ae8000a00a019..."} 
[2026-07-25 18:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996077c0012d82ba0005d69ae8000a00a019..."} 
[2026-07-25 18:34:51] local.INFO: Processing buffer {"connection_id":141223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996077c0012d82ba0005d69ae8000a00a019..."} 
[2026-07-25 18:34:51] local.INFO: Packet analysis {"connection_id":141223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:34:51] local.INFO: Extracted packet for processing {"connection_id":141223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":763542016,"raw_latitude":97950440,"longitude_deg":76.3542016,"latitude_deg":9.795044,"altitude":10,"angle":160,"satellites":25,"speed":35,"hex_longitude":"2d82ba00","hex_latitude":"05d69ae8","is_valid_coordinates":true} 
[2026-07-25 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956073472001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110355357854859264,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690500040704,"note":"Value kept but may cause issues"} 
[2026-07-25 18:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984664000,"timestamp_ms":1784984664000,"timestamp_seconds":1784984664,"priority":1,"record_length":96,"hex_timestamp":"0000019f996077c0"} 
[2026-07-25 18:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 18:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956073472001,"66":12906,"156":206,"85":15104,"24":35,"16":110355357854859264,"45":-9027324690500040704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956073472001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:34:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110355357854859264,"km_value":110355357854859.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690500040704,"description":"Unknown IO ID 45"} 
[2026-07-25 18:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956073472001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9027324690500040704}} 
[2026-07-25 18:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":141223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:34:51] local.INFO: GPS data processed {"connection_id":141223,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:34:51] local.INFO: Acknowledgment sent {"connection_id":141223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:34:58] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:58] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:58] local.INFO: IMEI packet received {"connection_id":141224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":141224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:34:59] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:59] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:34:59] local.INFO: IMEI packet received {"connection_id":141224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":141224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:35:00] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:35:00] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:35:00] local.INFO: IMEI packet received {"connection_id":141224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":141224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:35:01] local.INFO: TCP Data received {"connection_id":141224,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:35:01] local.INFO: Processing buffer {"connection_id":141224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:35:01] local.INFO: IMEI packet received {"connection_id":141224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":141224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:35:03] local.INFO: TCP Data received {"connection_id":142255,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995ed1e0012d19d440072399f0003701112a..."} 
[2026-07-25 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995ed1e0012d19d440072399f0003701112a..."} 
[2026-07-25 18:35:03] local.INFO: Processing buffer {"connection_id":142255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995ed1e0012d19d440072399f0003701112a..."} 
[2026-07-25 18:35:03] local.INFO: Packet analysis {"connection_id":142255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:35:03] local.INFO: Extracted packet for processing {"connection_id":142255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995e"} 
[2026-07-25 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956040960001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:03] 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-07-25 18:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984556000,"timestamp_ms":1784984556000,"timestamp_seconds":1784984556,"priority":1,"record_length":96,"hex_timestamp":"0000019f995ed1e0"} 
[2026-07-25 18:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 18:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956040960001,"66":12341,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956040960001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:35:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956040960001,"power":12341,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":142255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:35:03] local.INFO: GPS data processed {"connection_id":142255,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:35:03] local.INFO: Acknowledgment sent {"connection_id":142255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:35:23] local.INFO: TCP Data received {"connection_id":141223,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99607f90012d82bd0005d694b80009009119..."} 
[2026-07-25 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99607f90012d82bd0005d694b80009009119..."} 
[2026-07-25 18:35:23] local.INFO: Processing buffer {"connection_id":141223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99607f90012d82bd0005d694b80009009119..."} 
[2026-07-25 18:35:23] local.INFO: Packet analysis {"connection_id":141223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:35:23] local.INFO: Extracted packet for processing {"connection_id":141223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":763542784,"raw_latitude":97948856,"longitude_deg":76.3542784,"latitude_deg":9.7948856,"altitude":9,"angle":145,"satellites":25,"speed":34,"hex_longitude":"2d82bd00","hex_latitude":"05d694b8","is_valid_coordinates":true} 
[2026-07-25 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956073984001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110355443754205184,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026902478035425280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784984666000,"timestamp_ms":1784984666000,"timestamp_seconds":1784984666,"priority":1,"record_length":96,"hex_timestamp":"0000019f99607f90"} 
[2026-07-25 18:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 18:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":141223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":141223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":141223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956073984001,"66":12874,"156":206,"85":15104,"24":34,"16":110355443754205184,"45":-9026902478035425280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956073984001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:35:23] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:35:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110355443754205184,"km_value":110355443754205.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026902478035425280,"description":"Unknown IO ID 45"} 
[2026-07-25 18:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956073984001,"power":12874,"unknown_156":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9026902478035425280}} 
[2026-07-25 18:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":141223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:35:23] local.INFO: GPS data processed {"connection_id":141223,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:35:23] local.INFO: Acknowledgment sent {"connection_id":141223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:35:31] local.INFO: TCP Data received {"connection_id":143632,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:35:31] local.INFO: Processing buffer {"connection_id":143632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:35:31] local.INFO: IMEI packet received {"connection_id":143632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":143632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:35:36] local.INFO: TCP Data received {"connection_id":143632,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:35:36] local.INFO: Processing buffer {"connection_id":143632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:35:36] local.INFO: IMEI packet received {"connection_id":143632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":143632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:35:37] local.INFO: TCP Data received {"connection_id":143632,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995f23e8012d19d440072399f00037011129..."} 
[2026-07-25 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995f23e8012d19d440072399f00037011129..."} 
[2026-07-25 18:35:37] local.INFO: Processing buffer {"connection_id":143632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995f23e8012d19d440072399f00037011129..."} 
[2026-07-25 18:35:37] local.INFO: Packet analysis {"connection_id":143632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:35:37] local.INFO: Extracted packet for processing {"connection_id":143632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956046336001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35: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-07-25 18:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784984577000,"timestamp_ms":1784984577000,"timestamp_seconds":1784984577,"priority":1,"record_length":96,"hex_timestamp":"0000019f995f23e8"} 
[2026-07-25 18:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 18:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956046336001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956046336001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:35:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956046336001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":143632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:35:37] local.INFO: GPS data processed {"connection_id":143632,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:35:37] local.INFO: Acknowledgment sent {"connection_id":143632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:35:41] local.INFO: TCP Data received {"connection_id":143632,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995f75f0012d19d440072399f00037011129..."} 
[2026-07-25 18:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995f75f0012d19d440072399f00037011129..."} 
[2026-07-25 18:35:41] local.INFO: Processing buffer {"connection_id":143632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995f75f0012d19d440072399f00037011129..."} 
[2026-07-25 18:35:41] local.INFO: Packet analysis {"connection_id":143632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:35:41] local.INFO: Extracted packet for processing {"connection_id":143632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956051712001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:41] 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-07-25 18:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784984598000,"timestamp_ms":1784984598000,"timestamp_seconds":1784984598,"priority":1,"record_length":96,"hex_timestamp":"0000019f995f75f0"} 
[2026-07-25 18:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956051712001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956051712001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:35:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:35:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956051712001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":143632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:35:42] local.INFO: GPS data processed {"connection_id":143632,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:35:42] local.INFO: Acknowledgment sent {"connection_id":143632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:35:45] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:35:45] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:35:45] local.INFO: IMEI packet received {"connection_id":141225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":141225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:35:53] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:35:53] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:35:53] local.INFO: IMEI packet received {"connection_id":141225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":141225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:35:54] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99612b70012d82cd8005d66ef0000300c51a..."} 
[2026-07-25 18:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99612b70012d82cd8005d66ef0000300c51a..."} 
[2026-07-25 18:35:54] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99612b70012d82cd8005d66ef0000300c51a..."} 
[2026-07-25 18:35:54] local.INFO: Packet analysis {"connection_id":141225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:35:54] local.INFO: Extracted packet for processing {"connection_id":141225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763547008,"raw_latitude":97939184,"longitude_deg":76.3547008,"latitude_deg":9.7939184,"altitude":3,"angle":197,"satellites":26,"speed":28,"hex_longitude":"2d82cd80","hex_latitude":"05d66ef0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956084224001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110356036459692032,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020780397293965312,"note":"Value kept but may cause issues"} 
[2026-07-25 18:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784984710000,"timestamp_ms":1784984710000,"timestamp_seconds":1784984710,"priority":1,"record_length":96,"hex_timestamp":"0000019f99612b70"} 
[2026-07-25 18:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-25 18:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956084224001,"66":13102,"156":206,"85":15104,"24":28,"16":110356036459692032,"45":-9020780397293965312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956084224001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:35:54] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110356036459692032,"km_value":110356036459692.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020780397293965312,"description":"Unknown IO ID 45"} 
[2026-07-25 18:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956084224001,"power":13102,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9020780397293965312}} 
[2026-07-25 18:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":141225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:35:54] local.INFO: GPS data processed {"connection_id":141225,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:35:54] local.INFO: Acknowledgment sent {"connection_id":141225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:36:23] local.INFO: TCP Data received {"connection_id":142256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:23] local.INFO: Processing buffer {"connection_id":142256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:23] local.INFO: IMEI packet received {"connection_id":142256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":142256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:36:26] local.INFO: TCP Data received {"connection_id":142256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:26] local.INFO: Processing buffer {"connection_id":142256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:26] local.INFO: IMEI packet received {"connection_id":142256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":142256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:36:29] local.INFO: TCP Data received {"connection_id":141225,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996219b8012d82a38005d5f9f8000900ca1a..."} 
[2026-07-25 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996219b8012d82a38005d5f9f8000900ca1a..."} 
[2026-07-25 18:36:29] local.INFO: Processing buffer {"connection_id":141225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996219b8012d82a38005d5f9f8000900ca1a..."} 
[2026-07-25 18:36:29] local.INFO: Packet analysis {"connection_id":141225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:36:29] local.INFO: Extracted packet for processing {"connection_id":141225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763536256,"raw_latitude":97909240,"longitude_deg":76.3536256,"latitude_deg":9.790924,"altitude":9,"angle":202,"satellites":26,"speed":9,"hex_longitude":"2d82a380","hex_latitude":"05d5f9f8","is_valid_coordinates":true} 
[2026-07-25 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956101120001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110357694317068288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033165296277723136,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784984771000,"timestamp_ms":1784984771000,"timestamp_seconds":1784984771,"priority":1,"record_length":96,"hex_timestamp":"0000019f996219b8"} 
[2026-07-25 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956101120001,"66":12841,"156":206,"85":15104,"24":9,"16":110357694317068288,"45":-9033165296277723136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956101120001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110357694317068288,"km_value":110357694317068.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033165296277723136,"description":"Unknown IO ID 45"} 
[2026-07-25 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956101120001,"power":12841,"unknown_156":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9033165296277723136}} 
[2026-07-25 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":141225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544152,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:36:29] local.INFO: GPS data processed {"connection_id":141225,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:36:29] local.INFO: Acknowledgment sent {"connection_id":141225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:36:31] local.INFO: TCP Data received {"connection_id":142256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:31] local.INFO: Processing buffer {"connection_id":142256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:36:31] local.INFO: IMEI packet received {"connection_id":142256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":142256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:36:32] local.INFO: TCP Data received {"connection_id":142256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f995fc7f8012d19d440072399f00037011127..."} 
[2026-07-25 18:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f995fc7f8012d19d440072399f00037011127..."} 
[2026-07-25 18:36:32] local.INFO: Processing buffer {"connection_id":142256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f995fc7f8012d19d440072399f00037011127..."} 
[2026-07-25 18:36:32] local.INFO: Packet analysis {"connection_id":142256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:36:32] local.INFO: Extracted packet for processing {"connection_id":142256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f995f"} 
[2026-07-25 18:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":39,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956057088001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:32] 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-07-25 18:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984619000,"timestamp_ms":1784984619000,"timestamp_seconds":1784984619,"priority":1,"record_length":96,"hex_timestamp":"0000019f995fc7f8"} 
[2026-07-25 18:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956057088001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956057088001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:36:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956057088001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":142256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:36:32] local.INFO: GPS data processed {"connection_id":142256,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:36:32] local.INFO: Acknowledgment sent {"connection_id":142256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:36:50] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:36:50] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:36:50] local.INFO: IMEI packet received {"connection_id":141277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":141277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:36:56] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:36:56] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:36:56] local.INFO: IMEI packet received {"connection_id":141277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":141277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:36:57] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99621da0012d82a2c005d5f958000900e21a..."} 
[2026-07-25 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99621da0012d82a2c005d5f958000900e21a..."} 
[2026-07-25 18:36:57] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99621da0012d82a2c005d5f958000900e21a..."} 
[2026-07-25 18:36:57] local.INFO: Packet analysis {"connection_id":141277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:36:57] local.INFO: Extracted packet for processing {"connection_id":141277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763536064,"raw_latitude":97909080,"longitude_deg":76.3536064,"latitude_deg":9.790908,"altitude":9,"angle":226,"satellites":26,"speed":8,"hex_longitude":"2d82a2c0","hex_latitude":"05d5f958","is_valid_coordinates":true} 
[2026-07-25 18:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956101376001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110357702907002880,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033235665021962240,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784984772000,"timestamp_ms":1784984772000,"timestamp_seconds":1784984772,"priority":1,"record_length":96,"hex_timestamp":"0000019f99621da0"} 
[2026-07-25 18:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956101376001,"66":12982,"156":206,"85":15104,"24":8,"16":110357702907002880,"45":-9033235665021962240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956101376001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:36:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110357702907002880,"km_value":110357702907002.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033235665021962240,"description":"Unknown IO ID 45"} 
[2026-07-25 18:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956101376001,"power":12982,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9033235665021962240}} 
[2026-07-25 18:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":141277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:36:57] local.INFO: GPS data processed {"connection_id":141277,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:36:57] local.INFO: Acknowledgment sent {"connection_id":141277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:36:59] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99622188012d82a24005d5f8f0000900f91a..."} 
[2026-07-25 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99622188012d82a24005d5f8f0000900f91a..."} 
[2026-07-25 18:36:59] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99622188012d82a24005d5f8f0000900f91a..."} 
[2026-07-25 18:36:59] local.INFO: Packet analysis {"connection_id":141277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:36:59] local.INFO: Extracted packet for processing {"connection_id":141277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763535936,"raw_latitude":97908976,"longitude_deg":76.3535936,"latitude_deg":9.7908976,"altitude":9,"angle":249,"satellites":26,"speed":5,"hex_longitude":"2d82a240","hex_latitude":"05d5f8f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956101632001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110357711496937472,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033446771254536192,"note":"Value kept but may cause issues"} 
[2026-07-25 18:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784984773000,"timestamp_ms":1784984773000,"timestamp_seconds":1784984773,"priority":1,"record_length":96,"hex_timestamp":"0000019f99622188"} 
[2026-07-25 18:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 18:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:36: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-07-25 18:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956101632001,"66":12982,"156":206,"85":15104,"24":5,"16":110357711496937472,"45":-9033446771254536192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956101632001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:36:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110357711496937472,"km_value":110357711496937.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033446771254536192,"description":"Unknown IO ID 45"} 
[2026-07-25 18:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956101632001,"power":12982,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9033446771254536192}} 
[2026-07-25 18:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":141277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:36:59] local.INFO: GPS data processed {"connection_id":141277,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:36:59] local.INFO: Acknowledgment sent {"connection_id":141277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:37:03] local.INFO: TCP Data received {"connection_id":142256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99601a00012d19d440072399f0003701112c..."} 
[2026-07-25 18:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99601a00012d19d440072399f0003701112c..."} 
[2026-07-25 18:37:03] local.INFO: Processing buffer {"connection_id":142256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99601a00012d19d440072399f0003701112c..."} 
[2026-07-25 18:37:03] local.INFO: Packet analysis {"connection_id":142256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:37:03] local.INFO: Extracted packet for processing {"connection_id":142256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956062464001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:03] 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-07-25 18:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984640000,"timestamp_ms":1784984640000,"timestamp_seconds":1784984640,"priority":1,"record_length":96,"hex_timestamp":"0000019f99601a00"} 
[2026-07-25 18:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956062464001,"66":12406,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956062464001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:37:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956062464001,"power":12406,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":142256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:37:03] local.INFO: GPS data processed {"connection_id":142256,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:37:03] local.INFO: Acknowledgment sent {"connection_id":142256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:37:26] local.INFO: TCP Data received {"connection_id":143635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:26] local.INFO: Processing buffer {"connection_id":143635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:26] local.INFO: IMEI packet received {"connection_id":143635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":143635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:37:27] local.INFO: TCP Data received {"connection_id":143635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:27] local.INFO: Processing buffer {"connection_id":143635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:27] local.INFO: IMEI packet received {"connection_id":143635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":143635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:37:31] local.INFO: TCP Data received {"connection_id":143635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:31] local.INFO: Processing buffer {"connection_id":143635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:37:31] local.INFO: IMEI packet received {"connection_id":143635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":143635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:37:32] local.INFO: TCP Data received {"connection_id":143635,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99606c08012d19d440072399f0003701112a..."} 
[2026-07-25 18:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99606c08012d19d440072399f0003701112a..."} 
[2026-07-25 18:37:32] local.INFO: Processing buffer {"connection_id":143635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99606c08012d19d440072399f0003701112a..."} 
[2026-07-25 18:37:32] local.INFO: Packet analysis {"connection_id":143635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:37:32] local.INFO: Extracted packet for processing {"connection_id":143635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956067840001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:32] 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-07-25 18:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984661000,"timestamp_ms":1784984661000,"timestamp_seconds":1784984661,"priority":1,"record_length":96,"hex_timestamp":"0000019f99606c08"} 
[2026-07-25 18:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 18:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956067840001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956067840001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956067840001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":143635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:37:32] local.INFO: GPS data processed {"connection_id":143635,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:37:32] local.INFO: Acknowledgment sent {"connection_id":143635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:37:51] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99624c80012d829f8005d5f7f0000901041a..."} 
[2026-07-25 18:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99624c80012d829f8005d5f7f0000901041a..."} 
[2026-07-25 18:37:51] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99624c80012d829f8005d5f7f0000901041a..."} 
[2026-07-25 18:37:51] local.INFO: Packet analysis {"connection_id":141277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:37:51] local.INFO: Extracted packet for processing {"connection_id":141277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:37:51] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":97908720,"longitude_deg":76.3535232,"latitude_deg":9.790872,"altitude":9,"angle":260,"satellites":26,"speed":11,"hex_longitude":"2d829f80","hex_latitude":"05d5f7f0","is_valid_coordinates":true} 
[2026-07-25 18:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956101888001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110357758741577728,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033587508742918144,"note":"Value kept but may cause issues"} 
[2026-07-25 18:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784984784000,"timestamp_ms":1784984784000,"timestamp_seconds":1784984784,"priority":1,"record_length":96,"hex_timestamp":"0000019f99624c80"} 
[2026-07-25 18:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 18:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956101888001,"66":13037,"156":206,"85":15104,"24":11,"16":110357758741577728,"45":-9033587508742918144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-25 18:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956101888001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:37:51] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 18:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110357758741577728,"km_value":110357758741577.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033587508742918144,"description":"Unknown IO ID 45"} 
[2026-07-25 18:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956101888001,"power":13037,"unknown_156":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9033587508742918144}} 
[2026-07-25 18:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":141277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:37:51] local.INFO: GPS data processed {"connection_id":141277,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:37:51] local.INFO: Acknowledgment sent {"connection_id":141277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:38:03] local.INFO: TCP Data received {"connection_id":143635,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9960be10012d19d440072399f00037011128..."} 
[2026-07-25 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9960be10012d19d440072399f00037011128..."} 
[2026-07-25 18:38:03] local.INFO: Processing buffer {"connection_id":143635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9960be10012d19d440072399f00037011128..."} 
[2026-07-25 18:38:03] local.INFO: Packet analysis {"connection_id":143635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:38:03] local.INFO: Extracted packet for processing {"connection_id":143635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9960"} 
[2026-07-25 18:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956073216001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:03] 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-07-25 18:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984682000,"timestamp_ms":1784984682000,"timestamp_seconds":1784984682,"priority":1,"record_length":96,"hex_timestamp":"0000019f9960be10"} 
[2026-07-25 18:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956073216001,"66":12341,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956073216001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956073216001,"power":12341,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":143635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:38:03] local.INFO: GPS data processed {"connection_id":143635,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:38:03] local.INFO: Acknowledgment sent {"connection_id":143635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:38:24] local.INFO: TCP Data received {"connection_id":141276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:38:24] local.INFO: Processing buffer {"connection_id":141276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:38:24] local.INFO: IMEI packet received {"connection_id":141276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":141276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:38:26] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:26] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:26] local.INFO: IMEI packet received {"connection_id":141278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":141278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:38:29] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:29] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:29] local.INFO: IMEI packet received {"connection_id":141278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":141278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:38:31] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:31] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:38:31] local.INFO: IMEI packet received {"connection_id":141278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":141278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:38:32] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99611018012d19d440072399f0003701112a..."} 
[2026-07-25 18:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99611018012d19d440072399f0003701112a..."} 
[2026-07-25 18:38:32] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99611018012d19d440072399f0003701112a..."} 
[2026-07-25 18:38:32] local.INFO: Packet analysis {"connection_id":141278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:38:32] local.INFO: Extracted packet for processing {"connection_id":141278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956078592001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:32] 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-07-25 18:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984703000,"timestamp_ms":1784984703000,"timestamp_seconds":1784984703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99611018"} 
[2026-07-25 18:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 18:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956078592001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956078592001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:38:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956078592001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":141278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:38:32] local.INFO: GPS data processed {"connection_id":141278,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:38:32] local.INFO: Acknowledgment sent {"connection_id":141278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:38:36] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99616220012d19d440072399f0003701112a..."} 
[2026-07-25 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99616220012d19d440072399f0003701112a..."} 
[2026-07-25 18:38:36] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99616220012d19d440072399f0003701112a..."} 
[2026-07-25 18:38:36] local.INFO: Packet analysis {"connection_id":141278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:38:36] local.INFO: Extracted packet for processing {"connection_id":141278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956083968001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:38:36] 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-07-25 18:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784984724000,"timestamp_ms":1784984724000,"timestamp_seconds":1784984724,"priority":1,"record_length":96,"hex_timestamp":"0000019f99616220"} 
[2026-07-25 18:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956083968001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956083968001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:38:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:38:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956083968001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":141278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:38:37] local.INFO: GPS data processed {"connection_id":141278,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:38:37] local.INFO: Acknowledgment sent {"connection_id":141278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:38:49] local.INFO: TCP Data received {"connection_id":141228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:38:49] local.INFO: Processing buffer {"connection_id":141228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:38:49] local.INFO: IMEI packet received {"connection_id":141228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":141228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:39:08] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9961b428012d19d440072399f00037011129..."} 
[2026-07-25 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9961b428012d19d440072399f00037011129..."} 
[2026-07-25 18:39:08] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9961b428012d19d440072399f00037011129..."} 
[2026-07-25 18:39:08] local.INFO: Packet analysis {"connection_id":141278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:39:08] local.INFO: Extracted packet for processing {"connection_id":141278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9961"} 
[2026-07-25 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956089344001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:39:08] 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-07-25 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784984745000,"timestamp_ms":1784984745000,"timestamp_seconds":1784984745,"priority":1,"record_length":96,"hex_timestamp":"0000019f9961b428"} 
[2026-07-25 18:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956089344001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956089344001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:39:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:39:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956089344001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":141278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:39:08] local.INFO: GPS data processed {"connection_id":141278,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:39:08] local.INFO: Acknowledgment sent {"connection_id":141278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:39:26] local.INFO: TCP Data received {"connection_id":142259,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:39:26] local.INFO: Processing buffer {"connection_id":142259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:39:26] local.INFO: IMEI packet received {"connection_id":142259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":142259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:39:31] local.INFO: TCP Data received {"connection_id":142259,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:39:31] local.INFO: Processing buffer {"connection_id":142259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:39:31] local.INFO: IMEI packet received {"connection_id":142259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":142259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:39:32] local.INFO: TCP Data received {"connection_id":142259,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99620630012d19d440072399f0003701112a..."} 
[2026-07-25 18:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99620630012d19d440072399f0003701112a..."} 
[2026-07-25 18:39:32] local.INFO: Processing buffer {"connection_id":142259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99620630012d19d440072399f0003701112a..."} 
[2026-07-25 18:39:32] local.INFO: Packet analysis {"connection_id":142259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:39:32] local.INFO: Extracted packet for processing {"connection_id":142259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":42,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956094720001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:39:32] 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-07-25 18:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984766000,"timestamp_ms":1784984766000,"timestamp_seconds":1784984766,"priority":1,"record_length":96,"hex_timestamp":"0000019f99620630"} 
[2026-07-25 18:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956094720001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956094720001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:39:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956094720001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":142259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:39:32] local.INFO: GPS data processed {"connection_id":142259,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:39:32] local.INFO: Acknowledgment sent {"connection_id":142259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:40:03] local.INFO: TCP Data received {"connection_id":142259,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99625838012d19d440072399f00037011129..."} 
[2026-07-25 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99625838012d19d440072399f00037011129..."} 
[2026-07-25 18:40:03] local.INFO: Processing buffer {"connection_id":142259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99625838012d19d440072399f00037011129..."} 
[2026-07-25 18:40:03] local.INFO: Packet analysis {"connection_id":142259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:40:03] local.INFO: Extracted packet for processing {"connection_id":142259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":41,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956100096001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:03] 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-07-25 18:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984787000,"timestamp_ms":1784984787000,"timestamp_seconds":1784984787,"priority":1,"record_length":96,"hex_timestamp":"0000019f99625838"} 
[2026-07-25 18:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 18:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956100096001,"66":12319,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956100096001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:40:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956100096001,"power":12319,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":142259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:40:03] local.INFO: GPS data processed {"connection_id":142259,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:40:03] local.INFO: Acknowledgment sent {"connection_id":142259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:40:05] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:05] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:05] local.INFO: IMEI packet received {"connection_id":143636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":143636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:40:06] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99638118012da31cc005c3fef0000f00fe2b..."} 
[2026-07-25 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99638118012da31cc005c3fef0000f00fe2b..."} 
[2026-07-25 18:40:06] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99638118012da31cc005c3fef0000f00fe2b..."} 
[2026-07-25 18:40:06] local.INFO: Packet analysis {"connection_id":143636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:40:06] local.INFO: Extracted packet for processing {"connection_id":143636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":765664448,"raw_latitude":96730864,"longitude_deg":76.5664448,"latitude_deg":9.6730864,"altitude":15,"angle":254,"satellites":43,"speed":35,"hex_longitude":"2da31cc0","hex_latitude":"05c3fef0","is_valid_coordinates":true} 
[2026-07-25 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956124416001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358061459143393280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6691363859090892800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784984863000,"timestamp_ms":1784984863000,"timestamp_seconds":1784984863,"priority":1,"record_length":96,"hex_timestamp":"0000019f99638118"} 
[2026-07-25 18:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 18:40: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-07-25 18:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956124416001,"66":27908,"99":206,"83":16896,"24":35,"16":358061459143393280,"45":-6691363859090892800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-07-25 18:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956124416001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358061459143393280,"km_value":358061459143393.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6691363859090892800,"description":"Unknown IO ID 45"} 
[2026-07-25 18:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956124416001,"power":27908,"unknown_99":206,"unknown_83":16896,"ignition":35,"odometer":null,"unknown_45":-6691363859090892800}} 
[2026-07-25 18:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":143636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:40:06] local.INFO: GPS data processed {"connection_id":143636,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:40:06] local.INFO: Acknowledgment sent {"connection_id":143636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:40:26] local.INFO: TCP Data received {"connection_id":142261,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:40:26] local.INFO: Processing buffer {"connection_id":142261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:40:26] local.INFO: IMEI packet received {"connection_id":142261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":142261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:40:31] local.INFO: TCP Data received {"connection_id":142261,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:40:31] local.INFO: Processing buffer {"connection_id":142261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:40:31] local.INFO: IMEI packet received {"connection_id":142261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":142261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:40:32] local.INFO: TCP Data received {"connection_id":142261,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9962aa40012d19d440072399f0003701112b..."} 
[2026-07-25 18:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9962aa40012d19d440072399f0003701112b..."} 
[2026-07-25 18:40:32] local.INFO: Processing buffer {"connection_id":142261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9962aa40012d19d440072399f0003701112b..."} 
[2026-07-25 18:40:32] local.INFO: Packet analysis {"connection_id":142261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:40:32] local.INFO: Extracted packet for processing {"connection_id":142261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":43,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956105472001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:32] 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-07-25 18:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984808000,"timestamp_ms":1784984808000,"timestamp_seconds":1784984808,"priority":1,"record_length":96,"hex_timestamp":"0000019f9962aa40"} 
[2026-07-25 18:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 18:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956105472001,"66":12298,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956105472001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:40:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956105472001,"power":12298,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":142261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:40:32] local.INFO: GPS data processed {"connection_id":142261,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:40:32] local.INFO: Acknowledgment sent {"connection_id":142261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:40:37] local.INFO: TCP Data received {"connection_id":143636,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99638cd0012da3134005c3faf8001000f32b..."} 
[2026-07-25 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99638cd0012da3134005c3faf8001000f32b..."} 
[2026-07-25 18:40:37] local.INFO: Processing buffer {"connection_id":143636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99638cd0012da3134005c3faf8001000f32b..."} 
[2026-07-25 18:40:37] local.INFO: Packet analysis {"connection_id":143636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:40:37] local.INFO: Extracted packet for processing {"connection_id":143636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":765662016,"raw_latitude":96729848,"longitude_deg":76.5662016,"latitude_deg":9.6729848,"altitude":16,"angle":243,"satellites":43,"speed":35,"hex_longitude":"2da31340","hex_latitude":"05c3faf8","is_valid_coordinates":true} 
[2026-07-25 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956124928001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358061587992412160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6693263815183765504,"note":"Value kept but may cause issues"} 
[2026-07-25 18:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784984866000,"timestamp_ms":1784984866000,"timestamp_seconds":1784984866,"priority":1,"record_length":96,"hex_timestamp":"0000019f99638cd0"} 
[2026-07-25 18:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956124928001,"66":27571,"99":206,"83":16896,"24":35,"16":358061587992412160,"45":-6693263815183765504},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-07-25 18:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956124928001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358061587992412160,"km_value":358061587992412.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6693263815183765504,"description":"Unknown IO ID 45"} 
[2026-07-25 18:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956124928001,"power":27571,"unknown_99":206,"unknown_83":16896,"ignition":35,"odometer":null,"unknown_45":-6693263815183765504}} 
[2026-07-25 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":143636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:40:37] local.INFO: GPS data processed {"connection_id":143636,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:40:37] local.INFO: Acknowledgment sent {"connection_id":143636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:40:53] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:53] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:53] local.INFO: IMEI packet received {"connection_id":141230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":141230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:40:55] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:55] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:40:55] local.INFO: IMEI packet received {"connection_id":141230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":141230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:41:00] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:00] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:00] local.INFO: IMEI packet received {"connection_id":141230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":141230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:41:01] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9963b3e0012da2f30005c3e710000e00ea2c..."} 
[2026-07-25 18:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9963b3e0012da2f30005c3e710000e00ea2c..."} 
[2026-07-25 18:41:01] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9963b3e0012da2f30005c3e710000e00ea2c..."} 
[2026-07-25 18:41:01] local.INFO: Packet analysis {"connection_id":141230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:41:01] local.INFO: Extracted packet for processing {"connection_id":141230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765653760,"raw_latitude":96724752,"longitude_deg":76.565376,"latitude_deg":9.6724752,"altitude":14,"angle":234,"satellites":44,"speed":39,"hex_longitude":"2da2f300","hex_latitude":"05c3e710","is_valid_coordinates":true} 
[2026-07-25 18:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956125696001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358062051848880128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6695937827462776832,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784984876000,"timestamp_ms":1784984876000,"timestamp_seconds":1784984876,"priority":1,"record_length":96,"hex_timestamp":"0000019f9963b3e0"} 
[2026-07-25 18:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 18:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956125696001,"66":27995,"99":206,"83":16896,"24":39,"16":358062051848880128,"45":-6695937827462776832},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-07-25 18:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956125696001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358062051848880128,"km_value":358062051848880.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6695937827462776832,"description":"Unknown IO ID 45"} 
[2026-07-25 18:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956125696001,"power":27995,"unknown_99":206,"unknown_83":16896,"ignition":39,"odometer":null,"unknown_45":-6695937827462776832}} 
[2026-07-25 18:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":141230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:41:01] local.INFO: GPS data processed {"connection_id":141230,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:41:01] local.INFO: Acknowledgment sent {"connection_id":141230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:41:03] local.INFO: TCP Data received {"connection_id":142261,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9962fc48012d19d440072399f00037011128..."} 
[2026-07-25 18:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9962fc48012d19d440072399f00037011128..."} 
[2026-07-25 18:41:03] local.INFO: Processing buffer {"connection_id":142261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9962fc48012d19d440072399f00037011128..."} 
[2026-07-25 18:41:03] local.INFO: Packet analysis {"connection_id":142261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:41:03] local.INFO: Extracted packet for processing {"connection_id":142261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9962"} 
[2026-07-25 18:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119773680,"longitude_deg":75.6667456,"latitude_deg":11.977368,"altitude":55,"angle":273,"satellites":40,"speed":0,"hex_longitude":"2d19d440","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-07-25 18:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956110848001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819041032470528,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] 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-07-25 18:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784984829000,"timestamp_ms":1784984829000,"timestamp_seconds":1784984829,"priority":1,"record_length":96,"hex_timestamp":"0000019f9962fc48"} 
[2026-07-25 18:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":84,"raw_value":-2377900603251621887,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7394791806507083308,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":64,"raw_value":514424038525174033,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":55,"raw_value":76886649107120128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832579,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569844486350,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2582642743,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:41:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,177,83,24,241,157,16,84,159,88,45,64,153,55,41,10,66,6,42,180,1,240,97,227,35,4,113,205,212,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:41:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963468023444013056,"timestamp_seconds":3963468023444013.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956110848001,"66":12385,"177":206,"83":42752,"24":0,"16":8819041032470528,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956110848001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:41:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819041032470528,"km_value":8819041032470.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956110848001,"power":12385,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":142261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:41:03] local.INFO: GPS data processed {"connection_id":142261,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:41:03] local.INFO: Acknowledgment sent {"connection_id":142261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:41:28] local.INFO: TCP Data received {"connection_id":142262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:28] local.INFO: Processing buffer {"connection_id":142262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:28] local.INFO: IMEI packet received {"connection_id":142262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":142262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:41:29] local.INFO: TCP Data received {"connection_id":142262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:29] local.INFO: Processing buffer {"connection_id":142262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:29] local.INFO: IMEI packet received {"connection_id":142262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":142262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:41:31] local.INFO: TCP Data received {"connection_id":142262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:31] local.INFO: Processing buffer {"connection_id":142262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:31] local.INFO: IMEI packet received {"connection_id":142262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":142262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:41:32] local.INFO: TCP Data received {"connection_id":141230,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9963daf0012da2d60005c3ce90001000e62c..."} 
[2026-07-25 18:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9963daf0012da2d60005c3ce90001000e62c..."} 
[2026-07-25 18:41:32] local.INFO: Processing buffer {"connection_id":141230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9963daf0012da2d60005c3ce90001000e62c..."} 
[2026-07-25 18:41:32] local.INFO: Packet analysis {"connection_id":141230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:41:32] local.INFO: Extracted packet for processing {"connection_id":141230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9963"} 
[2026-07-25 18:41:32] local.INFO: GPS Element Parsed {"raw_longitude":765646336,"raw_latitude":96718480,"longitude_deg":76.5646336,"latitude_deg":9.671848,"altitude":16,"angle":230,"satellites":44,"speed":33,"hex_longitude":"2da2d600","hex_latitude":"05c3ce90","is_valid_coordinates":true} 
[2026-07-25 18:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956128256001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358062520000315392,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6705015395463000064,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784984886000,"timestamp_ms":1784984886000,"timestamp_seconds":1784984886,"priority":1,"record_length":96,"hex_timestamp":"0000019f9963daf0"} 
[2026-07-25 18:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-25 18:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956128256001,"66":27800,"99":206,"83":16896,"24":33,"16":358062520000315392,"45":-6705015395463000064},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,83,24,16,45]} 
[2026-07-25 18:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956128256001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:41:32] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-25 18:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358062520000315392,"km_value":358062520000315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6705015395463000064,"description":"Unknown IO ID 45"} 
[2026-07-25 18:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956128256001,"power":27800,"unknown_99":206,"unknown_83":16896,"ignition":33,"odometer":null,"unknown_45":-6705015395463000064}} 
[2026-07-25 18:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":141230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:41:32] local.INFO: GPS data processed {"connection_id":141230,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:41:32] local.INFO: Acknowledgment sent {"connection_id":141230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:41:36] local.INFO: TCP Data received {"connection_id":142262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:36] local.INFO: Processing buffer {"connection_id":142262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:41:36] local.INFO: IMEI packet received {"connection_id":142262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":142262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:41:37] local.INFO: TCP Data received {"connection_id":142262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99663868012d19d740072398c80037007628..."} 
[2026-07-25 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99663868012d19d740072398c80037007628..."} 
[2026-07-25 18:41:37] local.INFO: Processing buffer {"connection_id":142262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99663868012d19d740072398c80037007628..."} 
[2026-07-25 18:41:37] local.INFO: Packet analysis {"connection_id":142262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:41:37] local.INFO: Extracted packet for processing {"connection_id":142262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756668224,"raw_latitude":119773384,"longitude_deg":75.6668224,"latitude_deg":11.9773384,"altitude":55,"angle":118,"satellites":40,"speed":2,"hex_longitude":"2d19d740","hex_latitude":"072398c8","is_valid_coordinates":true} 
[2026-07-25 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956169984001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819079687176192,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945417097216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41: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-07-25 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784985041000,"timestamp_ms":1784985041000,"timestamp_seconds":1784985041,"priority":1,"record_length":96,"hex_timestamp":"0000019f99663868"} 
[2026-07-25 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-25 18:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956169984001,"66":12711,"177":206,"83":42752,"24":2,"16":8819079687176192,"45":1861182945417097216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956169984001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:41:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819079687176192,"km_value":8819079687176.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945417097216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956169984001,"power":12711,"unknown_177":206,"unknown_83":42752,"ignition":2,"odometer":null,"unknown_45":1861182945417097216}} 
[2026-07-25 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":142262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:41:37] local.INFO: GPS data processed {"connection_id":142262,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:41:37] local.INFO: Acknowledgment sent {"connection_id":142262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:41:41] local.INFO: TCP Data received {"connection_id":142262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99664038012d19d780072398500037008828..."} 
[2026-07-25 18:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99664038012d19d780072398500037008828..."} 
[2026-07-25 18:41:41] local.INFO: Processing buffer {"connection_id":142262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99664038012d19d780072398500037008828..."} 
[2026-07-25 18:41:41] local.INFO: Packet analysis {"connection_id":142262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:41:41] local.INFO: Extracted packet for processing {"connection_id":142262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756668288,"raw_latitude":119773264,"longitude_deg":75.6668288,"latitude_deg":11.9773264,"altitude":55,"angle":136,"satellites":40,"speed":4,"hex_longitude":"2d19d780","hex_latitude":"07239850","is_valid_coordinates":true} 
[2026-07-25 18:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956170496001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819088277110784,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862027370347153408,"note":"Value kept but may cause issues"} 
[2026-07-25 18:41:41] 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-07-25 18:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784985043000,"timestamp_ms":1784985043000,"timestamp_seconds":1784985043,"priority":1,"record_length":96,"hex_timestamp":"0000019f99664038"} 
[2026-07-25 18:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-25 18:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956170496001,"66":12743,"177":206,"83":42752,"24":4,"16":8819088277110784,"45":1862027370347153408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956170496001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:41:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819088277110784,"km_value":8819088277110.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862027370347153408,"description":"Unknown IO ID 45"} 
[2026-07-25 18:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956170496001,"power":12743,"unknown_177":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1862027370347153408}} 
[2026-07-25 18:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":142262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:41:42] local.INFO: GPS data processed {"connection_id":142262,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:41:42] local.INFO: Acknowledgment sent {"connection_id":142262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:41:55] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:55] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:55] local.INFO: IMEI packet received {"connection_id":143638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":143638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:41:57] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:57] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:41:57] local.INFO: IMEI packet received {"connection_id":143638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":143638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:42:00] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:00] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:00] local.INFO: IMEI packet received {"connection_id":143638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":143638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:42:01] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f996676e8012da1fe4005c3a1f8001a01002a..."} 
[2026-07-25 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996676e8012da1fe4005c3a1f8001a01002a..."} 
[2026-07-25 18:42:01] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996676e8012da1fe4005c3a1f8001a01002a..."} 
[2026-07-25 18:42:01] local.INFO: Packet analysis {"connection_id":143638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:01] local.INFO: Extracted packet for processing {"connection_id":143638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":765591104,"raw_latitude":96707064,"longitude_deg":76.5591104,"latitude_deg":9.6707064,"altitude":26,"angle":256,"satellites":42,"speed":16,"hex_longitude":"2da1fe40","hex_latitude":"05c3a1f8","is_valid_coordinates":true} 
[2026-07-25 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956169216001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358065255894482944,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6767643577785264128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985057000,"timestamp_ms":1784985057000,"timestamp_seconds":1784985057,"priority":1,"record_length":96,"hex_timestamp":"0000019f996676e8"} 
[2026-07-25 18:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-25 18:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956169216001,"66":28006,"168":206,"83":16896,"24":16,"16":358065255894482944,"45":-6767643577785264128},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 18:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956169216001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:42:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 18:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358065255894482944,"km_value":358065255894482.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6767643577785264128,"description":"Unknown IO ID 45"} 
[2026-07-25 18:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956169216001,"power":28006,"unknown_168":206,"unknown_83":16896,"ignition":16,"odometer":null,"unknown_45":-6767643577785264128}} 
[2026-07-25 18:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":143638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:42:01] local.INFO: GPS data processed {"connection_id":143638,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:42:01] local.INFO: Acknowledgment sent {"connection_id":143638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:42:05] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9966ad98012da1db4005c39a28001a010328..."} 
[2026-07-25 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9966ad98012da1db4005c39a28001a010328..."} 
[2026-07-25 18:42:05] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9966ad98012da1db4005c39a28001a010328..."} 
[2026-07-25 18:42:05] local.INFO: Packet analysis {"connection_id":143638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:05] local.INFO: Extracted packet for processing {"connection_id":143638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":765582144,"raw_latitude":96705064,"longitude_deg":76.5582144,"latitude_deg":9.6705064,"altitude":26,"angle":259,"satellites":40,"speed":29,"hex_longitude":"2da1db40","hex_latitude":"05c39a28","is_valid_coordinates":true} 
[2026-07-25 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956174592001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358065698276114432,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6773906396017461248,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784985071000,"timestamp_ms":1784985071000,"timestamp_seconds":1784985071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9966ad98"} 
[2026-07-25 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:42: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-07-25 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 18:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956174592001,"66":27908,"168":206,"83":16896,"24":29,"16":358065698276114432,"45":-6773906396017461248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956174592001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:42:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 18:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358065698276114432,"km_value":358065698276114.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6773906396017461248,"description":"Unknown IO ID 45"} 
[2026-07-25 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956174592001,"power":27908,"unknown_168":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6773906396017461248}} 
[2026-07-25 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":143638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:42:05] local.INFO: GPS data processed {"connection_id":143638,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:42:05] local.INFO: Acknowledgment sent {"connection_id":143638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:42:26] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:42:26] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:42:26] local.INFO: IMEI packet received {"connection_id":141280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":141280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:42:31] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:42:31] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:42:31] local.INFO: IMEI packet received {"connection_id":141280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":141280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:42:32] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99664420012d19d800072397f0003700a528..."} 
[2026-07-25 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99664420012d19d800072397f0003700a528..."} 
[2026-07-25 18:42:32] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99664420012d19d800072397f0003700a528..."} 
[2026-07-25 18:42:32] local.INFO: Packet analysis {"connection_id":141280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:32] local.INFO: Extracted packet for processing {"connection_id":141280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119773168,"longitude_deg":75.6668416,"latitude_deg":11.9773168,"altitude":55,"angle":165,"satellites":40,"speed":4,"hex_longitude":"2d19d800","hex_latitude":"072397f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956171008001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819092572078080,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862097739091300352,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:32] 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-07-25 18:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985044000,"timestamp_ms":1784985044000,"timestamp_seconds":1784985044,"priority":1,"record_length":96,"hex_timestamp":"0000019f99664420"} 
[2026-07-25 18:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":199,"data_length":795,"current_offset":136} 
[2026-07-25 18:42: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-07-25 18: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-07-25 18:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956171008001,"66":12743,"177":206,"83":42752,"24":4,"16":8819092572078080,"45":1862097739091300352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956171008001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819092572078080,"km_value":8819092572078.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862097739091300352,"description":"Unknown IO ID 45"} 
[2026-07-25 18:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956171008001,"power":12743,"unknown_177":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1862097739091300352}} 
[2026-07-25 18:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":141280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:42:32] local.INFO: GPS data processed {"connection_id":141280,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:42:32] local.INFO: Acknowledgment sent {"connection_id":141280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:42:37] local.INFO: TCP Data received {"connection_id":143638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9966ccd8012da1ca8005c39650001b00f72a..."} 
[2026-07-25 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9966ccd8012da1ca8005c39650001b00f72a..."} 
[2026-07-25 18:42:37] local.INFO: Processing buffer {"connection_id":143638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9966ccd8012da1ca8005c39650001b00f72a..."} 
[2026-07-25 18:42:37] local.INFO: Packet analysis {"connection_id":143638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:37] local.INFO: Extracted packet for processing {"connection_id":143638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":765577856,"raw_latitude":96704080,"longitude_deg":76.5577856,"latitude_deg":9.670408,"altitude":27,"angle":247,"satellites":42,"speed":15,"hex_longitude":"2da1ca80","hex_latitude":"05c39650","is_valid_coordinates":true} 
[2026-07-25 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956178176001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358065908729511936,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6783758020202846208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784985079000,"timestamp_ms":1784985079000,"timestamp_seconds":1784985079,"priority":1,"record_length":96,"hex_timestamp":"0000019f9966ccd8"} 
[2026-07-25 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956178176001,"66":27800,"168":206,"83":16896,"24":15,"16":358065908729511936,"45":-6783758020202846208},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956178176001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:42:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 18:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358065908729511936,"km_value":358065908729511.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6783758020202846208,"description":"Unknown IO ID 45"} 
[2026-07-25 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956178176001,"power":27800,"unknown_168":206,"unknown_83":16896,"ignition":15,"odometer":null,"unknown_45":-6783758020202846208}} 
[2026-07-25 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":143638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:42:37] local.INFO: GPS data processed {"connection_id":143638,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:42:37] local.INFO: Acknowledgment sent {"connection_id":143638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:42:54] local.INFO: TCP Data received {"connection_id":141281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:54] local.INFO: Processing buffer {"connection_id":141281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:54] local.INFO: IMEI packet received {"connection_id":141281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":141281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:42:55] local.INFO: TCP Data received {"connection_id":141281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:55] local.INFO: Processing buffer {"connection_id":141281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:42:55] local.INFO: IMEI packet received {"connection_id":141281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":141281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:43:00] local.INFO: TCP Data received {"connection_id":141281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:43:00] local.INFO: Processing buffer {"connection_id":141281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:43:00] local.INFO: IMEI packet received {"connection_id":141281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":141281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:43:01] local.INFO: TCP Data received {"connection_id":141281,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9966f3e8012da1c10005c39210001e00e728..."} 
[2026-07-25 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9966f3e8012da1c10005c39210001e00e728..."} 
[2026-07-25 18:43:01] local.INFO: Processing buffer {"connection_id":141281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9966f3e8012da1c10005c39210001e00e728..."} 
[2026-07-25 18:43:01] local.INFO: Packet analysis {"connection_id":141281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:43:01] local.INFO: Extracted packet for processing {"connection_id":141281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:43:01] local.INFO: GPS Element Parsed {"raw_longitude":765575424,"raw_latitude":96702992,"longitude_deg":76.5575424,"latitude_deg":9.6702992,"altitude":30,"angle":231,"satellites":40,"speed":7,"hex_longitude":"2da1c100","hex_latitude":"05c39210","is_valid_coordinates":true} 
[2026-07-25 18:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956180224001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358066037578530816,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6788472726063001600,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985089000,"timestamp_ms":1784985089000,"timestamp_seconds":1784985089,"priority":1,"record_length":96,"hex_timestamp":"0000019f9966f3e8"} 
[2026-07-25 18:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 18:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956180224001,"66":27843,"168":206,"83":16896,"24":7,"16":358066037578530816,"45":-6788472726063001600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 18:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956180224001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 18:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358066037578530816,"km_value":358066037578530.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6788472726063001600,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956180224001,"power":27843,"unknown_168":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6788472726063001600}} 
[2026-07-25 18:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":141281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:01] local.INFO: GPS data processed {"connection_id":141281,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:01] local.INFO: Acknowledgment sent {"connection_id":141281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:43:03] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99664808012d19d80007239798003700d129..."} 
[2026-07-25 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99664808012d19d80007239798003700d129..."} 
[2026-07-25 18:43:03] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99664808012d19d80007239798003700d129..."} 
[2026-07-25 18:43:03] local.INFO: Packet analysis {"connection_id":141280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:43:03] local.INFO: Extracted packet for processing {"connection_id":141280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119773080,"longitude_deg":75.6668416,"latitude_deg":11.977308,"altitude":55,"angle":209,"satellites":41,"speed":3,"hex_longitude":"2d19d800","hex_latitude":"07239798","is_valid_coordinates":true} 
[2026-07-25 18:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956171264001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819096867045376,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476579631104,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:03] 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-07-25 18:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985045000,"timestamp_ms":1784985045000,"timestamp_seconds":1784985045,"priority":1,"record_length":96,"hex_timestamp":"0000019f99664808"} 
[2026-07-25 18:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 18:43: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-07-25 18:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956171264001,"66":12722,"177":206,"83":42752,"24":3,"16":8819096867045376,"45":1862238476579631104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956171264001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819096867045376,"km_value":8819096867045.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476579631104,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956171264001,"power":12722,"unknown_177":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1862238476579631104}} 
[2026-07-25 18:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":141280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:03] local.INFO: GPS data processed {"connection_id":141280,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:03] local.INFO: Acknowledgment sent {"connection_id":141280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:43:16] local.INFO: TCP Data received {"connection_id":143639,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:16] local.INFO: Processing buffer {"connection_id":143639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:16] local.INFO: IMEI packet received {"connection_id":143639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":143639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:43:17] local.INFO: TCP Data received {"connection_id":143639,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99670f40012d81c6c005d34bd0000800ac19..."} 
[2026-07-25 18:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99670f40012d81c6c005d34bd0000800ac19..."} 
[2026-07-25 18:43:17] local.INFO: Processing buffer {"connection_id":143639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99670f40012d81c6c005d34bd0000800ac19..."} 
[2026-07-25 18:43:17] local.INFO: Packet analysis {"connection_id":143639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:43:17] local.INFO: Extracted packet for processing {"connection_id":143639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763479744,"raw_latitude":97733584,"longitude_deg":76.3479744,"latitude_deg":9.7733584,"altitude":8,"angle":172,"satellites":25,"speed":20,"hex_longitude":"2d81c6c0","hex_latitude":"05d34bd0","is_valid_coordinates":true} 
[2026-07-25 18:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956182016001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110369389513015296,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096215691103596544,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784985096000,"timestamp_ms":1784985096000,"timestamp_seconds":1784985096,"priority":1,"record_length":96,"hex_timestamp":"0000019f99670f40"} 
[2026-07-25 18:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 18:43: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-07-25 18:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956182016001,"66":12385,"166":206,"85":15104,"24":20,"16":110369389513015296,"45":-9096215691103596544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-25 18:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956182016001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:17] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-25 18:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110369389513015296,"km_value":110369389513015.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096215691103596544,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956182016001,"power":12385,"unknown_166":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9096215691103596544}} 
[2026-07-25 18:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":143639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:17] local.INFO: GPS data processed {"connection_id":143639,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:17] local.INFO: Acknowledgment sent {"connection_id":143639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:43:26] local.INFO: TCP Data received {"connection_id":141282,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:43:26] local.INFO: Processing buffer {"connection_id":141282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:43:26] local.INFO: IMEI packet received {"connection_id":141282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":141282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:43:31] local.INFO: TCP Data received {"connection_id":141282,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:43:31] local.INFO: Processing buffer {"connection_id":141282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:43:31] local.INFO: IMEI packet received {"connection_id":141282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":141282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:43:32] local.INFO: TCP Data received {"connection_id":141282,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99664fd8012d19d80007239798003700132a..."} 
[2026-07-25 18:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99664fd8012d19d80007239798003700132a..."} 
[2026-07-25 18:43:32] local.INFO: Processing buffer {"connection_id":141282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99664fd8012d19d80007239798003700132a..."} 
[2026-07-25 18:43:32] local.INFO: Packet analysis {"connection_id":141282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:43:32] local.INFO: Extracted packet for processing {"connection_id":141282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756668416,"raw_latitude":119773080,"longitude_deg":75.6668416,"latitude_deg":11.977308,"altitude":55,"angle":19,"satellites":42,"speed":0,"hex_longitude":"2d19d800","hex_latitude":"07239798","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956171520001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819105456979968,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476579608576,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:32] 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-07-25 18:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985047000,"timestamp_ms":1784985047000,"timestamp_seconds":1784985047,"priority":1,"record_length":96,"hex_timestamp":"0000019f99664fd8"} 
[2026-07-25 18:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:43: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-07-25 18: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-07-25 18:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956171520001,"66":12689,"177":206,"83":42752,"24":0,"16":8819105456979968,"45":1862238476579608576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956171520001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819105456979968,"km_value":8819105456979.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476579608576,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956171520001,"power":12689,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862238476579608576}} 
[2026-07-25 18:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":141282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:32] local.INFO: GPS data processed {"connection_id":141282,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:32] local.INFO: Acknowledgment sent {"connection_id":141282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:43:32] local.INFO: TCP Data received {"connection_id":141281,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99682c68012da1670005c38e18002401282b..."} 
[2026-07-25 18:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99682c68012da1670005c38e18002401282b..."} 
[2026-07-25 18:43:32] local.INFO: Processing buffer {"connection_id":141281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99682c68012da1670005c38e18002401282b..."} 
[2026-07-25 18:43:32] local.INFO: Packet analysis {"connection_id":141281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:43:32] local.INFO: Extracted packet for processing {"connection_id":141281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:43:32] local.INFO: GPS Element Parsed {"raw_longitude":765552384,"raw_latitude":96701976,"longitude_deg":76.5552384,"latitude_deg":9.6701976,"altitude":36,"angle":296,"satellites":43,"speed":25,"hex_longitude":"2da16700","hex_latitude":"05c38e18","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956203008001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358067227284471808,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6815846167548717056,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985169000,"timestamp_ms":1784985169000,"timestamp_seconds":1784985169,"priority":1,"record_length":96,"hex_timestamp":"0000019f99682c68"} 
[2026-07-25 18:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956203008001,"66":27865,"170":206,"83":16896,"24":25,"16":358067227284471808,"45":-6815846167548717056},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956203008001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358067227284471808,"km_value":358067227284471.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6815846167548717056,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956203008001,"power":27865,"unknown_170":206,"unknown_83":16896,"ignition":25,"odometer":null,"unknown_45":-6815846167548717056}} 
[2026-07-25 18:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":141281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:32] local.INFO: GPS data processed {"connection_id":141281,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:32] local.INFO: Acknowledgment sent {"connection_id":141281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:43:45] local.INFO: TCP Data received {"connection_id":143640,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:45] local.INFO: Processing buffer {"connection_id":143640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:45] local.INFO: IMEI packet received {"connection_id":143640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":143640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:43:50] local.INFO: TCP Data received {"connection_id":143640,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143640,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:50] local.INFO: Processing buffer {"connection_id":143640,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:43:50] local.INFO: IMEI packet received {"connection_id":143640,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":143640,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:43:51] local.INFO: TCP Data received {"connection_id":143640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996899c8012d827f8005d349d0000a008c1b..."} 
[2026-07-25 18:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996899c8012d827f8005d349d0000a008c1b..."} 
[2026-07-25 18:43:51] local.INFO: Processing buffer {"connection_id":143640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996899c8012d827f8005d349d0000a008c1b..."} 
[2026-07-25 18:43:51] local.INFO: Packet analysis {"connection_id":143640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:43:51] local.INFO: Extracted packet for processing {"connection_id":143640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:43:51] local.INFO: GPS Element Parsed {"raw_longitude":763527040,"raw_latitude":97733072,"longitude_deg":76.352704,"latitude_deg":9.7733072,"altitude":10,"angle":140,"satellites":27,"speed":12,"hex_longitude":"2d827f80","hex_latitude":"05d349d0","is_valid_coordinates":true} 
[2026-07-25 18:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956210176001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110371743155093504,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043579870461132800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784985197000,"timestamp_ms":1784985197000,"timestamp_seconds":1784985197,"priority":1,"record_length":96,"hex_timestamp":"0000019f996899c8"} 
[2026-07-25 18:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 18:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956210176001,"66":12287,"68":206,"85":15104,"24":12,"16":110371743155093504,"45":-9043579870461132800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956210176001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110371743155093504,"km_value":110371743155093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043579870461132800,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956210176001,"power":12287,"unknown_68":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9043579870461132800}} 
[2026-07-25 18:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":143640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:51] local.INFO: GPS data processed {"connection_id":143640,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:51] local.INFO: Acknowledgment sent {"connection_id":143640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:43:55] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:43:55] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:43:55] local.INFO: IMEI packet received {"connection_id":141231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":141231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:43:56] local.INFO: TCP Data received {"connection_id":143640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9968a198012d82808005d34850000a00a41b..."} 
[2026-07-25 18:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9968a198012d82808005d34850000a00a41b..."} 
[2026-07-25 18:43:56] local.INFO: Processing buffer {"connection_id":143640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9968a198012d82808005d34850000a00a41b..."} 
[2026-07-25 18:43:56] local.INFO: Packet analysis {"connection_id":143640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:43:56] local.INFO: Extracted packet for processing {"connection_id":143640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763527296,"raw_latitude":97732688,"longitude_deg":76.3527296,"latitude_deg":9.7732688,"altitude":10,"angle":164,"satellites":27,"speed":6,"hex_longitude":"2d828080","hex_latitude":"05d34850","is_valid_coordinates":true} 
[2026-07-25 18:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956210432001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110371764629929984,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043368764228644864,"note":"Value kept but may cause issues"} 
[2026-07-25 18:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784985199000,"timestamp_ms":1784985199000,"timestamp_seconds":1784985199,"priority":1,"record_length":96,"hex_timestamp":"0000019f9968a198"} 
[2026-07-25 18:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 18:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956210432001,"66":12765,"68":206,"85":15104,"24":6,"16":110371764629929984,"45":-9043368764228644864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956210432001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:43:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110371764629929984,"km_value":110371764629929.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043368764228644864,"description":"Unknown IO ID 45"} 
[2026-07-25 18:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956210432001,"power":12765,"unknown_68":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9043368764228644864}} 
[2026-07-25 18:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":143640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:43:56] local.INFO: GPS data processed {"connection_id":143640,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:43:56] local.INFO: Acknowledgment sent {"connection_id":143640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:00] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:44:00] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:44:00] local.INFO: IMEI packet received {"connection_id":141231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":141231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:44:01] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99683438012da1628005c390f8002401352a..."} 
[2026-07-25 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99683438012da1628005c390f8002401352a..."} 
[2026-07-25 18:44:01] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99683438012da1628005c390f8002401352a..."} 
[2026-07-25 18:44:01] local.INFO: Packet analysis {"connection_id":141231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:01] local.INFO: Extracted packet for processing {"connection_id":141231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":765551232,"raw_latitude":96702712,"longitude_deg":76.5551232,"latitude_deg":9.6702712,"altitude":36,"angle":309,"satellites":42,"speed":26,"hex_longitude":"2da16280","hex_latitude":"05c390f8","is_valid_coordinates":true} 
[2026-07-25 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956203264001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358067296003948544,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6816479486246250496,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985171000,"timestamp_ms":1784985171000,"timestamp_seconds":1784985171,"priority":1,"record_length":96,"hex_timestamp":"0000019f99683438"} 
[2026-07-25 18:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956203264001,"66":27876,"170":206,"83":16896,"24":26,"16":358067296003948544,"45":-6816479486246250496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956203264001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:44:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358067296003948544,"km_value":358067296003948.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6816479486246250496,"description":"Unknown IO ID 45"} 
[2026-07-25 18:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956203264001,"power":27876,"unknown_170":206,"unknown_83":16896,"ignition":26,"odometer":null,"unknown_45":-6816479486246250496}} 
[2026-07-25 18:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":141231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:44:01] local.INFO: GPS data processed {"connection_id":141231,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:44:01] local.INFO: Acknowledgment sent {"connection_id":141231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:03] local.INFO: TCP Data received {"connection_id":141282,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996653c0012d19d840072397d00037003c2a..."} 
[2026-07-25 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996653c0012d19d840072397d00037003c2a..."} 
[2026-07-25 18:44:03] local.INFO: Processing buffer {"connection_id":141282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996653c0012d19d840072397d00037003c2a..."} 
[2026-07-25 18:44:03] local.INFO: Packet analysis {"connection_id":141282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:44:03] local.INFO: Extracted packet for processing {"connection_id":141282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119773136,"longitude_deg":75.666848,"latitude_deg":11.9773136,"altitude":55,"angle":60,"satellites":42,"speed":4,"hex_longitude":"2d19d840","hex_latitude":"072397d0","is_valid_coordinates":true} 
[2026-07-25 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956172032001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819109751947264,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862238476579608576,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:03] 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-07-25 18:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985048000,"timestamp_ms":1784985048000,"timestamp_seconds":1784985048,"priority":1,"record_length":96,"hex_timestamp":"0000019f996653c0"} 
[2026-07-25 18:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 18:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956172032001,"66":12689,"177":206,"83":42752,"24":4,"16":8819109751947264,"45":1862238476579608576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956172032001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:44:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819109751947264,"km_value":8819109751947.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862238476579608576,"description":"Unknown IO ID 45"} 
[2026-07-25 18:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956172032001,"power":12689,"unknown_177":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1862238476579608576}} 
[2026-07-25 18:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":141282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:44:03] local.INFO: GPS data processed {"connection_id":141282,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:44:03] local.INFO: Acknowledgment sent {"connection_id":141282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:09] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:44:09] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:44:09] local.INFO: IMEI packet received {"connection_id":141283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":141283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:44:26] local.INFO: TCP Data received {"connection_id":143641,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:44:26] local.INFO: Processing buffer {"connection_id":143641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:44:26] local.INFO: IMEI packet received {"connection_id":143641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":143641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:44:26] local.INFO: TCP Data received {"connection_id":143640,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9968ad50012d8280c005d346a8000900b71b..."} 
[2026-07-25 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9968ad50012d8280c005d346a8000900b71b..."} 
[2026-07-25 18:44:26] local.INFO: Processing buffer {"connection_id":143640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9968ad50012d8280c005d346a8000900b71b..."} 
[2026-07-25 18:44:26] local.INFO: Packet analysis {"connection_id":143640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:26] local.INFO: Extracted packet for processing {"connection_id":143640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":97732264,"longitude_deg":76.352736,"latitude_deg":9.7732264,"altitude":9,"angle":183,"satellites":27,"speed":5,"hex_longitude":"2d8280c0","hex_latitude":"05d346a8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956210944001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110371786104766464,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043087289252032512,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784985202000,"timestamp_ms":1784985202000,"timestamp_seconds":1784985202,"priority":1,"record_length":96,"hex_timestamp":"0000019f9968ad50"} 
[2026-07-25 18:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:44: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-07-25 18: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-07-25 18:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143640,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956210944001,"66":12972,"68":206,"85":15104,"24":5,"16":110371786104766464,"45":-9043087289252032512},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956210944001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:44:26] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110371786104766464,"km_value":110371786104766.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043087289252032512,"description":"Unknown IO ID 45"} 
[2026-07-25 18:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956210944001,"power":12972,"unknown_68":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9043087289252032512}} 
[2026-07-25 18:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":143640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:44:26] local.INFO: GPS data processed {"connection_id":143640,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:44:26] local.INFO: Acknowledgment sent {"connection_id":143640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:31] local.INFO: TCP Data received {"connection_id":143641,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:44:31] local.INFO: Processing buffer {"connection_id":143641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:44:31] local.INFO: IMEI packet received {"connection_id":143641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":143641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:44:32] local.INFO: TCP Data received {"connection_id":143641,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99665b90012d19d8c0072398780037001f2b..."} 
[2026-07-25 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99665b90012d19d8c0072398780037001f2b..."} 
[2026-07-25 18:44:32] local.INFO: Processing buffer {"connection_id":143641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99665b90012d19d8c0072398780037001f2b..."} 
[2026-07-25 18:44:32] local.INFO: Packet analysis {"connection_id":143641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:44:32] local.INFO: Extracted packet for processing {"connection_id":143641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773304,"longitude_deg":75.6668608,"latitude_deg":11.9773304,"altitude":55,"angle":31,"satellites":43,"speed":4,"hex_longitude":"2d19d8c0","hex_latitude":"07239878","is_valid_coordinates":true} 
[2026-07-25 18:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956172288001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819122636849152,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845323800576,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:32] 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-07-25 18:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985050000,"timestamp_ms":1784985050000,"timestamp_seconds":1784985050,"priority":1,"record_length":96,"hex_timestamp":"0000019f99665b90"} 
[2026-07-25 18:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":145,"data_length":795,"current_offset":136} 
[2026-07-25 18:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956172288001,"66":12722,"177":206,"83":42752,"24":4,"16":8819122636849152,"45":1862308845323800576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956172288001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819122636849152,"km_value":8819122636849.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845323800576,"description":"Unknown IO ID 45"} 
[2026-07-25 18:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956172288001,"power":12722,"unknown_177":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1862308845323800576}} 
[2026-07-25 18:44:32] local.INFO: TCP Data received {"connection_id":141231,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99683c08012da15e8005c394e00023014029..."} 
[2026-07-25 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99683c08012da15e8005c394e00023014029..."} 
[2026-07-25 18:44:32] local.INFO: Processing buffer {"connection_id":141231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99683c08012da15e8005c394e00023014029..."} 
[2026-07-25 18:44:32] local.INFO: Packet analysis {"connection_id":141231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:32] local.INFO: Extracted packet for processing {"connection_id":141231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:32] local.INFO: GPS Element Parsed {"raw_longitude":765550208,"raw_latitude":96703712,"longitude_deg":76.5550208,"latitude_deg":9.6703712,"altitude":35,"angle":320,"satellites":41,"speed":28,"hex_longitude":"2da15e80","hex_latitude":"05c394e0","is_valid_coordinates":true} 
[2026-07-25 18:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956203776001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358067360428457984,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6817746123641260032,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985173000,"timestamp_ms":1784985173000,"timestamp_seconds":1784985173,"priority":1,"record_length":96,"hex_timestamp":"0000019f99683c08"} 
[2026-07-25 18:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 18:44: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-07-25 18:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956203776001,"66":27876,"170":206,"83":16896,"24":28,"16":358067360428457984,"45":-6817746123641260032},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956203776001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358067360428457984,"km_value":358067360428458.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6817746123641260032,"description":"Unknown IO ID 45"} 
[2026-07-25 18:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956203776001,"power":27876,"unknown_170":206,"unknown_83":16896,"ignition":28,"odometer":null,"unknown_45":-6817746123641260032}} 
[2026-07-25 18:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":141231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:44:32] local.INFO: GPS data processed {"connection_id":141231,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:44:32] local.INFO: Acknowledgment sent {"connection_id":141231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":143641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:44:32] local.INFO: GPS data processed {"connection_id":143641,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:44:32] local.INFO: Acknowledgment sent {"connection_id":143641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:45] local.INFO: TCP Data received {"connection_id":142263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:44:45] local.INFO: Processing buffer {"connection_id":142263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:44:45] local.INFO: IMEI packet received {"connection_id":142263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":142263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:44:50] local.INFO: TCP Data received {"connection_id":142263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:44:50] local.INFO: Processing buffer {"connection_id":142263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:44:50] local.INFO: IMEI packet received {"connection_id":142263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":142263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:44:51] local.INFO: TCP Data received {"connection_id":142263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9968fb70012d82828005d32218000a00b31b..."} 
[2026-07-25 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9968fb70012d82828005d32218000a00b31b..."} 
[2026-07-25 18:44:51] local.INFO: Processing buffer {"connection_id":142263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9968fb70012d82828005d32218000a00b31b..."} 
[2026-07-25 18:44:51] local.INFO: Packet analysis {"connection_id":142263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:51] local.INFO: Extracted packet for processing {"connection_id":142263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":97722904,"longitude_deg":76.3527808,"latitude_deg":9.7722904,"altitude":10,"angle":179,"satellites":27,"speed":25,"hex_longitude":"2d828280","hex_latitude":"05d32218","is_valid_coordinates":true} 
[2026-07-25 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956211712001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110372245666267136,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920507963392,"note":"Value kept but may cause issues"} 
[2026-07-25 18:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784985222000,"timestamp_ms":1784985222000,"timestamp_seconds":1784985222,"priority":1,"record_length":96,"hex_timestamp":"0000019f9968fb70"} 
[2026-07-25 18:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 18:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956211712001,"66":12863,"68":206,"85":15104,"24":25,"16":110372245666267136,"45":-9043016920507963392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956211712001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:44:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110372245666267136,"km_value":110372245666267.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920507963392,"description":"Unknown IO ID 45"} 
[2026-07-25 18:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956211712001,"power":12863,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9043016920507963392}} 
[2026-07-25 18:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":142263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:44:51] local.INFO: GPS data processed {"connection_id":142263,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:44:51] local.INFO: Acknowledgment sent {"connection_id":142263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:44:55] local.INFO: TCP Data received {"connection_id":142264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:44:55] local.INFO: Processing buffer {"connection_id":142264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:44:55] local.INFO: IMEI packet received {"connection_id":142264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":142264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:45:00] local.INFO: TCP Data received {"connection_id":142264,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:45:00] local.INFO: Processing buffer {"connection_id":142264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:45:00] local.INFO: IMEI packet received {"connection_id":142264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":142264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:45:01] local.INFO: TCP Data received {"connection_id":142264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f996847c0012da159c005c39c580023014e28..."} 
[2026-07-25 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996847c0012da159c005c39c580023014e28..."} 
[2026-07-25 18:45:01] local.INFO: Processing buffer {"connection_id":142264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996847c0012da159c005c39c580023014e28..."} 
[2026-07-25 18:45:01] local.INFO: Packet analysis {"connection_id":142264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:45:01] local.INFO: Extracted packet for processing {"connection_id":142264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765548992,"raw_latitude":96705624,"longitude_deg":76.5548992,"latitude_deg":9.6705624,"altitude":35,"angle":334,"satellites":40,"speed":29,"hex_longitude":"2da159c0","hex_latitude":"05c39c58","is_valid_coordinates":true} 
[2026-07-25 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956204288001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358067472097607680,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6818872023547846656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985176000,"timestamp_ms":1784985176000,"timestamp_seconds":1784985176,"priority":1,"record_length":96,"hex_timestamp":"0000019f996847c0"} 
[2026-07-25 18:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 18:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956204288001,"66":27821,"170":206,"83":16896,"24":29,"16":358067472097607680,"45":-6818872023547846656},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956204288001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:45:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358067472097607680,"km_value":358067472097607.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6818872023547846656,"description":"Unknown IO ID 45"} 
[2026-07-25 18:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956204288001,"power":27821,"unknown_170":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6818872023547846656}} 
[2026-07-25 18:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":142264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:45:01] local.INFO: GPS data processed {"connection_id":142264,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:45:01] local.INFO: Acknowledgment sent {"connection_id":142264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:45:03] local.INFO: TCP Data received {"connection_id":143641,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99665f78012d19d8c0072398f0003700142b..."} 
[2026-07-25 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99665f78012d19d8c0072398f0003700142b..."} 
[2026-07-25 18:45:03] local.INFO: Processing buffer {"connection_id":143641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99665f78012d19d8c0072398f0003700142b..."} 
[2026-07-25 18:45:03] local.INFO: Packet analysis {"connection_id":143641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:45:03] local.INFO: Extracted packet for processing {"connection_id":143641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773424,"longitude_deg":75.6668608,"latitude_deg":11.9773424,"altitude":55,"angle":20,"satellites":43,"speed":4,"hex_longitude":"2d19d8c0","hex_latitude":"072398f0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956172800001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819126931816448,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812198912,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:03] 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-07-25 18:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985051000,"timestamp_ms":1784985051000,"timestamp_seconds":1784985051,"priority":1,"record_length":96,"hex_timestamp":"0000019f99665f78"} 
[2026-07-25 18:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 18:45: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-07-25 18: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-07-25 18:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956172800001,"66":12711,"177":206,"83":42752,"24":4,"16":8819126931816448,"45":1862449582812198912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956172800001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819126931816448,"km_value":8819126931816.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812198912,"description":"Unknown IO ID 45"} 
[2026-07-25 18:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956172800001,"power":12711,"unknown_177":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1862449582812198912}} 
[2026-07-25 18:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":143641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:45:03] local.INFO: GPS data processed {"connection_id":143641,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:45:03] local.INFO: Acknowledgment sent {"connection_id":143641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:45:22] local.INFO: TCP Data received {"connection_id":142263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996939f0012d8283c005d2ff90000900a81c..."} 
[2026-07-25 18:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996939f0012d8283c005d2ff90000900a81c..."} 
[2026-07-25 18:45:22] local.INFO: Processing buffer {"connection_id":142263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996939f0012d8283c005d2ff90000900a81c..."} 
[2026-07-25 18:45:22] local.INFO: Packet analysis {"connection_id":142263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:45:22] local.INFO: Extracted packet for processing {"connection_id":142263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763528128,"raw_latitude":97714064,"longitude_deg":76.3528128,"latitude_deg":9.7714064,"altitude":9,"angle":168,"satellites":28,"speed":19,"hex_longitude":"2d8283c0","hex_latitude":"05d2ff90","is_valid_coordinates":true} 
[2026-07-25 18:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956216832001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110372675162996736,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339301115904,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784985238000,"timestamp_ms":1784985238000,"timestamp_seconds":1784985238,"priority":1,"record_length":96,"hex_timestamp":"0000019f996939f0"} 
[2026-07-25 18:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 18:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956216832001,"66":12939,"68":206,"85":15104,"24":19,"16":110372675162996736,"45":-9042524339301115904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956216832001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110372675162996736,"km_value":110372675162996.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339301115904,"description":"Unknown IO ID 45"} 
[2026-07-25 18:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956216832001,"power":12939,"unknown_68":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9042524339301115904}} 
[2026-07-25 18:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":142263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:45:22] local.INFO: GPS data processed {"connection_id":142263,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:45:22] local.INFO: Acknowledgment sent {"connection_id":142263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:45:26] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:45:26] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:45:26] local.INFO: IMEI packet received {"connection_id":143642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":143642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:45:31] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:45:31] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:45:31] local.INFO: IMEI packet received {"connection_id":143642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":143642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:45:32] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9966b180012d19d8c007239a200037000e2a..."} 
[2026-07-25 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9966b180012d19d8c007239a200037000e2a..."} 
[2026-07-25 18:45:32] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9966b180012d19d8c007239a200037000e2a..."} 
[2026-07-25 18:45:32] local.INFO: Packet analysis {"connection_id":143642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:45:32] local.INFO: Extracted packet for processing {"connection_id":143642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9966"} 
[2026-07-25 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773728,"longitude_deg":75.6668608,"latitude_deg":11.9773728,"altitude":55,"angle":14,"satellites":42,"speed":0,"hex_longitude":"2d19d8c0","hex_latitude":"07239a20","is_valid_coordinates":true} 
[2026-07-25 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956173056001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819148406652928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812229632,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:32] 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-07-25 18:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985072000,"timestamp_ms":1784985072000,"timestamp_seconds":1784985072,"priority":1,"record_length":96,"hex_timestamp":"0000019f9966b180"} 
[2026-07-25 18:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-25 18:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956173056001,"66":12667,"177":206,"83":42752,"24":0,"16":8819148406652928,"45":1862449582812229632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956173056001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819148406652928,"km_value":8819148406652.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812229632,"description":"Unknown IO ID 45"} 
[2026-07-25 18:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956173056001,"power":12667,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862449582812229632}} 
[2026-07-25 18:45:32] local.INFO: TCP Data received {"connection_id":142264,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99687e70012da14e0005c3bd50002601532c..."} 
[2026-07-25 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99687e70012da14e0005c3bd50002601532c..."} 
[2026-07-25 18:45:32] local.INFO: Processing buffer {"connection_id":142264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99687e70012da14e0005c3bd50002601532c..."} 
[2026-07-25 18:45:32] local.INFO: Packet analysis {"connection_id":142264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:45:32] local.INFO: Extracted packet for processing {"connection_id":142264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765545984,"raw_latitude":96714064,"longitude_deg":76.5545984,"latitude_deg":9.6714064,"altitude":38,"angle":339,"satellites":44,"speed":25,"hex_longitude":"2da14e00","hex_latitude":"05c3bd50","is_valid_coordinates":true} 
[2026-07-25 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956205056001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358067910184271872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6820209029686732800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985190000,"timestamp_ms":1784985190000,"timestamp_seconds":1784985190,"priority":1,"record_length":96,"hex_timestamp":"0000019f99687e70"} 
[2026-07-25 18:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 18:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956205056001,"66":27843,"170":206,"83":16896,"24":25,"16":358067910184271872,"45":-6820209029686732800},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956205056001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358067910184271872,"km_value":358067910184271.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6820209029686732800,"description":"Unknown IO ID 45"} 
[2026-07-25 18:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956205056001,"power":27843,"unknown_170":206,"unknown_83":16896,"ignition":25,"odometer":null,"unknown_45":-6820209029686732800}} 
[2026-07-25 18:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":142264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:45:32] local.INFO: GPS data processed {"connection_id":142264,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:45:32] local.INFO: Acknowledgment sent {"connection_id":142264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":143642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:45:32] local.INFO: GPS data processed {"connection_id":143642,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:45:32] local.INFO: Acknowledgment sent {"connection_id":143642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:45:45] local.INFO: TCP Data received {"connection_id":143643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:45] local.INFO: Processing buffer {"connection_id":143643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:45] local.INFO: IMEI packet received {"connection_id":143643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":143643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:45:48] local.INFO: TCP Data received {"connection_id":143643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:48] local.INFO: Processing buffer {"connection_id":143643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:48] local.INFO: IMEI packet received {"connection_id":143643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":143643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:45:50] local.INFO: TCP Data received {"connection_id":143643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:50] local.INFO: Processing buffer {"connection_id":143643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:45:50] local.INFO: IMEI packet received {"connection_id":143643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":143643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:45:51] local.INFO: TCP Data received {"connection_id":143643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99698bf8012d82888005d2e860000d00ab1c..."} 
[2026-07-25 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99698bf8012d82888005d2e860000d00ab1c..."} 
[2026-07-25 18:45:51] local.INFO: Processing buffer {"connection_id":143643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99698bf8012d82888005d2e860000d00ab1c..."} 
[2026-07-25 18:45:51] local.INFO: Packet analysis {"connection_id":143643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:45:51] local.INFO: Extracted packet for processing {"connection_id":143643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:45:51] local.INFO: GPS Element Parsed {"raw_longitude":763529344,"raw_latitude":97708128,"longitude_deg":76.3529344,"latitude_deg":9.7708128,"altitude":13,"angle":171,"satellites":28,"speed":4,"hex_longitude":"2d828880","hex_latitude":"05d2e860","is_valid_coordinates":true} 
[2026-07-25 18:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956220928001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110372971515740160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042172495582490624,"note":"Value kept but may cause issues"} 
[2026-07-25 18:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784985259000,"timestamp_ms":1784985259000,"timestamp_seconds":1784985259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99698bf8"} 
[2026-07-25 18:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 18:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956220928001,"66":12906,"68":206,"85":15104,"24":4,"16":110372971515740160,"45":-9042172495582490624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956220928001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:45:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110372971515740160,"km_value":110372971515740.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042172495582490624,"description":"Unknown IO ID 45"} 
[2026-07-25 18:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956220928001,"power":12906,"unknown_68":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9042172495582490624}} 
[2026-07-25 18:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":143643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:45:51] local.INFO: GPS data processed {"connection_id":143643,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:45:51] local.INFO: Acknowledgment sent {"connection_id":143643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:45:55] local.INFO: TCP Data received {"connection_id":142265,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:45:55] local.INFO: Processing buffer {"connection_id":142265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:45:55] local.INFO: IMEI packet received {"connection_id":142265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":142265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:46:00] local.INFO: TCP Data received {"connection_id":142265,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:46:00] local.INFO: Processing buffer {"connection_id":142265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:46:00] local.INFO: IMEI packet received {"connection_id":142265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":142265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:46:01] local.INFO: TCP Data received {"connection_id":142265,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9968b138012da1438005c3d368002a014827..."} 
[2026-07-25 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9968b138012da1438005c3d368002a014827..."} 
[2026-07-25 18:46:01] local.INFO: Processing buffer {"connection_id":142265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9968b138012da1438005c3d368002a014827..."} 
[2026-07-25 18:46:01] local.INFO: Packet analysis {"connection_id":142265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:46:01] local.INFO: Extracted packet for processing {"connection_id":142265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:46:01] local.INFO: GPS Element Parsed {"raw_longitude":765543296,"raw_latitude":96719720,"longitude_deg":76.5543296,"latitude_deg":9.671972,"altitude":42,"angle":328,"satellites":39,"speed":19,"hex_longitude":"2da14380","hex_latitude":"05c3d368","is_valid_coordinates":true} 
[2026-07-25 18:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956208640001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068210831982592,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6823516360660922368,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985203000,"timestamp_ms":1784985203000,"timestamp_seconds":1784985203,"priority":1,"record_length":96,"hex_timestamp":"0000019f9968b138"} 
[2026-07-25 18:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-25 18:46: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-07-25 18:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956208640001,"66":27984,"170":206,"83":16896,"24":19,"16":358068210831982592,"45":-6823516360660922368},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956208640001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:46:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068210831982592,"km_value":358068210831982.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6823516360660922368,"description":"Unknown IO ID 45"} 
[2026-07-25 18:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956208640001,"power":27984,"unknown_170":206,"unknown_83":16896,"ignition":19,"odometer":null,"unknown_45":-6823516360660922368}} 
[2026-07-25 18:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":142265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:46:01] local.INFO: GPS data processed {"connection_id":142265,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:46:01] local.INFO: Acknowledgment sent {"connection_id":142265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:46:03] local.INFO: TCP Data received {"connection_id":143642,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99670388012d19d8c007239a200037000e29..."} 
[2026-07-25 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99670388012d19d8c007239a200037000e29..."} 
[2026-07-25 18:46:03] local.INFO: Processing buffer {"connection_id":143642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99670388012d19d8c007239a200037000e29..."} 
[2026-07-25 18:46:03] local.INFO: Packet analysis {"connection_id":143642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:46:03] local.INFO: Extracted packet for processing {"connection_id":143642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773728,"longitude_deg":75.6668608,"latitude_deg":11.9773728,"altitude":55,"angle":14,"satellites":41,"speed":0,"hex_longitude":"2d19d8c0","hex_latitude":"07239a20","is_valid_coordinates":true} 
[2026-07-25 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956178432001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819148406652928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812307456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:03] 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-07-25 18:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985093000,"timestamp_ms":1784985093000,"timestamp_seconds":1784985093,"priority":1,"record_length":96,"hex_timestamp":"0000019f99670388"} 
[2026-07-25 18:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":123,"data_length":795,"current_offset":136} 
[2026-07-25 18:46: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-07-25 18:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956178432001,"66":12613,"177":206,"83":42752,"24":0,"16":8819148406652928,"45":1862449582812307456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956178432001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819148406652928,"km_value":8819148406652.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812307456,"description":"Unknown IO ID 45"} 
[2026-07-25 18:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956178432001,"power":12613,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862449582812307456}} 
[2026-07-25 18:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":143642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:46:03] local.INFO: GPS data processed {"connection_id":143642,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:46:03] local.INFO: Acknowledgment sent {"connection_id":143642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:46:22] local.INFO: TCP Data received {"connection_id":143643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9969de00012d828cc005d2ce20000d00ae1c..."} 
[2026-07-25 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9969de00012d828cc005d2ce20000d00ae1c..."} 
[2026-07-25 18:46:22] local.INFO: Processing buffer {"connection_id":143643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9969de00012d828cc005d2ce20000d00ae1c..."} 
[2026-07-25 18:46:22] local.INFO: Packet analysis {"connection_id":143643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:46:22] local.INFO: Extracted packet for processing {"connection_id":143643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":763530432,"raw_latitude":97701408,"longitude_deg":76.3530432,"latitude_deg":9.7701408,"altitude":13,"angle":174,"satellites":28,"speed":7,"hex_longitude":"2d828cc0","hex_latitude":"05d2ce20","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956226304001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110373302228221952,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040835489444634624,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784985280000,"timestamp_ms":1784985280000,"timestamp_seconds":1784985280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9969de00"} 
[2026-07-25 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-07-25 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 18:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 18:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956226304001,"66":12917,"68":206,"85":15104,"24":7,"16":110373302228221952,"45":-9040835489444634624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956226304001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110373302228221952,"km_value":110373302228221.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040835489444634624,"description":"Unknown IO ID 45"} 
[2026-07-25 18:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956226304001,"power":12917,"unknown_68":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9040835489444634624}} 
[2026-07-25 18:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":143643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:46:22] local.INFO: GPS data processed {"connection_id":143643,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:46:22] local.INFO: Acknowledgment sent {"connection_id":143643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:46:26] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:46:26] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:46:26] local.INFO: IMEI packet received {"connection_id":141232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":141232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:46:31] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:46:31] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:46:31] local.INFO: IMEI packet received {"connection_id":141232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":141232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:46:32] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99675590012d19d8c007239a200037000e29..."} 
[2026-07-25 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99675590012d19d8c007239a200037000e29..."} 
[2026-07-25 18:46:32] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99675590012d19d8c007239a200037000e29..."} 
[2026-07-25 18:46:32] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:46:32] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773728,"longitude_deg":75.6668608,"latitude_deg":11.9773728,"altitude":55,"angle":14,"satellites":41,"speed":0,"hex_longitude":"2d19d8c0","hex_latitude":"07239a20","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956183808001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819148406652928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812307456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:32] 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-07-25 18:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985114000,"timestamp_ms":1784985114000,"timestamp_seconds":1784985114,"priority":1,"record_length":96,"hex_timestamp":"0000019f99675590"} 
[2026-07-25 18:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18: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-07-25 18: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-07-25 18:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956183808001,"66":12558,"177":206,"83":42752,"24":0,"16":8819148406652928,"45":1862449582812307456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956183808001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819148406652928,"km_value":8819148406652.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812307456,"description":"Unknown IO ID 45"} 
[2026-07-25 18:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956183808001,"power":12558,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862449582812307456}} 
[2026-07-25 18:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:46:32] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:46:32] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:46:32] local.INFO: TCP Data received {"connection_id":142265,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9968efb8012da1320005c3f318002f014d2a..."} 
[2026-07-25 18:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9968efb8012da1320005c3f318002f014d2a..."} 
[2026-07-25 18:46:32] local.INFO: Processing buffer {"connection_id":142265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9968efb8012da1320005c3f318002f014d2a..."} 
[2026-07-25 18:46:32] local.INFO: Packet analysis {"connection_id":142265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:46:32] local.INFO: Extracted packet for processing {"connection_id":142265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9968"} 
[2026-07-25 18:46:32] local.INFO: GPS Element Parsed {"raw_longitude":765538816,"raw_latitude":96727832,"longitude_deg":76.5538816,"latitude_deg":9.6727832,"altitude":47,"angle":333,"satellites":42,"speed":20,"hex_longitude":"2da13200","hex_latitude":"05c3f318","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956211968001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068661803548672,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6826471847914936320,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985219000,"timestamp_ms":1784985219000,"timestamp_seconds":1784985219,"priority":1,"record_length":96,"hex_timestamp":"0000019f9968efb8"} 
[2026-07-25 18:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-25 18:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956211968001,"66":27930,"170":206,"83":16896,"24":20,"16":358068661803548672,"45":-6826471847914936320},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,45]} 
[2026-07-25 18:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956211968001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068661803548672,"km_value":358068661803548.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6826471847914936320,"description":"Unknown IO ID 45"} 
[2026-07-25 18:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956211968001,"power":27930,"unknown_170":206,"unknown_83":16896,"ignition":20,"odometer":null,"unknown_45":-6826471847914936320}} 
[2026-07-25 18:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":142265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:46:32] local.INFO: GPS data processed {"connection_id":142265,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:46:32] local.INFO: Acknowledgment sent {"connection_id":142265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:46:45] local.INFO: TCP Data received {"connection_id":141284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:46:45] local.INFO: Processing buffer {"connection_id":141284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:46:45] local.INFO: IMEI packet received {"connection_id":141284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":141284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:46:50] local.INFO: TCP Data received {"connection_id":141284,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:46:50] local.INFO: Processing buffer {"connection_id":141284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:46:50] local.INFO: IMEI packet received {"connection_id":141284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":141284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:46:51] local.INFO: TCP Data received {"connection_id":141284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996a2068012d82908005d2aba8000b00b71c..."} 
[2026-07-25 18:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996a2068012d82908005d2aba8000b00b71c..."} 
[2026-07-25 18:46:51] local.INFO: Processing buffer {"connection_id":141284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996a2068012d82908005d2aba8000b00b71c..."} 
[2026-07-25 18:46:51] local.INFO: Packet analysis {"connection_id":141284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:46:51] local.INFO: Extracted packet for processing {"connection_id":141284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:46:51] local.INFO: GPS Element Parsed {"raw_longitude":763531392,"raw_latitude":97692584,"longitude_deg":76.3531392,"latitude_deg":9.7692584,"altitude":11,"angle":183,"satellites":28,"speed":25,"hex_longitude":"2d829080","hex_latitude":"05d2aba8","is_valid_coordinates":true} 
[2026-07-25 18:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956231680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110373736019918848,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039639220795334656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784985297000,"timestamp_ms":1784985297000,"timestamp_seconds":1784985297,"priority":1,"record_length":96,"hex_timestamp":"0000019f996a2068"} 
[2026-07-25 18:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 18:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956231680001,"66":12765,"68":206,"85":15104,"24":25,"16":110373736019918848,"45":-9039639220795334656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956231680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:46:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110373736019918848,"km_value":110373736019918.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039639220795334656,"description":"Unknown IO ID 45"} 
[2026-07-25 18:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956231680001,"power":12765,"unknown_68":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9039639220795334656}} 
[2026-07-25 18:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":141284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:46:51] local.INFO: GPS data processed {"connection_id":141284,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:46:51] local.INFO: Acknowledgment sent {"connection_id":141284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:46:55] local.INFO: TCP Data received {"connection_id":142266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:46:55] local.INFO: Processing buffer {"connection_id":142266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:46:55] local.INFO: IMEI packet received {"connection_id":142266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":142266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:47:00] local.INFO: TCP Data received {"connection_id":142266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:47:00] local.INFO: Processing buffer {"connection_id":142266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:47:00] local.INFO: IMEI packet received {"connection_id":142266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":142266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:47:01] local.INFO: TCP Data received {"connection_id":142266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996916c8012da12bc005c400c8003101582d..."} 
[2026-07-25 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996916c8012da12bc005c400c8003101582d..."} 
[2026-07-25 18:47:01] local.INFO: Processing buffer {"connection_id":142266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996916c8012da12bc005c400c8003101582d..."} 
[2026-07-25 18:47:01] local.INFO: Packet analysis {"connection_id":142266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:47:01] local.INFO: Extracted packet for processing {"connection_id":142266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":765537216,"raw_latitude":96731336,"longitude_deg":76.5537216,"latitude_deg":9.6731336,"altitude":49,"angle":344,"satellites":45,"speed":11,"hex_longitude":"2da12bc0","hex_latitude":"05c400c8","is_valid_coordinates":true} 
[2026-07-25 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956216064001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068846487142400,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6831397660005296128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985229000,"timestamp_ms":1784985229000,"timestamp_seconds":1784985229,"priority":1,"record_length":96,"hex_timestamp":"0000019f996916c8"} 
[2026-07-25 18:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 18:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956216064001,"66":27767,"72":206,"83":16896,"24":11,"16":358068846487142400,"45":-6831397660005296128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956216064001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068846487142400,"km_value":358068846487142.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6831397660005296128,"description":"Unknown IO ID 45"} 
[2026-07-25 18:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956216064001,"power":27767,"unknown_72":206,"unknown_83":16896,"ignition":11,"odometer":null,"unknown_45":-6831397660005296128}} 
[2026-07-25 18:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":142266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:47:01] local.INFO: GPS data processed {"connection_id":142266,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:47:01] local.INFO: Acknowledgment sent {"connection_id":142266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:47:03] local.INFO: TCP Data received {"connection_id":141232,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9967a798012d19d8c007239a200037000e29..."} 
[2026-07-25 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9967a798012d19d8c007239a200037000e29..."} 
[2026-07-25 18:47:03] local.INFO: Processing buffer {"connection_id":141232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9967a798012d19d8c007239a200037000e29..."} 
[2026-07-25 18:47:03] local.INFO: Packet analysis {"connection_id":141232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:47:03] local.INFO: Extracted packet for processing {"connection_id":141232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9967"} 
[2026-07-25 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773728,"longitude_deg":75.6668608,"latitude_deg":11.9773728,"altitude":55,"angle":14,"satellites":41,"speed":0,"hex_longitude":"2d19d8c0","hex_latitude":"07239a20","is_valid_coordinates":true} 
[2026-07-25 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956189184001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819148406652928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812307456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] 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-07-25 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985135000,"timestamp_ms":1784985135000,"timestamp_seconds":1784985135,"priority":1,"record_length":96,"hex_timestamp":"0000019f9967a798"} 
[2026-07-25 18:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":84,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2573619160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249866100755896216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2558001207,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-5692323070316898304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729338109954,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:03] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,177,83,24,241,157,16,84,159,3,45,192,154,55,41,10,66,42,95,1,240,167,227,153,35,4,113,205,216,208,239,49,2,31,7,106,68,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:47:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963183241342484480,"timestamp_seconds":3963183241342484.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956189184001,"66":12526,"177":206,"83":42752,"24":0,"16":8819148406652928,"45":1862449582812307456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956189184001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:47:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819148406652928,"km_value":8819148406652.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812307456,"description":"Unknown IO ID 45"} 
[2026-07-25 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956189184001,"power":12526,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862449582812307456}} 
[2026-07-25 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":141232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:47:03] local.INFO: GPS data processed {"connection_id":141232,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:47:03] local.INFO: Acknowledgment sent {"connection_id":141232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:47:22] local.INFO: TCP Data received {"connection_id":141284,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996a4778012d82900005d29428000a00aa1c..."} 
[2026-07-25 18:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996a4778012d82900005d29428000a00aa1c..."} 
[2026-07-25 18:47:22] local.INFO: Processing buffer {"connection_id":141284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996a4778012d82900005d29428000a00aa1c..."} 
[2026-07-25 18:47:22] local.INFO: Packet analysis {"connection_id":141284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:47:22] local.INFO: Extracted packet for processing {"connection_id":141284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763531264,"raw_latitude":97686568,"longitude_deg":76.3531264,"latitude_deg":9.7686568,"altitude":10,"angle":170,"satellites":28,"speed":19,"hex_longitude":"2d829000","hex_latitude":"05d29428","is_valid_coordinates":true} 
[2026-07-25 18:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956236032001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110374028077694976,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038583689634928640,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784985307000,"timestamp_ms":1784985307000,"timestamp_seconds":1784985307,"priority":1,"record_length":96,"hex_timestamp":"0000019f996a4778"} 
[2026-07-25 18:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956236032001,"66":12798,"68":206,"85":15104,"24":19,"16":110374028077694976,"45":-9038583689634928640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956236032001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:47:22] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110374028077694976,"km_value":110374028077694.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038583689634928640,"description":"Unknown IO ID 45"} 
[2026-07-25 18:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956236032001,"power":12798,"unknown_68":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9038583689634928640}} 
[2026-07-25 18:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":141284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:47:22] local.INFO: GPS data processed {"connection_id":141284,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:47:22] local.INFO: Acknowledgment sent {"connection_id":141284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:47:32] local.INFO: TCP Data received {"connection_id":142266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996968d0012da1294005c40a80003201622c..."} 
[2026-07-25 18:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996968d0012da1294005c40a80003201622c..."} 
[2026-07-25 18:47:32] local.INFO: Processing buffer {"connection_id":142266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996968d0012da1294005c40a80003201622c..."} 
[2026-07-25 18:47:32] local.INFO: Packet analysis {"connection_id":142266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:47:32] local.INFO: Extracted packet for processing {"connection_id":142266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":44,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956218624001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833156878608840704,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985250000,"timestamp_ms":1784985250000,"timestamp_seconds":1784985250,"priority":1,"record_length":96,"hex_timestamp":"0000019f996968d0"} 
[2026-07-25 18:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 18:47: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-07-25 18:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956218624001,"66":27865,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833156878608840704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956218624001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:47:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833156878608840704,"description":"Unknown IO ID 45"} 
[2026-07-25 18:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956218624001,"power":27865,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833156878608840704}} 
[2026-07-25 18:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":142266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:47:32] local.INFO: GPS data processed {"connection_id":142266,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:47:32] local.INFO: Acknowledgment sent {"connection_id":142266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:47:39] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:47:39] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:47:39] local.INFO: IMEI packet received {"connection_id":143644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":143644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:47:46] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.35","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 18:47:46] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 18:47:46] local.INFO: IMEI packet received {"connection_id":143644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":143644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:47:50] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:47:50] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:47:50] local.INFO: IMEI packet received {"connection_id":141233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":141233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:47:55] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:47:55] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:47:55] local.INFO: IMEI packet received {"connection_id":141233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":141233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:47:56] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996a9598012d82930005d27798000b00a71c..."} 
[2026-07-25 18:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996a9598012d82930005d27798000b00a71c..."} 
[2026-07-25 18:47:56] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996a9598012d82930005d27798000b00a71c..."} 
[2026-07-25 18:47:56] local.INFO: Packet analysis {"connection_id":141233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:47:56] local.INFO: Extracted packet for processing {"connection_id":141233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763532032,"raw_latitude":97679256,"longitude_deg":76.3532032,"latitude_deg":9.7679256,"altitude":11,"angle":167,"satellites":28,"speed":0,"hex_longitude":"2d829300","hex_latitude":"05d27798","is_valid_coordinates":true} 
[2026-07-25 18:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956238592001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110374384559980544,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038724427124824064,"note":"Value kept but may cause issues"} 
[2026-07-25 18:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784985327000,"timestamp_ms":1784985327000,"timestamp_seconds":1784985327,"priority":1,"record_length":96,"hex_timestamp":"0000019f996a9598"} 
[2026-07-25 18:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956238592001,"66":12863,"68":206,"85":15104,"24":0,"16":110374384559980544,"45":-9038724427124824064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-07-25 18:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956238592001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:47:56] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-07-25 18:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110374384559980544,"km_value":110374384559980.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038724427124824064,"description":"Unknown IO ID 45"} 
[2026-07-25 18:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956238592001,"power":12863,"unknown_68":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9038724427124824064}} 
[2026-07-25 18:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":141233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:47:56] local.INFO: GPS data processed {"connection_id":141233,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:47:56] local.INFO: Acknowledgment sent {"connection_id":141233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:00] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:00] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:00] local.INFO: IMEI packet received {"connection_id":141234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":141234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:48:02] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996b2df0012d19d8c007239a200037000e2b..."} 
[2026-07-25 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996b2df0012d19d8c007239a200037000e2b..."} 
[2026-07-25 18:48:02] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 18:48:02] local.INFO: IMEI packet received {"connection_id":143644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":143644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:04] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996b7ff8012d19d8c007239a200037000e2b..."} 
[2026-07-25 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996b7ff8012d19d8c007239a200037000e2b..."} 
[2026-07-25 18:48:04] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f99..."} 
[2026-07-25 18:48:04] local.INFO: IMEI packet received {"connection_id":143644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":143644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:05] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996baaf0012d19d88007239cd0003401652a..."} 
[2026-07-25 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996baaf0012d19d88007239cd0003401652a..."} 
[2026-07-25 18:48:05] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f996b2df0012d19d8c007239a200037000e2b..."} 
[2026-07-25 18:48:05] local.INFO: Packet analysis {"connection_id":143644,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:05] local.INFO: Extracted packet for processing {"connection_id":143644,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773728,"longitude_deg":75.6668608,"latitude_deg":11.9773728,"altitude":55,"angle":14,"satellites":43,"speed":0,"hex_longitude":"2d19d8c0","hex_latitude":"07239a20","is_valid_coordinates":true} 
[2026-07-25 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956248320001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819148406652928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812307456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] 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-07-25 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784985366000,"timestamp_ms":1784985366000,"timestamp_seconds":1784985366,"priority":1,"record_length":96,"hex_timestamp":"0000019f996b2df0"} 
[2026-07-25 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6413099481096519168,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":84,"raw_value":-576460752303423487,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7392485409069131304,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":192,"raw_value":514424244683603982,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3984630139060224,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832580,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171892818313422,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2585788471,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1789984974,"corrected_to":0} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":65,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221693338,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,177,83,24,241,157,16,84,159,137,45,192,154,55,42,10,66,41,229,1,240,86,227,153,35,4,113,205,65,216,32,39,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1789984974,"validated":0}]} 
[2026-07-25 18:48:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963183245637451776,"timestamp_seconds":3963183245637452.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956248320001,"66":13374,"177":206,"83":42752,"24":0,"16":8819148406652928,"45":1862449582812307456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956248320001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819148406652928,"km_value":8819148406652.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812307456,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956248320001,"power":13374,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862449582812307456}} 
[2026-07-25 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":143644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:05] local.INFO: GPS data processed {"connection_id":143644,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:05] local.INFO: Acknowledgment sent {"connection_id":143644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:05] local.INFO: Packet analysis {"connection_id":143644,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:05] local.INFO: Extracted packet for processing {"connection_id":143644,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119773728,"longitude_deg":75.6668608,"latitude_deg":11.9773728,"altitude":55,"angle":14,"satellites":43,"speed":0,"hex_longitude":"2d19d8c0","hex_latitude":"07239a20","is_valid_coordinates":true} 
[2026-07-25 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956253696001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819148406652928,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812307456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] 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-07-25 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784985387000,"timestamp_ms":1784985387000,"timestamp_seconds":1784985387,"priority":1,"record_length":96,"hex_timestamp":"0000019f996b7ff8"} 
[2026-07-25 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956253696001,"66":13961,"177":206,"83":42752,"24":0,"16":8819148406652928,"45":1862449582812307456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956253696001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819148406652928,"km_value":8819148406652.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812307456,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956253696001,"power":13961,"unknown_177":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862449582812307456}} 
[2026-07-25 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":143644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:05] local.INFO: GPS data processed {"connection_id":143644,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:05] local.INFO: Acknowledgment sent {"connection_id":143644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:05] local.INFO: Packet analysis {"connection_id":143644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:05] local.INFO: Extracted packet for processing {"connection_id":143644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756668544,"raw_latitude":119774416,"longitude_deg":75.6668544,"latitude_deg":11.9774416,"altitude":52,"angle":357,"satellites":42,"speed":5,"hex_longitude":"2d19d880","hex_latitude":"07239cd0","is_valid_coordinates":true} 
[2026-07-25 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956259072001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819178471424000,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582812307456,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:05] 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-07-25 18:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784985398000,"timestamp_ms":1784985398000,"timestamp_seconds":1784985398,"priority":1,"record_length":96,"hex_timestamp":"0000019f996baaf0"} 
[2026-07-25 18:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956259072001,"66":14048,"177":206,"83":42752,"24":5,"16":8819178471424000,"45":1862449582812307456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-07-25 18:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956259072001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819178471424000,"km_value":8819178471424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582812307456,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956259072001,"power":14048,"unknown_177":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1862449582812307456}} 
[2026-07-25 18:48:05] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:05] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:05] local.INFO: IMEI packet received {"connection_id":141234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":141234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":143644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:05] local.INFO: GPS data processed {"connection_id":143644,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:05] local.INFO: Acknowledgment sent {"connection_id":143644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:06] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9969bad8012da1294005c40a80003201622b..."} 
[2026-07-25 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9969bad8012da1294005c40a80003201622b..."} 
[2026-07-25 18:48:06] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9969bad8012da1294005c40a80003201622b..."} 
[2026-07-25 18:48:06] local.INFO: Packet analysis {"connection_id":141234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:48:06] local.INFO: Extracted packet for processing {"connection_id":141234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9969"} 
[2026-07-25 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956224000001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784985271000,"timestamp_ms":1784985271000,"timestamp_seconds":1784985271,"priority":1,"record_length":96,"hex_timestamp":"0000019f9969bad8"} 
[2026-07-25 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956224000001,"66":27767,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956224000001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956224000001,"power":27767,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":141234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:06] local.INFO: GPS data processed {"connection_id":141234,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:06] local.INFO: Acknowledgment sent {"connection_id":141234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:10] local.INFO: TCP Data received {"connection_id":141234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f996a0ce0012da1294005c40a80003201622c..."} 
[2026-07-25 18:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996a0ce0012da1294005c40a80003201622c..."} 
[2026-07-25 18:48:10] local.INFO: Processing buffer {"connection_id":141234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996a0ce0012da1294005c40a80003201622c..."} 
[2026-07-25 18:48:10] local.INFO: Packet analysis {"connection_id":141234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:48:10] local.INFO: Extracted packet for processing {"connection_id":141234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:48:10] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":44,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956229376001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784985292000,"timestamp_ms":1784985292000,"timestamp_seconds":1784985292,"priority":1,"record_length":96,"hex_timestamp":"0000019f996a0ce0"} 
[2026-07-25 18:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956229376001,"66":27919,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956229376001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956229376001,"power":27919,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":141234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:11] local.INFO: GPS data processed {"connection_id":141234,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:11] local.INFO: Acknowledgment sent {"connection_id":141234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:11] local.INFO: TCP Data received {"connection_id":143644,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996bc648012d19d8400723a168003401582a..."} 
[2026-07-25 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996bc648012d19d8400723a168003401582a..."} 
[2026-07-25 18:48:11] local.INFO: Processing buffer {"connection_id":143644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996bc648012d19d8400723a168003401582a..."} 
[2026-07-25 18:48:11] local.INFO: Packet analysis {"connection_id":143644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:11] local.INFO: Extracted packet for processing {"connection_id":143644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119775592,"longitude_deg":75.666848,"latitude_deg":11.9775592,"altitude":52,"angle":344,"satellites":42,"speed":6,"hex_longitude":"2d19d840","hex_latitude":"0723a168","is_valid_coordinates":true} 
[2026-07-25 18:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956261888001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819238600966144,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862379214068305920,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:11] 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-07-25 18:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784985405000,"timestamp_ms":1784985405000,"timestamp_seconds":1784985405,"priority":1,"record_length":96,"hex_timestamp":"0000019f996bc648"} 
[2026-07-25 18:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956261888001,"66":13961,"42":206,"83":42752,"24":6,"16":8819238600966144,"45":1862379214068305920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956261888001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819238600966144,"km_value":8819238600966.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862379214068305920,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956261888001,"power":13961,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1862379214068305920}} 
[2026-07-25 18:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":143644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:12] local.INFO: GPS data processed {"connection_id":143644,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:12] local.INFO: Acknowledgment sent {"connection_id":143644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:26] local.INFO: TCP Data received {"connection_id":142267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:26] local.INFO: Processing buffer {"connection_id":142267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:26] local.INFO: IMEI packet received {"connection_id":142267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":142267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:48:26] local.INFO: TCP Data received {"connection_id":142267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:26] local.INFO: Processing buffer {"connection_id":142267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:26] local.INFO: IMEI packet received {"connection_id":142267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":142267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:27] local.INFO: TCP Data received {"connection_id":141233,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f996cfae0012d82a00005d161d0000700591c..."} 
[2026-07-25 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996cfae0012d82a00005d161d0000700591c..."} 
[2026-07-25 18:48:27] local.INFO: Processing buffer {"connection_id":141233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996cfae0012d82a00005d161d0000700591c..."} 
[2026-07-25 18:48:27] local.INFO: Packet analysis {"connection_id":141233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996c"} 
[2026-07-25 18:48:27] local.INFO: Extracted packet for processing {"connection_id":141233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996c"} 
[2026-07-25 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":97608144,"longitude_deg":76.353536,"latitude_deg":9.7608144,"altitude":7,"angle":89,"satellites":28,"speed":23,"hex_longitude":"2d82a000","hex_latitude":"05d161d0","is_valid_coordinates":true} 
[2026-07-25 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956282880001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110377953677803520,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261521098678272,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784985484000,"timestamp_ms":1784985484000,"timestamp_seconds":1784985484,"priority":1,"record_length":96,"hex_timestamp":"0000019f996cfae0"} 
[2026-07-25 18:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 18:48: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-07-25 18:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:48: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-07-25 18:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956282880001,"66":12917,"63":206,"85":15104,"24":23,"16":110377953677803520,"45":-9036261521098678272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-25 18:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956282880001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:27] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-25 18:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110377953677803520,"km_value":110377953677803.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261521098678272,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956282880001,"power":12917,"unknown_63":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9036261521098678272}} 
[2026-07-25 18:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":141233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:27] local.INFO: GPS data processed {"connection_id":141233,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:27] local.INFO: Acknowledgment sent {"connection_id":141233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:36] local.INFO: TCP Data received {"connection_id":142267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:36] local.INFO: Processing buffer {"connection_id":142267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:48:36] local.INFO: IMEI packet received {"connection_id":142267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":142267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:42] local.INFO: TCP Data received {"connection_id":142268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:42] local.INFO: Processing buffer {"connection_id":142268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:42] local.INFO: IMEI packet received {"connection_id":142268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":142268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:48:43] local.INFO: TCP Data received {"connection_id":142268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:43] local.INFO: Processing buffer {"connection_id":142268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:43] local.INFO: IMEI packet received {"connection_id":142268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":142268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:44] local.INFO: TCP Data received {"connection_id":142268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:44] local.INFO: Processing buffer {"connection_id":142268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:44] local.INFO: IMEI packet received {"connection_id":142268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":142268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:45] local.INFO: TCP Data received {"connection_id":142268,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:45] local.INFO: Processing buffer {"connection_id":142268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:48:45] local.INFO: IMEI packet received {"connection_id":142268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":142268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:48:50] local.INFO: TCP Data received {"connection_id":142267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996bd5e8012d19d7800723a270003501392b..."} 
[2026-07-25 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996bd5e8012d19d7800723a270003501392b..."} 
[2026-07-25 18:48:50] local.INFO: Processing buffer {"connection_id":142267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996bd5e8012d19d7800723a270003501392b..."} 
[2026-07-25 18:48:50] local.INFO: Packet analysis {"connection_id":142267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:50] local.INFO: Extracted packet for processing {"connection_id":142267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996b"} 
[2026-07-25 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756668288,"raw_latitude":119775856,"longitude_deg":75.6668288,"latitude_deg":11.9775856,"altitude":53,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d19d780","hex_latitude":"0723a270","is_valid_coordinates":true} 
[2026-07-25 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956263680001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8819251485868032,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845324429312,"note":"Value kept but may cause issues"} 
[2026-07-25 18:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784985409000,"timestamp_ms":1784985409000,"timestamp_seconds":1784985409,"priority":1,"record_length":96,"hex_timestamp":"0000019f996bd5e8"} 
[2026-07-25 18:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-07-25 18:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956263680001,"66":14048,"42":206,"83":42752,"24":0,"16":8819251485868032,"45":1862308845324429312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-07-25 18:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956263680001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:48:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 18:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8819251485868032,"km_value":8819251485868.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845324429312,"description":"Unknown IO ID 45"} 
[2026-07-25 18:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956263680001,"power":14048,"unknown_42":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1862308845324429312}} 
[2026-07-25 18:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":142267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:48:50] local.INFO: GPS data processed {"connection_id":142267,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:48:50] local.INFO: Acknowledgment sent {"connection_id":142267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:48:55] local.INFO: TCP Data received {"connection_id":143645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:55] local.INFO: Processing buffer {"connection_id":143645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:48:55] local.INFO: IMEI packet received {"connection_id":143645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":143645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:49:00] local.INFO: TCP Data received {"connection_id":143645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:49:00] local.INFO: Processing buffer {"connection_id":143645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:49:00] local.INFO: IMEI packet received {"connection_id":143645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:49:01] local.INFO: TCP Data received {"connection_id":143645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f996a5ee8012da1294005c40a80003201622b..."} 
[2026-07-25 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996a5ee8012da1294005c40a80003201622b..."} 
[2026-07-25 18:49:01] local.INFO: Processing buffer {"connection_id":143645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996a5ee8012da1294005c40a80003201622b..."} 
[2026-07-25 18:49:01] local.INFO: Packet analysis {"connection_id":143645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:49:01] local.INFO: Extracted packet for processing {"connection_id":143645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956234752001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985313000,"timestamp_ms":1784985313000,"timestamp_seconds":1784985313,"priority":1,"record_length":96,"hex_timestamp":"0000019f996a5ee8"} 
[2026-07-25 18:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 18:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956234752001,"66":27865,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956234752001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:49:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956234752001,"power":27865,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":143645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:49:01] local.INFO: GPS data processed {"connection_id":143645,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:49:01] local.INFO: Acknowledgment sent {"connection_id":143645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:49:31] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:31] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:31] local.INFO: IMEI packet received {"connection_id":141235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":141235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:49:32] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:32] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:32] local.INFO: IMEI packet received {"connection_id":141235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":141235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:49:32] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:32] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:32] local.INFO: IMEI packet received {"connection_id":141235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":141235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:49:32] local.INFO: TCP Data received {"connection_id":143645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:49:32] local.INFO: Processing buffer {"connection_id":143645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:49:32] local.INFO: Packet analysis {"connection_id":143645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:49:32] local.INFO: Extracted packet for processing {"connection_id":143645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:49:32] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956240128001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985330000,"timestamp_ms":1784985330000,"timestamp_seconds":1784985330,"priority":1,"record_length":96,"hex_timestamp":"0000019f996aa150"} 
[2026-07-25 18:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956240128001,"66":27974,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956240128001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:49:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956240128001,"power":27974,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":143645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:49:32] local.INFO: GPS data processed {"connection_id":143645,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:49:32] local.INFO: Acknowledgment sent {"connection_id":143645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:49:36] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:36] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:49:36] local.INFO: IMEI packet received {"connection_id":141235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":141235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:49:37] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996d50d0012d18f1400722f610005c010627..."} 
[2026-07-25 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996d50d0012d18f1400722f610005c010627..."} 
[2026-07-25 18:49:37] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996d50d0012d18f1400722f610005c010627..."} 
[2026-07-25 18:49:37] local.INFO: Packet analysis {"connection_id":141235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996d"} 
[2026-07-25 18:49:37] local.INFO: Extracted packet for processing {"connection_id":141235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996d"} 
[2026-07-25 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756609344,"raw_latitude":119731728,"longitude_deg":75.6609344,"latitude_deg":11.9731728,"altitude":92,"angle":262,"satellites":39,"speed":37,"hex_longitude":"2d18f140","hex_latitude":"0722f610","is_valid_coordinates":true} 
[2026-07-25 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956289024001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8823009582252032,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799328819274321920,"note":"Value kept but may cause issues"} 
[2026-07-25 18:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784985506000,"timestamp_ms":1784985506000,"timestamp_seconds":1784985506,"priority":1,"record_length":96,"hex_timestamp":"0000019f996d50d0"} 
[2026-07-25 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 18:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956289024001,"66":13993,"137":206,"83":42752,"24":37,"16":8823009582252032,"45":1799328819274321920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-07-25 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956289024001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:49:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-25 18:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-07-25 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8823009582252032,"km_value":8823009582252.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799328819274321920,"description":"Unknown IO ID 45"} 
[2026-07-25 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956289024001,"power":13993,"unknown_137":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1799328819274321920}} 
[2026-07-25 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":141235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:49:37] local.INFO: GPS data processed {"connection_id":141235,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:49:37] local.INFO: Acknowledgment sent {"connection_id":141235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:49:44] local.INFO: TCP Data received {"connection_id":141285,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:49:44] local.INFO: Processing buffer {"connection_id":141285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:49:44] local.INFO: IMEI packet received {"connection_id":141285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":141285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:49:55] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:49:55] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:49:55] local.INFO: IMEI packet received {"connection_id":141286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:50:00] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:50:00] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:50:00] local.INFO: IMEI packet received {"connection_id":141286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":141286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:50:01] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:50:01] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:50:01] local.INFO: Packet analysis {"connection_id":141286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:50:01] local.INFO: Extracted packet for processing {"connection_id":141286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:50:01] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956240128001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985330000,"timestamp_ms":1784985330000,"timestamp_seconds":1784985330,"priority":1,"record_length":96,"hex_timestamp":"0000019f996aa150"} 
[2026-07-25 18:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956240128001,"66":27974,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956240128001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:50:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956240128001,"power":27974,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":141286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:50:01] local.INFO: GPS data processed {"connection_id":141286,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:50:01] local.INFO: Acknowledgment sent {"connection_id":141286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:50:07] local.INFO: TCP Data received {"connection_id":141235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996de540012d18a3400722b820006900a52b..."} 
[2026-07-25 18:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996de540012d18a3400722b820006900a52b..."} 
[2026-07-25 18:50:07] local.INFO: Processing buffer {"connection_id":141235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996de540012d18a3400722b820006900a52b..."} 
[2026-07-25 18:50:07] local.INFO: Packet analysis {"connection_id":141235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996d"} 
[2026-07-25 18:50:07] local.INFO: Extracted packet for processing {"connection_id":141235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996d"} 
[2026-07-25 18:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119715872,"longitude_deg":75.6589376,"latitude_deg":11.9715872,"altitude":105,"angle":165,"satellites":43,"speed":28,"hex_longitude":"2d18a340","hex_latitude":"0722b820","is_valid_coordinates":true} 
[2026-07-25 18:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956298496001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8824663144660992,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774840496296929280,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784985544000,"timestamp_ms":1784985544000,"timestamp_seconds":1784985544,"priority":1,"record_length":96,"hex_timestamp":"0000019f996de540"} 
[2026-07-25 18:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 18:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956298496001,"66":14243,"105":206,"83":41984,"24":28,"16":8824663144660992,"45":1774840496296929280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956298496001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8824663144660992,"km_value":8824663144660.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774840496296929280,"description":"Unknown IO ID 45"} 
[2026-07-25 18:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956298496001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1774840496296929280}} 
[2026-07-25 18:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":141235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:50:07] local.INFO: GPS data processed {"connection_id":141235,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:50:07] local.INFO: Acknowledgment sent {"connection_id":141235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:50:26] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:50:26] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:50:26] local.INFO: IMEI packet received {"connection_id":141237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":141237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:50:31] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:50:31] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:50:31] local.INFO: IMEI packet received {"connection_id":141237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":141237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:50:32] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996e1bf0012d18a940072298e0006c00b129..."} 
[2026-07-25 18:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996e1bf0012d18a940072298e0006c00b129..."} 
[2026-07-25 18:50:32] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996e1bf0012d18a940072298e0006c00b129..."} 
[2026-07-25 18:50:32] local.INFO: Packet analysis {"connection_id":141237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:50:32] local.INFO: Extracted packet for processing {"connection_id":141237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119707872,"longitude_deg":75.6590912,"latitude_deg":11.9707872,"altitude":108,"angle":177,"satellites":41,"speed":22,"hex_longitude":"2d18a940","hex_latitude":"072298e0","is_valid_coordinates":true} 
[2026-07-25 18:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956299264001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825058281652224,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077505548288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985558000,"timestamp_ms":1784985558000,"timestamp_seconds":1784985558,"priority":1,"record_length":96,"hex_timestamp":"0000019f996e1bf0"} 
[2026-07-25 18:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-07-25 18:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956299264001,"66":14265,"105":206,"83":41984,"24":22,"16":8825058281652224,"45":1775333077505548288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956299264001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825058281652224,"km_value":8825058281652.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077505548288,"description":"Unknown IO ID 45"} 
[2026-07-25 18:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956299264001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1775333077505548288}} 
[2026-07-25 18:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:50:32] local.INFO: GPS data processed {"connection_id":141237,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:50:32] local.INFO: Acknowledgment sent {"connection_id":141237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:50:32] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:50:32] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:50:32] local.INFO: Packet analysis {"connection_id":141286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:50:32] local.INFO: Extracted packet for processing {"connection_id":141286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:50:32] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956240128001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985330000,"timestamp_ms":1784985330000,"timestamp_seconds":1784985330,"priority":1,"record_length":96,"hex_timestamp":"0000019f996aa150"} 
[2026-07-25 18:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956240128001,"66":27974,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956240128001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956240128001,"power":27974,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:50:32] local.INFO: GPS data processed {"connection_id":141286,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:50:32] local.INFO: Acknowledgment sent {"connection_id":141286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:50:55] local.INFO: TCP Data received {"connection_id":143647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:50:55] local.INFO: Processing buffer {"connection_id":143647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:50:55] local.INFO: IMEI packet received {"connection_id":143647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":143647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:51:00] local.INFO: TCP Data received {"connection_id":143647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:51:00] local.INFO: Processing buffer {"connection_id":143647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:51:00] local.INFO: IMEI packet received {"connection_id":143647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":143647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:51:01] local.INFO: TCP Data received {"connection_id":143647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:51:01] local.INFO: Processing buffer {"connection_id":143647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996aa150012da1294005c40a80003201622b..."} 
[2026-07-25 18:51:01] local.INFO: Packet analysis {"connection_id":143647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:51:01] local.INFO: Extracted packet for processing {"connection_id":143647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996a"} 
[2026-07-25 18:51:01] local.INFO: GPS Element Parsed {"raw_longitude":765536576,"raw_latitude":96733824,"longitude_deg":76.5536576,"latitude_deg":9.6733824,"altitude":50,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2da12940","hex_latitude":"05c40a80","is_valid_coordinates":true} 
[2026-07-25 18:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956240128001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985330000,"timestamp_ms":1784985330000,"timestamp_seconds":1784985330,"priority":1,"record_length":96,"hex_timestamp":"0000019f996aa150"} 
[2026-07-25 18:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 18:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956240128001,"66":27974,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956240128001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:51:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956240128001,"power":27974,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":143647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:51:01] local.INFO: GPS data processed {"connection_id":143647,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:51:01] local.INFO: Acknowledgment sent {"connection_id":143647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:51:02] local.INFO: TCP Data received {"connection_id":141237,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996e3b30012d18a8c007228818006a00bc28..."} 
[2026-07-25 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996e3b30012d18a8c007228818006a00bc28..."} 
[2026-07-25 18:51:02] local.INFO: Processing buffer {"connection_id":141237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996e3b30012d18a8c007228818006a00bc28..."} 
[2026-07-25 18:51:02] local.INFO: Packet analysis {"connection_id":141237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:51:02] local.INFO: Extracted packet for processing {"connection_id":141237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119703576,"longitude_deg":75.6590784,"latitude_deg":11.9703576,"altitude":106,"angle":188,"satellites":40,"speed":21,"hex_longitude":"2d18a8c0","hex_latitude":"07228818","is_valid_coordinates":true} 
[2026-07-25 18:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956302848001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825268735049728,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927363764224,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784985566000,"timestamp_ms":1784985566000,"timestamp_seconds":1784985566,"priority":1,"record_length":96,"hex_timestamp":"0000019f996e3b30"} 
[2026-07-25 18:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 18:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956302848001,"66":14102,"105":206,"83":41984,"24":21,"16":8825268735049728,"45":1777021927363764224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956302848001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825268735049728,"km_value":8825268735049.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927363764224,"description":"Unknown IO ID 45"} 
[2026-07-25 18:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956302848001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1777021927363764224}} 
[2026-07-25 18:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":141237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:51:03] local.INFO: GPS data processed {"connection_id":141237,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:51:03] local.INFO: Acknowledgment sent {"connection_id":141237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:51:26] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:51:26] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:51:26] local.INFO: IMEI packet received {"connection_id":141287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":141287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:51:31] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:51:31] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:51:31] local.INFO: IMEI packet received {"connection_id":141287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":141287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:51:32] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996e4eb8012d18a6c007227e98006900c729..."} 
[2026-07-25 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996e4eb8012d18a6c007227e98006900c729..."} 
[2026-07-25 18:51:32] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996e4eb8012d18a6c007227e98006900c729..."} 
[2026-07-25 18:51:32] local.INFO: Packet analysis {"connection_id":141287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:51:32] local.INFO: Extracted packet for processing {"connection_id":141287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756590272,"raw_latitude":119701144,"longitude_deg":75.6590272,"latitude_deg":11.9701144,"altitude":105,"angle":199,"satellites":41,"speed":15,"hex_longitude":"2d18a6c0","hex_latitude":"07227e98","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956304896001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825388994134016,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776881189874309120,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985571000,"timestamp_ms":1784985571000,"timestamp_seconds":1784985571,"priority":1,"record_length":96,"hex_timestamp":"0000019f996e4eb8"} 
[2026-07-25 18:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 18:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956304896001,"66":14004,"105":206,"83":41984,"24":15,"16":8825388994134016,"45":1776881189874309120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956304896001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825388994134016,"km_value":8825388994134.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776881189874309120,"description":"Unknown IO ID 45"} 
[2026-07-25 18:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956304896001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1776881189874309120}} 
[2026-07-25 18:51:32] local.INFO: TCP Data received {"connection_id":143647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:51:32] local.INFO: Processing buffer {"connection_id":143647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:51:32] local.INFO: Packet analysis {"connection_id":143647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:51:32] local.INFO: Extracted packet for processing {"connection_id":143647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:51:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733648,"longitude_deg":76.5537024,"latitude_deg":9.6733648,"altitude":52,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956244480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985633000,"timestamp_ms":1784985633000,"timestamp_seconds":1784985633,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f40e8"} 
[2026-07-25 18:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956244480001,"66":26267,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956244480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956244480001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":143647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:51:32] local.INFO: GPS data processed {"connection_id":143647,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:51:32] local.INFO: Acknowledgment sent {"connection_id":143647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":141287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:51:32] local.INFO: GPS data processed {"connection_id":141287,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:51:32] local.INFO: Acknowledgment sent {"connection_id":141287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:52:00] local.INFO: TCP Data received {"connection_id":143648,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:00] local.INFO: Processing buffer {"connection_id":143648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:00] local.INFO: IMEI packet received {"connection_id":143648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":143648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:52:03] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996e8568012d18984007226038006200d328..."} 
[2026-07-25 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996e8568012d18984007226038006200d328..."} 
[2026-07-25 18:52:03] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996e8568012d18984007226038006200d328..."} 
[2026-07-25 18:52:03] local.INFO: Packet analysis {"connection_id":141287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:52:03] local.INFO: Extracted packet for processing {"connection_id":141287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756586560,"raw_latitude":119693368,"longitude_deg":75.658656,"latitude_deg":11.9693368,"altitude":98,"angle":211,"satellites":40,"speed":35,"hex_longitude":"2d189840","hex_latitude":"07226038","is_valid_coordinates":true} 
[2026-07-25 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956306176001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8825805605961728,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776318239920265216,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985585000,"timestamp_ms":1784985585000,"timestamp_seconds":1784985585,"priority":1,"record_length":96,"hex_timestamp":"0000019f996e8568"} 
[2026-07-25 18:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 18:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956306176001,"66":14048,"105":206,"83":41984,"24":35,"16":8825805605961728,"45":1776318239920265216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956306176001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:52:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8825805605961728,"km_value":8825805605961.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776318239920265216,"description":"Unknown IO ID 45"} 
[2026-07-25 18:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956306176001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776318239920265216}} 
[2026-07-25 18:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":141287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:52:03] local.INFO: GPS data processed {"connection_id":141287,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:52:03] local.INFO: Acknowledgment sent {"connection_id":141287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:52:05] local.INFO: TCP Data received {"connection_id":143648,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:05] local.INFO: Processing buffer {"connection_id":143648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:05] local.INFO: IMEI packet received {"connection_id":143648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":143648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:52:06] local.INFO: TCP Data received {"connection_id":143648,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:52:06] local.INFO: Processing buffer {"connection_id":143648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:52:06] local.INFO: Packet analysis {"connection_id":143648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:52:06] local.INFO: Extracted packet for processing {"connection_id":143648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733648,"longitude_deg":76.5537024,"latitude_deg":9.6733648,"altitude":52,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d0","is_valid_coordinates":true} 
[2026-07-25 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956244480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784985633000,"timestamp_ms":1784985633000,"timestamp_seconds":1784985633,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f40e8"} 
[2026-07-25 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956244480001,"66":26267,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956244480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:52:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956244480001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":143648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:52:06] local.INFO: GPS data processed {"connection_id":143648,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:52:06] local.INFO: Acknowledgment sent {"connection_id":143648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:52:10] local.INFO: TCP Data received {"connection_id":143648,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:52:10] local.INFO: Processing buffer {"connection_id":143648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:52:10] local.INFO: Packet analysis {"connection_id":143648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:52:10] local.INFO: Extracted packet for processing {"connection_id":143648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733648,"longitude_deg":76.5537024,"latitude_deg":9.6733648,"altitude":52,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d0","is_valid_coordinates":true} 
[2026-07-25 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956244480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784985633000,"timestamp_ms":1784985633000,"timestamp_seconds":1784985633,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f40e8"} 
[2026-07-25 18:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956244480001,"66":26267,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956244480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:52:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:52:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956244480001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":143648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:52:10] local.INFO: GPS data processed {"connection_id":143648,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:52:10] local.INFO: Acknowledgment sent {"connection_id":143648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:52:26] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:52:26] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:52:26] local.INFO: IMEI packet received {"connection_id":141238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":141238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:52:31] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:52:31] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:52:31] local.INFO: IMEI packet received {"connection_id":141238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":141238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:52:32] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996ea890012d18834007224068005c00d523..."} 
[2026-07-25 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996ea890012d18834007224068005c00d523..."} 
[2026-07-25 18:52:32] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996ea890012d18834007224068005c00d523..."} 
[2026-07-25 18:52:32] local.INFO: Packet analysis {"connection_id":141238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:52:32] local.INFO: Extracted packet for processing {"connection_id":141238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756581184,"raw_latitude":119685224,"longitude_deg":75.6581184,"latitude_deg":11.9685224,"altitude":92,"angle":213,"satellites":35,"speed":48,"hex_longitude":"2d188340","hex_latitude":"07224068","is_valid_coordinates":true} 
[2026-07-25 18:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956309760001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8826278052364288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772236852755970048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985594000,"timestamp_ms":1784985594000,"timestamp_seconds":1784985594,"priority":1,"record_length":96,"hex_timestamp":"0000019f996ea890"} 
[2026-07-25 18:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 18:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956309760001,"66":13993,"105":206,"83":41984,"24":48,"16":8826278052364288,"45":1772236852755970048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956309760001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:52:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8826278052364288,"km_value":8826278052364.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772236852755970048,"description":"Unknown IO ID 45"} 
[2026-07-25 18:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956309760001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1772236852755970048}} 
[2026-07-25 18:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":141238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:52:32] local.INFO: GPS data processed {"connection_id":141238,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:52:32] local.INFO: Acknowledgment sent {"connection_id":141238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:52:55] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:55] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:52:55] local.INFO: IMEI packet received {"connection_id":141239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":141239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:53:00] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:53:00] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:53:00] local.INFO: IMEI packet received {"connection_id":141239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":141239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:53:01] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:53:01] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:53:01] local.INFO: Packet analysis {"connection_id":141239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:53:01] local.INFO: Extracted packet for processing {"connection_id":141239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733648,"longitude_deg":76.5537024,"latitude_deg":9.6733648,"altitude":52,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956244480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985633000,"timestamp_ms":1784985633000,"timestamp_seconds":1784985633,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f40e8"} 
[2026-07-25 18:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956244480001,"66":26267,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956244480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:53:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956244480001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":141239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:53:01] local.INFO: GPS data processed {"connection_id":141239,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:53:01] local.INFO: Acknowledgment sent {"connection_id":141239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:53:03] local.INFO: TCP Data received {"connection_id":141238,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996ec7d0012d186d4007222020005700d627..."} 
[2026-07-25 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996ec7d0012d186d4007222020005700d627..."} 
[2026-07-25 18:53:03] local.INFO: Processing buffer {"connection_id":141238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996ec7d0012d186d4007222020005700d627..."} 
[2026-07-25 18:53:03] local.INFO: Packet analysis {"connection_id":141238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:53:03] local.INFO: Extracted packet for processing {"connection_id":141238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756575552,"raw_latitude":119676960,"longitude_deg":75.6575552,"latitude_deg":11.967696,"altitude":87,"angle":214,"satellites":39,"speed":49,"hex_longitude":"2d186d40","hex_latitude":"07222020","is_valid_coordinates":true} 
[2026-07-25 18:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956312064001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8826759088701440,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766325878242961408,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985602000,"timestamp_ms":1784985602000,"timestamp_seconds":1784985602,"priority":1,"record_length":96,"hex_timestamp":"0000019f996ec7d0"} 
[2026-07-25 18:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-07-25 18:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956312064001,"66":14026,"105":206,"83":41984,"24":49,"16":8826759088701440,"45":1766325878242961408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956312064001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:53:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8826759088701440,"km_value":8826759088701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766325878242961408,"description":"Unknown IO ID 45"} 
[2026-07-25 18:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956312064001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1766325878242961408}} 
[2026-07-25 18:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":141238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:53:03] local.INFO: GPS data processed {"connection_id":141238,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:53:03] local.INFO: Acknowledgment sent {"connection_id":141238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:53:26] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:53:26] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:53:26] local.INFO: IMEI packet received {"connection_id":141289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":141289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:53:31] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:53:31] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:53:31] local.INFO: IMEI packet received {"connection_id":141289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":141289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:53:32] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996ee710012d1857400721ffa0005200d526..."} 
[2026-07-25 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996ee710012d1857400721ffa0005200d526..."} 
[2026-07-25 18:53:32] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996ee710012d1857400721ffa0005200d526..."} 
[2026-07-25 18:53:32] local.INFO: Packet analysis {"connection_id":141289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:53:32] local.INFO: Extracted packet for processing {"connection_id":141289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996e"} 
[2026-07-25 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119668640,"longitude_deg":75.656992,"latitude_deg":11.966864,"altitude":82,"angle":213,"satellites":38,"speed":49,"hex_longitude":"2d185740","hex_latitude":"0721ffa0","is_valid_coordinates":true} 
[2026-07-25 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956314112001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8827240125038592,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760133428753211392,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985610000,"timestamp_ms":1784985610000,"timestamp_seconds":1784985610,"priority":1,"record_length":96,"hex_timestamp":"0000019f996ee710"} 
[2026-07-25 18:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-07-25 18:53: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-07-25 18:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956314112001,"66":13396,"105":206,"83":41984,"24":49,"16":8827240125038592,"45":1760133428753211392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956314112001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8827240125038592,"km_value":8827240125038.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760133428753211392,"description":"Unknown IO ID 45"} 
[2026-07-25 18:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956314112001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1760133428753211392}} 
[2026-07-25 18:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":141289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:53:32] local.INFO: GPS data processed {"connection_id":141289,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:53:32] local.INFO: Acknowledgment sent {"connection_id":141289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:53:32] local.INFO: TCP Data received {"connection_id":141239,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:53:32] local.INFO: Processing buffer {"connection_id":141239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:53:32] local.INFO: Packet analysis {"connection_id":141239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:53:32] local.INFO: Extracted packet for processing {"connection_id":141239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733648,"longitude_deg":76.5537024,"latitude_deg":9.6733648,"altitude":52,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d0","is_valid_coordinates":true} 
[2026-07-25 18:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956244480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985633000,"timestamp_ms":1784985633000,"timestamp_seconds":1784985633,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f40e8"} 
[2026-07-25 18:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956244480001,"66":26267,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956244480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956244480001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":141239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:53:32] local.INFO: GPS data processed {"connection_id":141239,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:53:32] local.INFO: Acknowledgment sent {"connection_id":141239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:53:46] local.INFO: TCP Data received {"connection_id":142270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:46] local.INFO: Processing buffer {"connection_id":142270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:46] local.INFO: IMEI packet received {"connection_id":142270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":142270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:53:50] local.INFO: TCP Data received {"connection_id":142270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:50] local.INFO: Processing buffer {"connection_id":142270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:50] local.INFO: IMEI packet received {"connection_id":142270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":142270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:53:51] local.INFO: TCP Data received {"connection_id":142270,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:51] local.INFO: Processing buffer {"connection_id":142270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:53:51] local.INFO: IMEI packet received {"connection_id":142270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":142270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:53:52] local.INFO: TCP Data received {"connection_id":142270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997163c8012d81128005d18c10000801491c..."} 
[2026-07-25 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997163c8012d81128005d18c10000801491c..."} 
[2026-07-25 18:53:52] local.INFO: Processing buffer {"connection_id":142270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997163c8012d81128005d18c10000801491c..."} 
[2026-07-25 18:53:52] local.INFO: Packet analysis {"connection_id":142270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:53:52] local.INFO: Extracted packet for processing {"connection_id":142270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":763433600,"raw_latitude":97618960,"longitude_deg":76.34336,"latitude_deg":9.761896,"altitude":8,"angle":329,"satellites":28,"speed":10,"hex_longitude":"2d811280","hex_latitude":"05d18c10","is_valid_coordinates":true} 
[2026-07-25 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956357632001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110386754065793024,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145896024524748800,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784985773000,"timestamp_ms":1784985773000,"timestamp_seconds":1784985773,"priority":1,"record_length":96,"hex_timestamp":"0000019f997163c8"} 
[2026-07-25 18:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 18:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956357632001,"66":12504,"65":206,"85":15104,"24":10,"16":110386754065793024,"45":-9145896024524748800},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-25 18:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956357632001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:53:52] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 18:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110386754065793024,"km_value":110386754065793.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145896024524748800,"description":"Unknown IO ID 45"} 
[2026-07-25 18:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956357632001,"power":12504,"unknown_65":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9145896024524748800}} 
[2026-07-25 18:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":142270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:53:52] local.INFO: GPS data processed {"connection_id":142270,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:53:52] local.INFO: Acknowledgment sent {"connection_id":142270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:53:55] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:53:55] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:53:55] local.INFO: IMEI packet received {"connection_id":141241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":141241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:53:56] local.INFO: TCP Data received {"connection_id":142270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997167b0012d81124005d18cf00008015d1c..."} 
[2026-07-25 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997167b0012d81124005d18cf00008015d1c..."} 
[2026-07-25 18:53:56] local.INFO: Processing buffer {"connection_id":142270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997167b0012d81124005d18cf00008015d1c..."} 
[2026-07-25 18:53:56] local.INFO: Packet analysis {"connection_id":142270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:53:56] local.INFO: Extracted packet for processing {"connection_id":142270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763433536,"raw_latitude":97619184,"longitude_deg":76.3433536,"latitude_deg":9.7619184,"altitude":8,"angle":349,"satellites":28,"speed":10,"hex_longitude":"2d811240","hex_latitude":"05d18cf0","is_valid_coordinates":true} 
[2026-07-25 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956357888001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110386762655727616,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146107130757246976,"note":"Value kept but may cause issues"} 
[2026-07-25 18:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784985774000,"timestamp_ms":1784985774000,"timestamp_seconds":1784985774,"priority":1,"record_length":96,"hex_timestamp":"0000019f997167b0"} 
[2026-07-25 18:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 18:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956357888001,"66":12330,"65":206,"85":15104,"24":10,"16":110386762655727616,"45":-9146107130757246976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-25 18:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956357888001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:53:56] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 18:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110386762655727616,"km_value":110386762655727.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146107130757246976,"description":"Unknown IO ID 45"} 
[2026-07-25 18:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956357888001,"power":12330,"unknown_65":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9146107130757246976}} 
[2026-07-25 18:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":142270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:53:56] local.INFO: GPS data processed {"connection_id":142270,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:53:56] local.INFO: Acknowledgment sent {"connection_id":142270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:00] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:54:00] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:54:00] local.INFO: IMEI packet received {"connection_id":141241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":141241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:54:01] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:54:01] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f40e8012da12b0005c409d00034016224..."} 
[2026-07-25 18:54:01] local.INFO: Packet analysis {"connection_id":141241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:54:01] local.INFO: Extracted packet for processing {"connection_id":141241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733648,"longitude_deg":76.5537024,"latitude_deg":9.6733648,"altitude":52,"angle":354,"satellites":36,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d0","is_valid_coordinates":true} 
[2026-07-25 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956244480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833860566049980416,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985633000,"timestamp_ms":1784985633000,"timestamp_seconds":1784985633,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f40e8"} 
[2026-07-25 18:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956244480001,"66":26267,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833860566049980416},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956244480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833860566049980416,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956244480001,"power":26267,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833860566049980416}} 
[2026-07-25 18:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":141241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:01] local.INFO: GPS data processed {"connection_id":141241,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:01] local.INFO: Acknowledgment sent {"connection_id":141241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:03] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f996f0650012d1842400721e0d0004e00d629..."} 
[2026-07-25 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f996f0650012d1842400721e0d0004e00d629..."} 
[2026-07-25 18:54:03] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f996f0650012d1842400721e0d0004e00d629..."} 
[2026-07-25 18:54:03] local.INFO: Packet analysis {"connection_id":141289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:54:03] local.INFO: Extracted packet for processing {"connection_id":141289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f996f"} 
[2026-07-25 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":756564544,"raw_latitude":119660752,"longitude_deg":75.6564544,"latitude_deg":11.9660752,"altitude":78,"angle":214,"satellites":41,"speed":43,"hex_longitude":"2d184240","hex_latitude":"0721e0d0","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956316160001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8827699686539264,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263447040,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985618000,"timestamp_ms":1784985618000,"timestamp_seconds":1784985618,"priority":1,"record_length":96,"hex_timestamp":"0000019f996f0650"} 
[2026-07-25 18:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956316160001,"66":13330,"105":206,"83":41984,"24":43,"16":8827699686539264,"45":1753940979263447040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 18:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956316160001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 18:54:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8827699686539264,"km_value":8827699686539.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263447040,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956316160001,"power":13330,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1753940979263447040}} 
[2026-07-25 18:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":141289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:03] local.INFO: GPS data processed {"connection_id":141289,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:03] local.INFO: Acknowledgment sent {"connection_id":141289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:27] local.INFO: TCP Data received {"connection_id":142270,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99717f20012d81110005d197a0000600011c..."} 
[2026-07-25 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99717f20012d81110005d197a0000600011c..."} 
[2026-07-25 18:54:27] local.INFO: Processing buffer {"connection_id":142270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99717f20012d81110005d197a0000600011c..."} 
[2026-07-25 18:54:27] local.INFO: Packet analysis {"connection_id":142270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:54:27] local.INFO: Extracted packet for processing {"connection_id":142270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763433216,"raw_latitude":97621920,"longitude_deg":76.3433216,"latitude_deg":9.762192,"altitude":6,"angle":1,"satellites":28,"speed":20,"hex_longitude":"2d811100","hex_latitude":"05d197a0","is_valid_coordinates":true} 
[2026-07-25 18:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956358144001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110386895799713792,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146177499501367296,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784985780000,"timestamp_ms":1784985780000,"timestamp_seconds":1784985780,"priority":1,"record_length":96,"hex_timestamp":"0000019f99717f20"} 
[2026-07-25 18:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54: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-07-25 18:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956358144001,"66":12428,"65":206,"85":15104,"24":20,"16":110386895799713792,"45":-9146177499501367296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-25 18:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956358144001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:27] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-25 18:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110386895799713792,"km_value":110386895799713.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146177499501367296,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956358144001,"power":12428,"unknown_65":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9146177499501367296}} 
[2026-07-25 18:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":142270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:27] local.INFO: GPS data processed {"connection_id":142270,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:27] local.INFO: Acknowledgment sent {"connection_id":142270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:28] local.INFO: TCP Data received {"connection_id":143649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:28] local.INFO: Processing buffer {"connection_id":143649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:28] local.INFO: IMEI packet received {"connection_id":143649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":143649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:54:31] local.INFO: TCP Data received {"connection_id":143649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:31] local.INFO: Processing buffer {"connection_id":143649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:31] local.INFO: IMEI packet received {"connection_id":143649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":143649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:54:32] local.INFO: TCP Data received {"connection_id":141241,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:54:32] local.INFO: Processing buffer {"connection_id":141241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:54:32] local.INFO: Packet analysis {"connection_id":141241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:54:32] local.INFO: Extracted packet for processing {"connection_id":141241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18: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-07-25 18:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":141241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:32] local.INFO: GPS data processed {"connection_id":141241,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:32] local.INFO: Acknowledgment sent {"connection_id":141241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:36] local.INFO: TCP Data received {"connection_id":143649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:36] local.INFO: Processing buffer {"connection_id":143649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:54:36] local.INFO: IMEI packet received {"connection_id":143649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":143649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:54:37] local.INFO: TCP Data received {"connection_id":143649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99719e60012d18184007219e38004900a429..."} 
[2026-07-25 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99719e60012d18184007219e38004900a429..."} 
[2026-07-25 18:54:37] local.INFO: Processing buffer {"connection_id":143649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99719e60012d18184007219e38004900a429..."} 
[2026-07-25 18:54:37] local.INFO: Packet analysis {"connection_id":143649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:54:37] local.INFO: Extracted packet for processing {"connection_id":143649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956356352001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784985788000,"timestamp_ms":1784985788000,"timestamp_seconds":1784985788,"priority":1,"record_length":96,"hex_timestamp":"0000019f99719e60"} 
[2026-07-25 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956356352001,"66":12972,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956356352001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956356352001,"power":12972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":143649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:37] local.INFO: GPS data processed {"connection_id":143649,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:37] local.INFO: Acknowledgment sent {"connection_id":143649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:41] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:41] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:41] local.INFO: IMEI packet received {"connection_id":141290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":141290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:54:45] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:45] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:45] local.INFO: IMEI packet received {"connection_id":141290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":141290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:54:46] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:46] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:46] local.INFO: IMEI packet received {"connection_id":141290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":141290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:54:46] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:46] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:54:46] local.INFO: IMEI packet received {"connection_id":141290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":141290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:54:47] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9972d6e0012d81184005d26ab80006013e1d..."} 
[2026-07-25 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9972d6e0012d81184005d26ab80006013e1d..."} 
[2026-07-25 18:54:47] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9972d6e0012d81184005d26ab80006013e1d..."} 
[2026-07-25 18:54:47] local.INFO: Packet analysis {"connection_id":141290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:54:47] local.INFO: Extracted packet for processing {"connection_id":141290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763435072,"raw_latitude":97675960,"longitude_deg":76.3435072,"latitude_deg":9.767596,"altitude":6,"angle":318,"satellites":29,"speed":19,"hex_longitude":"2d811840","hex_latitude":"05d26ab8","is_valid_coordinates":true} 
[2026-07-25 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956381952001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110389554384470016,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144136805905774592,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784985868000,"timestamp_ms":1784985868000,"timestamp_seconds":1784985868,"priority":1,"record_length":96,"hex_timestamp":"0000019f9972d6e0"} 
[2026-07-25 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956381952001,"66":11602,"208":206,"85":15104,"24":19,"16":110389554384470016,"45":-9144136805905774592},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956381952001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110389554384470016,"km_value":110389554384470.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144136805905774592,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956381952001,"power":11602,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9144136805905774592}} 
[2026-07-25 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":141290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:47] local.INFO: GPS data processed {"connection_id":141290,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:47] local.INFO: Acknowledgment sent {"connection_id":141290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:47] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9972dac8012d81160005d26bb80007012d1c..."} 
[2026-07-25 18:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9972dac8012d81160005d26bb80007012d1c..."} 
[2026-07-25 18:54:47] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9972dac8012d81160005d26bb80007012d1c..."} 
[2026-07-25 18:54:47] local.INFO: Packet analysis {"connection_id":141290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:54:47] local.INFO: Extracted packet for processing {"connection_id":141290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763434496,"raw_latitude":97676216,"longitude_deg":76.3434496,"latitude_deg":9.7676216,"altitude":7,"angle":301,"satellites":28,"speed":20,"hex_longitude":"2d811600","hex_latitude":"05d26bb8","is_valid_coordinates":true} 
[2026-07-25 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956382208001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110389584449241088,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144488649626568704,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784985869000,"timestamp_ms":1784985869000,"timestamp_seconds":1784985869,"priority":1,"record_length":96,"hex_timestamp":"0000019f9972dac8"} 
[2026-07-25 18:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956382208001,"66":11808,"208":206,"85":15104,"24":20,"16":110389584449241088,"45":-9144488649626568704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956382208001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110389584449241088,"km_value":110389584449241.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144488649626568704,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956382208001,"power":11808,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9144488649626568704}} 
[2026-07-25 18:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":141290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:47] local.INFO: GPS data processed {"connection_id":141290,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:47] local.INFO: Acknowledgment sent {"connection_id":141290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:50] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9972deb0012d81138005d26c180007011b1c..."} 
[2026-07-25 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9972deb0012d81138005d26c180007011b1c..."} 
[2026-07-25 18:54:50] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9972deb0012d81138005d26c180007011b1c..."} 
[2026-07-25 18:54:50] local.INFO: Packet analysis {"connection_id":141290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:54:50] local.INFO: Extracted packet for processing {"connection_id":141290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:54:50] local.INFO: GPS Element Parsed {"raw_longitude":763433856,"raw_latitude":97676312,"longitude_deg":76.3433856,"latitude_deg":9.7676312,"altitude":7,"angle":283,"satellites":28,"speed":22,"hex_longitude":"2d811380","hex_latitude":"05d26c18","is_valid_coordinates":true} 
[2026-07-25 18:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956382464001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110389614514012160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145121968324102144,"note":"Value kept but may cause issues"} 
[2026-07-25 18:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784985870000,"timestamp_ms":1784985870000,"timestamp_seconds":1784985870,"priority":1,"record_length":96,"hex_timestamp":"0000019f9972deb0"} 
[2026-07-25 18:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-25 18:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956382464001,"66":11808,"208":206,"85":15104,"24":22,"16":110389614514012160,"45":-9145121968324102144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956382464001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:54:50] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110389614514012160,"km_value":110389614514012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145121968324102144,"description":"Unknown IO ID 45"} 
[2026-07-25 18:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956382464001,"power":11808,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9145121968324102144}} 
[2026-07-25 18:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":141290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:54:50] local.INFO: GPS data processed {"connection_id":141290,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:54:50] local.INFO: Acknowledgment sent {"connection_id":141290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:54:54] local.INFO: TCP Data received {"connection_id":143650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:54:54] local.INFO: Processing buffer {"connection_id":143650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:54:54] local.INFO: IMEI packet received {"connection_id":143650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":143650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:55:00] local.INFO: TCP Data received {"connection_id":143650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:55:00] local.INFO: Processing buffer {"connection_id":143650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:55:00] local.INFO: IMEI packet received {"connection_id":143650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":143650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:55:00] local.INFO: TCP Data received {"connection_id":143650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:55:00] local.INFO: Processing buffer {"connection_id":143650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:55:00] local.INFO: Packet analysis {"connection_id":143650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:55:00] local.INFO: Extracted packet for processing {"connection_id":143650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":143650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:00] local.INFO: GPS data processed {"connection_id":143650,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:00] local.INFO: Acknowledgment sent {"connection_id":143650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:55:08] local.INFO: TCP Data received {"connection_id":143649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012d18184007219e38004900a426..."} 
[2026-07-25 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012d18184007219e38004900a426..."} 
[2026-07-25 18:55:08] local.INFO: Processing buffer {"connection_id":143649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012d18184007219e38004900a426..."} 
[2026-07-25 18:55:08] local.INFO: Packet analysis {"connection_id":143649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:55:08] local.INFO: Extracted packet for processing {"connection_id":143649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956361728001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 18:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956361728001,"66":12950,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956361728001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956361728001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":143649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:08] local.INFO: GPS data processed {"connection_id":143649,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:08] local.INFO: Acknowledgment sent {"connection_id":143649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:55:15] local.INFO: TCP Data received {"connection_id":141240,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:55:15] local.INFO: Processing buffer {"connection_id":141240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 18:55:15] local.INFO: IMEI packet received {"connection_id":141240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 18:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":141240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:55:21] local.INFO: TCP Data received {"connection_id":141290,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99738a90012d80cc8005d2b7b00003013e1d..."} 
[2026-07-25 18:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99738a90012d80cc8005d2b7b00003013e1d..."} 
[2026-07-25 18:55:21] local.INFO: Processing buffer {"connection_id":141290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99738a90012d80cc8005d2b7b00003013e1d..."} 
[2026-07-25 18:55:21] local.INFO: Packet analysis {"connection_id":141290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:55:21] local.INFO: Extracted packet for processing {"connection_id":141290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:55:21] local.INFO: GPS Element Parsed {"raw_longitude":763415680,"raw_latitude":97695664,"longitude_deg":76.341568,"latitude_deg":9.7695664,"altitude":3,"angle":318,"satellites":29,"speed":21,"hex_longitude":"2d80cc80","hex_latitude":"05d2b7b0","is_valid_coordinates":true} 
[2026-07-25 18:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956393472001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110391104867663872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164895585433219072,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784985914000,"timestamp_ms":1784985914000,"timestamp_seconds":1784985914,"priority":1,"record_length":96,"hex_timestamp":"0000019f99738a90"} 
[2026-07-25 18:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956393472001,"66":12189,"208":206,"85":15104,"24":21,"16":110391104867663872,"45":-9164895585433219072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956393472001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110391104867663872,"km_value":110391104867663.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164895585433219072,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956393472001,"power":12189,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9164895585433219072}} 
[2026-07-25 18:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":141290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:21] local.INFO: GPS data processed {"connection_id":141290,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:21] local.INFO: Acknowledgment sent {"connection_id":141290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:55:26] local.INFO: TCP Data received {"connection_id":142271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:55:26] local.INFO: Processing buffer {"connection_id":142271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:55:26] local.INFO: IMEI packet received {"connection_id":142271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":142271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:55:31] local.INFO: TCP Data received {"connection_id":142271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:55:31] local.INFO: Processing buffer {"connection_id":142271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:55:31] local.INFO: IMEI packet received {"connection_id":142271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":142271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:55:32] local.INFO: TCP Data received {"connection_id":143650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:55:32] local.INFO: Processing buffer {"connection_id":143650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:55:32] local.INFO: Packet analysis {"connection_id":143650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:55:32] local.INFO: Extracted packet for processing {"connection_id":143650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:55: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-07-25 18:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":143650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:32] local.INFO: GPS data processed {"connection_id":143650,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:32] local.INFO: Acknowledgment sent {"connection_id":143650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:55:32] local.INFO: TCP Data received {"connection_id":142271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99724270012d18184007219e38004900a427..."} 
[2026-07-25 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99724270012d18184007219e38004900a427..."} 
[2026-07-25 18:55:32] local.INFO: Processing buffer {"connection_id":142271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99724270012d18184007219e38004900a427..."} 
[2026-07-25 18:55:32] local.INFO: Packet analysis {"connection_id":142271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:55:32] local.INFO: Extracted packet for processing {"connection_id":142271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985830000,"timestamp_ms":1784985830000,"timestamp_seconds":1784985830,"priority":1,"record_length":96,"hex_timestamp":"0000019f99724270"} 
[2026-07-25 18:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-25 18:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":12863,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":12863,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":142271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:32] local.INFO: GPS data processed {"connection_id":142271,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:32] local.INFO: Acknowledgment sent {"connection_id":142271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:55:42] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:42] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:42] local.INFO: IMEI packet received {"connection_id":141242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":141242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:55:45] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:45] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:45] local.INFO: IMEI packet received {"connection_id":141242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":141242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:55:50] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:50] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:55:50] local.INFO: IMEI packet received {"connection_id":141242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":141242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:55:51] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99738e78012d80cc0005d2ba000003014f1d..."} 
[2026-07-25 18:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99738e78012d80cc0005d2ba000003014f1d..."} 
[2026-07-25 18:55:51] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99738e78012d80cc0005d2ba000003014f1d..."} 
[2026-07-25 18:55:51] local.INFO: Packet analysis {"connection_id":141242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:55:51] local.INFO: Extracted packet for processing {"connection_id":141242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":763415552,"raw_latitude":97696256,"longitude_deg":76.3415552,"latitude_deg":9.7696256,"altitude":3,"angle":335,"satellites":29,"speed":24,"hex_longitude":"2d80cc00","hex_latitude":"05d2ba00","is_valid_coordinates":true} 
[2026-07-25 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956393984001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110391130637467648,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165810379107356672,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784985915000,"timestamp_ms":1784985915000,"timestamp_seconds":1784985915,"priority":1,"record_length":96,"hex_timestamp":"0000019f99738e78"} 
[2026-07-25 18:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-25 18:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956393984001,"66":12189,"208":206,"85":15104,"24":24,"16":110391130637467648,"45":-9165810379107356672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956393984001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110391130637467648,"km_value":110391130637467.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165810379107356672,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956393984001,"power":12189,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9165810379107356672}} 
[2026-07-25 18:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":141242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:51] local.INFO: GPS data processed {"connection_id":141242,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:51] local.INFO: Acknowledgment sent {"connection_id":141242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:55:52] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99739260012d80cb8005d2bcb80003015d1d..."} 
[2026-07-25 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99739260012d80cb8005d2bcb80003015d1d..."} 
[2026-07-25 18:55:52] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99739260012d80cb8005d2bcb80003015d1d..."} 
[2026-07-25 18:55:52] local.INFO: Packet analysis {"connection_id":141242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:55:52] local.INFO: Extracted packet for processing {"connection_id":141242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763415424,"raw_latitude":97696952,"longitude_deg":76.3415424,"latitude_deg":9.7696952,"altitude":3,"angle":349,"satellites":29,"speed":25,"hex_longitude":"2d80cb80","hex_latitude":"05d2bcb8","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956394240001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110391164997206016,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165951116595560448,"note":"Value kept but may cause issues"} 
[2026-07-25 18:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784985916000,"timestamp_ms":1784985916000,"timestamp_seconds":1784985916,"priority":1,"record_length":96,"hex_timestamp":"0000019f99739260"} 
[2026-07-25 18:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-25 18:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956394240001,"66":12841,"208":206,"85":15104,"24":25,"16":110391164997206016,"45":-9165951116595560448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956394240001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:55:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110391164997206016,"km_value":110391164997206.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165951116595560448,"description":"Unknown IO ID 45"} 
[2026-07-25 18:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956394240001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9165951116595560448}} 
[2026-07-25 18:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":141242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:55:52] local.INFO: GPS data processed {"connection_id":141242,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:55:52] local.INFO: Acknowledgment sent {"connection_id":141242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:00] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:00] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:00] local.INFO: IMEI packet received {"connection_id":143651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":143651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:56:03] local.INFO: TCP Data received {"connection_id":142271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99729478012d18184007219e38004900a429..."} 
[2026-07-25 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99729478012d18184007219e38004900a429..."} 
[2026-07-25 18:56:03] local.INFO: Processing buffer {"connection_id":142271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99729478012d18184007219e38004900a429..."} 
[2026-07-25 18:56:03] local.INFO: Packet analysis {"connection_id":142271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:56:03] local.INFO: Extracted packet for processing {"connection_id":142271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956372480001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985851000,"timestamp_ms":1784985851000,"timestamp_seconds":1784985851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99729478"} 
[2026-07-25 18:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 18:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956372480001,"66":12885,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956372480001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:56:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956372480001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":142271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:56:03] local.INFO: GPS data processed {"connection_id":142271,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:56:03] local.INFO: Acknowledgment sent {"connection_id":142271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:05] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:05] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:05] local.INFO: IMEI packet received {"connection_id":143651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":143651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:56:06] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:56:06] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:56:06] local.INFO: Packet analysis {"connection_id":143651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:56:06] local.INFO: Extracted packet for processing {"connection_id":143651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:56:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":143651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:56:06] local.INFO: GPS data processed {"connection_id":143651,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:56:06] local.INFO: Acknowledgment sent {"connection_id":143651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:10] local.INFO: TCP Data received {"connection_id":143651,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:56:10] local.INFO: Processing buffer {"connection_id":143651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:56:10] local.INFO: Packet analysis {"connection_id":143651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:56:10] local.INFO: Extracted packet for processing {"connection_id":143651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:56:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":143651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:56:11] local.INFO: GPS data processed {"connection_id":143651,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:56:11] local.INFO: Acknowledgment sent {"connection_id":143651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:23] local.INFO: TCP Data received {"connection_id":141242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99743e40012d80a70005d316700007000c1d..."} 
[2026-07-25 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99743e40012d80a70005d316700007000c1d..."} 
[2026-07-25 18:56:23] local.INFO: Processing buffer {"connection_id":141242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99743e40012d80a70005d316700007000c1d..."} 
[2026-07-25 18:56:23] local.INFO: Packet analysis {"connection_id":141242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:56:23] local.INFO: Extracted packet for processing {"connection_id":141242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:56:23] local.INFO: GPS Element Parsed {"raw_longitude":763406080,"raw_latitude":97719920,"longitude_deg":76.340608,"latitude_deg":9.771992,"altitude":7,"angle":12,"satellites":29,"speed":31,"hex_longitude":"2d80a700","hex_latitude":"05d31670","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956404224001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110392638170988544,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176999009426685952,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784985960000,"timestamp_ms":1784985960000,"timestamp_seconds":1784985960,"priority":1,"record_length":96,"hex_timestamp":"0000019f99743e40"} 
[2026-07-25 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-07-25 18:56: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-07-25 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 18:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 18:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":141242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":141242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":141242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956404224001,"66":12798,"208":206,"85":15104,"24":31,"16":110392638170988544,"45":-9176999009426685952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956404224001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:56:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:56:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110392638170988544,"km_value":110392638170988.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176999009426685952,"description":"Unknown IO ID 45"} 
[2026-07-25 18:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956404224001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9176999009426685952}} 
[2026-07-25 18:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":141242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:56:23] local.INFO: GPS data processed {"connection_id":141242,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:56:23] local.INFO: Acknowledgment sent {"connection_id":141242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:26] local.INFO: TCP Data received {"connection_id":143652,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:56:26] local.INFO: Processing buffer {"connection_id":143652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:56:26] local.INFO: IMEI packet received {"connection_id":143652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":143652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:56:31] local.INFO: TCP Data received {"connection_id":143652,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:56:31] local.INFO: Processing buffer {"connection_id":143652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:56:31] local.INFO: IMEI packet received {"connection_id":143652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":143652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:56:32] local.INFO: TCP Data received {"connection_id":143652,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9972e680012d18184007219e38004900a425..."} 
[2026-07-25 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9972e680012d18184007219e38004900a425..."} 
[2026-07-25 18:56:32] local.INFO: Processing buffer {"connection_id":143652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9972e680012d18184007219e38004900a425..."} 
[2026-07-25 18:56:32] local.INFO: Packet analysis {"connection_id":143652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:56:32] local.INFO: Extracted packet for processing {"connection_id":143652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9972"} 
[2026-07-25 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956377856001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985872000,"timestamp_ms":1784985872000,"timestamp_seconds":1784985872,"priority":1,"record_length":96,"hex_timestamp":"0000019f9972e680"} 
[2026-07-25 18:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-25 18:56: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-07-25 18:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956377856001,"66":12841,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956377856001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:56:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956377856001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":143652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:56:32] local.INFO: GPS data processed {"connection_id":143652,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:56:32] local.INFO: Acknowledgment sent {"connection_id":143652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:45] local.INFO: TCP Data received {"connection_id":141291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:56:45] local.INFO: Processing buffer {"connection_id":141291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:56:45] local.INFO: IMEI packet received {"connection_id":141291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":141291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:56:50] local.INFO: TCP Data received {"connection_id":141291,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:56:50] local.INFO: Processing buffer {"connection_id":141291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:56:50] local.INFO: IMEI packet received {"connection_id":141291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":141291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:56:52] local.INFO: TCP Data received {"connection_id":141291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99745998012d80ab0005d32cc8000500011d..."} 
[2026-07-25 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99745998012d80ab0005d32cc8000500011d..."} 
[2026-07-25 18:56:52] local.INFO: Processing buffer {"connection_id":141291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99745998012d80ab0005d32cc8000500011d..."} 
[2026-07-25 18:56:52] local.INFO: Packet analysis {"connection_id":141291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:56:52] local.INFO: Extracted packet for processing {"connection_id":141291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":763407104,"raw_latitude":97725640,"longitude_deg":76.3407104,"latitude_deg":9.772564,"altitude":5,"angle":1,"satellites":29,"speed":36,"hex_longitude":"2d80ab00","hex_latitude":"05d32cc8","is_valid_coordinates":true} 
[2026-07-25 18:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956405760001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110392921638830080,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176365690727796736,"note":"Value kept but may cause issues"} 
[2026-07-25 18:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784985967000,"timestamp_ms":1784985967000,"timestamp_seconds":1784985967,"priority":1,"record_length":96,"hex_timestamp":"0000019f99745998"} 
[2026-07-25 18:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956405760001,"66":12841,"208":206,"85":15104,"24":36,"16":110392921638830080,"45":-9176365690727796736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956405760001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:56:52] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110392921638830080,"km_value":110392921638830.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176365690727796736,"description":"Unknown IO ID 45"} 
[2026-07-25 18:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956405760001,"power":12841,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9176365690727796736}} 
[2026-07-25 18:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":141291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:56:52] local.INFO: GPS data processed {"connection_id":141291,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:56:52] local.INFO: Acknowledgment sent {"connection_id":141291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:56:55] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:55] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:56:55] local.INFO: IMEI packet received {"connection_id":141243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":141243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:57:00] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:57:00] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:57:00] local.INFO: IMEI packet received {"connection_id":141243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":141243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:57:01] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:57:01] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:57:01] local.INFO: Packet analysis {"connection_id":141243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:57:01] local.INFO: Extracted packet for processing {"connection_id":141243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:57:01] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:57:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":141243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:57:01] local.INFO: GPS data processed {"connection_id":141243,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:57:01] local.INFO: Acknowledgment sent {"connection_id":141243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:57:03] local.INFO: TCP Data received {"connection_id":143652,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99733888012d18184007219e38004900a427..."} 
[2026-07-25 18:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99733888012d18184007219e38004900a427..."} 
[2026-07-25 18:57:03] local.INFO: Processing buffer {"connection_id":143652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99733888012d18184007219e38004900a427..."} 
[2026-07-25 18:57:03] local.INFO: Packet analysis {"connection_id":143652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:57:03] local.INFO: Extracted packet for processing {"connection_id":143652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956383232001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985893000,"timestamp_ms":1784985893000,"timestamp_seconds":1784985893,"priority":1,"record_length":96,"hex_timestamp":"0000019f99733888"} 
[2026-07-25 18:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956383232001,"66":12841,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956383232001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956383232001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":143652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:57:03] local.INFO: GPS data processed {"connection_id":143652,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:57:03] local.INFO: Acknowledgment sent {"connection_id":143652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:57:23] local.INFO: TCP Data received {"connection_id":141291,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99748878012d80abc005d35230000300031d..."} 
[2026-07-25 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99748878012d80abc005d35230000300031d..."} 
[2026-07-25 18:57:23] local.INFO: Processing buffer {"connection_id":141291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99748878012d80abc005d35230000300031d..."} 
[2026-07-25 18:57:23] local.INFO: Packet analysis {"connection_id":141291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:57:23] local.INFO: Extracted packet for processing {"connection_id":141291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763407296,"raw_latitude":97735216,"longitude_deg":76.3407296,"latitude_deg":9.7735216,"altitude":3,"angle":3,"satellites":29,"speed":33,"hex_longitude":"2d80abc0","hex_latitude":"05d35230","is_valid_coordinates":true} 
[2026-07-25 18: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-07-25 18:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956407552001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110393385495298048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175239790819489792,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784985979000,"timestamp_ms":1784985979000,"timestamp_seconds":1784985979,"priority":1,"record_length":96,"hex_timestamp":"0000019f99748878"} 
[2026-07-25 18:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:57: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-07-25 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":141291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":141291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":141291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956407552001,"66":12678,"208":206,"85":15104,"24":33,"16":110393385495298048,"45":-9175239790819489792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-25 18:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956407552001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:57:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-25 18:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110393385495298048,"km_value":110393385495298.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175239790819489792,"description":"Unknown IO ID 45"} 
[2026-07-25 18:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956407552001,"power":12678,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9175239790819489792}} 
[2026-07-25 18:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":141291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:57:23] local.INFO: GPS data processed {"connection_id":141291,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:57:23] local.INFO: Acknowledgment sent {"connection_id":141291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:57:26] local.INFO: TCP Data received {"connection_id":141244,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:57:26] local.INFO: Processing buffer {"connection_id":141244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:57:26] local.INFO: IMEI packet received {"connection_id":141244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":141244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:57:31] local.INFO: TCP Data received {"connection_id":141244,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:57:31] local.INFO: Processing buffer {"connection_id":141244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:57:31] local.INFO: IMEI packet received {"connection_id":141244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":141244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:57:32] local.INFO: TCP Data received {"connection_id":141243,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:57:32] local.INFO: Processing buffer {"connection_id":141243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:57:32] local.INFO: Packet analysis {"connection_id":141243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:57:32] local.INFO: Extracted packet for processing {"connection_id":141243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:57:32] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:57: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-07-25 18:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":141243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:57:32] local.INFO: GPS data processed {"connection_id":141243,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:57:32] local.INFO: Acknowledgment sent {"connection_id":141243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:57:32] local.INFO: TCP Data received {"connection_id":141244,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99738a90012d18184007219e38004900a424..."} 
[2026-07-25 18:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99738a90012d18184007219e38004900a424..."} 
[2026-07-25 18:57:32] local.INFO: Processing buffer {"connection_id":141244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99738a90012d18184007219e38004900a424..."} 
[2026-07-25 18:57:32] local.INFO: Packet analysis {"connection_id":141244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:57:32] local.INFO: Extracted packet for processing {"connection_id":141244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":36,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956388608001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985914000,"timestamp_ms":1784985914000,"timestamp_seconds":1784985914,"priority":1,"record_length":96,"hex_timestamp":"0000019f99738a90"} 
[2026-07-25 18:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956388608001,"66":12841,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956388608001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956388608001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":141244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:57:32] local.INFO: GPS data processed {"connection_id":141244,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:57:32] local.INFO: Acknowledgment sent {"connection_id":141244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:57:45] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:45] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:45] local.INFO: IMEI packet received {"connection_id":143653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":143653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:57:45] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:45] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:45] local.INFO: IMEI packet received {"connection_id":143653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":143653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:57:50] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:50] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:57:50] local.INFO: IMEI packet received {"connection_id":143653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":143653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:57:51] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9975a5a0012d80360005d393d00009012b1d..."} 
[2026-07-25 18:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9975a5a0012d80360005d393d00009012b1d..."} 
[2026-07-25 18:57:51] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9975a5a0012d80360005d393d00009012b1d..."} 
[2026-07-25 18:57:51] local.INFO: Packet analysis {"connection_id":143653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:57:51] local.INFO: Extracted packet for processing {"connection_id":143653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:57:51] local.INFO: GPS Element Parsed {"raw_longitude":763377152,"raw_latitude":97752016,"longitude_deg":76.3377152,"latitude_deg":9.7752016,"altitude":9,"angle":299,"satellites":29,"speed":18,"hex_longitude":"2d803600","hex_latitude":"05d393d0","is_valid_coordinates":true} 
[2026-07-25 18:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956429056001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110395361180254208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207820519367071744,"note":"Value kept but may cause issues"} 
[2026-07-25 18:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986052000,"timestamp_ms":1784986052000,"timestamp_seconds":1784986052,"priority":1,"record_length":96,"hex_timestamp":"0000019f9975a5a0"} 
[2026-07-25 18:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 18:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956429056001,"66":12798,"167":206,"85":15104,"24":18,"16":110395361180254208,"45":-9207820519367071744},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-25 18:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956429056001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:57:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110395361180254208,"km_value":110395361180254.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207820519367071744,"description":"Unknown IO ID 45"} 
[2026-07-25 18:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956429056001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9207820519367071744}} 
[2026-07-25 18:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":143653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:57:51] local.INFO: GPS data processed {"connection_id":143653,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:57:51] local.INFO: Acknowledgment sent {"connection_id":143653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:57:55] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:57:55] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:57:55] local.INFO: IMEI packet received {"connection_id":141292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":141292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:58:00] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:58:00] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:58:00] local.INFO: IMEI packet received {"connection_id":141292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":141292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:58:01] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:58:01] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:58:01] local.INFO: Packet analysis {"connection_id":141292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:58:01] local.INFO: Extracted packet for processing {"connection_id":141292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:58:01] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:58:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:58:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":141292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:58:01] local.INFO: GPS data processed {"connection_id":141292,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:58:01] local.INFO: Acknowledgment sent {"connection_id":141292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:58:03] local.INFO: TCP Data received {"connection_id":141244,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9973dc98012d18184007219e38004900a426..."} 
[2026-07-25 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9973dc98012d18184007219e38004900a426..."} 
[2026-07-25 18:58:03] local.INFO: Processing buffer {"connection_id":141244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9973dc98012d18184007219e38004900a426..."} 
[2026-07-25 18:58:03] local.INFO: Packet analysis {"connection_id":141244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:58:03] local.INFO: Extracted packet for processing {"connection_id":141244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9973"} 
[2026-07-25 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956393984001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985935000,"timestamp_ms":1784985935000,"timestamp_seconds":1784985935,"priority":1,"record_length":96,"hex_timestamp":"0000019f9973dc98"} 
[2026-07-25 18:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-25 18:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956393984001,"66":12765,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956393984001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956393984001,"power":12765,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":141244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:58:03] local.INFO: GPS data processed {"connection_id":141244,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:58:03] local.INFO: Acknowledgment sent {"connection_id":141244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:58:22] local.INFO: TCP Data received {"connection_id":143653,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9975a988012d80344005d39490000a011e1d..."} 
[2026-07-25 18:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9975a988012d80344005d39490000a011e1d..."} 
[2026-07-25 18:58:22] local.INFO: Processing buffer {"connection_id":143653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9975a988012d80344005d39490000a011e1d..."} 
[2026-07-25 18:58:22] local.INFO: Packet analysis {"connection_id":143653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:58:22] local.INFO: Extracted packet for processing {"connection_id":143653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:58:22] local.INFO: GPS Element Parsed {"raw_longitude":763376704,"raw_latitude":97752208,"longitude_deg":76.3376704,"latitude_deg":9.7752208,"altitude":10,"angle":286,"satellites":29,"speed":18,"hex_longitude":"2d803440","hex_latitude":"05d39490","is_valid_coordinates":true} 
[2026-07-25 18:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956429312001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110395382655090688,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208172363087884288,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986053000,"timestamp_ms":1784986053000,"timestamp_seconds":1784986053,"priority":1,"record_length":96,"hex_timestamp":"0000019f9975a988"} 
[2026-07-25 18:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956429312001,"66":12798,"167":206,"85":15104,"24":18,"16":110395382655090688,"45":-9208172363087884288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-25 18:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956429312001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:58:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:58:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110395382655090688,"km_value":110395382655090.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208172363087884288,"description":"Unknown IO ID 45"} 
[2026-07-25 18:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956429312001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9208172363087884288}} 
[2026-07-25 18:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":143653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:58:22] local.INFO: GPS data processed {"connection_id":143653,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:58:22] local.INFO: Acknowledgment sent {"connection_id":143653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:58:26] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:58:26] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:58:26] local.INFO: IMEI packet received {"connection_id":141293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":141293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:58:31] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:58:31] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:58:31] local.INFO: IMEI packet received {"connection_id":141293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":141293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:58:32] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99742ea0012d18184007219e38004900a428..."} 
[2026-07-25 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99742ea0012d18184007219e38004900a428..."} 
[2026-07-25 18:58:32] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99742ea0012d18184007219e38004900a428..."} 
[2026-07-25 18:58:32] local.INFO: Packet analysis {"connection_id":141293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:58:32] local.INFO: Extracted packet for processing {"connection_id":141293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956399360001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985956000,"timestamp_ms":1784985956000,"timestamp_seconds":1784985956,"priority":1,"record_length":96,"hex_timestamp":"0000019f99742ea0"} 
[2026-07-25 18:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 18:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956399360001,"66":12743,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956399360001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956399360001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":141293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:58:32] local.INFO: GPS data processed {"connection_id":141293,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:58:32] local.INFO: Acknowledgment sent {"connection_id":141293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:58:32] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:58:32] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:58:32] local.INFO: Packet analysis {"connection_id":141292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:58:32] local.INFO: Extracted packet for processing {"connection_id":141292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:58: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-07-25 18:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":141292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:58:32] local.INFO: GPS data processed {"connection_id":141292,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:58:32] local.INFO: Acknowledgment sent {"connection_id":141292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:58:45] local.INFO: TCP Data received {"connection_id":142272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:45] local.INFO: Processing buffer {"connection_id":142272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:45] local.INFO: IMEI packet received {"connection_id":142272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":142272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:58:45] local.INFO: TCP Data received {"connection_id":142272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:45] local.INFO: Processing buffer {"connection_id":142272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:45] local.INFO: IMEI packet received {"connection_id":142272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":142272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:58:50] local.INFO: TCP Data received {"connection_id":142272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142272,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:50] local.INFO: Processing buffer {"connection_id":142272,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:58:50] local.INFO: IMEI packet received {"connection_id":142272,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":142272,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:58:51] local.INFO: TCP Data received {"connection_id":142272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9975ad70012d80320005d394e8000a01101d..."} 
[2026-07-25 18:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9975ad70012d80320005d394e8000a01101d..."} 
[2026-07-25 18:58:51] local.INFO: Processing buffer {"connection_id":142272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9975ad70012d80320005d394e8000a01101d..."} 
[2026-07-25 18:58:51] local.INFO: Packet analysis {"connection_id":142272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:58:51] local.INFO: Extracted packet for processing {"connection_id":142272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:58:51] local.INFO: GPS Element Parsed {"raw_longitude":763376128,"raw_latitude":97752296,"longitude_deg":76.3376128,"latitude_deg":9.7752296,"altitude":10,"angle":272,"satellites":29,"speed":22,"hex_longitude":"2d803200","hex_latitude":"05d394e8","is_valid_coordinates":true} 
[2026-07-25 18:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956429568001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110395412719861760,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208664944297078784,"note":"Value kept but may cause issues"} 
[2026-07-25 18:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986054000,"timestamp_ms":1784986054000,"timestamp_seconds":1784986054,"priority":1,"record_length":96,"hex_timestamp":"0000019f9975ad70"} 
[2026-07-25 18:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956429568001,"66":12809,"167":206,"85":15104,"24":22,"16":110395412719861760,"45":-9208664944297078784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-25 18:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956429568001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110395412719861760,"km_value":110395412719861.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208664944297078784,"description":"Unknown IO ID 45"} 
[2026-07-25 18:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956429568001,"power":12809,"unknown_167":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9208664944297078784}} 
[2026-07-25 18:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":142272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:58:51] local.INFO: GPS data processed {"connection_id":142272,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:58:51] local.INFO: Acknowledgment sent {"connection_id":142272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:58:55] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:58:55] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:58:55] local.INFO: IMEI packet received {"connection_id":141245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:59:00] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:59:00] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:59:00] local.INFO: IMEI packet received {"connection_id":141245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":141245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:59:01] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:59:01] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9971f068012da12ac005c409c8003400862a..."} 
[2026-07-25 18:59:01] local.INFO: Packet analysis {"connection_id":141245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:59:01] local.INFO: Extracted packet for processing {"connection_id":141245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9971"} 
[2026-07-25 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765536960,"raw_latitude":96733640,"longitude_deg":76.553696,"latitude_deg":9.673364,"altitude":52,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12ac0","hex_latitude":"05c409c8","is_valid_coordinates":true} 
[2026-07-25 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956322048001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840781824,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784985809000,"timestamp_ms":1784985809000,"timestamp_seconds":1784985809,"priority":1,"record_length":96,"hex_timestamp":"0000019f9971f068"} 
[2026-07-25 18:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 18:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956322048001,"66":26115,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840781824},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956322048001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:59:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840781824,"description":"Unknown IO ID 45"} 
[2026-07-25 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956322048001,"power":26115,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840781824}} 
[2026-07-25 18:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":141245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:59:01] local.INFO: GPS data processed {"connection_id":141245,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:59:01] local.INFO: Acknowledgment sent {"connection_id":141245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:59:03] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997480a8012d18184007219e38004900a427..."} 
[2026-07-25 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997480a8012d18184007219e38004900a427..."} 
[2026-07-25 18:59:03] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997480a8012d18184007219e38004900a427..."} 
[2026-07-25 18:59:03] local.INFO: Packet analysis {"connection_id":141293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:59:03] local.INFO: Extracted packet for processing {"connection_id":141293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784985977000,"timestamp_ms":1784985977000,"timestamp_seconds":1784985977,"priority":1,"record_length":96,"hex_timestamp":"0000019f997480a8"} 
[2026-07-25 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-07-25 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 18:59: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-07-25 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-07-25 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-07-25 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956404736001,"66":12798,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956404736001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":141293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:59:03] local.INFO: GPS data processed {"connection_id":141293,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:59:03] local.INFO: Acknowledgment sent {"connection_id":141293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:59:23] local.INFO: TCP Data received {"connection_id":142272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9975d480012d800ec005d39610000c010c1c..."} 
[2026-07-25 18:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9975d480012d800ec005d39610000c010c1c..."} 
[2026-07-25 18:59:23] local.INFO: Processing buffer {"connection_id":142272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9975d480012d800ec005d39610000c010c1c..."} 
[2026-07-25 18:59:23] local.INFO: Packet analysis {"connection_id":142272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:59:23] local.INFO: Extracted packet for processing {"connection_id":142272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 18:59:23] local.INFO: GPS Element Parsed {"raw_longitude":763367104,"raw_latitude":97752592,"longitude_deg":76.3367104,"latitude_deg":9.7752592,"altitude":12,"angle":268,"satellites":28,"speed":39,"hex_longitude":"2d800ec0","hex_latitude":"05d39610","is_valid_coordinates":true} 
[2026-07-25 18:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110395846511558656,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9209298262994655232,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1784986064000,"timestamp_ms":1784986064000,"timestamp_seconds":1784986064,"priority":1,"record_length":96,"hex_timestamp":"0000019f9975d480"} 
[2026-07-25 18:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:59: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-07-25 18:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2089670227267683328,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2574615160,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2151366661,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":153,"raw_value":8456467079585881600,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2306867208,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3221607300,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":5764833638684347989,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3207152272785992163,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,167,85,24,241,157,16,52,159,169,45,64,148,10,29,66,165,147,9,51,161,1,240,238,227,153,211,4,113,205,28,138,62,128,239,49,2,136,5,59,188],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-07-25 18:59:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720875132097527808,"timestamp_seconds":720875132097527.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 18:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":142272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":142272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":142272,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956429824001,"66":12645,"167":206,"85":15104,"24":39,"16":110395846511558656,"45":-9209298262994655232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-25 18:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:59:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-25 18:59:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110395846511558656,"km_value":110395846511558.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9209298262994655232,"description":"Unknown IO ID 45"} 
[2026-07-25 18:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956429824001,"power":12645,"unknown_167":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9209298262994655232}} 
[2026-07-25 18:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":142272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:59:23] local.INFO: GPS data processed {"connection_id":142272,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:59:23] local.INFO: Acknowledgment sent {"connection_id":142272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:59:26] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:59:26] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:59:26] local.INFO: IMEI packet received {"connection_id":141246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 18:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":141246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:59:31] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:59:31] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 18:59:31] local.INFO: IMEI packet received {"connection_id":141246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 18:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":141246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:59:32] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9974d2b0012d18184007219e38004900a426..."} 
[2026-07-25 18:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9974d2b0012d18184007219e38004900a426..."} 
[2026-07-25 18:59:32] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9974d2b0012d18184007219e38004900a426..."} 
[2026-07-25 18:59:32] local.INFO: Packet analysis {"connection_id":141246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:59:32] local.INFO: Extracted packet for processing {"connection_id":141246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9974"} 
[2026-07-25 18:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 18:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956410112001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784985998000,"timestamp_ms":1784985998000,"timestamp_seconds":1784985998,"priority":1,"record_length":96,"hex_timestamp":"0000019f9974d2b0"} 
[2026-07-25 18:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 18:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18: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-07-25 18:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 18:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956410112001,"66":12743,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 18:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956410112001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 18:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 18:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956410112001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 18:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":141246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:59:32] local.INFO: GPS data processed {"connection_id":141246,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:59:32] local.INFO: Acknowledgment sent {"connection_id":141246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:59:32] local.INFO: TCP Data received {"connection_id":141245,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 18:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 18:59:32] local.INFO: Processing buffer {"connection_id":141245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 18:59:32] local.INFO: Packet analysis {"connection_id":141245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 18:59:32] local.INFO: Extracted packet for processing {"connection_id":141245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 18:59:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 18:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 18:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 18: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 18:59: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-07-25 18: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-07-25 18:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 18:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 18:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 18:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 18:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 18:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 18:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":141245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:59:32] local.INFO: GPS data processed {"connection_id":141245,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:59:32] local.INFO: Acknowledgment sent {"connection_id":141245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:59:45] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:59:45] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:59:45] local.INFO: IMEI packet received {"connection_id":141247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 18:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":141247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 18:59:50] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:59:50] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 18:59:50] local.INFO: IMEI packet received {"connection_id":141247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 18:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":141247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 18:59:51] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99778230012d7f07c005d33288000400ee25..."} 
[2026-07-25 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99778230012d7f07c005d33288000400ee25..."} 
[2026-07-25 18:59:51] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99778230012d7f07c005d33288000400ee25..."} 
[2026-07-25 18:59:51] local.INFO: Packet analysis {"connection_id":141247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 18:59:51] local.INFO: Extracted packet for processing {"connection_id":141247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":763299776,"raw_latitude":97727112,"longitude_deg":76.3299776,"latitude_deg":9.7727112,"altitude":4,"angle":238,"satellites":37,"speed":10,"hex_longitude":"2d7f07c0","hex_latitude":"05d33288","is_valid_coordinates":true} 
[2026-07-25 18:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 18:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956459264001,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110399583133106176,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9154762536299939840,"note":"Value kept but may cause issues"} 
[2026-07-25 18:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 18:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986174000,"timestamp_ms":1784986174000,"timestamp_seconds":1784986174,"priority":1,"record_length":96,"hex_timestamp":"0000019f99778230"} 
[2026-07-25 18:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 18:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 18:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 18:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 18:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 18:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 18:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 18:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 18:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 18:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 18:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 18:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956459264001,"66":12906,"209":206,"85":15104,"24":10,"16":110399583133106176,"45":9154762536299939840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-25 18:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 18:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 18:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956459264001,"description":"Unknown IO ID 0"} 
[2026-07-25 18:59:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 18:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 18:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110399583133106176,"km_value":110399583133106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 18:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9154762536299939840,"description":"Unknown IO ID 45"} 
[2026-07-25 18:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956459264001,"power":12906,"unknown_209":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9154762536299939840}} 
[2026-07-25 18:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":141247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 18:59:51] local.INFO: GPS data processed {"connection_id":141247,"processed":1,"errors":0,"total":1} 
[2026-07-25 18:59:51] local.INFO: Acknowledgment sent {"connection_id":141247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 18:59:55] local.INFO: TCP Data received {"connection_id":142273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:59:55] local.INFO: Processing buffer {"connection_id":142273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 18:59:55] local.INFO: IMEI packet received {"connection_id":142273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 18:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":142273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:00:00] local.INFO: TCP Data received {"connection_id":142273,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:00:00] local.INFO: Processing buffer {"connection_id":142273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:00:00] local.INFO: IMEI packet received {"connection_id":142273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":142273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:00:01] local.INFO: TCP Data received {"connection_id":142273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:00:01] local.INFO: Processing buffer {"connection_id":142273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:00:01] local.INFO: Packet analysis {"connection_id":142273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:00:01] local.INFO: Extracted packet for processing {"connection_id":142273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:00:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":142273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:00:01] local.INFO: GPS data processed {"connection_id":142273,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:00:01] local.INFO: Acknowledgment sent {"connection_id":142273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:00:03] local.INFO: TCP Data received {"connection_id":141246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997524b8012d18184007219e38004900a429..."} 
[2026-07-25 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997524b8012d18184007219e38004900a429..."} 
[2026-07-25 19:00:03] local.INFO: Processing buffer {"connection_id":141246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997524b8012d18184007219e38004900a429..."} 
[2026-07-25 19:00:03] local.INFO: Packet analysis {"connection_id":141246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 19:00:03] local.INFO: Extracted packet for processing {"connection_id":141246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 19:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956415488001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986019000,"timestamp_ms":1784986019000,"timestamp_seconds":1784986019,"priority":1,"record_length":96,"hex_timestamp":"0000019f997524b8"} 
[2026-07-25 19:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 19:00: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-07-25 19:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956415488001,"66":12743,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956415488001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:00:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956415488001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":141246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:00:03] local.INFO: GPS data processed {"connection_id":141246,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:00:03] local.INFO: Acknowledgment sent {"connection_id":141246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:00:22] local.INFO: TCP Data received {"connection_id":141247,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99778de8012d7f048005d33100000400fb25..."} 
[2026-07-25 19:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99778de8012d7f048005d33100000400fb25..."} 
[2026-07-25 19:00:22] local.INFO: Processing buffer {"connection_id":141247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99778de8012d7f048005d33100000400fb25..."} 
[2026-07-25 19:00:22] local.INFO: Packet analysis {"connection_id":141247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:00:22] local.INFO: Extracted packet for processing {"connection_id":141247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":763298944,"raw_latitude":97726720,"longitude_deg":76.3298944,"latitude_deg":9.772672,"altitude":4,"angle":251,"satellites":37,"speed":13,"hex_longitude":"2d7f0480","hex_latitude":"05d33100","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956460544001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110399626082779136,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153495898904496128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986177000,"timestamp_ms":1784986177000,"timestamp_seconds":1784986177,"priority":1,"record_length":96,"hex_timestamp":"0000019f99778de8"} 
[2026-07-25 19:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 19:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956460544001,"66":12798,"209":206,"85":15104,"24":13,"16":110399626082779136,"45":9153495898904496128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-25 19:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956460544001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:00:22] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 19:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110399626082779136,"km_value":110399626082779.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153495898904496128,"description":"Unknown IO ID 45"} 
[2026-07-25 19:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956460544001,"power":12798,"unknown_209":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9153495898904496128}} 
[2026-07-25 19:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":141247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:00:22] local.INFO: GPS data processed {"connection_id":141247,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:00:22] local.INFO: Acknowledgment sent {"connection_id":141247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:00:31] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:00:31] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:00:31] local.INFO: IMEI packet received {"connection_id":141248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":141248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:00:32] local.INFO: TCP Data received {"connection_id":142273,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:00:32] local.INFO: Processing buffer {"connection_id":142273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:00:32] local.INFO: Packet analysis {"connection_id":142273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:00:32] local.INFO: Extracted packet for processing {"connection_id":142273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:00:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:00: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-07-25 19:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:00:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":142273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:00:33] local.INFO: GPS data processed {"connection_id":142273,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:00:33] local.INFO: Acknowledgment sent {"connection_id":142273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:00:36] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:00:36] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:00:36] local.INFO: IMEI packet received {"connection_id":141248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":141248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:00:37] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997576c0012d18184007219e38004900a427..."} 
[2026-07-25 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997576c0012d18184007219e38004900a427..."} 
[2026-07-25 19:00:37] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997576c0012d18184007219e38004900a427..."} 
[2026-07-25 19:00:37] local.INFO: Packet analysis {"connection_id":141248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 19:00:37] local.INFO: Extracted packet for processing {"connection_id":141248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956420864001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784986040000,"timestamp_ms":1784986040000,"timestamp_seconds":1784986040,"priority":1,"record_length":96,"hex_timestamp":"0000019f997576c0"} 
[2026-07-25 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 19:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956420864001,"66":12743,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956420864001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:00:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956420864001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":141248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:00:37] local.INFO: GPS data processed {"connection_id":141248,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:00:37] local.INFO: Acknowledgment sent {"connection_id":141248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:00:41] local.INFO: TCP Data received {"connection_id":141248,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9975c8c8012d18184007219e38004900a427..."} 
[2026-07-25 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9975c8c8012d18184007219e38004900a427..."} 
[2026-07-25 19:00:41] local.INFO: Processing buffer {"connection_id":141248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9975c8c8012d18184007219e38004900a427..."} 
[2026-07-25 19:00:41] local.INFO: Packet analysis {"connection_id":141248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 19:00:41] local.INFO: Extracted packet for processing {"connection_id":141248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9975"} 
[2026-07-25 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956426240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784986061000,"timestamp_ms":1784986061000,"timestamp_seconds":1784986061,"priority":1,"record_length":96,"hex_timestamp":"0000019f9975c8c8"} 
[2026-07-25 19:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 19:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956426240001,"66":12667,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956426240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:00:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956426240001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":141248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:00:41] local.INFO: GPS data processed {"connection_id":141248,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:00:41] local.INFO: Acknowledgment sent {"connection_id":141248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:00:49] local.INFO: TCP Data received {"connection_id":143654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:00:49] local.INFO: Processing buffer {"connection_id":143654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:00:49] local.INFO: IMEI packet received {"connection_id":143654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":143654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:01:00] local.INFO: TCP Data received {"connection_id":143655,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:00] local.INFO: Processing buffer {"connection_id":143655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:00] local.INFO: IMEI packet received {"connection_id":143655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":143655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:01:05] local.INFO: TCP Data received {"connection_id":143655,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:05] local.INFO: Processing buffer {"connection_id":143655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:05] local.INFO: IMEI packet received {"connection_id":143655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":143655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:01:06] local.INFO: TCP Data received {"connection_id":143655,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:01:06] local.INFO: Processing buffer {"connection_id":143655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:01:06] local.INFO: Packet analysis {"connection_id":143655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:06] local.INFO: Extracted packet for processing {"connection_id":143655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":143655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:06] local.INFO: GPS data processed {"connection_id":143655,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:06] local.INFO: Acknowledgment sent {"connection_id":143655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:01:10] local.INFO: TCP Data received {"connection_id":143655,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:01:10] local.INFO: Processing buffer {"connection_id":143655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:01:10] local.INFO: Packet analysis {"connection_id":143655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:10] local.INFO: Extracted packet for processing {"connection_id":143655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":143655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:11] local.INFO: GPS data processed {"connection_id":143655,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:11] local.INFO: Acknowledgment sent {"connection_id":143655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:01:23] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:23] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:23] local.INFO: IMEI packet received {"connection_id":141249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":141249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:01:25] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:25] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:25] local.INFO: IMEI packet received {"connection_id":141249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":141249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:01:26] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99779d88012d7f000005d32ff80005010826..."} 
[2026-07-25 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99779d88012d7f000005d32ff80005010826..."} 
[2026-07-25 19:01:26] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99779d88012d7f000005d32ff80005010826..."} 
[2026-07-25 19:01:26] local.INFO: Packet analysis {"connection_id":141249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:01:26] local.INFO: Extracted packet for processing {"connection_id":141249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763297792,"raw_latitude":97726456,"longitude_deg":76.3297792,"latitude_deg":9.7726456,"altitude":5,"angle":264,"satellites":38,"speed":11,"hex_longitude":"2d7f0000","hex_latitude":"05d32ff8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956461312001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110399686212321280,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152581105230086144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784986181000,"timestamp_ms":1784986181000,"timestamp_seconds":1784986181,"priority":1,"record_length":96,"hex_timestamp":"0000019f99779d88"} 
[2026-07-25 19:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 19:01: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-07-25 19: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-07-25 19:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956461312001,"66":12645,"209":206,"85":15104,"24":11,"16":110399686212321280,"45":9152581105230086144},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-25 19:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956461312001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:26] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 19:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110399686212321280,"km_value":110399686212321.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152581105230086144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956461312001,"power":12645,"unknown_209":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9152581105230086144}} 
[2026-07-25 19:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":141249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:26] local.INFO: GPS data processed {"connection_id":141249,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:26] local.INFO: Acknowledgment sent {"connection_id":141249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:01:26] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:01:26] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:01:26] local.INFO: IMEI packet received {"connection_id":143656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":143656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:01:28] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:01:28] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:01:28] local.INFO: IMEI packet received {"connection_id":143656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":143656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:01:29] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99761ad0012d18184007219e38004900a424..."} 
[2026-07-25 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99761ad0012d18184007219e38004900a424..."} 
[2026-07-25 19:01:29] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99761ad0012d18184007219e38004900a424..."} 
[2026-07-25 19:01:29] local.INFO: Packet analysis {"connection_id":143656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:29] local.INFO: Extracted packet for processing {"connection_id":143656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":36,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956431616001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784986082000,"timestamp_ms":1784986082000,"timestamp_seconds":1784986082,"priority":1,"record_length":96,"hex_timestamp":"0000019f99761ad0"} 
[2026-07-25 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":123,"data_length":795,"current_offset":136} 
[2026-07-25 19:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":143656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":143656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":143656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956431616001,"66":12667,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956431616001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956431616001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:01:29] local.INFO: TCP Data received {"connection_id":141249,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9977e7c0012d7edd4005d32a78000500fe22..."} 
[2026-07-25 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9977e7c0012d7edd4005d32a78000500fe22..."} 
[2026-07-25 19:01:29] local.INFO: Processing buffer {"connection_id":141249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9977e7c0012d7edd4005d32a78000500fe22..."} 
[2026-07-25 19:01:29] local.INFO: Packet analysis {"connection_id":141249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:01:29] local.INFO: Extracted packet for processing {"connection_id":141249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763288896,"raw_latitude":97725048,"longitude_deg":76.3288896,"latitude_deg":9.7725048,"altitude":5,"angle":254,"satellites":34,"speed":27,"hex_longitude":"2d7edd40","hex_latitude":"05d32a78","is_valid_coordinates":true} 
[2026-07-25 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956462336001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110400115709050880,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9151314467834820608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784986200000,"timestamp_ms":1784986200000,"timestamp_seconds":1784986200,"priority":1,"record_length":96,"hex_timestamp":"0000019f9977e7c0"} 
[2026-07-25 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"data_length":795,"current_offset":136} 
[2026-07-25 19:01: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-07-25 19:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956462336001,"66":12798,"209":206,"85":15104,"24":27,"16":110400115709050880,"45":9151314467834820608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-25 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956462336001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110400115709050880,"km_value":110400115709050.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9151314467834820608,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956462336001,"power":12798,"unknown_209":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9151314467834820608}} 
[2026-07-25 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":143656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:29] local.INFO: GPS data processed {"connection_id":143656,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:29] local.INFO: Acknowledgment sent {"connection_id":143656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":141249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:29] local.INFO: GPS data processed {"connection_id":141249,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:29] local.INFO: Acknowledgment sent {"connection_id":141249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:01:31] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99766cd8012d18184007219e38004900a428..."} 
[2026-07-25 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99766cd8012d18184007219e38004900a428..."} 
[2026-07-25 19:01:31] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99766cd8012d18184007219e38004900a428..."} 
[2026-07-25 19:01:31] local.INFO: Packet analysis {"connection_id":143656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:31] local.INFO: Extracted packet for processing {"connection_id":143656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956436992001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784986103000,"timestamp_ms":1784986103000,"timestamp_seconds":1784986103,"priority":1,"record_length":96,"hex_timestamp":"0000019f99766cd8"} 
[2026-07-25 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-07-25 19:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-25 19:01: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-07-25 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-07-25 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-07-25 19:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956436992001,"66":12678,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956436992001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956436992001,"power":12678,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":143656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:31] local.INFO: GPS data processed {"connection_id":143656,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:31] local.INFO: Acknowledgment sent {"connection_id":143656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:01:50] local.INFO: TCP Data received {"connection_id":142274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:50] local.INFO: Processing buffer {"connection_id":142274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:50] local.INFO: IMEI packet received {"connection_id":142274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":142274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:01:55] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:55] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:01:55] local.INFO: IMEI packet received {"connection_id":141294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":141294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:01:55] local.INFO: TCP Data received {"connection_id":142274,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:55] local.INFO: Processing buffer {"connection_id":142274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:01:55] local.INFO: IMEI packet received {"connection_id":142274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":142274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:01:56] local.INFO: TCP Data received {"connection_id":142274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99781e70012d7eb90005d321c80003010325..."} 
[2026-07-25 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99781e70012d7eb90005d321c80003010325..."} 
[2026-07-25 19:01:56] local.INFO: Processing buffer {"connection_id":142274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99781e70012d7eb90005d321c80003010325..."} 
[2026-07-25 19:01:56] local.INFO: Packet analysis {"connection_id":142274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:01:56] local.INFO: Extracted packet for processing {"connection_id":142274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":97722824,"longitude_deg":76.3279616,"latitude_deg":9.7722824,"altitude":3,"angle":259,"satellites":37,"speed":25,"hex_longitude":"2d7eb900","hex_latitude":"05d321c8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956467200001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110400570975584256,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9141533212393764864,"note":"Value kept but may cause issues"} 
[2026-07-25 19:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784986214000,"timestamp_ms":1784986214000,"timestamp_seconds":1784986214,"priority":1,"record_length":96,"hex_timestamp":"0000019f99781e70"} 
[2026-07-25 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-07-25 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 19:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 19:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956467200001,"66":12472,"209":206,"85":15104,"24":25,"16":110400570975584256,"45":9141533212393764864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-25 19:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956467200001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:01:56] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-25 19:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110400570975584256,"km_value":110400570975584.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9141533212393764864,"description":"Unknown IO ID 45"} 
[2026-07-25 19:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956467200001,"power":12472,"unknown_209":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9141533212393764864}} 
[2026-07-25 19:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":142274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:01:56] local.INFO: GPS data processed {"connection_id":142274,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:01:56] local.INFO: Acknowledgment sent {"connection_id":142274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:00] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:02:00] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:02:00] local.INFO: IMEI packet received {"connection_id":141294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":141294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:02:01] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:02:01] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:02:01] local.INFO: Packet analysis {"connection_id":141294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:02:01] local.INFO: Extracted packet for processing {"connection_id":141294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:02:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":141294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:01] local.INFO: GPS data processed {"connection_id":141294,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:01] local.INFO: Acknowledgment sent {"connection_id":141294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:02] local.INFO: TCP Data received {"connection_id":143656,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9976bee0012d18184007219e38004900a426..."} 
[2026-07-25 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9976bee0012d18184007219e38004900a426..."} 
[2026-07-25 19:02:02] local.INFO: Processing buffer {"connection_id":143656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9976bee0012d18184007219e38004900a426..."} 
[2026-07-25 19:02:02] local.INFO: Packet analysis {"connection_id":143656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:02:02] local.INFO: Extracted packet for processing {"connection_id":143656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956442368001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784986124000,"timestamp_ms":1784986124000,"timestamp_seconds":1784986124,"priority":1,"record_length":96,"hex_timestamp":"0000019f9976bee0"} 
[2026-07-25 19:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":134,"data_length":795,"current_offset":136} 
[2026-07-25 19:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956442368001,"66":12645,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956442368001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:02:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956442368001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":143656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:02] local.INFO: GPS data processed {"connection_id":143656,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:02] local.INFO: Acknowledgment sent {"connection_id":143656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:27] local.INFO: TCP Data received {"connection_id":142274,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997a0e88012d7e40c005d356a80007011925..."} 
[2026-07-25 19:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997a0e88012d7e40c005d356a80007011925..."} 
[2026-07-25 19:02:27] local.INFO: Processing buffer {"connection_id":142274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997a0e88012d7e40c005d356a80007011925..."} 
[2026-07-25 19:02:27] local.INFO: Packet analysis {"connection_id":142274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:02:27] local.INFO: Extracted packet for processing {"connection_id":142274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763248832,"raw_latitude":97736360,"longitude_deg":76.3248832,"latitude_deg":9.773636,"altitude":7,"angle":281,"satellites":37,"speed":10,"hex_longitude":"2d7e40c0","hex_latitude":"05d356a8","is_valid_coordinates":true} 
[2026-07-25 19:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956500992001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403031991844864,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9100648972029460480,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784986341000,"timestamp_ms":1784986341000,"timestamp_seconds":1784986341,"priority":1,"record_length":96,"hex_timestamp":"0000019f997a0e88"} 
[2026-07-25 19:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 19:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:02: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-07-25 19:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956500992001,"66":12874,"109":206,"85":15104,"24":10,"16":110403031991844864,"45":9100648972029460480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956500992001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403031991844864,"km_value":110403031991844.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9100648972029460480,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956500992001,"power":12874,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9100648972029460480}} 
[2026-07-25 19:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":142274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:27] local.INFO: GPS data processed {"connection_id":142274,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:27] local.INFO: Acknowledgment sent {"connection_id":142274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:28] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:02:28] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:02:28] local.INFO: IMEI packet received {"connection_id":141250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":141250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:02:31] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:02:31] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:02:31] local.INFO: IMEI packet received {"connection_id":141250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":141250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:02:32] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997710e8012d18184007219e38004900a426..."} 
[2026-07-25 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997710e8012d18184007219e38004900a426..."} 
[2026-07-25 19:02:32] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997710e8012d18184007219e38004900a426..."} 
[2026-07-25 19:02:32] local.INFO: Packet analysis {"connection_id":141250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:02:32] local.INFO: Extracted packet for processing {"connection_id":141250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956447744001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986145000,"timestamp_ms":1784986145000,"timestamp_seconds":1784986145,"priority":1,"record_length":96,"hex_timestamp":"0000019f997710e8"} 
[2026-07-25 19:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"data_length":795,"current_offset":136} 
[2026-07-25 19:02: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-07-25 19:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956447744001,"66":12689,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956447744001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956447744001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":141250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:32] local.INFO: GPS data processed {"connection_id":141250,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:32] local.INFO: Acknowledgment sent {"connection_id":141250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:32] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:02:32] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:02:32] local.INFO: Packet analysis {"connection_id":141294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:02:32] local.INFO: Extracted packet for processing {"connection_id":141294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:02:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:02: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-07-25 19:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":141294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:32] local.INFO: GPS data processed {"connection_id":141294,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:32] local.INFO: Acknowledgment sent {"connection_id":141294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:33] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997762f0012d18184007219e38004900a428..."} 
[2026-07-25 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997762f0012d18184007219e38004900a428..."} 
[2026-07-25 19:02:33] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997762f0012d18184007219e38004900a428..."} 
[2026-07-25 19:02:33] local.INFO: Packet analysis {"connection_id":141250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:02:33] local.INFO: Extracted packet for processing {"connection_id":141250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956453120001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784986166000,"timestamp_ms":1784986166000,"timestamp_seconds":1784986166,"priority":1,"record_length":96,"hex_timestamp":"0000019f997762f0"} 
[2026-07-25 19:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 19:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956453120001,"66":12667,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956453120001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956453120001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":141250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:33] local.INFO: GPS data processed {"connection_id":141250,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:33] local.INFO: Acknowledgment sent {"connection_id":141250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:45] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:45] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:45] local.INFO: IMEI packet received {"connection_id":141295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":141295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:02:46] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:46] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:46] local.INFO: IMEI packet received {"connection_id":141295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":141295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:02:50] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:50] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:02:50] local.INFO: IMEI packet received {"connection_id":141295,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":141295,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:02:51] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997a1658012d7e3ec005d356f00007010b23..."} 
[2026-07-25 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997a1658012d7e3ec005d356f00007010b23..."} 
[2026-07-25 19:02:51] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997a1658012d7e3ec005d356f00007010b23..."} 
[2026-07-25 19:02:51] local.INFO: Packet analysis {"connection_id":141295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:02:51] local.INFO: Extracted packet for processing {"connection_id":141295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97736432,"longitude_deg":76.324832,"latitude_deg":9.7736432,"altitude":7,"angle":267,"satellites":35,"speed":8,"hex_longitude":"2d7e3ec0","hex_latitude":"05d356f0","is_valid_coordinates":true} 
[2026-07-25 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956503296001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403057761648640,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097482378541443072,"note":"Value kept but may cause issues"} 
[2026-07-25 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986343000,"timestamp_ms":1784986343000,"timestamp_seconds":1784986343,"priority":1,"record_length":96,"hex_timestamp":"0000019f997a1658"} 
[2026-07-25 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-25 19:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956503296001,"66":12722,"109":206,"85":15104,"24":8,"16":110403057761648640,"45":9097482378541443072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956503296001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:02:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403057761648640,"km_value":110403057761648.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097482378541443072,"description":"Unknown IO ID 45"} 
[2026-07-25 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956503296001,"power":12722,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9097482378541443072}} 
[2026-07-25 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":141295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:02:51] local.INFO: GPS data processed {"connection_id":141295,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:02:51] local.INFO: Acknowledgment sent {"connection_id":141295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:02:55] local.INFO: TCP Data received {"connection_id":141296,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:02:55] local.INFO: Processing buffer {"connection_id":141296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:02:55] local.INFO: IMEI packet received {"connection_id":141296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":141296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:03:00] local.INFO: TCP Data received {"connection_id":141296,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:03:00] local.INFO: Processing buffer {"connection_id":141296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:03:00] local.INFO: IMEI packet received {"connection_id":141296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":141296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:03:01] local.INFO: TCP Data received {"connection_id":141296,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:03:01] local.INFO: Processing buffer {"connection_id":141296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:03:01] local.INFO: Packet analysis {"connection_id":141296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:03:01] local.INFO: Extracted packet for processing {"connection_id":141296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:03:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:03:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":141296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:03:01] local.INFO: GPS data processed {"connection_id":141296,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:03:01] local.INFO: Acknowledgment sent {"connection_id":141296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:03:04] local.INFO: TCP Data received {"connection_id":141250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9977b4f8012d18184007219e38004900a428..."} 
[2026-07-25 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9977b4f8012d18184007219e38004900a428..."} 
[2026-07-25 19:03:04] local.INFO: Processing buffer {"connection_id":141250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9977b4f8012d18184007219e38004900a428..."} 
[2026-07-25 19:03:04] local.INFO: Packet analysis {"connection_id":141250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:03:04] local.INFO: Extracted packet for processing {"connection_id":141250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9977"} 
[2026-07-25 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956458496001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784986187000,"timestamp_ms":1784986187000,"timestamp_seconds":1784986187,"priority":1,"record_length":96,"hex_timestamp":"0000019f9977b4f8"} 
[2026-07-25 19:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-25 19:03: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-07-25 19:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956458496001,"66":12645,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956458496001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956458496001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":141250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:03:04] local.INFO: GPS data processed {"connection_id":141250,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:03:04] local.INFO: Acknowledgment sent {"connection_id":141250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:03:22] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997a1a40012d7e3e0005d356c0000700fb23..."} 
[2026-07-25 19:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997a1a40012d7e3e0005d356c0000700fb23..."} 
[2026-07-25 19:03:22] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997a1a40012d7e3e0005d356c0000700fb23..."} 
[2026-07-25 19:03:22] local.INFO: Packet analysis {"connection_id":141295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:03:22] local.INFO: Extracted packet for processing {"connection_id":141295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763248128,"raw_latitude":97736384,"longitude_deg":76.3248128,"latitude_deg":9.7736384,"altitude":7,"angle":251,"satellites":35,"speed":7,"hex_longitude":"2d7e3e00","hex_latitude":"05d356c0","is_valid_coordinates":true} 
[2026-07-25 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956503808001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403066351583232,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096919428588040192,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986344000,"timestamp_ms":1784986344000,"timestamp_seconds":1784986344,"priority":1,"record_length":96,"hex_timestamp":"0000019f997a1a40"} 
[2026-07-25 19:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141295,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956503808001,"66":12037,"109":206,"85":15104,"24":7,"16":110403066351583232,"45":9096919428588040192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956503808001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:03:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:03:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403066351583232,"km_value":110403066351583.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096919428588040192,"description":"Unknown IO ID 45"} 
[2026-07-25 19:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956503808001,"power":12037,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9096919428588040192}} 
[2026-07-25 19:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":141295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:03:22] local.INFO: GPS data processed {"connection_id":141295,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:03:22] local.INFO: Acknowledgment sent {"connection_id":141295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:03:26] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:03:26] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:03:26] local.INFO: IMEI packet received {"connection_id":143657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":143657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:03:31] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:03:31] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:03:31] local.INFO: IMEI packet received {"connection_id":143657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":143657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:03:32] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99780700012d18184007219e38004900a421..."} 
[2026-07-25 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99780700012d18184007219e38004900a421..."} 
[2026-07-25 19:03:32] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99780700012d18184007219e38004900a421..."} 
[2026-07-25 19:03:32] local.INFO: Packet analysis {"connection_id":143657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:03:32] local.INFO: Extracted packet for processing {"connection_id":143657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":33,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956463872001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986208000,"timestamp_ms":1784986208000,"timestamp_seconds":1784986208,"priority":1,"record_length":96,"hex_timestamp":"0000019f99780700"} 
[2026-07-25 19:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19: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-07-25 19: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-07-25 19:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956463872001,"66":12591,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956463872001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956463872001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":143657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:03:32] local.INFO: GPS data processed {"connection_id":143657,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:03:32] local.INFO: Acknowledgment sent {"connection_id":143657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:03:32] local.INFO: TCP Data received {"connection_id":141296,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:03:32] local.INFO: Processing buffer {"connection_id":141296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:03:32] local.INFO: Packet analysis {"connection_id":141296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:03:32] local.INFO: Extracted packet for processing {"connection_id":141296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:03: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-07-25 19: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-07-25 19:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":141296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:03:32] local.INFO: GPS data processed {"connection_id":141296,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:03:32] local.INFO: Acknowledgment sent {"connection_id":141296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:03:48] local.INFO: TCP Data received {"connection_id":142275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:48] local.INFO: Processing buffer {"connection_id":142275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:48] local.INFO: IMEI packet received {"connection_id":142275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":142275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:03:50] local.INFO: TCP Data received {"connection_id":142275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:50] local.INFO: Processing buffer {"connection_id":142275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:50] local.INFO: IMEI packet received {"connection_id":142275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":142275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:03:55] local.INFO: TCP Data received {"connection_id":141251,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:03:55] local.INFO: Processing buffer {"connection_id":141251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:03:55] local.INFO: IMEI packet received {"connection_id":141251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":141251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:03:55] local.INFO: TCP Data received {"connection_id":142275,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:55] local.INFO: Processing buffer {"connection_id":142275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:03:55] local.INFO: IMEI packet received {"connection_id":142275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":142275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:04:00] local.INFO: TCP Data received {"connection_id":141251,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:04:00] local.INFO: Processing buffer {"connection_id":141251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:04:00] local.INFO: IMEI packet received {"connection_id":141251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":141251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:04:01] local.INFO: TCP Data received {"connection_id":141251,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:04:01] local.INFO: Processing buffer {"connection_id":141251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99768830012da12b0005c409d8003400862b..."} 
[2026-07-25 19:04:01] local.INFO: Packet analysis {"connection_id":141251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:04:01] local.INFO: Extracted packet for processing {"connection_id":141251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9976"} 
[2026-07-25 19:04:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":52,"angle":134,"satellites":43,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956367104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833438353584961536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986110000,"timestamp_ms":1784986110000,"timestamp_seconds":1784986110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99768830"} 
[2026-07-25 19:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956367104001,"66":25952,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833438353584961536},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956367104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:04:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833438353584961536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956367104001,"power":25952,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833438353584961536}} 
[2026-07-25 19:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":141251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:04:01] local.INFO: GPS data processed {"connection_id":141251,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:04:01] local.INFO: Acknowledgment sent {"connection_id":141251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:04:03] local.INFO: TCP Data received {"connection_id":143657,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99785908012d18184007219e38004900a427..."} 
[2026-07-25 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99785908012d18184007219e38004900a427..."} 
[2026-07-25 19:04:03] local.INFO: Processing buffer {"connection_id":143657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99785908012d18184007219e38004900a427..."} 
[2026-07-25 19:04:03] local.INFO: Packet analysis {"connection_id":143657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:04:03] local.INFO: Extracted packet for processing {"connection_id":143657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956469248001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986229000,"timestamp_ms":1784986229000,"timestamp_seconds":1784986229,"priority":1,"record_length":96,"hex_timestamp":"0000019f99785908"} 
[2026-07-25 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 19:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956469248001,"66":12613,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956469248001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956469248001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":143657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:04:03] local.INFO: GPS data processed {"connection_id":143657,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:04:03] local.INFO: Acknowledgment sent {"connection_id":143657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:04:07] local.INFO: TCP Data received {"connection_id":142275,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997a6860012d7e3c4005d35730000600fb23..."} 
[2026-07-25 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997a6860012d7e3c4005d35730000600fb23..."} 
[2026-07-25 19:04:07] local.INFO: Processing buffer {"connection_id":142275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997a6860012d7e3c4005d35730000600fb23..."} 
[2026-07-25 19:04:07] local.INFO: Packet analysis {"connection_id":142275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:04:07] local.INFO: Extracted packet for processing {"connection_id":142275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956504064001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096708322355494912,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784986364000,"timestamp_ms":1784986364000,"timestamp_seconds":1784986364,"priority":1,"record_length":96,"hex_timestamp":"0000019f997a6860"} 
[2026-07-25 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2574888160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220320024073781470,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,59,159,22,45,192,86,7,35,10,66,58,14,37,235,1,240,106,227,153,211,4,113,205,9,188,90,248,239,47,2,136,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-07-25 19:04:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504679286008381440,"timestamp_seconds":504679286008381.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956504064001,"66":12765,"109":206,"85":15104,"24":0,"16":110403092121387008,"45":9096708322355494912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956504064001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:04:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096708322355494912,"description":"Unknown IO ID 45"} 
[2026-07-25 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956504064001,"power":12765,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096708322355494912}} 
[2026-07-25 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":142275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:04:07] local.INFO: GPS data processed {"connection_id":142275,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:04:07] local.INFO: Acknowledgment sent {"connection_id":142275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:04:26] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:04:26] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:04:26] local.INFO: IMEI packet received {"connection_id":143658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":143658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:04:31] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:04:31] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:04:31] local.INFO: IMEI packet received {"connection_id":143658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":143658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:04:32] local.INFO: TCP Data received {"connection_id":141251,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:04:32] local.INFO: Processing buffer {"connection_id":141251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:04:32] local.INFO: Packet analysis {"connection_id":141251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:04:32] local.INFO: Extracted packet for processing {"connection_id":141251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":141251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:04:32] local.INFO: GPS data processed {"connection_id":141251,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:04:32] local.INFO: Acknowledgment sent {"connection_id":141251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:04:32] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9978ab10012d18184007219e38004900a427..."} 
[2026-07-25 19:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9978ab10012d18184007219e38004900a427..."} 
[2026-07-25 19:04:32] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9978ab10012d18184007219e38004900a427..."} 
[2026-07-25 19:04:32] local.INFO: Packet analysis {"connection_id":143658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:04:32] local.INFO: Extracted packet for processing {"connection_id":143658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956474624001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986250000,"timestamp_ms":1784986250000,"timestamp_seconds":1784986250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9978ab10"} 
[2026-07-25 19:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":69,"data_length":795,"current_offset":136} 
[2026-07-25 19:04: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-07-25 19:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956474624001,"66":12613,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956474624001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956474624001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":143658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:04:32] local.INFO: GPS data processed {"connection_id":143658,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:04:32] local.INFO: Acknowledgment sent {"connection_id":143658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:04:45] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:04:45] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:04:45] local.INFO: IMEI packet received {"connection_id":141252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":141252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:04:50] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:04:50] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:04:50] local.INFO: IMEI packet received {"connection_id":141252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":141252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:04:51] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997aba68012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997aba68012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:04:51] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997aba68012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:04:51] local.INFO: Packet analysis {"connection_id":141252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:04:51] local.INFO: Extracted packet for processing {"connection_id":141252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956509184001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986385000,"timestamp_ms":1784986385000,"timestamp_seconds":1784986385,"priority":1,"record_length":96,"hex_timestamp":"0000019f997aba68"} 
[2026-07-25 19:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-25 19:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956509184001,"66":12809,"109":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956509184001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:04:51] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956509184001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":141252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:04:51] local.INFO: GPS data processed {"connection_id":141252,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:04:51] local.INFO: Acknowledgment sent {"connection_id":141252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:04:55] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:04:55] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:04:55] local.INFO: IMEI packet received {"connection_id":143659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":143659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:05:00] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:05:00] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:05:00] local.INFO: IMEI packet received {"connection_id":143659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:05:01] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:05:01] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:05:01] local.INFO: Packet analysis {"connection_id":143659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:01] local.INFO: Extracted packet for processing {"connection_id":143659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:05:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":143659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:05:01] local.INFO: GPS data processed {"connection_id":143659,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:05:01] local.INFO: Acknowledgment sent {"connection_id":143659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:05:03] local.INFO: TCP Data received {"connection_id":143658,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9978fd18012d18184007219e38004900a427..."} 
[2026-07-25 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9978fd18012d18184007219e38004900a427..."} 
[2026-07-25 19:05:03] local.INFO: Processing buffer {"connection_id":143658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9978fd18012d18184007219e38004900a427..."} 
[2026-07-25 19:05:03] local.INFO: Packet analysis {"connection_id":143658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:05:03] local.INFO: Extracted packet for processing {"connection_id":143658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9978"} 
[2026-07-25 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956480000001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986271000,"timestamp_ms":1784986271000,"timestamp_seconds":1784986271,"priority":1,"record_length":96,"hex_timestamp":"0000019f9978fd18"} 
[2026-07-25 19:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":69,"data_length":795,"current_offset":136} 
[2026-07-25 19:05: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-07-25 19:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956480000001,"66":12613,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956480000001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956480000001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":143658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:05:03] local.INFO: GPS data processed {"connection_id":143658,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:05:03] local.INFO: Acknowledgment sent {"connection_id":143658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:05:22] local.INFO: TCP Data received {"connection_id":141252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b0c70012d7e3c4005d35730000600fb21..."} 
[2026-07-25 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b0c70012d7e3c4005d35730000600fb21..."} 
[2026-07-25 19:05:22] local.INFO: Processing buffer {"connection_id":141252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b0c70012d7e3c4005d35730000600fb21..."} 
[2026-07-25 19:05:22] local.INFO: Packet analysis {"connection_id":141252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:22] local.INFO: Extracted packet for processing {"connection_id":141252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":33,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956514560001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986406000,"timestamp_ms":1784986406000,"timestamp_seconds":1784986406,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b0c70"} 
[2026-07-25 19:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1080863910736692224,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2574894160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":153,"raw_value":8772026916757461504,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3219238104615276509,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.WARNING: Large IO value detected {"io_id":47,"raw_value":8142733858710802005,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:22] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,85,24,241,157,16,59,159,104,45,64,87,6,35,10,66,26,86,7,22,192,1,240,178,227,58,153,211,4,113,205,235,76,37,239,50,2,136,5,9,47,182],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-25 19:05:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432621704854896640,"timestamp_seconds":432621704854896.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956514560001,"66":12982,"109":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956514560001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:05:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:05:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956514560001,"power":12982,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":141252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:05:22] local.INFO: GPS data processed {"connection_id":141252,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:05:22] local.INFO: Acknowledgment sent {"connection_id":141252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:05:26] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:05:26] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:05:26] local.INFO: IMEI packet received {"connection_id":141298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":141298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:05:31] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:05:31] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:05:31] local.INFO: IMEI packet received {"connection_id":141298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":141298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:05:32] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99794f20012d18184007219e38004900a428..."} 
[2026-07-25 19:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99794f20012d18184007219e38004900a428..."} 
[2026-07-25 19:05:32] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99794f20012d18184007219e38004900a428..."} 
[2026-07-25 19:05:32] local.INFO: Packet analysis {"connection_id":141298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9979"} 
[2026-07-25 19:05:32] local.INFO: Extracted packet for processing {"connection_id":141298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9979"} 
[2026-07-25 19:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956485376001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986292000,"timestamp_ms":1784986292000,"timestamp_seconds":1784986292,"priority":1,"record_length":96,"hex_timestamp":"0000019f99794f20"} 
[2026-07-25 19:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-25 19:05: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-07-25 19:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956485376001,"66":12591,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956485376001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956485376001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":141298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:05:32] local.INFO: GPS data processed {"connection_id":141298,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:05:32] local.INFO: Acknowledgment sent {"connection_id":141298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:05:32] local.INFO: TCP Data received {"connection_id":143659,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:05:32] local.INFO: Processing buffer {"connection_id":143659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:05:32] local.INFO: Packet analysis {"connection_id":143659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:32] local.INFO: Extracted packet for processing {"connection_id":143659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":143659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:05:32] local.INFO: GPS data processed {"connection_id":143659,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:05:32] local.INFO: Acknowledgment sent {"connection_id":143659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:05:45] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:05:45] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:05:45] local.INFO: IMEI packet received {"connection_id":141253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":141253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:05:52] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:05:52] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:05:52] local.INFO: IMEI packet received {"connection_id":141253,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":141253,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:05:53] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b5e78012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b5e78012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:05:53] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b5e78012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:05:53] local.INFO: Packet analysis {"connection_id":141253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:53] local.INFO: Extracted packet for processing {"connection_id":141253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956519936001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784986427000,"timestamp_ms":1784986427000,"timestamp_seconds":1784986427,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b5e78"} 
[2026-07-25 19:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-25 19:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":141253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":141253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":141253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956519936001,"66":12069,"109":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956519936001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:05:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956519936001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":141253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:05:53] local.INFO: GPS data processed {"connection_id":141253,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:05:53] local.INFO: Acknowledgment sent {"connection_id":141253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:00] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:00] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:00] local.INFO: IMEI packet received {"connection_id":141254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":141254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:06:03] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9979a128012d18184007219e38004900a425..."} 
[2026-07-25 19:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9979a128012d18184007219e38004900a425..."} 
[2026-07-25 19:06:03] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9979a128012d18184007219e38004900a425..."} 
[2026-07-25 19:06:03] local.INFO: Packet analysis {"connection_id":141298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9979"} 
[2026-07-25 19:06:03] local.INFO: Extracted packet for processing {"connection_id":141298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9979"} 
[2026-07-25 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956490752001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986313000,"timestamp_ms":1784986313000,"timestamp_seconds":1784986313,"priority":1,"record_length":96,"hex_timestamp":"0000019f9979a128"} 
[2026-07-25 19:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 19:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956490752001,"66":12537,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956490752001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:06:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956490752001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":141298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:06:03] local.INFO: GPS data processed {"connection_id":141298,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:06:03] local.INFO: Acknowledgment sent {"connection_id":141298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:05] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:05] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:05] local.INFO: IMEI packet received {"connection_id":141254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":141254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:06:06] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:06:06] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:06:06] local.INFO: Packet analysis {"connection_id":141254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:06:06] local.INFO: Extracted packet for processing {"connection_id":141254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:06:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":141254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:06:06] local.INFO: GPS data processed {"connection_id":141254,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:06:06] local.INFO: Acknowledgment sent {"connection_id":141254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:11] local.INFO: TCP Data received {"connection_id":141254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:06:11] local.INFO: Processing buffer {"connection_id":141254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:06:11] local.INFO: Packet analysis {"connection_id":141254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:06:11] local.INFO: Extracted packet for processing {"connection_id":141254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:06:11] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:06:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":141254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:06:11] local.INFO: GPS data processed {"connection_id":141254,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:06:11] local.INFO: Acknowledgment sent {"connection_id":141254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:24] local.INFO: TCP Data received {"connection_id":141253,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997bb080012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997bb080012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:06:24] local.INFO: Processing buffer {"connection_id":141253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997bb080012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:06:24] local.INFO: Packet analysis {"connection_id":141253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:06:24] local.INFO: Extracted packet for processing {"connection_id":141253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":36,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956525312001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784986448000,"timestamp_ms":1784986448000,"timestamp_seconds":1784986448,"priority":1,"record_length":96,"hex_timestamp":"0000019f997bb080"} 
[2026-07-25 19:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 19:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":141253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":141253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":141253,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956525312001,"66":11917,"109":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 19:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956525312001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956525312001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":141253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:06:24] local.INFO: GPS data processed {"connection_id":141253,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:06:24] local.INFO: Acknowledgment sent {"connection_id":141253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:26] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:06:26] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:06:26] local.INFO: IMEI packet received {"connection_id":143660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":143660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:06:31] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:06:31] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:06:31] local.INFO: IMEI packet received {"connection_id":143660,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":143660,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:06:32] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9979f330012d18184007219e38004900a425..."} 
[2026-07-25 19:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9979f330012d18184007219e38004900a425..."} 
[2026-07-25 19:06:32] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9979f330012d18184007219e38004900a425..."} 
[2026-07-25 19:06:32] local.INFO: Packet analysis {"connection_id":143660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9979"} 
[2026-07-25 19:06:32] local.INFO: Extracted packet for processing {"connection_id":143660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9979"} 
[2026-07-25 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956496128001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986334000,"timestamp_ms":1784986334000,"timestamp_seconds":1784986334,"priority":1,"record_length":96,"hex_timestamp":"0000019f9979f330"} 
[2026-07-25 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-07-25 19:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 19:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 19:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956496128001,"66":12558,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956496128001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:06:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956496128001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":143660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:06:32] local.INFO: GPS data processed {"connection_id":143660,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:06:32] local.INFO: Acknowledgment sent {"connection_id":143660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:39] local.INFO: TCP Data received {"connection_id":142276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:06:39] local.INFO: Processing buffer {"connection_id":142276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:06:39] local.INFO: IMEI packet received {"connection_id":142276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":142276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:06:47] local.INFO: TCP Data received {"connection_id":142277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:06:47] local.INFO: Processing buffer {"connection_id":142277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:06:47] local.INFO: IMEI packet received {"connection_id":142277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":142277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:06:50] local.INFO: TCP Data received {"connection_id":142277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:06:50] local.INFO: Processing buffer {"connection_id":142277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:06:50] local.INFO: IMEI packet received {"connection_id":142277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":142277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:06:51] local.INFO: TCP Data received {"connection_id":142277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997c0288012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997c0288012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:06:51] local.INFO: Processing buffer {"connection_id":142277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997c0288012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:06:51] local.INFO: Packet analysis {"connection_id":142277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:06:51] local.INFO: Extracted packet for processing {"connection_id":142277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":36,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956530688001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986469000,"timestamp_ms":1784986469000,"timestamp_seconds":1784986469,"priority":1,"record_length":96,"hex_timestamp":"0000019f997c0288"} 
[2026-07-25 19:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 19:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956530688001,"66":13048,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956530688001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956530688001,"power":13048,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":142277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:06:51] local.INFO: GPS data processed {"connection_id":142277,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:06:51] local.INFO: Acknowledgment sent {"connection_id":142277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:06:55] local.INFO: TCP Data received {"connection_id":142278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:55] local.INFO: Processing buffer {"connection_id":142278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:06:55] local.INFO: IMEI packet received {"connection_id":142278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":142278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:07:00] local.INFO: TCP Data received {"connection_id":142278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:07:00] local.INFO: Processing buffer {"connection_id":142278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:07:00] local.INFO: IMEI packet received {"connection_id":142278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":142278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:07:01] local.INFO: TCP Data received {"connection_id":142278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:07:01] local.INFO: Processing buffer {"connection_id":142278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:07:01] local.INFO: Packet analysis {"connection_id":142278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:07:01] local.INFO: Extracted packet for processing {"connection_id":142278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:07:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:07:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":142278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:07:01] local.INFO: GPS data processed {"connection_id":142278,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:07:01] local.INFO: Acknowledgment sent {"connection_id":142278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:07:03] local.INFO: TCP Data received {"connection_id":143660,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997a4538012d18184007219e38004900a428..."} 
[2026-07-25 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997a4538012d18184007219e38004900a428..."} 
[2026-07-25 19:07:03] local.INFO: Processing buffer {"connection_id":143660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997a4538012d18184007219e38004900a428..."} 
[2026-07-25 19:07:03] local.INFO: Packet analysis {"connection_id":143660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:07:03] local.INFO: Extracted packet for processing {"connection_id":143660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956501504001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986355000,"timestamp_ms":1784986355000,"timestamp_seconds":1784986355,"priority":1,"record_length":96,"hex_timestamp":"0000019f997a4538"} 
[2026-07-25 19:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":14,"data_length":795,"current_offset":136} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2751463424,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2574780160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249373794424430136,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2654470217,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,107,83,24,241,157,16,93,159,161,45,64,158,73,37,10,66,79,40,253,1,240,69,227,153,33,4,113,205,89,56,39,239,49,2,31,7,106,70,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-07-25 19:07:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260384843589484544,"timestamp_seconds":5260384843589485.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143660,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956501504001,"66":12537,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956501504001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:07:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956501504001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":143660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:07:03] local.INFO: GPS data processed {"connection_id":143660,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:07:03] local.INFO: Acknowledgment sent {"connection_id":143660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:07:22] local.INFO: TCP Data received {"connection_id":142277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997c5490012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997c5490012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:07:22] local.INFO: Processing buffer {"connection_id":142277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997c5490012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:07:22] local.INFO: Packet analysis {"connection_id":142277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:07:22] local.INFO: Extracted packet for processing {"connection_id":142277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:07:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956536064001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986490000,"timestamp_ms":1784986490000,"timestamp_seconds":1784986490,"priority":1,"record_length":96,"hex_timestamp":"0000019f997c5490"} 
[2026-07-25 19:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-25 19:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956536064001,"66":13059,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956536064001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:07:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956536064001,"power":13059,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":142277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:07:22] local.INFO: GPS data processed {"connection_id":142277,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:07:22] local.INFO: Acknowledgment sent {"connection_id":142277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:07:26] local.INFO: TCP Data received {"connection_id":142279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:07:26] local.INFO: Processing buffer {"connection_id":142279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:07:26] local.INFO: IMEI packet received {"connection_id":142279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":142279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:07:31] local.INFO: TCP Data received {"connection_id":142279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:07:31] local.INFO: Processing buffer {"connection_id":142279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:07:31] local.INFO: IMEI packet received {"connection_id":142279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":142279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:07:32] local.INFO: TCP Data received {"connection_id":142279,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997a9740012d18184007219e38004900a428..."} 
[2026-07-25 19:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997a9740012d18184007219e38004900a428..."} 
[2026-07-25 19:07:32] local.INFO: Processing buffer {"connection_id":142279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997a9740012d18184007219e38004900a428..."} 
[2026-07-25 19:07:32] local.INFO: Packet analysis {"connection_id":142279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:07:32] local.INFO: Extracted packet for processing {"connection_id":142279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986376000,"timestamp_ms":1784986376000,"timestamp_seconds":1784986376,"priority":1,"record_length":96,"hex_timestamp":"0000019f997a9740"} 
[2026-07-25 19:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 19:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956506880001,"66":12537,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:07:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956506880001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":142279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:07:32] local.INFO: GPS data processed {"connection_id":142279,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:07:32] local.INFO: Acknowledgment sent {"connection_id":142279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:07:33] local.INFO: TCP Data received {"connection_id":142278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:07:33] local.INFO: Processing buffer {"connection_id":142278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:07:33] local.INFO: Packet analysis {"connection_id":142278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:07:33] local.INFO: Extracted packet for processing {"connection_id":142278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:07:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":142278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:07:33] local.INFO: GPS data processed {"connection_id":142278,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:07:33] local.INFO: Acknowledgment sent {"connection_id":142278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:07:45] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:07:45] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:07:45] local.INFO: IMEI packet received {"connection_id":141299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":141299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:07:50] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:07:50] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:07:50] local.INFO: IMEI packet received {"connection_id":141299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":141299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:07:51] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997ca698012d7e3c4005d35730000600fb23..."} 
[2026-07-25 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997ca698012d7e3c4005d35730000600fb23..."} 
[2026-07-25 19:07:51] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997ca698012d7e3c4005d35730000600fb23..."} 
[2026-07-25 19:07:51] local.INFO: Packet analysis {"connection_id":141299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:07:51] local.INFO: Extracted packet for processing {"connection_id":141299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":35,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956541440001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986511000,"timestamp_ms":1784986511000,"timestamp_seconds":1784986511,"priority":1,"record_length":96,"hex_timestamp":"0000019f997ca698"} 
[2026-07-25 19:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359757,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2574936160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-25 19:07:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545706496,"note":"Value kept but may cause issues"} 
[2026-07-25 19:07:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,116,85,24,241,157,16,59,159,2,45,64,87,6,36,10,66,176,109,94,1,240,37,227,153,211,4,113,205,186,60,48,38,239,50,136,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-25 19:07:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432621704854896640,"timestamp_seconds":432621704854896.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956541440001,"66":12906,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956541440001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:07:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956541440001,"power":12906,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":141299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:07:51] local.INFO: GPS data processed {"connection_id":141299,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:07:51] local.INFO: Acknowledgment sent {"connection_id":141299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:07:55] local.INFO: TCP Data received {"connection_id":142280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:07:55] local.INFO: Processing buffer {"connection_id":142280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:07:55] local.INFO: IMEI packet received {"connection_id":142280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":142280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:08:00] local.INFO: TCP Data received {"connection_id":142280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:08:00] local.INFO: Processing buffer {"connection_id":142280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:08:00] local.INFO: IMEI packet received {"connection_id":142280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":142280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:08:01] local.INFO: TCP Data received {"connection_id":142280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:08:01] local.INFO: Processing buffer {"connection_id":142280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:08:01] local.INFO: Packet analysis {"connection_id":142280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:08:01] local.INFO: Extracted packet for processing {"connection_id":142280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:08:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":142280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:08:01] local.INFO: GPS data processed {"connection_id":142280,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:08:01] local.INFO: Acknowledgment sent {"connection_id":142280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:08:03] local.INFO: TCP Data received {"connection_id":142279,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997ae948012d18184007219e38004900a429..."} 
[2026-07-25 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997ae948012d18184007219e38004900a429..."} 
[2026-07-25 19:08:03] local.INFO: Processing buffer {"connection_id":142279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997ae948012d18184007219e38004900a429..."} 
[2026-07-25 19:08:03] local.INFO: Packet analysis {"connection_id":142279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:08:03] local.INFO: Extracted packet for processing {"connection_id":142279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997a"} 
[2026-07-25 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956512256001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986397000,"timestamp_ms":1784986397000,"timestamp_seconds":1784986397,"priority":1,"record_length":96,"hex_timestamp":"0000019f997ae948"} 
[2026-07-25 19:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 19:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956512256001,"66":12558,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956512256001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956512256001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":142279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:08:03] local.INFO: GPS data processed {"connection_id":142279,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:08:03] local.INFO: Acknowledgment sent {"connection_id":142279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:08:22] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997cf8a0012d7e3c4005d35730000600fb21..."} 
[2026-07-25 19:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997cf8a0012d7e3c4005d35730000600fb21..."} 
[2026-07-25 19:08:22] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997cf8a0012d7e3c4005d35730000600fb21..."} 
[2026-07-25 19:08:22] local.INFO: Packet analysis {"connection_id":141299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:08:22] local.INFO: Extracted packet for processing {"connection_id":141299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997c"} 
[2026-07-25 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":33,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956546816001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986532000,"timestamp_ms":1784986532000,"timestamp_seconds":1784986532,"priority":1,"record_length":96,"hex_timestamp":"0000019f997cf8a0"} 
[2026-07-25 19:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 19:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956546816001,"66":13015,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956546816001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:08:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:08:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956546816001,"power":13015,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":141299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:08:22] local.INFO: GPS data processed {"connection_id":141299,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:08:22] local.INFO: Acknowledgment sent {"connection_id":141299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:08:28] local.INFO: TCP Data received {"connection_id":142281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:28] local.INFO: Processing buffer {"connection_id":142281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:28] local.INFO: IMEI packet received {"connection_id":142281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":142281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:08:31] local.INFO: TCP Data received {"connection_id":142281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:31] local.INFO: Processing buffer {"connection_id":142281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:31] local.INFO: IMEI packet received {"connection_id":142281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":142281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:08:32] local.INFO: TCP Data received {"connection_id":142280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:08:32] local.INFO: Processing buffer {"connection_id":142280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:08:32] local.INFO: Packet analysis {"connection_id":142280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:08:32] local.INFO: Extracted packet for processing {"connection_id":142280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:08:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:08:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":142280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:08:32] local.INFO: GPS data processed {"connection_id":142280,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:08:32] local.INFO: Acknowledgment sent {"connection_id":142280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:08:36] local.INFO: TCP Data received {"connection_id":142281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:36] local.INFO: Processing buffer {"connection_id":142281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:08:36] local.INFO: IMEI packet received {"connection_id":142281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":142281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:08:37] local.INFO: TCP Data received {"connection_id":142281,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997e6fa0012d18184007219e38004900a427..."} 
[2026-07-25 19:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997e6fa0012d18184007219e38004900a427..."} 
[2026-07-25 19:08:37] local.INFO: Processing buffer {"connection_id":142281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997e6fa0012d18184007219e38004900a427..."} 
[2026-07-25 19:08:37] local.INFO: Packet analysis {"connection_id":142281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:08:37] local.INFO: Extracted packet for processing {"connection_id":142281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956571392001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784986628000,"timestamp_ms":1784986628000,"timestamp_seconds":1784986628,"priority":1,"record_length":96,"hex_timestamp":"0000019f997e6fa0"} 
[2026-07-25 19:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956571392001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956571392001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:08:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956571392001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":142281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:08:37] local.INFO: GPS data processed {"connection_id":142281,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:08:37] local.INFO: Acknowledgment sent {"connection_id":142281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:08:45] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:08:45] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:08:45] local.INFO: IMEI packet received {"connection_id":141255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":141255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:08:50] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:08:50] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:08:50] local.INFO: IMEI packet received {"connection_id":141255,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":141255,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:08:51] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997d4aa8012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997d4aa8012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:08:51] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997d4aa8012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:08:51] local.INFO: Packet analysis {"connection_id":141255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997d"} 
[2026-07-25 19:08:51] local.INFO: Extracted packet for processing {"connection_id":141255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997d"} 
[2026-07-25 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956552192001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986553000,"timestamp_ms":1784986553000,"timestamp_seconds":1784986553,"priority":1,"record_length":96,"hex_timestamp":"0000019f997d4aa8"} 
[2026-07-25 19:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-25 19:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956552192001,"66":13135,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956552192001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:08:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956552192001,"power":13135,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":141255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:08:51] local.INFO: GPS data processed {"connection_id":141255,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:08:51] local.INFO: Acknowledgment sent {"connection_id":141255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:08:55] local.INFO: TCP Data received {"connection_id":142283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:08:55] local.INFO: Processing buffer {"connection_id":142283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:08:55] local.INFO: IMEI packet received {"connection_id":142283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":142283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:09:00] local.INFO: TCP Data received {"connection_id":142283,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:09:00] local.INFO: Processing buffer {"connection_id":142283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:09:00] local.INFO: IMEI packet received {"connection_id":142283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":142283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:09:01] local.INFO: TCP Data received {"connection_id":142283,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:09:01] local.INFO: Processing buffer {"connection_id":142283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997b1ff8012da12b0005c409d8003500862c..."} 
[2026-07-25 19:09:01] local.INFO: Packet analysis {"connection_id":142283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:09:01] local.INFO: Extracted packet for processing {"connection_id":142283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997b"} 
[2026-07-25 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":44,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956444160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986411000,"timestamp_ms":1784986411000,"timestamp_seconds":1784986411,"priority":1,"record_length":96,"hex_timestamp":"0000019f997b1ff8"} 
[2026-07-25 19:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 19:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956444160001,"66":25875,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956444160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956444160001,"power":25875,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":142283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:09:01] local.INFO: GPS data processed {"connection_id":142283,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:09:01] local.INFO: Acknowledgment sent {"connection_id":142283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:09:08] local.INFO: TCP Data received {"connection_id":142281,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997ec1a8012d18184007219e38004900a429..."} 
[2026-07-25 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997ec1a8012d18184007219e38004900a429..."} 
[2026-07-25 19:09:08] local.INFO: Processing buffer {"connection_id":142281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997ec1a8012d18184007219e38004900a429..."} 
[2026-07-25 19:09:08] local.INFO: Packet analysis {"connection_id":142281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:09:08] local.INFO: Extracted packet for processing {"connection_id":142281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956576768001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784986649000,"timestamp_ms":1784986649000,"timestamp_seconds":1784986649,"priority":1,"record_length":96,"hex_timestamp":"0000019f997ec1a8"} 
[2026-07-25 19:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956576768001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956576768001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:09:08] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:09:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956576768001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":142281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:09:08] local.INFO: GPS data processed {"connection_id":142281,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:09:08] local.INFO: Acknowledgment sent {"connection_id":142281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:09:22] local.INFO: TCP Data received {"connection_id":141255,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997d9cb0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997d9cb0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:09:22] local.INFO: Processing buffer {"connection_id":141255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997d9cb0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:09:22] local.INFO: Packet analysis {"connection_id":141255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997d"} 
[2026-07-25 19:09:22] local.INFO: Extracted packet for processing {"connection_id":141255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997d"} 
[2026-07-25 19:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956557568001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986574000,"timestamp_ms":1784986574000,"timestamp_seconds":1784986574,"priority":1,"record_length":96,"hex_timestamp":"0000019f997d9cb0"} 
[2026-07-25 19:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 19:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141255,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956557568001,"66":13102,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956557568001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:09:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956557568001,"power":13102,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":141255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:09:22] local.INFO: GPS data processed {"connection_id":141255,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:09:22] local.INFO: Acknowledgment sent {"connection_id":141255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:09:26] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:09:26] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:09:26] local.INFO: IMEI packet received {"connection_id":141300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":141300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:09:31] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:09:31] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:09:31] local.INFO: IMEI packet received {"connection_id":141300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":141300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:09:32] local.INFO: TCP Data received {"connection_id":142283,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:09:32] local.INFO: Processing buffer {"connection_id":142283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:09:32] local.INFO: Packet analysis {"connection_id":142283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:09:32] local.INFO: Extracted packet for processing {"connection_id":142283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:09:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:09: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-07-25 19:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":142283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:09:32] local.INFO: GPS data processed {"connection_id":142283,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:09:32] local.INFO: Acknowledgment sent {"connection_id":142283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:09:32] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997f13b0012d18184007219e38004900a428..."} 
[2026-07-25 19:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997f13b0012d18184007219e38004900a428..."} 
[2026-07-25 19:09:32] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997f13b0012d18184007219e38004900a428..."} 
[2026-07-25 19:09:32] local.INFO: Packet analysis {"connection_id":141300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:09:32] local.INFO: Extracted packet for processing {"connection_id":141300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956582144001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986670000,"timestamp_ms":1784986670000,"timestamp_seconds":1784986670,"priority":1,"record_length":96,"hex_timestamp":"0000019f997f13b0"} 
[2026-07-25 19:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956582144001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956582144001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956582144001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":141300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:09:32] local.INFO: GPS data processed {"connection_id":141300,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:09:32] local.INFO: Acknowledgment sent {"connection_id":141300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:09:50] local.INFO: TCP Data received {"connection_id":143661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:09:50] local.INFO: Processing buffer {"connection_id":143661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:09:50] local.INFO: IMEI packet received {"connection_id":143661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":143661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:09:55] local.INFO: TCP Data received {"connection_id":143661,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:09:55] local.INFO: Processing buffer {"connection_id":143661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:09:55] local.INFO: IMEI packet received {"connection_id":143661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":143661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:09:56] local.INFO: TCP Data received {"connection_id":143661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997deeb8012d7e3c4005d35730000600fb27..."} 
[2026-07-25 19:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997deeb8012d7e3c4005d35730000600fb27..."} 
[2026-07-25 19:09:56] local.INFO: Processing buffer {"connection_id":143661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997deeb8012d7e3c4005d35730000600fb27..."} 
[2026-07-25 19:09:56] local.INFO: Packet analysis {"connection_id":143661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997d"} 
[2026-07-25 19:09:56] local.INFO: Extracted packet for processing {"connection_id":143661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997d"} 
[2026-07-25 19:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":39,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956562944001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784986595000,"timestamp_ms":1784986595000,"timestamp_seconds":1784986595,"priority":1,"record_length":96,"hex_timestamp":"0000019f997deeb8"} 
[2026-07-25 19:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-25 19:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956562944001,"66":13189,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956562944001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:09:56] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956562944001,"power":13189,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":143661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:09:56] local.INFO: GPS data processed {"connection_id":143661,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:09:56] local.INFO: Acknowledgment sent {"connection_id":143661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:00] local.INFO: TCP Data received {"connection_id":142284,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:00] local.INFO: Processing buffer {"connection_id":142284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:00] local.INFO: IMEI packet received {"connection_id":142284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":142284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:10:01] local.INFO: TCP Data received {"connection_id":143661,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997e40c0012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997e40c0012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:10:01] local.INFO: Processing buffer {"connection_id":143661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997e40c0012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:10:01] local.INFO: Packet analysis {"connection_id":143661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:10:01] local.INFO: Extracted packet for processing {"connection_id":143661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956568320001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986616000,"timestamp_ms":1784986616000,"timestamp_seconds":1784986616,"priority":1,"record_length":96,"hex_timestamp":"0000019f997e40c0"} 
[2026-07-25 19:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19: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-07-25 19:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956568320001,"66":13059,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956568320001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:01] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956568320001,"power":13059,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":143661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:01] local.INFO: GPS data processed {"connection_id":143661,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:01] local.INFO: Acknowledgment sent {"connection_id":143661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:05] local.INFO: TCP Data received {"connection_id":142284,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:05] local.INFO: Processing buffer {"connection_id":142284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:05] local.INFO: IMEI packet received {"connection_id":142284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":142284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:10:06] local.INFO: TCP Data received {"connection_id":142284,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:06] local.INFO: Processing buffer {"connection_id":142284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:06] local.INFO: Packet analysis {"connection_id":142284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:06] local.INFO: Extracted packet for processing {"connection_id":142284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 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-07-25 19:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 19:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":142284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:06] local.INFO: GPS data processed {"connection_id":142284,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:06] local.INFO: Acknowledgment sent {"connection_id":142284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:09] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997f65b8012d18184007219e38004900a427..."} 
[2026-07-25 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997f65b8012d18184007219e38004900a427..."} 
[2026-07-25 19:10:09] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997f65b8012d18184007219e38004900a427..."} 
[2026-07-25 19:10:09] local.INFO: Packet analysis {"connection_id":141300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:09] local.INFO: Extracted packet for processing {"connection_id":141300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956587520001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784986691000,"timestamp_ms":1784986691000,"timestamp_seconds":1784986691,"priority":1,"record_length":96,"hex_timestamp":"0000019f997f65b8"} 
[2026-07-25 19:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956587520001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956587520001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:10:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956587520001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":141300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:09] local.INFO: GPS data processed {"connection_id":141300,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:09] local.INFO: Acknowledgment sent {"connection_id":141300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:10] local.INFO: TCP Data received {"connection_id":142284,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:10] local.INFO: Processing buffer {"connection_id":142284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:10] local.INFO: Packet analysis {"connection_id":142284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:10] local.INFO: Extracted packet for processing {"connection_id":142284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:10:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":142284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:10] local.INFO: GPS data processed {"connection_id":142284,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:10] local.INFO: Acknowledgment sent {"connection_id":142284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:16] local.INFO: TCP Data received {"connection_id":142284,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:16] local.INFO: Processing buffer {"connection_id":142284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:10:16] local.INFO: Packet analysis {"connection_id":142284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:16] local.INFO: Extracted packet for processing {"connection_id":142284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":142284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":142284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":142284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:16] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":142284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:16] local.INFO: GPS data processed {"connection_id":142284,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:16] local.INFO: Acknowledgment sent {"connection_id":142284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:26] local.INFO: TCP Data received {"connection_id":142285,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:10:26] local.INFO: Processing buffer {"connection_id":142285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:10:26] local.INFO: IMEI packet received {"connection_id":142285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":142285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:10:31] local.INFO: TCP Data received {"connection_id":142285,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:10:31] local.INFO: Processing buffer {"connection_id":142285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:10:31] local.INFO: IMEI packet received {"connection_id":142285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":142285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:10:32] local.INFO: TCP Data received {"connection_id":142285,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012d18184007219e38004900a429..."} 
[2026-07-25 19:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012d18184007219e38004900a429..."} 
[2026-07-25 19:10:32] local.INFO: Processing buffer {"connection_id":142285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012d18184007219e38004900a429..."} 
[2026-07-25 19:10:32] local.INFO: Packet analysis {"connection_id":142285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:32] local.INFO: Extracted packet for processing {"connection_id":142285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956592896001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956592896001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956592896001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956592896001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":142285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:32] local.INFO: GPS data processed {"connection_id":142285,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:32] local.INFO: Acknowledgment sent {"connection_id":142285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:45] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:10:45] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:10:45] local.INFO: IMEI packet received {"connection_id":141256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":141256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:10:50] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:10:50] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:10:50] local.INFO: IMEI packet received {"connection_id":141256,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":141256,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:10:51] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997e92c8012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997e92c8012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:10:51] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997e92c8012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:10:51] local.INFO: Packet analysis {"connection_id":141256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:10:51] local.INFO: Extracted packet for processing {"connection_id":141256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:10:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956573696001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986637000,"timestamp_ms":1784986637000,"timestamp_seconds":1784986637,"priority":1,"record_length":96,"hex_timestamp":"0000019f997e92c8"} 
[2026-07-25 19:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861350,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":116,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2575062160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545706496,"note":"Value kept but may cause issues"} 
[2026-07-25 19:10:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,116,85,24,241,157,16,59,159,238,45,64,87,6,39,10,66,156,37,74,1,240,79,227,153,211,4,113,205,166,60,48,35,239,50,2,136,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-07-25 19:10:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432621704854896640,"timestamp_seconds":432621704854896.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956573696001,"66":13091,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956573696001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:10:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956573696001,"power":13091,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":141256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:10:51] local.INFO: GPS data processed {"connection_id":141256,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:10:51] local.INFO: Acknowledgment sent {"connection_id":141256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:10:55] local.INFO: TCP Data received {"connection_id":142286,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:55] local.INFO: Processing buffer {"connection_id":142286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:10:55] local.INFO: IMEI packet received {"connection_id":142286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":142286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:11:00] local.INFO: TCP Data received {"connection_id":142286,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:11:00] local.INFO: Processing buffer {"connection_id":142286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:11:00] local.INFO: IMEI packet received {"connection_id":142286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":142286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:11:01] local.INFO: TCP Data received {"connection_id":142286,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:11:01] local.INFO: Processing buffer {"connection_id":142286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:11:01] local.INFO: Packet analysis {"connection_id":142286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:11:01] local.INFO: Extracted packet for processing {"connection_id":142286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:11:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:11: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-07-25 19:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:11:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":142286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:11:01] local.INFO: GPS data processed {"connection_id":142286,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:11:01] local.INFO: Acknowledgment sent {"connection_id":142286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:11:03] local.INFO: TCP Data received {"connection_id":142285,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998009c8012d18184007219e38004900a429..."} 
[2026-07-25 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998009c8012d18184007219e38004900a429..."} 
[2026-07-25 19:11:03] local.INFO: Processing buffer {"connection_id":142285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998009c8012d18184007219e38004900a429..."} 
[2026-07-25 19:11:03] local.INFO: Packet analysis {"connection_id":142285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:11:03] local.INFO: Extracted packet for processing {"connection_id":142285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986733000,"timestamp_ms":1784986733000,"timestamp_seconds":1784986733,"priority":1,"record_length":96,"hex_timestamp":"0000019f998009c8"} 
[2026-07-25 19:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:11: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-07-25 19:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:11:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":142285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:11:03] local.INFO: GPS data processed {"connection_id":142285,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:11:03] local.INFO: Acknowledgment sent {"connection_id":142285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:11:22] local.INFO: TCP Data received {"connection_id":141256,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997ee4d0012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997ee4d0012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:11:22] local.INFO: Processing buffer {"connection_id":141256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997ee4d0012d7e3c4005d35730000600fb26..."} 
[2026-07-25 19:11:22] local.INFO: Packet analysis {"connection_id":141256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:11:22] local.INFO: Extracted packet for processing {"connection_id":141256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997e"} 
[2026-07-25 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":38,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956579072001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986658000,"timestamp_ms":1784986658000,"timestamp_seconds":1784986658,"priority":1,"record_length":96,"hex_timestamp":"0000019f997ee4d0"} 
[2026-07-25 19:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 19:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141256,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956579072001,"66":12939,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956579072001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:11:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956579072001,"power":12939,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":141256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:11:22] local.INFO: GPS data processed {"connection_id":141256,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:11:22] local.INFO: Acknowledgment sent {"connection_id":141256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:11:26] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:11:26] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:11:26] local.INFO: IMEI packet received {"connection_id":141301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":141301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:11:31] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:11:31] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:11:31] local.INFO: IMEI packet received {"connection_id":141301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":141301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:11:32] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99805bd0012d18184007219e38004900a427..."} 
[2026-07-25 19:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99805bd0012d18184007219e38004900a427..."} 
[2026-07-25 19:11:32] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99805bd0012d18184007219e38004900a427..."} 
[2026-07-25 19:11:32] local.INFO: Packet analysis {"connection_id":141301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:11:32] local.INFO: Extracted packet for processing {"connection_id":141301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956603648001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986754000,"timestamp_ms":1784986754000,"timestamp_seconds":1784986754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99805bd0"} 
[2026-07-25 19:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956603648001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956603648001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:11:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956603648001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":141301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:11:32] local.INFO: GPS data processed {"connection_id":141301,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:11:32] local.INFO: Acknowledgment sent {"connection_id":141301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:11:33] local.INFO: TCP Data received {"connection_id":142286,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:11:33] local.INFO: Processing buffer {"connection_id":142286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:11:33] local.INFO: Packet analysis {"connection_id":142286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:11:33] local.INFO: Extracted packet for processing {"connection_id":142286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:11: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-07-25 19:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:11:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":142286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:11:33] local.INFO: GPS data processed {"connection_id":142286,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:11:33] local.INFO: Acknowledgment sent {"connection_id":142286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:11:45] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:11:45] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:11:45] local.INFO: IMEI packet received {"connection_id":141302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":141302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:11:50] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:11:50] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:11:50] local.INFO: IMEI packet received {"connection_id":141302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":141302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:11:51] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997f36d8012d7e3c4005d35730000600fb27..."} 
[2026-07-25 19:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997f36d8012d7e3c4005d35730000600fb27..."} 
[2026-07-25 19:11:51] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997f36d8012d7e3c4005d35730000600fb27..."} 
[2026-07-25 19:11:51] local.INFO: Packet analysis {"connection_id":141302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:11:51] local.INFO: Extracted packet for processing {"connection_id":141302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":39,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956584448001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986679000,"timestamp_ms":1784986679000,"timestamp_seconds":1784986679,"priority":1,"record_length":96,"hex_timestamp":"0000019f997f36d8"} 
[2026-07-25 19:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 19:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956584448001,"66":13015,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956584448001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:11:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956584448001,"power":13015,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":141302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:11:51] local.INFO: GPS data processed {"connection_id":141302,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:11:51] local.INFO: Acknowledgment sent {"connection_id":141302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:11:55] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:11:55] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:11:55] local.INFO: IMEI packet received {"connection_id":141257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":141257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:12:00] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:12:00] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:12:00] local.INFO: IMEI packet received {"connection_id":141257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":141257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:12:01] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:12:01] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:12:01] local.INFO: Packet analysis {"connection_id":141257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:01] local.INFO: Extracted packet for processing {"connection_id":141257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:12: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-07-25 19:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:12:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":141257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:12:01] local.INFO: GPS data processed {"connection_id":141257,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:12:01] local.INFO: Acknowledgment sent {"connection_id":141257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:12:03] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9980add8012d18184007219e38004900a427..."} 
[2026-07-25 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9980add8012d18184007219e38004900a427..."} 
[2026-07-25 19:12:03] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9980add8012d18184007219e38004900a427..."} 
[2026-07-25 19:12:03] local.INFO: Packet analysis {"connection_id":141301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:12:03] local.INFO: Extracted packet for processing {"connection_id":141301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956609024001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986775000,"timestamp_ms":1784986775000,"timestamp_seconds":1784986775,"priority":1,"record_length":96,"hex_timestamp":"0000019f9980add8"} 
[2026-07-25 19:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:12: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-07-25 19: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-07-25 19:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956609024001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956609024001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956609024001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":141301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:12:03] local.INFO: GPS data processed {"connection_id":141301,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:12:03] local.INFO: Acknowledgment sent {"connection_id":141301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:12:04] local.INFO: TCP Data received {"connection_id":142282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:12:04] local.INFO: Processing buffer {"connection_id":142282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:12:04] local.INFO: IMEI packet received {"connection_id":142282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":142282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:12:22] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997f88e0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997f88e0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:12:22] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997f88e0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:12:22] local.INFO: Packet analysis {"connection_id":141302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:22] local.INFO: Extracted packet for processing {"connection_id":141302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956589824001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986700000,"timestamp_ms":1784986700000,"timestamp_seconds":1784986700,"priority":1,"record_length":96,"hex_timestamp":"0000019f997f88e0"} 
[2026-07-25 19:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":215,"data_length":795,"current_offset":136} 
[2026-07-25 19:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956589824001,"66":12972,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956589824001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:12:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956589824001,"power":12972,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":141302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:12:22] local.INFO: GPS data processed {"connection_id":141302,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:12:22] local.INFO: Acknowledgment sent {"connection_id":141302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:12:26] local.INFO: TCP Data received {"connection_id":142287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:12:26] local.INFO: Processing buffer {"connection_id":142287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:12:26] local.INFO: IMEI packet received {"connection_id":142287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":142287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:12:32] local.INFO: TCP Data received {"connection_id":141257,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:12:32] local.INFO: Processing buffer {"connection_id":141257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:12:32] local.INFO: Packet analysis {"connection_id":141257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:32] local.INFO: Extracted packet for processing {"connection_id":141257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:12: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-07-25 19: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-07-25 19:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:12:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":141257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:12:32] local.INFO: GPS data processed {"connection_id":141257,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:12:32] local.INFO: Acknowledgment sent {"connection_id":141257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:12:32] local.INFO: TCP Data received {"connection_id":142287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:12:32] local.INFO: Processing buffer {"connection_id":142287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:12:32] local.INFO: IMEI packet received {"connection_id":142287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":142287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:12:33] local.INFO: TCP Data received {"connection_id":142287,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9980ffe0012d18184007219e38004900a427..."} 
[2026-07-25 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9980ffe0012d18184007219e38004900a427..."} 
[2026-07-25 19:12:33] local.INFO: Processing buffer {"connection_id":142287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9980ffe0012d18184007219e38004900a427..."} 
[2026-07-25 19:12:33] local.INFO: Packet analysis {"connection_id":142287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:12:33] local.INFO: Extracted packet for processing {"connection_id":142287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956614400001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784986796000,"timestamp_ms":1784986796000,"timestamp_seconds":1784986796,"priority":1,"record_length":96,"hex_timestamp":"0000019f9980ffe0"} 
[2026-07-25 19:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956614400001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956614400001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:12:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956614400001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":142287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:12:33] local.INFO: GPS data processed {"connection_id":142287,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:12:33] local.INFO: Acknowledgment sent {"connection_id":142287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:12:46] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:12:46] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:12:46] local.INFO: IMEI packet received {"connection_id":141303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":141303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:12:50] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:12:50] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:12:50] local.INFO: IMEI packet received {"connection_id":141303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":141303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:12:51] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fdae8012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fdae8012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:12:51] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fdae8012d7e3c4005d35730000600fb24..."} 
[2026-07-25 19:12:51] local.INFO: Packet analysis {"connection_id":141303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:51] local.INFO: Extracted packet for processing {"connection_id":141303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":36,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956595200001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986721000,"timestamp_ms":1784986721000,"timestamp_seconds":1784986721,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fdae8"} 
[2026-07-25 19:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-25 19:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956595200001,"66":12906,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956595200001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:12:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956595200001,"power":12906,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":141303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:12:51] local.INFO: GPS data processed {"connection_id":141303,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:12:51] local.INFO: Acknowledgment sent {"connection_id":141303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:12:55] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:12:55] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:12:55] local.INFO: IMEI packet received {"connection_id":143662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":143662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:13:00] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:13:00] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:13:00] local.INFO: IMEI packet received {"connection_id":143662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":143662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:13:01] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:13:01] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:13:01] local.INFO: Packet analysis {"connection_id":143662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:13:01] local.INFO: Extracted packet for processing {"connection_id":143662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:13: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-07-25 19:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:13:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":143662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:13:01] local.INFO: GPS data processed {"connection_id":143662,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:13:01] local.INFO: Acknowledgment sent {"connection_id":143662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:13:04] local.INFO: TCP Data received {"connection_id":142287,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998151e8012d18184007219e38004900a427..."} 
[2026-07-25 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998151e8012d18184007219e38004900a427..."} 
[2026-07-25 19:13:04] local.INFO: Processing buffer {"connection_id":142287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998151e8012d18184007219e38004900a427..."} 
[2026-07-25 19:13:04] local.INFO: Packet analysis {"connection_id":142287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9981"} 
[2026-07-25 19:13:04] local.INFO: Extracted packet for processing {"connection_id":142287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9981"} 
[2026-07-25 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956619776001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784986817000,"timestamp_ms":1784986817000,"timestamp_seconds":1784986817,"priority":1,"record_length":96,"hex_timestamp":"0000019f998151e8"} 
[2026-07-25 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956619776001,"66":12504,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956619776001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:13:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:13:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956619776001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":142287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:13:04] local.INFO: GPS data processed {"connection_id":142287,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:13:04] local.INFO: Acknowledgment sent {"connection_id":142287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:13:22] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99802520012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99802520012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:13:22] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99802520012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:13:22] local.INFO: Packet analysis {"connection_id":141303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:13:22] local.INFO: Extracted packet for processing {"connection_id":141303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956600576001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986740000,"timestamp_ms":1784986740000,"timestamp_seconds":1784986740,"priority":1,"record_length":96,"hex_timestamp":"0000019f99802520"} 
[2026-07-25 19:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 19:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956600576001,"66":13276,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956600576001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:13:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956600576001,"power":13276,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":141303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:13:22] local.INFO: GPS data processed {"connection_id":141303,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:13:22] local.INFO: Acknowledgment sent {"connection_id":141303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:13:26] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:13:26] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:13:26] local.INFO: IMEI packet received {"connection_id":141258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":141258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:13:31] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:13:31] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:13:31] local.INFO: IMEI packet received {"connection_id":141258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":141258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:13:32] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9981a3f0012d18184007219e38004900a428..."} 
[2026-07-25 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9981a3f0012d18184007219e38004900a428..."} 
[2026-07-25 19:13:32] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9981a3f0012d18184007219e38004900a428..."} 
[2026-07-25 19:13:32] local.INFO: Packet analysis {"connection_id":141258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9981"} 
[2026-07-25 19:13:32] local.INFO: Extracted packet for processing {"connection_id":141258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9981"} 
[2026-07-25 19:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956625152001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986838000,"timestamp_ms":1784986838000,"timestamp_seconds":1784986838,"priority":1,"record_length":96,"hex_timestamp":"0000019f9981a3f0"} 
[2026-07-25 19:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956625152001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956625152001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956625152001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":141258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:13:32] local.INFO: GPS data processed {"connection_id":141258,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:13:32] local.INFO: Acknowledgment sent {"connection_id":141258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:13:32] local.INFO: TCP Data received {"connection_id":143662,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:13:32] local.INFO: Processing buffer {"connection_id":143662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:13:32] local.INFO: Packet analysis {"connection_id":143662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:13:32] local.INFO: Extracted packet for processing {"connection_id":143662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:13:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:13: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-07-25 19:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":143662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:13:32] local.INFO: GPS data processed {"connection_id":143662,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:13:32] local.INFO: Acknowledgment sent {"connection_id":143662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:13:45] local.INFO: TCP Data received {"connection_id":143663,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:13:45] local.INFO: Processing buffer {"connection_id":143663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:13:45] local.INFO: IMEI packet received {"connection_id":143663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":143663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:13:50] local.INFO: TCP Data received {"connection_id":143663,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:13:50] local.INFO: Processing buffer {"connection_id":143663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:13:50] local.INFO: IMEI packet received {"connection_id":143663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":143663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:13:51] local.INFO: TCP Data received {"connection_id":143663,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99802520012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99802520012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:13:51] local.INFO: Processing buffer {"connection_id":143663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99802520012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:13:51] local.INFO: Packet analysis {"connection_id":143663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:13:51] local.INFO: Extracted packet for processing {"connection_id":143663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:13:51] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605440001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784986740000,"timestamp_ms":1784986740000,"timestamp_seconds":1784986740,"priority":1,"record_length":96,"hex_timestamp":"0000019f99802520"} 
[2026-07-25 19:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 19:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605440001,"66":13276,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605440001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:13:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605440001,"power":13276,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":143663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:13:51] local.INFO: GPS data processed {"connection_id":143663,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:13:51] local.INFO: Acknowledgment sent {"connection_id":143663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:13:54] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:13:54] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:13:54] local.INFO: IMEI packet received {"connection_id":141260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":141260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:14:00] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:14:00] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:14:00] local.INFO: IMEI packet received {"connection_id":141260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":141260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:14:01] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:14:01] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f997fb7c0012da12b0005c409d8003500862f..."} 
[2026-07-25 19:14:01] local.INFO: Packet analysis {"connection_id":141260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:14:01] local.INFO: Extracted packet for processing {"connection_id":141260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f997f"} 
[2026-07-25 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":47,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956521216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784986712000,"timestamp_ms":1784986712000,"timestamp_seconds":1784986712,"priority":1,"record_length":96,"hex_timestamp":"0000019f997fb7c0"} 
[2026-07-25 19:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 19:14: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-07-25 19:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956521216001,"66":25778,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956521216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:14:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956521216001,"power":25778,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":141260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:14:01] local.INFO: GPS data processed {"connection_id":141260,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:14:01] local.INFO: Acknowledgment sent {"connection_id":141260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:14:03] local.INFO: TCP Data received {"connection_id":141258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9981f5f8012d18184007219e38004900a429..."} 
[2026-07-25 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9981f5f8012d18184007219e38004900a429..."} 
[2026-07-25 19:14:03] local.INFO: Processing buffer {"connection_id":141258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9981f5f8012d18184007219e38004900a429..."} 
[2026-07-25 19:14:03] local.INFO: Packet analysis {"connection_id":141258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9981"} 
[2026-07-25 19:14:03] local.INFO: Extracted packet for processing {"connection_id":141258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9981"} 
[2026-07-25 19:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956630528001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986859000,"timestamp_ms":1784986859000,"timestamp_seconds":1784986859,"priority":1,"record_length":96,"hex_timestamp":"0000019f9981f5f8"} 
[2026-07-25 19:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956630528001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956630528001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:14:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956630528001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":141258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:14:03] local.INFO: GPS data processed {"connection_id":141258,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:14:03] local.INFO: Acknowledgment sent {"connection_id":141258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:14:22] local.INFO: TCP Data received {"connection_id":143663,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99802cf0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99802cf0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:14:22] local.INFO: Processing buffer {"connection_id":143663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99802cf0012d7e3c4005d35730000600fb25..."} 
[2026-07-25 19:14:22] local.INFO: Packet analysis {"connection_id":143663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:14:22] local.INFO: Extracted packet for processing {"connection_id":143663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9980"} 
[2026-07-25 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605440001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784986742000,"timestamp_ms":1784986742000,"timestamp_seconds":1784986742,"priority":1,"record_length":96,"hex_timestamp":"0000019f99802cf0"} 
[2026-07-25 19:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 19:14: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-07-25 19: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-07-25 19:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605440001,"66":13428,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605440001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:14:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605440001,"power":13428,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":143663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:14:22] local.INFO: GPS data processed {"connection_id":143663,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:14:22] local.INFO: Acknowledgment sent {"connection_id":143663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:14:26] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:14:26] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:14:26] local.INFO: IMEI packet received {"connection_id":141261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":141261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:14:31] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:14:31] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:14:31] local.INFO: IMEI packet received {"connection_id":141261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":141261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:14:32] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99824800012d18184007219e38004900a428..."} 
[2026-07-25 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99824800012d18184007219e38004900a428..."} 
[2026-07-25 19:14:32] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99824800012d18184007219e38004900a428..."} 
[2026-07-25 19:14:32] local.INFO: Packet analysis {"connection_id":141261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9982"} 
[2026-07-25 19:14:32] local.INFO: Extracted packet for processing {"connection_id":141261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9982"} 
[2026-07-25 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986880000,"timestamp_ms":1784986880000,"timestamp_seconds":1784986880,"priority":1,"record_length":96,"hex_timestamp":"0000019f99824800"} 
[2026-07-25 19:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956635904001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956635904001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":141261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:14:32] local.INFO: GPS data processed {"connection_id":141261,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:14:32] local.INFO: Acknowledgment sent {"connection_id":141261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:14:32] local.INFO: TCP Data received {"connection_id":141260,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:14:32] local.INFO: Processing buffer {"connection_id":141260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:14:32] local.INFO: Packet analysis {"connection_id":141260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:14:32] local.INFO: Extracted packet for processing {"connection_id":141260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:14: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-07-25 19:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":141260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:14:32] local.INFO: GPS data processed {"connection_id":141260,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:14:32] local.INFO: Acknowledgment sent {"connection_id":141260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:14:45] local.INFO: TCP Data received {"connection_id":142288,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:14:45] local.INFO: Processing buffer {"connection_id":142288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:14:45] local.INFO: IMEI packet received {"connection_id":142288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":142288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:14:50] local.INFO: TCP Data received {"connection_id":142288,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:14:50] local.INFO: Processing buffer {"connection_id":142288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:14:50] local.INFO: IMEI packet received {"connection_id":142288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":142288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:14:51] local.INFO: TCP Data received {"connection_id":142288,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:14:51] local.INFO: Processing buffer {"connection_id":142288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:14:51] local.INFO: Packet analysis {"connection_id":142288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:14:51] local.INFO: Extracted packet for processing {"connection_id":142288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":142288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":142288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":142288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":142288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:14:51] local.INFO: GPS data processed {"connection_id":142288,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:14:51] local.INFO: Acknowledgment sent {"connection_id":142288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:00] local.INFO: TCP Data received {"connection_id":143664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:00] local.INFO: Processing buffer {"connection_id":143664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:00] local.INFO: IMEI packet received {"connection_id":143664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":143664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:15:03] local.INFO: TCP Data received {"connection_id":141261,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99829a08012d18184007219e38004900a425..."} 
[2026-07-25 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99829a08012d18184007219e38004900a425..."} 
[2026-07-25 19:15:03] local.INFO: Processing buffer {"connection_id":141261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99829a08012d18184007219e38004900a425..."} 
[2026-07-25 19:15:03] local.INFO: Packet analysis {"connection_id":141261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9982"} 
[2026-07-25 19:15:03] local.INFO: Extracted packet for processing {"connection_id":141261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9982"} 
[2026-07-25 19:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956641280001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986901000,"timestamp_ms":1784986901000,"timestamp_seconds":1784986901,"priority":1,"record_length":96,"hex_timestamp":"0000019f99829a08"} 
[2026-07-25 19:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956641280001,"66":12428,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956641280001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956641280001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":141261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:03] local.INFO: GPS data processed {"connection_id":141261,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:03] local.INFO: Acknowledgment sent {"connection_id":141261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:05] local.INFO: TCP Data received {"connection_id":143664,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:05] local.INFO: Processing buffer {"connection_id":143664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:05] local.INFO: IMEI packet received {"connection_id":143664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":143664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:15:06] local.INFO: TCP Data received {"connection_id":143664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:15:06] local.INFO: Processing buffer {"connection_id":143664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:15:06] local.INFO: Packet analysis {"connection_id":143664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:06] local.INFO: Extracted packet for processing {"connection_id":143664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":143664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:06] local.INFO: GPS data processed {"connection_id":143664,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:06] local.INFO: Acknowledgment sent {"connection_id":143664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:10] local.INFO: TCP Data received {"connection_id":143664,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:15:10] local.INFO: Processing buffer {"connection_id":143664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:15:10] local.INFO: Packet analysis {"connection_id":143664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:10] local.INFO: Extracted packet for processing {"connection_id":143664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":143664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:10] local.INFO: GPS data processed {"connection_id":143664,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:10] local.INFO: Acknowledgment sent {"connection_id":143664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:22] local.INFO: TCP Data received {"connection_id":142288,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:15:22] local.INFO: Processing buffer {"connection_id":142288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:15:22] local.INFO: Packet analysis {"connection_id":142288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:22] local.INFO: Extracted packet for processing {"connection_id":142288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":142288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":142288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":142288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:15:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":142288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:22] local.INFO: GPS data processed {"connection_id":142288,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:22] local.INFO: Acknowledgment sent {"connection_id":142288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:28] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:28] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:28] local.INFO: IMEI packet received {"connection_id":141304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":141304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:15:31] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:31] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:31] local.INFO: IMEI packet received {"connection_id":141304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":141304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:15:36] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:36] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:15:36] local.INFO: IMEI packet received {"connection_id":141304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":141304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:15:38] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9982ec10012d18184007219e38004900a428..."} 
[2026-07-25 19:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9982ec10012d18184007219e38004900a428..."} 
[2026-07-25 19:15:38] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9982ec10012d18184007219e38004900a428..."} 
[2026-07-25 19:15:38] local.INFO: Packet analysis {"connection_id":141304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9982"} 
[2026-07-25 19:15:38] local.INFO: Extracted packet for processing {"connection_id":141304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9982"} 
[2026-07-25 19:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956646656001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784986922000,"timestamp_ms":1784986922000,"timestamp_seconds":1784986922,"priority":1,"record_length":96,"hex_timestamp":"0000019f9982ec10"} 
[2026-07-25 19:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956646656001,"66":12406,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956646656001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956646656001,"power":12406,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":141304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:38] local.INFO: GPS data processed {"connection_id":141304,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:38] local.INFO: Acknowledgment sent {"connection_id":141304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:41] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99833e18012d18184007219e38004900a42a..."} 
[2026-07-25 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99833e18012d18184007219e38004900a42a..."} 
[2026-07-25 19:15:41] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99833e18012d18184007219e38004900a42a..."} 
[2026-07-25 19:15:41] local.INFO: Packet analysis {"connection_id":141304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9983"} 
[2026-07-25 19:15:41] local.INFO: Extracted packet for processing {"connection_id":141304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9983"} 
[2026-07-25 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956652032001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784986943000,"timestamp_ms":1784986943000,"timestamp_seconds":1784986943,"priority":1,"record_length":96,"hex_timestamp":"0000019f99833e18"} 
[2026-07-25 19:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956652032001,"66":12428,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956652032001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956652032001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":141304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:41] local.INFO: GPS data processed {"connection_id":141304,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:41] local.INFO: Acknowledgment sent {"connection_id":141304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:45] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:15:45] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:15:45] local.INFO: IMEI packet received {"connection_id":141262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":141262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:15:50] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:15:50] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:15:50] local.INFO: IMEI packet received {"connection_id":141262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":141262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:15:51] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:15:51] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:15:51] local.INFO: Packet analysis {"connection_id":141262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:51] local.INFO: Extracted packet for processing {"connection_id":141262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:15:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":141262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:15:51] local.INFO: GPS data processed {"connection_id":141262,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:15:51] local.INFO: Acknowledgment sent {"connection_id":141262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:15:55] local.INFO: TCP Data received {"connection_id":142289,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:55] local.INFO: Processing buffer {"connection_id":142289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:15:55] local.INFO: IMEI packet received {"connection_id":142289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":142289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:16:00] local.INFO: TCP Data received {"connection_id":142289,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:16:00] local.INFO: Processing buffer {"connection_id":142289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:16:00] local.INFO: IMEI packet received {"connection_id":142289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":142289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:16:01] local.INFO: TCP Data received {"connection_id":142289,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:16:01] local.INFO: Processing buffer {"connection_id":142289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:16:01] local.INFO: Packet analysis {"connection_id":142289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:01] local.INFO: Extracted packet for processing {"connection_id":142289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:16:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":142289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:16:01] local.INFO: GPS data processed {"connection_id":142289,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:16:01] local.INFO: Acknowledgment sent {"connection_id":142289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:16:22] local.INFO: TCP Data received {"connection_id":141262,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:16:22] local.INFO: Processing buffer {"connection_id":141262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:16:22] local.INFO: Packet analysis {"connection_id":141262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:22] local.INFO: Extracted packet for processing {"connection_id":141262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:16:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":141262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:16:22] local.INFO: GPS data processed {"connection_id":141262,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:16:22] local.INFO: Acknowledgment sent {"connection_id":141262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:16:26] local.INFO: TCP Data received {"connection_id":143665,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:16:26] local.INFO: Processing buffer {"connection_id":143665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:16:26] local.INFO: IMEI packet received {"connection_id":143665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":143665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:16:31] local.INFO: TCP Data received {"connection_id":143665,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:16:31] local.INFO: Processing buffer {"connection_id":143665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:16:31] local.INFO: IMEI packet received {"connection_id":143665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":143665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:16:32] local.INFO: TCP Data received {"connection_id":143665,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99839020012d18184007219e38004900a428..."} 
[2026-07-25 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99839020012d18184007219e38004900a428..."} 
[2026-07-25 19:16:32] local.INFO: Processing buffer {"connection_id":143665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99839020012d18184007219e38004900a428..."} 
[2026-07-25 19:16:32] local.INFO: Packet analysis {"connection_id":143665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9983"} 
[2026-07-25 19:16:32] local.INFO: Extracted packet for processing {"connection_id":143665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9983"} 
[2026-07-25 19:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956657408001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784986964000,"timestamp_ms":1784986964000,"timestamp_seconds":1784986964,"priority":1,"record_length":96,"hex_timestamp":"0000019f99839020"} 
[2026-07-25 19:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":140,"data_length":795,"current_offset":136} 
[2026-07-25 19:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956657408001,"66":12439,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956657408001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956657408001,"power":12439,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":143665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:16:32] local.INFO: GPS data processed {"connection_id":143665,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:16:32] local.INFO: Acknowledgment sent {"connection_id":143665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:16:32] local.INFO: TCP Data received {"connection_id":142289,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:16:32] local.INFO: Processing buffer {"connection_id":142289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:16:32] local.INFO: Packet analysis {"connection_id":142289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:32] local.INFO: Extracted packet for processing {"connection_id":142289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:16: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-07-25 19:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":142289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:16:32] local.INFO: GPS data processed {"connection_id":142289,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:16:32] local.INFO: Acknowledgment sent {"connection_id":142289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:16:45] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:16:45] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:16:45] local.INFO: IMEI packet received {"connection_id":141305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":141305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:16:50] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:16:50] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:16:50] local.INFO: IMEI packet received {"connection_id":141305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":141305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:16:51] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:16:51] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:16:51] local.INFO: Packet analysis {"connection_id":141305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:51] local.INFO: Extracted packet for processing {"connection_id":141305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":141305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:16:51] local.INFO: GPS data processed {"connection_id":141305,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:16:51] local.INFO: Acknowledgment sent {"connection_id":141305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:16:55] local.INFO: TCP Data received {"connection_id":141306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:16:55] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:16:55] local.INFO: IMEI packet received {"connection_id":141306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":141306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:17:00] local.INFO: TCP Data received {"connection_id":141306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:17:00] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:17:00] local.INFO: IMEI packet received {"connection_id":141306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":141306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:17:01] local.INFO: TCP Data received {"connection_id":141306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:17:01] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:17:01] local.INFO: Packet analysis {"connection_id":141306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:01] local.INFO: Extracted packet for processing {"connection_id":141306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:17:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":141306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:17:01] local.INFO: GPS data processed {"connection_id":141306,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:17:01] local.INFO: Acknowledgment sent {"connection_id":141306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:17:03] local.INFO: TCP Data received {"connection_id":143665,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9983e228012d18184007219e38004900a427..."} 
[2026-07-25 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9983e228012d18184007219e38004900a427..."} 
[2026-07-25 19:17:03] local.INFO: Processing buffer {"connection_id":143665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9983e228012d18184007219e38004900a427..."} 
[2026-07-25 19:17:03] local.INFO: Packet analysis {"connection_id":143665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9983"} 
[2026-07-25 19:17:03] local.INFO: Extracted packet for processing {"connection_id":143665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9983"} 
[2026-07-25 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956662784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784986985000,"timestamp_ms":1784986985000,"timestamp_seconds":1784986985,"priority":1,"record_length":96,"hex_timestamp":"0000019f9983e228"} 
[2026-07-25 19:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 19:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956662784001,"66":12439,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956662784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956662784001,"power":12439,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":143665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:17:03] local.INFO: GPS data processed {"connection_id":143665,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:17:03] local.INFO: Acknowledgment sent {"connection_id":143665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:17:22] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:17:22] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:17:22] local.INFO: Packet analysis {"connection_id":141305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:22] local.INFO: Extracted packet for processing {"connection_id":141305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:17:22] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:17:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":141305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:17:22] local.INFO: GPS data processed {"connection_id":141305,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:17:22] local.INFO: Acknowledgment sent {"connection_id":141305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:17:26] local.INFO: TCP Data received {"connection_id":142290,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:17:26] local.INFO: Processing buffer {"connection_id":142290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:17:26] local.INFO: IMEI packet received {"connection_id":142290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":142290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:17:31] local.INFO: TCP Data received {"connection_id":142290,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:17:31] local.INFO: Processing buffer {"connection_id":142290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:17:31] local.INFO: IMEI packet received {"connection_id":142290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":142290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:17:32] local.INFO: TCP Data received {"connection_id":141306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:17:32] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:17:32] local.INFO: Packet analysis {"connection_id":141306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:32] local.INFO: Extracted packet for processing {"connection_id":141306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:17: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-07-25 19:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":141306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:17:32] local.INFO: GPS data processed {"connection_id":141306,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:17:32] local.INFO: Acknowledgment sent {"connection_id":141306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:17:32] local.INFO: TCP Data received {"connection_id":142290,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99843430012d18184007219e38004900a426..."} 
[2026-07-25 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99843430012d18184007219e38004900a426..."} 
[2026-07-25 19:17:32] local.INFO: Processing buffer {"connection_id":142290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99843430012d18184007219e38004900a426..."} 
[2026-07-25 19:17:32] local.INFO: Packet analysis {"connection_id":142290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:32] local.INFO: Extracted packet for processing {"connection_id":142290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956668160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987006000,"timestamp_ms":1784987006000,"timestamp_seconds":1784987006,"priority":1,"record_length":96,"hex_timestamp":"0000019f99843430"} 
[2026-07-25 19:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 19:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956668160001,"66":12428,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956668160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956668160001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":142290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:17:32] local.INFO: GPS data processed {"connection_id":142290,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:17:32] local.INFO: Acknowledgment sent {"connection_id":142290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:17:50] local.INFO: TCP Data received {"connection_id":143666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:17:50] local.INFO: Processing buffer {"connection_id":143666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:17:50] local.INFO: IMEI packet received {"connection_id":143666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":143666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:17:55] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:17:55] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:17:55] local.INFO: IMEI packet received {"connection_id":141263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:17:55] local.INFO: TCP Data received {"connection_id":143666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143666,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:17:55] local.INFO: Processing buffer {"connection_id":143666,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:17:55] local.INFO: IMEI packet received {"connection_id":143666,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":143666,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:17:56] local.INFO: TCP Data received {"connection_id":141264,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:17:56] local.INFO: Processing buffer {"connection_id":141264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:17:56] local.INFO: IMEI packet received {"connection_id":141264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":141264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:17:56] local.INFO: TCP Data received {"connection_id":143666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:17:56] local.INFO: Processing buffer {"connection_id":143666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:17:56] local.INFO: Packet analysis {"connection_id":143666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:56] local.INFO: Extracted packet for processing {"connection_id":143666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:17:56] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":143666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:17:56] local.INFO: GPS data processed {"connection_id":143666,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:17:56] local.INFO: Acknowledgment sent {"connection_id":143666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:00] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:18:00] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:18:00] local.INFO: IMEI packet received {"connection_id":141263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:18:01] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:18:01] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99844f88012da12b0005c409d8003500862a..."} 
[2026-07-25 19:18:01] local.INFO: Packet analysis {"connection_id":141263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:01] local.INFO: Extracted packet for processing {"connection_id":141263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956598272001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987013000,"timestamp_ms":1784987013000,"timestamp_seconds":1784987013,"priority":1,"record_length":96,"hex_timestamp":"0000019f99844f88"} 
[2026-07-25 19:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956598272001,"66":25712,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956598272001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956598272001,"power":25712,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":141263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:18:01] local.INFO: GPS data processed {"connection_id":141263,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:18:01] local.INFO: Acknowledgment sent {"connection_id":141263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:01] local.INFO: TCP Data received {"connection_id":143666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:18:01] local.INFO: Processing buffer {"connection_id":143666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:18:01] local.INFO: Packet analysis {"connection_id":143666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:01] local.INFO: Extracted packet for processing {"connection_id":143666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143666,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:18: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-07-25 19:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":143666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:18:01] local.INFO: GPS data processed {"connection_id":143666,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:18:01] local.INFO: Acknowledgment sent {"connection_id":143666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:03] local.INFO: TCP Data received {"connection_id":142290,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99848638012d18184007219e38004900a428..."} 
[2026-07-25 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99848638012d18184007219e38004900a428..."} 
[2026-07-25 19:18:03] local.INFO: Processing buffer {"connection_id":142290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99848638012d18184007219e38004900a428..."} 
[2026-07-25 19:18:03] local.INFO: Packet analysis {"connection_id":142290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:03] local.INFO: Extracted packet for processing {"connection_id":142290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956673536001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987027000,"timestamp_ms":1784987027000,"timestamp_seconds":1784987027,"priority":1,"record_length":96,"hex_timestamp":"0000019f99848638"} 
[2026-07-25 19:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 19:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956673536001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956673536001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956673536001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":142290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:18:03] local.INFO: GPS data processed {"connection_id":142290,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:18:03] local.INFO: Acknowledgment sent {"connection_id":142290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:26] local.INFO: TCP Data received {"connection_id":142291,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:18:26] local.INFO: Processing buffer {"connection_id":142291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:18:26] local.INFO: IMEI packet received {"connection_id":142291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":142291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:18:31] local.INFO: TCP Data received {"connection_id":142291,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:18:31] local.INFO: Processing buffer {"connection_id":142291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:18:31] local.INFO: IMEI packet received {"connection_id":142291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":142291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:18:32] local.INFO: TCP Data received {"connection_id":142291,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984d840012d18184007219e38004900a427..."} 
[2026-07-25 19:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984d840012d18184007219e38004900a427..."} 
[2026-07-25 19:18:32] local.INFO: Processing buffer {"connection_id":142291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984d840012d18184007219e38004900a427..."} 
[2026-07-25 19:18:32] local.INFO: Packet analysis {"connection_id":142291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:32] local.INFO: Extracted packet for processing {"connection_id":142291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956678912001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987048000,"timestamp_ms":1784987048000,"timestamp_seconds":1784987048,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984d840"} 
[2026-07-25 19:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956678912001,"66":12461,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956678912001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:18:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956678912001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":142291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:18:32] local.INFO: GPS data processed {"connection_id":142291,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:18:32] local.INFO: Acknowledgment sent {"connection_id":142291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:33] local.INFO: TCP Data received {"connection_id":141263,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9987ce10012da12b0005c409d80035008626..."} 
[2026-07-25 19:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9987ce10012da12b0005c409d80035008626..."} 
[2026-07-25 19:18:33] local.INFO: Processing buffer {"connection_id":141263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9987ce10012da12b0005c409d80035008626..."} 
[2026-07-25 19:18:33] local.INFO: Packet analysis {"connection_id":141263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9987"} 
[2026-07-25 19:18:33] local.INFO: Extracted packet for processing {"connection_id":141263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9987"} 
[2026-07-25 19:18:33] local.INFO: GPS Element Parsed {"raw_longitude":765537024,"raw_latitude":96733656,"longitude_deg":76.5537024,"latitude_deg":9.6733656,"altitude":53,"angle":134,"satellites":38,"speed":0,"hex_longitude":"2da12b00","hex_latitude":"05c409d8","is_valid_coordinates":true} 
[2026-07-25 19:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956675328001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784987242000,"timestamp_ms":1784987242000,"timestamp_seconds":1784987242,"priority":1,"record_length":96,"hex_timestamp":"0000019f9987ce10"} 
[2026-07-25 19:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-25 19:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956675328001,"66":25625,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956675328001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:18:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956675328001,"power":25625,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":141263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:18:33] local.INFO: GPS data processed {"connection_id":141263,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:18:33] local.INFO: Acknowledgment sent {"connection_id":141263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:45] local.INFO: TCP Data received {"connection_id":143667,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:18:45] local.INFO: Processing buffer {"connection_id":143667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:18:45] local.INFO: IMEI packet received {"connection_id":143667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":143667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:18:50] local.INFO: TCP Data received {"connection_id":143667,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:18:50] local.INFO: Processing buffer {"connection_id":143667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:18:50] local.INFO: IMEI packet received {"connection_id":143667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":143667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:18:51] local.INFO: TCP Data received {"connection_id":143667,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:18:51] local.INFO: Processing buffer {"connection_id":143667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9984c8a0012d7e3a8005d35718000600fb25..."} 
[2026-07-25 19:18:51] local.INFO: Packet analysis {"connection_id":143667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:51] local.INFO: Extracted packet for processing {"connection_id":143667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9984"} 
[2026-07-25 19:18:51] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956605952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784987044000,"timestamp_ms":1784987044000,"timestamp_seconds":1784987044,"priority":1,"record_length":96,"hex_timestamp":"0000019f9984c8a0"} 
[2026-07-25 19:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":143667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":143667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":143667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956605952001,"66":12156,"116":206,"85":15104,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-25 19:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956605952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:18:51] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-25 19:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956605952001,"power":12156,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 19:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":143667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:18:51] local.INFO: GPS data processed {"connection_id":143667,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:18:51] local.INFO: Acknowledgment sent {"connection_id":143667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:18:54] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:18:54] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:18:54] local.INFO: IMEI packet received {"connection_id":141307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":141307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:19:00] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:19:00] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:19:00] local.INFO: IMEI packet received {"connection_id":141307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":141307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:19:01] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9987e580012da1284005c40c800035013d26..."} 
[2026-07-25 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9987e580012da1284005c40c800035013d26..."} 
[2026-07-25 19:19:01] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9987e580012da1284005c40c800035013d26..."} 
[2026-07-25 19:19:01] local.INFO: Packet analysis {"connection_id":141307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9987"} 
[2026-07-25 19:19:01] local.INFO: Extracted packet for processing {"connection_id":141307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9987"} 
[2026-07-25 19:19:01] local.INFO: GPS Element Parsed {"raw_longitude":765536320,"raw_latitude":96734336,"longitude_deg":76.553632,"latitude_deg":9.6734336,"altitude":53,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2da12840","hex_latitude":"05c40c80","is_valid_coordinates":true} 
[2026-07-25 19:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956733952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6833367984840779776,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987248000,"timestamp_ms":1784987248000,"timestamp_seconds":1784987248,"priority":1,"record_length":96,"hex_timestamp":"0000019f9987e580"} 
[2026-07-25 19:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 19:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956733952001,"66":25538,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6833367984840779776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956733952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:19:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6833367984840779776,"description":"Unknown IO ID 45"} 
[2026-07-25 19:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956733952001,"power":25538,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6833367984840779776}} 
[2026-07-25 19:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":141307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:19:01] local.INFO: GPS data processed {"connection_id":141307,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:19:01] local.INFO: Acknowledgment sent {"connection_id":141307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:19:03] local.INFO: TCP Data received {"connection_id":142291,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99852a48012d18184007219e38004900a428..."} 
[2026-07-25 19:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99852a48012d18184007219e38004900a428..."} 
[2026-07-25 19:19:03] local.INFO: Processing buffer {"connection_id":142291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99852a48012d18184007219e38004900a428..."} 
[2026-07-25 19:19:03] local.INFO: Packet analysis {"connection_id":142291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9985"} 
[2026-07-25 19:19:03] local.INFO: Extracted packet for processing {"connection_id":142291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9985"} 
[2026-07-25 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956684288001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987069000,"timestamp_ms":1784987069000,"timestamp_seconds":1784987069,"priority":1,"record_length":96,"hex_timestamp":"0000019f99852a48"} 
[2026-07-25 19:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956684288001,"66":12428,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956684288001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956684288001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":142291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:19:03] local.INFO: GPS data processed {"connection_id":142291,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:19:03] local.INFO: Acknowledgment sent {"connection_id":142291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:19:22] local.INFO: TCP Data received {"connection_id":143667,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f998948f8012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998948f8012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:19:22] local.INFO: Processing buffer {"connection_id":143667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998948f8012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:19:22] local.INFO: Packet analysis {"connection_id":143667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:19:22] local.INFO: Extracted packet for processing {"connection_id":143667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956683264001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937030144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784987339000,"timestamp_ms":1784987339000,"timestamp_seconds":1784987339,"priority":1,"record_length":96,"hex_timestamp":"0000019f998948f8"} 
[2026-07-25 19:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 19:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":143667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":143667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":143667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956683264001,"66":4297,"81":206,"85":15104,"24":0,"16":110403092121387008,"45":9095723159937030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 19:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956683264001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 19:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937030144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956683264001,"power":4297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937030144}} 
[2026-07-25 19:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":143667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:19:22] local.INFO: GPS data processed {"connection_id":143667,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:19:22] local.INFO: Acknowledgment sent {"connection_id":143667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:19:26] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:19:26] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:19:26] local.INFO: IMEI packet received {"connection_id":141265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":141265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:19:31] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:19:31] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:19:31] local.INFO: IMEI packet received {"connection_id":141265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":141265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:19:32] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99883788012da1284005c40c800035013d25..."} 
[2026-07-25 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99883788012da1284005c40c800035013d25..."} 
[2026-07-25 19:19:32] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99883788012da1284005c40c800035013d25..."} 
[2026-07-25 19:19:32] local.INFO: Packet analysis {"connection_id":141307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9988"} 
[2026-07-25 19:19:32] local.INFO: Extracted packet for processing {"connection_id":141307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9988"} 
[2026-07-25 19:19:32] local.INFO: GPS Element Parsed {"raw_longitude":765536320,"raw_latitude":96734336,"longitude_deg":76.553632,"latitude_deg":9.6734336,"altitude":53,"angle":317,"satellites":37,"speed":0,"hex_longitude":"2da12840","hex_latitude":"05c40c80","is_valid_coordinates":true} 
[2026-07-25 19:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956735488001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834142041026560000,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987269000,"timestamp_ms":1784987269000,"timestamp_seconds":1784987269,"priority":1,"record_length":96,"hex_timestamp":"0000019f99883788"} 
[2026-07-25 19:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 19:19: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-07-25 19:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956735488001,"66":25397,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6834142041026560000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956735488001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834142041026560000,"description":"Unknown IO ID 45"} 
[2026-07-25 19:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956735488001,"power":25397,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6834142041026560000}} 
[2026-07-25 19:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":141307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:19:32] local.INFO: GPS data processed {"connection_id":141307,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:19:32] local.INFO: Acknowledgment sent {"connection_id":141307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:19:32] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99857c50012d18184007219e38004900a425..."} 
[2026-07-25 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99857c50012d18184007219e38004900a425..."} 
[2026-07-25 19:19:32] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99857c50012d18184007219e38004900a425..."} 
[2026-07-25 19:19:32] local.INFO: Packet analysis {"connection_id":141265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9985"} 
[2026-07-25 19:19:32] local.INFO: Extracted packet for processing {"connection_id":141265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9985"} 
[2026-07-25 19:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956689664001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987090000,"timestamp_ms":1784987090000,"timestamp_seconds":1784987090,"priority":1,"record_length":96,"hex_timestamp":"0000019f99857c50"} 
[2026-07-25 19:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 19:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956689664001,"66":12385,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956689664001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956689664001,"power":12385,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":141265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:19:32] local.INFO: GPS data processed {"connection_id":141265,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:19:32] local.INFO: Acknowledgment sent {"connection_id":141265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:19:45] local.INFO: TCP Data received {"connection_id":142293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:19:45] local.INFO: Processing buffer {"connection_id":142293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:19:45] local.INFO: IMEI packet received {"connection_id":142293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":142293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:19:50] local.INFO: TCP Data received {"connection_id":142293,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:19:50] local.INFO: Processing buffer {"connection_id":142293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:19:50] local.INFO: IMEI packet received {"connection_id":142293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":142293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:19:53] local.INFO: TCP Data received {"connection_id":142293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f998948f8012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998948f8012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:19:53] local.INFO: Processing buffer {"connection_id":142293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998948f8012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:19:53] local.INFO: Packet analysis {"connection_id":142293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:19:53] local.INFO: Extracted packet for processing {"connection_id":142293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956758784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937030144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784987339000,"timestamp_ms":1784987339000,"timestamp_seconds":1784987339,"priority":1,"record_length":96,"hex_timestamp":"0000019f998948f8"} 
[2026-07-25 19:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 19:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956758784001,"66":4297,"81":206,"85":15104,"24":0,"16":110403092121387008,"45":9095723159937030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 19:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956758784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 19:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937030144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956758784001,"power":4297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937030144}} 
[2026-07-25 19:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":142293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:19:54] local.INFO: GPS data processed {"connection_id":142293,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:19:54] local.INFO: Acknowledgment sent {"connection_id":142293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:00] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:00] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:00] local.INFO: IMEI packet received {"connection_id":141266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":141266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:20:03] local.INFO: TCP Data received {"connection_id":141265,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998902a8012d18184007219e38004900a42a..."} 
[2026-07-25 19:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998902a8012d18184007219e38004900a42a..."} 
[2026-07-25 19:20:03] local.INFO: Processing buffer {"connection_id":141265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998902a8012d18184007219e38004900a42a..."} 
[2026-07-25 19:20:03] local.INFO: Packet analysis {"connection_id":141265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:03] local.INFO: Extracted packet for processing {"connection_id":141265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956748800001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987321000,"timestamp_ms":1784987321000,"timestamp_seconds":1784987321,"priority":1,"record_length":96,"hex_timestamp":"0000019f998902a8"} 
[2026-07-25 19:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956748800001,"66":12374,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956748800001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956748800001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":141265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:03] local.INFO: GPS data processed {"connection_id":141265,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:03] local.INFO: Acknowledgment sent {"connection_id":141265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:05] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:05] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:05] local.INFO: IMEI packet received {"connection_id":141266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":141266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:20:06] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99888990012da1284005c40c800035013d27..."} 
[2026-07-25 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99888990012da1284005c40c800035013d27..."} 
[2026-07-25 19:20:06] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99888990012da1284005c40c800035013d27..."} 
[2026-07-25 19:20:06] local.INFO: Packet analysis {"connection_id":141266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9988"} 
[2026-07-25 19:20:06] local.INFO: Extracted packet for processing {"connection_id":141266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9988"} 
[2026-07-25 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":765536320,"raw_latitude":96734336,"longitude_deg":76.553632,"latitude_deg":9.6734336,"altitude":53,"angle":317,"satellites":39,"speed":0,"hex_longitude":"2da12840","hex_latitude":"05c40c80","is_valid_coordinates":true} 
[2026-07-25 19:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956740864001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834142041026560000,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784987290000,"timestamp_ms":1784987290000,"timestamp_seconds":1784987290,"priority":1,"record_length":96,"hex_timestamp":"0000019f99888990"} 
[2026-07-25 19:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956740864001,"66":25321,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6834142041026560000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956740864001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:06] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834142041026560000,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956740864001,"power":25321,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6834142041026560000}} 
[2026-07-25 19:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":141266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:06] local.INFO: GPS data processed {"connection_id":141266,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:06] local.INFO: Acknowledgment sent {"connection_id":141266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:10] local.INFO: TCP Data received {"connection_id":141266,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9988db98012da1284005c40c800035013d27..."} 
[2026-07-25 19:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9988db98012da1284005c40c800035013d27..."} 
[2026-07-25 19:20:10] local.INFO: Processing buffer {"connection_id":141266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9988db98012da1284005c40c800035013d27..."} 
[2026-07-25 19:20:10] local.INFO: Packet analysis {"connection_id":141266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9988"} 
[2026-07-25 19:20:10] local.INFO: Extracted packet for processing {"connection_id":141266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9988"} 
[2026-07-25 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":765536320,"raw_latitude":96734336,"longitude_deg":76.553632,"latitude_deg":9.6734336,"altitude":53,"angle":317,"satellites":39,"speed":0,"hex_longitude":"2da12840","hex_latitude":"05c40c80","is_valid_coordinates":true} 
[2026-07-25 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956746240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358068983926095872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834142041026560000,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784987311000,"timestamp_ms":1784987311000,"timestamp_seconds":1784987311,"priority":1,"record_length":96,"hex_timestamp":"0000019f9988db98"} 
[2026-07-25 19:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956746240001,"66":27137,"72":206,"83":16896,"24":0,"16":358068983926095872,"45":-6834142041026560000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956746240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358068983926095872,"km_value":358068983926095.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834142041026560000,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956746240001,"power":27137,"unknown_72":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6834142041026560000}} 
[2026-07-25 19:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":141266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:10] local.INFO: GPS data processed {"connection_id":141266,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:10] local.INFO: Acknowledgment sent {"connection_id":141266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:25] local.INFO: TCP Data received {"connection_id":142293,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:20:25] local.INFO: Processing buffer {"connection_id":142293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:20:25] local.INFO: Packet analysis {"connection_id":142293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:25] local.INFO: Extracted packet for processing {"connection_id":142293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956758784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937030144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1784987345000,"timestamp_ms":1784987345000,"timestamp_seconds":1784987345,"priority":1,"record_length":96,"hex_timestamp":"0000019f99896068"} 
[2026-07-25 19:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956758784001,"66":2394,"81":206,"85":15104,"24":0,"16":110403092121387008,"45":9095723159937030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 19:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956758784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 19:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937030144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956758784001,"power":2394,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937030144}} 
[2026-07-25 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":142293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:25] local.INFO: GPS data processed {"connection_id":142293,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:25] local.INFO: Acknowledgment sent {"connection_id":142293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:31] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:20:31] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:20:31] local.INFO: IMEI packet received {"connection_id":143668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":143668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:20:36] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:20:36] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:20:36] local.INFO: IMEI packet received {"connection_id":143668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":143668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:20:37] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998954b0012d18184007219e38004900a426..."} 
[2026-07-25 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998954b0012d18184007219e38004900a426..."} 
[2026-07-25 19:20:37] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998954b0012d18184007219e38004900a426..."} 
[2026-07-25 19:20:37] local.INFO: Packet analysis {"connection_id":143668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:37] local.INFO: Extracted packet for processing {"connection_id":143668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":38,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956754176001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784987342000,"timestamp_ms":1784987342000,"timestamp_seconds":1784987342,"priority":1,"record_length":96,"hex_timestamp":"0000019f998954b0"} 
[2026-07-25 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956754176001,"66":12374,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956754176001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956754176001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":143668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:37] local.INFO: GPS data processed {"connection_id":143668,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:37] local.INFO: Acknowledgment sent {"connection_id":143668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:41] local.INFO: TCP Data received {"connection_id":143668,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9989a6b8012d18184007219e38004900a42a..."} 
[2026-07-25 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9989a6b8012d18184007219e38004900a42a..."} 
[2026-07-25 19:20:41] local.INFO: Processing buffer {"connection_id":143668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9989a6b8012d18184007219e38004900a42a..."} 
[2026-07-25 19:20:41] local.INFO: Packet analysis {"connection_id":143668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:41] local.INFO: Extracted packet for processing {"connection_id":143668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956759552001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784987363000,"timestamp_ms":1784987363000,"timestamp_seconds":1784987363,"priority":1,"record_length":96,"hex_timestamp":"0000019f9989a6b8"} 
[2026-07-25 19:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956759552001,"66":12330,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956759552001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956759552001,"power":12330,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":143668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:41] local.INFO: GPS data processed {"connection_id":143668,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:41] local.INFO: Acknowledgment sent {"connection_id":143668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:45] local.INFO: TCP Data received {"connection_id":141308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:20:45] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:20:45] local.INFO: IMEI packet received {"connection_id":141308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":141308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:20:50] local.INFO: TCP Data received {"connection_id":141308,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:20:50] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:20:50] local.INFO: IMEI packet received {"connection_id":141308,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":141308,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:20:51] local.INFO: TCP Data received {"connection_id":141308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:20:51] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:20:51] local.INFO: Packet analysis {"connection_id":141308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:51] local.INFO: Extracted packet for processing {"connection_id":141308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956758784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937030144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1784987345000,"timestamp_ms":1784987345000,"timestamp_seconds":1784987345,"priority":1,"record_length":96,"hex_timestamp":"0000019f99896068"} 
[2026-07-25 19:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 19:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":141308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":141308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":141308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956758784001,"66":2394,"81":206,"85":15104,"24":0,"16":110403092121387008,"45":9095723159937030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 19:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956758784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 19:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937030144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956758784001,"power":2394,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937030144}} 
[2026-07-25 19:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":141308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:20:51] local.INFO: GPS data processed {"connection_id":141308,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:20:51] local.INFO: Acknowledgment sent {"connection_id":141308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:20:55] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:55] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:20:55] local.INFO: IMEI packet received {"connection_id":141309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":141309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:21:00] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:21:00] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:21:00] local.INFO: IMEI packet received {"connection_id":141309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":141309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:21:01] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998a3740012da1274005c40a90002f01642b..."} 
[2026-07-25 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998a3740012da1274005c40a90002f01642b..."} 
[2026-07-25 19:21:01] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998a3740012da1274005c40a90002f01642b..."} 
[2026-07-25 19:21:01] local.INFO: Packet analysis {"connection_id":141309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:21:01] local.INFO: Extracted packet for processing {"connection_id":141309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:21:01] local.INFO: GPS Element Parsed {"raw_longitude":765536064,"raw_latitude":96733840,"longitude_deg":76.5536064,"latitude_deg":9.673384,"altitude":47,"angle":356,"satellites":43,"speed":6,"hex_longitude":"2da12740","hex_latitude":"05c40a90","is_valid_coordinates":true} 
[2026-07-25 19:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956774144001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358069095595245568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834423516003442688,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987400000,"timestamp_ms":1784987400000,"timestamp_seconds":1784987400,"priority":1,"record_length":96,"hex_timestamp":"0000019f998a3740"} 
[2026-07-25 19:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:21: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-07-25 19:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956774144001,"66":27484,"72":206,"83":16896,"24":6,"16":358069095595245568,"45":-6834423516003442688},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956774144001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:21:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358069095595245568,"km_value":358069095595245.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834423516003442688,"description":"Unknown IO ID 45"} 
[2026-07-25 19:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956774144001,"power":27484,"unknown_72":206,"unknown_83":16896,"ignition":6,"odometer":null,"unknown_45":-6834423516003442688}} 
[2026-07-25 19:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":141309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:21:01] local.INFO: GPS data processed {"connection_id":141309,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:21:01] local.INFO: Acknowledgment sent {"connection_id":141309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:21:22] local.INFO: TCP Data received {"connection_id":141308,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:21:22] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:21:22] local.INFO: Packet analysis {"connection_id":141308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:21:22] local.INFO: Extracted packet for processing {"connection_id":141308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:21:22] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956758784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937030144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784987345000,"timestamp_ms":1784987345000,"timestamp_seconds":1784987345,"priority":1,"record_length":96,"hex_timestamp":"0000019f99896068"} 
[2026-07-25 19:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 19: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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 19:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141308,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956758784001,"66":2394,"81":206,"85":15104,"24":0,"16":110403092121387008,"45":9095723159937030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 19:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956758784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:21:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 19:21:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937030144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956758784001,"power":2394,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937030144}} 
[2026-07-25 19:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":141308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:21:22] local.INFO: GPS data processed {"connection_id":141308,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:21:22] local.INFO: Acknowledgment sent {"connection_id":141308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:21:25] local.INFO: TCP Data received {"connection_id":142294,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:25] local.INFO: Processing buffer {"connection_id":142294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:25] local.INFO: IMEI packet received {"connection_id":142294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":142294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:21:26] local.INFO: TCP Data received {"connection_id":142294,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:26] local.INFO: Processing buffer {"connection_id":142294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:26] local.INFO: IMEI packet received {"connection_id":142294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":142294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:21:31] local.INFO: TCP Data received {"connection_id":142294,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:31] local.INFO: Processing buffer {"connection_id":142294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:21:31] local.INFO: IMEI packet received {"connection_id":142294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":142294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:21:32] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998a3b28012da1274005c40b40002f000d2b..."} 
[2026-07-25 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998a3b28012da1274005c40b40002f000d2b..."} 
[2026-07-25 19:21:32] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998a3b28012da1274005c40b40002f000d2b..."} 
[2026-07-25 19:21:32] local.INFO: Packet analysis {"connection_id":141309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:21:32] local.INFO: Extracted packet for processing {"connection_id":141309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765536064,"raw_latitude":96734016,"longitude_deg":76.5536064,"latitude_deg":9.6734016,"altitude":47,"angle":13,"satellites":43,"speed":7,"hex_longitude":"2da12740","hex_latitude":"05c40b40","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956774400001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358069104185180160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834423516003397632,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987401000,"timestamp_ms":1784987401000,"timestamp_seconds":1784987401,"priority":1,"record_length":96,"hex_timestamp":"0000019f998a3b28"} 
[2026-07-25 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-07-25 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 19:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 19:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956774400001,"66":27484,"72":206,"83":16896,"24":7,"16":358069104185180160,"45":-6834423516003397632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956774400001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358069104185180160,"km_value":358069104185180.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834423516003397632,"description":"Unknown IO ID 45"} 
[2026-07-25 19:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956774400001,"power":27484,"unknown_72":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6834423516003397632}} 
[2026-07-25 19:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":141309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:21:32] local.INFO: GPS data processed {"connection_id":141309,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:21:32] local.INFO: Acknowledgment sent {"connection_id":141309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:21:32] local.INFO: TCP Data received {"connection_id":142294,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9989f8c0012d18184007219e38004900a422..."} 
[2026-07-25 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9989f8c0012d18184007219e38004900a422..."} 
[2026-07-25 19:21:32] local.INFO: Processing buffer {"connection_id":142294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9989f8c0012d18184007219e38004900a422..."} 
[2026-07-25 19:21:32] local.INFO: Packet analysis {"connection_id":142294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:21:32] local.INFO: Extracted packet for processing {"connection_id":142294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":34,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956764928001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987384000,"timestamp_ms":1784987384000,"timestamp_seconds":1784987384,"priority":1,"record_length":96,"hex_timestamp":"0000019f9989f8c0"} 
[2026-07-25 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-07-25 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-25 19:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 19:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956764928001,"66":12319,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956764928001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956764928001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":142294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:21:32] local.INFO: GPS data processed {"connection_id":142294,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:21:32] local.INFO: Acknowledgment sent {"connection_id":142294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:21:45] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:21:45] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:21:45] local.INFO: IMEI packet received {"connection_id":141268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 19:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":141268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:21:50] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:21:50] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 19:21:50] local.INFO: IMEI packet received {"connection_id":141268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 19:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":141268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:21:54] local.INFO: TCP Data received {"connection_id":141268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:21:54] local.INFO: Processing buffer {"connection_id":141268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99896068012d7e3a8005d35718000600fb28..."} 
[2026-07-25 19:21:54] local.INFO: Packet analysis {"connection_id":141268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:21:54] local.INFO: Extracted packet for processing {"connection_id":141268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9989"} 
[2026-07-25 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736472,"longitude_deg":76.3247232,"latitude_deg":9.7736472,"altitude":6,"angle":251,"satellites":40,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d35718","is_valid_coordinates":true} 
[2026-07-25 19:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956758784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937030144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784987345000,"timestamp_ms":1784987345000,"timestamp_seconds":1784987345,"priority":1,"record_length":96,"hex_timestamp":"0000019f99896068"} 
[2026-07-25 19:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":16,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 19:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 19:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 19:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 19:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 19:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956758784001,"66":2394,"81":206,"85":15104,"24":0,"16":110403092121387008,"45":9095723159937030144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-25 19:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 19:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 19:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956758784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-25 19:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 19:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937030144,"description":"Unknown IO ID 45"} 
[2026-07-25 19:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956758784001,"power":2394,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095723159937030144}} 
[2026-07-25 19:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":141268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:21:54] local.INFO: GPS data processed {"connection_id":141268,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:21:54] local.INFO: Acknowledgment sent {"connection_id":141268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:21:54] local.INFO: TCP Data received {"connection_id":143669,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:21:54] local.INFO: Processing buffer {"connection_id":143669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:21:54] local.INFO: IMEI packet received {"connection_id":143669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":143669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:22:00] local.INFO: TCP Data received {"connection_id":143669,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:00] local.INFO: Processing buffer {"connection_id":143669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:00] local.INFO: IMEI packet received {"connection_id":143669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":143669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:22:01] local.INFO: TCP Data received {"connection_id":143669,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998a3f10012da127c005c40be8002f00292b..."} 
[2026-07-25 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998a3f10012da127c005c40be8002f00292b..."} 
[2026-07-25 19:22:01] local.INFO: Processing buffer {"connection_id":143669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998a3f10012da127c005c40be8002f00292b..."} 
[2026-07-25 19:22:01] local.INFO: Packet analysis {"connection_id":143669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:01] local.INFO: Extracted packet for processing {"connection_id":143669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:01] local.INFO: GPS Element Parsed {"raw_longitude":765536192,"raw_latitude":96734184,"longitude_deg":76.5536192,"latitude_deg":9.6734184,"altitude":47,"angle":41,"satellites":43,"speed":7,"hex_longitude":"2da127c0","hex_latitude":"05c40be8","is_valid_coordinates":true} 
[2026-07-25 19:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956774656001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358069117070082048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834423516003352576,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987402000,"timestamp_ms":1784987402000,"timestamp_seconds":1784987402,"priority":1,"record_length":96,"hex_timestamp":"0000019f998a3f10"} 
[2026-07-25 19:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 19:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956774656001,"66":27376,"72":206,"83":16896,"24":7,"16":358069117070082048,"45":-6834423516003352576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956774656001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:22:01] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358069117070082048,"km_value":358069117070082.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834423516003352576,"description":"Unknown IO ID 45"} 
[2026-07-25 19:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956774656001,"power":27376,"unknown_72":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6834423516003352576}} 
[2026-07-25 19:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":143669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:22:01] local.INFO: GPS data processed {"connection_id":143669,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:22:01] local.INFO: Acknowledgment sent {"connection_id":143669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:22:03] local.INFO: TCP Data received {"connection_id":142294,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998a4ac8012d18184007219e38004900a42a..."} 
[2026-07-25 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998a4ac8012d18184007219e38004900a42a..."} 
[2026-07-25 19:22:03] local.INFO: Processing buffer {"connection_id":142294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998a4ac8012d18184007219e38004900a42a..."} 
[2026-07-25 19:22:03] local.INFO: Packet analysis {"connection_id":142294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:03] local.INFO: Extracted packet for processing {"connection_id":142294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956770304001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987405000,"timestamp_ms":1784987405000,"timestamp_seconds":1784987405,"priority":1,"record_length":96,"hex_timestamp":"0000019f998a4ac8"} 
[2026-07-25 19:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 19:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956770304001,"66":12341,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956770304001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:22:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956770304001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":142294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:22:03] local.INFO: GPS data processed {"connection_id":142294,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:22:03] local.INFO: Acknowledgment sent {"connection_id":142294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:22:26] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:26] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:26] local.INFO: IMEI packet received {"connection_id":141269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":141269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:22:29] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:29] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:29] local.INFO: IMEI packet received {"connection_id":141269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":141269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:22:31] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:31] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:22:31] local.INFO: IMEI packet received {"connection_id":141269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":141269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:22:32] local.INFO: TCP Data received {"connection_id":143669,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998a42f8012da1284005c40c38002e003d2c..."} 
[2026-07-25 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998a42f8012da1284005c40c38002e003d2c..."} 
[2026-07-25 19:22:32] local.INFO: Processing buffer {"connection_id":143669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998a42f8012da1284005c40c38002e003d2c..."} 
[2026-07-25 19:22:32] local.INFO: Packet analysis {"connection_id":143669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:32] local.INFO: Extracted packet for processing {"connection_id":143669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":765536320,"raw_latitude":96734264,"longitude_deg":76.553632,"latitude_deg":9.6734264,"altitude":46,"angle":61,"satellites":44,"speed":5,"hex_longitude":"2da12840","hex_latitude":"05c40c38","is_valid_coordinates":true} 
[2026-07-25 19:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956774912001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358069125660016640,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6834282778514954240,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987403000,"timestamp_ms":1784987403000,"timestamp_seconds":1784987403,"priority":1,"record_length":96,"hex_timestamp":"0000019f998a42f8"} 
[2026-07-25 19:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 19:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956774912001,"66":27376,"72":206,"83":16896,"24":5,"16":358069125660016640,"45":-6834282778514954240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,83,24,16,45]} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956774912001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358069125660016640,"km_value":358069125660016.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6834282778514954240,"description":"Unknown IO ID 45"} 
[2026-07-25 19:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956774912001,"power":27376,"unknown_72":206,"unknown_83":16896,"ignition":5,"odometer":null,"unknown_45":-6834282778514954240}} 
[2026-07-25 19:22:32] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998a9cd0012d18184007219e38004900a42b..."} 
[2026-07-25 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998a9cd0012d18184007219e38004900a42b..."} 
[2026-07-25 19:22:32] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998a9cd0012d18184007219e38004900a42b..."} 
[2026-07-25 19:22:32] local.INFO: Packet analysis {"connection_id":141269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:32] local.INFO: Extracted packet for processing {"connection_id":141269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":43,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956775680001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987426000,"timestamp_ms":1784987426000,"timestamp_seconds":1784987426,"priority":1,"record_length":96,"hex_timestamp":"0000019f998a9cd0"} 
[2026-07-25 19:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956775680001,"66":12374,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":143669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:22:32] local.INFO: GPS data processed {"connection_id":143669,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:22:32] local.INFO: Acknowledgment sent {"connection_id":143669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956775680001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956775680001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":141269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:22:32] local.INFO: GPS data processed {"connection_id":141269,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:22:32] local.INFO: Acknowledgment sent {"connection_id":141269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:22:36] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998aeed8012d18184007219e38004900a42a..."} 
[2026-07-25 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998aeed8012d18184007219e38004900a42a..."} 
[2026-07-25 19:22:36] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998aeed8012d18184007219e38004900a42a..."} 
[2026-07-25 19:22:36] local.INFO: Packet analysis {"connection_id":141269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:36] local.INFO: Extracted packet for processing {"connection_id":141269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998a"} 
[2026-07-25 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956781056001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784987447000,"timestamp_ms":1784987447000,"timestamp_seconds":1784987447,"priority":1,"record_length":96,"hex_timestamp":"0000019f998aeed8"} 
[2026-07-25 19:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956781056001,"66":12341,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956781056001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956781056001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":141269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:22:36] local.INFO: GPS data processed {"connection_id":141269,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:22:36] local.INFO: Acknowledgment sent {"connection_id":141269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:22:55] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:55] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:55] local.INFO: IMEI packet received {"connection_id":143670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":143670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:22:56] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:56] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:22:56] local.INFO: IMEI packet received {"connection_id":143670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":143670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:23:00] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:00] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:00] local.INFO: IMEI packet received {"connection_id":143670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":143670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:23:01] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998c36f8012da1e78005c412b0001500a62c..."} 
[2026-07-25 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998c36f8012da1e78005c412b0001500a62c..."} 
[2026-07-25 19:23:01] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998c36f8012da1e78005c412b0001500a62c..."} 
[2026-07-25 19:23:01] local.INFO: Packet analysis {"connection_id":143670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:23:01] local.INFO: Extracted packet for processing {"connection_id":143670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:23:01] local.INFO: GPS Element Parsed {"raw_longitude":765585280,"raw_latitude":96735920,"longitude_deg":76.558528,"latitude_deg":9.673592,"altitude":21,"angle":166,"satellites":44,"speed":7,"hex_longitude":"2da1e780","hex_latitude":"05c412b0","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956807424001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358071483597062144,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780521057962706944,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987531000,"timestamp_ms":1784987531000,"timestamp_seconds":1784987531,"priority":1,"record_length":96,"hex_timestamp":"0000019f998c36f8"} 
[2026-07-25 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-07-25 19:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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-07-25 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-07-25 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-07-25 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-07-25 19:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956807424001,"66":27365,"190":206,"83":16896,"24":7,"16":358071483597062144,"45":-6780521057962706944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-25 19:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956807424001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:23:01] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-25 19:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358071483597062144,"km_value":358071483597062.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780521057962706944,"description":"Unknown IO ID 45"} 
[2026-07-25 19:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956807424001,"power":27365,"unknown_190":206,"unknown_83":16896,"ignition":7,"odometer":null,"unknown_45":-6780521057962706944}} 
[2026-07-25 19:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":143670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:23:01] local.INFO: GPS data processed {"connection_id":143670,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:23:01] local.INFO: Acknowledgment sent {"connection_id":143670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:23:08] local.INFO: TCP Data received {"connection_id":141269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998b40e0012d18184007219e38004900a427..."} 
[2026-07-25 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998b40e0012d18184007219e38004900a427..."} 
[2026-07-25 19:23:08] local.INFO: Processing buffer {"connection_id":141269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998b40e0012d18184007219e38004900a427..."} 
[2026-07-25 19:23:08] local.INFO: Packet analysis {"connection_id":141269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998b"} 
[2026-07-25 19:23:08] local.INFO: Extracted packet for processing {"connection_id":141269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998b"} 
[2026-07-25 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956786432001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784987468000,"timestamp_ms":1784987468000,"timestamp_seconds":1784987468,"priority":1,"record_length":96,"hex_timestamp":"0000019f998b40e0"} 
[2026-07-25 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956786432001,"66":12385,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956786432001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956786432001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":141269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:23:08] local.INFO: GPS data processed {"connection_id":141269,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:23:08] local.INFO: Acknowledgment sent {"connection_id":141269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:23:26] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:23:26] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:23:26] local.INFO: IMEI packet received {"connection_id":143671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":143671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:23:31] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:23:31] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:23:31] local.INFO: IMEI packet received {"connection_id":143671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":143671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:23:32] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998b92e8012d18184007219e38004900a428..."} 
[2026-07-25 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998b92e8012d18184007219e38004900a428..."} 
[2026-07-25 19:23:32] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998b92e8012d18184007219e38004900a428..."} 
[2026-07-25 19:23:32] local.INFO: Packet analysis {"connection_id":143671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998b"} 
[2026-07-25 19:23:32] local.INFO: Extracted packet for processing {"connection_id":143671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998b"} 
[2026-07-25 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 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-07-25 19:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956791808001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987489000,"timestamp_ms":1784987489000,"timestamp_seconds":1784987489,"priority":1,"record_length":96,"hex_timestamp":"0000019f998b92e8"} 
[2026-07-25 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-07-25 19:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 19:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 19:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956791808001,"66":12341,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956791808001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:23:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956791808001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":143671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:23:32] local.INFO: GPS data processed {"connection_id":143671,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:23:32] local.INFO: Acknowledgment sent {"connection_id":143671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:23:33] local.INFO: TCP Data received {"connection_id":143670,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998c3ec8012da1e80005c41138001500992b..."} 
[2026-07-25 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998c3ec8012da1e80005c41138001500992b..."} 
[2026-07-25 19:23:33] local.INFO: Processing buffer {"connection_id":143670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998c3ec8012da1e80005c41138001500992b..."} 
[2026-07-25 19:23:33] local.INFO: Packet analysis {"connection_id":143670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:23:33] local.INFO: Extracted packet for processing {"connection_id":143670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":765585408,"raw_latitude":96735544,"longitude_deg":76.5585408,"latitude_deg":9.6735544,"altitude":21,"angle":153,"satellites":43,"speed":8,"hex_longitude":"2da1e800","hex_latitude":"05c41138","is_valid_coordinates":true} 
[2026-07-25 19:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956807936001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358071505071898624,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780309951730241536,"note":"Value kept but may cause issues"} 
[2026-07-25 19:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784987533000,"timestamp_ms":1784987533000,"timestamp_seconds":1784987533,"priority":1,"record_length":96,"hex_timestamp":"0000019f998c3ec8"} 
[2026-07-25 19:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956807936001,"66":27484,"190":206,"83":16896,"24":8,"16":358071505071898624,"45":-6780309951730241536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,45]} 
[2026-07-25 19:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956807936001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:23:33] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-25 19:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358071505071898624,"km_value":358071505071898.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780309951730241536,"description":"Unknown IO ID 45"} 
[2026-07-25 19:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956807936001,"power":27484,"unknown_190":206,"unknown_83":16896,"ignition":8,"odometer":null,"unknown_45":-6780309951730241536}} 
[2026-07-25 19:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":143670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:23:33] local.INFO: GPS data processed {"connection_id":143670,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:23:33] local.INFO: Acknowledgment sent {"connection_id":143670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:23:54] local.INFO: TCP Data received {"connection_id":141311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:54] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:54] local.INFO: IMEI packet received {"connection_id":141311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":141311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:23:54] local.INFO: TCP Data received {"connection_id":141310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:23:54] local.INFO: Processing buffer {"connection_id":141310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:23:54] local.INFO: IMEI packet received {"connection_id":141310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":141310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:23:55] local.INFO: TCP Data received {"connection_id":141311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:55] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:55] local.INFO: IMEI packet received {"connection_id":141311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":141311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:23:56] local.INFO: TCP Data received {"connection_id":141311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:56] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:23:56] local.INFO: IMEI packet received {"connection_id":141311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":141311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:24:00] local.INFO: TCP Data received {"connection_id":141311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:00] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:00] local.INFO: IMEI packet received {"connection_id":141311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":141311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:24:01] local.INFO: TCP Data received {"connection_id":141311,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998c5250012da1e9c005c40bd0001400ab2c..."} 
[2026-07-25 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998c5250012da1e9c005c40bd0001400ab2c..."} 
[2026-07-25 19:24:01] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998c5250012da1e9c005c40bd0001400ab2c..."} 
[2026-07-25 19:24:01] local.INFO: Packet analysis {"connection_id":141311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:24:01] local.INFO: Extracted packet for processing {"connection_id":141311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":765585856,"raw_latitude":96734160,"longitude_deg":76.5585856,"latitude_deg":9.673416,"altitude":20,"angle":171,"satellites":44,"speed":13,"hex_longitude":"2da1e9c0","hex_latitude":"05c40bd0","is_valid_coordinates":true} 
[2026-07-25 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956808448001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358071573791375360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6780169214241982464,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987538000,"timestamp_ms":1784987538000,"timestamp_seconds":1784987538,"priority":1,"record_length":96,"hex_timestamp":"0000019f998c5250"} 
[2026-07-25 19:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 19:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956808448001,"66":27397,"71":206,"83":16896,"24":13,"16":358071573791375360,"45":-6780169214241982464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-07-25 19:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956808448001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:24:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 19:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358071573791375360,"km_value":358071573791375.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6780169214241982464,"description":"Unknown IO ID 45"} 
[2026-07-25 19:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956808448001,"power":27397,"unknown_71":206,"unknown_83":16896,"ignition":13,"odometer":null,"unknown_45":-6780169214241982464}} 
[2026-07-25 19:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":141311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:24:01] local.INFO: GPS data processed {"connection_id":141311,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:24:01] local.INFO: Acknowledgment sent {"connection_id":141311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:24:03] local.INFO: TCP Data received {"connection_id":143671,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998be4f0012d18184007219e38004900a42a..."} 
[2026-07-25 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998be4f0012d18184007219e38004900a42a..."} 
[2026-07-25 19:24:03] local.INFO: Processing buffer {"connection_id":143671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998be4f0012d18184007219e38004900a42a..."} 
[2026-07-25 19:24:03] local.INFO: Packet analysis {"connection_id":143671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998b"} 
[2026-07-25 19:24:03] local.INFO: Extracted packet for processing {"connection_id":143671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998b"} 
[2026-07-25 19:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956797184001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987510000,"timestamp_ms":1784987510000,"timestamp_seconds":1784987510,"priority":1,"record_length":96,"hex_timestamp":"0000019f998be4f0"} 
[2026-07-25 19:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956797184001,"66":12319,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956797184001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:24:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956797184001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":143671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:24:03] local.INFO: GPS data processed {"connection_id":143671,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:24:03] local.INFO: Acknowledgment sent {"connection_id":143671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:24:26] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:24:26] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:24:26] local.INFO: IMEI packet received {"connection_id":141270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":141270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:24:31] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:24:31] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:24:31] local.INFO: IMEI packet received {"connection_id":141270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":141270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:24:32] local.INFO: TCP Data received {"connection_id":141311,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998c8900012da1ecc005c3f060001600b62a..."} 
[2026-07-25 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998c8900012da1ecc005c3f060001600b62a..."} 
[2026-07-25 19:24:32] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998c8900012da1ecc005c3f060001600b62a..."} 
[2026-07-25 19:24:32] local.INFO: Packet analysis {"connection_id":141311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:24:32] local.INFO: Extracted packet for processing {"connection_id":141311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:24:32] local.INFO: GPS Element Parsed {"raw_longitude":765586624,"raw_latitude":96727136,"longitude_deg":76.5586624,"latitude_deg":9.6727136,"altitude":22,"angle":182,"satellites":42,"speed":24,"hex_longitude":"2da1ecc0","hex_latitude":"05c3f060","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956809728001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358071917388759040,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6779676633033093120,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987552000,"timestamp_ms":1784987552000,"timestamp_seconds":1784987552,"priority":1,"record_length":96,"hex_timestamp":"0000019f998c8900"} 
[2026-07-25 19:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956809728001,"66":27517,"71":206,"83":16896,"24":24,"16":358071917388759040,"45":-6779676633033093120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,83,24,16,45]} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956809728001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358071917388759040,"km_value":358071917388759.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6779676633033093120,"description":"Unknown IO ID 45"} 
[2026-07-25 19:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956809728001,"power":27517,"unknown_71":206,"unknown_83":16896,"ignition":24,"odometer":null,"unknown_45":-6779676633033093120}} 
[2026-07-25 19:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:24:32] local.INFO: GPS data processed {"connection_id":141311,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:24:32] local.INFO: Acknowledgment sent {"connection_id":141311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:24:32] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998c36f8012d18184007219e38004900a428..."} 
[2026-07-25 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998c36f8012d18184007219e38004900a428..."} 
[2026-07-25 19:24:32] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998c36f8012d18184007219e38004900a428..."} 
[2026-07-25 19:24:32] local.INFO: Packet analysis {"connection_id":141270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:24:32] local.INFO: Extracted packet for processing {"connection_id":141270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956802560001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987531000,"timestamp_ms":1784987531000,"timestamp_seconds":1784987531,"priority":1,"record_length":96,"hex_timestamp":"0000019f998c36f8"} 
[2026-07-25 19:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 19:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956802560001,"66":12374,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956802560001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956802560001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:24:32] local.INFO: GPS data processed {"connection_id":141270,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:24:32] local.INFO: Acknowledgment sent {"connection_id":141270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:24:55] local.INFO: TCP Data received {"connection_id":143672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:55] local.INFO: Processing buffer {"connection_id":143672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:55] local.INFO: IMEI packet received {"connection_id":143672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":143672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:24:56] local.INFO: TCP Data received {"connection_id":143672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:56] local.INFO: Processing buffer {"connection_id":143672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:24:56] local.INFO: IMEI packet received {"connection_id":143672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":143672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:25:00] local.INFO: TCP Data received {"connection_id":143672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:00] local.INFO: Processing buffer {"connection_id":143672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:00] local.INFO: IMEI packet received {"connection_id":143672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":143672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:25:01] local.INFO: TCP Data received {"connection_id":143672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998ca458012da1eac005c3de40001600c12a..."} 
[2026-07-25 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998ca458012da1eac005c3de40001600c12a..."} 
[2026-07-25 19:25:01] local.INFO: Processing buffer {"connection_id":143672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998ca458012da1eac005c3de40001600c12a..."} 
[2026-07-25 19:25:01] local.INFO: Packet analysis {"connection_id":143672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:01] local.INFO: Extracted packet for processing {"connection_id":143672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":765586112,"raw_latitude":96722496,"longitude_deg":76.5586112,"latitude_deg":9.6722496,"altitude":22,"angle":193,"satellites":42,"speed":28,"hex_longitude":"2da1eac0","hex_latitude":"05c3de40","is_valid_coordinates":true} 
[2026-07-25 19:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956813312001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358072145022025728,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6778832208104759296,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987559000,"timestamp_ms":1784987559000,"timestamp_seconds":1784987559,"priority":1,"record_length":96,"hex_timestamp":"0000019f998ca458"} 
[2026-07-25 19:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-25 19:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956813312001,"66":27365,"168":206,"83":16896,"24":28,"16":358072145022025728,"45":-6778832208104759296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 19:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956813312001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:25:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 19:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358072145022025728,"km_value":358072145022025.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6778832208104759296,"description":"Unknown IO ID 45"} 
[2026-07-25 19:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956813312001,"power":27365,"unknown_168":206,"unknown_83":16896,"ignition":28,"odometer":null,"unknown_45":-6778832208104759296}} 
[2026-07-25 19:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":143672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:25:01] local.INFO: GPS data processed {"connection_id":143672,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:25:01] local.INFO: Acknowledgment sent {"connection_id":143672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:25:03] local.INFO: TCP Data received {"connection_id":141270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998c8900012d18184007219e38004900a429..."} 
[2026-07-25 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998c8900012d18184007219e38004900a429..."} 
[2026-07-25 19:25:03] local.INFO: Processing buffer {"connection_id":141270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998c8900012d18184007219e38004900a429..."} 
[2026-07-25 19:25:03] local.INFO: Packet analysis {"connection_id":141270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:03] local.INFO: Extracted packet for processing {"connection_id":141270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956807936001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987552000,"timestamp_ms":1784987552000,"timestamp_seconds":1784987552,"priority":1,"record_length":96,"hex_timestamp":"0000019f998c8900"} 
[2026-07-25 19:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956807936001,"66":12287,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956807936001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:25:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956807936001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":141270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:25:03] local.INFO: GPS data processed {"connection_id":141270,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:25:03] local.INFO: Acknowledgment sent {"connection_id":141270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:25:26] local.INFO: TCP Data received {"connection_id":142295,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:25:26] local.INFO: Processing buffer {"connection_id":142295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:25:26] local.INFO: IMEI packet received {"connection_id":142295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":142295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:25:31] local.INFO: TCP Data received {"connection_id":142295,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:25:31] local.INFO: Processing buffer {"connection_id":142295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:25:31] local.INFO: IMEI packet received {"connection_id":142295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":142295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:25:32] local.INFO: TCP Data received {"connection_id":142295,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998cdb08012d18184007219e38004900a429..."} 
[2026-07-25 19:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998cdb08012d18184007219e38004900a429..."} 
[2026-07-25 19:25:32] local.INFO: Processing buffer {"connection_id":142295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998cdb08012d18184007219e38004900a429..."} 
[2026-07-25 19:25:32] local.INFO: Packet analysis {"connection_id":142295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:32] local.INFO: Extracted packet for processing {"connection_id":142295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956813312001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987573000,"timestamp_ms":1784987573000,"timestamp_seconds":1784987573,"priority":1,"record_length":96,"hex_timestamp":"0000019f998cdb08"} 
[2026-07-25 19:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 19:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956813312001,"66":12363,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956813312001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:25:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956813312001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":142295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:25:32] local.INFO: GPS data processed {"connection_id":142295,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:25:32] local.INFO: Acknowledgment sent {"connection_id":142295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:25:33] local.INFO: TCP Data received {"connection_id":143672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998cbbc8012da1e40005c3cd18001700cd24..."} 
[2026-07-25 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998cbbc8012da1e40005c3cd18001700cd24..."} 
[2026-07-25 19:25:33] local.INFO: Processing buffer {"connection_id":143672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998cbbc8012da1e40005c3cd18001700cd24..."} 
[2026-07-25 19:25:33] local.INFO: Packet analysis {"connection_id":143672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:33] local.INFO: Extracted packet for processing {"connection_id":143672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765584384,"raw_latitude":96718104,"longitude_deg":76.5584384,"latitude_deg":9.6718104,"altitude":23,"angle":205,"satellites":36,"speed":30,"hex_longitude":"2da1e400","hex_latitude":"05c3cd18","is_valid_coordinates":true} 
[2026-07-25 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358072372655292416,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6779395158059368448,"note":"Value kept but may cause issues"} 
[2026-07-25 19:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784987565000,"timestamp_ms":1784987565000,"timestamp_seconds":1784987565,"priority":1,"record_length":96,"hex_timestamp":"0000019f998cbbc8"} 
[2026-07-25 19:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956815104001,"66":27397,"168":206,"83":16896,"24":30,"16":358072372655292416,"45":-6779395158059368448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 19:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:25:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 19:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358072372655292416,"km_value":358072372655292.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6779395158059368448,"description":"Unknown IO ID 45"} 
[2026-07-25 19:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956815104001,"power":27397,"unknown_168":206,"unknown_83":16896,"ignition":30,"odometer":null,"unknown_45":-6779395158059368448}} 
[2026-07-25 19:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":143672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:25:33] local.INFO: GPS data processed {"connection_id":143672,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:25:33] local.INFO: Acknowledgment sent {"connection_id":143672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:25:55] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:55] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:55] local.INFO: IMEI packet received {"connection_id":141312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":141312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:25:59] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:59] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:25:59] local.INFO: IMEI packet received {"connection_id":141312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":141312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:26:00] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998ceaa8012da1d58005c3ace0001800cb2a..."} 
[2026-07-25 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998ceaa8012da1d58005c3ace0001800cb2a..."} 
[2026-07-25 19:26:00] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998ceaa8012da1d58005c3ace0001800cb2a..."} 
[2026-07-25 19:26:00] local.INFO: Packet analysis {"connection_id":141312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:26:00] local.INFO: Extracted packet for processing {"connection_id":141312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998c"} 
[2026-07-25 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":765580672,"raw_latitude":96709856,"longitude_deg":76.5580672,"latitude_deg":9.6709856,"altitude":24,"angle":203,"satellites":42,"speed":28,"hex_longitude":"2da1d580","hex_latitude":"05c3ace0","is_valid_coordinates":true} 
[2026-07-25 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956816640001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358072810741956608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6781295114153289728,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784987577000,"timestamp_ms":1784987577000,"timestamp_seconds":1784987577,"priority":1,"record_length":96,"hex_timestamp":"0000019f998ceaa8"} 
[2026-07-25 19:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:26: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-07-25 19:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956816640001,"66":27332,"168":206,"83":16896,"24":28,"16":358072810741956608,"45":-6781295114153289728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956816640001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358072810741956608,"km_value":358072810741956.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6781295114153289728,"description":"Unknown IO ID 45"} 
[2026-07-25 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956816640001,"power":27332,"unknown_168":206,"unknown_83":16896,"ignition":28,"odometer":null,"unknown_45":-6781295114153289728}} 
[2026-07-25 19:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":141312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:26:00] local.INFO: GPS data processed {"connection_id":141312,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:26:00] local.INFO: Acknowledgment sent {"connection_id":141312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:26:03] local.INFO: TCP Data received {"connection_id":142295,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998d2d10012d18184007219e38004900a427..."} 
[2026-07-25 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998d2d10012d18184007219e38004900a427..."} 
[2026-07-25 19:26:03] local.INFO: Processing buffer {"connection_id":142295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998d2d10012d18184007219e38004900a427..."} 
[2026-07-25 19:26:03] local.INFO: Packet analysis {"connection_id":142295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:03] local.INFO: Extracted packet for processing {"connection_id":142295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":39,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956818688001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987594000,"timestamp_ms":1784987594000,"timestamp_seconds":1784987594,"priority":1,"record_length":96,"hex_timestamp":"0000019f998d2d10"} 
[2026-07-25 19:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 19:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956818688001,"66":12341,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956818688001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:26:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956818688001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":142295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:26:03] local.INFO: GPS data processed {"connection_id":142295,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:26:03] local.INFO: Acknowledgment sent {"connection_id":142295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:26:31] local.INFO: TCP Data received {"connection_id":142296,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:26:31] local.INFO: Processing buffer {"connection_id":142296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:26:31] local.INFO: IMEI packet received {"connection_id":142296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":142296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:26:32] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998d09e8012da1cd8005c39dc8001700d628..."} 
[2026-07-25 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998d09e8012da1cd8005c39dc8001700d628..."} 
[2026-07-25 19:26:32] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998d09e8012da1cd8005c39dc8001700d628..."} 
[2026-07-25 19:26:32] local.INFO: Packet analysis {"connection_id":141312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:32] local.INFO: Extracted packet for processing {"connection_id":141312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:32] local.INFO: GPS Element Parsed {"raw_longitude":765578624,"raw_latitude":96705992,"longitude_deg":76.5578624,"latitude_deg":9.6705992,"altitude":23,"angle":214,"satellites":40,"speed":10,"hex_longitude":"2da1cd80","hex_latitude":"05c39dc8","is_valid_coordinates":true} 
[2026-07-25 19:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956819712001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358073025490321408,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6785376501317705728,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987585000,"timestamp_ms":1784987585000,"timestamp_seconds":1784987585,"priority":1,"record_length":96,"hex_timestamp":"0000019f998d09e8"} 
[2026-07-25 19:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 19:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956819712001,"66":27267,"168":206,"83":16896,"24":10,"16":358073025490321408,"45":-6785376501317705728},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 19:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956819712001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:26:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 19:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358073025490321408,"km_value":358073025490321.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6785376501317705728,"description":"Unknown IO ID 45"} 
[2026-07-25 19:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956819712001,"power":27267,"unknown_168":206,"unknown_83":16896,"ignition":10,"odometer":null,"unknown_45":-6785376501317705728}} 
[2026-07-25 19:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":141312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:26:32] local.INFO: GPS data processed {"connection_id":141312,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:26:32] local.INFO: Acknowledgment sent {"connection_id":141312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:26:36] local.INFO: TCP Data received {"connection_id":142296,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:26:36] local.INFO: Processing buffer {"connection_id":142296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:26:36] local.INFO: IMEI packet received {"connection_id":142296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":142296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:26:37] local.INFO: TCP Data received {"connection_id":142296,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998d7f18012d18184007219e38004900a42a..."} 
[2026-07-25 19:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998d7f18012d18184007219e38004900a42a..."} 
[2026-07-25 19:26:37] local.INFO: Processing buffer {"connection_id":142296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998d7f18012d18184007219e38004900a42a..."} 
[2026-07-25 19:26:37] local.INFO: Packet analysis {"connection_id":142296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:37] local.INFO: Extracted packet for processing {"connection_id":142296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":42,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956824064001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784987615000,"timestamp_ms":1784987615000,"timestamp_seconds":1784987615,"priority":1,"record_length":96,"hex_timestamp":"0000019f998d7f18"} 
[2026-07-25 19:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956824064001,"66":12341,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956824064001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:26:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956824064001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":142296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:26:37] local.INFO: GPS data processed {"connection_id":142296,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:26:37] local.INFO: Acknowledgment sent {"connection_id":142296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:26:40] local.INFO: TCP Data received {"connection_id":142296,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998dd120012d18184007219e38004900a42b..."} 
[2026-07-25 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998dd120012d18184007219e38004900a42b..."} 
[2026-07-25 19:26:40] local.INFO: Processing buffer {"connection_id":142296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998dd120012d18184007219e38004900a42b..."} 
[2026-07-25 19:26:40] local.INFO: Packet analysis {"connection_id":142296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:40] local.INFO: Extracted packet for processing {"connection_id":142296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998d"} 
[2026-07-25 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":43,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956829440001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784987636000,"timestamp_ms":1784987636000,"timestamp_seconds":1784987636,"priority":1,"record_length":96,"hex_timestamp":"0000019f998dd120"} 
[2026-07-25 19:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":142296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":142296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":142296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956829440001,"66":12287,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956829440001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:26:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956829440001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":142296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:26:40] local.INFO: GPS data processed {"connection_id":142296,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:26:40] local.INFO: Acknowledgment sent {"connection_id":142296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:26:54] local.INFO: TCP Data received {"connection_id":143673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:26:54] local.INFO: Processing buffer {"connection_id":143673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:26:54] local.INFO: IMEI packet received {"connection_id":143673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":143673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:27:00] local.INFO: TCP Data received {"connection_id":143673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:27:00] local.INFO: Processing buffer {"connection_id":143673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:27:00] local.INFO: IMEI packet received {"connection_id":143673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":143673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:27:01] local.INFO: TCP Data received {"connection_id":143673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998f6f30012da17c8005c36588002900e72b..."} 
[2026-07-25 19:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998f6f30012da17c8005c36588002900e72b..."} 
[2026-07-25 19:27:01] local.INFO: Processing buffer {"connection_id":143673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998f6f30012da17c8005c36588002900e72b..."} 
[2026-07-25 19:27:01] local.INFO: Packet analysis {"connection_id":143673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:27:01] local.INFO: Extracted packet for processing {"connection_id":143673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:27:01] local.INFO: GPS Element Parsed {"raw_longitude":765557888,"raw_latitude":96691592,"longitude_deg":76.5557888,"latitude_deg":9.6691592,"altitude":41,"angle":231,"satellites":43,"speed":9,"hex_longitude":"2da17c80","hex_latitude":"05c36588","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956856576001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358074262440902656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805290855923742720,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987742000,"timestamp_ms":1784987742000,"timestamp_seconds":1784987742,"priority":1,"record_length":96,"hex_timestamp":"0000019f998f6f30"} 
[2026-07-25 19:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956856576001,"66":27365,"168":206,"83":16896,"24":9,"16":358074262440902656,"45":-6805290855923742720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 19:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956856576001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:27:01] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 19:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358074262440902656,"km_value":358074262440902.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805290855923742720,"description":"Unknown IO ID 45"} 
[2026-07-25 19:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956856576001,"power":27365,"unknown_168":206,"unknown_83":16896,"ignition":9,"odometer":null,"unknown_45":-6805290855923742720}} 
[2026-07-25 19:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":143673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:27:01] local.INFO: GPS data processed {"connection_id":143673,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:27:01] local.INFO: Acknowledgment sent {"connection_id":143673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:27:11] local.INFO: TCP Data received {"connection_id":142296,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998e2328012d18184007219e38004900a42b..."} 
[2026-07-25 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998e2328012d18184007219e38004900a42b..."} 
[2026-07-25 19:27:11] local.INFO: Processing buffer {"connection_id":142296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998e2328012d18184007219e38004900a42b..."} 
[2026-07-25 19:27:11] local.INFO: Packet analysis {"connection_id":142296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998e"} 
[2026-07-25 19:27:11] local.INFO: Extracted packet for processing {"connection_id":142296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998e"} 
[2026-07-25 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":43,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956834816001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784987657000,"timestamp_ms":1784987657000,"timestamp_seconds":1784987657,"priority":1,"record_length":96,"hex_timestamp":"0000019f998e2328"} 
[2026-07-25 19:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 19:27: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-07-25 19:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956834816001,"66":12298,"105":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956834816001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:27:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956834816001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":142296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:27:11] local.INFO: GPS data processed {"connection_id":142296,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:27:11] local.INFO: Acknowledgment sent {"connection_id":142296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:27:26] local.INFO: TCP Data received {"connection_id":142297,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:27:26] local.INFO: Processing buffer {"connection_id":142297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:27:26] local.INFO: IMEI packet received {"connection_id":142297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":142297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:27:31] local.INFO: TCP Data received {"connection_id":142297,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:27:31] local.INFO: Processing buffer {"connection_id":142297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:27:31] local.INFO: IMEI packet received {"connection_id":142297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":142297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:27:32] local.INFO: TCP Data received {"connection_id":142297,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998e7530012d18184007219e38004900a428..."} 
[2026-07-25 19:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998e7530012d18184007219e38004900a428..."} 
[2026-07-25 19:27:32] local.INFO: Processing buffer {"connection_id":142297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998e7530012d18184007219e38004900a428..."} 
[2026-07-25 19:27:32] local.INFO: Packet analysis {"connection_id":142297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998e"} 
[2026-07-25 19:27:32] local.INFO: Extracted packet for processing {"connection_id":142297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998e"} 
[2026-07-25 19:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956840192001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987678000,"timestamp_ms":1784987678000,"timestamp_seconds":1784987678,"priority":1,"record_length":96,"hex_timestamp":"0000019f998e7530"} 
[2026-07-25 19:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":93,"raw_value":-6629298651489370111,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7382555444680779752,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513865795857088676,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":73,"raw_value":46205876645658624,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244071219406,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2363164673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2654470217,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:27:32] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242666,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,93,159,209,45,64,158,73,43,10,66,127,42,1,240,53,227,153,33,4,113,205,137,56,41,239,47,2,31,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:27:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260384869359288320,"timestamp_seconds":5260384869359288.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956840192001,"66":12341,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956840192001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:27:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956840192001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":142297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:27:32] local.INFO: GPS data processed {"connection_id":142297,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:27:32] local.INFO: Acknowledgment sent {"connection_id":142297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:27:33] local.INFO: TCP Data received {"connection_id":143673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998fbd50012da16bc005c35640002400d82b..."} 
[2026-07-25 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998fbd50012da16bc005c35640002400d82b..."} 
[2026-07-25 19:27:33] local.INFO: Processing buffer {"connection_id":143673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998fbd50012da16bc005c35640002400d82b..."} 
[2026-07-25 19:27:33] local.INFO: Packet analysis {"connection_id":143673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:27:33] local.INFO: Extracted packet for processing {"connection_id":143673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:27:33] local.INFO: GPS Element Parsed {"raw_longitude":765553600,"raw_latitude":96687680,"longitude_deg":76.55536,"latitude_deg":9.668768,"altitude":36,"angle":216,"satellites":43,"speed":14,"hex_longitude":"2da16bc0","hex_latitude":"05c35640","is_valid_coordinates":true} 
[2026-07-25 19:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956861952001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358074541613776896,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6810427774249629696,"note":"Value kept but may cause issues"} 
[2026-07-25 19:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784987762000,"timestamp_ms":1784987762000,"timestamp_seconds":1784987762,"priority":1,"record_length":96,"hex_timestamp":"0000019f998fbd50"} 
[2026-07-25 19:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956861952001,"66":27484,"168":206,"83":16896,"24":14,"16":358074541613776896,"45":-6810427774249629696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,45]} 
[2026-07-25 19:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956861952001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:27:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 19:27:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358074541613776896,"km_value":358074541613776.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6810427774249629696,"description":"Unknown IO ID 45"} 
[2026-07-25 19:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956861952001,"power":27484,"unknown_168":206,"unknown_83":16896,"ignition":14,"odometer":null,"unknown_45":-6810427774249629696}} 
[2026-07-25 19:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":143673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:27:33] local.INFO: GPS data processed {"connection_id":143673,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:27:33] local.INFO: Acknowledgment sent {"connection_id":143673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:27:54] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:27:54] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:27:54] local.INFO: IMEI packet received {"connection_id":141313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":141313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:28:00] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:28:00] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:28:00] local.INFO: IMEI packet received {"connection_id":141313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:28:01] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f998fe078012da1644005c34a38002000cd2a..."} 
[2026-07-25 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998fe078012da1644005c34a38002000cd2a..."} 
[2026-07-25 19:28:01] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998fe078012da1644005c34a38002000cd2a..."} 
[2026-07-25 19:28:01] local.INFO: Packet analysis {"connection_id":141313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:28:01] local.INFO: Extracted packet for processing {"connection_id":141313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":765551680,"raw_latitude":96684600,"longitude_deg":76.555168,"latitude_deg":9.66846,"altitude":32,"angle":205,"satellites":42,"speed":16,"hex_longitude":"2da16440","hex_latitude":"05c34a38","is_valid_coordinates":true} 
[2026-07-25 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358074717707436032,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6815142480110534656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987771000,"timestamp_ms":1784987771000,"timestamp_seconds":1784987771,"priority":1,"record_length":96,"hex_timestamp":"0000019f998fe078"} 
[2026-07-25 19:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 19:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956867072001,"66":27463,"169":206,"83":16896,"24":16,"16":358074717707436032,"45":-6815142480110534656},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-25 19:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:28:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 19:28:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358074717707436032,"km_value":358074717707436.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6815142480110534656,"description":"Unknown IO ID 45"} 
[2026-07-25 19:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956867072001,"power":27463,"unknown_169":206,"unknown_83":16896,"ignition":16,"odometer":null,"unknown_45":-6815142480110534656}} 
[2026-07-25 19:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":141313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:28:01] local.INFO: GPS data processed {"connection_id":141313,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:28:01] local.INFO: Acknowledgment sent {"connection_id":141313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:28:03] local.INFO: TCP Data received {"connection_id":142297,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998ec738012d18184007219e38004900a428..."} 
[2026-07-25 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998ec738012d18184007219e38004900a428..."} 
[2026-07-25 19:28:03] local.INFO: Processing buffer {"connection_id":142297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998ec738012d18184007219e38004900a428..."} 
[2026-07-25 19:28:03] local.INFO: Packet analysis {"connection_id":142297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998e"} 
[2026-07-25 19:28:03] local.INFO: Extracted packet for processing {"connection_id":142297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998e"} 
[2026-07-25 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":40,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956845568001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987699000,"timestamp_ms":1784987699000,"timestamp_seconds":1784987699,"priority":1,"record_length":96,"hex_timestamp":"0000019f998ec738"} 
[2026-07-25 19:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956845568001,"66":12341,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956845568001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956845568001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":142297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:28:03] local.INFO: GPS data processed {"connection_id":142297,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:28:03] local.INFO: Acknowledgment sent {"connection_id":142297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:28:25] local.INFO: TCP Data received {"connection_id":142298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:25] local.INFO: Processing buffer {"connection_id":142298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:25] local.INFO: IMEI packet received {"connection_id":142298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":142298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:28:26] local.INFO: TCP Data received {"connection_id":142298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:26] local.INFO: Processing buffer {"connection_id":142298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:26] local.INFO: IMEI packet received {"connection_id":142298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":142298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:28:31] local.INFO: TCP Data received {"connection_id":142298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:31] local.INFO: Processing buffer {"connection_id":142298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:28:31] local.INFO: IMEI packet received {"connection_id":142298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":142298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:28:31] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99903280012da1590005c336d0002300cc2b..."} 
[2026-07-25 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99903280012da1590005c336d0002300cc2b..."} 
[2026-07-25 19:28:31] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99903280012da1590005c336d0002300cc2b..."} 
[2026-07-25 19:28:31] local.INFO: Packet analysis {"connection_id":141313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9990"} 
[2026-07-25 19:28:31] local.INFO: Extracted packet for processing {"connection_id":141313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9990"} 
[2026-07-25 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":765548800,"raw_latitude":96679632,"longitude_deg":76.55488,"latitude_deg":9.6679632,"altitude":35,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2da15900","hex_latitude":"05c336d0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956869376001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358075001175277568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6817253542436653056,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784987792000,"timestamp_ms":1784987792000,"timestamp_seconds":1784987792,"priority":1,"record_length":96,"hex_timestamp":"0000019f99903280"} 
[2026-07-25 19:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 19:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956869376001,"66":27376,"169":206,"83":16896,"24":0,"16":358075001175277568,"45":-6817253542436653056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-25 19:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956869376001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358075001175277568,"km_value":358075001175277.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6817253542436653056,"description":"Unknown IO ID 45"} 
[2026-07-25 19:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956869376001,"power":27376,"unknown_169":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6817253542436653056}} 
[2026-07-25 19:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":141313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:28:31] local.INFO: GPS data processed {"connection_id":141313,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:28:31] local.INFO: Acknowledgment sent {"connection_id":141313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:28:32] local.INFO: TCP Data received {"connection_id":142298,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998f1940012d18184007219e38004900a42b..."} 
[2026-07-25 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998f1940012d18184007219e38004900a42b..."} 
[2026-07-25 19:28:32] local.INFO: Processing buffer {"connection_id":142298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998f1940012d18184007219e38004900a42b..."} 
[2026-07-25 19:28:32] local.INFO: Packet analysis {"connection_id":142298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:28:32] local.INFO: Extracted packet for processing {"connection_id":142298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":43,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956850944001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987720000,"timestamp_ms":1784987720000,"timestamp_seconds":1784987720,"priority":1,"record_length":96,"hex_timestamp":"0000019f998f1940"} 
[2026-07-25 19:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956850944001,"66":12341,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956850944001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:28:32] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956850944001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":142298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:28:32] local.INFO: GPS data processed {"connection_id":142298,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:28:32] local.INFO: Acknowledgment sent {"connection_id":142298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:29:00] local.INFO: TCP Data received {"connection_id":143674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:00] local.INFO: Processing buffer {"connection_id":143674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:00] local.INFO: IMEI packet received {"connection_id":143674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:29:00] local.INFO: TCP Data received {"connection_id":143674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:00] local.INFO: Processing buffer {"connection_id":143674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:00] local.INFO: IMEI packet received {"connection_id":143674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":143674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:29:03] local.INFO: TCP Data received {"connection_id":142298,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f998f6b48012d18184007219e38004900a429..."} 
[2026-07-25 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f998f6b48012d18184007219e38004900a429..."} 
[2026-07-25 19:29:03] local.INFO: Processing buffer {"connection_id":142298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f998f6b48012d18184007219e38004900a429..."} 
[2026-07-25 19:29:03] local.INFO: Packet analysis {"connection_id":142298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:29:03] local.INFO: Extracted packet for processing {"connection_id":142298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f998f"} 
[2026-07-25 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643704,"longitude_deg":75.6553792,"latitude_deg":11.9643704,"altitude":73,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d181840","hex_latitude":"07219e38","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956856320001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828683234050048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724292096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987741000,"timestamp_ms":1784987741000,"timestamp_seconds":1784987741,"priority":1,"record_length":96,"hex_timestamp":"0000019f998f6b48"} 
[2026-07-25 19:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956856320001,"66":12298,"107":206,"83":41984,"24":0,"16":8828683234050048,"45":1736208055724292096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-07-25 19:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956856320001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828683234050048,"km_value":8828683234050.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724292096,"description":"Unknown IO ID 45"} 
[2026-07-25 19:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956856320001,"power":12298,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724292096}} 
[2026-07-25 19:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":142298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:29:03] local.INFO: GPS data processed {"connection_id":142298,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:29:03] local.INFO: Acknowledgment sent {"connection_id":142298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:29:04] local.INFO: TCP Data received {"connection_id":143674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:04] local.INFO: Processing buffer {"connection_id":143674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:04] local.INFO: IMEI packet received {"connection_id":143674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":143674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:29:05] local.INFO: TCP Data received {"connection_id":143674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999176b8012da1030005c28788001800f72a..."} 
[2026-07-25 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999176b8012da1030005c28788001800f72a..."} 
[2026-07-25 19:29:05] local.INFO: Processing buffer {"connection_id":143674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999176b8012da1030005c28788001800f72a..."} 
[2026-07-25 19:29:05] local.INFO: Packet analysis {"connection_id":143674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9991"} 
[2026-07-25 19:29:05] local.INFO: Extracted packet for processing {"connection_id":143674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9991"} 
[2026-07-25 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":765526784,"raw_latitude":96634760,"longitude_deg":76.5526784,"latitude_deg":9.663476,"altitude":24,"angle":247,"satellites":42,"speed":37,"hex_longitude":"2da10300","hex_latitude":"05c28788","is_valid_coordinates":true} 
[2026-07-25 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956895232001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358077505141211136,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6841812234167070720,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784987875000,"timestamp_ms":1784987875000,"timestamp_seconds":1784987875,"priority":1,"record_length":96,"hex_timestamp":"0000019f999176b8"} 
[2026-07-25 19:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:29: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-07-25 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956895232001,"66":27310,"169":206,"83":16896,"24":37,"16":358077505141211136,"45":-6841812234167070720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-25 19:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956895232001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:29:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 19:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358077505141211136,"km_value":358077505141211.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6841812234167070720,"description":"Unknown IO ID 45"} 
[2026-07-25 19:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956895232001,"power":27310,"unknown_169":206,"unknown_83":16896,"ignition":37,"odometer":null,"unknown_45":-6841812234167070720}} 
[2026-07-25 19:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":143674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:29:05] local.INFO: GPS data processed {"connection_id":143674,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:29:05] local.INFO: Acknowledgment sent {"connection_id":143674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:29:06] local.INFO: TCP Data received {"connection_id":143674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999195f8012da0e98005c27c70001800eb2a..."} 
[2026-07-25 19:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999195f8012da0e98005c27c70001800eb2a..."} 
[2026-07-25 19:29:06] local.INFO: Processing buffer {"connection_id":143674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999195f8012da0e98005c27c70001800eb2a..."} 
[2026-07-25 19:29:06] local.INFO: Packet analysis {"connection_id":143674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9991"} 
[2026-07-25 19:29:06] local.INFO: Extracted packet for processing {"connection_id":143674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9991"} 
[2026-07-25 19:29:06] local.INFO: GPS Element Parsed {"raw_longitude":765520256,"raw_latitude":96631920,"longitude_deg":76.5520256,"latitude_deg":9.663192,"altitude":24,"angle":235,"satellites":42,"speed":33,"hex_longitude":"2da0e980","hex_latitude":"05c27c70","is_valid_coordinates":true} 
[2026-07-25 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956896000001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358077848738594816,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6844626983934523392,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784987883000,"timestamp_ms":1784987883000,"timestamp_seconds":1784987883,"priority":1,"record_length":96,"hex_timestamp":"0000019f999195f8"} 
[2026-07-25 19:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-25 19:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956896000001,"66":27343,"169":206,"83":16896,"24":33,"16":358077848738594816,"45":-6844626983934523392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,45]} 
[2026-07-25 19:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956896000001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:29:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-25 19:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358077848738594816,"km_value":358077848738594.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6844626983934523392,"description":"Unknown IO ID 45"} 
[2026-07-25 19:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956896000001,"power":27343,"unknown_169":206,"unknown_83":16896,"ignition":33,"odometer":null,"unknown_45":-6844626983934523392}} 
[2026-07-25 19:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":143674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:29:06] local.INFO: GPS data processed {"connection_id":143674,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:29:06] local.INFO: Acknowledgment sent {"connection_id":143674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:29:10] local.INFO: TCP Data received {"connection_id":143674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9991a598012da0dfc005c273a0001700dd2b..."} 
[2026-07-25 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9991a598012da0dfc005c273a0001700dd2b..."} 
[2026-07-25 19:29:10] local.INFO: Processing buffer {"connection_id":143674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9991a598012da0dfc005c273a0001700dd2b..."} 
[2026-07-25 19:29:10] local.INFO: Packet analysis {"connection_id":143674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9991"} 
[2026-07-25 19:29:10] local.INFO: Extracted packet for processing {"connection_id":143674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9991"} 
[2026-07-25 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":765517760,"raw_latitude":96629664,"longitude_deg":76.551776,"latitude_deg":9.6629664,"altitude":23,"angle":221,"satellites":43,"speed":33,"hex_longitude":"2da0dfc0","hex_latitude":"05c273a0","is_valid_coordinates":true} 
[2026-07-25 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956898048001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358078011947352064,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6851804595841372160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784987887000,"timestamp_ms":1784987887000,"timestamp_seconds":1784987887,"priority":1,"record_length":96,"hex_timestamp":"0000019f9991a598"} 
[2026-07-25 19:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956898048001,"66":27365,"138":206,"83":16896,"24":33,"16":358078011947352064,"45":-6851804595841372160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 19:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956898048001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:29:10] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 19:29:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358078011947352064,"km_value":358078011947352.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6851804595841372160,"description":"Unknown IO ID 45"} 
[2026-07-25 19:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956898048001,"power":27365,"unknown_138":206,"unknown_83":16896,"ignition":33,"odometer":null,"unknown_45":-6851804595841372160}} 
[2026-07-25 19:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":143674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:29:10] local.INFO: GPS data processed {"connection_id":143674,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:29:10] local.INFO: Acknowledgment sent {"connection_id":143674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:29:14] local.INFO: TCP Data received {"connection_id":141314,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:29:14] local.INFO: Processing buffer {"connection_id":141314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:29:14] local.INFO: IMEI packet received {"connection_id":141314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":141314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:29:26] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:29:26] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:29:26] local.INFO: IMEI packet received {"connection_id":141271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":141271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:29:31] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:29:31] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:29:31] local.INFO: IMEI packet received {"connection_id":141271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":141271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:29:32] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99920b28012d18194007219cd0004700d128..."} 
[2026-07-25 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99920b28012d18194007219cd0004700d128..."} 
[2026-07-25 19:29:32] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99920b28012d18194007219cd0004700d128..."} 
[2026-07-25 19:29:32] local.INFO: Packet analysis {"connection_id":141271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:29:32] local.INFO: Extracted packet for processing {"connection_id":141271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643344,"longitude_deg":75.6554048,"latitude_deg":11.9643344,"altitude":71,"angle":209,"satellites":40,"speed":4,"hex_longitude":"2d181940","hex_latitude":"07219cd0","is_valid_coordinates":true} 
[2026-07-25 19:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956905216001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828717593788416,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736559899445145600,"note":"Value kept but may cause issues"} 
[2026-07-25 19:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987913000,"timestamp_ms":1784987913000,"timestamp_seconds":1784987913,"priority":1,"record_length":96,"hex_timestamp":"0000019f99920b28"} 
[2026-07-25 19:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-07-25 19:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956905216001,"66":13428,"105":206,"83":41984,"24":4,"16":8828717593788416,"45":1736559899445145600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956905216001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:29:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828717593788416,"km_value":8828717593788.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736559899445145600,"description":"Unknown IO ID 45"} 
[2026-07-25 19:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956905216001,"power":13428,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1736559899445145600}} 
[2026-07-25 19:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":141271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:29:32] local.INFO: GPS data processed {"connection_id":141271,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:29:32] local.INFO: Acknowledgment sent {"connection_id":141271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:29:55] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:55] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:29:55] local.INFO: IMEI packet received {"connection_id":141272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:30:00] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:00] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:00] local.INFO: IMEI packet received {"connection_id":141272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":141272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:30:01] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999274a0012da0a88005c1cd08001800942a..."} 
[2026-07-25 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999274a0012da0a88005c1cd08001800942a..."} 
[2026-07-25 19:30:01] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999274a0012da0a88005c1cd08001800942a..."} 
[2026-07-25 19:30:01] local.INFO: Packet analysis {"connection_id":141272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:01] local.INFO: Extracted packet for processing {"connection_id":141272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:01] local.INFO: GPS Element Parsed {"raw_longitude":765503616,"raw_latitude":96587016,"longitude_deg":76.5503616,"latitude_deg":9.6587016,"altitude":24,"angle":148,"satellites":42,"speed":37,"hex_longitude":"2da0a880","hex_latitude":"05c1cd08","is_valid_coordinates":true} 
[2026-07-25 19:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956912640001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358080408539103232,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6870100469339060224,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784987940000,"timestamp_ms":1784987940000,"timestamp_seconds":1784987940,"priority":1,"record_length":96,"hex_timestamp":"0000019f999274a0"} 
[2026-07-25 19:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19: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-07-25 19:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956912640001,"66":27365,"138":206,"83":16896,"24":37,"16":358080408539103232,"45":-6870100469339060224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 19:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956912640001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:30:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 19:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358080408539103232,"km_value":358080408539103.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6870100469339060224,"description":"Unknown IO ID 45"} 
[2026-07-25 19:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956912640001,"power":27365,"unknown_138":206,"unknown_83":16896,"ignition":37,"odometer":null,"unknown_45":-6870100469339060224}} 
[2026-07-25 19:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":141272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:30:01] local.INFO: GPS data processed {"connection_id":141272,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:30:01] local.INFO: Acknowledgment sent {"connection_id":141272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:30:03] local.INFO: TCP Data received {"connection_id":141271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99920f10012d18190007219c90004700df27..."} 
[2026-07-25 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99920f10012d18190007219c90004700df27..."} 
[2026-07-25 19:30:03] local.INFO: Processing buffer {"connection_id":141271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99920f10012d18190007219c90004700df27..."} 
[2026-07-25 19:30:03] local.INFO: Packet analysis {"connection_id":141271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:03] local.INFO: Extracted packet for processing {"connection_id":141271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119643280,"longitude_deg":75.6553984,"latitude_deg":11.964328,"altitude":71,"angle":223,"satellites":39,"speed":3,"hex_longitude":"2d181900","hex_latitude":"07219c90","is_valid_coordinates":true} 
[2026-07-25 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956905728001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828726183723008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530700910592,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987914000,"timestamp_ms":1784987914000,"timestamp_seconds":1784987914,"priority":1,"record_length":96,"hex_timestamp":"0000019f99920f10"} 
[2026-07-25 19:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956905728001,"66":13428,"105":206,"83":41984,"24":3,"16":8828726183723008,"45":1736489530700910592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956905728001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:30:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828726183723008,"km_value":8828726183723.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530700910592,"description":"Unknown IO ID 45"} 
[2026-07-25 19:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956905728001,"power":13428,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1736489530700910592}} 
[2026-07-25 19:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":141271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:30:03] local.INFO: GPS data processed {"connection_id":141271,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:30:03] local.INFO: Acknowledgment sent {"connection_id":141271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:30:26] local.INFO: TCP Data received {"connection_id":143675,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:30:26] local.INFO: Processing buffer {"connection_id":143675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:30:26] local.INFO: IMEI packet received {"connection_id":143675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":143675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:30:31] local.INFO: TCP Data received {"connection_id":143675,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:30:31] local.INFO: Processing buffer {"connection_id":143675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:30:31] local.INFO: IMEI packet received {"connection_id":143675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:30:32] local.INFO: TCP Data received {"connection_id":143675,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999212f8012d18190007219c58004700b528..."} 
[2026-07-25 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999212f8012d18190007219c58004700b528..."} 
[2026-07-25 19:30:32] local.INFO: Processing buffer {"connection_id":143675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999212f8012d18190007219c58004700b528..."} 
[2026-07-25 19:30:32] local.INFO: Packet analysis {"connection_id":143675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:32] local.INFO: Extracted packet for processing {"connection_id":143675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756553984,"raw_latitude":119643224,"longitude_deg":75.6553984,"latitude_deg":11.9643224,"altitude":71,"angle":181,"satellites":40,"speed":3,"hex_longitude":"2d181900","hex_latitude":"07219c58","is_valid_coordinates":true} 
[2026-07-25 19:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956905984001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828726183723008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161956716544,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987915000,"timestamp_ms":1784987915000,"timestamp_seconds":1784987915,"priority":1,"record_length":96,"hex_timestamp":"0000019f999212f8"} 
[2026-07-25 19:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-25 19:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956905984001,"66":13646,"105":206,"83":41984,"24":3,"16":8828726183723008,"45":1736419161956716544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956905984001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:30:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828726183723008,"km_value":8828726183723.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161956716544,"description":"Unknown IO ID 45"} 
[2026-07-25 19:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956905984001,"power":13646,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1736419161956716544}} 
[2026-07-25 19:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":143675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:30:32] local.INFO: GPS data processed {"connection_id":143675,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:30:32] local.INFO: Acknowledgment sent {"connection_id":143675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:30:33] local.INFO: TCP Data received {"connection_id":141272,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99928058012da0b00005c1c410001700872b..."} 
[2026-07-25 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99928058012da0b00005c1c410001700872b..."} 
[2026-07-25 19:30:33] local.INFO: Processing buffer {"connection_id":141272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99928058012da0b00005c1c410001700872b..."} 
[2026-07-25 19:30:33] local.INFO: Packet analysis {"connection_id":141272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:33] local.INFO: Extracted packet for processing {"connection_id":141272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":765505536,"raw_latitude":96584720,"longitude_deg":76.5505536,"latitude_deg":9.658472,"altitude":23,"angle":135,"satellites":43,"speed":38,"hex_longitude":"2da0b000","hex_latitude":"05c1c410","is_valid_coordinates":true} 
[2026-07-25 19:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956912640001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358080550273024000,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6870100469339060224,"note":"Value kept but may cause issues"} 
[2026-07-25 19:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784987943000,"timestamp_ms":1784987943000,"timestamp_seconds":1784987943,"priority":1,"record_length":96,"hex_timestamp":"0000019f99928058"} 
[2026-07-25 19:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956912640001,"66":27310,"138":206,"83":16896,"24":38,"16":358080550273024000,"45":-6870100469339060224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 19:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956912640001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:30:33] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 19:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358080550273024000,"km_value":358080550273024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6870100469339060224,"description":"Unknown IO ID 45"} 
[2026-07-25 19:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956912640001,"power":27310,"unknown_138":206,"unknown_83":16896,"ignition":38,"odometer":null,"unknown_45":-6870100469339060224}} 
[2026-07-25 19:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":141272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:30:33] local.INFO: GPS data processed {"connection_id":141272,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:30:33] local.INFO: Acknowledgment sent {"connection_id":141272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:30:55] local.INFO: TCP Data received {"connection_id":143676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:55] local.INFO: Processing buffer {"connection_id":143676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:55] local.INFO: IMEI packet received {"connection_id":143676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":143676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:30:58] local.INFO: TCP Data received {"connection_id":143676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:58] local.INFO: Processing buffer {"connection_id":143676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:30:58] local.INFO: IMEI packet received {"connection_id":143676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":143676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:31:00] local.INFO: TCP Data received {"connection_id":143676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999293e0012da0bc8005c1b770001700932b..."} 
[2026-07-25 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999293e0012da0bc8005c1b770001700932b..."} 
[2026-07-25 19:31:00] local.INFO: Processing buffer {"connection_id":143676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999293e0012da0bc8005c1b770001700932b..."} 
[2026-07-25 19:31:00] local.INFO: Packet analysis {"connection_id":143676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:00] local.INFO: Extracted packet for processing {"connection_id":143676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:00] local.INFO: GPS Element Parsed {"raw_longitude":765508736,"raw_latitude":96581488,"longitude_deg":76.5508736,"latitude_deg":9.6581488,"altitude":23,"angle":147,"satellites":43,"speed":30,"hex_longitude":"2da0bc80","hex_latitude":"05c1b770","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956913408001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358080769316356096,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6867989407014318080,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784987948000,"timestamp_ms":1784987948000,"timestamp_seconds":1784987948,"priority":1,"record_length":96,"hex_timestamp":"0000019f999293e0"} 
[2026-07-25 19:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-25 19:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956913408001,"66":27376,"138":206,"83":16896,"24":30,"16":358080769316356096,"45":-6867989407014318080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 19:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956913408001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358080769316356096,"km_value":358080769316356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6867989407014318080,"description":"Unknown IO ID 45"} 
[2026-07-25 19:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956913408001,"power":27376,"unknown_138":206,"unknown_83":16896,"ignition":30,"odometer":null,"unknown_45":-6867989407014318080}} 
[2026-07-25 19:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":143676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:31:00] local.INFO: GPS data processed {"connection_id":143676,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:31:00] local.INFO: Acknowledgment sent {"connection_id":143676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:31:03] local.INFO: TCP Data received {"connection_id":143675,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999216e0012d18188007219c30004700e128..."} 
[2026-07-25 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999216e0012d18188007219c30004700e128..."} 
[2026-07-25 19:31:03] local.INFO: Processing buffer {"connection_id":143675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999216e0012d18188007219c30004700e128..."} 
[2026-07-25 19:31:03] local.INFO: Packet analysis {"connection_id":143675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:03] local.INFO: Extracted packet for processing {"connection_id":143675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756553856,"raw_latitude":119643184,"longitude_deg":75.6553856,"latitude_deg":11.9643184,"altitude":71,"angle":225,"satellites":40,"speed":2,"hex_longitude":"2d181880","hex_latitude":"07219c30","is_valid_coordinates":true} 
[2026-07-25 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956906240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828730478690304,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736419161956702208,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987916000,"timestamp_ms":1784987916000,"timestamp_seconds":1784987916,"priority":1,"record_length":96,"hex_timestamp":"0000019f999216e0"} 
[2026-07-25 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 19:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956906240001,"66":13646,"105":206,"83":41984,"24":2,"16":8828730478690304,"45":1736419161956702208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956906240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:31:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828730478690304,"km_value":8828730478690.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736419161956702208,"description":"Unknown IO ID 45"} 
[2026-07-25 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956906240001,"power":13646,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1736419161956702208}} 
[2026-07-25 19:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":143675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:31:03] local.INFO: GPS data processed {"connection_id":143675,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:31:03] local.INFO: Acknowledgment sent {"connection_id":143675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:31:26] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:26] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:26] local.INFO: IMEI packet received {"connection_id":143677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":143677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:31:27] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:27] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:27] local.INFO: IMEI packet received {"connection_id":143677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":143677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:31:31] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:31] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:31:31] local.INFO: IMEI packet received {"connection_id":143677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":143677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:31:31] local.INFO: TCP Data received {"connection_id":143676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99929bb0012da0bec005c1b210001700a52b..."} 
[2026-07-25 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99929bb0012da0bec005c1b210001700a52b..."} 
[2026-07-25 19:31:31] local.INFO: Processing buffer {"connection_id":143676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99929bb0012da0bec005c1b210001700a52b..."} 
[2026-07-25 19:31:31] local.INFO: Packet analysis {"connection_id":143676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:31] local.INFO: Extracted packet for processing {"connection_id":143676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":765509312,"raw_latitude":96580112,"longitude_deg":76.5509312,"latitude_deg":9.6580112,"altitude":23,"angle":165,"satellites":43,"speed":29,"hex_longitude":"2da0bec0","hex_latitude":"05c1b210","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956914688001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358080842330800128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6864470969806262272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784987950000,"timestamp_ms":1784987950000,"timestamp_seconds":1784987950,"priority":1,"record_length":96,"hex_timestamp":"0000019f99929bb0"} 
[2026-07-25 19:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 19:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956914688001,"66":27397,"138":206,"83":16896,"24":29,"16":358080842330800128,"45":-6864470969806262272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 19:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956914688001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358080842330800128,"km_value":358080842330800.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6864470969806262272,"description":"Unknown IO ID 45"} 
[2026-07-25 19:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956914688001,"power":27397,"unknown_138":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6864470969806262272}} 
[2026-07-25 19:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":143676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:31:31] local.INFO: GPS data processed {"connection_id":143676,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:31:31] local.INFO: Acknowledgment sent {"connection_id":143676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:31:32] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99921eb0012d18180007219c280048011629..."} 
[2026-07-25 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99921eb0012d18180007219c280048011629..."} 
[2026-07-25 19:31:32] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99921eb0012d18180007219c280048011629..."} 
[2026-07-25 19:31:32] local.INFO: Packet analysis {"connection_id":143677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:32] local.INFO: Extracted packet for processing {"connection_id":143677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756553728,"raw_latitude":119643176,"longitude_deg":75.6553728,"latitude_deg":11.9643176,"altitude":72,"angle":278,"satellites":41,"speed":3,"hex_longitude":"2d181800","hex_latitude":"07219c28","is_valid_coordinates":true} 
[2026-07-25 19:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956906496001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828739068624896,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736278424468336640,"note":"Value kept but may cause issues"} 
[2026-07-25 19:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784987918000,"timestamp_ms":1784987918000,"timestamp_seconds":1784987918,"priority":1,"record_length":96,"hex_timestamp":"0000019f99921eb0"} 
[2026-07-25 19:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-07-25 19:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956906496001,"66":13396,"105":206,"83":41984,"24":3,"16":8828739068624896,"45":1736278424468336640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956906496001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:31:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828739068624896,"km_value":8828739068624.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736278424468336640,"description":"Unknown IO ID 45"} 
[2026-07-25 19:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956906496001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1736278424468336640}} 
[2026-07-25 19:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":143677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:31:32] local.INFO: GPS data processed {"connection_id":143677,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:31:32] local.INFO: Acknowledgment sent {"connection_id":143677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:31:55] local.INFO: TCP Data received {"connection_id":141315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:31:55] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:31:55] local.INFO: IMEI packet received {"connection_id":141315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":141315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:32:00] local.INFO: TCP Data received {"connection_id":141315,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:32:00] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:32:00] local.INFO: IMEI packet received {"connection_id":141315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":141315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:32:01] local.INFO: TCP Data received {"connection_id":141315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99942250012da0960005c07130001700d12a..."} 
[2026-07-25 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99942250012da0960005c07130001700d12a..."} 
[2026-07-25 19:32:01] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99942250012da0960005c07130001700d12a..."} 
[2026-07-25 19:32:01] local.INFO: Packet analysis {"connection_id":141315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:01] local.INFO: Extracted packet for processing {"connection_id":141315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":765498880,"raw_latitude":96497968,"longitude_deg":76.549888,"latitude_deg":9.6497968,"altitude":23,"angle":209,"satellites":42,"speed":38,"hex_longitude":"2da09600","hex_latitude":"05c07130","is_valid_coordinates":true} 
[2026-07-25 19:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956938240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358084935434633216,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6870804156801396736,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988050000,"timestamp_ms":1784988050000,"timestamp_seconds":1784988050,"priority":1,"record_length":96,"hex_timestamp":"0000019f99942250"} 
[2026-07-25 19:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:32: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-07-25 19:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956938240001,"66":27463,"246":206,"83":16896,"24":38,"16":358084935434633216,"45":-6870804156801396736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,45]} 
[2026-07-25 19:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956938240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358084935434633216,"km_value":358084935434633.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6870804156801396736,"description":"Unknown IO ID 45"} 
[2026-07-25 19:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956938240001,"power":27463,"main_input_voltage":206,"unknown_83":16896,"ignition":38,"odometer":null,"unknown_45":-6870804156801396736}} 
[2026-07-25 19:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":141315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:32:01] local.INFO: GPS data processed {"connection_id":141315,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:32:01] local.INFO: Acknowledgment sent {"connection_id":141315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:32:03] local.INFO: TCP Data received {"connection_id":143677,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99922298012d18178007219c98004801442c..."} 
[2026-07-25 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99922298012d18178007219c98004801442c..."} 
[2026-07-25 19:32:03] local.INFO: Processing buffer {"connection_id":143677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99922298012d18178007219c98004801442c..."} 
[2026-07-25 19:32:03] local.INFO: Packet analysis {"connection_id":143677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:32:03] local.INFO: Extracted packet for processing {"connection_id":143677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9992"} 
[2026-07-25 19:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756553600,"raw_latitude":119643288,"longitude_deg":75.65536,"latitude_deg":11.9643288,"altitude":72,"angle":324,"satellites":44,"speed":3,"hex_longitude":"2d181780","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956907008001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8828747658559488,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736137686979979264,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784987919000,"timestamp_ms":1784987919000,"timestamp_seconds":1784987919,"priority":1,"record_length":96,"hex_timestamp":"0000019f99922298"} 
[2026-07-25 19:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-25 19:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956907008001,"66":13678,"105":206,"83":41984,"24":3,"16":8828747658559488,"45":1736137686979979264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956907008001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:32:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8828747658559488,"km_value":8828747658559.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736137686979979264,"description":"Unknown IO ID 45"} 
[2026-07-25 19:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956907008001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1736137686979979264}} 
[2026-07-25 19:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":143677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:32:03] local.INFO: GPS data processed {"connection_id":143677,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:32:03] local.INFO: Acknowledgment sent {"connection_id":143677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:32:30] local.INFO: TCP Data received {"connection_id":142299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:30] local.INFO: Processing buffer {"connection_id":142299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:30] local.INFO: IMEI packet received {"connection_id":142299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":142299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:32:31] local.INFO: TCP Data received {"connection_id":142299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:31] local.INFO: Processing buffer {"connection_id":142299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:31] local.INFO: IMEI packet received {"connection_id":142299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":142299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:32:32] local.INFO: TCP Data received {"connection_id":141315,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99944960012da0814005c05228001600da2a..."} 
[2026-07-25 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99944960012da0814005c05228001600da2a..."} 
[2026-07-25 19:32:32] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99944960012da0814005c05228001600da2a..."} 
[2026-07-25 19:32:32] local.INFO: Packet analysis {"connection_id":141315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:32] local.INFO: Extracted packet for processing {"connection_id":141315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765493568,"raw_latitude":96490024,"longitude_deg":76.5493568,"latitude_deg":9.6490024,"altitude":22,"angle":218,"satellites":42,"speed":36,"hex_longitude":"2da08140","hex_latitude":"05c05228","is_valid_coordinates":true} 
[2026-07-25 19:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956940800001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358085399291101184,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6875307756431003648,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988060000,"timestamp_ms":1784988060000,"timestamp_seconds":1784988060,"priority":1,"record_length":96,"hex_timestamp":"0000019f99944960"} 
[2026-07-25 19:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 19:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956940800001,"66":27517,"246":206,"83":16896,"24":36,"16":358085399291101184,"45":-6875307756431003648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,83,24,16,45]} 
[2026-07-25 19:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956940800001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358085399291101184,"km_value":358085399291101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6875307756431003648,"description":"Unknown IO ID 45"} 
[2026-07-25 19:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956940800001,"power":27517,"main_input_voltage":206,"unknown_83":16896,"ignition":36,"odometer":null,"unknown_45":-6875307756431003648}} 
[2026-07-25 19:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":141315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:32:32] local.INFO: GPS data processed {"connection_id":141315,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:32:32] local.INFO: Acknowledgment sent {"connection_id":141315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:32:36] local.INFO: TCP Data received {"connection_id":142299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:36] local.INFO: Processing buffer {"connection_id":142299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:32:36] local.INFO: IMEI packet received {"connection_id":142299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":142299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:32:37] local.INFO: TCP Data received {"connection_id":142299,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99947070012d1821400721b2f00049013629..."} 
[2026-07-25 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99947070012d1821400721b2f00049013629..."} 
[2026-07-25 19:32:37] local.INFO: Processing buffer {"connection_id":142299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99947070012d1821400721b2f00049013629..."} 
[2026-07-25 19:32:37] local.INFO: Packet analysis {"connection_id":142299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:37] local.INFO: Extracted packet for processing {"connection_id":142299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956940544001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784988070000,"timestamp_ms":1784988070000,"timestamp_seconds":1784988070,"priority":1,"record_length":96,"hex_timestamp":"0000019f99947070"} 
[2026-07-25 19:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 19:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956940544001,"66":12711,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956940544001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:32:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956940544001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":142299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:32:37] local.INFO: GPS data processed {"connection_id":142299,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:32:37] local.INFO: Acknowledgment sent {"connection_id":142299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:32:41] local.INFO: TCP Data received {"connection_id":142299,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9994c278012d1821400721b2f00049013629..."} 
[2026-07-25 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9994c278012d1821400721b2f00049013629..."} 
[2026-07-25 19:32:41] local.INFO: Processing buffer {"connection_id":142299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9994c278012d1821400721b2f00049013629..."} 
[2026-07-25 19:32:41] local.INFO: Packet analysis {"connection_id":142299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:41] local.INFO: Extracted packet for processing {"connection_id":142299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956945920001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784988091000,"timestamp_ms":1784988091000,"timestamp_seconds":1784988091,"priority":1,"record_length":96,"hex_timestamp":"0000019f9994c278"} 
[2026-07-25 19:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-25 19:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956945920001,"66":12689,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956945920001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:32:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956945920001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":142299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:32:41] local.INFO: GPS data processed {"connection_id":142299,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:32:41] local.INFO: Acknowledgment sent {"connection_id":142299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:32:54] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:32:54] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:32:54] local.INFO: IMEI packet received {"connection_id":141316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":141316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:33:00] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:33:00] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:33:00] local.INFO: IMEI packet received {"connection_id":141316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":141316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:33:01] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99947458012da06ac005c035c0001300d92a..."} 
[2026-07-25 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99947458012da06ac005c035c0001300d92a..."} 
[2026-07-25 19:33:01] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99947458012da06ac005c035c0001300d92a..."} 
[2026-07-25 19:33:01] local.INFO: Packet analysis {"connection_id":141316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:33:01] local.INFO: Extracted packet for processing {"connection_id":141316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":765487808,"raw_latitude":96482752,"longitude_deg":76.5487808,"latitude_deg":9.6482752,"altitude":19,"angle":217,"satellites":42,"speed":29,"hex_longitude":"2da06ac0","hex_latitude":"05c035c0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956943360001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358085845967699968,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6881148362199783424,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988071000,"timestamp_ms":1784988071000,"timestamp_seconds":1784988071,"priority":1,"record_length":96,"hex_timestamp":"0000019f99947458"} 
[2026-07-25 19:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-25 19:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956943360001,"66":27365,"92":206,"83":16896,"24":29,"16":358085845967699968,"45":-6881148362199783424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-25 19:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956943360001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:33:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-25 19:33:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358085845967699968,"km_value":358085845967699.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6881148362199783424,"description":"Unknown IO ID 45"} 
[2026-07-25 19:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956943360001,"power":27365,"unknown_92":206,"unknown_83":16896,"ignition":29,"odometer":null,"unknown_45":-6881148362199783424}} 
[2026-07-25 19:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":141316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:33:01] local.INFO: GPS data processed {"connection_id":141316,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:33:01] local.INFO: Acknowledgment sent {"connection_id":141316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:33:26] local.INFO: TCP Data received {"connection_id":143678,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:33:26] local.INFO: Processing buffer {"connection_id":143678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:33:26] local.INFO: IMEI packet received {"connection_id":143678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":143678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:33:31] local.INFO: TCP Data received {"connection_id":143678,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:33:31] local.INFO: Processing buffer {"connection_id":143678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:33:31] local.INFO: IMEI packet received {"connection_id":143678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":143678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:33:32] local.INFO: TCP Data received {"connection_id":143678,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99951480012d1821400721b2f00049013627..."} 
[2026-07-25 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99951480012d1821400721b2f00049013627..."} 
[2026-07-25 19:33:32] local.INFO: Processing buffer {"connection_id":143678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99951480012d1821400721b2f00049013627..."} 
[2026-07-25 19:33:32] local.INFO: Packet analysis {"connection_id":143678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:33:32] local.INFO: Extracted packet for processing {"connection_id":143678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956951296001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988112000,"timestamp_ms":1784988112000,"timestamp_seconds":1784988112,"priority":1,"record_length":96,"hex_timestamp":"0000019f99951480"} 
[2026-07-25 19:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-25 19:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956951296001,"66":12667,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956951296001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:33:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956951296001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":143678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:33:32] local.INFO: GPS data processed {"connection_id":143678,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:33:32] local.INFO: Acknowledgment sent {"connection_id":143678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:33:33] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9994aef0012da0550005c018e0001100d92a..."} 
[2026-07-25 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9994aef0012da0550005c018e0001100d92a..."} 
[2026-07-25 19:33:33] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9994aef0012da0550005c018e0001100d92a..."} 
[2026-07-25 19:33:33] local.INFO: Packet analysis {"connection_id":141316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:33:33] local.INFO: Extracted packet for processing {"connection_id":141316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9994"} 
[2026-07-25 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765482240,"raw_latitude":96475360,"longitude_deg":76.548224,"latitude_deg":9.647536,"altitude":17,"angle":217,"satellites":42,"speed":25,"hex_longitude":"2da05500","hex_latitude":"05c018e0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956946176001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358086292644298752,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6887481549177634816,"note":"Value kept but may cause issues"} 
[2026-07-25 19:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784988086000,"timestamp_ms":1784988086000,"timestamp_seconds":1784988086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9994aef0"} 
[2026-07-25 19:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956946176001,"66":27463,"92":206,"83":16896,"24":25,"16":358086292644298752,"45":-6887481549177634816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-25 19:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956946176001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:33:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-25 19:33:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358086292644298752,"km_value":358086292644298.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6887481549177634816,"description":"Unknown IO ID 45"} 
[2026-07-25 19:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956946176001,"power":27463,"unknown_92":206,"unknown_83":16896,"ignition":25,"odometer":null,"unknown_45":-6887481549177634816}} 
[2026-07-25 19:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":141316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:33:33] local.INFO: GPS data processed {"connection_id":141316,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:33:33] local.INFO: Acknowledgment sent {"connection_id":141316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:34:01] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:01] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:01] local.INFO: IMEI packet received {"connection_id":141273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":141273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:34:03] local.INFO: TCP Data received {"connection_id":143678,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99956688012d1821400721b2f00049013629..."} 
[2026-07-25 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99956688012d1821400721b2f00049013629..."} 
[2026-07-25 19:34:03] local.INFO: Processing buffer {"connection_id":143678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99956688012d1821400721b2f00049013629..."} 
[2026-07-25 19:34:03] local.INFO: Packet analysis {"connection_id":143678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:03] local.INFO: Extracted packet for processing {"connection_id":143678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956956672001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988133000,"timestamp_ms":1784988133000,"timestamp_seconds":1784988133,"priority":1,"record_length":96,"hex_timestamp":"0000019f99956688"} 
[2026-07-25 19:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":123,"data_length":795,"current_offset":136} 
[2026-07-25 19:34: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-07-25 19:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956956672001,"66":12689,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956956672001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:34:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956956672001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:34:03] local.INFO: GPS data processed {"connection_id":143678,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:34:03] local.INFO: Acknowledgment sent {"connection_id":143678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:34:08] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:08] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:08] local.INFO: IMEI packet received {"connection_id":141273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":141273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:34:10] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999500f8012da0498005c00960001200d727..."} 
[2026-07-25 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999500f8012da0498005c00960001200d727..."} 
[2026-07-25 19:34:10] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999500f8012da0498005c00960001200d727..."} 
[2026-07-25 19:34:10] local.INFO: Packet analysis {"connection_id":141273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:10] local.INFO: Extracted packet for processing {"connection_id":141273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":765479296,"raw_latitude":96471392,"longitude_deg":76.5479296,"latitude_deg":9.6471392,"altitude":18,"angle":215,"satellites":39,"speed":5,"hex_longitude":"2da04980","hex_latitude":"05c00960","is_valid_coordinates":true} 
[2026-07-25 19:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956950016001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358086533162467328,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6893603629922983936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784988107000,"timestamp_ms":1784988107000,"timestamp_seconds":1784988107,"priority":1,"record_length":96,"hex_timestamp":"0000019f999500f8"} 
[2026-07-25 19:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 19:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956950016001,"66":27397,"92":206,"83":16896,"24":5,"16":358086533162467328,"45":-6893603629922983936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-25 19:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956950016001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:34:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-25 19:34:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358086533162467328,"km_value":358086533162467.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6893603629922983936,"description":"Unknown IO ID 45"} 
[2026-07-25 19:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956950016001,"power":27397,"unknown_92":206,"unknown_83":16896,"ignition":5,"odometer":null,"unknown_45":-6893603629922983936}} 
[2026-07-25 19:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":141273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:34:10] local.INFO: GPS data processed {"connection_id":141273,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:34:10] local.INFO: Acknowledgment sent {"connection_id":141273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:34:11] local.INFO: TCP Data received {"connection_id":141273,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99955300012da0480005c006e8001200d728..."} 
[2026-07-25 19:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99955300012da0480005c006e8001200d728..."} 
[2026-07-25 19:34:11] local.INFO: Processing buffer {"connection_id":141273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99955300012da0480005c006e8001200d728..."} 
[2026-07-25 19:34:11] local.INFO: Packet analysis {"connection_id":141273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:11] local.INFO: Extracted packet for processing {"connection_id":141273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:11] local.INFO: GPS Element Parsed {"raw_longitude":765478912,"raw_latitude":96470760,"longitude_deg":76.5478912,"latitude_deg":9.647076,"altitude":18,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2da04800","hex_latitude":"05c006e8","is_valid_coordinates":true} 
[2026-07-25 19:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956955392001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358086571817172992,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6896840592156172288,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784988128000,"timestamp_ms":1784988128000,"timestamp_seconds":1784988128,"priority":1,"record_length":96,"hex_timestamp":"0000019f99955300"} 
[2026-07-25 19:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:34: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-07-25 19:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956955392001,"66":27365,"92":206,"83":16896,"24":0,"16":358086571817172992,"45":-6896840592156172288},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-25 19:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956955392001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:34:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-25 19:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358086571817172992,"km_value":358086571817173.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6896840592156172288,"description":"Unknown IO ID 45"} 
[2026-07-25 19:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956955392001,"power":27365,"unknown_92":206,"unknown_83":16896,"ignition":0,"odometer":null,"unknown_45":-6896840592156172288}} 
[2026-07-25 19:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":141273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:34:11] local.INFO: GPS data processed {"connection_id":141273,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:34:11] local.INFO: Acknowledgment sent {"connection_id":141273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:34:26] local.INFO: TCP Data received {"connection_id":142300,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:34:26] local.INFO: Processing buffer {"connection_id":142300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:34:26] local.INFO: IMEI packet received {"connection_id":142300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":142300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:34:31] local.INFO: TCP Data received {"connection_id":142300,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:34:31] local.INFO: Processing buffer {"connection_id":142300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:34:31] local.INFO: IMEI packet received {"connection_id":142300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":142300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:34:32] local.INFO: TCP Data received {"connection_id":142300,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9995b890012d1821400721b2f00049013628..."} 
[2026-07-25 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9995b890012d1821400721b2f00049013628..."} 
[2026-07-25 19:34:32] local.INFO: Processing buffer {"connection_id":142300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9995b890012d1821400721b2f00049013628..."} 
[2026-07-25 19:34:32] local.INFO: Packet analysis {"connection_id":142300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:32] local.INFO: Extracted packet for processing {"connection_id":142300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956962048001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988154000,"timestamp_ms":1784988154000,"timestamp_seconds":1784988154,"priority":1,"record_length":96,"hex_timestamp":"0000019f9995b890"} 
[2026-07-25 19:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":145,"data_length":795,"current_offset":136} 
[2026-07-25 19:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956962048001,"66":12645,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956962048001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:34:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956962048001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":142300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:34:32] local.INFO: GPS data processed {"connection_id":142300,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:34:32] local.INFO: Acknowledgment sent {"connection_id":142300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:34:49] local.INFO: TCP Data received {"connection_id":143679,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:34:49] local.INFO: Processing buffer {"connection_id":143679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:34:49] local.INFO: IMEI packet received {"connection_id":143679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":143679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:34:55] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:55] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:55] local.INFO: IMEI packet received {"connection_id":143680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":143680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:34:56] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:56] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:34:56] local.INFO: IMEI packet received {"connection_id":143680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":143680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:35:00] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:00] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:00] local.INFO: IMEI packet received {"connection_id":143680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:35:01] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9995a508012da0418005bffe78001100d527..."} 
[2026-07-25 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9995a508012da0418005bffe78001100d527..."} 
[2026-07-25 19:35:01] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9995a508012da0418005bffe78001100d527..."} 
[2026-07-25 19:35:01] local.INFO: Packet analysis {"connection_id":143680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:35:01] local.INFO: Extracted packet for processing {"connection_id":143680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9995"} 
[2026-07-25 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":765477248,"raw_latitude":96468600,"longitude_deg":76.5477248,"latitude_deg":9.64686,"altitude":17,"angle":213,"satellites":39,"speed":5,"hex_longitude":"2da04180","hex_latitude":"05bffe78","is_valid_coordinates":true} 
[2026-07-25 19:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956960768001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358086709256126464,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6897262804621400064,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988149000,"timestamp_ms":1784988149000,"timestamp_seconds":1784988149,"priority":1,"record_length":96,"hex_timestamp":"0000019f9995a508"} 
[2026-07-25 19:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956960768001,"66":27213,"92":206,"83":16896,"24":5,"16":358086709256126464,"45":-6897262804621400064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,83,24,16,45]} 
[2026-07-25 19:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956960768001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:35:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-25 19:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16896,"description":"Unknown IO ID 83"} 
[2026-07-25 19:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358086709256126464,"km_value":358086709256126.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6897262804621400064,"description":"Unknown IO ID 45"} 
[2026-07-25 19:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956960768001,"power":27213,"unknown_92":206,"unknown_83":16896,"ignition":5,"odometer":null,"unknown_45":-6897262804621400064}} 
[2026-07-25 19:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":143680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:35:01] local.INFO: GPS data processed {"connection_id":143680,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:35:01] local.INFO: Acknowledgment sent {"connection_id":143680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:35:03] local.INFO: TCP Data received {"connection_id":142300,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99960a98012d1821400721b2f00049013628..."} 
[2026-07-25 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99960a98012d1821400721b2f00049013628..."} 
[2026-07-25 19:35:03] local.INFO: Processing buffer {"connection_id":142300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99960a98012d1821400721b2f00049013628..."} 
[2026-07-25 19:35:03] local.INFO: Packet analysis {"connection_id":142300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9996"} 
[2026-07-25 19:35:03] local.INFO: Extracted packet for processing {"connection_id":142300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9996"} 
[2026-07-25 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956967424001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988175000,"timestamp_ms":1784988175000,"timestamp_seconds":1784988175,"priority":1,"record_length":96,"hex_timestamp":"0000019f99960a98"} 
[2026-07-25 19:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-25 19:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956967424001,"66":12613,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956967424001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956967424001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":142300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:35:03] local.INFO: GPS data processed {"connection_id":142300,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:35:03] local.INFO: Acknowledgment sent {"connection_id":142300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:35:26] local.INFO: TCP Data received {"connection_id":141274,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:35:26] local.INFO: Processing buffer {"connection_id":141274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:35:26] local.INFO: IMEI packet received {"connection_id":141274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":141274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:35:31] local.INFO: TCP Data received {"connection_id":141274,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:35:31] local.INFO: Processing buffer {"connection_id":141274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:35:31] local.INFO: IMEI packet received {"connection_id":141274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":141274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:35:32] local.INFO: TCP Data received {"connection_id":141274,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99965ca0012d1821400721b2f00049013625..."} 
[2026-07-25 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99965ca0012d1821400721b2f00049013625..."} 
[2026-07-25 19:35:32] local.INFO: Processing buffer {"connection_id":141274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99965ca0012d1821400721b2f00049013625..."} 
[2026-07-25 19:35:32] local.INFO: Packet analysis {"connection_id":141274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9996"} 
[2026-07-25 19:35:32] local.INFO: Extracted packet for processing {"connection_id":141274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9996"} 
[2026-07-25 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":37,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956972800001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988196000,"timestamp_ms":1784988196000,"timestamp_seconds":1784988196,"priority":1,"record_length":96,"hex_timestamp":"0000019f99965ca0"} 
[2026-07-25 19:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":69,"data_length":795,"current_offset":136} 
[2026-07-25 19:35: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-07-25 19:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956972800001,"66":12591,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956972800001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956972800001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":141274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:35:32] local.INFO: GPS data processed {"connection_id":141274,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:35:32] local.INFO: Acknowledgment sent {"connection_id":141274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:35:32] local.INFO: TCP Data received {"connection_id":143680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9997cbd0012d9fbe0005bf2298001000cb2b..."} 
[2026-07-25 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9997cbd0012d9fbe0005bf2298001000cb2b..."} 
[2026-07-25 19:35:32] local.INFO: Processing buffer {"connection_id":143680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9997cbd0012d9fbe0005bf2298001000cb2b..."} 
[2026-07-25 19:35:32] local.INFO: Packet analysis {"connection_id":143680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:35:32] local.INFO: Extracted packet for processing {"connection_id":143680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":765443584,"raw_latitude":96412312,"longitude_deg":76.5443584,"latitude_deg":9.6412312,"altitude":16,"angle":203,"satellites":43,"speed":38,"hex_longitude":"2d9fbe00","hex_latitude":"05bf2298","is_valid_coordinates":true} 
[2026-07-25 19:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957001728001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358089939071533056,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6935121189003515904,"note":"Value kept but may cause issues"} 
[2026-07-25 19:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988290000,"timestamp_ms":1784988290000,"timestamp_seconds":1784988290,"priority":1,"record_length":96,"hex_timestamp":"0000019f9997cbd0"} 
[2026-07-25 19:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957001728001,"66":27343,"152":206,"83":16640,"24":38,"16":358089939071533056,"45":-6935121189003515904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957001728001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358089939071533056,"km_value":358089939071533.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6935121189003515904,"description":"Unknown IO ID 45"} 
[2026-07-25 19:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957001728001,"power":27343,"unknown_152":206,"unknown_83":16640,"ignition":38,"odometer":null,"unknown_45":-6935121189003515904}} 
[2026-07-25 19:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":143680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:35:32] local.INFO: GPS data processed {"connection_id":143680,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:35:32] local.INFO: Acknowledgment sent {"connection_id":143680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:35:55] local.INFO: TCP Data received {"connection_id":142301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:55] local.INFO: Processing buffer {"connection_id":142301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:55] local.INFO: IMEI packet received {"connection_id":142301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":142301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:35:59] local.INFO: TCP Data received {"connection_id":142301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:59] local.INFO: Processing buffer {"connection_id":142301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:35:59] local.INFO: IMEI packet received {"connection_id":142301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":142301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:36:00] local.INFO: TCP Data received {"connection_id":142301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9997d3a0012d9fbbc005bf1b50001000be2b..."} 
[2026-07-25 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9997d3a0012d9fbbc005bf1b50001000be2b..."} 
[2026-07-25 19:36:00] local.INFO: Processing buffer {"connection_id":142301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9997d3a0012d9fbbc005bf1b50001000be2b..."} 
[2026-07-25 19:36:00] local.INFO: Packet analysis {"connection_id":142301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:36:00] local.INFO: Extracted packet for processing {"connection_id":142301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":765443008,"raw_latitude":96410448,"longitude_deg":76.5443008,"latitude_deg":9.6410448,"altitude":16,"angle":190,"satellites":43,"speed":39,"hex_longitude":"2d9fbbc0","hex_latitude":"05bf1b50","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957002240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358090033560813568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6936106351422433280,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784988292000,"timestamp_ms":1784988292000,"timestamp_seconds":1784988292,"priority":1,"record_length":96,"hex_timestamp":"0000019f9997d3a0"} 
[2026-07-25 19:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957002240001,"66":27376,"152":206,"83":16640,"24":39,"16":358090033560813568,"45":-6936106351422433280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957002240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:36:00] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358090033560813568,"km_value":358090033560813.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6936106351422433280,"description":"Unknown IO ID 45"} 
[2026-07-25 19:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957002240001,"power":27376,"unknown_152":206,"unknown_83":16640,"ignition":39,"odometer":null,"unknown_45":-6936106351422433280}} 
[2026-07-25 19:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":142301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:36:00] local.INFO: GPS data processed {"connection_id":142301,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:36:00] local.INFO: Acknowledgment sent {"connection_id":142301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:36:03] local.INFO: TCP Data received {"connection_id":141274,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9996aea8012d1821400721b2f00049013627..."} 
[2026-07-25 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9996aea8012d1821400721b2f00049013627..."} 
[2026-07-25 19:36:03] local.INFO: Processing buffer {"connection_id":141274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9996aea8012d1821400721b2f00049013627..."} 
[2026-07-25 19:36:03] local.INFO: Packet analysis {"connection_id":141274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9996"} 
[2026-07-25 19:36:03] local.INFO: Extracted packet for processing {"connection_id":141274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9996"} 
[2026-07-25 19:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956978176001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988217000,"timestamp_ms":1784988217000,"timestamp_seconds":1784988217,"priority":1,"record_length":96,"hex_timestamp":"0000019f9996aea8"} 
[2026-07-25 19:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 19:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956978176001,"66":12548,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956978176001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:36:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956978176001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":141274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:36:03] local.INFO: GPS data processed {"connection_id":141274,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:36:03] local.INFO: Acknowledgment sent {"connection_id":141274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:36:26] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:36:26] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:36:26] local.INFO: IMEI packet received {"connection_id":141275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":141275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:36:31] local.INFO: TCP Data received {"connection_id":142301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f9997db70012d9fbb4005bf1388001000b22b..."} 
[2026-07-25 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9997db70012d9fbb4005bf1388001000b22b..."} 
[2026-07-25 19:36:31] local.INFO: Processing buffer {"connection_id":142301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9997db70012d9fbb4005bf1388001000b22b..."} 
[2026-07-25 19:36:31] local.INFO: Packet analysis {"connection_id":142301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:36:31] local.INFO: Extracted packet for processing {"connection_id":142301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":765442880,"raw_latitude":96408456,"longitude_deg":76.544288,"latitude_deg":9.6408456,"altitude":16,"angle":178,"satellites":43,"speed":40,"hex_longitude":"2d9fbb40","hex_latitude":"05bf1388","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957002752001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358090132345061376,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6936739670120509440,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784988294000,"timestamp_ms":1784988294000,"timestamp_seconds":1784988294,"priority":1,"record_length":96,"hex_timestamp":"0000019f9997db70"} 
[2026-07-25 19:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 19:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957002752001,"66":27376,"152":206,"83":16640,"24":40,"16":358090132345061376,"45":-6936739670120509440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957002752001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358090132345061376,"km_value":358090132345061.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6936739670120509440,"description":"Unknown IO ID 45"} 
[2026-07-25 19:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957002752001,"power":27376,"unknown_152":206,"unknown_83":16640,"ignition":40,"odometer":null,"unknown_45":-6936739670120509440}} 
[2026-07-25 19:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":142301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:36:31] local.INFO: GPS data processed {"connection_id":142301,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:36:31] local.INFO: Acknowledgment sent {"connection_id":142301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:36:31] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:36:31] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:36:31] local.INFO: IMEI packet received {"connection_id":141275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":141275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:36:32] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999700b0012d1821400721b2f00049013627..."} 
[2026-07-25 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999700b0012d1821400721b2f00049013627..."} 
[2026-07-25 19:36:32] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999700b0012d1821400721b2f00049013627..."} 
[2026-07-25 19:36:32] local.INFO: Packet analysis {"connection_id":141275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:36:32] local.INFO: Extracted packet for processing {"connection_id":141275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956983552001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988238000,"timestamp_ms":1784988238000,"timestamp_seconds":1784988238,"priority":1,"record_length":96,"hex_timestamp":"0000019f999700b0"} 
[2026-07-25 19:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2576663160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2506524673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:36:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,94,159,92,45,64,178,73,37,10,66,40,184,1,240,101,227,153,33,4,113,205,20,39,239,49,2,31,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:36:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260545380877074432,"timestamp_seconds":5260545380877074.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956983552001,"66":12558,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956983552001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:36:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956983552001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":141275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:36:32] local.INFO: GPS data processed {"connection_id":141275,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:36:32] local.INFO: Acknowledgment sent {"connection_id":141275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:36:55] local.INFO: TCP Data received {"connection_id":142302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:36:55] local.INFO: Processing buffer {"connection_id":142302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:36:55] local.INFO: IMEI packet received {"connection_id":142302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":142302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:36:55] local.INFO: TCP Data received {"connection_id":142302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:36:55] local.INFO: Processing buffer {"connection_id":142302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:36:55] local.INFO: IMEI packet received {"connection_id":142302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":142302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:37:00] local.INFO: TCP Data received {"connection_id":142302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:00] local.INFO: Processing buffer {"connection_id":142302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:00] local.INFO: IMEI packet received {"connection_id":142302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":142302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:37:02] local.INFO: TCP Data received {"connection_id":142302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99990c20012d9f9c4005be04c0000e00d029..."} 
[2026-07-25 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99990c20012d9f9c4005be04c0000e00d029..."} 
[2026-07-25 19:37:02] local.INFO: Processing buffer {"connection_id":142302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99990c20012d9f9c4005be04c0000e00d029..."} 
[2026-07-25 19:37:02] local.INFO: Packet analysis {"connection_id":142302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:37:02] local.INFO: Extracted packet for processing {"connection_id":142302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:37:02] local.INFO: GPS Element Parsed {"raw_longitude":765434944,"raw_latitude":96339136,"longitude_deg":76.5434944,"latitude_deg":9.6339136,"altitude":14,"angle":208,"satellites":41,"speed":30,"hex_longitude":"2d9f9c40","hex_latitude":"05be04c0","is_valid_coordinates":true} 
[2026-07-25 19:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957022208001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358093688577982464,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6943213594602457088,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784988372000,"timestamp_ms":1784988372000,"timestamp_seconds":1784988372,"priority":1,"record_length":96,"hex_timestamp":"0000019f99990c20"} 
[2026-07-25 19:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:37: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-07-25 19:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957022208001,"66":27343,"178":206,"83":16640,"24":30,"16":358093688577982464,"45":-6943213594602457088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-25 19:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957022208001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358093688577982464,"km_value":358093688577982.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6943213594602457088,"description":"Unknown IO ID 45"} 
[2026-07-25 19:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957022208001,"power":27343,"unknown_178":206,"unknown_83":16640,"ignition":30,"odometer":null,"unknown_45":-6943213594602457088}} 
[2026-07-25 19:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":142302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:37:02] local.INFO: GPS data processed {"connection_id":142302,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:37:02] local.INFO: Acknowledgment sent {"connection_id":142302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:37:03] local.INFO: TCP Data received {"connection_id":141275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999752b8012d1821400721b2f0004901362a..."} 
[2026-07-25 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999752b8012d1821400721b2f0004901362a..."} 
[2026-07-25 19:37:03] local.INFO: Processing buffer {"connection_id":141275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999752b8012d1821400721b2f0004901362a..."} 
[2026-07-25 19:37:03] local.INFO: Packet analysis {"connection_id":141275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:37:03] local.INFO: Extracted packet for processing {"connection_id":141275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956988928001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988259000,"timestamp_ms":1784988259000,"timestamp_seconds":1784988259,"priority":1,"record_length":96,"hex_timestamp":"0000019f999752b8"} 
[2026-07-25 19:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2576684160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085424,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2511900673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,94,159,174,45,64,178,73,39,10,66,92,37,1,240,69,227,153,33,4,113,205,102,41,239,49,2,31,7,106,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:37:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260545380877074432,"timestamp_seconds":5260545380877074.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956988928001,"66":12548,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956988928001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:37:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956988928001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":141275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:37:03] local.INFO: GPS data processed {"connection_id":141275,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:37:03] local.INFO: Acknowledgment sent {"connection_id":141275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:37:24] local.INFO: TCP Data received {"connection_id":142303,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:24] local.INFO: Processing buffer {"connection_id":142303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:24] local.INFO: IMEI packet received {"connection_id":142303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":142303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:37:26] local.INFO: TCP Data received {"connection_id":142303,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:26] local.INFO: Processing buffer {"connection_id":142303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:26] local.INFO: IMEI packet received {"connection_id":142303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":142303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:37:31] local.INFO: TCP Data received {"connection_id":142303,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:31] local.INFO: Processing buffer {"connection_id":142303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:37:31] local.INFO: IMEI packet received {"connection_id":142303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":142303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:37:32] local.INFO: TCP Data received {"connection_id":142303,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9997a4c0012d1821400721b2f0004901362a..."} 
[2026-07-25 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9997a4c0012d1821400721b2f0004901362a..."} 
[2026-07-25 19:37:32] local.INFO: Processing buffer {"connection_id":142303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9997a4c0012d1821400721b2f0004901362a..."} 
[2026-07-25 19:37:32] local.INFO: Packet analysis {"connection_id":142303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:37:32] local.INFO: Extracted packet for processing {"connection_id":142303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956994304001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988280000,"timestamp_ms":1784988280000,"timestamp_seconds":1784988280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9997a4c0"} 
[2026-07-25 19:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2576705160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2517276673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:32] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,94,159,45,64,178,73,39,10,66,174,92,1,240,47,227,153,33,4,113,205,184,40,239,49,2,31,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:37:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260545393761976320,"timestamp_seconds":5260545393761976.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956994304001,"66":12548,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956994304001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:37:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956994304001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":142303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:37:32] local.INFO: GPS data processed {"connection_id":142303,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:37:32] local.INFO: Acknowledgment sent {"connection_id":142303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:37:33] local.INFO: TCP Data received {"connection_id":142302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999913f0012d9f9a4005bdff08000e00bd29..."} 
[2026-07-25 19:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999913f0012d9f9a4005bdff08000e00bd29..."} 
[2026-07-25 19:37:33] local.INFO: Processing buffer {"connection_id":142302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999913f0012d9f9a4005bdff08000e00bd29..."} 
[2026-07-25 19:37:33] local.INFO: Packet analysis {"connection_id":142302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:37:33] local.INFO: Extracted packet for processing {"connection_id":142302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":765434432,"raw_latitude":96337672,"longitude_deg":76.5434432,"latitude_deg":9.6337672,"altitude":14,"angle":189,"satellites":41,"speed":32,"hex_longitude":"2d9f9a40","hex_latitude":"05bdff08","is_valid_coordinates":true} 
[2026-07-25 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957023232001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358093761592426496,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6945606131905150976,"note":"Value kept but may cause issues"} 
[2026-07-25 19:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784988374000,"timestamp_ms":1784988374000,"timestamp_seconds":1784988374,"priority":1,"record_length":96,"hex_timestamp":"0000019f999913f0"} 
[2026-07-25 19:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957023232001,"66":27463,"178":206,"83":16640,"24":32,"16":358093761592426496,"45":-6945606131905150976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-25 19:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957023232001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:37:33] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 19:37:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358093761592426496,"km_value":358093761592426.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6945606131905150976,"description":"Unknown IO ID 45"} 
[2026-07-25 19:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957023232001,"power":27463,"unknown_178":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-6945606131905150976}} 
[2026-07-25 19:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":142302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:37:33] local.INFO: GPS data processed {"connection_id":142302,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:37:33] local.INFO: Acknowledgment sent {"connection_id":142302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:37:54] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:54] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:54] local.INFO: IMEI packet received {"connection_id":143681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":143681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:37:56] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:56] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:37:56] local.INFO: IMEI packet received {"connection_id":143681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":143681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:38:00] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:38:00] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:38:00] local.INFO: IMEI packet received {"connection_id":143681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":143681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:38:01] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99991fa8012d9f9a0005bdf538000e00b12a..."} 
[2026-07-25 19:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99991fa8012d9f9a0005bdf538000e00b12a..."} 
[2026-07-25 19:38:01] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99991fa8012d9f9a0005bdf538000e00b12a..."} 
[2026-07-25 19:38:01] local.INFO: Packet analysis {"connection_id":143681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:38:01] local.INFO: Extracted packet for processing {"connection_id":143681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:38:01] local.INFO: GPS Element Parsed {"raw_longitude":765434368,"raw_latitude":96335160,"longitude_deg":76.5434368,"latitude_deg":9.633516,"altitude":14,"angle":177,"satellites":42,"speed":34,"hex_longitude":"2d9f9a00","hex_latitude":"05bdf538","is_valid_coordinates":true} 
[2026-07-25 19:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957023744001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358093886146478080,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6946169081858947072,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988377000,"timestamp_ms":1784988377000,"timestamp_seconds":1784988377,"priority":1,"record_length":96,"hex_timestamp":"0000019f99991fa8"} 
[2026-07-25 19:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 19:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957023744001,"66":27376,"178":206,"83":16640,"24":34,"16":358093886146478080,"45":-6946169081858947072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,83,24,16,45]} 
[2026-07-25 19:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957023744001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:38:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-25 19:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358093886146478080,"km_value":358093886146478.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6946169081858947072,"description":"Unknown IO ID 45"} 
[2026-07-25 19:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957023744001,"power":27376,"unknown_178":206,"unknown_83":16640,"ignition":34,"odometer":null,"unknown_45":-6946169081858947072}} 
[2026-07-25 19:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":143681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:38:01] local.INFO: GPS data processed {"connection_id":143681,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:38:01] local.INFO: Acknowledgment sent {"connection_id":143681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:38:03] local.INFO: TCP Data received {"connection_id":142303,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9997f6c8012d1821400721b2f00049013629..."} 
[2026-07-25 19:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9997f6c8012d1821400721b2f00049013629..."} 
[2026-07-25 19:38:03] local.INFO: Processing buffer {"connection_id":142303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9997f6c8012d1821400721b2f00049013629..."} 
[2026-07-25 19:38:03] local.INFO: Packet analysis {"connection_id":142303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:38:03] local.INFO: Extracted packet for processing {"connection_id":142303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9997"} 
[2026-07-25 19:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456956999680001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988301000,"timestamp_ms":1784988301000,"timestamp_seconds":1784988301,"priority":1,"record_length":96,"hex_timestamp":"0000019f9997f6c8"} 
[2026-07-25 19:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2576726160,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2522652673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:38:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,94,159,82,45,64,178,73,42,10,66,39,174,1,240,4,227,153,33,113,205,40,239,49,2,31,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:38:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260545393761976320,"timestamp_seconds":5260545393761976.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456956999680001,"66":12526,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456956999680001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:38:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456956999680001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":142303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:38:03] local.INFO: GPS data processed {"connection_id":142303,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:38:03] local.INFO: Acknowledgment sent {"connection_id":142303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:38:26] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:38:26] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:38:26] local.INFO: IMEI packet received {"connection_id":143682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":143682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:38:31] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:38:31] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:38:31] local.INFO: IMEI packet received {"connection_id":143682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":143682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:38:32] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999848d0012d1821400721b2f0004901362a..."} 
[2026-07-25 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999848d0012d1821400721b2f0004901362a..."} 
[2026-07-25 19:38:32] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999848d0012d1821400721b2f0004901362a..."} 
[2026-07-25 19:38:32] local.INFO: Packet analysis {"connection_id":143682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9998"} 
[2026-07-25 19:38:32] local.INFO: Extracted packet for processing {"connection_id":143682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9998"} 
[2026-07-25 19:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957005056001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988322000,"timestamp_ms":1784988322000,"timestamp_seconds":1784988322,"priority":1,"record_length":96,"hex_timestamp":"0000019f999848d0"} 
[2026-07-25 19:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 19:38: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-07-25 19:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957005056001,"66":12504,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957005056001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957005056001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":143682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:38:32] local.INFO: GPS data processed {"connection_id":143682,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:38:32] local.INFO: Acknowledgment sent {"connection_id":143682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:38:32] local.INFO: TCP Data received {"connection_id":143681,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999a38e8012d9f2c8005bd1198001100ce28..."} 
[2026-07-25 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999a38e8012d9f2c8005bd1198001100ce28..."} 
[2026-07-25 19:38:32] local.INFO: Processing buffer {"connection_id":143681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999a38e8012d9f2c8005bd1198001100ce28..."} 
[2026-07-25 19:38:32] local.INFO: Packet analysis {"connection_id":143681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:38:32] local.INFO: Extracted packet for processing {"connection_id":143681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:38:32] local.INFO: GPS Element Parsed {"raw_longitude":765406336,"raw_latitude":96276888,"longitude_deg":76.5406336,"latitude_deg":9.6276888,"altitude":17,"angle":206,"satellites":40,"speed":35,"hex_longitude":"2d9f2c80","hex_latitude":"05bd1198","is_valid_coordinates":true} 
[2026-07-25 19:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957042944001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358097081602146304,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6977060960568502272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988449000,"timestamp_ms":1784988449000,"timestamp_seconds":1784988449,"priority":1,"record_length":96,"hex_timestamp":"0000019f999a38e8"} 
[2026-07-25 19:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 19:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957042944001,"66":27267,"179":206,"83":16640,"24":35,"16":358097081602146304,"45":-6977060960568502272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 19:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957042944001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358097081602146304,"km_value":358097081602146.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6977060960568502272,"description":"Unknown IO ID 45"} 
[2026-07-25 19:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957042944001,"power":27267,"unknown_179":206,"unknown_83":16640,"ignition":35,"odometer":null,"unknown_45":-6977060960568502272}} 
[2026-07-25 19:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":143681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:38:32] local.INFO: GPS data processed {"connection_id":143681,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:38:32] local.INFO: Acknowledgment sent {"connection_id":143681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:38:54] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:38:54] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:38:54] local.INFO: IMEI packet received {"connection_id":141318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":141318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:39:00] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:39:00] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:39:00] local.INFO: IMEI packet received {"connection_id":141318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":141318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:39:01] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999a5ff8012d9f1bc005bcf1b0001100cf27..."} 
[2026-07-25 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999a5ff8012d9f1bc005bcf1b0001100cf27..."} 
[2026-07-25 19:39:01] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999a5ff8012d9f1bc005bcf1b0001100cf27..."} 
[2026-07-25 19:39:01] local.INFO: Packet analysis {"connection_id":141318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:39:01] local.INFO: Extracted packet for processing {"connection_id":141318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":765402048,"raw_latitude":96268720,"longitude_deg":76.5402048,"latitude_deg":9.626872,"altitude":17,"angle":207,"satellites":39,"speed":33,"hex_longitude":"2d9f1bc0","hex_latitude":"05bcf1b0","is_valid_coordinates":true} 
[2026-07-25 19:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957042944001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358097528278745088,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6977060960568502272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988459000,"timestamp_ms":1784988459000,"timestamp_seconds":1784988459,"priority":1,"record_length":96,"hex_timestamp":"0000019f999a5ff8"} 
[2026-07-25 19:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":131,"data_length":795,"current_offset":136} 
[2026-07-25 19:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957042944001,"66":27300,"179":206,"83":16640,"24":33,"16":358097528278745088,"45":-6977060960568502272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 19:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957042944001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:39:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 19:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358097528278745088,"km_value":358097528278745.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6977060960568502272,"description":"Unknown IO ID 45"} 
[2026-07-25 19:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957042944001,"power":27300,"unknown_179":206,"unknown_83":16640,"ignition":33,"odometer":null,"unknown_45":-6977060960568502272}} 
[2026-07-25 19:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":141318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:39:01] local.INFO: GPS data processed {"connection_id":141318,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:39:01] local.INFO: Acknowledgment sent {"connection_id":141318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:39:03] local.INFO: TCP Data received {"connection_id":143682,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99989ad8012d1821400721b2f0004901362d..."} 
[2026-07-25 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99989ad8012d1821400721b2f0004901362d..."} 
[2026-07-25 19:39:03] local.INFO: Processing buffer {"connection_id":143682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99989ad8012d1821400721b2f0004901362d..."} 
[2026-07-25 19:39:03] local.INFO: Packet analysis {"connection_id":143682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9998"} 
[2026-07-25 19:39:03] local.INFO: Extracted packet for processing {"connection_id":143682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9998"} 
[2026-07-25 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957010432001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988343000,"timestamp_ms":1784988343000,"timestamp_seconds":1784988343,"priority":1,"record_length":96,"hex_timestamp":"0000019f99989ad8"} 
[2026-07-25 19:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:39: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-07-25 19:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957010432001,"66":12504,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957010432001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:39:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957010432001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":143682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:39:03] local.INFO: GPS data processed {"connection_id":143682,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:39:03] local.INFO: Acknowledgment sent {"connection_id":143682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:39:26] local.INFO: TCP Data received {"connection_id":142304,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:39:26] local.INFO: Processing buffer {"connection_id":142304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:39:26] local.INFO: IMEI packet received {"connection_id":142304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":142304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:39:31] local.INFO: TCP Data received {"connection_id":142304,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:39:31] local.INFO: Processing buffer {"connection_id":142304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:39:31] local.INFO: IMEI packet received {"connection_id":142304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":142304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:39:32] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999a8af0012d9f0a0005bcd1f0001000d127..."} 
[2026-07-25 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999a8af0012d9f0a0005bcd1f0001000d127..."} 
[2026-07-25 19:39:32] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999a8af0012d9f0a0005bcd1f0001000d127..."} 
[2026-07-25 19:39:32] local.INFO: Packet analysis {"connection_id":141318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:39:32] local.INFO: Extracted packet for processing {"connection_id":141318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":765397504,"raw_latitude":96260592,"longitude_deg":76.5397504,"latitude_deg":9.6260592,"altitude":16,"angle":209,"satellites":39,"speed":32,"hex_longitude":"2d9f0a00","hex_latitude":"05bcd1f0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957045504001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358097979250311168,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6981775666430496768,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988470000,"timestamp_ms":1784988470000,"timestamp_seconds":1784988470,"priority":1,"record_length":96,"hex_timestamp":"0000019f999a8af0"} 
[2026-07-25 19:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 19:39: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-07-25 19: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-07-25 19:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957045504001,"66":27376,"179":206,"83":16640,"24":32,"16":358097979250311168,"45":-6981775666430496768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957045504001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358097979250311168,"km_value":358097979250311.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6981775666430496768,"description":"Unknown IO ID 45"} 
[2026-07-25 19:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957045504001,"power":27376,"unknown_179":206,"unknown_83":16640,"ignition":32,"odometer":null,"unknown_45":-6981775666430496768}} 
[2026-07-25 19:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":141318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:39:32] local.INFO: GPS data processed {"connection_id":141318,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:39:32] local.INFO: Acknowledgment sent {"connection_id":141318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:39:32] local.INFO: TCP Data received {"connection_id":142304,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9998ece0012d1821400721b2f0004901362b..."} 
[2026-07-25 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9998ece0012d1821400721b2f0004901362b..."} 
[2026-07-25 19:39:32] local.INFO: Processing buffer {"connection_id":142304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9998ece0012d1821400721b2f0004901362b..."} 
[2026-07-25 19:39:32] local.INFO: Packet analysis {"connection_id":142304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9998"} 
[2026-07-25 19:39:32] local.INFO: Extracted packet for processing {"connection_id":142304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9998"} 
[2026-07-25 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957015808001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988364000,"timestamp_ms":1784988364000,"timestamp_seconds":1784988364,"priority":1,"record_length":96,"hex_timestamp":"0000019f9998ece0"} 
[2026-07-25 19:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957015808001,"66":12504,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957015808001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957015808001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":142304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:39:32] local.INFO: GPS data processed {"connection_id":142304,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:39:32] local.INFO: Acknowledgment sent {"connection_id":142304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:40:03] local.INFO: TCP Data received {"connection_id":142304,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99993ee8012d1821400721b2f0004901362b..."} 
[2026-07-25 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99993ee8012d1821400721b2f0004901362b..."} 
[2026-07-25 19:40:03] local.INFO: Processing buffer {"connection_id":142304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99993ee8012d1821400721b2f0004901362b..."} 
[2026-07-25 19:40:03] local.INFO: Packet analysis {"connection_id":142304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:40:03] local.INFO: Extracted packet for processing {"connection_id":142304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649008,"longitude_deg":75.6556096,"latitude_deg":11.9649008,"altitude":73,"angle":310,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2f0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957021184001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829232989863936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988385000,"timestamp_ms":1784988385000,"timestamp_seconds":1784988385,"priority":1,"record_length":96,"hex_timestamp":"0000019f99993ee8"} 
[2026-07-25 19:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-25 19:40: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-07-25 19: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-07-25 19:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957021184001,"66":12298,"105":206,"83":41984,"24":0,"16":8829232989863936,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957021184001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:40:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829232989863936,"km_value":8829232989863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957021184001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":142304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:40:03] local.INFO: GPS data processed {"connection_id":142304,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:40:03] local.INFO: Acknowledgment sent {"connection_id":142304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:40:05] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:05] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:05] local.INFO: IMEI packet received {"connection_id":143683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":143683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:40:06] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:06] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:06] local.INFO: IMEI packet received {"connection_id":143683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":143683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:40:10] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:10] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:10] local.INFO: IMEI packet received {"connection_id":143683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":143683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:40:11] local.INFO: TCP Data received {"connection_id":143683,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999ac588012d9ef70005bcb3d0000f00d029..."} 
[2026-07-25 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999ac588012d9ef70005bcb3d0000f00d029..."} 
[2026-07-25 19:40:11] local.INFO: Processing buffer {"connection_id":143683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999ac588012d9ef70005bcb3d0000f00d029..."} 
[2026-07-25 19:40:11] local.INFO: Packet analysis {"connection_id":143683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:40:11] local.INFO: Extracted packet for processing {"connection_id":143683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":765392640,"raw_latitude":96252880,"longitude_deg":76.539264,"latitude_deg":9.625288,"altitude":15,"angle":208,"satellites":41,"speed":16,"hex_longitude":"2d9ef700","hex_latitude":"05bcb3d0","is_valid_coordinates":true} 
[2026-07-25 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957048320001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358098421631942656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6986771847269191680,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784988485000,"timestamp_ms":1784988485000,"timestamp_seconds":1784988485,"priority":1,"record_length":96,"hex_timestamp":"0000019f999ac588"} 
[2026-07-25 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 19:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957048320001,"66":27484,"179":206,"83":16640,"24":16,"16":358098421631942656,"45":-6986771847269191680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-07-25 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957048320001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:40:11] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-25 19:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358098421631942656,"km_value":358098421631942.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6986771847269191680,"description":"Unknown IO ID 45"} 
[2026-07-25 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957048320001,"power":27484,"unknown_179":206,"unknown_83":16640,"ignition":16,"odometer":null,"unknown_45":-6986771847269191680}} 
[2026-07-25 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":143683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:40:11] local.INFO: GPS data processed {"connection_id":143683,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:40:11] local.INFO: Acknowledgment sent {"connection_id":143683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:40:24] local.INFO: TCP Data received {"connection_id":141317,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:40:24] local.INFO: Processing buffer {"connection_id":141317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:40:24] local.INFO: IMEI packet received {"connection_id":141317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":141317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:40:26] local.INFO: TCP Data received {"connection_id":143684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:40:26] local.INFO: Processing buffer {"connection_id":143684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:40:26] local.INFO: IMEI packet received {"connection_id":143684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":143684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:40:31] local.INFO: TCP Data received {"connection_id":143684,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:40:31] local.INFO: Processing buffer {"connection_id":143684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:40:31] local.INFO: IMEI packet received {"connection_id":143684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":143684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:40:32] local.INFO: TCP Data received {"connection_id":143684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999990f0012d181fc00721af880050013629..."} 
[2026-07-25 19:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999990f0012d181fc00721af880050013629..."} 
[2026-07-25 19:40:32] local.INFO: Processing buffer {"connection_id":143684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999990f0012d181fc00721af880050013629..."} 
[2026-07-25 19:40:32] local.INFO: Packet analysis {"connection_id":143684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:40:32] local.INFO: Extracted packet for processing {"connection_id":143684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648136,"longitude_deg":75.6555712,"latitude_deg":11.9648136,"altitude":80,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-07-25 19:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957026560001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829284529471488,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516045824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988406000,"timestamp_ms":1784988406000,"timestamp_seconds":1784988406,"priority":1,"record_length":96,"hex_timestamp":"0000019f999990f0"} 
[2026-07-25 19:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":10,"data_length":795,"current_offset":136} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2594073385365405697,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7379428708489291743,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513888576363626806,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":73,"raw_value":87303422268669952,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3531948890018873550,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2549532673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:40:32] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-07-25 19:40:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,94,159,236,45,64,178,73,43,10,66,154,72,1,240,216,227,153,33,4,113,205,164,42,239,49,2,31,7,39],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:40:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260545398056943616,"timestamp_seconds":5260545398056944.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957026560001,"66":12439,"105":206,"83":41984,"24":0,"16":8829284529471488,"45":1738741330516045824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957026560001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:40:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829284529471488,"km_value":8829284529471.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516045824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957026560001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516045824}} 
[2026-07-25 19:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":143684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:40:32] local.INFO: GPS data processed {"connection_id":143684,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:40:32] local.INFO: Acknowledgment sent {"connection_id":143684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:40:59] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:59] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:59] local.INFO: IMEI packet received {"connection_id":143685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":143685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:40:59] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:59] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:40:59] local.INFO: IMEI packet received {"connection_id":143685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":143685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:41:03] local.INFO: TCP Data received {"connection_id":143684,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9999e2f8012d181fc00721af88005001362a..."} 
[2026-07-25 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9999e2f8012d181fc00721af88005001362a..."} 
[2026-07-25 19:41:03] local.INFO: Processing buffer {"connection_id":143684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9999e2f8012d181fc00721af88005001362a..."} 
[2026-07-25 19:41:03] local.INFO: Packet analysis {"connection_id":143684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:41:03] local.INFO: Extracted packet for processing {"connection_id":143684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9999"} 
[2026-07-25 19:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648136,"longitude_deg":75.6555712,"latitude_deg":11.9648136,"altitude":80,"angle":310,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721af88","is_valid_coordinates":true} 
[2026-07-25 19:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957031936001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829284529471488,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050756608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988427000,"timestamp_ms":1784988427000,"timestamp_seconds":1784988427,"priority":1,"record_length":96,"hex_timestamp":"0000019f9999e2f8"} 
[2026-07-25 19:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 19:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957031936001,"66":12461,"105":206,"83":41984,"24":0,"16":8829284529471488,"45":1738319118050756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957031936001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:41:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829284529471488,"km_value":8829284529471.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050756608,"description":"Unknown IO ID 45"} 
[2026-07-25 19:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957031936001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050756608}} 
[2026-07-25 19:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":143684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:41:03] local.INFO: GPS data processed {"connection_id":143684,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:41:03] local.INFO: Acknowledgment sent {"connection_id":143684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:41:05] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:05] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:05] local.INFO: IMEI packet received {"connection_id":143685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":143685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:41:06] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999c6780012d9e188005bbc680000b00ce25..."} 
[2026-07-25 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999c6780012d9e188005bbc680000b00ce25..."} 
[2026-07-25 19:41:06] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999c6780012d9e188005bbc680000b00ce25..."} 
[2026-07-25 19:41:06] local.INFO: Packet analysis {"connection_id":143685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:41:06] local.INFO: Extracted packet for processing {"connection_id":143685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":765335680,"raw_latitude":96192128,"longitude_deg":76.533568,"latitude_deg":9.6192128,"altitude":11,"angle":206,"satellites":37,"speed":33,"hex_longitude":"2d9e1880","hex_latitude":"05bbc680","is_valid_coordinates":true} 
[2026-07-25 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957076224001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358102523325710336,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049892610811949056,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784988592000,"timestamp_ms":1784988592000,"timestamp_seconds":1784988592,"priority":1,"record_length":96,"hex_timestamp":"0000019f999c6780"} 
[2026-07-25 19:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957076224001,"66":27397,"226":206,"83":16640,"24":33,"16":358102523325710336,"45":-7049892610811949056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 19:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957076224001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:41:06] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 19:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358102523325710336,"km_value":358102523325710.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049892610811949056,"description":"Unknown IO ID 45"} 
[2026-07-25 19:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957076224001,"power":27397,"unknown_226":206,"unknown_83":16640,"ignition":33,"odometer":null,"unknown_45":-7049892610811949056}} 
[2026-07-25 19:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":143685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:41:06] local.INFO: GPS data processed {"connection_id":143685,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:41:06] local.INFO: Acknowledgment sent {"connection_id":143685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:41:27] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:27] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:27] local.INFO: IMEI packet received {"connection_id":141319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":141319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:41:31] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:31] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:31] local.INFO: IMEI packet received {"connection_id":141319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":141319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:41:36] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:36] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:41:36] local.INFO: IMEI packet received {"connection_id":141319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":141319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:41:37] local.INFO: TCP Data received {"connection_id":143685,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999c8e90012d9e088005bba700000a00cb29..."} 
[2026-07-25 19:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999c8e90012d9e088005bba700000a00cb29..."} 
[2026-07-25 19:41:37] local.INFO: Processing buffer {"connection_id":143685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999c8e90012d9e088005bba700000a00cb29..."} 
[2026-07-25 19:41:37] local.INFO: Packet analysis {"connection_id":143685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:41:37] local.INFO: Extracted packet for processing {"connection_id":143685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":765331584,"raw_latitude":96184064,"longitude_deg":76.5331584,"latitude_deg":9.6184064,"altitude":10,"angle":203,"satellites":41,"speed":39,"hex_longitude":"2d9e0880","hex_latitude":"05bba700","is_valid_coordinates":true} 
[2026-07-25 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957079552001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358102961412374528,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7054748054162341888,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784988602000,"timestamp_ms":1784988602000,"timestamp_seconds":1784988602,"priority":1,"record_length":96,"hex_timestamp":"0000019f999c8e90"} 
[2026-07-25 19:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957079552001,"66":27365,"226":206,"83":16640,"24":39,"16":358102961412374528,"45":-7054748054162341888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957079552001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358102961412374528,"km_value":358102961412374.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7054748054162341888,"description":"Unknown IO ID 45"} 
[2026-07-25 19:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957079552001,"power":27365,"unknown_226":206,"unknown_83":16640,"ignition":39,"odometer":null,"unknown_45":-7054748054162341888}} 
[2026-07-25 19:41:37] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999a11d8012d181e800721add8004f00d829..."} 
[2026-07-25 19:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999a11d8012d181e800721add8004f00d829..."} 
[2026-07-25 19:41:37] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999a11d8012d181e800721add8004f00d829..."} 
[2026-07-25 19:41:37] local.INFO: Packet analysis {"connection_id":141319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:41:37] local.INFO: Extracted packet for processing {"connection_id":141319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647704,"longitude_deg":75.6555392,"latitude_deg":11.9647704,"altitude":79,"angle":216,"satellites":41,"speed":1,"hex_longitude":"2d181e80","hex_latitude":"0721add8","is_valid_coordinates":true} 
[2026-07-25 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957037312001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829310299275264,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050756608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784988439000,"timestamp_ms":1784988439000,"timestamp_seconds":1784988439,"priority":1,"record_length":96,"hex_timestamp":"0000019f999a11d8"} 
[2026-07-25 19:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":143685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:41:37] local.INFO: GPS data processed {"connection_id":143685,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:41:37] local.INFO: Acknowledgment sent {"connection_id":143685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957037312001,"66":12461,"105":206,"83":41984,"24":1,"16":8829310299275264,"45":1738319118050756608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957037312001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829310299275264,"km_value":8829310299275.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050756608,"description":"Unknown IO ID 45"} 
[2026-07-25 19:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957037312001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738319118050756608}} 
[2026-07-25 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":141319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:41:37] local.INFO: GPS data processed {"connection_id":141319,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:41:37] local.INFO: Acknowledgment sent {"connection_id":141319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:41:41] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999a63e0012d181e400721ad68004f00d929..."} 
[2026-07-25 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999a63e0012d181e400721ad68004f00d929..."} 
[2026-07-25 19:41:41] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999a63e0012d181e400721ad68004f00d929..."} 
[2026-07-25 19:41:41] local.INFO: Packet analysis {"connection_id":141319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:41:41] local.INFO: Extracted packet for processing {"connection_id":141319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957040384001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329757696,"note":"Value kept but may cause issues"} 
[2026-07-25 19:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784988460000,"timestamp_ms":1784988460000,"timestamp_seconds":1784988460,"priority":1,"record_length":96,"hex_timestamp":"0000019f999a63e0"} 
[2026-07-25 19:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957040384001,"66":12461,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737967274329757696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957040384001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:41:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329757696,"description":"Unknown IO ID 45"} 
[2026-07-25 19:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957040384001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329757696}} 
[2026-07-25 19:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":141319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:41:41] local.INFO: GPS data processed {"connection_id":141319,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:41:41] local.INFO: Acknowledgment sent {"connection_id":141319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:41:52] local.INFO: TCP Data received {"connection_id":142305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:52] local.INFO: Processing buffer {"connection_id":142305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:52] local.INFO: IMEI packet received {"connection_id":142305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":142305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:41:55] local.INFO: TCP Data received {"connection_id":142305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:55] local.INFO: Processing buffer {"connection_id":142305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:55] local.INFO: IMEI packet received {"connection_id":142305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":142305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:41:59] local.INFO: TCP Data received {"connection_id":142305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:59] local.INFO: Processing buffer {"connection_id":142305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:41:59] local.INFO: IMEI packet received {"connection_id":142305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":142305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:42:00] local.INFO: TCP Data received {"connection_id":142305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999cb1b8012d9dfbc005bb85a8000900c52a..."} 
[2026-07-25 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999cb1b8012d9dfbc005bb85a8000900c52a..."} 
[2026-07-25 19:42:00] local.INFO: Processing buffer {"connection_id":142305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999cb1b8012d9dfbc005bb85a8000900c52a..."} 
[2026-07-25 19:42:00] local.INFO: Packet analysis {"connection_id":142305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:42:00] local.INFO: Extracted packet for processing {"connection_id":142305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":765328320,"raw_latitude":96175528,"longitude_deg":76.532832,"latitude_deg":9.6175528,"altitude":9,"angle":197,"satellites":42,"speed":40,"hex_longitude":"2d9dfbc0","hex_latitude":"05bb85a8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957082112001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358103403794006016,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059251653791776768,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784988611000,"timestamp_ms":1784988611000,"timestamp_seconds":1784988611,"priority":1,"record_length":96,"hex_timestamp":"0000019f999cb1b8"} 
[2026-07-25 19:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957082112001,"66":27343,"226":206,"83":16640,"24":40,"16":358103403794006016,"45":-7059251653791776768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 19:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957082112001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:42:00] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 19:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358103403794006016,"km_value":358103403794006.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059251653791776768,"description":"Unknown IO ID 45"} 
[2026-07-25 19:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957082112001,"power":27343,"unknown_226":206,"unknown_83":16640,"ignition":40,"odometer":null,"unknown_45":-7059251653791776768}} 
[2026-07-25 19:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":142305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:42:00] local.INFO: GPS data processed {"connection_id":142305,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:42:00] local.INFO: Acknowledgment sent {"connection_id":142305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:42:26] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:42:26] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:42:26] local.INFO: IMEI packet received {"connection_id":143686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":143686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:42:30] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:42:30] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:42:30] local.INFO: IMEI packet received {"connection_id":143686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":143686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:42:31] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999ab5e8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999ab5e8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:42:31] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999ab5e8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:42:31] local.INFO: Packet analysis {"connection_id":143686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:42:31] local.INFO: Extracted packet for processing {"connection_id":143686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999a"} 
[2026-07-25 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957045760001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784988481000,"timestamp_ms":1784988481000,"timestamp_seconds":1784988481,"priority":1,"record_length":96,"hex_timestamp":"0000019f999ab5e8"} 
[2026-07-25 19:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 19:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957045760001,"66":12406,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957045760001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957045760001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":143686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:42:31] local.INFO: GPS data processed {"connection_id":143686,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:42:31] local.INFO: Acknowledgment sent {"connection_id":143686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:42:32] local.INFO: TCP Data received {"connection_id":142305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999cd8c8012d9df2c005bb60a8000a00bf2a..."} 
[2026-07-25 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999cd8c8012d9df2c005bb60a8000a00bf2a..."} 
[2026-07-25 19:42:32] local.INFO: Processing buffer {"connection_id":142305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999cd8c8012d9df2c005bb60a8000a00bf2a..."} 
[2026-07-25 19:42:32] local.INFO: Packet analysis {"connection_id":142305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:42:32] local.INFO: Extracted packet for processing {"connection_id":142305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999c"} 
[2026-07-25 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":765326016,"raw_latitude":96166056,"longitude_deg":76.5326016,"latitude_deg":9.6166056,"altitude":10,"angle":191,"satellites":42,"speed":38,"hex_longitude":"2d9df2c0","hex_latitude":"05bb60a8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957084416001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358103876240408576,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7062840459747022848,"note":"Value kept but may cause issues"} 
[2026-07-25 19:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988621000,"timestamp_ms":1784988621000,"timestamp_seconds":1784988621,"priority":1,"record_length":96,"hex_timestamp":"0000019f999cd8c8"} 
[2026-07-25 19:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957084416001,"66":27332,"226":206,"83":16640,"24":38,"16":358103876240408576,"45":-7062840459747022848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 19:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957084416001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:42:32] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 19:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358103876240408576,"km_value":358103876240408.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7062840459747022848,"description":"Unknown IO ID 45"} 
[2026-07-25 19:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957084416001,"power":27332,"unknown_226":206,"unknown_83":16640,"ignition":38,"odometer":null,"unknown_45":-7062840459747022848}} 
[2026-07-25 19:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":142305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:42:32] local.INFO: GPS data processed {"connection_id":142305,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:42:32] local.INFO: Acknowledgment sent {"connection_id":142305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:42:55] local.INFO: TCP Data received {"connection_id":142306,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:42:55] local.INFO: Processing buffer {"connection_id":142306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:42:55] local.INFO: IMEI packet received {"connection_id":142306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":142306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:43:00] local.INFO: TCP Data received {"connection_id":142306,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:00] local.INFO: Processing buffer {"connection_id":142306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:00] local.INFO: IMEI packet received {"connection_id":142306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":142306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:43:01] local.INFO: TCP Data received {"connection_id":142306,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999e5b80012d9e124005ba7140000c00bf29..."} 
[2026-07-25 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999e5b80012d9e124005ba7140000c00bf29..."} 
[2026-07-25 19:43:01] local.INFO: Processing buffer {"connection_id":142306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999e5b80012d9e124005ba7140000c00bf29..."} 
[2026-07-25 19:43:01] local.INFO: Packet analysis {"connection_id":142306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:43:01] local.INFO: Extracted packet for processing {"connection_id":142306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":765334080,"raw_latitude":96104768,"longitude_deg":76.533408,"latitude_deg":9.6104768,"altitude":12,"angle":191,"satellites":41,"speed":25,"hex_longitude":"2d9e1240","hex_latitude":"05ba7140","is_valid_coordinates":true} 
[2026-07-25 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957110784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358106990091698176,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055873954090516480,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988720000,"timestamp_ms":1784988720000,"timestamp_seconds":1784988720,"priority":1,"record_length":96,"hex_timestamp":"0000019f999e5b80"} 
[2026-07-25 19:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 19:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957110784001,"66":27332,"207":206,"83":16640,"24":25,"16":358106990091698176,"45":-7055873954090516480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-07-25 19:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957110784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:43:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 19:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358106990091698176,"km_value":358106990091698.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055873954090516480,"description":"Unknown IO ID 45"} 
[2026-07-25 19:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957110784001,"power":27332,"unknown_207":206,"unknown_83":16640,"ignition":25,"odometer":null,"unknown_45":-7055873954090516480}} 
[2026-07-25 19:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":142306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:43:01] local.INFO: GPS data processed {"connection_id":142306,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:43:01] local.INFO: Acknowledgment sent {"connection_id":142306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:43:02] local.INFO: TCP Data received {"connection_id":143686,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999b07f0012d181e400721ad68004f00d928..."} 
[2026-07-25 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999b07f0012d181e400721ad68004f00d928..."} 
[2026-07-25 19:43:02] local.INFO: Processing buffer {"connection_id":143686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999b07f0012d181e400721ad68004f00d928..."} 
[2026-07-25 19:43:02] local.INFO: Packet analysis {"connection_id":143686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999b"} 
[2026-07-25 19:43:02] local.INFO: Extracted packet for processing {"connection_id":143686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999b"} 
[2026-07-25 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957051136001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784988502000,"timestamp_ms":1784988502000,"timestamp_seconds":1784988502,"priority":1,"record_length":96,"hex_timestamp":"0000019f999b07f0"} 
[2026-07-25 19:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 19:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957051136001,"66":12385,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957051136001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957051136001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":143686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:43:02] local.INFO: GPS data processed {"connection_id":143686,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:43:02] local.INFO: Acknowledgment sent {"connection_id":143686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:43:26] local.INFO: TCP Data received {"connection_id":143687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:43:26] local.INFO: Processing buffer {"connection_id":143687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:43:26] local.INFO: IMEI packet received {"connection_id":143687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":143687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:43:31] local.INFO: TCP Data received {"connection_id":143687,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:43:31] local.INFO: Processing buffer {"connection_id":143687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:43:31] local.INFO: IMEI packet received {"connection_id":143687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":143687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:43:32] local.INFO: TCP Data received {"connection_id":143687,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999b59f8012d181e400721ad68004f00d927..."} 
[2026-07-25 19:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999b59f8012d181e400721ad68004f00d927..."} 
[2026-07-25 19:43:32] local.INFO: Processing buffer {"connection_id":143687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999b59f8012d181e400721ad68004f00d927..."} 
[2026-07-25 19:43:32] local.INFO: Packet analysis {"connection_id":143687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999b"} 
[2026-07-25 19:43:32] local.INFO: Extracted packet for processing {"connection_id":143687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999b"} 
[2026-07-25 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957056512001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988523000,"timestamp_ms":1784988523000,"timestamp_seconds":1784988523,"priority":1,"record_length":96,"hex_timestamp":"0000019f999b59f8"} 
[2026-07-25 19:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 19:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957056512001,"66":12439,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957056512001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957056512001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:43:32] local.INFO: TCP Data received {"connection_id":142306,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999e6738012d9e100005ba69f8000b00ce25..."} 
[2026-07-25 19:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999e6738012d9e100005ba69f8000b00ce25..."} 
[2026-07-25 19:43:32] local.INFO: Processing buffer {"connection_id":142306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999e6738012d9e100005ba69f8000b00ce25..."} 
[2026-07-25 19:43:32] local.INFO: Packet analysis {"connection_id":142306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:43:32] local.INFO: Extracted packet for processing {"connection_id":142306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":765333504,"raw_latitude":96102904,"longitude_deg":76.5333504,"latitude_deg":9.6102904,"altitude":11,"angle":206,"satellites":37,"speed":27,"hex_longitude":"2d9e1000","hex_latitude":"05ba69f8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957112320001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358107084580978688,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056507272789147648,"note":"Value kept but may cause issues"} 
[2026-07-25 19:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988723000,"timestamp_ms":1784988723000,"timestamp_seconds":1784988723,"priority":1,"record_length":96,"hex_timestamp":"0000019f999e6738"} 
[2026-07-25 19:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 19:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957112320001,"66":27365,"207":206,"83":16640,"24":27,"16":358107084580978688,"45":-7056507272789147648},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-07-25 19:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957112320001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358107084580978688,"km_value":358107084580978.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056507272789147648,"description":"Unknown IO ID 45"} 
[2026-07-25 19:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957112320001,"power":27365,"unknown_207":206,"unknown_83":16640,"ignition":27,"odometer":null,"unknown_45":-7056507272789147648}} 
[2026-07-25 19:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":143687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:43:32] local.INFO: GPS data processed {"connection_id":143687,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:43:32] local.INFO: Acknowledgment sent {"connection_id":143687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":142306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:43:32] local.INFO: GPS data processed {"connection_id":142306,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:43:32] local.INFO: Acknowledgment sent {"connection_id":142306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:43:54] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:54] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:54] local.INFO: IMEI packet received {"connection_id":141321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":141321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:43:55] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:55] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:43:55] local.INFO: IMEI packet received {"connection_id":141321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":141321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:44:00] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:00] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:00] local.INFO: IMEI packet received {"connection_id":141321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":141321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:44:01] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999e9230012d9dff4005ba4b10000c00d126..."} 
[2026-07-25 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999e9230012d9dff4005ba4b10000c00d126..."} 
[2026-07-25 19:44:01] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999e9230012d9dff4005ba4b10000c00d126..."} 
[2026-07-25 19:44:01] local.INFO: Packet analysis {"connection_id":141321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:44:01] local.INFO: Extracted packet for processing {"connection_id":141321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":765329216,"raw_latitude":96094992,"longitude_deg":76.5329216,"latitude_deg":9.6094992,"altitude":12,"angle":209,"satellites":38,"speed":34,"hex_longitude":"2d9dff40","hex_latitude":"05ba4b10","is_valid_coordinates":true} 
[2026-07-25 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957113088001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358107522667642880,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7057140591487223808,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988734000,"timestamp_ms":1784988734000,"timestamp_seconds":1784988734,"priority":1,"record_length":96,"hex_timestamp":"0000019f999e9230"} 
[2026-07-25 19:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957113088001,"66":27343,"207":206,"83":16640,"24":34,"16":358107522667642880,"45":-7057140591487223808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-07-25 19:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957113088001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:44:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 19:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358107522667642880,"km_value":358107522667642.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7057140591487223808,"description":"Unknown IO ID 45"} 
[2026-07-25 19:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957113088001,"power":27343,"unknown_207":206,"unknown_83":16640,"ignition":34,"odometer":null,"unknown_45":-7057140591487223808}} 
[2026-07-25 19:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":141321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:44:01] local.INFO: GPS data processed {"connection_id":141321,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:44:01] local.INFO: Acknowledgment sent {"connection_id":141321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:44:03] local.INFO: TCP Data received {"connection_id":143687,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999ee050012d181e400721ad68004f00d928..."} 
[2026-07-25 19:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999ee050012d181e400721ad68004f00d928..."} 
[2026-07-25 19:44:03] local.INFO: Processing buffer {"connection_id":143687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999ee050012d181e400721ad68004f00d928..."} 
[2026-07-25 19:44:03] local.INFO: Packet analysis {"connection_id":143687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:44:03] local.INFO: Extracted packet for processing {"connection_id":143687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957115648001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988754000,"timestamp_ms":1784988754000,"timestamp_seconds":1784988754,"priority":1,"record_length":96,"hex_timestamp":"0000019f999ee050"} 
[2026-07-25 19:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 19:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957115648001,"66":12385,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957115648001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:44:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957115648001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":143687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:44:03] local.INFO: GPS data processed {"connection_id":143687,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:44:03] local.INFO: Acknowledgment sent {"connection_id":143687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:44:26] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:44:26] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:44:26] local.INFO: IMEI packet received {"connection_id":141322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":141322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:44:31] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:44:31] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:44:31] local.INFO: IMEI packet received {"connection_id":141322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":141322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:44:32] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999f3258012d181e400721ad68004f00d929..."} 
[2026-07-25 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999f3258012d181e400721ad68004f00d929..."} 
[2026-07-25 19:44:32] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999f3258012d181e400721ad68004f00d929..."} 
[2026-07-25 19:44:32] local.INFO: Packet analysis {"connection_id":141322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999f"} 
[2026-07-25 19:44:32] local.INFO: Extracted packet for processing {"connection_id":141322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999f"} 
[2026-07-25 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957121024001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988775000,"timestamp_ms":1784988775000,"timestamp_seconds":1784988775,"priority":1,"record_length":96,"hex_timestamp":"0000019f999f3258"} 
[2026-07-25 19:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 19:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957121024001,"66":12298,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957121024001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957121024001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":141322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:44:32] local.INFO: GPS data processed {"connection_id":141322,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:44:32] local.INFO: Acknowledgment sent {"connection_id":141322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:44:32] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999eb940012d9dee0005ba2cb8000b00d128..."} 
[2026-07-25 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999eb940012d9dee0005ba2cb8000b00d128..."} 
[2026-07-25 19:44:32] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999eb940012d9dee0005ba2cb8000b00d128..."} 
[2026-07-25 19:44:32] local.INFO: Packet analysis {"connection_id":141321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:44:32] local.INFO: Extracted packet for processing {"connection_id":141321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":765324800,"raw_latitude":96087224,"longitude_deg":76.53248,"latitude_deg":9.6087224,"altitude":11,"angle":209,"satellites":40,"speed":35,"hex_longitude":"2d9dee00","hex_latitude":"05ba2cb8","is_valid_coordinates":true} 
[2026-07-25 19:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957115904001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358107952164372480,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7061855297349152768,"note":"Value kept but may cause issues"} 
[2026-07-25 19:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988744000,"timestamp_ms":1784988744000,"timestamp_seconds":1784988744,"priority":1,"record_length":96,"hex_timestamp":"0000019f999eb940"} 
[2026-07-25 19:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957115904001,"66":27213,"207":206,"83":16640,"24":35,"16":358107952164372480,"45":-7061855297349152768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-07-25 19:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957115904001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358107952164372480,"km_value":358107952164372.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7061855297349152768,"description":"Unknown IO ID 45"} 
[2026-07-25 19:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957115904001,"power":27213,"unknown_207":206,"unknown_83":16640,"ignition":35,"odometer":null,"unknown_45":-7061855297349152768}} 
[2026-07-25 19:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":141321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:44:32] local.INFO: GPS data processed {"connection_id":141321,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:44:32] local.INFO: Acknowledgment sent {"connection_id":141321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:44:54] local.INFO: TCP Data received {"connection_id":141323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:54] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:54] local.INFO: IMEI packet received {"connection_id":141323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":141323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:44:56] local.INFO: TCP Data received {"connection_id":141323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:56] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:44:56] local.INFO: IMEI packet received {"connection_id":141323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":141323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:45:00] local.INFO: TCP Data received {"connection_id":141323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:45:00] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:45:00] local.INFO: IMEI packet received {"connection_id":141323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":141323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:45:01] local.INFO: TCP Data received {"connection_id":141323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f999ee820012d9ddcc005ba0e38000c00d227..."} 
[2026-07-25 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999ee820012d9ddcc005ba0e38000c00d227..."} 
[2026-07-25 19:45:01] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999ee820012d9ddcc005ba0e38000c00d227..."} 
[2026-07-25 19:45:01] local.INFO: Packet analysis {"connection_id":141323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:45:01] local.INFO: Extracted packet for processing {"connection_id":141323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999e"} 
[2026-07-25 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765320384,"raw_latitude":96079416,"longitude_deg":76.5320384,"latitude_deg":9.6079416,"altitude":12,"angle":210,"satellites":39,"speed":28,"hex_longitude":"2d9ddcc0","hex_latitude":"05ba0e38","is_valid_coordinates":true} 
[2026-07-25 19:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957118464001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358108385956069376,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7066710740699400192,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988756000,"timestamp_ms":1784988756000,"timestamp_seconds":1784988756,"priority":1,"record_length":96,"hex_timestamp":"0000019f999ee820"} 
[2026-07-25 19:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 19:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957118464001,"66":27397,"174":206,"83":16640,"24":28,"16":358108385956069376,"45":-7066710740699400192},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,83,24,16,45]} 
[2026-07-25 19:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957118464001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358108385956069376,"km_value":358108385956069.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7066710740699400192,"description":"Unknown IO ID 45"} 
[2026-07-25 19:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957118464001,"power":27397,"unknown_174":206,"unknown_83":16640,"ignition":28,"odometer":null,"unknown_45":-7066710740699400192}} 
[2026-07-25 19:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":141323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:45:01] local.INFO: GPS data processed {"connection_id":141323,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:45:01] local.INFO: Acknowledgment sent {"connection_id":141323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:45:03] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999f8460012d181e400721ad68004f00d929..."} 
[2026-07-25 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999f8460012d181e400721ad68004f00d929..."} 
[2026-07-25 19:45:03] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999f8460012d181e400721ad68004f00d929..."} 
[2026-07-25 19:45:03] local.INFO: Packet analysis {"connection_id":141322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999f"} 
[2026-07-25 19:45:03] local.INFO: Extracted packet for processing {"connection_id":141322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999f"} 
[2026-07-25 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957126400001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988796000,"timestamp_ms":1784988796000,"timestamp_seconds":1784988796,"priority":1,"record_length":96,"hex_timestamp":"0000019f999f8460"} 
[2026-07-25 19:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3963167672086036481,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7377753671243851746,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513882494690328793,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":79,"raw_value":61122950899695616,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2649372673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2909274191,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:45:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,94,159,224,45,64,173,79,40,10,66,142,39,60,1,240,97,227,153,33,4,113,205,152,30,104,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-07-25 19:45:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692788699113193472,"timestamp_seconds":5692788699113193.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957126400001,"66":12374,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957126400001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:45:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957126400001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":141322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:45:03] local.INFO: GPS data processed {"connection_id":141322,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:45:03] local.INFO: Acknowledgment sent {"connection_id":141322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:45:26] local.INFO: TCP Data received {"connection_id":141276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:45:26] local.INFO: Processing buffer {"connection_id":141276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:45:26] local.INFO: IMEI packet received {"connection_id":141276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":141276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:45:31] local.INFO: TCP Data received {"connection_id":141276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:45:31] local.INFO: Processing buffer {"connection_id":141276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:45:31] local.INFO: IMEI packet received {"connection_id":141276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":141276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:45:32] local.INFO: TCP Data received {"connection_id":141276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f999fd668012d181e400721ad68004f00d927..."} 
[2026-07-25 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f999fd668012d181e400721ad68004f00d927..."} 
[2026-07-25 19:45:32] local.INFO: Processing buffer {"connection_id":141276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f999fd668012d181e400721ad68004f00d927..."} 
[2026-07-25 19:45:32] local.INFO: Packet analysis {"connection_id":141276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f999f"} 
[2026-07-25 19:45:32] local.INFO: Extracted packet for processing {"connection_id":141276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f999f"} 
[2026-07-25 19:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957131776001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988817000,"timestamp_ms":1784988817000,"timestamp_seconds":1784988817,"priority":1,"record_length":96,"hex_timestamp":"0000019f999fd668"} 
[2026-07-25 19:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957131776001,"66":12374,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957131776001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957131776001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":141276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:45:32] local.INFO: GPS data processed {"connection_id":141276,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:45:32] local.INFO: Acknowledgment sent {"connection_id":141276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:45:32] local.INFO: TCP Data received {"connection_id":141323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a0c4b0012d9dc50005b8df70000f00e026..."} 
[2026-07-25 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a0c4b0012d9dc50005b8df70000f00e026..."} 
[2026-07-25 19:45:32] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a0c4b0012d9dc50005b8df70000f00e026..."} 
[2026-07-25 19:45:32] local.INFO: Packet analysis {"connection_id":141323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:45:32] local.INFO: Extracted packet for processing {"connection_id":141323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765314304,"raw_latitude":96001904,"longitude_deg":76.5314304,"latitude_deg":9.6001904,"altitude":15,"angle":224,"satellites":38,"speed":27,"hex_longitude":"2d9dc500","hex_latitude":"05b8df70","is_valid_coordinates":true} 
[2026-07-25 19:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957152000001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358112255721603072,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7076984577370748928,"note":"Value kept but may cause issues"} 
[2026-07-25 19:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988878000,"timestamp_ms":1784988878000,"timestamp_seconds":1784988878,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a0c4b0"} 
[2026-07-25 19:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 19:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957152000001,"66":27234,"152":206,"83":16640,"24":27,"16":358112255721603072,"45":-7076984577370748928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957152000001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358112255721603072,"km_value":358112255721603.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7076984577370748928,"description":"Unknown IO ID 45"} 
[2026-07-25 19:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957152000001,"power":27234,"unknown_152":206,"unknown_83":16640,"ignition":27,"odometer":null,"unknown_45":-7076984577370748928}} 
[2026-07-25 19:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":141323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:45:32] local.INFO: GPS data processed {"connection_id":141323,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:45:32] local.INFO: Acknowledgment sent {"connection_id":141323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:45:59] local.INFO: TCP Data received {"connection_id":141320,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:45:59] local.INFO: Processing buffer {"connection_id":141320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:45:59] local.INFO: IMEI packet received {"connection_id":141320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":141320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:45:59] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:45:59] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:45:59] local.INFO: IMEI packet received {"connection_id":141277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":141277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:46:00] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:00] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:00] local.INFO: IMEI packet received {"connection_id":141277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":141277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:46:01] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a0d068012d9dbec005b8da50000f00f226..."} 
[2026-07-25 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a0d068012d9dbec005b8da50000f00f226..."} 
[2026-07-25 19:46:01] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a0d068012d9dbec005b8da50000f00f226..."} 
[2026-07-25 19:46:01] local.INFO: Packet analysis {"connection_id":141277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:01] local.INFO: Extracted packet for processing {"connection_id":141277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":765312704,"raw_latitude":96000592,"longitude_deg":76.5312704,"latitude_deg":9.6000592,"altitude":15,"angle":242,"satellites":38,"speed":25,"hex_longitude":"2d9dbec0","hex_latitude":"05b8da50","is_valid_coordinates":true} 
[2026-07-25 19:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957152768001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358112354505850880,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7078251214766379008,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784988881000,"timestamp_ms":1784988881000,"timestamp_seconds":1784988881,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a0d068"} 
[2026-07-25 19:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 19:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957152768001,"66":27463,"152":206,"83":16640,"24":25,"16":358112354505850880,"45":-7078251214766379008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957152768001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:46:01] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358112354505850880,"km_value":358112354505850.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7078251214766379008,"description":"Unknown IO ID 45"} 
[2026-07-25 19:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957152768001,"power":27463,"unknown_152":206,"unknown_83":16640,"ignition":25,"odometer":null,"unknown_45":-7078251214766379008}} 
[2026-07-25 19:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":141277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:46:01] local.INFO: GPS data processed {"connection_id":141277,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:46:01] local.INFO: Acknowledgment sent {"connection_id":141277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:46:03] local.INFO: TCP Data received {"connection_id":141276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a02870012d181e400721ad68004f00d92b..."} 
[2026-07-25 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a02870012d181e400721ad68004f00d92b..."} 
[2026-07-25 19:46:03] local.INFO: Processing buffer {"connection_id":141276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a02870012d181e400721ad68004f00d92b..."} 
[2026-07-25 19:46:03] local.INFO: Packet analysis {"connection_id":141276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:03] local.INFO: Extracted packet for processing {"connection_id":141276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957137152001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988838000,"timestamp_ms":1784988838000,"timestamp_seconds":1784988838,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a02870"} 
[2026-07-25 19:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957137152001,"66":12374,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957137152001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957137152001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":141276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:46:03] local.INFO: GPS data processed {"connection_id":141276,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:46:03] local.INFO: Acknowledgment sent {"connection_id":141276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:46:06] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a0e008012d9db58005b8d708001000ff24..."} 
[2026-07-25 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a0e008012d9db58005b8d708001000ff24..."} 
[2026-07-25 19:46:06] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a0e008012d9db58005b8d708001000ff24..."} 
[2026-07-25 19:46:06] local.INFO: Packet analysis {"connection_id":141277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:06] local.INFO: Extracted packet for processing {"connection_id":141277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":765310336,"raw_latitude":95999752,"longitude_deg":76.5310336,"latitude_deg":9.5999752,"altitude":16,"angle":255,"satellites":36,"speed":22,"hex_longitude":"2d9db580","hex_latitude":"05b8d708","is_valid_coordinates":true} 
[2026-07-25 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957153536001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358112474764935168,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7080010433371156480,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784988885000,"timestamp_ms":1784988885000,"timestamp_seconds":1784988885,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a0e008"} 
[2026-07-25 19:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 19:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957153536001,"66":27245,"152":206,"83":16640,"24":22,"16":358112474764935168,"45":-7080010433371156480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957153536001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:46:06] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358112474764935168,"km_value":358112474764935.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7080010433371156480,"description":"Unknown IO ID 45"} 
[2026-07-25 19:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957153536001,"power":27245,"unknown_152":206,"unknown_83":16640,"ignition":22,"odometer":null,"unknown_45":-7080010433371156480}} 
[2026-07-25 19:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":141277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:46:06] local.INFO: GPS data processed {"connection_id":141277,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:46:06] local.INFO: Acknowledgment sent {"connection_id":141277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:46:26] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:46:26] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:46:26] local.INFO: IMEI packet received {"connection_id":141324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":141324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:46:31] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:46:31] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:46:31] local.INFO: IMEI packet received {"connection_id":141324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":141324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:46:32] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a07a78012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a07a78012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:46:32] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a07a78012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:46:32] local.INFO: Packet analysis {"connection_id":141324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:32] local.INFO: Extracted packet for processing {"connection_id":141324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957142528001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988859000,"timestamp_ms":1784988859000,"timestamp_seconds":1784988859,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a07a78"} 
[2026-07-25 19:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 19:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957142528001,"66":12341,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957142528001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:46:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957142528001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":141324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:46:32] local.INFO: GPS data processed {"connection_id":141324,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:46:32] local.INFO: Acknowledgment sent {"connection_id":141324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:46:37] local.INFO: TCP Data received {"connection_id":141277,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a13210012d9d950005b8cfa0000f00fc29..."} 
[2026-07-25 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a13210012d9d950005b8cfa0000f00fc29..."} 
[2026-07-25 19:46:37] local.INFO: Processing buffer {"connection_id":141277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a13210012d9d950005b8cfa0000f00fc29..."} 
[2026-07-25 19:46:37] local.INFO: Packet analysis {"connection_id":141277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:46:37] local.INFO: Extracted packet for processing {"connection_id":141277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":765302016,"raw_latitude":95997856,"longitude_deg":76.5302016,"latitude_deg":9.5997856,"altitude":15,"angle":252,"satellites":41,"speed":15,"hex_longitude":"2d9d9500","hex_latitude":"05b8cfa0","is_valid_coordinates":true} 
[2026-07-25 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957154560001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358112882786828288,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7082614076905945088,"note":"Value kept but may cause issues"} 
[2026-07-25 19:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784988906000,"timestamp_ms":1784988906000,"timestamp_seconds":1784988906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a13210"} 
[2026-07-25 19:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 19:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957154560001,"66":27365,"152":206,"83":16640,"24":15,"16":358112882786828288,"45":-7082614076905945088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957154560001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:46:37] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358112882786828288,"km_value":358112882786828.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7082614076905945088,"description":"Unknown IO ID 45"} 
[2026-07-25 19:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957154560001,"power":27365,"unknown_152":206,"unknown_83":16640,"ignition":15,"odometer":null,"unknown_45":-7082614076905945088}} 
[2026-07-25 19:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":141277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:46:37] local.INFO: GPS data processed {"connection_id":141277,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:46:37] local.INFO: Acknowledgment sent {"connection_id":141277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:46:55] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:55] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:55] local.INFO: IMEI packet received {"connection_id":141278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":141278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:46:55] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:55] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:55] local.INFO: IMEI packet received {"connection_id":141278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":141278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:46:59] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:59] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:46:59] local.INFO: IMEI packet received {"connection_id":141278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":141278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:47:00] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a17090012d9d8c0005b8cbb0000e00f129..."} 
[2026-07-25 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a17090012d9d8c0005b8cbb0000e00f129..."} 
[2026-07-25 19:47:00] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a17090012d9d8c0005b8cbb0000e00f129..."} 
[2026-07-25 19:47:00] local.INFO: Packet analysis {"connection_id":141278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:00] local.INFO: Extracted packet for processing {"connection_id":141278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":765299712,"raw_latitude":95996848,"longitude_deg":76.5299712,"latitude_deg":9.5996848,"altitude":14,"angle":241,"satellites":41,"speed":10,"hex_longitude":"2d9d8c00","hex_latitude":"05b8cbb0","is_valid_coordinates":true} 
[2026-07-25 19:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957159936001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358113007340879872,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7091762013649526784,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784988922000,"timestamp_ms":1784988922000,"timestamp_seconds":1784988922,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a17090"} 
[2026-07-25 19:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957159936001,"66":27180,"152":206,"83":16640,"24":10,"16":358113007340879872,"45":-7091762013649526784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957159936001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:00] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:47:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358113007340879872,"km_value":358113007340879.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7091762013649526784,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957159936001,"power":27180,"unknown_152":206,"unknown_83":16640,"ignition":10,"odometer":null,"unknown_45":-7091762013649526784}} 
[2026-07-25 19:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":141278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:00] local.INFO: GPS data processed {"connection_id":141278,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:00] local.INFO: Acknowledgment sent {"connection_id":141278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:47:03] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a0cc80012d181e400721ad68004f00d928..."} 
[2026-07-25 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a0cc80012d181e400721ad68004f00d928..."} 
[2026-07-25 19:47:03] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a0cc80012d181e400721ad68004f00d928..."} 
[2026-07-25 19:47:03] local.INFO: Packet analysis {"connection_id":141324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:47:03] local.INFO: Extracted packet for processing {"connection_id":141324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a0"} 
[2026-07-25 19:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957147904001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784988880000,"timestamp_ms":1784988880000,"timestamp_seconds":1784988880,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a0cc80"} 
[2026-07-25 19:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957147904001,"66":12341,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957147904001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957147904001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":141324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:03] local.INFO: GPS data processed {"connection_id":141324,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:03] local.INFO: Acknowledgment sent {"connection_id":141324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:47:04] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a18be8012d9d870005b8c910001000e629..."} 
[2026-07-25 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a18be8012d9d870005b8c910001000e629..."} 
[2026-07-25 19:47:04] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a18be8012d9d870005b8c910001000e629..."} 
[2026-07-25 19:47:04] local.INFO: Packet analysis {"connection_id":141278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:04] local.INFO: Extracted packet for processing {"connection_id":141278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":765298432,"raw_latitude":95996176,"longitude_deg":76.5298432,"latitude_deg":9.5996176,"altitude":16,"angle":230,"satellites":41,"speed":11,"hex_longitude":"2d9d8700","hex_latitude":"05b8c910","is_valid_coordinates":true} 
[2026-07-25 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957164032001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358113076060356608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7094295288440180736,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784988929000,"timestamp_ms":1784988929000,"timestamp_seconds":1784988929,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a18be8"} 
[2026-07-25 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-25 19:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957164032001,"66":27463,"152":206,"83":16640,"24":11,"16":358113076060356608,"45":-7094295288440180736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,83,24,16,45]} 
[2026-07-25 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957164032001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:04] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-25 19:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358113076060356608,"km_value":358113076060356.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7094295288440180736,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957164032001,"power":27463,"unknown_152":206,"unknown_83":16640,"ignition":11,"odometer":null,"unknown_45":-7094295288440180736}} 
[2026-07-25 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":141278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:04] local.INFO: GPS data processed {"connection_id":141278,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:04] local.INFO: Acknowledgment sent {"connection_id":141278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:47:31] local.INFO: TCP Data received {"connection_id":143688,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:47:31] local.INFO: Processing buffer {"connection_id":143688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:47:31] local.INFO: IMEI packet received {"connection_id":143688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":143688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:47:35] local.INFO: TCP Data received {"connection_id":141278,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a1ce50012d9d6a8005b8b2e0001600ea29..."} 
[2026-07-25 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a1ce50012d9d6a8005b8b2e0001600ea29..."} 
[2026-07-25 19:47:35] local.INFO: Processing buffer {"connection_id":141278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a1ce50012d9d6a8005b8b2e0001600ea29..."} 
[2026-07-25 19:47:35] local.INFO: Packet analysis {"connection_id":141278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:35] local.INFO: Extracted packet for processing {"connection_id":141278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":765291136,"raw_latitude":95990496,"longitude_deg":76.5291136,"latitude_deg":9.5990496,"altitude":22,"angle":234,"satellites":41,"speed":25,"hex_longitude":"2d9d6a80","hex_latitude":"05b8b2e0","is_valid_coordinates":true} 
[2026-07-25 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957165824001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358113522736955392,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7095702663323906048,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784988946000,"timestamp_ms":1784988946000,"timestamp_seconds":1784988946,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a1ce50"} 
[2026-07-25 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47: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-07-25 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 19:47: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-07-25 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957165824001,"66":27397,"153":206,"83":16640,"24":25,"16":358113522736955392,"45":-7095702663323906048},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,83,24,16,45]} 
[2026-07-25 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957165824001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358113522736955392,"km_value":358113522736955.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7095702663323906048,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957165824001,"power":27397,"unknown_153":206,"unknown_83":16640,"ignition":25,"odometer":null,"unknown_45":-7095702663323906048}} 
[2026-07-25 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":141278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:35] local.INFO: GPS data processed {"connection_id":141278,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:35] local.INFO: Acknowledgment sent {"connection_id":141278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:47:36] local.INFO: TCP Data received {"connection_id":143688,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:47:36] local.INFO: Processing buffer {"connection_id":143688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:47:36] local.INFO: IMEI packet received {"connection_id":143688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":143688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:47:37] local.INFO: TCP Data received {"connection_id":143688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a11e88012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a11e88012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:47:37] local.INFO: Processing buffer {"connection_id":143688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a11e88012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:47:37] local.INFO: Packet analysis {"connection_id":143688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:37] local.INFO: Extracted packet for processing {"connection_id":143688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957153280001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784988901000,"timestamp_ms":1784988901000,"timestamp_seconds":1784988901,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a11e88"} 
[2026-07-25 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957153280001,"66":12319,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957153280001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957153280001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":143688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:37] local.INFO: GPS data processed {"connection_id":143688,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:37] local.INFO: Acknowledgment sent {"connection_id":143688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:47:41] local.INFO: TCP Data received {"connection_id":143688,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a17090012d181e400721ad68004f00d929..."} 
[2026-07-25 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a17090012d181e400721ad68004f00d929..."} 
[2026-07-25 19:47:41] local.INFO: Processing buffer {"connection_id":143688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a17090012d181e400721ad68004f00d929..."} 
[2026-07-25 19:47:41] local.INFO: Packet analysis {"connection_id":143688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:41] local.INFO: Extracted packet for processing {"connection_id":143688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957158656001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784988922000,"timestamp_ms":1784988922000,"timestamp_seconds":1784988922,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a17090"} 
[2026-07-25 19:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47: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-07-25 19:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 19:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957158656001,"66":12287,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957158656001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957158656001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":143688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:41] local.INFO: GPS data processed {"connection_id":143688,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:41] local.INFO: Acknowledgment sent {"connection_id":143688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:47:55] local.INFO: TCP Data received {"connection_id":141325,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:47:55] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:47:55] local.INFO: IMEI packet received {"connection_id":141325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":141325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:47:57] local.INFO: TCP Data received {"connection_id":141325,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:47:57] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:47:57] local.INFO: IMEI packet received {"connection_id":141325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":141325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:47:57] local.INFO: TCP Data received {"connection_id":141325,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a1f948012d9d53c005b8a128001a00df28..."} 
[2026-07-25 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a1f948012d9d53c005b8a128001a00df28..."} 
[2026-07-25 19:47:57] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a1f948012d9d53c005b8a128001a00df28..."} 
[2026-07-25 19:47:57] local.INFO: Packet analysis {"connection_id":141325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:57] local.INFO: Extracted packet for processing {"connection_id":141325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":765285312,"raw_latitude":95985960,"longitude_deg":76.5285312,"latitude_deg":9.598596,"altitude":26,"angle":223,"satellites":40,"speed":23,"hex_longitude":"2d9d53c0","hex_latitude":"05b8a128","is_valid_coordinates":true} 
[2026-07-25 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957170176001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358113879219240960,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7103724700161613824,"note":"Value kept but may cause issues"} 
[2026-07-25 19:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784988957000,"timestamp_ms":1784988957000,"timestamp_seconds":1784988957,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a1f948"} 
[2026-07-25 19:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957170176001,"66":27365,"153":206,"83":16640,"24":23,"16":358113879219240960,"45":-7103724700161613824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,83,24,16,45]} 
[2026-07-25 19:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957170176001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:47:57] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-25 19:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358113879219240960,"km_value":358113879219240.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7103724700161613824,"description":"Unknown IO ID 45"} 
[2026-07-25 19:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957170176001,"power":27365,"unknown_153":206,"unknown_83":16640,"ignition":23,"odometer":null,"unknown_45":-7103724700161613824}} 
[2026-07-25 19:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":141325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:47:57] local.INFO: GPS data processed {"connection_id":141325,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:47:57] local.INFO: Acknowledgment sent {"connection_id":141325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:48:26] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:26] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:26] local.INFO: IMEI packet received {"connection_id":141326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":141326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:48:27] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:27] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:27] local.INFO: IMEI packet received {"connection_id":141326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":141326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:48:29] local.INFO: TCP Data received {"connection_id":141325,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a38f88012d9cbec005b858e0000b011828..."} 
[2026-07-25 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a38f88012d9cbec005b858e0000b011828..."} 
[2026-07-25 19:48:29] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a38f88012d9cbec005b858e0000b011828..."} 
[2026-07-25 19:48:29] local.INFO: Packet analysis {"connection_id":141325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:48:29] local.INFO: Extracted packet for processing {"connection_id":141325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":765247168,"raw_latitude":95967456,"longitude_deg":76.5247168,"latitude_deg":9.5967456,"altitude":11,"angle":280,"satellites":40,"speed":15,"hex_longitude":"2d9cbec0","hex_latitude":"05b858e0","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957199104001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358116056767660032,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7151223602487492608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784989061000,"timestamp_ms":1784989061000,"timestamp_seconds":1784989061,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a38f88"} 
[2026-07-25 19:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 19:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957199104001,"66":27397,"234":206,"83":16640,"24":15,"16":358116056767660032,"45":-7151223602487492608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-07-25 19:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957199104001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:48:29] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 19:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358116056767660032,"km_value":358116056767660.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7151223602487492608,"description":"Unknown IO ID 45"} 
[2026-07-25 19:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957199104001,"power":27397,"unknown_234":206,"unknown_83":16640,"ignition":15,"odometer":null,"unknown_45":-7151223602487492608}} 
[2026-07-25 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":141325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:48:29] local.INFO: GPS data processed {"connection_id":141325,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:48:29] local.INFO: Acknowledgment sent {"connection_id":141325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:48:31] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:31] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:48:31] local.INFO: IMEI packet received {"connection_id":141326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":141326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:48:32] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a1c298012d181e400721ad68004f00d923..."} 
[2026-07-25 19:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a1c298012d181e400721ad68004f00d923..."} 
[2026-07-25 19:48:32] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a1c298012d181e400721ad68004f00d923..."} 
[2026-07-25 19:48:32] local.INFO: Packet analysis {"connection_id":141326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:48:32] local.INFO: Extracted packet for processing {"connection_id":141326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a1"} 
[2026-07-25 19:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":35,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957164032001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784988943000,"timestamp_ms":1784988943000,"timestamp_seconds":1784988943,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a1c298"} 
[2026-07-25 19:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 19:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957164032001,"66":12363,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957164032001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:48:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957164032001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":141326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:48:32] local.INFO: GPS data processed {"connection_id":141326,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:48:32] local.INFO: Acknowledgment sent {"connection_id":141326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:48:36] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a214a0012d181e400721ad68004f00d92b..."} 
[2026-07-25 19:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a214a0012d181e400721ad68004f00d92b..."} 
[2026-07-25 19:48:36] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a214a0012d181e400721ad68004f00d92b..."} 
[2026-07-25 19:48:36] local.INFO: Packet analysis {"connection_id":141326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a2"} 
[2026-07-25 19:48:36] local.INFO: Extracted packet for processing {"connection_id":141326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a2"} 
[2026-07-25 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957169408001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784988964000,"timestamp_ms":1784988964000,"timestamp_seconds":1784988964,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a214a0"} 
[2026-07-25 19:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 19:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957169408001,"66":12341,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957169408001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957169408001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":141326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:48:36] local.INFO: GPS data processed {"connection_id":141326,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:48:36] local.INFO: Acknowledgment sent {"connection_id":141326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:48:53] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:48:53] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:48:53] local.INFO: IMEI packet received {"connection_id":143689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":143689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:48:54] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:48:54] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:48:54] local.INFO: IMEI packet received {"connection_id":143689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":143689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:49:00] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:49:00] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:49:00] local.INFO: IMEI packet received {"connection_id":143689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":143689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:49:01] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a39758012d9cbb8005b85910000b010528..."} 
[2026-07-25 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a39758012d9cbb8005b85910000b010528..."} 
[2026-07-25 19:49:01] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a39758012d9cbb8005b85910000b010528..."} 
[2026-07-25 19:49:01] local.INFO: Packet analysis {"connection_id":143689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:49:01] local.INFO: Extracted packet for processing {"connection_id":143689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":765246336,"raw_latitude":95967504,"longitude_deg":76.5246336,"latitude_deg":9.5967504,"altitude":11,"angle":261,"satellites":40,"speed":18,"hex_longitude":"2d9cbb80","hex_latitude":"05b85910","is_valid_coordinates":true} 
[2026-07-25 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957199616001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358116099717332992,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7152068027417567232,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989063000,"timestamp_ms":1784989063000,"timestamp_seconds":1784989063,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a39758"} 
[2026-07-25 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:49: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-07-25 19:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957199616001,"66":27300,"234":206,"83":16640,"24":18,"16":358116099717332992,"45":-7152068027417567232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-07-25 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957199616001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:49:01] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 19:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358116099717332992,"km_value":358116099717333.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7152068027417567232,"description":"Unknown IO ID 45"} 
[2026-07-25 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957199616001,"power":27300,"unknown_234":206,"unknown_83":16640,"ignition":18,"odometer":null,"unknown_45":-7152068027417567232}} 
[2026-07-25 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":143689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:49:01] local.INFO: GPS data processed {"connection_id":143689,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:49:01] local.INFO: Acknowledgment sent {"connection_id":143689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:49:07] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a266a8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a266a8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:49:07] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a266a8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:49:07] local.INFO: Packet analysis {"connection_id":141326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a2"} 
[2026-07-25 19:49:07] local.INFO: Extracted packet for processing {"connection_id":141326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a2"} 
[2026-07-25 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957174784001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784988985000,"timestamp_ms":1784988985000,"timestamp_seconds":1784988985,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a266a8"} 
[2026-07-25 19:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957174784001,"66":12298,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957174784001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957174784001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":141326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:49:08] local.INFO: GPS data processed {"connection_id":141326,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:49:08] local.INFO: Acknowledgment sent {"connection_id":141326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:49:26] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:49:26] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:49:26] local.INFO: IMEI packet received {"connection_id":141327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":141327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:49:30] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:49:30] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:49:30] local.INFO: IMEI packet received {"connection_id":141327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":141327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:49:31] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a2b8b0012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a2b8b0012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:49:31] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a2b8b0012d181e400721ad68004f00d92a..."} 
[2026-07-25 19:49:31] local.INFO: Packet analysis {"connection_id":141327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a2"} 
[2026-07-25 19:49:31] local.INFO: Extracted packet for processing {"connection_id":141327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a2"} 
[2026-07-25 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957180160001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784989006000,"timestamp_ms":1784989006000,"timestamp_seconds":1784989006,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a2b8b0"} 
[2026-07-25 19:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185631,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3963167672086036481,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7376851728111691746,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513882494690328793,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":79,"raw_value":61126249434578944,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569839767758,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2703132673,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2909274191,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-07-25 19:49:31] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2147560728,"corrected_to":0} 
[2026-07-25 19:49:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,94,159,20,45,64,173,79,43,10,66,194,35,112,1,240,255,227,153,33,4,113,205,204,30,104,40,239,48,2,31,7],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":204,"original":2147560728,"validated":0}]} 
[2026-07-25 19:49:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692788699113193472,"timestamp_seconds":5692788699113193.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 19:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957180160001,"66":12319,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957180160001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957180160001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":141327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:49:31] local.INFO: GPS data processed {"connection_id":141327,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:49:31] local.INFO: Acknowledgment sent {"connection_id":141327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:49:33] local.INFO: TCP Data received {"connection_id":143689,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a3a310012d9cb64005b85790000c00f827..."} 
[2026-07-25 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a3a310012d9cb64005b85790000c00f827..."} 
[2026-07-25 19:49:33] local.INFO: Processing buffer {"connection_id":143689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a3a310012d9cb64005b85790000c00f827..."} 
[2026-07-25 19:49:33] local.INFO: Packet analysis {"connection_id":143689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:49:33] local.INFO: Extracted packet for processing {"connection_id":143689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":765244992,"raw_latitude":95967120,"longitude_deg":76.5244992,"latitude_deg":9.596712,"altitude":12,"angle":248,"satellites":39,"speed":21,"hex_longitude":"2d9cb640","hex_latitude":"05b85790","is_valid_coordinates":true} 
[2026-07-25 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957200128001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358116164141842432,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7152982821091864576,"note":"Value kept but may cause issues"} 
[2026-07-25 19:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784989066000,"timestamp_ms":1784989066000,"timestamp_seconds":1784989066,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a3a310"} 
[2026-07-25 19:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 19:49: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-07-25 19:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957200128001,"66":27332,"234":206,"83":16640,"24":21,"16":358116164141842432,"45":-7152982821091864576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,83,24,16,45]} 
[2026-07-25 19:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957200128001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:49:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-25 19:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358116164141842432,"km_value":358116164141842.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7152982821091864576,"description":"Unknown IO ID 45"} 
[2026-07-25 19:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957200128001,"power":27332,"unknown_234":206,"unknown_83":16640,"ignition":21,"odometer":null,"unknown_45":-7152982821091864576}} 
[2026-07-25 19:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":143689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:49:33] local.INFO: GPS data processed {"connection_id":143689,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:49:33] local.INFO: Acknowledgment sent {"connection_id":143689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:49:55] local.INFO: TCP Data received {"connection_id":142308,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:49:55] local.INFO: Processing buffer {"connection_id":142308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:49:55] local.INFO: IMEI packet received {"connection_id":142308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":142308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:50:00] local.INFO: TCP Data received {"connection_id":142308,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:50:00] local.INFO: Processing buffer {"connection_id":142308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:50:00] local.INFO: IMEI packet received {"connection_id":142308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":142308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:50:01] local.INFO: TCP Data received {"connection_id":142308,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a49928012d9c770005b7d558001e00e128..."} 
[2026-07-25 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a49928012d9c770005b7d558001e00e128..."} 
[2026-07-25 19:50:01] local.INFO: Processing buffer {"connection_id":142308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a49928012d9c770005b7d558001e00e128..."} 
[2026-07-25 19:50:01] local.INFO: Packet analysis {"connection_id":142308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:50:01] local.INFO: Extracted packet for processing {"connection_id":142308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:50:01] local.INFO: GPS Element Parsed {"raw_longitude":765228800,"raw_latitude":95933784,"longitude_deg":76.52288,"latitude_deg":9.5933784,"altitude":30,"angle":225,"satellites":40,"speed":23,"hex_longitude":"2d9c7700","hex_latitude":"05b7d558","is_valid_coordinates":true} 
[2026-07-25 19:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957216000001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358118148416733184,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7170645375888586752,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989129000,"timestamp_ms":1784989129000,"timestamp_seconds":1784989129,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a49928"} 
[2026-07-25 19:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 19:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957216000001,"66":27267,"236":206,"83":16640,"24":23,"16":358118148416733184,"45":-7170645375888586752},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-25 19:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957216000001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:50:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 19:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358118148416733184,"km_value":358118148416733.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7170645375888586752,"description":"Unknown IO ID 45"} 
[2026-07-25 19:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957216000001,"power":27267,"unknown_236":206,"unknown_83":16640,"ignition":23,"odometer":null,"unknown_45":-7170645375888586752}} 
[2026-07-25 19:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":142308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:50:01] local.INFO: GPS data processed {"connection_id":142308,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:50:01] local.INFO: Acknowledgment sent {"connection_id":142308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:50:02] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a30ab8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a30ab8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:50:02] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a30ab8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:50:02] local.INFO: Packet analysis {"connection_id":141327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:50:02] local.INFO: Extracted packet for processing {"connection_id":141327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957185536001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784989027000,"timestamp_ms":1784989027000,"timestamp_seconds":1784989027,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a30ab8"} 
[2026-07-25 19:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 19:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957185536001,"66":12319,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957185536001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:50:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957185536001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":141327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:50:02] local.INFO: GPS data processed {"connection_id":141327,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:50:02] local.INFO: Acknowledgment sent {"connection_id":141327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:50:26] local.INFO: TCP Data received {"connection_id":142309,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:50:26] local.INFO: Processing buffer {"connection_id":142309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:50:26] local.INFO: IMEI packet received {"connection_id":142309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":142309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:50:31] local.INFO: TCP Data received {"connection_id":142309,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:50:31] local.INFO: Processing buffer {"connection_id":142309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:50:31] local.INFO: IMEI packet received {"connection_id":142309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":142309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:50:32] local.INFO: TCP Data received {"connection_id":142309,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a35cc0012d181e400721ad68004f00d928..."} 
[2026-07-25 19:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a35cc0012d181e400721ad68004f00d928..."} 
[2026-07-25 19:50:32] local.INFO: Processing buffer {"connection_id":142309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a35cc0012d181e400721ad68004f00d928..."} 
[2026-07-25 19:50:32] local.INFO: Packet analysis {"connection_id":142309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:50:32] local.INFO: Extracted packet for processing {"connection_id":142309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957190912001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989048000,"timestamp_ms":1784989048000,"timestamp_seconds":1784989048,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a35cc0"} 
[2026-07-25 19:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 19:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957190912001,"66":12341,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957190912001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:50:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957190912001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":142309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:50:32] local.INFO: GPS data processed {"connection_id":142309,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:50:32] local.INFO: Acknowledgment sent {"connection_id":142309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:50:33] local.INFO: TCP Data received {"connection_id":142308,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a4eb30012d9c5f0005b7be00002000df27..."} 
[2026-07-25 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a4eb30012d9c5f0005b7be00002000df27..."} 
[2026-07-25 19:50:33] local.INFO: Processing buffer {"connection_id":142308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a4eb30012d9c5f0005b7be00002000df27..."} 
[2026-07-25 19:50:33] local.INFO: Packet analysis {"connection_id":142308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:50:33] local.INFO: Extracted packet for processing {"connection_id":142308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765222656,"raw_latitude":95927808,"longitude_deg":76.5222656,"latitude_deg":9.5927808,"altitude":32,"angle":223,"satellites":39,"speed":8,"hex_longitude":"2d9c5f00","hex_latitude":"05b7be00","is_valid_coordinates":true} 
[2026-07-25 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957217024001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358118565028560896,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7172263857005176832,"note":"Value kept but may cause issues"} 
[2026-07-25 19:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784989150000,"timestamp_ms":1784989150000,"timestamp_seconds":1784989150,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a4eb30"} 
[2026-07-25 19:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 19:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957217024001,"66":27365,"236":206,"83":16640,"24":8,"16":358118565028560896,"45":-7172263857005176832},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-25 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957217024001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:50:33] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 19:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358118565028560896,"km_value":358118565028560.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7172263857005176832,"description":"Unknown IO ID 45"} 
[2026-07-25 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957217024001,"power":27365,"unknown_236":206,"unknown_83":16640,"ignition":8,"odometer":null,"unknown_45":-7172263857005176832}} 
[2026-07-25 19:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":142308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:50:33] local.INFO: GPS data processed {"connection_id":142308,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:50:33] local.INFO: Acknowledgment sent {"connection_id":142308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:50:54] local.INFO: TCP Data received {"connection_id":141279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:50:54] local.INFO: Processing buffer {"connection_id":141279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:50:54] local.INFO: IMEI packet received {"connection_id":141279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":141279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:51:00] local.INFO: TCP Data received {"connection_id":141279,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:51:00] local.INFO: Processing buffer {"connection_id":141279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:51:00] local.INFO: IMEI packet received {"connection_id":141279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":141279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:51:01] local.INFO: TCP Data received {"connection_id":141279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a4f6e8012d9c5d0005b7bbf0001f00ce27..."} 
[2026-07-25 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a4f6e8012d9c5d0005b7bbf0001f00ce27..."} 
[2026-07-25 19:51:01] local.INFO: Processing buffer {"connection_id":141279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a4f6e8012d9c5d0005b7bbf0001f00ce27..."} 
[2026-07-25 19:51:01] local.INFO: Packet analysis {"connection_id":141279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:51:01] local.INFO: Extracted packet for processing {"connection_id":141279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:51:01] local.INFO: GPS Element Parsed {"raw_longitude":765222144,"raw_latitude":95927280,"longitude_deg":76.5222144,"latitude_deg":9.592728,"altitude":31,"angle":206,"satellites":39,"speed":7,"hex_longitude":"2d9c5d00","hex_latitude":"05b7bbf0","is_valid_coordinates":true} 
[2026-07-25 19:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957222400001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358118599388299264,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7179019256447762432,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989153000,"timestamp_ms":1784989153000,"timestamp_seconds":1784989153,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a4f6e8"} 
[2026-07-25 19:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 19:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957222400001,"66":27245,"236":206,"83":16640,"24":7,"16":358118599388299264,"45":-7179019256447762432},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-25 19:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957222400001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:51:01] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 19:51:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358118599388299264,"km_value":358118599388299.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7179019256447762432,"description":"Unknown IO ID 45"} 
[2026-07-25 19:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957222400001,"power":27245,"unknown_236":206,"unknown_83":16640,"ignition":7,"odometer":null,"unknown_45":-7179019256447762432}} 
[2026-07-25 19:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":141279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:51:01] local.INFO: GPS data processed {"connection_id":141279,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:51:01] local.INFO: Acknowledgment sent {"connection_id":141279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:51:03] local.INFO: TCP Data received {"connection_id":142309,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a3aec8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a3aec8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:51:03] local.INFO: Processing buffer {"connection_id":142309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a3aec8012d181e400721ad68004f00d929..."} 
[2026-07-25 19:51:03] local.INFO: Packet analysis {"connection_id":142309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:51:03] local.INFO: Extracted packet for processing {"connection_id":142309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a3"} 
[2026-07-25 19:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957196288001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784989069000,"timestamp_ms":1784989069000,"timestamp_seconds":1784989069,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a3aec8"} 
[2026-07-25 19:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 19:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957196288001,"66":12319,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957196288001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:51:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957196288001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":142309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:51:03] local.INFO: GPS data processed {"connection_id":142309,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:51:03] local.INFO: Acknowledgment sent {"connection_id":142309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:51:25] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:25] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:25] local.INFO: IMEI packet received {"connection_id":141280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":141280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:51:26] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:26] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:26] local.INFO: IMEI packet received {"connection_id":141280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":141280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:51:31] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:31] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:51:31] local.INFO: IMEI packet received {"connection_id":141280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":141280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:51:32] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a400d0012d181e400721ad68004f00d929..."} 
[2026-07-25 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a400d0012d181e400721ad68004f00d929..."} 
[2026-07-25 19:51:32] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a400d0012d181e400721ad68004f00d929..."} 
[2026-07-25 19:51:32] local.INFO: Packet analysis {"connection_id":141280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:51:32] local.INFO: Extracted packet for processing {"connection_id":141280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a4"} 
[2026-07-25 19:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647592,"longitude_deg":75.6555328,"latitude_deg":11.9647592,"altitude":79,"angle":217,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ad68","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957201664001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829314594242560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585551360,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989090000,"timestamp_ms":1784989090000,"timestamp_seconds":1784989090,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a400d0"} 
[2026-07-25 19:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 19:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957201664001,"66":12341,"105":206,"83":41984,"24":0,"16":8829314594242560,"45":1737896905585551360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957201664001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:51:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829314594242560,"km_value":8829314594242.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585551360,"description":"Unknown IO ID 45"} 
[2026-07-25 19:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957201664001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585551360}} 
[2026-07-25 19:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":141280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:51:32] local.INFO: GPS data processed {"connection_id":141280,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:51:32] local.INFO: Acknowledgment sent {"connection_id":141280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:51:38] local.INFO: TCP Data received {"connection_id":141279,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a521e0012d9c5a0005b7b528001d00c327..."} 
[2026-07-25 19:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a521e0012d9c5a0005b7b528001d00c327..."} 
[2026-07-25 19:51:38] local.INFO: Processing buffer {"connection_id":141279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a521e0012d9c5a0005b7b528001d00c327..."} 
[2026-07-25 19:51:38] local.INFO: Packet analysis {"connection_id":141279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a5"} 
[2026-07-25 19:51:38] local.INFO: Extracted packet for processing {"connection_id":141279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a5"} 
[2026-07-25 19:51:38] local.INFO: GPS Element Parsed {"raw_longitude":765221376,"raw_latitude":95925544,"longitude_deg":76.5221376,"latitude_deg":9.5925544,"altitude":29,"angle":195,"satellites":39,"speed":15,"hex_longitude":"2d9c5a00","hex_latitude":"05b7b528","is_valid_coordinates":true} 
[2026-07-25 19:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957223168001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358118689582612480,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7179582206401318912,"note":"Value kept but may cause issues"} 
[2026-07-25 19:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784989164000,"timestamp_ms":1784989164000,"timestamp_seconds":1784989164,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a521e0"} 
[2026-07-25 19:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 19:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957223168001,"66":27397,"236":206,"83":16640,"24":15,"16":358118689582612480,"45":-7179582206401318912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-25 19:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957223168001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:51:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 19:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358118689582612480,"km_value":358118689582612.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7179582206401318912,"description":"Unknown IO ID 45"} 
[2026-07-25 19:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957223168001,"power":27397,"unknown_236":206,"unknown_83":16640,"ignition":15,"odometer":null,"unknown_45":-7179582206401318912}} 
[2026-07-25 19:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":141279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:51:38] local.INFO: GPS data processed {"connection_id":141279,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:51:38] local.INFO: Acknowledgment sent {"connection_id":141279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:51:49] local.INFO: TCP Data received {"connection_id":141281,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:51:49] local.INFO: Processing buffer {"connection_id":141281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:51:49] local.INFO: IMEI packet received {"connection_id":141281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":141281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:51:55] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:51:55] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:51:55] local.INFO: IMEI packet received {"connection_id":141328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":141328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:52:01] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:52:01] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:52:01] local.INFO: IMEI packet received {"connection_id":141328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":141328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:52:03] local.INFO: TCP Data received {"connection_id":141280,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a6a880012d1823000721a498004f008628..."} 
[2026-07-25 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a6a880012d1823000721a498004f008628..."} 
[2026-07-25 19:52:03] local.INFO: Processing buffer {"connection_id":141280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a6a880012d1823000721a498004f008628..."} 
[2026-07-25 19:52:03] local.INFO: Packet analysis {"connection_id":141280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a6"} 
[2026-07-25 19:52:03] local.INFO: Extracted packet for processing {"connection_id":141280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a6"} 
[2026-07-25 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119645336,"longitude_deg":75.6556544,"latitude_deg":11.9645336,"altitude":79,"angle":134,"satellites":40,"speed":11,"hex_longitude":"2d182300","hex_latitude":"0721a498","is_valid_coordinates":true} 
[2026-07-25 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957250560001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829460623130624,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794362880,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784989264000,"timestamp_ms":1784989264000,"timestamp_seconds":1784989264,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a6a880"} 
[2026-07-25 19:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 19:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957250560001,"66":12287,"105":206,"83":41984,"24":11,"16":8829460623130624,"45":1738389486794362880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957250560001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:52:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829460623130624,"km_value":8829460623130.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794362880,"description":"Unknown IO ID 45"} 
[2026-07-25 19:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957250560001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738389486794362880}} 
[2026-07-25 19:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":141280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:52:03] local.INFO: GPS data processed {"connection_id":141280,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:52:03] local.INFO: Acknowledgment sent {"connection_id":141280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:52:05] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a53568012d9c588005b7ac18001c00b523..."} 
[2026-07-25 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a53568012d9c588005b7ac18001c00b523..."} 
[2026-07-25 19:52:05] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a53568012d9c588005b7ac18001c00b523..."} 
[2026-07-25 19:52:05] local.INFO: Packet analysis {"connection_id":141328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a5"} 
[2026-07-25 19:52:05] local.INFO: Extracted packet for processing {"connection_id":141328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a5"} 
[2026-07-25 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":765220992,"raw_latitude":95923224,"longitude_deg":76.5220992,"latitude_deg":9.5923224,"altitude":28,"angle":181,"satellites":35,"speed":23,"hex_longitude":"2d9c5880","hex_latitude":"05b7ac18","is_valid_coordinates":true} 
[2026-07-25 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957225984001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358118805546729472,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7180426631331895296,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784989169000,"timestamp_ms":1784989169000,"timestamp_seconds":1784989169,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a53568"} 
[2026-07-25 19:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:52: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-07-25 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 19:52: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-07-25 19:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957225984001,"66":27234,"236":206,"83":16640,"24":23,"16":358118805546729472,"45":-7180426631331895296},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,83,24,16,45]} 
[2026-07-25 19:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957225984001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:52:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-25 19:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358118805546729472,"km_value":358118805546729.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7180426631331895296,"description":"Unknown IO ID 45"} 
[2026-07-25 19:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957225984001,"power":27234,"unknown_236":206,"unknown_83":16640,"ignition":23,"odometer":null,"unknown_45":-7180426631331895296}} 
[2026-07-25 19:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":141328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:52:05] local.INFO: GPS data processed {"connection_id":141328,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:52:05] local.INFO: Acknowledgment sent {"connection_id":141328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:52:26] local.INFO: TCP Data received {"connection_id":142310,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:26] local.INFO: Processing buffer {"connection_id":142310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:26] local.INFO: IMEI packet received {"connection_id":142310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":142310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:52:29] local.INFO: TCP Data received {"connection_id":142310,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:29] local.INFO: Processing buffer {"connection_id":142310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:29] local.INFO: IMEI packet received {"connection_id":142310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":142310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:52:31] local.INFO: TCP Data received {"connection_id":142310,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:31] local.INFO: Processing buffer {"connection_id":142310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:52:31] local.INFO: IMEI packet received {"connection_id":142310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":142310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:52:31] local.INFO: TCP Data received {"connection_id":142310,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a6b050012d1824400721a310004f00942b..."} 
[2026-07-25 19:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a6b050012d1824400721a310004f00942b..."} 
[2026-07-25 19:52:31] local.INFO: Processing buffer {"connection_id":142310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a6b050012d1824400721a310004f00942b..."} 
[2026-07-25 19:52:31] local.INFO: Packet analysis {"connection_id":142310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a6"} 
[2026-07-25 19:52:31] local.INFO: Extracted packet for processing {"connection_id":142310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a6"} 
[2026-07-25 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119644944,"longitude_deg":75.6556864,"latitude_deg":11.9644944,"altitude":79,"angle":148,"satellites":43,"speed":8,"hex_longitude":"2d182440","hex_latitude":"0721a310","is_valid_coordinates":true} 
[2026-07-25 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957251584001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829486392934400,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724349440,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784989266000,"timestamp_ms":1784989266000,"timestamp_seconds":1784989266,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a6b050"} 
[2026-07-25 19:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 19:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957251584001,"66":12385,"105":206,"83":41984,"24":8,"16":8829486392934400,"45":1739233911724349440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957251584001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829486392934400,"km_value":8829486392934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724349440,"description":"Unknown IO ID 45"} 
[2026-07-25 19:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957251584001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739233911724349440}} 
[2026-07-25 19:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":142310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:52:32] local.INFO: GPS data processed {"connection_id":142310,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:52:32] local.INFO: Acknowledgment sent {"connection_id":142310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:52:37] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a72198012d9c814005b69d88002400b623..."} 
[2026-07-25 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a72198012d9c814005b69d88002400b623..."} 
[2026-07-25 19:52:37] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a72198012d9c814005b69d88002400b623..."} 
[2026-07-25 19:52:37] local.INFO: Packet analysis {"connection_id":141328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a7"} 
[2026-07-25 19:52:37] local.INFO: Extracted packet for processing {"connection_id":141328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a7"} 
[2026-07-25 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":765231424,"raw_latitude":95853960,"longitude_deg":76.5231424,"latitude_deg":9.585396,"altitude":36,"angle":182,"satellites":35,"speed":27,"hex_longitude":"2d9c8140","hex_latitude":"05b69d88","is_valid_coordinates":true} 
[2026-07-25 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957258240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358122245815533568,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7169941688466960384,"note":"Value kept but may cause issues"} 
[2026-07-25 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784989295000,"timestamp_ms":1784989295000,"timestamp_seconds":1784989295,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a72198"} 
[2026-07-25 19:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 19:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957258240001,"66":27300,"224":206,"83":16640,"24":27,"16":358122245815533568,"45":-7169941688466960384},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,45]} 
[2026-07-25 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957258240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:52:37] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 19:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":16640,"description":"Unknown IO ID 83"} 
[2026-07-25 19:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358122245815533568,"km_value":358122245815533.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7169941688466960384,"description":"Unknown IO ID 45"} 
[2026-07-25 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957258240001,"power":27300,"unknown_224":206,"unknown_83":16640,"ignition":27,"odometer":null,"unknown_45":-7169941688466960384}} 
[2026-07-25 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":141328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:52:37] local.INFO: GPS data processed {"connection_id":141328,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:52:37] local.INFO: Acknowledgment sent {"connection_id":141328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:53:03] local.INFO: TCP Data received {"connection_id":142310,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a6bc08012d1825800721a0e8005000842a..."} 
[2026-07-25 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a6bc08012d1825800721a0e8005000842a..."} 
[2026-07-25 19:53:03] local.INFO: Processing buffer {"connection_id":142310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a6bc08012d1825800721a0e8005000842a..."} 
[2026-07-25 19:53:03] local.INFO: Packet analysis {"connection_id":142310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a6"} 
[2026-07-25 19:53:03] local.INFO: Extracted packet for processing {"connection_id":142310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a6"} 
[2026-07-25 19:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119644392,"longitude_deg":75.6557184,"latitude_deg":11.9644392,"altitude":80,"angle":132,"satellites":42,"speed":7,"hex_longitude":"2d182580","hex_latitude":"0721a0e8","is_valid_coordinates":true} 
[2026-07-25 19:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957252096001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829516457705472,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755445137408,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784989269000,"timestamp_ms":1784989269000,"timestamp_seconds":1784989269,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a6bc08"} 
[2026-07-25 19:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 19:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957252096001,"66":12406,"105":206,"83":41984,"24":7,"16":8829516457705472,"45":1739585755445137408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957252096001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:53:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829516457705472,"km_value":8829516457705.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755445137408,"description":"Unknown IO ID 45"} 
[2026-07-25 19:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957252096001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755445137408}} 
[2026-07-25 19:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":142310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:53:03] local.INFO: GPS data processed {"connection_id":142310,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:53:03] local.INFO: Acknowledgment sent {"connection_id":142310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:53:04] local.INFO: TCP Data received {"connection_id":142311,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:53:04] local.INFO: Processing buffer {"connection_id":142311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:53:04] local.INFO: IMEI packet received {"connection_id":142311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":142311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:53:05] local.INFO: TCP Data received {"connection_id":142311,"ip":"42.109.136.1","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142311,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 19:53:05] local.INFO: Processing buffer {"connection_id":142311,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 19:53:05] local.INFO: IMEI packet received {"connection_id":142311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":142311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:53:29] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:29] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:29] local.INFO: IMEI packet received {"connection_id":143690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":143690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:53:31] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:31] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:31] local.INFO: IMEI packet received {"connection_id":143690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":143690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:53:35] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:35] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:53:35] local.INFO: IMEI packet received {"connection_id":143690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":143690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:53:36] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a70e10012d1829c007219d400051007e26..."} 
[2026-07-25 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a70e10012d1829c007219d400051007e26..."} 
[2026-07-25 19:53:36] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a70e10012d1829c007219d400051007e26..."} 
[2026-07-25 19:53:36] local.INFO: Packet analysis {"connection_id":143690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a7"} 
[2026-07-25 19:53:36] local.INFO: Extracted packet for processing {"connection_id":143690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a7"} 
[2026-07-25 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643456,"longitude_deg":75.6558272,"latitude_deg":11.9643456,"altitude":81,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-07-25 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957252864001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829589472149504,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599165884416,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784989290000,"timestamp_ms":1784989290000,"timestamp_seconds":1784989290,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a70e10"} 
[2026-07-25 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957252864001,"66":12645,"105":206,"83":41984,"24":0,"16":8829589472149504,"45":1739937599165884416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957252864001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829589472149504,"km_value":8829589472149.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599165884416,"description":"Unknown IO ID 45"} 
[2026-07-25 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957252864001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739937599165884416}} 
[2026-07-25 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":143690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:53:36] local.INFO: GPS data processed {"connection_id":143690,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:53:36] local.INFO: Acknowledgment sent {"connection_id":143690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:53:36] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a76018012d1829c007219d400051007e27..."} 
[2026-07-25 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a76018012d1829c007219d400051007e27..."} 
[2026-07-25 19:53:36] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a76018012d1829c007219d400051007e27..."} 
[2026-07-25 19:53:36] local.INFO: Packet analysis {"connection_id":143690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a7"} 
[2026-07-25 19:53:36] local.INFO: Extracted packet for processing {"connection_id":143690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a7"} 
[2026-07-25 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643456,"longitude_deg":75.6558272,"latitude_deg":11.9643456,"altitude":81,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-07-25 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957258240001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8829589472149504,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816665088,"note":"Value kept but may cause issues"} 
[2026-07-25 19:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784989311000,"timestamp_ms":1784989311000,"timestamp_seconds":1784989311,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a76018"} 
[2026-07-25 19:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-25 19:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957258240001,"66":13689,"105":206,"83":41984,"24":0,"16":8829589472149504,"45":1741133867816665088},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-25 19:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957258240001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8829589472149504,"km_value":8829589472149.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816665088,"description":"Unknown IO ID 45"} 
[2026-07-25 19:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957258240001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816665088}} 
[2026-07-25 19:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":143690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:53:36] local.INFO: GPS data processed {"connection_id":143690,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:53:36] local.INFO: Acknowledgment sent {"connection_id":143690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:54:07] local.INFO: TCP Data received {"connection_id":143690,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a8c390012d18c70007213bd00046009f27..."} 
[2026-07-25 19:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a8c390012d18c70007213bd00046009f27..."} 
[2026-07-25 19:54:07] local.INFO: Processing buffer {"connection_id":143690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a8c390012d18c70007213bd00046009f27..."} 
[2026-07-25 19:54:07] local.INFO: Packet analysis {"connection_id":143690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:54:07] local.INFO: Extracted packet for processing {"connection_id":143690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618512,"longitude_deg":75.6598528,"latitude_deg":11.9618512,"altitude":70,"angle":159,"satellites":39,"speed":33,"hex_longitude":"2d18c700","hex_latitude":"07213bd0","is_valid_coordinates":true} 
[2026-07-25 19:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957285632001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8832054783377408,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713169408,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784989402000,"timestamp_ms":1784989402000,"timestamp_seconds":1784989402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a8c390"} 
[2026-07-25 19:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 19:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957285632001,"66":13624,"103":206,"83":41984,"24":33,"16":8832054783377408,"45":1784621751713169408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 19:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957285632001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:54:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 19:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8832054783377408,"km_value":8832054783377.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713169408,"description":"Unknown IO ID 45"} 
[2026-07-25 19:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957285632001,"power":13624,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784621751713169408}} 
[2026-07-25 19:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":143690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:54:07] local.INFO: GPS data processed {"connection_id":143690,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:54:07] local.INFO: Acknowledgment sent {"connection_id":143690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:54:26] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:26] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:26] local.INFO: IMEI packet received {"connection_id":141283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":141283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:54:27] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:27] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:27] local.INFO: IMEI packet received {"connection_id":141283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":141283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:54:31] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:31] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:54:31] local.INFO: IMEI packet received {"connection_id":141283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":141283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:54:32] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a8cf48012d18cbc0072133580044009229..."} 
[2026-07-25 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a8cf48012d18cbc0072133580044009229..."} 
[2026-07-25 19:54:32] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a8cf48012d18cbc0072133580044009229..."} 
[2026-07-25 19:54:32] local.INFO: Packet analysis {"connection_id":141283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:54:32] local.INFO: Extracted packet for processing {"connection_id":141283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756599744,"raw_latitude":119616344,"longitude_deg":75.6599744,"latitude_deg":11.9616344,"altitude":68,"angle":146,"satellites":41,"speed":32,"hex_longitude":"2d18cbc0","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-07-25 19:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957286912001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8832175042461696,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898030080,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989405000,"timestamp_ms":1784989405000,"timestamp_seconds":1784989405,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a8cf48"} 
[2026-07-25 19:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-07-25 19:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957286912001,"66":13559,"103":206,"83":41984,"24":32,"16":8832175042461696,"45":1785395807898030080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 19:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957286912001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:54:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 19:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8832175042461696,"km_value":8832175042461.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898030080,"description":"Unknown IO ID 45"} 
[2026-07-25 19:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957286912001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1785395807898030080}} 
[2026-07-25 19:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":141283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:54:32] local.INFO: GPS data processed {"connection_id":141283,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:54:32] local.INFO: Acknowledgment sent {"connection_id":141283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:54:33] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a8dee8012d18d20007212810004200a62a..."} 
[2026-07-25 19:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a8dee8012d18d20007212810004200a62a..."} 
[2026-07-25 19:54:33] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a8dee8012d18d20007212810004200a62a..."} 
[2026-07-25 19:54:33] local.INFO: Packet analysis {"connection_id":141283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:54:33] local.INFO: Extracted packet for processing {"connection_id":141283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613456,"longitude_deg":75.6601344,"latitude_deg":11.9613456,"altitude":66,"angle":166,"satellites":42,"speed":32,"hex_longitude":"2d18d200","hex_latitude":"07212810","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957287680001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8832338251218944,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814036850688,"note":"Value kept but may cause issues"} 
[2026-07-25 19:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784989409000,"timestamp_ms":1784989409000,"timestamp_seconds":1784989409,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a8dee8"} 
[2026-07-25 19:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 19:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957287680001,"66":13135,"103":206,"83":41984,"24":32,"16":8832338251218944,"45":1786732814036850688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 19:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957287680001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:54:33] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 19:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8832338251218944,"km_value":8832338251218.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814036850688,"description":"Unknown IO ID 45"} 
[2026-07-25 19:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957287680001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1786732814036850688}} 
[2026-07-25 19:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":141283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:54:33] local.INFO: GPS data processed {"connection_id":141283,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:54:33] local.INFO: Acknowledgment sent {"connection_id":141283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:55:04] local.INFO: TCP Data received {"connection_id":141283,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a8e6b8012d18d280072121a8004100b42a..."} 
[2026-07-25 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a8e6b8012d18d280072121a8004100b42a..."} 
[2026-07-25 19:55:04] local.INFO: Processing buffer {"connection_id":141283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a8e6b8012d18d280072121a8004100b42a..."} 
[2026-07-25 19:55:04] local.INFO: Packet analysis {"connection_id":141283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:55:04] local.INFO: Extracted packet for processing {"connection_id":141283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a8"} 
[2026-07-25 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119611816,"longitude_deg":75.6601472,"latitude_deg":11.9611816,"altitude":65,"angle":180,"satellites":42,"speed":33,"hex_longitude":"2d18d280","hex_latitude":"072121a8","is_valid_coordinates":true} 
[2026-07-25 19: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-07-25 19:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957288704001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8832415560630272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640552960,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784989411000,"timestamp_ms":1784989411000,"timestamp_seconds":1784989411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a8e6b8"} 
[2026-07-25 19:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-25 19:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957288704001,"66":12287,"103":206,"83":41984,"24":33,"16":8832415560630272,"45":1788492032640552960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 19:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957288704001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:55:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 19:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8832415560630272,"km_value":8832415560630.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640552960,"description":"Unknown IO ID 45"} 
[2026-07-25 19:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957288704001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788492032640552960}} 
[2026-07-25 19:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":141283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:55:04] local.INFO: GPS data processed {"connection_id":141283,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:55:04] local.INFO: Acknowledgment sent {"connection_id":141283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:55:22] local.INFO: TCP Data received {"connection_id":141329,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:22] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:22] local.INFO: IMEI packet received {"connection_id":141329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":141329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:55:25] local.INFO: TCP Data received {"connection_id":141329,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:25] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:25] local.INFO: IMEI packet received {"connection_id":141329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":141329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:55:26] local.INFO: TCP Data received {"connection_id":141329,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:26] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:26] local.INFO: IMEI packet received {"connection_id":141329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":141329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:55:27] local.INFO: TCP Data received {"connection_id":141329,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:27] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:55:27] local.INFO: IMEI packet received {"connection_id":141329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":141329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:55:27] local.INFO: TCP Data received {"connection_id":141329,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99a9c178012d196d400720ace00021004c28..."} 
[2026-07-25 19:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99a9c178012d196d400720ace00021004c28..."} 
[2026-07-25 19:55:27] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99a9c178012d196d400720ace00021004c28..."} 
[2026-07-25 19:55:27] local.INFO: Packet analysis {"connection_id":141329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99a9"} 
[2026-07-25 19:55:27] local.INFO: Extracted packet for processing {"connection_id":141329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99a9"} 
[2026-07-25 19:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119581920,"longitude_deg":75.6641088,"latitude_deg":11.958192,"altitude":33,"angle":76,"satellites":40,"speed":40,"hex_longitude":"2d196d40","hex_latitude":"0720ace0","is_valid_coordinates":true} 
[2026-07-25 19:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957302016001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8835061260484608,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825505992069781504,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784989467000,"timestamp_ms":1784989467000,"timestamp_seconds":1784989467,"priority":1,"record_length":96,"hex_timestamp":"0000019f99a9c178"} 
[2026-07-25 19:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-25 19:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957302016001,"66":12798,"103":206,"83":41984,"24":40,"16":8835061260484608,"45":1825505992069781504},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 19:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957302016001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:55:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 19:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8835061260484608,"km_value":8835061260484.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825505992069781504,"description":"Unknown IO ID 45"} 
[2026-07-25 19:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957302016001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1825505992069781504}} 
[2026-07-25 19:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":141329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:55:27] local.INFO: GPS data processed {"connection_id":141329,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:55:27] local.INFO: Acknowledgment sent {"connection_id":141329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:55:59] local.INFO: TCP Data received {"connection_id":141329,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99aa5db8012d19b38007207488002b00a027..."} 
[2026-07-25 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99aa5db8012d19b38007207488002b00a027..."} 
[2026-07-25 19:55:59] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99aa5db8012d19b38007207488002b00a027..."} 
[2026-07-25 19:55:59] local.INFO: Packet analysis {"connection_id":141329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99aa"} 
[2026-07-25 19:55:59] local.INFO: Extracted packet for processing {"connection_id":141329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99aa"} 
[2026-07-25 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756659072,"raw_latitude":119567496,"longitude_deg":75.6659072,"latitude_deg":11.9567496,"altitude":43,"angle":160,"satellites":39,"speed":41,"hex_longitude":"2d19b380","hex_latitude":"07207488","is_valid_coordinates":true} 
[2026-07-25 19:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957312256001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8836749182631936,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018301952,"note":"Value kept but may cause issues"} 
[2026-07-25 19:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784989507000,"timestamp_ms":1784989507000,"timestamp_seconds":1784989507,"priority":1,"record_length":96,"hex_timestamp":"0000019f99aa5db8"} 
[2026-07-25 19:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-07-25 19:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 19:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 19:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 19:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957312256001,"66":13722,"103":206,"83":41984,"24":41,"16":8836749182631936,"45":1850275790018301952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-25 19:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 19:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 19:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957312256001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:55:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-25 19:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 19:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8836749182631936,"km_value":8836749182631.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018301952,"description":"Unknown IO ID 45"} 
[2026-07-25 19:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957312256001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1850275790018301952}} 
[2026-07-25 19:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":141329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:55:59] local.INFO: GPS data processed {"connection_id":141329,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:55:59] local.INFO: Acknowledgment sent {"connection_id":141329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:56:25] local.INFO: TCP Data received {"connection_id":142313,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:25] local.INFO: Processing buffer {"connection_id":142313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:25] local.INFO: IMEI packet received {"connection_id":142313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 19:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":142313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:56:26] local.INFO: TCP Data received {"connection_id":142313,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:26] local.INFO: Processing buffer {"connection_id":142313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:26] local.INFO: IMEI packet received {"connection_id":142313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":142313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:56:26] local.INFO: TCP Data received {"connection_id":142313,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:26] local.INFO: Processing buffer {"connection_id":142313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:26] local.INFO: IMEI packet received {"connection_id":142313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":142313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:56:27] local.INFO: TCP Data received {"connection_id":142313,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:27] local.INFO: Processing buffer {"connection_id":142313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 19:56:27] local.INFO: IMEI packet received {"connection_id":142313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 19:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":142313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:57:14] local.INFO: TCP Data received {"connection_id":142312,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:57:14] local.INFO: Processing buffer {"connection_id":142312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 19:57:14] local.INFO: IMEI packet received {"connection_id":142312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 19:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":142312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:58:12] local.INFO: TCP Data received {"connection_id":143693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:12] local.INFO: Processing buffer {"connection_id":143693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:12] local.INFO: IMEI packet received {"connection_id":143693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":143693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:58:14] local.INFO: TCP Data received {"connection_id":143693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99abd8a0012d9bf18005b3c858000a00af2a..."} 
[2026-07-25 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99abd8a0012d9bf18005b3c858000a00af2a..."} 
[2026-07-25 19:58:14] local.INFO: Processing buffer {"connection_id":143693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99abd8a0012d9bf18005b3c858000a00af2a..."} 
[2026-07-25 19:58:14] local.INFO: Packet analysis {"connection_id":143693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ab"} 
[2026-07-25 19:58:14] local.INFO: Extracted packet for processing {"connection_id":143693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ab"} 
[2026-07-25 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":765194624,"raw_latitude":95668312,"longitude_deg":76.5194624,"latitude_deg":9.5668312,"altitude":10,"angle":175,"satellites":42,"speed":16,"hex_longitude":"2d9bf180","hex_latitude":"05b3c858","is_valid_coordinates":true} 
[2026-07-25 19:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957334528001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358133051953250304,"note":"Value kept but may cause issues"} 
[2026-07-25 19:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208363022834919424,"note":"Value kept but may cause issues"} 
[2026-07-25 19:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784989604000,"timestamp_ms":1784989604000,"timestamp_seconds":1784989604,"priority":1,"record_length":96,"hex_timestamp":"0000019f99abd8a0"} 
[2026-07-25 19:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 19:58: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-07-25 19:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957334528001,"66":27397,"224":206,"83":17408,"24":16,"16":358133051953250304,"45":-7208363022834919424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,45]} 
[2026-07-25 19:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957334528001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:58:14] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 19:58:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 19:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358133051953250304,"km_value":358133051953250.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208363022834919424,"description":"Unknown IO ID 45"} 
[2026-07-25 19:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957334528001,"power":27397,"unknown_224":206,"unknown_83":17408,"ignition":16,"odometer":null,"unknown_45":-7208363022834919424}} 
[2026-07-25 19:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":143693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:58:14] local.INFO: GPS data processed {"connection_id":143693,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:58:14] local.INFO: Acknowledgment sent {"connection_id":143693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:58:55] local.INFO: TCP Data received {"connection_id":141330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:55] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:55] local.INFO: IMEI packet received {"connection_id":141330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 19:58:57] local.INFO: TCP Data received {"connection_id":141330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:57] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:58:57] local.INFO: IMEI packet received {"connection_id":141330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":141330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:59:00] local.INFO: TCP Data received {"connection_id":141330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:59:00] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 19:59:00] local.INFO: IMEI packet received {"connection_id":141330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 19:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":141330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 19:59:01] local.INFO: TCP Data received {"connection_id":141330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ad3060012d9cb04005b37038000c00642b..."} 
[2026-07-25 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ad3060012d9cb04005b37038000c00642b..."} 
[2026-07-25 19:59:01] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ad3060012d9cb04005b37038000c00642b..."} 
[2026-07-25 19:59:01] local.INFO: Packet analysis {"connection_id":141330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 19:59:01] local.INFO: Extracted packet for processing {"connection_id":141330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765243456,"raw_latitude":95645752,"longitude_deg":76.5243456,"latitude_deg":9.5645752,"altitude":12,"angle":100,"satellites":43,"speed":26,"hex_longitude":"2d9cb040","hex_latitude":"05b37038","is_valid_coordinates":true} 
[2026-07-25 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957357568001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358135663293366272,"note":"Value kept but may cause issues"} 
[2026-07-25 19:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7166001038846625792,"note":"Value kept but may cause issues"} 
[2026-07-25 19:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989692000,"timestamp_ms":1784989692000,"timestamp_seconds":1784989692,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ad3060"} 
[2026-07-25 19:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 19:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 19:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957357568001,"66":27484,"215":206,"83":17408,"24":26,"16":358135663293366272,"45":-7166001038846625792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 19:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957357568001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:59:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 19:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 19:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358135663293366272,"km_value":358135663293366.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7166001038846625792,"description":"Unknown IO ID 45"} 
[2026-07-25 19:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957357568001,"power":27484,"unknown_215":206,"unknown_83":17408,"ignition":26,"odometer":null,"unknown_45":-7166001038846625792}} 
[2026-07-25 19:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":141330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:59:01] local.INFO: GPS data processed {"connection_id":141330,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:59:01] local.INFO: Acknowledgment sent {"connection_id":141330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 19:59:32] local.INFO: TCP Data received {"connection_id":141330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ad4000012d9cb9c005b36da0000a00702b..."} 
[2026-07-25 19:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ad4000012d9cb9c005b36da0000a00702b..."} 
[2026-07-25 19:59:32] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ad4000012d9cb9c005b36da0000a00702b..."} 
[2026-07-25 19:59:32] local.INFO: Packet analysis {"connection_id":141330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 19:59:32] local.INFO: Extracted packet for processing {"connection_id":141330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 19:59:32] local.INFO: GPS Element Parsed {"raw_longitude":765245888,"raw_latitude":95645088,"longitude_deg":76.5245888,"latitude_deg":9.5645088,"altitude":10,"angle":112,"satellites":43,"speed":25,"hex_longitude":"2d9cb9c0","hex_latitude":"05b36da0","is_valid_coordinates":true} 
[2026-07-25 19:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 19:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957361152001,"note":"Value kept but may cause issues"} 
[2026-07-25 19:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358135783552450560,"note":"Value kept but may cause issues"} 
[2026-07-25 19:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7156149414662227968,"note":"Value kept but may cause issues"} 
[2026-07-25 19:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 19:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989696000,"timestamp_ms":1784989696000,"timestamp_seconds":1784989696,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ad4000"} 
[2026-07-25 19:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 19:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 19:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 19: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-07-25 19:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 19:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 19:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 19:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 19:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 19:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 19:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 19:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957361152001,"66":27463,"215":206,"83":17408,"24":25,"16":358135783552450560,"45":-7156149414662227968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 19:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 19:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 19:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957361152001,"description":"Unknown IO ID 0"} 
[2026-07-25 19:59:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 19:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 19:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358135783552450560,"km_value":358135783552450.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 19:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7156149414662227968,"description":"Unknown IO ID 45"} 
[2026-07-25 19:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957361152001,"power":27463,"unknown_215":206,"unknown_83":17408,"ignition":25,"odometer":null,"unknown_45":-7156149414662227968}} 
[2026-07-25 19:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":141330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 19:59:32] local.INFO: GPS data processed {"connection_id":141330,"processed":1,"errors":0,"total":1} 
[2026-07-25 19:59:32] local.INFO: Acknowledgment sent {"connection_id":141330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:00:00] local.INFO: TCP Data received {"connection_id":142316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:00] local.INFO: Processing buffer {"connection_id":142316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:00] local.INFO: IMEI packet received {"connection_id":142316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":142316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:00:05] local.INFO: TCP Data received {"connection_id":142316,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:05] local.INFO: Processing buffer {"connection_id":142316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:05] local.INFO: IMEI packet received {"connection_id":142316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":142316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:00:06] local.INFO: TCP Data received {"connection_id":142316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ad4bb8012d9cc04005b36a18000a007b2a..."} 
[2026-07-25 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ad4bb8012d9cc04005b36a18000a007b2a..."} 
[2026-07-25 20:00:06] local.INFO: Processing buffer {"connection_id":142316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ad4bb8012d9cc04005b36a18000a007b2a..."} 
[2026-07-25 20:00:06] local.INFO: Packet analysis {"connection_id":142316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:00:06] local.INFO: Extracted packet for processing {"connection_id":142316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":765247552,"raw_latitude":95644184,"longitude_deg":76.5247552,"latitude_deg":9.5644184,"altitude":10,"angle":123,"satellites":42,"speed":23,"hex_longitude":"2d9cc040","hex_latitude":"05b36a18","is_valid_coordinates":true} 
[2026-07-25 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957362176001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358135878041731072,"note":"Value kept but may cause issues"} 
[2026-07-25 20:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7153475402383646720,"note":"Value kept but may cause issues"} 
[2026-07-25 20:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784989699000,"timestamp_ms":1784989699000,"timestamp_seconds":1784989699,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ad4bb8"} 
[2026-07-25 20:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 20:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957362176001,"66":27267,"215":206,"83":17408,"24":23,"16":358135878041731072,"45":-7153475402383646720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957362176001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:00:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358135878041731072,"km_value":358135878041731.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7153475402383646720,"description":"Unknown IO ID 45"} 
[2026-07-25 20:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957362176001,"power":27267,"unknown_215":206,"unknown_83":17408,"ignition":23,"odometer":null,"unknown_45":-7153475402383646720}} 
[2026-07-25 20:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":142316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:00:06] local.INFO: GPS data processed {"connection_id":142316,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:00:06] local.INFO: Acknowledgment sent {"connection_id":142316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:00:10] local.INFO: TCP Data received {"connection_id":142316,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ad5770012d9cc50005b36628000b00862b..."} 
[2026-07-25 20:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ad5770012d9cc50005b36628000b00862b..."} 
[2026-07-25 20:00:10] local.INFO: Processing buffer {"connection_id":142316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ad5770012d9cc50005b36628000b00862b..."} 
[2026-07-25 20:00:10] local.INFO: Packet analysis {"connection_id":142316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:00:10] local.INFO: Extracted packet for processing {"connection_id":142316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":765248768,"raw_latitude":95643176,"longitude_deg":76.5248768,"latitude_deg":9.5643176,"altitude":11,"angle":134,"satellites":43,"speed":18,"hex_longitude":"2d9cc500","hex_latitude":"05b36628","is_valid_coordinates":true} 
[2026-07-25 20:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957362944001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358135955351142400,"note":"Value kept but may cause issues"} 
[2026-07-25 20:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7151645815035258880,"note":"Value kept but may cause issues"} 
[2026-07-25 20:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784989702000,"timestamp_ms":1784989702000,"timestamp_seconds":1784989702,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ad5770"} 
[2026-07-25 20:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 20:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957362944001,"66":27213,"215":206,"83":17408,"24":18,"16":358135955351142400,"45":-7151645815035258880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957362944001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:00:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:00:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358135955351142400,"km_value":358135955351142.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7151645815035258880,"description":"Unknown IO ID 45"} 
[2026-07-25 20:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957362944001,"power":27213,"unknown_215":206,"unknown_83":17408,"ignition":18,"odometer":null,"unknown_45":-7151645815035258880}} 
[2026-07-25 20:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":142316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:00:10] local.INFO: GPS data processed {"connection_id":142316,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:00:10] local.INFO: Acknowledgment sent {"connection_id":142316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:00:52] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:52] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:52] local.INFO: IMEI packet received {"connection_id":143695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":143695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:00:55] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:55] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:00:55] local.INFO: IMEI packet received {"connection_id":143695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":143695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:01:00] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:00] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:00] local.INFO: IMEI packet received {"connection_id":143695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":143695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:01:01] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ad72c8012d9ccbc005b36018000d007a2a..."} 
[2026-07-25 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ad72c8012d9ccbc005b36018000d007a2a..."} 
[2026-07-25 20:01:01] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ad72c8012d9ccbc005b36018000d007a2a..."} 
[2026-07-25 20:01:01] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:01:01] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":765250496,"raw_latitude":95641624,"longitude_deg":76.5250496,"latitude_deg":9.5641624,"altitude":13,"angle":122,"satellites":42,"speed":9,"hex_longitude":"2d9ccbc0","hex_latitude":"05b36018","is_valid_coordinates":true} 
[2026-07-25 20:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957363712001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136062725324800,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150308808896141312,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989709000,"timestamp_ms":1784989709000,"timestamp_seconds":1784989709,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ad72c8"} 
[2026-07-25 20:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 20:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957363712001,"66":27376,"215":206,"83":17408,"24":9,"16":358136062725324800,"45":-7150308808896141312},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957363712001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:01:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136062725324800,"km_value":358136062725324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150308808896141312,"description":"Unknown IO ID 45"} 
[2026-07-25 20:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957363712001,"power":27376,"unknown_215":206,"unknown_83":17408,"ignition":9,"odometer":null,"unknown_45":-7150308808896141312}} 
[2026-07-25 20:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:01:01] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:01:01] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:01:05] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99adc4d0012d9cce0005b35dc0000e007e2b..."} 
[2026-07-25 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99adc4d0012d9cce0005b35dc0000e007e2b..."} 
[2026-07-25 20:01:05] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99adc4d0012d9cce0005b35dc0000e007e2b..."} 
[2026-07-25 20:01:05] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:01:05] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ad"} 
[2026-07-25 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":765251072,"raw_latitude":95641024,"longitude_deg":76.5251072,"latitude_deg":9.5641024,"altitude":14,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cce00","hex_latitude":"05b35dc0","is_valid_coordinates":true} 
[2026-07-25 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957365504001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136109969965056,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148408852803741696,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784989730000,"timestamp_ms":1784989730000,"timestamp_seconds":1784989730,"priority":1,"record_length":96,"hex_timestamp":"0000019f99adc4d0"} 
[2026-07-25 20:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:01: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-07-25 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957365504001,"66":27376,"215":206,"83":17408,"24":0,"16":358136109969965056,"45":-7148408852803741696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957365504001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:01:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136109969965056,"km_value":358136109969965.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148408852803741696,"description":"Unknown IO ID 45"} 
[2026-07-25 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957365504001,"power":27376,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7148408852803741696}} 
[2026-07-25 20:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:01:05] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:01:05] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:01:31] local.INFO: TCP Data received {"connection_id":142318,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:01:31] local.INFO: Processing buffer {"connection_id":142318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:01:31] local.INFO: IMEI packet received {"connection_id":142318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":142318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:01:36] local.INFO: TCP Data received {"connection_id":143695,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ae16d8012d9ccd8005b35b48000f007e2a..."} 
[2026-07-25 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ae16d8012d9ccd8005b35b48000f007e2a..."} 
[2026-07-25 20:01:36] local.INFO: Processing buffer {"connection_id":143695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ae16d8012d9ccd8005b35b48000f007e2a..."} 
[2026-07-25 20:01:36] local.INFO: Packet analysis {"connection_id":143695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:01:36] local.INFO: Extracted packet for processing {"connection_id":143695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":765250944,"raw_latitude":95640392,"longitude_deg":76.5250944,"latitude_deg":9.5640392,"altitude":15,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9ccd80","hex_latitude":"05b35b48","is_valid_coordinates":true} 
[2026-07-25 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957370880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136165804539904,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106296320,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784989751000,"timestamp_ms":1784989751000,"timestamp_seconds":1784989751,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ae16d8"} 
[2026-07-25 20:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957370880001,"66":27234,"215":206,"83":17408,"24":0,"16":358136165804539904,"45":-7147775534106296320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957370880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:01:36] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136165804539904,"km_value":358136165804539.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106296320,"description":"Unknown IO ID 45"} 
[2026-07-25 20:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957370880001,"power":27234,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147775534106296320}} 
[2026-07-25 20:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":143695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:01:36] local.INFO: GPS data processed {"connection_id":143695,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:01:36] local.INFO: Acknowledgment sent {"connection_id":143695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:01:36] local.INFO: TCP Data received {"connection_id":142318,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:01:36] local.INFO: Processing buffer {"connection_id":142318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:01:36] local.INFO: IMEI packet received {"connection_id":142318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":142318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:01:37] local.INFO: TCP Data received {"connection_id":142318,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99aed640012d1b5080071ec3a00046009823..."} 
[2026-07-25 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99aed640012d1b5080071ec3a00046009823..."} 
[2026-07-25 20:01:37] local.INFO: Processing buffer {"connection_id":142318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99aed640012d1b5080071ec3a00046009823..."} 
[2026-07-25 20:01:37] local.INFO: Packet analysis {"connection_id":142318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:01:37] local.INFO: Extracted packet for processing {"connection_id":142318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756764800,"raw_latitude":119456672,"longitude_deg":75.67648,"latitude_deg":11.9456672,"altitude":70,"angle":152,"satellites":35,"speed":21,"hex_longitude":"2d1b5080","hex_latitude":"071ec3a0","is_valid_coordinates":true} 
[2026-07-25 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957387776001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845523800817664,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966806430347106304,"note":"Value kept but may cause issues"} 
[2026-07-25 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784989800000,"timestamp_ms":1784989800000,"timestamp_seconds":1784989800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99aed640"} 
[2026-07-25 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-25 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957387776001,"66":13124,"101":206,"83":41984,"24":21,"16":8845523800817664,"45":1966806430347106304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957387776001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:01:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845523800817664,"km_value":8845523800817.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966806430347106304,"description":"Unknown IO ID 45"} 
[2026-07-25 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957387776001,"power":13124,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1966806430347106304}} 
[2026-07-25 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":142318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:01:37] local.INFO: GPS data processed {"connection_id":142318,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:01:37] local.INFO: Acknowledgment sent {"connection_id":142318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:01:55] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:55] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:55] local.INFO: IMEI packet received {"connection_id":141286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":141286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:01:55] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:55] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:01:55] local.INFO: IMEI packet received {"connection_id":141286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":141286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:02:00] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:02:00] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:02:00] local.INFO: IMEI packet received {"connection_id":141286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":141286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:02:01] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ae68e0012d9ccc0005b35e00000e007e28..."} 
[2026-07-25 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ae68e0012d9ccc0005b35e00000e007e28..."} 
[2026-07-25 20:02:01] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ae68e0012d9ccc0005b35e00000e007e28..."} 
[2026-07-25 20:02:01] local.INFO: Packet analysis {"connection_id":141286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:02:01] local.INFO: Extracted packet for processing {"connection_id":141286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":765250560,"raw_latitude":95641088,"longitude_deg":76.525056,"latitude_deg":9.5641088,"altitude":14,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9ccc00","hex_latitude":"05b35e00","is_valid_coordinates":true} 
[2026-07-25 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957376256001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136208754212864,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147916271594813440,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989772000,"timestamp_ms":1784989772000,"timestamp_seconds":1784989772,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ae68e0"} 
[2026-07-25 20:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 20:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957376256001,"66":27463,"215":206,"83":17408,"24":0,"16":358136208754212864,"45":-7147916271594813440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957376256001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:02:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:02:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136208754212864,"km_value":358136208754212.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147916271594813440,"description":"Unknown IO ID 45"} 
[2026-07-25 20:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957376256001,"power":27463,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147916271594813440}} 
[2026-07-25 20:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":141286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:02:01] local.INFO: GPS data processed {"connection_id":141286,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:02:01] local.INFO: Acknowledgment sent {"connection_id":141286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:02:08] local.INFO: TCP Data received {"connection_id":142318,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99aee9c8012d1b5480071ebab00047008923..."} 
[2026-07-25 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99aee9c8012d1b5480071ebab00047008923..."} 
[2026-07-25 20:02:08] local.INFO: Processing buffer {"connection_id":142318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99aee9c8012d1b5480071ebab00047008923..."} 
[2026-07-25 20:02:08] local.INFO: Packet analysis {"connection_id":142318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:02:08] local.INFO: Extracted packet for processing {"connection_id":142318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756765824,"raw_latitude":119454384,"longitude_deg":75.6765824,"latitude_deg":11.9454384,"altitude":71,"angle":137,"satellites":35,"speed":15,"hex_longitude":"2d1b5480","hex_latitude":"071ebab0","is_valid_coordinates":true} 
[2026-07-25 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957388800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845644059901952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968213805230170112,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02: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-07-25 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784989805000,"timestamp_ms":1784989805000,"timestamp_seconds":1784989805,"priority":1,"record_length":96,"hex_timestamp":"0000019f99aee9c8"} 
[2026-07-25 20:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 20:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957388800001,"66":12548,"101":206,"83":41984,"24":15,"16":8845644059901952,"45":1968213805230170112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957388800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:02:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845644059901952,"km_value":8845644059901.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968213805230170112,"description":"Unknown IO ID 45"} 
[2026-07-25 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957388800001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1968213805230170112}} 
[2026-07-25 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":142318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:02:08] local.INFO: GPS data processed {"connection_id":142318,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:02:08] local.INFO: Acknowledgment sent {"connection_id":142318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:02:32] local.INFO: TCP Data received {"connection_id":141286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99aebae8012d9ccc0005b35e00000e007e26..."} 
[2026-07-25 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99aebae8012d9ccc0005b35e00000e007e26..."} 
[2026-07-25 20:02:32] local.INFO: Processing buffer {"connection_id":141286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99aebae8012d9ccc0005b35e00000e007e26..."} 
[2026-07-25 20:02:32] local.INFO: Packet analysis {"connection_id":141286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:02:32] local.INFO: Extracted packet for processing {"connection_id":141286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:02:32] local.INFO: GPS Element Parsed {"raw_longitude":765250560,"raw_latitude":95641088,"longitude_deg":76.525056,"latitude_deg":9.5641088,"altitude":14,"angle":126,"satellites":38,"speed":0,"hex_longitude":"2d9ccc00","hex_latitude":"05b35e00","is_valid_coordinates":true} 
[2026-07-25 20:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957381632001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136208754212864,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148338484059701248,"note":"Value kept but may cause issues"} 
[2026-07-25 20:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989793000,"timestamp_ms":1784989793000,"timestamp_seconds":1784989793,"priority":1,"record_length":96,"hex_timestamp":"0000019f99aebae8"} 
[2026-07-25 20:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 20:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957381632001,"66":27343,"215":206,"83":17408,"24":0,"16":358136208754212864,"45":-7148338484059701248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957381632001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:02:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136208754212864,"km_value":358136208754212.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148338484059701248,"description":"Unknown IO ID 45"} 
[2026-07-25 20:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957381632001,"power":27343,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7148338484059701248}} 
[2026-07-25 20:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":141286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:02:32] local.INFO: GPS data processed {"connection_id":141286,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:02:32] local.INFO: Acknowledgment sent {"connection_id":141286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:02:49] local.INFO: TCP Data received {"connection_id":142314,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:02:49] local.INFO: Processing buffer {"connection_id":142314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:02:49] local.INFO: IMEI packet received {"connection_id":142314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":142314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:02:55] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:02:55] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:02:55] local.INFO: IMEI packet received {"connection_id":141331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":141331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:02:55] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:02:55] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:02:55] local.INFO: IMEI packet received {"connection_id":143696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":143696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:02:58] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 20:02:58] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-25 20:02:58] local.INFO: IMEI packet received {"connection_id":143696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":143696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:02:59] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99aeedb0012d1b55c0071eb9c00047007d23..."} 
[2026-07-25 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99aeedb0012d1b55c0071eb9c00047007d23..."} 
[2026-07-25 20:02:59] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019f99..."} 
[2026-07-25 20:02:59] local.INFO: IMEI packet received {"connection_id":143696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":143696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:02:59] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:03:00] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:03:00] local.INFO: IMEI packet received {"connection_id":141331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":141331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:03:00] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b0ca40012d1b5380071ebb20004b014d24..."} 
[2026-07-25 20:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b0ca40012d1b5380071ebb20004b014d24..."} 
[2026-07-25 20:03:00] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f99aeedb0012d1b55c0071eb9c00047007d23..."} 
[2026-07-25 20:03:00] local.INFO: Packet analysis {"connection_id":143696,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:03:00] local.INFO: Extracted packet for processing {"connection_id":143696,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ae"} 
[2026-07-25 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756766144,"raw_latitude":119454144,"longitude_deg":75.6766144,"latitude_deg":11.9454144,"altitude":71,"angle":125,"satellites":35,"speed":12,"hex_longitude":"2d1b55c0","hex_latitude":"071eb9c0","is_valid_coordinates":true} 
[2026-07-25 20:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957390080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8845661239771136,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705136427008,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784989806000,"timestamp_ms":1784989806000,"timestamp_seconds":1784989806,"priority":1,"record_length":96,"hex_timestamp":"0000019f99aeedb0"} 
[2026-07-25 20:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2578348160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":6144,"corrected_to":0} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184260403405,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":153,"raw_value":2929948673,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3638558788,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":22,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,109,159,214,45,128,195,70,35,10,66,108,198,203,34,175,192,1,240,232,227,153,30,4,113,205,136,47,38,239,52,2,31,7,22,120],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":203,"original":6144,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-25 20:03:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116239960110727168,"timestamp_seconds":5116239960110727.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 20:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957390080001,"66":12548,"101":206,"83":41984,"24":12,"16":8845661239771136,"45":1969339705136427008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957390080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8845661239771136,"km_value":8845661239771.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705136427008,"description":"Unknown IO ID 45"} 
[2026-07-25 20:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957390080001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1969339705136427008}} 
[2026-07-25 20:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":143696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:03:00] local.INFO: GPS data processed {"connection_id":143696,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:03:00] local.INFO: Acknowledgment sent {"connection_id":143696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:03:00] local.INFO: Packet analysis {"connection_id":143696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:03:00] local.INFO: Extracted packet for processing {"connection_id":143696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756765568,"raw_latitude":119454496,"longitude_deg":75.6765568,"latitude_deg":11.9454496,"altitude":75,"angle":333,"satellites":36,"speed":18,"hex_longitude":"2d1b5380","hex_latitude":"071ebb20","is_valid_coordinates":true} 
[2026-07-25 20:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957421312001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846442923819008,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705136355328,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784989928000,"timestamp_ms":1784989928000,"timestamp_seconds":1784989928,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b0ca40"} 
[2026-07-25 20:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 20:03: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-07-25 20:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957421312001,"66":13559,"106":206,"83":41984,"24":18,"16":8846442923819008,"45":1969339705136355328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 20:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957421312001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846442923819008,"km_value":8846442923819.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705136355328,"description":"Unknown IO ID 45"} 
[2026-07-25 20:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957421312001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1969339705136355328}} 
[2026-07-25 20:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":143696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:03:01] local.INFO: GPS data processed {"connection_id":143696,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:03:01] local.INFO: Acknowledgment sent {"connection_id":143696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:03:01] local.INFO: TCP Data received {"connection_id":143696,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b0e598012d1b4cc0071ec888004a014023..."} 
[2026-07-25 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b0e598012d1b4cc0071ec888004a014023..."} 
[2026-07-25 20:03:01] local.INFO: Processing buffer {"connection_id":143696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b0e598012d1b4cc0071ec888004a014023..."} 
[2026-07-25 20:03:01] local.INFO: Packet analysis {"connection_id":143696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:03:01] local.INFO: Extracted packet for processing {"connection_id":143696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756763840,"raw_latitude":119457928,"longitude_deg":75.676384,"latitude_deg":11.9457928,"altitude":74,"angle":320,"satellites":35,"speed":20,"hex_longitude":"2d1b4cc0","hex_latitude":"071ec888","is_valid_coordinates":true} 
[2026-07-25 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957421568001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846631902380032,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969058230159745024,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989935000,"timestamp_ms":1784989935000,"timestamp_seconds":1784989935,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b0e598"} 
[2026-07-25 20:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:03: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-07-25 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-07-25 20:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957421568001,"66":13526,"106":206,"83":41984,"24":20,"16":8846631902380032,"45":1969058230159745024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957421568001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846631902380032,"km_value":8846631902380.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969058230159745024,"description":"Unknown IO ID 45"} 
[2026-07-25 20:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957421568001,"power":13526,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1969058230159745024}} 
[2026-07-25 20:03:01] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99af0cf0012d9ccf0005b35fa80012007e2b..."} 
[2026-07-25 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99af0cf0012d9ccf0005b35fa80012007e2b..."} 
[2026-07-25 20:03:01] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99af0cf0012d9ccf0005b35fa80012007e2b..."} 
[2026-07-25 20:03:01] local.INFO: Packet analysis {"connection_id":141331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99af"} 
[2026-07-25 20:03:01] local.INFO: Extracted packet for processing {"connection_id":141331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99af"} 
[2026-07-25 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":765251328,"raw_latitude":95641512,"longitude_deg":76.5251328,"latitude_deg":9.5641512,"altitude":18,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9ccf00","hex_latitude":"05b35fa8","is_valid_coordinates":true} 
[2026-07-25 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957387008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136255998853120,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148338484059701248,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989814000,"timestamp_ms":1784989814000,"timestamp_seconds":1784989814,"priority":1,"record_length":96,"hex_timestamp":"0000019f99af0cf0"} 
[2026-07-25 20:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 20:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957387008001,"66":27104,"215":206,"83":17408,"24":0,"16":358136255998853120,"45":-7148338484059701248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957387008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136255998853120,"km_value":358136255998853.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148338484059701248,"description":"Unknown IO ID 45"} 
[2026-07-25 20:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957387008001,"power":27104,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7148338484059701248}} 
[2026-07-25 20:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":141331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:03:01] local.INFO: GPS data processed {"connection_id":141331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:03:01] local.INFO: Acknowledgment sent {"connection_id":141331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":143696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:03:01] local.INFO: GPS data processed {"connection_id":143696,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:03:01] local.INFO: Acknowledgment sent {"connection_id":143696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:03:24] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:24] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:24] local.INFO: IMEI packet received {"connection_id":141287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":141287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:03:26] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:26] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:26] local.INFO: IMEI packet received {"connection_id":141287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":141287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:03:26] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:26] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:26] local.INFO: IMEI packet received {"connection_id":141287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":141287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:03:32] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:32] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:03:32] local.INFO: IMEI packet received {"connection_id":141287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":141287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:03:33] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b0f150012d1b48c0071ecc200049013222..."} 
[2026-07-25 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b0f150012d1b48c0071ecc200049013222..."} 
[2026-07-25 20:03:33] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b0f150012d1b48c0071ecc200049013222..."} 
[2026-07-25 20:03:33] local.INFO: Packet analysis {"connection_id":141287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:03:33] local.INFO: Extracted packet for processing {"connection_id":141287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756762816,"raw_latitude":119458848,"longitude_deg":75.6762816,"latitude_deg":11.9458848,"altitude":73,"angle":306,"satellites":34,"speed":16,"hex_longitude":"2d1b48c0","hex_latitude":"071ecc20","is_valid_coordinates":true} 
[2026-07-25 20:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957423360001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8846696326889472,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1967158274067826688,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784989938000,"timestamp_ms":1784989938000,"timestamp_seconds":1784989938,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b0f150"} 
[2026-07-25 20:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-25 20:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957423360001,"66":13656,"106":206,"83":41984,"24":16,"16":8846696326889472,"45":1967158274067826688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957423360001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8846696326889472,"km_value":8846696326889.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1967158274067826688,"description":"Unknown IO ID 45"} 
[2026-07-25 20:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957423360001,"power":13656,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1967158274067826688}} 
[2026-07-25 20:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":141287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:03:33] local.INFO: GPS data processed {"connection_id":141287,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:03:33] local.INFO: Acknowledgment sent {"connection_id":141287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:03:33] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99af5ef8012d9cce0005b35fe00013007e2a..."} 
[2026-07-25 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99af5ef8012d9cce0005b35fe00013007e2a..."} 
[2026-07-25 20:03:33] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99af5ef8012d9cce0005b35fe00013007e2a..."} 
[2026-07-25 20:03:33] local.INFO: Packet analysis {"connection_id":141331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99af"} 
[2026-07-25 20:03:33] local.INFO: Extracted packet for processing {"connection_id":141331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99af"} 
[2026-07-25 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":765251072,"raw_latitude":95641568,"longitude_deg":76.5251072,"latitude_deg":9.5641568,"altitude":19,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cce00","hex_latitude":"05b35fe0","is_valid_coordinates":true} 
[2026-07-25 20:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957392384001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136268883755008,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147494059129460736,"note":"Value kept but may cause issues"} 
[2026-07-25 20:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784989835000,"timestamp_ms":1784989835000,"timestamp_seconds":1784989835,"priority":1,"record_length":96,"hex_timestamp":"0000019f99af5ef8"} 
[2026-07-25 20:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-25 20:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957392384001,"66":27213,"215":206,"83":17408,"24":0,"16":358136268883755008,"45":-7147494059129460736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957392384001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136268883755008,"km_value":358136268883755.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147494059129460736,"description":"Unknown IO ID 45"} 
[2026-07-25 20:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957392384001,"power":27213,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7147494059129460736}} 
[2026-07-25 20:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":141331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:03:33] local.INFO: GPS data processed {"connection_id":141331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:03:33] local.INFO: Acknowledgment sent {"connection_id":141331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:03:54] local.INFO: TCP Data received {"connection_id":142320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:03:54] local.INFO: Processing buffer {"connection_id":142320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:03:55] local.INFO: IMEI packet received {"connection_id":142320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":142320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:03:59] local.INFO: TCP Data received {"connection_id":142320,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:04:00] local.INFO: Processing buffer {"connection_id":142320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:04:00] local.INFO: IMEI packet received {"connection_id":142320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":142320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:04:01] local.INFO: TCP Data received {"connection_id":142320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99afb100012d9cd0c005b360600014007e2a..."} 
[2026-07-25 20:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99afb100012d9cd0c005b360600014007e2a..."} 
[2026-07-25 20:04:01] local.INFO: Processing buffer {"connection_id":142320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99afb100012d9cd0c005b360600014007e2a..."} 
[2026-07-25 20:04:01] local.INFO: Packet analysis {"connection_id":142320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99af"} 
[2026-07-25 20:04:01] local.INFO: Extracted packet for processing {"connection_id":142320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99af"} 
[2026-07-25 20:04:01] local.INFO: GPS Element Parsed {"raw_longitude":765251776,"raw_latitude":95641696,"longitude_deg":76.5251776,"latitude_deg":9.5641696,"altitude":20,"angle":126,"satellites":42,"speed":2,"hex_longitude":"2d9cd0c0","hex_latitude":"05b36060","is_valid_coordinates":true} 
[2026-07-25 20:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957397760001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136307538460672,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147775534106157056,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989856000,"timestamp_ms":1784989856000,"timestamp_seconds":1784989856,"priority":1,"record_length":96,"hex_timestamp":"0000019f99afb100"} 
[2026-07-25 20:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 20: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-07-25 20:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957397760001,"66":27234,"215":206,"83":17408,"24":2,"16":358136307538460672,"45":-7147775534106157056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957397760001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:04:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136307538460672,"km_value":358136307538460.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147775534106157056,"description":"Unknown IO ID 45"} 
[2026-07-25 20:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957397760001,"power":27234,"unknown_215":206,"unknown_83":17408,"ignition":2,"odometer":null,"unknown_45":-7147775534106157056}} 
[2026-07-25 20:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":142320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:04:01] local.INFO: GPS data processed {"connection_id":142320,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:04:01] local.INFO: Acknowledgment sent {"connection_id":142320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:04:04] local.INFO: TCP Data received {"connection_id":141287,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b19d30012d1b0200071eed70005401582a..."} 
[2026-07-25 20:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b19d30012d1b0200071eed70005401582a..."} 
[2026-07-25 20:04:04] local.INFO: Processing buffer {"connection_id":141287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b19d30012d1b0200071eed70005401582a..."} 
[2026-07-25 20:04:04] local.INFO: Packet analysis {"connection_id":141287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b1"} 
[2026-07-25 20:04:04] local.INFO: Extracted packet for processing {"connection_id":141287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b1"} 
[2026-07-25 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756744704,"raw_latitude":119467376,"longitude_deg":75.6744704,"latitude_deg":11.9467376,"altitude":84,"angle":344,"satellites":42,"speed":18,"hex_longitude":"2d1b0200","hex_latitude":"071eed70","is_valid_coordinates":true} 
[2026-07-25 20:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957434880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8847757183811584,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946610600770152448,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784989982000,"timestamp_ms":1784989982000,"timestamp_seconds":1784989982,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b19d30"} 
[2026-07-25 20:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-25 20:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957434880001,"66":12232,"101":206,"83":41984,"24":18,"16":8847757183811584,"45":1946610600770152448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957434880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:04:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8847757183811584,"km_value":8847757183811.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946610600770152448,"description":"Unknown IO ID 45"} 
[2026-07-25 20:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957434880001,"power":12232,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1946610600770152448}} 
[2026-07-25 20:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":141287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:04:04] local.INFO: GPS data processed {"connection_id":141287,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:04:04] local.INFO: Acknowledgment sent {"connection_id":141287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:04:25] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:25] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:25] local.INFO: IMEI packet received {"connection_id":141332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":141332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:04:26] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:26] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:26] local.INFO: IMEI packet received {"connection_id":141332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":141332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:04:31] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:31] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:04:31] local.INFO: IMEI packet received {"connection_id":141332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":141332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:04:32] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b1a8e8012d1b0140071ef3e0005701632a..."} 
[2026-07-25 20:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b1a8e8012d1b0140071ef3e0005701632a..."} 
[2026-07-25 20:04:32] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b1a8e8012d1b0140071ef3e0005701632a..."} 
[2026-07-25 20:04:32] local.INFO: Packet analysis {"connection_id":141332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b1"} 
[2026-07-25 20:04:32] local.INFO: Extracted packet for processing {"connection_id":141332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b1"} 
[2026-07-25 20:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756744512,"raw_latitude":119469024,"longitude_deg":75.6744512,"latitude_deg":11.9469024,"altitude":87,"angle":355,"satellites":42,"speed":22,"hex_longitude":"2d1b0140","hex_latitude":"071ef3e0","is_valid_coordinates":true} 
[2026-07-25 20:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957435392001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8847834493222912,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1946118019561123840,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989985000,"timestamp_ms":1784989985000,"timestamp_seconds":1784989985,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b1a8e8"} 
[2026-07-25 20:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 20:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957435392001,"66":13298,"101":206,"83":41984,"24":22,"16":8847834493222912,"45":1946118019561123840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957435392001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8847834493222912,"km_value":8847834493222.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1946118019561123840,"description":"Unknown IO ID 45"} 
[2026-07-25 20:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957435392001,"power":13298,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1946118019561123840}} 
[2026-07-25 20:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":141332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:04:32] local.INFO: GPS data processed {"connection_id":141332,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:04:32] local.INFO: Acknowledgment sent {"connection_id":141332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:04:32] local.INFO: TCP Data received {"connection_id":142320,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b00308012d9cd30005b360b00015007e2a..."} 
[2026-07-25 20:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b00308012d9cd30005b360b00015007e2a..."} 
[2026-07-25 20:04:32] local.INFO: Processing buffer {"connection_id":142320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b00308012d9cd30005b360b00015007e2a..."} 
[2026-07-25 20:04:32] local.INFO: Packet analysis {"connection_id":142320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:04:32] local.INFO: Extracted packet for processing {"connection_id":142320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:04:32] local.INFO: GPS Element Parsed {"raw_longitude":765252352,"raw_latitude":95641776,"longitude_deg":76.5252352,"latitude_deg":9.5641776,"altitude":21,"angle":126,"satellites":42,"speed":1,"hex_longitude":"2d9cd300","hex_latitude":"05b360b0","is_valid_coordinates":true} 
[2026-07-25 20:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957403136001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136346193166336,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147001477920169984,"note":"Value kept but may cause issues"} 
[2026-07-25 20:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784989877000,"timestamp_ms":1784989877000,"timestamp_seconds":1784989877,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b00308"} 
[2026-07-25 20:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 20:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957403136001,"66":27376,"215":206,"83":17408,"24":1,"16":358136346193166336,"45":-7147001477920169984},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957403136001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136346193166336,"km_value":358136346193166.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147001477920169984,"description":"Unknown IO ID 45"} 
[2026-07-25 20:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957403136001,"power":27376,"unknown_215":206,"unknown_83":17408,"ignition":1,"odometer":null,"unknown_45":-7147001477920169984}} 
[2026-07-25 20:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":142320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:04:32] local.INFO: GPS data processed {"connection_id":142320,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:04:32] local.INFO: Acknowledgment sent {"connection_id":142320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:04:54] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:04:54] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:04:54] local.INFO: IMEI packet received {"connection_id":143697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":143697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:05:00] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:05:00] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:05:00] local.INFO: IMEI packet received {"connection_id":143697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:05:01] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:05:01] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:05:01] local.INFO: Packet analysis {"connection_id":143697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:05:01] local.INFO: Extracted packet for processing {"connection_id":143697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":765252608,"raw_latitude":95641728,"longitude_deg":76.5252608,"latitude_deg":9.5641728,"altitude":22,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd400","hex_latitude":"05b36080","is_valid_coordinates":true} 
[2026-07-25 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957408512001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146368159222550528,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989892000,"timestamp_ms":1784989892000,"timestamp_seconds":1784989892,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b03da0"} 
[2026-07-25 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957408512001,"66":27865,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146368159222550528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957408512001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:05:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146368159222550528,"description":"Unknown IO ID 45"} 
[2026-07-25 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957408512001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146368159222550528}} 
[2026-07-25 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":143697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:05:01] local.INFO: GPS data processed {"connection_id":143697,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:05:01] local.INFO: Acknowledgment sent {"connection_id":143697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:05:03] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b1ef38012d1afd00071f17280057016129..."} 
[2026-07-25 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b1ef38012d1afd00071f17280057016129..."} 
[2026-07-25 20:05:03] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b1ef38012d1afd00071f17280057016129..."} 
[2026-07-25 20:05:03] local.INFO: Packet analysis {"connection_id":141332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b1"} 
[2026-07-25 20:05:03] local.INFO: Extracted packet for processing {"connection_id":141332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b1"} 
[2026-07-25 20:05:03] local.INFO: GPS Element Parsed {"raw_longitude":756743424,"raw_latitude":119478056,"longitude_deg":75.6743424,"latitude_deg":11.9478056,"altitude":87,"angle":353,"satellites":41,"speed":19,"hex_longitude":"2d1afd00","hex_latitude":"071f1728","is_valid_coordinates":true} 
[2026-07-25 20:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957436160001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8848276874854400,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945906913329012736,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990003000,"timestamp_ms":1784990003000,"timestamp_seconds":1784990003,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b1ef38"} 
[2026-07-25 20:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-25 20:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957436160001,"66":13624,"101":206,"83":41984,"24":19,"16":8848276874854400,"45":1945906913329012736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957436160001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8848276874854400,"km_value":8848276874854.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945906913329012736,"description":"Unknown IO ID 45"} 
[2026-07-25 20:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957436160001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1945906913329012736}} 
[2026-07-25 20:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":141332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:05:03] local.INFO: GPS data processed {"connection_id":141332,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:05:03] local.INFO: Acknowledgment sent {"connection_id":141332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:05:26] local.INFO: TCP Data received {"connection_id":143698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:26] local.INFO: Processing buffer {"connection_id":143698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:26] local.INFO: IMEI packet received {"connection_id":143698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":143698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:05:26] local.INFO: TCP Data received {"connection_id":143698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:26] local.INFO: Processing buffer {"connection_id":143698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:26] local.INFO: IMEI packet received {"connection_id":143698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":143698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:05:31] local.INFO: TCP Data received {"connection_id":143698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:31] local.INFO: Processing buffer {"connection_id":143698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:05:31] local.INFO: IMEI packet received {"connection_id":143698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":143698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:05:32] local.INFO: TCP Data received {"connection_id":143698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b2d5b0012d1aba00071f60c00042000427..."} 
[2026-07-25 20:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b2d5b0012d1aba00071f60c00042000427..."} 
[2026-07-25 20:05:32] local.INFO: Processing buffer {"connection_id":143698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b2d5b0012d1aba00071f60c00042000427..."} 
[2026-07-25 20:05:32] local.INFO: Packet analysis {"connection_id":143698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b2"} 
[2026-07-25 20:05:32] local.INFO: Extracted packet for processing {"connection_id":143698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b2"} 
[2026-07-25 20:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119496896,"longitude_deg":75.6726272,"latitude_deg":11.9496896,"altitude":66,"angle":4,"satellites":39,"speed":35,"hex_longitude":"2d1aba00","hex_latitude":"071f60c0","is_valid_coordinates":true} 
[2026-07-25 20:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957453568001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8849874602688512,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926203664964679680,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990062000,"timestamp_ms":1784990062000,"timestamp_seconds":1784990062,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b2d5b0"} 
[2026-07-25 20:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-07-25 20:05: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-07-25 20:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957453568001,"66":13656,"101":206,"83":41984,"24":35,"16":8849874602688512,"45":1926203664964679680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957453568001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:05:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8849874602688512,"km_value":8849874602688.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926203664964679680,"description":"Unknown IO ID 45"} 
[2026-07-25 20:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957453568001,"power":13656,"unknown_101":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1926203664964679680}} 
[2026-07-25 20:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":143698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:05:32] local.INFO: GPS data processed {"connection_id":143698,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:05:32] local.INFO: Acknowledgment sent {"connection_id":143698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:05:33] local.INFO: TCP Data received {"connection_id":143697,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:05:33] local.INFO: Processing buffer {"connection_id":143697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:05:33] local.INFO: Packet analysis {"connection_id":143697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:05:33] local.INFO: Extracted packet for processing {"connection_id":143697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":765252608,"raw_latitude":95641728,"longitude_deg":76.5252608,"latitude_deg":9.5641728,"altitude":22,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd400","hex_latitude":"05b36080","is_valid_coordinates":true} 
[2026-07-25 20:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957408512001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146368159222550528,"note":"Value kept but may cause issues"} 
[2026-07-25 20:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784989892000,"timestamp_ms":1784989892000,"timestamp_seconds":1784989892,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b03da0"} 
[2026-07-25 20:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957408512001,"66":27865,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146368159222550528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957408512001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:05:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146368159222550528,"description":"Unknown IO ID 45"} 
[2026-07-25 20:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957408512001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146368159222550528}} 
[2026-07-25 20:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":143697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:05:33] local.INFO: GPS data processed {"connection_id":143697,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:05:33] local.INFO: Acknowledgment sent {"connection_id":143697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:06:00] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:00] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:00] local.INFO: IMEI packet received {"connection_id":141333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":141333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:06:03] local.INFO: TCP Data received {"connection_id":143698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b3b840012d1a6300071fda50003501142a..."} 
[2026-07-25 20:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b3b840012d1a6300071fda50003501142a..."} 
[2026-07-25 20:06:03] local.INFO: Processing buffer {"connection_id":143698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b3b840012d1a6300071fda50003501142a..."} 
[2026-07-25 20:06:03] local.INFO: Packet analysis {"connection_id":143698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b3"} 
[2026-07-25 20:06:03] local.INFO: Extracted packet for processing {"connection_id":143698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b3"} 
[2026-07-25 20:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756704000,"raw_latitude":119528016,"longitude_deg":75.6704,"latitude_deg":11.9528016,"altitude":53,"angle":276,"satellites":42,"speed":39,"hex_longitude":"2d1a6300","hex_latitude":"071fda50","is_valid_coordinates":true} 
[2026-07-25 20:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957470464001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8852047856140288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902489398186442752,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990120000,"timestamp_ms":1784990120000,"timestamp_seconds":1784990120,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b3b840"} 
[2026-07-25 20:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-25 20:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957470464001,"66":12711,"101":206,"83":41984,"24":39,"16":8852047856140288,"45":1902489398186442752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-25 20:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957470464001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8852047856140288,"km_value":8852047856140.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902489398186442752,"description":"Unknown IO ID 45"} 
[2026-07-25 20:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957470464001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1902489398186442752}} 
[2026-07-25 20:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":143698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:06:03] local.INFO: GPS data processed {"connection_id":143698,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:06:03] local.INFO: Acknowledgment sent {"connection_id":143698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:06:05] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:05] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:05] local.INFO: IMEI packet received {"connection_id":141333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":141333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:06:06] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:06:06] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:06:06] local.INFO: Packet analysis {"connection_id":141333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:06:06] local.INFO: Extracted packet for processing {"connection_id":141333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":765252608,"raw_latitude":95641728,"longitude_deg":76.5252608,"latitude_deg":9.5641728,"altitude":22,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd400","hex_latitude":"05b36080","is_valid_coordinates":true} 
[2026-07-25 20:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957408512001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146368159222550528,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784989892000,"timestamp_ms":1784989892000,"timestamp_seconds":1784989892,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b03da0"} 
[2026-07-25 20:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957408512001,"66":27865,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146368159222550528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957408512001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:06:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146368159222550528,"description":"Unknown IO ID 45"} 
[2026-07-25 20:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957408512001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146368159222550528}} 
[2026-07-25 20:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":141333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:06:06] local.INFO: GPS data processed {"connection_id":141333,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:06:06] local.INFO: Acknowledgment sent {"connection_id":141333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:06:10] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:06:10] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:06:10] local.INFO: Packet analysis {"connection_id":141333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:06:10] local.INFO: Extracted packet for processing {"connection_id":141333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:06:10] local.INFO: GPS Element Parsed {"raw_longitude":765252608,"raw_latitude":95641728,"longitude_deg":76.5252608,"latitude_deg":9.5641728,"altitude":22,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd400","hex_latitude":"05b36080","is_valid_coordinates":true} 
[2026-07-25 20:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957408512001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146368159222550528,"note":"Value kept but may cause issues"} 
[2026-07-25 20:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784989892000,"timestamp_ms":1784989892000,"timestamp_seconds":1784989892,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b03da0"} 
[2026-07-25 20:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957408512001,"66":27865,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146368159222550528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957408512001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:06:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:06:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146368159222550528,"description":"Unknown IO ID 45"} 
[2026-07-25 20:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957408512001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146368159222550528}} 
[2026-07-25 20:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":141333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:06:10] local.INFO: GPS data processed {"connection_id":141333,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:06:10] local.INFO: Acknowledgment sent {"connection_id":141333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:06:26] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:26] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:26] local.INFO: IMEI packet received {"connection_id":143699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":143699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:06:26] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:26] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:26] local.INFO: IMEI packet received {"connection_id":143699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":143699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:06:28] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:28] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:28] local.INFO: IMEI packet received {"connection_id":143699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":143699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:06:29] local.INFO: TCP Data received {"connection_id":143699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:29] local.INFO: Processing buffer {"connection_id":143699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:06:29] local.INFO: IMEI packet received {"connection_id":143699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":143699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:06:55] local.INFO: TCP Data received {"connection_id":141288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:55] local.INFO: Processing buffer {"connection_id":141288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:06:55] local.INFO: IMEI packet received {"connection_id":141288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":141288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:07:00] local.INFO: TCP Data received {"connection_id":141288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:07:00] local.INFO: Processing buffer {"connection_id":141288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:07:00] local.INFO: IMEI packet received {"connection_id":141288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":141288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:07:01] local.INFO: TCP Data received {"connection_id":141288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:07:01] local.INFO: Processing buffer {"connection_id":141288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b03da0012d9cd40005b360800016007e2a..."} 
[2026-07-25 20:07:01] local.INFO: Packet analysis {"connection_id":141288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:07:01] local.INFO: Extracted packet for processing {"connection_id":141288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b0"} 
[2026-07-25 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":765252608,"raw_latitude":95641728,"longitude_deg":76.5252608,"latitude_deg":9.5641728,"altitude":22,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd400","hex_latitude":"05b36080","is_valid_coordinates":true} 
[2026-07-25 20:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957408512001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146368159222550528,"note":"Value kept but may cause issues"} 
[2026-07-25 20:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784989892000,"timestamp_ms":1784989892000,"timestamp_seconds":1784989892,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b03da0"} 
[2026-07-25 20:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 20:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957408512001,"66":27865,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146368159222550528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957408512001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:07:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146368159222550528,"description":"Unknown IO ID 45"} 
[2026-07-25 20:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957408512001,"power":27865,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146368159222550528}} 
[2026-07-25 20:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":141288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:07:01] local.INFO: GPS data processed {"connection_id":141288,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:07:01] local.INFO: Acknowledgment sent {"connection_id":141288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:07:32] local.INFO: TCP Data received {"connection_id":141288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:07:32] local.INFO: Processing buffer {"connection_id":141288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:07:32] local.INFO: Packet analysis {"connection_id":141288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:07:32] local.INFO: Extracted packet for processing {"connection_id":141288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:07:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":141288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:07:32] local.INFO: GPS data processed {"connection_id":141288,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:07:32] local.INFO: Acknowledgment sent {"connection_id":141288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:07:54] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:07:54] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:07:54] local.INFO: IMEI packet received {"connection_id":141289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":141289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:08:00] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:08:00] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:08:00] local.INFO: IMEI packet received {"connection_id":141289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":141289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:08:01] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:08:01] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:08:01] local.INFO: Packet analysis {"connection_id":141289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:08:01] local.INFO: Extracted packet for processing {"connection_id":141289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:08:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:08:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":141289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:08:01] local.INFO: GPS data processed {"connection_id":141289,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:08:01] local.INFO: Acknowledgment sent {"connection_id":141289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:08:31] local.INFO: TCP Data received {"connection_id":142319,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:08:31] local.INFO: Processing buffer {"connection_id":142319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:08:31] local.INFO: IMEI packet received {"connection_id":142319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":142319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:08:32] local.INFO: TCP Data received {"connection_id":141289,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:08:32] local.INFO: Processing buffer {"connection_id":141289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:08:32] local.INFO: Packet analysis {"connection_id":141289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:08:32] local.INFO: Extracted packet for processing {"connection_id":141289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:08:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":141289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:08:32] local.INFO: GPS data processed {"connection_id":141289,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:08:32] local.INFO: Acknowledgment sent {"connection_id":141289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:08:54] local.INFO: TCP Data received {"connection_id":141291,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:08:54] local.INFO: Processing buffer {"connection_id":141291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:08:54] local.INFO: IMEI packet received {"connection_id":141291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":141291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:08:54] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:08:54] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:08:54] local.INFO: IMEI packet received {"connection_id":141292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":141292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:09:00] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:09:00] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:09:00] local.INFO: IMEI packet received {"connection_id":141292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":141292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:09:01] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:09:01] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:09:01] local.INFO: Packet analysis {"connection_id":141292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:09:01] local.INFO: Extracted packet for processing {"connection_id":141292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:09:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:09:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":141292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:09:01] local.INFO: GPS data processed {"connection_id":141292,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:09:01] local.INFO: Acknowledgment sent {"connection_id":141292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:09:32] local.INFO: TCP Data received {"connection_id":141292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:09:32] local.INFO: Processing buffer {"connection_id":141292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:09:32] local.INFO: Packet analysis {"connection_id":141292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:09:32] local.INFO: Extracted packet for processing {"connection_id":141292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:09:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:09:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":141292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:09:32] local.INFO: GPS data processed {"connection_id":141292,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:09:32] local.INFO: Acknowledgment sent {"connection_id":141292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:09:54] local.INFO: TCP Data received {"connection_id":142323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:09:54] local.INFO: Processing buffer {"connection_id":142323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:09:54] local.INFO: IMEI packet received {"connection_id":142323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":142323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:10:00] local.INFO: TCP Data received {"connection_id":142323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:10:00] local.INFO: Processing buffer {"connection_id":142323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:10:00] local.INFO: IMEI packet received {"connection_id":142323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":142323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:10:01] local.INFO: TCP Data received {"connection_id":142323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:10:01] local.INFO: Processing buffer {"connection_id":142323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:10:01] local.INFO: Packet analysis {"connection_id":142323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:10:01] local.INFO: Extracted packet for processing {"connection_id":142323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:10:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":142323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:10:01] local.INFO: GPS data processed {"connection_id":142323,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:10:01] local.INFO: Acknowledgment sent {"connection_id":142323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:10:32] local.INFO: TCP Data received {"connection_id":142323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:10:32] local.INFO: Processing buffer {"connection_id":142323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:10:32] local.INFO: Packet analysis {"connection_id":142323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:10:32] local.INFO: Extracted packet for processing {"connection_id":142323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:10:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":142323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:10:32] local.INFO: GPS data processed {"connection_id":142323,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:10:32] local.INFO: Acknowledgment sent {"connection_id":142323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:11:00] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:00] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:00] local.INFO: IMEI packet received {"connection_id":141293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":141293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:11:05] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:05] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:05] local.INFO: IMEI packet received {"connection_id":141293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":141293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:11:06] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:11:06] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:11:06] local.INFO: Packet analysis {"connection_id":141293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:11:06] local.INFO: Extracted packet for processing {"connection_id":141293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:11:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":141293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:11:06] local.INFO: GPS data processed {"connection_id":141293,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:11:06] local.INFO: Acknowledgment sent {"connection_id":141293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:11:10] local.INFO: TCP Data received {"connection_id":141293,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:11:10] local.INFO: Processing buffer {"connection_id":141293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:11:10] local.INFO: Packet analysis {"connection_id":141293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:11:10] local.INFO: Extracted packet for processing {"connection_id":141293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:11:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:11:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":141293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:11:10] local.INFO: GPS data processed {"connection_id":141293,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:11:10] local.INFO: Acknowledgment sent {"connection_id":141293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:11:31] local.INFO: TCP Data received {"connection_id":142324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:11:31] local.INFO: Processing buffer {"connection_id":142324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:11:31] local.INFO: IMEI packet received {"connection_id":142324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":142324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:11:32] local.INFO: TCP Data received {"connection_id":142324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b5bfc8012d194d00071ffa70003d011529..."} 
[2026-07-25 20:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b5bfc8012d194d00071ffa70003d011529..."} 
[2026-07-25 20:11:32] local.INFO: Processing buffer {"connection_id":142324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b5bfc8012d194d00071ffa70003d011529..."} 
[2026-07-25 20:11:32] local.INFO: Packet analysis {"connection_id":142324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b5"} 
[2026-07-25 20:11:32] local.INFO: Extracted packet for processing {"connection_id":142324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b5"} 
[2026-07-25 20:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756632832,"raw_latitude":119536240,"longitude_deg":75.6632832,"latitude_deg":11.953624,"altitude":61,"angle":277,"satellites":41,"speed":8,"hex_longitude":"2d194d00","hex_latitude":"071ffa70","is_valid_coordinates":true} 
[2026-07-25 20:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957504512001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855788772655104,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823394929732898816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990253000,"timestamp_ms":1784990253000,"timestamp_seconds":1784990253,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b5bfc8"} 
[2026-07-25 20:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2578795160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":47104,"corrected_to":0} 
[2026-07-25 20:11:32] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":12288,"corrected_to":0} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184196309197,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3045660673,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.WARNING: Large IO value detected {"io_id":18,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 20:11:32] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,102,83,24,241,157,16,118,159,172,45,192,247,61,41,10,66,168,128,246,164,1,240,145,227,153,31,4,113,205,23,82,120,112,42,239,50,2,7,63,18],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":247,"original":47104,"validated":0},{"io_id":246,"original":12288,"validated":0},{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-25 20:11:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395834469802967040,"timestamp_seconds":4395834469802967.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 20:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957504512001,"66":12428,"102":206,"83":41984,"24":8,"16":8855788772655104,"45":1823394929732898816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957504512001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:11:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855788772655104,"km_value":8855788772655.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823394929732898816,"description":"Unknown IO ID 45"} 
[2026-07-25 20:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957504512001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1823394929732898816}} 
[2026-07-25 20:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":142324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:11:32] local.INFO: GPS data processed {"connection_id":142324,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:11:32] local.INFO: Acknowledgment sent {"connection_id":142324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:11:55] local.INFO: TCP Data received {"connection_id":143701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:55] local.INFO: Processing buffer {"connection_id":143701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:11:55] local.INFO: IMEI packet received {"connection_id":143701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":143701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:12:00] local.INFO: TCP Data received {"connection_id":143701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:12:00] local.INFO: Processing buffer {"connection_id":143701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:12:00] local.INFO: IMEI packet received {"connection_id":143701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":143701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:12:01] local.INFO: TCP Data received {"connection_id":143701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:12:01] local.INFO: Processing buffer {"connection_id":143701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b4e8f0012d9cd84005b361c00018007e2b..."} 
[2026-07-25 20:12:01] local.INFO: Packet analysis {"connection_id":143701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:12:01] local.INFO: Extracted packet for processing {"connection_id":143701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b4"} 
[2026-07-25 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957412352001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7146086684245852160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990198000,"timestamp_ms":1784990198000,"timestamp_seconds":1784990198,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b4e8f0"} 
[2026-07-25 20:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-25 20:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957412352001,"66":26267,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7146086684245852160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957412352001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7146086684245852160,"description":"Unknown IO ID 45"} 
[2026-07-25 20:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957412352001,"power":26267,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7146086684245852160}} 
[2026-07-25 20:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":143701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:12:01] local.INFO: GPS data processed {"connection_id":143701,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:12:01] local.INFO: Acknowledgment sent {"connection_id":143701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:12:03] local.INFO: TCP Data received {"connection_id":142324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b5db20012d194300071ffaf0003c010727..."} 
[2026-07-25 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b5db20012d194300071ffaf0003c010727..."} 
[2026-07-25 20:12:03] local.INFO: Processing buffer {"connection_id":142324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b5db20012d194300071ffaf0003c010727..."} 
[2026-07-25 20:12:03] local.INFO: Packet analysis {"connection_id":142324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b5"} 
[2026-07-25 20:12:03] local.INFO: Extracted packet for processing {"connection_id":142324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b5"} 
[2026-07-25 20:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756630272,"raw_latitude":119536368,"longitude_deg":75.6630272,"latitude_deg":11.9536368,"altitude":60,"angle":263,"satellites":39,"speed":13,"hex_longitude":"2d194300","hex_latitude":"071ffaf0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957504768001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855909031739392,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823113454756196352,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990260000,"timestamp_ms":1784990260000,"timestamp_seconds":1784990260,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b5db20"} 
[2026-07-25 20:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-25 20:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957504768001,"66":12526,"102":206,"83":41984,"24":13,"16":8855909031739392,"45":1823113454756196352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957504768001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:12:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855909031739392,"km_value":8855909031739.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823113454756196352,"description":"Unknown IO ID 45"} 
[2026-07-25 20:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957504768001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1823113454756196352}} 
[2026-07-25 20:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":142324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:12:03] local.INFO: GPS data processed {"connection_id":142324,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:12:03] local.INFO: Acknowledgment sent {"connection_id":142324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:12:10] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:10] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:10] local.INFO: IMEI packet received {"connection_id":141294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":141294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:12:15] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:15] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:15] local.INFO: IMEI packet received {"connection_id":141294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":141294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:12:16] local.INFO: TCP Data received {"connection_id":141294,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b95d90012d7e3c4005d35730000600fb2b..."} 
[2026-07-25 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b95d90012d7e3c4005d35730000600fb2b..."} 
[2026-07-25 20:12:16] local.INFO: Processing buffer {"connection_id":141294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b95d90012d7e3c4005d35730000600fb2b..."} 
[2026-07-25 20:12:16] local.INFO: Packet analysis {"connection_id":141294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:12:16] local.INFO: Extracted packet for processing {"connection_id":141294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736496,"longitude_deg":76.324768,"latitude_deg":9.7736496,"altitude":6,"angle":251,"satellites":43,"speed":0,"hex_longitude":"2d7e3c40","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 20:12: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-07-25 20:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957565440001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403092121387008,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146279936,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:16] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-07-25 20:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784990490000,"timestamp_ms":1784990490000,"timestamp_seconds":1784990490,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b95d90"} 
[2026-07-25 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-07-25 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":30,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 20:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2085,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 20:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957565440001,"66":7873,"24":0,"16":110403092121387008,"45":9096215741146279936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-25 20:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957565440001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403092121387008,"km_value":110403092121387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146279936,"description":"Unknown IO ID 45"} 
[2026-07-25 20:12:16] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456957565440001,"power":7873,"ignition":0,"odometer":null,"unknown_45":9096215741146279936}} 
[2026-07-25 20:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":141294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:12:16] local.INFO: GPS data processed {"connection_id":141294,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:12:16] local.INFO: Acknowledgment sent {"connection_id":141294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:12:27] local.INFO: TCP Data received {"connection_id":142325,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:12:27] local.INFO: Processing buffer {"connection_id":142325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:12:27] local.INFO: IMEI packet received {"connection_id":142325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":142325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:12:30] local.INFO: TCP Data received {"connection_id":142325,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:12:30] local.INFO: Processing buffer {"connection_id":142325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:12:30] local.INFO: IMEI packet received {"connection_id":142325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":142325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:12:31] local.INFO: TCP Data received {"connection_id":142325,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b62d28012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b62d28012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:12:31] local.INFO: Processing buffer {"connection_id":142325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b62d28012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:12:31] local.INFO: Packet analysis {"connection_id":142325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b6"} 
[2026-07-25 20:12:31] local.INFO: Extracted packet for processing {"connection_id":142325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b6"} 
[2026-07-25 20:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":35,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957506560001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820298704989122560,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784990281000,"timestamp_ms":1784990281000,"timestamp_seconds":1784990281,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b62d28"} 
[2026-07-25 20:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 20:12: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-07-25 20:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957506560001,"66":12341,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1820298704989122560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957506560001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:12:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820298704989122560,"description":"Unknown IO ID 45"} 
[2026-07-25 20:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957506560001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1820298704989122560}} 
[2026-07-25 20:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":142325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:12:31] local.INFO: GPS data processed {"connection_id":142325,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:12:31] local.INFO: Acknowledgment sent {"connection_id":142325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:12:32] local.INFO: TCP Data received {"connection_id":143701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:12:32] local.INFO: Processing buffer {"connection_id":143701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:12:32] local.INFO: Packet analysis {"connection_id":143701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:12:32] local.INFO: Extracted packet for processing {"connection_id":143701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:12:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:12: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-07-25 20: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-07-25 20:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":143701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:12:32] local.INFO: GPS data processed {"connection_id":143701,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:12:32] local.INFO: Acknowledgment sent {"connection_id":143701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:12:44] local.INFO: TCP Data received {"connection_id":142326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:44] local.INFO: Processing buffer {"connection_id":142326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:44] local.INFO: IMEI packet received {"connection_id":142326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":142326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:12:45] local.INFO: TCP Data received {"connection_id":142326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:45] local.INFO: Processing buffer {"connection_id":142326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:45] local.INFO: IMEI packet received {"connection_id":142326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":142326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:12:46] local.INFO: TCP Data received {"connection_id":142326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:46] local.INFO: Processing buffer {"connection_id":142326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:46] local.INFO: IMEI packet received {"connection_id":142326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":142326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:12:47] local.INFO: TCP Data received {"connection_id":142326,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:47] local.INFO: Processing buffer {"connection_id":142326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:12:47] local.INFO: IMEI packet received {"connection_id":142326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":142326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:12:54] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:12:54] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:12:54] local.INFO: IMEI packet received {"connection_id":141295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":141295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:13:00] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:13:00] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:13:00] local.INFO: IMEI packet received {"connection_id":141295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":141295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:13:00] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:13:00] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:13:00] local.INFO: Packet analysis {"connection_id":141295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:13:00] local.INFO: Extracted packet for processing {"connection_id":141295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:13:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:13: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":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:13:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":141295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:13:00] local.INFO: GPS data processed {"connection_id":141295,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:13:00] local.INFO: Acknowledgment sent {"connection_id":141295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:13:02] local.INFO: TCP Data received {"connection_id":142325,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b67f30012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b67f30012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:13:02] local.INFO: Processing buffer {"connection_id":142325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b67f30012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:13:02] local.INFO: Packet analysis {"connection_id":142325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b6"} 
[2026-07-25 20:13:02] local.INFO: Extracted packet for processing {"connection_id":142325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b6"} 
[2026-07-25 20:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":35,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957511936001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784990302000,"timestamp_ms":1784990302000,"timestamp_seconds":1784990302,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b67f30"} 
[2026-07-25 20:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 20:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957511936001,"66":11798,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957511936001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:13:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957511936001,"power":11798,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":142325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:13:02] local.INFO: GPS data processed {"connection_id":142325,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:13:02] local.INFO: Acknowledgment sent {"connection_id":142325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:13:26] local.INFO: TCP Data received {"connection_id":142327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:13:26] local.INFO: Processing buffer {"connection_id":142327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:13:26] local.INFO: IMEI packet received {"connection_id":142327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":142327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:13:31] local.INFO: TCP Data received {"connection_id":142327,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:13:31] local.INFO: Processing buffer {"connection_id":142327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:13:31] local.INFO: IMEI packet received {"connection_id":142327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":142327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:13:32] local.INFO: TCP Data received {"connection_id":141295,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:13:32] local.INFO: Processing buffer {"connection_id":141295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:13:32] local.INFO: Packet analysis {"connection_id":141295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:13:32] local.INFO: Extracted packet for processing {"connection_id":141295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:13:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:13: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-07-25 20:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":141295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:13:32] local.INFO: GPS data processed {"connection_id":141295,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:13:32] local.INFO: Acknowledgment sent {"connection_id":141295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:13:32] local.INFO: TCP Data received {"connection_id":142327,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b6d138012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b6d138012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:13:32] local.INFO: Processing buffer {"connection_id":142327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b6d138012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:13:32] local.INFO: Packet analysis {"connection_id":142327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b6"} 
[2026-07-25 20:13:32] local.INFO: Extracted packet for processing {"connection_id":142327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b6"} 
[2026-07-25 20:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957517312001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990323000,"timestamp_ms":1784990323000,"timestamp_seconds":1784990323,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b6d138"} 
[2026-07-25 20:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2578819160,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3048988673,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1249748630288324608,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846280944,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3221692407,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409092098,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":81,"raw_value":-4609680557805126399,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2954383345787603456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":145,"raw_value":57834749721203620,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":181,"raw_value":-8568096997861441529,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.WARNING: Large IO value detected {"io_id":23,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 20:13:32] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,102,83,24,241,157,16,118,159,45,192,250,60,35,10,66,219,39,191,1,240,140,227,153,31,4,113,205,6,172,79,184,41,239,49,2,76,206,81,54,145,181,23],"length":632,"final_offset":762,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-07-25 20:13:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323736168064614400,"timestamp_seconds":4323736168064614.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 20:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957517312001,"66":12428,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957517312001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957517312001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":142327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:13:32] local.INFO: GPS data processed {"connection_id":142327,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:13:32] local.INFO: Acknowledgment sent {"connection_id":142327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:13:54] local.INFO: TCP Data received {"connection_id":141337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:13:54] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:13:54] local.INFO: IMEI packet received {"connection_id":141337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":141337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:14:00] local.INFO: TCP Data received {"connection_id":141337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:14:00] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:14:00] local.INFO: IMEI packet received {"connection_id":141337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":141337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:14:00] local.INFO: TCP Data received {"connection_id":141337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:14:01] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:14:01] local.INFO: Packet analysis {"connection_id":141337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:14:01] local.INFO: Extracted packet for processing {"connection_id":141337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:14:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:14:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":141337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:14:01] local.INFO: GPS data processed {"connection_id":141337,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:14:01] local.INFO: Acknowledgment sent {"connection_id":141337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:14:03] local.INFO: TCP Data received {"connection_id":142327,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ba5790012d193dc0071ffa28003c00ff1f..."} 
[2026-07-25 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ba5790012d193dc0071ffa28003c00ff1f..."} 
[2026-07-25 20:14:03] local.INFO: Processing buffer {"connection_id":142327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ba5790012d193dc0071ffa28003c00ff1f..."} 
[2026-07-25 20:14:03] local.INFO: Packet analysis {"connection_id":142327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ba"} 
[2026-07-25 20:14:03] local.INFO: Extracted packet for processing {"connection_id":142327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ba"} 
[2026-07-25 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957576448001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990554000,"timestamp_ms":1784990554000,"timestamp_seconds":1784990554,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ba5790"} 
[2026-07-25 20:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957576448001,"66":12385,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957576448001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957576448001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":142327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:14:03] local.INFO: GPS data processed {"connection_id":142327,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:14:03] local.INFO: Acknowledgment sent {"connection_id":142327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:14:24] local.INFO: TCP Data received {"connection_id":141336,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:14:24] local.INFO: Processing buffer {"connection_id":141336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:14:24] local.INFO: IMEI packet received {"connection_id":141336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":141336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:14:31] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:14:31] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:14:31] local.INFO: IMEI packet received {"connection_id":143702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":143702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:14:32] local.INFO: TCP Data received {"connection_id":141337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:14:32] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:14:32] local.INFO: Packet analysis {"connection_id":141337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:14:32] local.INFO: Extracted packet for processing {"connection_id":141337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:14: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-07-25 20:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":141337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:14:32] local.INFO: GPS data processed {"connection_id":141337,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:14:32] local.INFO: Acknowledgment sent {"connection_id":141337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:14:36] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:14:36] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:14:36] local.INFO: IMEI packet received {"connection_id":143702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":143702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:14:37] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99baa998012d193dc0071ffa28003c00ff1e..."} 
[2026-07-25 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99baa998012d193dc0071ffa28003c00ff1e..."} 
[2026-07-25 20:14:37] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99baa998012d193dc0071ffa28003c00ff1e..."} 
[2026-07-25 20:14:37] local.INFO: Packet analysis {"connection_id":143702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ba"} 
[2026-07-25 20:14:37] local.INFO: Extracted packet for processing {"connection_id":143702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ba"} 
[2026-07-25 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":30,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957581824001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14: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-07-25 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784990575000,"timestamp_ms":1784990575000,"timestamp_seconds":1784990575,"priority":1,"record_length":96,"hex_timestamp":"0000019f99baa998"} 
[2026-07-25 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:14: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-07-25 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957581824001,"66":12341,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957581824001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957581824001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":143702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:14:37] local.INFO: GPS data processed {"connection_id":143702,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:14:37] local.INFO: Acknowledgment sent {"connection_id":143702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:14:37] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bafba0012d193dc0071ffa28003c00ff1f..."} 
[2026-07-25 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bafba0012d193dc0071ffa28003c00ff1f..."} 
[2026-07-25 20:14:37] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bafba0012d193dc0071ffa28003c00ff1f..."} 
[2026-07-25 20:14:37] local.INFO: Packet analysis {"connection_id":143702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ba"} 
[2026-07-25 20:14:37] local.INFO: Extracted packet for processing {"connection_id":143702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ba"} 
[2026-07-25 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957587200001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:14: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-07-25 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784990596000,"timestamp_ms":1784990596000,"timestamp_seconds":1784990596,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bafba0"} 
[2026-07-25 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:14: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-07-25 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957587200001,"66":12385,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957587200001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957587200001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":143702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:14:38] local.INFO: GPS data processed {"connection_id":143702,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:14:38] local.INFO: Acknowledgment sent {"connection_id":143702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:14:54] local.INFO: TCP Data received {"connection_id":143703,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:14:54] local.INFO: Processing buffer {"connection_id":143703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:14:54] local.INFO: IMEI packet received {"connection_id":143703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":143703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:15:00] local.INFO: TCP Data received {"connection_id":143703,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:15:00] local.INFO: Processing buffer {"connection_id":143703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:15:00] local.INFO: IMEI packet received {"connection_id":143703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":143703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:15:01] local.INFO: TCP Data received {"connection_id":143703,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:15:01] local.INFO: Processing buffer {"connection_id":143703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:15:01] local.INFO: Packet analysis {"connection_id":143703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:15:01] local.INFO: Extracted packet for processing {"connection_id":143703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:15:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":143703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:15:01] local.INFO: GPS data processed {"connection_id":143703,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:15:01] local.INFO: Acknowledgment sent {"connection_id":143703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:15:09] local.INFO: TCP Data received {"connection_id":143702,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bb4da8012d193dc0071ffa28003c00ff20..."} 
[2026-07-25 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bb4da8012d193dc0071ffa28003c00ff20..."} 
[2026-07-25 20:15:09] local.INFO: Processing buffer {"connection_id":143702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bb4da8012d193dc0071ffa28003c00ff20..."} 
[2026-07-25 20:15:09] local.INFO: Packet analysis {"connection_id":143702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:15:09] local.INFO: Extracted packet for processing {"connection_id":143702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":32,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957592576001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784990617000,"timestamp_ms":1784990617000,"timestamp_seconds":1784990617,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bb4da8"} 
[2026-07-25 20:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:15: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-07-25 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":143702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":143702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":143702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957592576001,"66":12341,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957592576001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:15:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957592576001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":143702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:15:09] local.INFO: GPS data processed {"connection_id":143702,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:15:09] local.INFO: Acknowledgment sent {"connection_id":143702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:15:26] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:15:26] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:15:26] local.INFO: IMEI packet received {"connection_id":141338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":141338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:15:31] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:15:31] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:15:31] local.INFO: IMEI packet received {"connection_id":141338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":141338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:15:32] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bb9fb0012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bb9fb0012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:15:32] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bb9fb0012d193dc0071ffa28003c00ff23..."} 
[2026-07-25 20:15:32] local.INFO: Packet analysis {"connection_id":141338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:15:32] local.INFO: Extracted packet for processing {"connection_id":141338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":35,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957597952001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990638000,"timestamp_ms":1784990638000,"timestamp_seconds":1784990638,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bb9fb0"} 
[2026-07-25 20:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 20:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957597952001,"66":12374,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957597952001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957597952001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":141338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:15:32] local.INFO: GPS data processed {"connection_id":141338,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:15:32] local.INFO: Acknowledgment sent {"connection_id":141338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:15:32] local.INFO: TCP Data received {"connection_id":143703,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:15:32] local.INFO: Processing buffer {"connection_id":143703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:15:32] local.INFO: Packet analysis {"connection_id":143703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:15:32] local.INFO: Extracted packet for processing {"connection_id":143703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:15: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-07-25 20:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":143703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:15:32] local.INFO: GPS data processed {"connection_id":143703,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:15:32] local.INFO: Acknowledgment sent {"connection_id":143703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:16:00] local.INFO: TCP Data received {"connection_id":142328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:00] local.INFO: Processing buffer {"connection_id":142328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:00] local.INFO: IMEI packet received {"connection_id":142328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":142328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:16:03] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bbf1b8012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bbf1b8012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:16:03] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bbf1b8012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:16:03] local.INFO: Packet analysis {"connection_id":141338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:16:03] local.INFO: Extracted packet for processing {"connection_id":141338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957603328001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990659000,"timestamp_ms":1784990659000,"timestamp_seconds":1784990659,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bbf1b8"} 
[2026-07-25 20:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-25 20:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957603328001,"66":12363,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957603328001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957603328001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":141338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:16:03] local.INFO: GPS data processed {"connection_id":141338,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:16:03] local.INFO: Acknowledgment sent {"connection_id":141338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:16:05] local.INFO: TCP Data received {"connection_id":142328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:05] local.INFO: Processing buffer {"connection_id":142328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:05] local.INFO: IMEI packet received {"connection_id":142328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":142328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:16:06] local.INFO: TCP Data received {"connection_id":142328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:16:06] local.INFO: Processing buffer {"connection_id":142328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:16:06] local.INFO: Packet analysis {"connection_id":142328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:16:06] local.INFO: Extracted packet for processing {"connection_id":142328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:16:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:16:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":142328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:16:06] local.INFO: GPS data processed {"connection_id":142328,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:16:06] local.INFO: Acknowledgment sent {"connection_id":142328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:16:10] local.INFO: TCP Data received {"connection_id":142328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:16:10] local.INFO: Processing buffer {"connection_id":142328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:16:10] local.INFO: Packet analysis {"connection_id":142328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:16:10] local.INFO: Extracted packet for processing {"connection_id":142328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:16:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:16:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":142328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:16:10] local.INFO: GPS data processed {"connection_id":142328,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:16:10] local.INFO: Acknowledgment sent {"connection_id":142328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:16:26] local.INFO: TCP Data received {"connection_id":142329,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:16:26] local.INFO: Processing buffer {"connection_id":142329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:16:26] local.INFO: IMEI packet received {"connection_id":142329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":142329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:16:31] local.INFO: TCP Data received {"connection_id":142329,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:16:31] local.INFO: Processing buffer {"connection_id":142329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:16:31] local.INFO: IMEI packet received {"connection_id":142329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":142329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:16:32] local.INFO: TCP Data received {"connection_id":142329,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bc43c0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bc43c0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:16:32] local.INFO: Processing buffer {"connection_id":142329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bc43c0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:16:32] local.INFO: Packet analysis {"connection_id":142329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:16:32] local.INFO: Extracted packet for processing {"connection_id":142329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957608704001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990680000,"timestamp_ms":1784990680000,"timestamp_seconds":1784990680,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bc43c0"} 
[2026-07-25 20:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":75,"data_length":795,"current_offset":136} 
[2026-07-25 20:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957608704001,"66":12341,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957608704001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:16:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957608704001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":142329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:16:32] local.INFO: GPS data processed {"connection_id":142329,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:16:32] local.INFO: Acknowledgment sent {"connection_id":142329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:16:55] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:55] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:16:55] local.INFO: IMEI packet received {"connection_id":141339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":141339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:17:00] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:17:00] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:17:00] local.INFO: IMEI packet received {"connection_id":141339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":141339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:17:01] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:17:01] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99b980b8012d9cd84005b361c00018007e2a..."} 
[2026-07-25 20:17:01] local.INFO: Packet analysis {"connection_id":141339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:17:01] local.INFO: Extracted packet for processing {"connection_id":141339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99b9"} 
[2026-07-25 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":24,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957490688001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990499000,"timestamp_ms":1784990499000,"timestamp_seconds":1784990499,"priority":1,"record_length":96,"hex_timestamp":"0000019f99b980b8"} 
[2026-07-25 20:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-25 20:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957490688001,"66":25995,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957490688001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:17:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:17:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957490688001,"power":25995,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":141339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:17:01] local.INFO: GPS data processed {"connection_id":141339,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:17:01] local.INFO: Acknowledgment sent {"connection_id":141339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:17:03] local.INFO: TCP Data received {"connection_id":142329,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bc95c8012d193dc0071ffa28003c00ff21..."} 
[2026-07-25 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bc95c8012d193dc0071ffa28003c00ff21..."} 
[2026-07-25 20:17:03] local.INFO: Processing buffer {"connection_id":142329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bc95c8012d193dc0071ffa28003c00ff21..."} 
[2026-07-25 20:17:03] local.INFO: Packet analysis {"connection_id":142329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:17:03] local.INFO: Extracted packet for processing {"connection_id":142329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":33,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957614080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990701000,"timestamp_ms":1784990701000,"timestamp_seconds":1784990701,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bc95c8"} 
[2026-07-25 20:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 20:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957614080001,"66":12287,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957614080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957614080001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":142329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:17:03] local.INFO: GPS data processed {"connection_id":142329,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:17:03] local.INFO: Acknowledgment sent {"connection_id":142329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:17:24] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:24] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:24] local.INFO: IMEI packet received {"connection_id":143705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":143705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:17:26] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:26] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:26] local.INFO: IMEI packet received {"connection_id":143705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":143705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:17:31] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:31] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:17:31] local.INFO: IMEI packet received {"connection_id":143705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":143705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:17:32] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bce7d0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bce7d0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:17:32] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bce7d0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:17:32] local.INFO: Packet analysis {"connection_id":143705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:17:32] local.INFO: Extracted packet for processing {"connection_id":143705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957619456001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990722000,"timestamp_ms":1784990722000,"timestamp_seconds":1784990722,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bce7d0"} 
[2026-07-25 20:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 20:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957619456001,"66":12287,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957619456001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957619456001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":143705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:17:32] local.INFO: GPS data processed {"connection_id":143705,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:17:32] local.INFO: Acknowledgment sent {"connection_id":143705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:17:32] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:17:32] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:17:32] local.INFO: Packet analysis {"connection_id":141339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:17:32] local.INFO: Extracted packet for processing {"connection_id":141339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":141339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:17:32] local.INFO: GPS data processed {"connection_id":141339,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:17:32] local.INFO: Acknowledgment sent {"connection_id":141339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:17:50] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:17:50] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:17:50] local.INFO: IMEI packet received {"connection_id":141298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 20:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":141298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:17:50] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bbda48012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bbda48012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:17:50] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bbda48012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:17:50] local.INFO: Packet analysis {"connection_id":141298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:17:50] local.INFO: Extracted packet for processing {"connection_id":141298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bb"} 
[2026-07-25 20:17:50] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97735392,"longitude_deg":76.3244864,"latitude_deg":9.7735392,"altitude":1,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d7e3140","hex_latitude":"05d352e0","is_valid_coordinates":true} 
[2026-07-25 20:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957601792001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403302574784512,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402180096,"note":"Value kept but may cause issues"} 
[2026-07-25 20:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784990653000,"timestamp_ms":1784990653000,"timestamp_seconds":1784990653,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bbda48"} 
[2026-07-25 20:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 20:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":141298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":141298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":141298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957601792001,"66":11678,"110":206,"85":15104,"24":0,"16":110403302574784512,"45":9093119516402180096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-25 20:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957601792001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 20:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403302574784512,"km_value":110403302574784.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402180096,"description":"Unknown IO ID 45"} 
[2026-07-25 20:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957601792001,"power":11678,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093119516402180096}} 
[2026-07-25 20:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":141298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:17:51] local.INFO: GPS data processed {"connection_id":141298,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:17:51] local.INFO: Acknowledgment sent {"connection_id":141298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:17:54] local.INFO: TCP Data received {"connection_id":143706,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:17:54] local.INFO: Processing buffer {"connection_id":143706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:17:54] local.INFO: IMEI packet received {"connection_id":143706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":143706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:18:00] local.INFO: TCP Data received {"connection_id":143706,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:18:00] local.INFO: Processing buffer {"connection_id":143706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:18:00] local.INFO: IMEI packet received {"connection_id":143706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":143706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:18:01] local.INFO: TCP Data received {"connection_id":143706,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:18:01] local.INFO: Processing buffer {"connection_id":143706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:18:01] local.INFO: Packet analysis {"connection_id":143706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:18:01] local.INFO: Extracted packet for processing {"connection_id":143706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:18:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:18:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:18:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":143706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:18:01] local.INFO: GPS data processed {"connection_id":143706,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:18:01] local.INFO: Acknowledgment sent {"connection_id":143706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:18:03] local.INFO: TCP Data received {"connection_id":143705,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bd39d8012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bd39d8012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:18:03] local.INFO: Processing buffer {"connection_id":143705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bd39d8012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:18:03] local.INFO: Packet analysis {"connection_id":143705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bd"} 
[2026-07-25 20:18:03] local.INFO: Extracted packet for processing {"connection_id":143705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bd"} 
[2026-07-25 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957624832001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990743000,"timestamp_ms":1784990743000,"timestamp_seconds":1784990743,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bd39d8"} 
[2026-07-25 20:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 20:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957624832001,"66":12319,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957624832001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:18:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957624832001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":143705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:18:03] local.INFO: GPS data processed {"connection_id":143705,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:18:03] local.INFO: Acknowledgment sent {"connection_id":143705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:18:22] local.INFO: TCP Data received {"connection_id":141298,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bc2c50012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bc2c50012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:18:22] local.INFO: Processing buffer {"connection_id":141298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bc2c50012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:18:22] local.INFO: Packet analysis {"connection_id":141298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:18:22] local.INFO: Extracted packet for processing {"connection_id":141298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:18:22] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97735392,"longitude_deg":76.3244864,"latitude_deg":9.7735392,"altitude":1,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d7e3140","hex_latitude":"05d352e0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957607168001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403302574784512,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402180096,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784990674000,"timestamp_ms":1784990674000,"timestamp_seconds":1784990674,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bc2c50"} 
[2026-07-25 20:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-25 20:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957607168001,"66":11526,"110":206,"85":15104,"24":0,"16":110403302574784512,"45":9093119516402180096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-25 20:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957607168001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 20:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403302574784512,"km_value":110403302574784.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402180096,"description":"Unknown IO ID 45"} 
[2026-07-25 20:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957607168001,"power":11526,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093119516402180096}} 
[2026-07-25 20:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":141298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:18:22] local.INFO: GPS data processed {"connection_id":141298,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:18:22] local.INFO: Acknowledgment sent {"connection_id":141298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:18:26] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:26] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:26] local.INFO: IMEI packet received {"connection_id":141299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":141299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:18:27] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:27] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:27] local.INFO: IMEI packet received {"connection_id":141299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":141299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:18:31] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:31] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:18:31] local.INFO: IMEI packet received {"connection_id":141299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":141299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:18:32] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bd8be0012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bd8be0012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:18:32] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bd8be0012d193dc0071ffa28003c00ff24..."} 
[2026-07-25 20:18:32] local.INFO: Packet analysis {"connection_id":141299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bd"} 
[2026-07-25 20:18:32] local.INFO: Extracted packet for processing {"connection_id":141299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bd"} 
[2026-07-25 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957630208001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20: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-07-25 20:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990764000,"timestamp_ms":1784990764000,"timestamp_seconds":1784990764,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bd8be0"} 
[2026-07-25 20:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 20:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957630208001,"66":12319,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957630208001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957630208001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":141299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:18:32] local.INFO: GPS data processed {"connection_id":141299,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:18:32] local.INFO: Acknowledgment sent {"connection_id":141299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:18:32] local.INFO: TCP Data received {"connection_id":143706,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:18:32] local.INFO: Processing buffer {"connection_id":143706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:18:32] local.INFO: Packet analysis {"connection_id":143706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:18:32] local.INFO: Extracted packet for processing {"connection_id":143706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":143706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:18:32] local.INFO: GPS data processed {"connection_id":143706,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:18:32] local.INFO: Acknowledgment sent {"connection_id":143706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:18:50] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:18:50] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:18:50] local.INFO: IMEI packet received {"connection_id":141300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 20:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":141300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:18:54] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:18:54] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:18:54] local.INFO: IMEI packet received {"connection_id":141340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":141340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:18:55] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:18:55] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:18:55] local.INFO: IMEI packet received {"connection_id":141300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":141300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:18:56] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bc7e58012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bc7e58012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:18:56] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bc7e58012d7e314005d352e0000100df2b..."} 
[2026-07-25 20:18:56] local.INFO: Packet analysis {"connection_id":141300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:18:56] local.INFO: Extracted packet for processing {"connection_id":141300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97735392,"longitude_deg":76.3244864,"latitude_deg":9.7735392,"altitude":1,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d7e3140","hex_latitude":"05d352e0","is_valid_coordinates":true} 
[2026-07-25 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957612544001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403302574784512,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402180096,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784990695000,"timestamp_ms":1784990695000,"timestamp_seconds":1784990695,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bc7e58"} 
[2026-07-25 20:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3628086002501469440,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":159,"raw_value":-7369421434689585615,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":43,"raw_value":1407374884208644,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3135516673,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-07-25 20:18:56] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3338718630,"note":"Value kept but may cause issues"} 
[2026-07-25 20:18:56] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,110,85,24,241,157,16,59,159,218,45,64,82,1,43,10,66,136,42,115,54,240,227,153,211,4,113,205,150,49,224,239,40,2],"length":483,"final_offset":613,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-07-25 20:18:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72302969814515712,"timestamp_seconds":72302969814515.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 20:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957612544001,"66":11602,"110":206,"85":15104,"24":0,"16":110403302574784512,"45":9093119516402180096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-25 20:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957612544001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:18:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 20:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 20:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403302574784512,"km_value":110403302574784.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402180096,"description":"Unknown IO ID 45"} 
[2026-07-25 20:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957612544001,"power":11602,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093119516402180096}} 
[2026-07-25 20:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":141300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:18:56] local.INFO: GPS data processed {"connection_id":141300,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:18:56] local.INFO: Acknowledgment sent {"connection_id":141300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:19:00] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:19:00] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:19:00] local.INFO: IMEI packet received {"connection_id":141340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":141340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:19:00] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:19:01] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:19:01] local.INFO: Packet analysis {"connection_id":141340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:19:01] local.INFO: Extracted packet for processing {"connection_id":141340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:19:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:19:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":141340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:19:01] local.INFO: GPS data processed {"connection_id":141340,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:19:01] local.INFO: Acknowledgment sent {"connection_id":141340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:19:03] local.INFO: TCP Data received {"connection_id":141299,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bddde8012d193dc0071ffa28003c00ff25..."} 
[2026-07-25 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bddde8012d193dc0071ffa28003c00ff25..."} 
[2026-07-25 20:19:03] local.INFO: Processing buffer {"connection_id":141299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bddde8012d193dc0071ffa28003c00ff25..."} 
[2026-07-25 20:19:03] local.INFO: Packet analysis {"connection_id":141299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bd"} 
[2026-07-25 20:19:03] local.INFO: Extracted packet for processing {"connection_id":141299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bd"} 
[2026-07-25 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957635584001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990785000,"timestamp_ms":1784990785000,"timestamp_seconds":1784990785,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bddde8"} 
[2026-07-25 20:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 20:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957635584001,"66":12287,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957635584001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:19:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:19:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957635584001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":141299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:19:03] local.INFO: GPS data processed {"connection_id":141299,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:19:03] local.INFO: Acknowledgment sent {"connection_id":141299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:19:26] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:26] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:26] local.INFO: IMEI packet received {"connection_id":141301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":141301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:19:27] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:27] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:27] local.INFO: IMEI packet received {"connection_id":141301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":141301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:19:28] local.INFO: TCP Data received {"connection_id":141300,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99bcd060012d7e314005d352e0000100df2c..."} 
[2026-07-25 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99bcd060012d7e314005d352e0000100df2c..."} 
[2026-07-25 20:19:28] local.INFO: Processing buffer {"connection_id":141300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99bcd060012d7e314005d352e0000100df2c..."} 
[2026-07-25 20:19:28] local.INFO: Packet analysis {"connection_id":141300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:19:28] local.INFO: Extracted packet for processing {"connection_id":141300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99bc"} 
[2026-07-25 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763244864,"raw_latitude":97735392,"longitude_deg":76.3244864,"latitude_deg":9.7735392,"altitude":1,"angle":223,"satellites":44,"speed":0,"hex_longitude":"2d7e3140","hex_latitude":"05d352e0","is_valid_coordinates":true} 
[2026-07-25 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957617920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403302574784512,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093119516402180096,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784990716000,"timestamp_ms":1784990716000,"timestamp_seconds":1784990716,"priority":1,"record_length":96,"hex_timestamp":"0000019f99bcd060"} 
[2026-07-25 20:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:19:28] 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-07-25 20: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-25 20:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957617920001,"66":11721,"110":206,"85":15104,"24":0,"16":110403302574784512,"45":9093119516402180096},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-07-25 20:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957617920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:19:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-25 20:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 20:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403302574784512,"km_value":110403302574784.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093119516402180096,"description":"Unknown IO ID 45"} 
[2026-07-25 20:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957617920001,"power":11721,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9093119516402180096}} 
[2026-07-25 20:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":141300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:19:28] local.INFO: GPS data processed {"connection_id":141300,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:19:28] local.INFO: Acknowledgment sent {"connection_id":141300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:19:31] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:31] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:19:31] local.INFO: IMEI packet received {"connection_id":141301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":141301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:19:31] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be2ff0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be2ff0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:19:31] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be2ff0012d193dc0071ffa28003c00ff22..."} 
[2026-07-25 20:19:31] local.INFO: Packet analysis {"connection_id":141301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:19:31] local.INFO: Extracted packet for processing {"connection_id":141301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536168,"longitude_deg":75.6628928,"latitude_deg":11.9536168,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d193dc0","hex_latitude":"071ffa28","is_valid_coordinates":true} 
[2026-07-25 20:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957640960001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8855973456248832,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361340416,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784990806000,"timestamp_ms":1784990806000,"timestamp_seconds":1784990806,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be2ff0"} 
[2026-07-25 20:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-25 20:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957640960001,"66":12298,"102":206,"83":41984,"24":0,"16":8855973456248832,"45":1818820961361340416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957640960001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:19:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8855973456248832,"km_value":8855973456248.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361340416,"description":"Unknown IO ID 45"} 
[2026-07-25 20:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957640960001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1818820961361340416}} 
[2026-07-25 20:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":141301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:19:31] local.INFO: GPS data processed {"connection_id":141301,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:19:31] local.INFO: Acknowledgment sent {"connection_id":141301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:19:33] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:19:33] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:19:33] local.INFO: Packet analysis {"connection_id":141340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:19:33] local.INFO: Extracted packet for processing {"connection_id":141340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:19:33] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:19:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":141340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:19:33] local.INFO: GPS data processed {"connection_id":141340,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:19:33] local.INFO: Acknowledgment sent {"connection_id":141340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:20:00] local.INFO: TCP Data received {"connection_id":142330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:00] local.INFO: Processing buffer {"connection_id":142330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:00] local.INFO: IMEI packet received {"connection_id":142330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:20:03] local.INFO: TCP Data received {"connection_id":141301,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:20:03] local.INFO: Processing buffer {"connection_id":141301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:20:03] local.INFO: Packet analysis {"connection_id":141301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:20:03] local.INFO: Extracted packet for processing {"connection_id":141301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681408001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517080995840,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-07-25 20:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681408001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825224517080995840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681408001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517080995840,"description":"Unknown IO ID 45"} 
[2026-07-25 20:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681408001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825224517080995840}} 
[2026-07-25 20:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":141301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:20:03] local.INFO: GPS data processed {"connection_id":141301,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:20:03] local.INFO: Acknowledgment sent {"connection_id":141301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:20:05] local.INFO: TCP Data received {"connection_id":142330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:05] local.INFO: Processing buffer {"connection_id":142330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:05] local.INFO: IMEI packet received {"connection_id":142330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":142330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:20:06] local.INFO: TCP Data received {"connection_id":142330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:20:06] local.INFO: Processing buffer {"connection_id":142330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:20:06] local.INFO: Packet analysis {"connection_id":142330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:20:06] local.INFO: Extracted packet for processing {"connection_id":142330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:20:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":142330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:20:06] local.INFO: GPS data processed {"connection_id":142330,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:20:06] local.INFO: Acknowledgment sent {"connection_id":142330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:20:11] local.INFO: TCP Data received {"connection_id":142330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:20:11] local.INFO: Processing buffer {"connection_id":142330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:20:11] local.INFO: Packet analysis {"connection_id":142330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:20:11] local.INFO: Extracted packet for processing {"connection_id":142330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:20:11] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":142330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:20:11] local.INFO: GPS data processed {"connection_id":142330,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:20:11] local.INFO: Acknowledgment sent {"connection_id":142330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:20:26] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:20:26] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:20:26] local.INFO: IMEI packet received {"connection_id":141302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":141302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:20:31] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:20:31] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:20:31] local.INFO: IMEI packet received {"connection_id":141302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":141302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:20:32] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:20:32] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:20:32] local.INFO: Packet analysis {"connection_id":141302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:20:32] local.INFO: Extracted packet for processing {"connection_id":141302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:20:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":141302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:20:32] local.INFO: GPS data processed {"connection_id":141302,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:20:32] local.INFO: Acknowledgment sent {"connection_id":141302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:20:55] local.INFO: TCP Data received {"connection_id":141341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:55] local.INFO: Processing buffer {"connection_id":141341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:20:55] local.INFO: IMEI packet received {"connection_id":141341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":141341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:21:00] local.INFO: TCP Data received {"connection_id":141341,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:21:00] local.INFO: Processing buffer {"connection_id":141341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:21:00] local.INFO: IMEI packet received {"connection_id":141341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":141341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:21:01] local.INFO: TCP Data received {"connection_id":141341,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:21:01] local.INFO: Processing buffer {"connection_id":141341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:21:01] local.INFO: Packet analysis {"connection_id":141341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:21:01] local.INFO: Extracted packet for processing {"connection_id":141341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":141341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:01] local.INFO: GPS data processed {"connection_id":141341,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:01] local.INFO: Acknowledgment sent {"connection_id":141341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:03] local.INFO: TCP Data received {"connection_id":141302,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:21:03] local.INFO: Processing buffer {"connection_id":141302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:21:03] local.INFO: Packet analysis {"connection_id":141302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:03] local.INFO: Extracted packet for processing {"connection_id":141302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:21: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-07-25 20:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":141302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:03] local.INFO: GPS data processed {"connection_id":141302,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:03] local.INFO: Acknowledgment sent {"connection_id":141302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:04] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:04] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:04] local.INFO: IMEI packet received {"connection_id":142331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":142331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:21:09] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:09] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:09] local.INFO: IMEI packet received {"connection_id":142331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":142331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:21:10] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:10] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:21:10] local.INFO: IMEI packet received {"connection_id":142331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":142331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:21:11] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c08980012d77a8c005f265080012000124..."} 
[2026-07-25 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c08980012d77a8c005f265080012000124..."} 
[2026-07-25 20:21:11] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c08980012d77a8c005f265080012000124..."} 
[2026-07-25 20:21:11] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:11] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99771656,"longitude_deg":76.2816704,"latitude_deg":9.9771656,"altitude":18,"angle":1,"satellites":36,"speed":19,"hex_longitude":"2d77a8c0","hex_latitude":"05f26508","is_valid_coordinates":true} 
[2026-07-25 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681408001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":216844308840448,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8623337780791252992,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784990960000,"timestamp_ms":1784990960000,"timestamp_seconds":1784990960,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c08980"} 
[2026-07-25 20:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-25 20:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681408001,"66":27484,"161":206,"87":13568,"24":19,"16":216844308840448,"45":8623337780791252992},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-25 20:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681408001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-25 20:21:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-25 20:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":216844308840448,"km_value":216844308840.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8623337780791252992,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681408001,"power":27484,"unknown_161":206,"unknown_87":13568,"ignition":19,"odometer":null,"unknown_45":8623337780791252992}} 
[2026-07-25 20:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:11] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:11] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:12] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c09920012d77a8c005f26d300011015d21..."} 
[2026-07-25 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c09920012d77a8c005f26d300011015d21..."} 
[2026-07-25 20:21:12] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c09920012d77a8c005f26d300011015d21..."} 
[2026-07-25 20:21:12] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:12] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":762816704,"raw_latitude":99773744,"longitude_deg":76.2816704,"latitude_deg":9.9773744,"altitude":17,"angle":349,"satellites":33,"speed":20,"hex_longitude":"2d77a8c0","hex_latitude":"05f26d30","is_valid_coordinates":true} 
[2026-07-25 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957685760001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":216947388055552,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622352618374891520,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784990964000,"timestamp_ms":1784990964000,"timestamp_seconds":1784990964,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c09920"} 
[2026-07-25 20:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 20:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957685760001,"66":27626,"160":206,"87":13568,"24":20,"16":216947388055552,"45":8622352618374891520},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-07-25 20:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957685760001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:12] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-25 20:21:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-25 20:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":216947388055552,"km_value":216947388055.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622352618374891520,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957685760001,"power":27626,"unknown_160":206,"unknown_87":13568,"ignition":20,"odometer":null,"unknown_45":8622352618374891520}} 
[2026-07-25 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:12] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:12] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:31] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:21:31] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:21:31] local.INFO: IMEI packet received {"connection_id":141342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":141342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:21:32] local.INFO: TCP Data received {"connection_id":141341,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:21:32] local.INFO: Processing buffer {"connection_id":141341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:21:32] local.INFO: Packet analysis {"connection_id":141341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:21:32] local.INFO: Extracted packet for processing {"connection_id":141341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":141341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:32] local.INFO: GPS data processed {"connection_id":141341,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:32] local.INFO: Acknowledgment sent {"connection_id":141341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:36] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:21:36] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:21:36] local.INFO: IMEI packet received {"connection_id":141342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":141342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:21:37] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:21:37] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:21:37] local.INFO: Packet analysis {"connection_id":141342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:37] local.INFO: Extracted packet for processing {"connection_id":141342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21: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-07-25 20:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":141342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:37] local.INFO: GPS data processed {"connection_id":141342,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:37] local.INFO: Acknowledgment sent {"connection_id":141342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:43] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c0b860012d77a70005f278000012015022..."} 
[2026-07-25 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c0b860012d77a70005f278000012015022..."} 
[2026-07-25 20:21:43] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c0b860012d77a70005f278000012015022..."} 
[2026-07-25 20:21:43] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:43] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:21:43] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99776512,"longitude_deg":76.2816256,"latitude_deg":9.9776512,"altitude":18,"angle":336,"satellites":34,"speed":7,"hex_longitude":"2d77a700","hex_latitude":"05f27800","is_valid_coordinates":true} 
[2026-07-25 20:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957686784001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217084827009024,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622352618375426048,"note":"Value kept but may cause issues"} 
[2026-07-25 20:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784990972000,"timestamp_ms":1784990972000,"timestamp_seconds":1784990972,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c0b860"} 
[2026-07-25 20:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-25 20:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957686784001,"66":27517,"160":206,"87":13568,"24":7,"16":217084827009024,"45":8622352618375426048},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-07-25 20:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957686784001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:21:43] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-25 20:21:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-25 20:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217084827009024,"km_value":217084827009.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622352618375426048,"description":"Unknown IO ID 45"} 
[2026-07-25 20:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957686784001,"power":27517,"unknown_160":206,"unknown_87":13568,"ignition":7,"odometer":null,"unknown_45":8622352618375426048}} 
[2026-07-25 20:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:21:44] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:21:44] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:21:56] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:21:56] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:21:56] local.INFO: IMEI packet received {"connection_id":143707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":143707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:22:00] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:22:00] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:22:00] local.INFO: IMEI packet received {"connection_id":143707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":143707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:22:01] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:22:01] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99be1880012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:22:01] local.INFO: Packet analysis {"connection_id":143707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:22:01] local.INFO: Extracted packet for processing {"connection_id":143707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99be"} 
[2026-07-25 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957567744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784990800000,"timestamp_ms":1784990800000,"timestamp_seconds":1784990800,"priority":1,"record_length":96,"hex_timestamp":"0000019f99be1880"} 
[2026-07-25 20:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-25 20:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957567744001,"66":25908,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957567744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:22:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:22:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957567744001,"power":25908,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":143707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:22:01] local.INFO: GPS data processed {"connection_id":143707,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:22:01] local.INFO: Acknowledgment sent {"connection_id":143707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:22:08] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:22:08] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:22:08] local.INFO: Packet analysis {"connection_id":141342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:22:08] local.INFO: Extracted packet for processing {"connection_id":141342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22: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-07-25 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:22:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:22:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":141342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:22:08] local.INFO: GPS data processed {"connection_id":141342,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:22:08] local.INFO: Acknowledgment sent {"connection_id":141342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:22:15] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c0c418012d77a60005f279c80012015e23..."} 
[2026-07-25 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c0c418012d77a60005f279c80012015e23..."} 
[2026-07-25 20:22:15] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c0c418012d77a60005f279c80012015e23..."} 
[2026-07-25 20:22:15] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:22:15] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99776968,"longitude_deg":76.2816,"latitude_deg":9.9776968,"altitude":18,"angle":350,"satellites":35,"speed":6,"hex_longitude":"2d77a600","hex_latitude":"05f279c8","is_valid_coordinates":true} 
[2026-07-25 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957688832001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217106301845504,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037166891008,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784990975000,"timestamp_ms":1784990975000,"timestamp_seconds":1784990975,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c0c418"} 
[2026-07-25 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-25 20:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957688832001,"66":27713,"160":206,"87":13568,"24":6,"16":217106301845504,"45":8621860037166891008},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-07-25 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957688832001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:22:15] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-25 20:22:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-25 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217106301845504,"km_value":217106301845.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037166891008,"description":"Unknown IO ID 45"} 
[2026-07-25 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957688832001,"power":27713,"unknown_160":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8621860037166891008}} 
[2026-07-25 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:22:15] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:22:15] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:22:26] local.INFO: TCP Data received {"connection_id":143708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:22:26] local.INFO: Processing buffer {"connection_id":143708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:22:26] local.INFO: IMEI packet received {"connection_id":143708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":143708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:22:31] local.INFO: TCP Data received {"connection_id":143708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:22:31] local.INFO: Processing buffer {"connection_id":143708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:22:31] local.INFO: IMEI packet received {"connection_id":143708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":143708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:22:32] local.INFO: TCP Data received {"connection_id":143708,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:22:32] local.INFO: Processing buffer {"connection_id":143708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:22:32] local.INFO: Packet analysis {"connection_id":143708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:22:32] local.INFO: Extracted packet for processing {"connection_id":143708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":143708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:22:32] local.INFO: GPS data processed {"connection_id":143708,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:22:32] local.INFO: Acknowledgment sent {"connection_id":143708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:22:32] local.INFO: TCP Data received {"connection_id":143707,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:22:32] local.INFO: Processing buffer {"connection_id":143707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:22:32] local.INFO: Packet analysis {"connection_id":143707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:22:32] local.INFO: Extracted packet for processing {"connection_id":143707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:22:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":143707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:22:32] local.INFO: GPS data processed {"connection_id":143707,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:22:32] local.INFO: Acknowledgment sent {"connection_id":143707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:22:46] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c11620012d77a6c005f27b680013016323..."} 
[2026-07-25 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c11620012d77a6c005f27b680013016323..."} 
[2026-07-25 20:22:46] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c11620012d77a6c005f27b680013016323..."} 
[2026-07-25 20:22:46] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c1"} 
[2026-07-25 20:22:46] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c1"} 
[2026-07-25 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957689600001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562190297088,"note":"Value kept but may cause issues"} 
[2026-07-25 20:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784990996000,"timestamp_ms":1784990996000,"timestamp_seconds":1784990996,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c11620"} 
[2026-07-25 20:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-25 20:22: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-07-25 20:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957689600001,"66":27430,"160":206,"87":13568,"24":0,"16":217132071649280,"45":8621578562190297088},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-07-25 20:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957689600001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:22:46] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-25 20:22:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-25 20:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562190297088,"description":"Unknown IO ID 45"} 
[2026-07-25 20:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957689600001,"power":27430,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8621578562190297088}} 
[2026-07-25 20:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:22:46] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:22:46] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:22:54] local.INFO: TCP Data received {"connection_id":142332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:22:54] local.INFO: Processing buffer {"connection_id":142332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:22:54] local.INFO: IMEI packet received {"connection_id":142332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":142332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:23:00] local.INFO: TCP Data received {"connection_id":142332,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:23:00] local.INFO: Processing buffer {"connection_id":142332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:23:00] local.INFO: IMEI packet received {"connection_id":142332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":142332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:23:00] local.INFO: TCP Data received {"connection_id":142332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:23:00] local.INFO: Processing buffer {"connection_id":142332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:23:00] local.INFO: Packet analysis {"connection_id":142332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:23:00] local.INFO: Extracted packet for processing {"connection_id":142332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:23:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:23:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":142332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:23:00] local.INFO: GPS data processed {"connection_id":142332,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:23:00] local.INFO: Acknowledgment sent {"connection_id":142332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:23:03] local.INFO: TCP Data received {"connection_id":143708,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:23:03] local.INFO: Processing buffer {"connection_id":143708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:23:03] local.INFO: Packet analysis {"connection_id":143708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:23:03] local.INFO: Extracted packet for processing {"connection_id":143708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:23: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-07-25 20:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:23:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":143708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:23:03] local.INFO: GPS data processed {"connection_id":143708,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:23:03] local.INFO: Acknowledgment sent {"connection_id":143708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:23:17] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c17f98012d77a6c005f27b680013016323..."} 
[2026-07-25 20:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c17f98012d77a6c005f27b680013016323..."} 
[2026-07-25 20:23:17] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c17f98012d77a6c005f27b680013016323..."} 
[2026-07-25 20:23:17] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c1"} 
[2026-07-25 20:23:17] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c1"} 
[2026-07-25 20:23:17] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957694976001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784991023000,"timestamp_ms":1784991023000,"timestamp_seconds":1784991023,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c17f98"} 
[2026-07-25 20:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-25 20:23:17] 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-07-25 20:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957694976001,"66":28104,"160":206,"87":13568,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,87,24,16,45]} 
[2026-07-25 20:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957694976001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:23:17] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-25 20:23:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-07-25 20:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957694976001,"power":28104,"unknown_160":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:23:17] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:23:17] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:23:26] local.INFO: TCP Data received {"connection_id":143709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:23:26] local.INFO: Processing buffer {"connection_id":143709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:23:26] local.INFO: IMEI packet received {"connection_id":143709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":143709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:23:31] local.INFO: TCP Data received {"connection_id":143709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:23:31] local.INFO: Processing buffer {"connection_id":143709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:23:31] local.INFO: IMEI packet received {"connection_id":143709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":143709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:23:32] local.INFO: TCP Data received {"connection_id":143709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:23:32] local.INFO: Processing buffer {"connection_id":143709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:23:32] local.INFO: Packet analysis {"connection_id":143709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:23:32] local.INFO: Extracted packet for processing {"connection_id":143709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:23:32] local.INFO: TCP Data received {"connection_id":142332,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:23:32] local.INFO: Processing buffer {"connection_id":142332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:23:32] local.INFO: Packet analysis {"connection_id":142332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:23:32] local.INFO: Extracted packet for processing {"connection_id":142332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":142332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:23:32] local.INFO: GPS data processed {"connection_id":142332,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:23:32] local.INFO: Acknowledgment sent {"connection_id":142332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":143709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:23:32] local.INFO: GPS data processed {"connection_id":143709,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:23:32] local.INFO: Acknowledgment sent {"connection_id":143709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:23:48] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c1d1a0012d77a6c005f27b680013016323..."} 
[2026-07-25 20:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c1d1a0012d77a6c005f27b680013016323..."} 
[2026-07-25 20:23:48] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c1d1a0012d77a6c005f27b680013016323..."} 
[2026-07-25 20:23:48] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c1"} 
[2026-07-25 20:23:48] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c1"} 
[2026-07-25 20:23:48] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957701888001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784991044000,"timestamp_ms":1784991044000,"timestamp_seconds":1784991044,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c1d1a0"} 
[2026-07-25 20:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-25 20:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957701888001,"66":28126,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957701888001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:23:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957701888001,"power":28126,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:23:48] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:23:48] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:00] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:00] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:00] local.INFO: IMEI packet received {"connection_id":141303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":141303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:24:03] local.INFO: TCP Data received {"connection_id":143709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:24:03] local.INFO: Processing buffer {"connection_id":143709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:24:03] local.INFO: Packet analysis {"connection_id":143709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:24:03] local.INFO: Extracted packet for processing {"connection_id":143709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:24: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-07-25 20:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:24:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":143709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:24:03] local.INFO: GPS data processed {"connection_id":143709,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:24:03] local.INFO: Acknowledgment sent {"connection_id":143709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:05] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:05] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:05] local.INFO: IMEI packet received {"connection_id":141303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":141303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:24:06] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:24:06] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:24:06] local.INFO: Packet analysis {"connection_id":141303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:06] local.INFO: Extracted packet for processing {"connection_id":141303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:24:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":141303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:24:06] local.INFO: GPS data processed {"connection_id":141303,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:24:06] local.INFO: Acknowledgment sent {"connection_id":141303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:10] local.INFO: TCP Data received {"connection_id":141303,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:24:10] local.INFO: Processing buffer {"connection_id":141303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:24:10] local.INFO: Packet analysis {"connection_id":141303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:10] local.INFO: Extracted packet for processing {"connection_id":141303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:24:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:24:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":141303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:24:10] local.INFO: GPS data processed {"connection_id":141303,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:24:10] local.INFO: Acknowledgment sent {"connection_id":141303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:19] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c22f60012d77a6c005f27b680013016323..."} 
[2026-07-25 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c22f60012d77a6c005f27b680013016323..."} 
[2026-07-25 20:24:19] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c22f60012d77a6c005f27b680013016323..."} 
[2026-07-25 20:24:19] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:19] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:19] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957707264001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784991068000,"timestamp_ms":1784991068000,"timestamp_seconds":1784991068,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c22f60"} 
[2026-07-25 20:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-07-25 20:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957707264001,"66":28224,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957707264001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:24:19] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957707264001,"power":28224,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:24:19] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:24:19] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:26] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:24:26] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:24:26] local.INFO: IMEI packet received {"connection_id":141343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":141343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:24:31] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:24:31] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:24:31] local.INFO: IMEI packet received {"connection_id":141343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":141343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:24:32] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:24:32] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c04ee8012d195740071ff188003c006e27..."} 
[2026-07-25 20:24:32] local.INFO: Packet analysis {"connection_id":141343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:24:32] local.INFO: Extracted packet for processing {"connection_id":141343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c0"} 
[2026-07-25 20:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756635456,"raw_latitude":119533960,"longitude_deg":75.6635456,"latitude_deg":11.953396,"altitude":60,"angle":110,"satellites":39,"speed":13,"hex_longitude":"2d195740","hex_latitude":"071ff188","is_valid_coordinates":true} 
[2026-07-25 20:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784990945000,"timestamp_ms":1784990945000,"timestamp_seconds":1784990945,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c04ee8"} 
[2026-07-25 20:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":13276,"102":206,"83":41984,"24":13,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:24:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":13276,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":141343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:24:32] local.INFO: GPS data processed {"connection_id":141343,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:24:32] local.INFO: Acknowledgment sent {"connection_id":141343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:50] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:24:50] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:24:50] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:50] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:24:50] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713408001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784991069000,"timestamp_ms":1784991069000,"timestamp_seconds":1784991069,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c23348"} 
[2026-07-25 20:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713408001,"66":28224,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713408001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:24:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713408001,"power":28224,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:24:50] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:24:50] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:24:55] local.INFO: TCP Data received {"connection_id":142333,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:55] local.INFO: Processing buffer {"connection_id":142333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:24:55] local.INFO: IMEI packet received {"connection_id":142333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":142333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:25:00] local.INFO: TCP Data received {"connection_id":142333,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:25:00] local.INFO: Processing buffer {"connection_id":142333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:25:00] local.INFO: IMEI packet received {"connection_id":142333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":142333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:25:01] local.INFO: TCP Data received {"connection_id":142333,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:25:01] local.INFO: Processing buffer {"connection_id":142333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:25:01] local.INFO: Packet analysis {"connection_id":142333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:01] local.INFO: Extracted packet for processing {"connection_id":142333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:25:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:25:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":142333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:25:01] local.INFO: GPS data processed {"connection_id":142333,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:25:01] local.INFO: Acknowledgment sent {"connection_id":142333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:25:03] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:25:03] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:25:03] local.INFO: Packet analysis {"connection_id":141343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:25:03] local.INFO: Extracted packet for processing {"connection_id":141343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:25:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20: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-07-25 20:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:25: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-07-25 20: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-07-25 20:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:25:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:25:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":141343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:25:03] local.INFO: GPS data processed {"connection_id":141343,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:25:03] local.INFO: Acknowledgment sent {"connection_id":141343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:25:21] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:25:21] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:25:21] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:21] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:21] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713408001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784991069000,"timestamp_ms":1784991069000,"timestamp_seconds":1784991069,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c23348"} 
[2026-07-25 20:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713408001,"66":28224,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713408001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:25:21] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713408001,"power":28224,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:25:21] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:25:21] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:25:26] local.INFO: TCP Data received {"connection_id":143710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:25:26] local.INFO: Processing buffer {"connection_id":143710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:25:26] local.INFO: IMEI packet received {"connection_id":143710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":143710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:25:31] local.INFO: TCP Data received {"connection_id":143710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:25:31] local.INFO: Processing buffer {"connection_id":143710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:25:31] local.INFO: IMEI packet received {"connection_id":143710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":143710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:25:32] local.INFO: TCP Data received {"connection_id":143710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:25:32] local.INFO: Processing buffer {"connection_id":143710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:25:32] local.INFO: Packet analysis {"connection_id":143710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:25:32] local.INFO: Extracted packet for processing {"connection_id":143710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:25:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":143710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:25:32] local.INFO: GPS data processed {"connection_id":143710,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:25:32] local.INFO: Acknowledgment sent {"connection_id":143710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:25:33] local.INFO: TCP Data received {"connection_id":142333,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:25:33] local.INFO: Processing buffer {"connection_id":142333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:25:33] local.INFO: Packet analysis {"connection_id":142333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:33] local.INFO: Extracted packet for processing {"connection_id":142333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:25:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":142333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:25:33] local.INFO: GPS data processed {"connection_id":142333,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:25:33] local.INFO: Acknowledgment sent {"connection_id":142333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:25:53] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:25:53] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c23348012d77a6c005f27b680013016323..."} 
[2026-07-25 20:25:53] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:53] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 20:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713408001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784991069000,"timestamp_ms":1784991069000,"timestamp_seconds":1784991069,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c23348"} 
[2026-07-25 20:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713408001,"66":28224,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713408001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:25:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713408001,"power":28224,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:25:53] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:25:53] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:25:55] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:25:55] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:25:55] local.INFO: IMEI packet received {"connection_id":141304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":141304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:26:00] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:26:00] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:26:00] local.INFO: IMEI packet received {"connection_id":141304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":141304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:26:00] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:26:00] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:26:00] local.INFO: Packet analysis {"connection_id":141304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:26:00] local.INFO: Extracted packet for processing {"connection_id":141304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:26:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":141304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:26:00] local.INFO: GPS data processed {"connection_id":141304,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:26:00] local.INFO: Acknowledgment sent {"connection_id":141304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:26:03] local.INFO: TCP Data received {"connection_id":143710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:26:03] local.INFO: Processing buffer {"connection_id":143710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:26:03] local.INFO: Packet analysis {"connection_id":143710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:26:03] local.INFO: Extracted packet for processing {"connection_id":143710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20: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-07-25 20:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:26: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-07-25 20: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-07-25 20:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:26:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":143710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:26:03] local.INFO: GPS data processed {"connection_id":143710,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:26:03] local.INFO: Acknowledgment sent {"connection_id":143710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:26:24] local.INFO: TCP Data received {"connection_id":142331,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:26:24] local.INFO: Processing buffer {"connection_id":142331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:26:24] local.INFO: Packet analysis {"connection_id":142331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:26:24] local.INFO: Extracted packet for processing {"connection_id":142331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:26:24] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:26: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":142331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":142331,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:26:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":142331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:26:24] local.INFO: GPS data processed {"connection_id":142331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:26:24] local.INFO: Acknowledgment sent {"connection_id":142331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:26:26] local.INFO: TCP Data received {"connection_id":143711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:26:26] local.INFO: Processing buffer {"connection_id":143711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:26:26] local.INFO: IMEI packet received {"connection_id":143711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":143711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:26:31] local.INFO: TCP Data received {"connection_id":143711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:26:31] local.INFO: Processing buffer {"connection_id":143711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:26:31] local.INFO: IMEI packet received {"connection_id":143711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":143711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:26:32] local.INFO: TCP Data received {"connection_id":143711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:26:32] local.INFO: Processing buffer {"connection_id":143711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:26:32] local.INFO: Packet analysis {"connection_id":143711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:26:32] local.INFO: Extracted packet for processing {"connection_id":143711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":143711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:26:32] local.INFO: GPS data processed {"connection_id":143711,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:26:32] local.INFO: Acknowledgment sent {"connection_id":143711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:26:32] local.INFO: TCP Data received {"connection_id":141304,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:26:32] local.INFO: Processing buffer {"connection_id":141304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:26:32] local.INFO: Packet analysis {"connection_id":141304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:26:32] local.INFO: Extracted packet for processing {"connection_id":141304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":141304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:26:32] local.INFO: GPS data processed {"connection_id":141304,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:26:32] local.INFO: Acknowledgment sent {"connection_id":141304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:26:49] local.INFO: TCP Data received {"connection_id":143712,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:26:49] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:26:49] local.INFO: IMEI packet received {"connection_id":143712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":143712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:26:54] local.INFO: TCP Data received {"connection_id":143712,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:26:54] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:26:54] local.INFO: IMEI packet received {"connection_id":143712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":143712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:26:54] local.INFO: TCP Data received {"connection_id":142334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:26:54] local.INFO: Processing buffer {"connection_id":142334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:26:54] local.INFO: IMEI packet received {"connection_id":142334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":142334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:26:55] local.INFO: TCP Data received {"connection_id":143712,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:26:55] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:26:55] local.INFO: Packet analysis {"connection_id":143712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:26:55] local.INFO: Extracted packet for processing {"connection_id":143712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:26:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:26: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-07-25 20:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:26:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":143712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:26:55] local.INFO: GPS data processed {"connection_id":143712,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:26:55] local.INFO: Acknowledgment sent {"connection_id":143712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:27:00] local.INFO: TCP Data received {"connection_id":142334,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:27:00] local.INFO: Processing buffer {"connection_id":142334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:27:00] local.INFO: IMEI packet received {"connection_id":142334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":142334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:27:00] local.INFO: TCP Data received {"connection_id":142334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:27:01] local.INFO: Processing buffer {"connection_id":142334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c2b048012d9cd84005b361c00014007e29..."} 
[2026-07-25 20:27:01] local.INFO: Packet analysis {"connection_id":142334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:27:01] local.INFO: Extracted packet for processing {"connection_id":142334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c2"} 
[2026-07-25 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":20,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957644800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991101000,"timestamp_ms":1784991101000,"timestamp_seconds":1784991101,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c2b048"} 
[2026-07-25 20:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-25 20:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957644800001,"66":25843,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957644800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:27:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957644800001,"power":25843,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":142334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:27:01] local.INFO: GPS data processed {"connection_id":142334,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:27:01] local.INFO: Acknowledgment sent {"connection_id":142334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:27:03] local.INFO: TCP Data received {"connection_id":143711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:27:03] local.INFO: Processing buffer {"connection_id":143711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:27:03] local.INFO: Packet analysis {"connection_id":143711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:27:03] local.INFO: Extracted packet for processing {"connection_id":143711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:27: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-07-25 20:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":143711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:27:03] local.INFO: GPS data processed {"connection_id":143711,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:27:03] local.INFO: Acknowledgment sent {"connection_id":143711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:27:26] local.INFO: TCP Data received {"connection_id":143712,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:27:26] local.INFO: Processing buffer {"connection_id":143712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:27:26] local.INFO: Packet analysis {"connection_id":143712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:27:26] local.INFO: Extracted packet for processing {"connection_id":143712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:27:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:27: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:27:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":143712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:27:26] local.INFO: GPS data processed {"connection_id":143712,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:27:26] local.INFO: Acknowledgment sent {"connection_id":143712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:27:26] local.INFO: TCP Data received {"connection_id":142335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:27:26] local.INFO: Processing buffer {"connection_id":142335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:27:26] local.INFO: IMEI packet received {"connection_id":142335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":142335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:27:31] local.INFO: TCP Data received {"connection_id":142335,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:27:31] local.INFO: Processing buffer {"connection_id":142335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:27:31] local.INFO: IMEI packet received {"connection_id":142335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":142335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:27:32] local.INFO: TCP Data received {"connection_id":142334,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:27:32] local.INFO: Processing buffer {"connection_id":142334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:27:32] local.INFO: Packet analysis {"connection_id":142334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:27:32] local.INFO: Extracted packet for processing {"connection_id":142334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":142334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:27:32] local.INFO: GPS data processed {"connection_id":142334,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:27:32] local.INFO: Acknowledgment sent {"connection_id":142334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:27:32] local.INFO: TCP Data received {"connection_id":142335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:27:32] local.INFO: Processing buffer {"connection_id":142335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:27:32] local.INFO: Packet analysis {"connection_id":142335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:27:32] local.INFO: Extracted packet for processing {"connection_id":142335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":142335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:27:32] local.INFO: GPS data processed {"connection_id":142335,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:27:32] local.INFO: Acknowledgment sent {"connection_id":142335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:27:49] local.INFO: TCP Data received {"connection_id":141344,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:27:49] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:27:49] local.INFO: IMEI packet received {"connection_id":141344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":141344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:27:54] local.INFO: TCP Data received {"connection_id":141344,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:27:54] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:27:54] local.INFO: IMEI packet received {"connection_id":141344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":141344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:27:55] local.INFO: TCP Data received {"connection_id":141344,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:27:55] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:27:55] local.INFO: Packet analysis {"connection_id":141344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:27:55] local.INFO: Extracted packet for processing {"connection_id":141344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:27:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:27: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:27:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":141344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:27:55] local.INFO: GPS data processed {"connection_id":141344,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:27:55] local.INFO: Acknowledgment sent {"connection_id":141344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:28:00] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:00] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:00] local.INFO: IMEI packet received {"connection_id":141305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:28:03] local.INFO: TCP Data received {"connection_id":142335,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:28:03] local.INFO: Processing buffer {"connection_id":142335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:28:03] local.INFO: Packet analysis {"connection_id":142335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:28:03] local.INFO: Extracted packet for processing {"connection_id":142335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20: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-07-25 20:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:28: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-07-25 20:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":142335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:28:03] local.INFO: GPS data processed {"connection_id":142335,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:28:03] local.INFO: Acknowledgment sent {"connection_id":142335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:28:05] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:05] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:05] local.INFO: IMEI packet received {"connection_id":141305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":141305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:28:06] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:28:06] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:28:06] local.INFO: Packet analysis {"connection_id":141305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:28:06] local.INFO: Extracted packet for processing {"connection_id":141305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:28:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":141305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:28:06] local.INFO: GPS data processed {"connection_id":141305,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:28:06] local.INFO: Acknowledgment sent {"connection_id":141305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:28:10] local.INFO: TCP Data received {"connection_id":141305,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:28:10] local.INFO: Processing buffer {"connection_id":141305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:28:10] local.INFO: Packet analysis {"connection_id":141305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:28:10] local.INFO: Extracted packet for processing {"connection_id":141305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:28:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:28:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":141305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:28:10] local.INFO: GPS data processed {"connection_id":141305,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:28:10] local.INFO: Acknowledgment sent {"connection_id":141305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:28:26] local.INFO: TCP Data received {"connection_id":143713,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:28:26] local.INFO: Processing buffer {"connection_id":143713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:28:26] local.INFO: IMEI packet received {"connection_id":143713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":143713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:28:26] local.INFO: TCP Data received {"connection_id":141344,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:28:26] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:28:26] local.INFO: Packet analysis {"connection_id":141344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:28:26] local.INFO: Extracted packet for processing {"connection_id":141344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:28:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:28: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:28:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":141344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:28:26] local.INFO: GPS data processed {"connection_id":141344,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:28:26] local.INFO: Acknowledgment sent {"connection_id":141344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:28:31] local.INFO: TCP Data received {"connection_id":143713,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:28:31] local.INFO: Processing buffer {"connection_id":143713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:28:31] local.INFO: IMEI packet received {"connection_id":143713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":143713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:28:32] local.INFO: TCP Data received {"connection_id":143713,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:28:32] local.INFO: Processing buffer {"connection_id":143713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:28:32] local.INFO: Packet analysis {"connection_id":143713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:28:32] local.INFO: Extracted packet for processing {"connection_id":143713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:28:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":143713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:28:32] local.INFO: GPS data processed {"connection_id":143713,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:28:32] local.INFO: Acknowledgment sent {"connection_id":143713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:28:49] local.INFO: TCP Data received {"connection_id":141306,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:28:49] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:28:49] local.INFO: IMEI packet received {"connection_id":141306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":141306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:28:55] local.INFO: TCP Data received {"connection_id":141306,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:28:55] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:28:55] local.INFO: IMEI packet received {"connection_id":141306,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":141306,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:28:55] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:55] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:28:55] local.INFO: IMEI packet received {"connection_id":141307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":141307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:28:55] local.INFO: TCP Data received {"connection_id":141306,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:28:55] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:28:55] local.INFO: Packet analysis {"connection_id":141306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:28:55] local.INFO: Extracted packet for processing {"connection_id":141306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:28: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":141306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:28:55] local.INFO: GPS data processed {"connection_id":141306,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:28:55] local.INFO: Acknowledgment sent {"connection_id":141306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:00] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:29:00] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:29:00] local.INFO: IMEI packet received {"connection_id":141307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":141307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:29:01] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:29:01] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:29:01] local.INFO: Packet analysis {"connection_id":141307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:29:01] local.INFO: Extracted packet for processing {"connection_id":141307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:29:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:29:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":141307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:29:01] local.INFO: GPS data processed {"connection_id":141307,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:29:01] local.INFO: Acknowledgment sent {"connection_id":141307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:03] local.INFO: TCP Data received {"connection_id":143713,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:03] local.INFO: Processing buffer {"connection_id":143713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:03] local.INFO: Packet analysis {"connection_id":143713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:29:03] local.INFO: Extracted packet for processing {"connection_id":143713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:29: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-07-25 20: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-07-25 20:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:29:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":143713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:29:03] local.INFO: GPS data processed {"connection_id":143713,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:29:03] local.INFO: Acknowledgment sent {"connection_id":143713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:27] local.INFO: TCP Data received {"connection_id":141306,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:29:27] local.INFO: Processing buffer {"connection_id":141306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:29:27] local.INFO: Packet analysis {"connection_id":141306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:29:27] local.INFO: Extracted packet for processing {"connection_id":141306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:29: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-07-25 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141306,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:29:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":141306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:29:27] local.INFO: GPS data processed {"connection_id":141306,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:29:27] local.INFO: Acknowledgment sent {"connection_id":141306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:31] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:29:31] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:29:31] local.INFO: IMEI packet received {"connection_id":141345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":141345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:29:33] local.INFO: TCP Data received {"connection_id":141307,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:29:33] local.INFO: Processing buffer {"connection_id":141307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:29:33] local.INFO: Packet analysis {"connection_id":141307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:29:33] local.INFO: Extracted packet for processing {"connection_id":141307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:29:33] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:29:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":141307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:29:33] local.INFO: GPS data processed {"connection_id":141307,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:29:33] local.INFO: Acknowledgment sent {"connection_id":141307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:36] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:29:36] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:29:36] local.INFO: IMEI packet received {"connection_id":141345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":141345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:29:37] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:37] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:37] local.INFO: Packet analysis {"connection_id":141345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:29:37] local.INFO: Extracted packet for processing {"connection_id":141345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29: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-07-25 20:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:29:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":141345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:29:37] local.INFO: GPS data processed {"connection_id":141345,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:29:37] local.INFO: Acknowledgment sent {"connection_id":141345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:41] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:41] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c4f268012d196400071fefb00041006e25..."} 
[2026-07-25 20:29:41] local.INFO: Packet analysis {"connection_id":141345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:29:41] local.INFO: Extracted packet for processing {"connection_id":141345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c4"} 
[2026-07-25 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957681920001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825998573266896896,"note":"Value kept but may cause issues"} 
[2026-07-25 20:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784991249000,"timestamp_ms":1784991249000,"timestamp_seconds":1784991249,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c4f268"} 
[2026-07-25 20:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-25 20:29: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-07-25 20:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957681920001,"66":2177,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1825998573266896896},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957681920001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:29:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825998573266896896,"description":"Unknown IO ID 45"} 
[2026-07-25 20:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957681920001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1825998573266896896}} 
[2026-07-25 20:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":141345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:29:41] local.INFO: GPS data processed {"connection_id":141345,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:29:41] local.INFO: Acknowledgment sent {"connection_id":141345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:29:54] local.INFO: TCP Data received {"connection_id":141308,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:29:54] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:29:54] local.INFO: IMEI packet received {"connection_id":141308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":141308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:29:55] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:29:55] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:29:55] local.INFO: IMEI packet received {"connection_id":141346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":141346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:29:59] local.INFO: TCP Data received {"connection_id":141308,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:29:59] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:29:59] local.INFO: IMEI packet received {"connection_id":141308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":141308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:30:00] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:30:00] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:30:00] local.INFO: IMEI packet received {"connection_id":141346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":141346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:30:00] local.INFO: TCP Data received {"connection_id":141308,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:00] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:00] local.INFO: Packet analysis {"connection_id":141308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:30:00] local.INFO: Extracted packet for processing {"connection_id":141308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:30:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:30:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":141308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:30:00] local.INFO: GPS data processed {"connection_id":141308,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:30:00] local.INFO: Acknowledgment sent {"connection_id":141308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:30:01] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:30:01] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:30:01] local.INFO: Packet analysis {"connection_id":141346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:30:01] local.INFO: Extracted packet for processing {"connection_id":141346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:30:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:30:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":141346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:30:01] local.INFO: GPS data processed {"connection_id":141346,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:30:01] local.INFO: Acknowledgment sent {"connection_id":141346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:30:05] local.INFO: TCP Data received {"connection_id":141308,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:05] local.INFO: Processing buffer {"connection_id":141308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:05] local.INFO: Packet analysis {"connection_id":141308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:30:05] local.INFO: Extracted packet for processing {"connection_id":141308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:30:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":141308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:30:05] local.INFO: GPS data processed {"connection_id":141308,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:30:05] local.INFO: Acknowledgment sent {"connection_id":141308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:30:26] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:30:26] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:30:26] local.INFO: IMEI packet received {"connection_id":143714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":143714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:30:31] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:30:31] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:30:31] local.INFO: IMEI packet received {"connection_id":143714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:30:32] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:30:32] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:30:32] local.INFO: Packet analysis {"connection_id":143714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:30:32] local.INFO: Extracted packet for processing {"connection_id":143714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":143714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:30:32] local.INFO: GPS data processed {"connection_id":143714,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:30:32] local.INFO: Acknowledgment sent {"connection_id":143714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:30:32] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:30:32] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:30:32] local.INFO: Packet analysis {"connection_id":141346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:30:32] local.INFO: Extracted packet for processing {"connection_id":141346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:30:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":141346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:30:32] local.INFO: GPS data processed {"connection_id":141346,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:30:32] local.INFO: Acknowledgment sent {"connection_id":141346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:30:49] local.INFO: TCP Data received {"connection_id":142336,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:30:49] local.INFO: Processing buffer {"connection_id":142336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:30:49] local.INFO: IMEI packet received {"connection_id":142336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":142336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:30:54] local.INFO: TCP Data received {"connection_id":142336,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:30:54] local.INFO: Processing buffer {"connection_id":142336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:30:54] local.INFO: IMEI packet received {"connection_id":142336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":142336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:30:55] local.INFO: TCP Data received {"connection_id":142337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:30:55] local.INFO: Processing buffer {"connection_id":142337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:30:55] local.INFO: IMEI packet received {"connection_id":142337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":142337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:30:55] local.INFO: TCP Data received {"connection_id":142336,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:55] local.INFO: Processing buffer {"connection_id":142336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c6d6c8012d77a94005f27b900013016323..."} 
[2026-07-25 20:30:55] local.INFO: Packet analysis {"connection_id":142336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:30:55] local.INFO: Extracted packet for processing {"connection_id":142336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c6"} 
[2026-07-25 20:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957713664001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 20:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991373000,"timestamp_ms":1784991373000,"timestamp_seconds":1784991373,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c6d6c8"} 
[2026-07-25 20:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:30: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-07-25 20: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-07-25 20:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957713664001,"66":26136,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957713664001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 20:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957713664001,"power":26136,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 20:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":142336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:30:55] local.INFO: GPS data processed {"connection_id":142336,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:30:55] local.INFO: Acknowledgment sent {"connection_id":142336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:31:01] local.INFO: TCP Data received {"connection_id":142337,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:31:01] local.INFO: Processing buffer {"connection_id":142337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:31:01] local.INFO: IMEI packet received {"connection_id":142337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":142337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:31:01] local.INFO: TCP Data received {"connection_id":142337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:31:01] local.INFO: Processing buffer {"connection_id":142337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:31:01] local.INFO: Packet analysis {"connection_id":142337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:31:01] local.INFO: Extracted packet for processing {"connection_id":142337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:31:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":142337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:31:01] local.INFO: GPS data processed {"connection_id":142337,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:31:01] local.INFO: Acknowledgment sent {"connection_id":142337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:31:03] local.INFO: TCP Data received {"connection_id":143714,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:31:03] local.INFO: Processing buffer {"connection_id":143714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:31:03] local.INFO: Packet analysis {"connection_id":143714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:31:03] local.INFO: Extracted packet for processing {"connection_id":143714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":143714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:31:03] local.INFO: GPS data processed {"connection_id":143714,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:31:03] local.INFO: Acknowledgment sent {"connection_id":143714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:31:26] local.INFO: TCP Data received {"connection_id":141347,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:31:26] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:31:26] local.INFO: IMEI packet received {"connection_id":141347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":141347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:31:26] local.INFO: TCP Data received {"connection_id":142336,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:31:26] local.INFO: Processing buffer {"connection_id":142336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:31:26] local.INFO: Packet analysis {"connection_id":142336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:31:26] local.INFO: Extracted packet for processing {"connection_id":142336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:31:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:31: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-07-25 20: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:31:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":142336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:31:26] local.INFO: GPS data processed {"connection_id":142336,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:31:26] local.INFO: Acknowledgment sent {"connection_id":142336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:31:31] local.INFO: TCP Data received {"connection_id":141347,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:31:31] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:31:31] local.INFO: IMEI packet received {"connection_id":141347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":141347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:31:32] local.INFO: TCP Data received {"connection_id":141347,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:31:32] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:31:32] local.INFO: Packet analysis {"connection_id":141347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:31:32] local.INFO: Extracted packet for processing {"connection_id":141347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:31:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":141347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:31:32] local.INFO: GPS data processed {"connection_id":141347,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:31:32] local.INFO: Acknowledgment sent {"connection_id":141347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:31:33] local.INFO: TCP Data received {"connection_id":142337,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:31:33] local.INFO: Processing buffer {"connection_id":142337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:31:33] local.INFO: Packet analysis {"connection_id":142337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:31:33] local.INFO: Extracted packet for processing {"connection_id":142337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:31:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:31:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":142337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:31:33] local.INFO: GPS data processed {"connection_id":142337,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:31:33] local.INFO: Acknowledgment sent {"connection_id":142337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:31:49] local.INFO: TCP Data received {"connection_id":141348,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:31:49] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:31:49] local.INFO: IMEI packet received {"connection_id":141348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":141348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:31:54] local.INFO: TCP Data received {"connection_id":141348,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:31:54] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:31:54] local.INFO: IMEI packet received {"connection_id":141348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":141348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:31:54] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:31:55] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:31:55] local.INFO: IMEI packet received {"connection_id":141309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":141309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:31:55] local.INFO: TCP Data received {"connection_id":141348,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:31:55] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:31:55] local.INFO: Packet analysis {"connection_id":141348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:31:55] local.INFO: Extracted packet for processing {"connection_id":141348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:31:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:31:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":141348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:31:55] local.INFO: GPS data processed {"connection_id":141348,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:31:55] local.INFO: Acknowledgment sent {"connection_id":141348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:32:00] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:32:00] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:32:00] local.INFO: IMEI packet received {"connection_id":141309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":141309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:32:01] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:32:01] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c74810012d9cd84005b361c0000d007e29..."} 
[2026-07-25 20:32:01] local.INFO: Packet analysis {"connection_id":141309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:32:01] local.INFO: Extracted packet for processing {"connection_id":141309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c7"} 
[2026-07-25 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957721856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991402000,"timestamp_ms":1784991402000,"timestamp_seconds":1784991402,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c74810"} 
[2026-07-25 20:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-25 20:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957721856001,"66":25756,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957721856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:32:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957721856001,"power":25756,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":141309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:32:01] local.INFO: GPS data processed {"connection_id":141309,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:32:01] local.INFO: Acknowledgment sent {"connection_id":141309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:32:03] local.INFO: TCP Data received {"connection_id":141347,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:32:03] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:32:03] local.INFO: Packet analysis {"connection_id":141347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:32:03] local.INFO: Extracted packet for processing {"connection_id":141347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:32:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":141347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:32:03] local.INFO: GPS data processed {"connection_id":141347,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:32:03] local.INFO: Acknowledgment sent {"connection_id":141347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:32:26] local.INFO: TCP Data received {"connection_id":143715,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:32:26] local.INFO: Processing buffer {"connection_id":143715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:32:26] local.INFO: IMEI packet received {"connection_id":143715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":143715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:32:26] local.INFO: TCP Data received {"connection_id":141348,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:32:26] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:32:26] local.INFO: Packet analysis {"connection_id":141348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:32:26] local.INFO: Extracted packet for processing {"connection_id":141348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:32:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:32: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-07-25 20:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:32:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":141348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:32:26] local.INFO: GPS data processed {"connection_id":141348,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:32:26] local.INFO: Acknowledgment sent {"connection_id":141348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:32:31] local.INFO: TCP Data received {"connection_id":143715,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:32:31] local.INFO: Processing buffer {"connection_id":143715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:32:31] local.INFO: IMEI packet received {"connection_id":143715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":143715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:32:32] local.INFO: TCP Data received {"connection_id":143715,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:32:32] local.INFO: Processing buffer {"connection_id":143715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:32:32] local.INFO: Packet analysis {"connection_id":143715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:32:32] local.INFO: Extracted packet for processing {"connection_id":143715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":143715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:32:32] local.INFO: GPS data processed {"connection_id":143715,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:32:32] local.INFO: Acknowledgment sent {"connection_id":143715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:32:32] local.INFO: TCP Data received {"connection_id":141309,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:32:32] local.INFO: Processing buffer {"connection_id":141309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:32:32] local.INFO: Packet analysis {"connection_id":141309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:32:32] local.INFO: Extracted packet for processing {"connection_id":141309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:32: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-07-25 20:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":141309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:32:32] local.INFO: GPS data processed {"connection_id":141309,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:32:32] local.INFO: Acknowledgment sent {"connection_id":141309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:32:54] local.INFO: TCP Data received {"connection_id":143716,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:32:54] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:32:54] local.INFO: IMEI packet received {"connection_id":143716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":143716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:32:59] local.INFO: TCP Data received {"connection_id":143716,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:32:59] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:32:59] local.INFO: IMEI packet received {"connection_id":143716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":143716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:33:00] local.INFO: TCP Data received {"connection_id":141310,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:00] local.INFO: Processing buffer {"connection_id":141310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:00] local.INFO: IMEI packet received {"connection_id":141310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":141310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:33:03] local.INFO: TCP Data received {"connection_id":143715,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:33:03] local.INFO: Processing buffer {"connection_id":143715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:33:03] local.INFO: Packet analysis {"connection_id":143715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:33:03] local.INFO: Extracted packet for processing {"connection_id":143715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":143715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:03] local.INFO: GPS data processed {"connection_id":143715,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:03] local.INFO: Acknowledgment sent {"connection_id":143715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:33:05] local.INFO: TCP Data received {"connection_id":141310,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:05] local.INFO: Processing buffer {"connection_id":141310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:05] local.INFO: IMEI packet received {"connection_id":141310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":141310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:33:05] local.INFO: TCP Data received {"connection_id":143716,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:05] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:05] local.INFO: Packet analysis {"connection_id":143716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:05] local.INFO: Extracted packet for processing {"connection_id":143716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":143716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:05] local.INFO: GPS data processed {"connection_id":143716,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:05] local.INFO: Acknowledgment sent {"connection_id":143716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:33:06] local.INFO: TCP Data received {"connection_id":141310,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:33:06] local.INFO: Processing buffer {"connection_id":141310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:33:06] local.INFO: Packet analysis {"connection_id":141310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:06] local.INFO: Extracted packet for processing {"connection_id":141310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":141310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:06] local.INFO: GPS data processed {"connection_id":141310,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:06] local.INFO: Acknowledgment sent {"connection_id":141310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:33:06] local.INFO: TCP Data received {"connection_id":143716,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:06] local.INFO: Processing buffer {"connection_id":143716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:06] local.INFO: Packet analysis {"connection_id":143716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:06] local.INFO: Extracted packet for processing {"connection_id":143716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":143716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:06] local.INFO: GPS data processed {"connection_id":143716,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:06] local.INFO: Acknowledgment sent {"connection_id":143716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:33:10] local.INFO: TCP Data received {"connection_id":141310,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:33:10] local.INFO: Processing buffer {"connection_id":141310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:33:10] local.INFO: Packet analysis {"connection_id":141310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:10] local.INFO: Extracted packet for processing {"connection_id":141310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:33:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":141310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:10] local.INFO: GPS data processed {"connection_id":141310,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:10] local.INFO: Acknowledgment sent {"connection_id":141310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:33:26] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:33:26] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:33:26] local.INFO: IMEI packet received {"connection_id":143717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":143717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:33:31] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:33:31] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:33:31] local.INFO: IMEI packet received {"connection_id":143717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":143717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:33:32] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:33:32] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:33:32] local.INFO: Packet analysis {"connection_id":143717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:33:32] local.INFO: Extracted packet for processing {"connection_id":143717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":143717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:32] local.INFO: GPS data processed {"connection_id":143717,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:32] local.INFO: Acknowledgment sent {"connection_id":143717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:33:49] local.INFO: TCP Data received {"connection_id":141311,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:33:49] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:33:49] local.INFO: IMEI packet received {"connection_id":141311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":141311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:33:54] local.INFO: TCP Data received {"connection_id":141311,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:33:54] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:33:54] local.INFO: IMEI packet received {"connection_id":141311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":141311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:33:55] local.INFO: TCP Data received {"connection_id":142338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:55] local.INFO: Processing buffer {"connection_id":142338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:33:55] local.INFO: IMEI packet received {"connection_id":142338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":142338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:33:55] local.INFO: TCP Data received {"connection_id":141311,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:55] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:33:55] local.INFO: Packet analysis {"connection_id":141311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:55] local.INFO: Extracted packet for processing {"connection_id":141311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:33:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":141311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:33:55] local.INFO: GPS data processed {"connection_id":141311,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:33:55] local.INFO: Acknowledgment sent {"connection_id":141311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:00] local.INFO: TCP Data received {"connection_id":142338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:34:00] local.INFO: Processing buffer {"connection_id":142338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:34:00] local.INFO: IMEI packet received {"connection_id":142338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":142338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:34:00] local.INFO: TCP Data received {"connection_id":141311,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:00] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:00] local.INFO: Packet analysis {"connection_id":141311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:00] local.INFO: Extracted packet for processing {"connection_id":141311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34: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-07-25 20: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":141311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:00] local.INFO: GPS data processed {"connection_id":141311,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:00] local.INFO: Acknowledgment sent {"connection_id":141311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:00] local.INFO: TCP Data received {"connection_id":142338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:34:00] local.INFO: Processing buffer {"connection_id":142338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:34:00] local.INFO: Packet analysis {"connection_id":142338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:00] local.INFO: Extracted packet for processing {"connection_id":142338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:34: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-07-25 20: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-07-25 20:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":142338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:01] local.INFO: GPS data processed {"connection_id":142338,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:01] local.INFO: Acknowledgment sent {"connection_id":142338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:03] local.INFO: TCP Data received {"connection_id":143717,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:03] local.INFO: Processing buffer {"connection_id":143717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:03] local.INFO: Packet analysis {"connection_id":143717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:34:03] local.INFO: Extracted packet for processing {"connection_id":143717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":143717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:03] local.INFO: GPS data processed {"connection_id":143717,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:03] local.INFO: Acknowledgment sent {"connection_id":143717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:31] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:34:31] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:34:31] local.INFO: IMEI packet received {"connection_id":141312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":141312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:34:31] local.INFO: TCP Data received {"connection_id":141311,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:31] local.INFO: Processing buffer {"connection_id":141311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:31] local.INFO: Packet analysis {"connection_id":141311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:31] local.INFO: Extracted packet for processing {"connection_id":141311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34: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-07-25 20:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":141311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:32] local.INFO: GPS data processed {"connection_id":141311,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:32] local.INFO: Acknowledgment sent {"connection_id":141311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:32] local.INFO: TCP Data received {"connection_id":142338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:34:32] local.INFO: Processing buffer {"connection_id":142338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:34:32] local.INFO: Packet analysis {"connection_id":142338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:32] local.INFO: Extracted packet for processing {"connection_id":142338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:34: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-07-25 20:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":142338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:32] local.INFO: GPS data processed {"connection_id":142338,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:32] local.INFO: Acknowledgment sent {"connection_id":142338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:36] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:34:36] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:34:36] local.INFO: IMEI packet received {"connection_id":141312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":141312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:34:37] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:37] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:37] local.INFO: Packet analysis {"connection_id":141312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:34:37] local.INFO: Extracted packet for processing {"connection_id":141312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34: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-07-25 20:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":141312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:37] local.INFO: GPS data processed {"connection_id":141312,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:37] local.INFO: Acknowledgment sent {"connection_id":141312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:41] local.INFO: TCP Data received {"connection_id":141312,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:41] local.INFO: Processing buffer {"connection_id":141312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99c98a30012d196400071fefb00041006e27..."} 
[2026-07-25 20:34:41] local.INFO: Packet analysis {"connection_id":141312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:34:41] local.INFO: Extracted packet for processing {"connection_id":141312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99c9"} 
[2026-07-25 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957759744001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784991550000,"timestamp_ms":1784991550000,"timestamp_seconds":1784991550,"priority":1,"record_length":96,"hex_timestamp":"0000019f99c98a30"} 
[2026-07-25 20:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-25 20:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957759744001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957759744001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957759744001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":141312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:41] local.INFO: GPS data processed {"connection_id":141312,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:41] local.INFO: Acknowledgment sent {"connection_id":141312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:34:50] local.INFO: TCP Data received {"connection_id":143718,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:34:50] local.INFO: Processing buffer {"connection_id":143718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:34:50] local.INFO: IMEI packet received {"connection_id":143718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":143718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:34:54] local.INFO: TCP Data received {"connection_id":143718,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:34:54] local.INFO: Processing buffer {"connection_id":143718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:34:54] local.INFO: IMEI packet received {"connection_id":143718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":143718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:34:55] local.INFO: TCP Data received {"connection_id":143719,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:34:55] local.INFO: Processing buffer {"connection_id":143719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:34:55] local.INFO: IMEI packet received {"connection_id":143719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":143719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:34:55] local.INFO: TCP Data received {"connection_id":143718,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:55] local.INFO: Processing buffer {"connection_id":143718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:34:55] local.INFO: Packet analysis {"connection_id":143718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:55] local.INFO: Extracted packet for processing {"connection_id":143718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:34:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:34:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":143718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:34:55] local.INFO: GPS data processed {"connection_id":143718,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:34:55] local.INFO: Acknowledgment sent {"connection_id":143718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:35:00] local.INFO: TCP Data received {"connection_id":143719,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:35:00] local.INFO: Processing buffer {"connection_id":143719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:35:00] local.INFO: IMEI packet received {"connection_id":143719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":143719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:35:01] local.INFO: TCP Data received {"connection_id":143719,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:35:01] local.INFO: Processing buffer {"connection_id":143719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:35:01] local.INFO: Packet analysis {"connection_id":143719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:01] local.INFO: Extracted packet for processing {"connection_id":143719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:35: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-07-25 20:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:35:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":143719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:35:01] local.INFO: GPS data processed {"connection_id":143719,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:35:01] local.INFO: Acknowledgment sent {"connection_id":143719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:35:26] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:35:26] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:35:26] local.INFO: IMEI packet received {"connection_id":141313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":141313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:35:27] local.INFO: TCP Data received {"connection_id":143718,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:35:27] local.INFO: Processing buffer {"connection_id":143718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:35:27] local.INFO: Packet analysis {"connection_id":143718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:27] local.INFO: Extracted packet for processing {"connection_id":143718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:35: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-07-25 20:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:35:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":143718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:35:27] local.INFO: GPS data processed {"connection_id":143718,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:35:27] local.INFO: Acknowledgment sent {"connection_id":143718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:35:31] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:35:31] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:35:31] local.INFO: IMEI packet received {"connection_id":141313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":141313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:35:32] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:35:32] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:35:32] local.INFO: Packet analysis {"connection_id":141313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:35:32] local.INFO: Extracted packet for processing {"connection_id":141313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":141313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:35:32] local.INFO: GPS data processed {"connection_id":141313,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:35:32] local.INFO: Acknowledgment sent {"connection_id":141313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:35:32] local.INFO: TCP Data received {"connection_id":143719,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:35:32] local.INFO: Processing buffer {"connection_id":143719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:35:32] local.INFO: Packet analysis {"connection_id":143719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:32] local.INFO: Extracted packet for processing {"connection_id":143719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:35: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-07-25 20:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":143719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:35:32] local.INFO: GPS data processed {"connection_id":143719,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:35:32] local.INFO: Acknowledgment sent {"connection_id":143719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:35:49] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:35:49] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:35:49] local.INFO: IMEI packet received {"connection_id":141349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":141349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:35:54] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:35:54] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:35:54] local.INFO: IMEI packet received {"connection_id":141349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":141349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:35:54] local.INFO: TCP Data received {"connection_id":141350,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:35:54] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:35:54] local.INFO: IMEI packet received {"connection_id":141350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":141350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:35:55] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:35:55] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cb6aa8012d77a94005f27b900013016323..."} 
[2026-07-25 20:35:55] local.INFO: Packet analysis {"connection_id":141349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:55] local.INFO: Extracted packet for processing {"connection_id":141349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957791488001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991673000,"timestamp_ms":1784991673000,"timestamp_seconds":1784991673,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cb6aa8"} 
[2026-07-25 20:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-25 20:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957791488001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957791488001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:35:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957791488001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":141349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:35:55] local.INFO: GPS data processed {"connection_id":141349,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:35:55] local.INFO: Acknowledgment sent {"connection_id":141349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:36:00] local.INFO: TCP Data received {"connection_id":141350,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:36:00] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:36:00] local.INFO: IMEI packet received {"connection_id":141350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":141350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:36:01] local.INFO: TCP Data received {"connection_id":141350,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:36:01] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:36:01] local.INFO: Packet analysis {"connection_id":141350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:36:01] local.INFO: Extracted packet for processing {"connection_id":141350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:36: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-07-25 20: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-07-25 20:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:36:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:36:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":141350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:36:01] local.INFO: GPS data processed {"connection_id":141350,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:36:01] local.INFO: Acknowledgment sent {"connection_id":141350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:36:03] local.INFO: TCP Data received {"connection_id":141313,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:36:03] local.INFO: Processing buffer {"connection_id":141313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:36:03] local.INFO: Packet analysis {"connection_id":141313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:36:03] local.INFO: Extracted packet for processing {"connection_id":141313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:36:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:36:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:36:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":141313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:36:03] local.INFO: GPS data processed {"connection_id":141313,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:36:03] local.INFO: Acknowledgment sent {"connection_id":141313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:36:26] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:36:26] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:36:26] local.INFO: IMEI packet received {"connection_id":141351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":141351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:36:26] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:36:26] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:36:26] local.INFO: Packet analysis {"connection_id":141349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:36:26] local.INFO: Extracted packet for processing {"connection_id":141349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:36:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:36:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":141349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:36:27] local.INFO: GPS data processed {"connection_id":141349,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:36:27] local.INFO: Acknowledgment sent {"connection_id":141349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:36:31] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:36:31] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:36:31] local.INFO: IMEI packet received {"connection_id":141351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":141351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:36:32] local.INFO: TCP Data received {"connection_id":141350,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:36:32] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:36:32] local.INFO: Packet analysis {"connection_id":141350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:36:32] local.INFO: Extracted packet for processing {"connection_id":141350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20: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-07-25 20: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-07-25 20:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":141350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:36:32] local.INFO: GPS data processed {"connection_id":141350,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:36:32] local.INFO: Acknowledgment sent {"connection_id":141350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:36:32] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:36:32] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:36:32] local.INFO: Packet analysis {"connection_id":141351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:36:32] local.INFO: Extracted packet for processing {"connection_id":141351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":141351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:36:32] local.INFO: GPS data processed {"connection_id":141351,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:36:32] local.INFO: Acknowledgment sent {"connection_id":141351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:36:54] local.INFO: TCP Data received {"connection_id":141352,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:36:54] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:36:54] local.INFO: IMEI packet received {"connection_id":141352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":141352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:36:54] local.INFO: TCP Data received {"connection_id":141314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:36:54] local.INFO: Processing buffer {"connection_id":141314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:36:54] local.INFO: IMEI packet received {"connection_id":141314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":141314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:36:59] local.INFO: TCP Data received {"connection_id":141352,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:36:59] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:36:59] local.INFO: IMEI packet received {"connection_id":141352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":141352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:36:59] local.INFO: TCP Data received {"connection_id":141352,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:36:59] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:36:59] local.INFO: Packet analysis {"connection_id":141352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:36:59] local.INFO: Extracted packet for processing {"connection_id":141352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:36:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:36:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":141352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:36:59] local.INFO: GPS data processed {"connection_id":141352,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:36:59] local.INFO: Acknowledgment sent {"connection_id":141352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:37:00] local.INFO: TCP Data received {"connection_id":141314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:37:00] local.INFO: Processing buffer {"connection_id":141314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:37:00] local.INFO: IMEI packet received {"connection_id":141314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":141314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:37:01] local.INFO: TCP Data received {"connection_id":141314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:37:01] local.INFO: Processing buffer {"connection_id":141314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cbdfd8012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:37:01] local.INFO: Packet analysis {"connection_id":141314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:37:01] local.INFO: Extracted packet for processing {"connection_id":141314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cb"} 
[2026-07-25 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957798912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784991703000,"timestamp_ms":1784991703000,"timestamp_seconds":1784991703,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cbdfd8"} 
[2026-07-25 20:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 20:37: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-07-25 20:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957798912001,"66":25702,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957798912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:37:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:37:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957798912001,"power":25702,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:37:01] local.INFO: GPS data processed {"connection_id":141314,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:37:01] local.INFO: Acknowledgment sent {"connection_id":141314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:37:04] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:37:04] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:37:04] local.INFO: Packet analysis {"connection_id":141351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:37:04] local.INFO: Extracted packet for processing {"connection_id":141351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37: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-07-25 20:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:37:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:37:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":141351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:37:04] local.INFO: GPS data processed {"connection_id":141351,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:37:04] local.INFO: Acknowledgment sent {"connection_id":141351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:37:05] local.INFO: TCP Data received {"connection_id":141352,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:37:05] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:37:05] local.INFO: Packet analysis {"connection_id":141352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:37:05] local.INFO: Extracted packet for processing {"connection_id":141352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:37:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:37: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":141352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:37:05] local.INFO: GPS data processed {"connection_id":141352,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:37:05] local.INFO: Acknowledgment sent {"connection_id":141352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:37:26] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:37:26] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:37:26] local.INFO: IMEI packet received {"connection_id":143720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":143720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:37:31] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:37:31] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:37:31] local.INFO: IMEI packet received {"connection_id":143720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":143720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:37:32] local.INFO: TCP Data received {"connection_id":141314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:37:32] local.INFO: Processing buffer {"connection_id":141314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:37:32] local.INFO: Packet analysis {"connection_id":141314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:37:32] local.INFO: Extracted packet for processing {"connection_id":141314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:37:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:37: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-07-25 20:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:37:32] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:37:32] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:37:32] local.INFO: Packet analysis {"connection_id":143720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:37:32] local.INFO: Extracted packet for processing {"connection_id":143720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":141314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:37:32] local.INFO: GPS data processed {"connection_id":141314,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:37:32] local.INFO: Acknowledgment sent {"connection_id":141314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":143720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:37:32] local.INFO: GPS data processed {"connection_id":143720,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:37:32] local.INFO: Acknowledgment sent {"connection_id":143720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:37:49] local.INFO: TCP Data received {"connection_id":141315,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:37:49] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:37:49] local.INFO: IMEI packet received {"connection_id":141315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":141315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:37:54] local.INFO: TCP Data received {"connection_id":141315,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:37:54] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:37:54] local.INFO: IMEI packet received {"connection_id":141315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":141315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:37:55] local.INFO: TCP Data received {"connection_id":141315,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:37:55] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:37:55] local.INFO: Packet analysis {"connection_id":141315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:37:55] local.INFO: Extracted packet for processing {"connection_id":141315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:37:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:37: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-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:37: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-07-25 20:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:37:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":141315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:37:55] local.INFO: GPS data processed {"connection_id":141315,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:37:55] local.INFO: Acknowledgment sent {"connection_id":141315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:38:00] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:00] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:00] local.INFO: IMEI packet received {"connection_id":141353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":141353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:38:03] local.INFO: TCP Data received {"connection_id":143720,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:38:03] local.INFO: Processing buffer {"connection_id":143720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:38:03] local.INFO: Packet analysis {"connection_id":143720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:38:03] local.INFO: Extracted packet for processing {"connection_id":143720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:38:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":143720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:38:03] local.INFO: GPS data processed {"connection_id":143720,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:38:03] local.INFO: Acknowledgment sent {"connection_id":143720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:38:05] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:05] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:05] local.INFO: IMEI packet received {"connection_id":141353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":141353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:38:06] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:38:06] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:38:06] local.INFO: Packet analysis {"connection_id":141353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:38:06] local.INFO: Extracted packet for processing {"connection_id":141353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:38:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":141353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:38:06] local.INFO: GPS data processed {"connection_id":141353,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:38:06] local.INFO: Acknowledgment sent {"connection_id":141353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:38:10] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:38:10] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:38:10] local.INFO: Packet analysis {"connection_id":141353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:38:10] local.INFO: Extracted packet for processing {"connection_id":141353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:38:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:38:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:38:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":141353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:38:10] local.INFO: GPS data processed {"connection_id":141353,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:38:10] local.INFO: Acknowledgment sent {"connection_id":141353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:38:26] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:38:26] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:38:26] local.INFO: IMEI packet received {"connection_id":141316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":141316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:38:27] local.INFO: TCP Data received {"connection_id":141315,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:38:27] local.INFO: Processing buffer {"connection_id":141315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:38:27] local.INFO: Packet analysis {"connection_id":141315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:38:27] local.INFO: Extracted packet for processing {"connection_id":141315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:38:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:38: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-07-25 20:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:38:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":141315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:38:27] local.INFO: GPS data processed {"connection_id":141315,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:38:27] local.INFO: Acknowledgment sent {"connection_id":141315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:38:31] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:38:31] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:38:31] local.INFO: IMEI packet received {"connection_id":141316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":141316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:38:32] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:38:32] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:38:32] local.INFO: Packet analysis {"connection_id":141316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:38:32] local.INFO: Extracted packet for processing {"connection_id":141316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:38:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":141316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:38:32] local.INFO: GPS data processed {"connection_id":141316,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:38:32] local.INFO: Acknowledgment sent {"connection_id":141316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:38:49] local.INFO: TCP Data received {"connection_id":141354,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:38:49] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:38:49] local.INFO: IMEI packet received {"connection_id":141354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":141354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:38:54] local.INFO: TCP Data received {"connection_id":141354,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:38:54] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:38:54] local.INFO: IMEI packet received {"connection_id":141354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":141354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:38:55] local.INFO: TCP Data received {"connection_id":142339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:55] local.INFO: Processing buffer {"connection_id":142339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:38:55] local.INFO: IMEI packet received {"connection_id":142339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":142339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:38:55] local.INFO: TCP Data received {"connection_id":141354,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:38:55] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:38:55] local.INFO: Packet analysis {"connection_id":141354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:38:55] local.INFO: Extracted packet for processing {"connection_id":141354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:38: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-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:38: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-07-25 20: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-07-25 20:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:38:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":141354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:38:55] local.INFO: GPS data processed {"connection_id":141354,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:38:55] local.INFO: Acknowledgment sent {"connection_id":141354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:39:00] local.INFO: TCP Data received {"connection_id":142339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:39:00] local.INFO: Processing buffer {"connection_id":142339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:39:00] local.INFO: IMEI packet received {"connection_id":142339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":142339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:39:01] local.INFO: TCP Data received {"connection_id":142339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:39:01] local.INFO: Processing buffer {"connection_id":142339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:39:01] local.INFO: Packet analysis {"connection_id":142339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:39:01] local.INFO: Extracted packet for processing {"connection_id":142339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:39:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:39:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":142339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:39:01] local.INFO: GPS data processed {"connection_id":142339,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:39:01] local.INFO: Acknowledgment sent {"connection_id":142339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:39:03] local.INFO: TCP Data received {"connection_id":141316,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:39:03] local.INFO: Processing buffer {"connection_id":141316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:39:03] local.INFO: Packet analysis {"connection_id":141316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:39:03] local.INFO: Extracted packet for processing {"connection_id":141316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:39:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":141316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:39:03] local.INFO: GPS data processed {"connection_id":141316,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:39:03] local.INFO: Acknowledgment sent {"connection_id":141316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:39:26] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:39:26] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:39:26] local.INFO: IMEI packet received {"connection_id":141355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":141355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:39:26] local.INFO: TCP Data received {"connection_id":141354,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:39:26] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:39:26] local.INFO: Packet analysis {"connection_id":141354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:39:26] local.INFO: Extracted packet for processing {"connection_id":141354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:39:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:39: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:39:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":141354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:39:26] local.INFO: GPS data processed {"connection_id":141354,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:39:26] local.INFO: Acknowledgment sent {"connection_id":141354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:39:31] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:39:31] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:39:31] local.INFO: IMEI packet received {"connection_id":141355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":141355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:39:32] local.INFO: TCP Data received {"connection_id":142339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:39:32] local.INFO: Processing buffer {"connection_id":142339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:39:32] local.INFO: Packet analysis {"connection_id":142339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:39:32] local.INFO: Extracted packet for processing {"connection_id":142339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:39:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:39: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-07-25 20: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-07-25 20:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":142339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:39:32] local.INFO: GPS data processed {"connection_id":142339,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:39:32] local.INFO: Acknowledgment sent {"connection_id":142339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:39:32] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:39:32] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ce21f8012d196400071fefb00041006e27..."} 
[2026-07-25 20:39:32] local.INFO: Packet analysis {"connection_id":141355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:39:32] local.INFO: Extracted packet for processing {"connection_id":141355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ce"} 
[2026-07-25 20:39:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957836800001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784991851000,"timestamp_ms":1784991851000,"timestamp_seconds":1784991851,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ce21f8"} 
[2026-07-25 20:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957836800001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957836800001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957836800001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":141355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:39:32] local.INFO: GPS data processed {"connection_id":141355,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:39:32] local.INFO: Acknowledgment sent {"connection_id":141355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:39:49] local.INFO: TCP Data received {"connection_id":143721,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:39:49] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:39:49] local.INFO: IMEI packet received {"connection_id":143721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":143721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:39:54] local.INFO: TCP Data received {"connection_id":143721,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:39:54] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:39:54] local.INFO: IMEI packet received {"connection_id":143721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":143721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:39:55] local.INFO: TCP Data received {"connection_id":141317,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:39:55] local.INFO: Processing buffer {"connection_id":141317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:39:55] local.INFO: IMEI packet received {"connection_id":141317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":141317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:39:55] local.INFO: TCP Data received {"connection_id":143721,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:39:55] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:39:55] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:39:55] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:39: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-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:39: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-07-25 20:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:39:55] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:39:55] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:40:00] local.INFO: TCP Data received {"connection_id":141317,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:40:00] local.INFO: Processing buffer {"connection_id":141317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:40:00] local.INFO: IMEI packet received {"connection_id":141317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":141317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:40:00] local.INFO: TCP Data received {"connection_id":141317,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:40:00] local.INFO: Processing buffer {"connection_id":141317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:40:00] local.INFO: Packet analysis {"connection_id":141317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:40:00] local.INFO: Extracted packet for processing {"connection_id":141317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:40:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:40:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":141317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:40:00] local.INFO: GPS data processed {"connection_id":141317,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:40:00] local.INFO: Acknowledgment sent {"connection_id":141317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:40:03] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:40:03] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:40:03] local.INFO: Packet analysis {"connection_id":141355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:40:03] local.INFO: Extracted packet for processing {"connection_id":141355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:40:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:40: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-07-25 20: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-07-25 20:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:40:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:40:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":141355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:40:03] local.INFO: GPS data processed {"connection_id":141355,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:40:03] local.INFO: Acknowledgment sent {"connection_id":141355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:40:26] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:40:26] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:40:26] local.INFO: IMEI packet received {"connection_id":143722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":143722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:40:26] local.INFO: TCP Data received {"connection_id":143721,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:40:26] local.INFO: Processing buffer {"connection_id":143721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:40:26] local.INFO: Packet analysis {"connection_id":143721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:40:26] local.INFO: Extracted packet for processing {"connection_id":143721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:40:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":143721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:40:26] local.INFO: GPS data processed {"connection_id":143721,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:40:26] local.INFO: Acknowledgment sent {"connection_id":143721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:40:31] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:40:31] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:40:31] local.INFO: IMEI packet received {"connection_id":143722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":143722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:40:32] local.INFO: TCP Data received {"connection_id":141317,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:40:32] local.INFO: Processing buffer {"connection_id":141317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:40:32] local.INFO: Packet analysis {"connection_id":141317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:40:32] local.INFO: Extracted packet for processing {"connection_id":141317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:40:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:40: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-07-25 20:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":141317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:40:32] local.INFO: GPS data processed {"connection_id":141317,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:40:32] local.INFO: Acknowledgment sent {"connection_id":141317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:40:32] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:40:32] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:40:32] local.INFO: Packet analysis {"connection_id":143722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:40:32] local.INFO: Extracted packet for processing {"connection_id":143722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":143722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:40:32] local.INFO: GPS data processed {"connection_id":143722,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:40:32] local.INFO: Acknowledgment sent {"connection_id":143722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:40:54] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:40:54] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:40:54] local.INFO: IMEI packet received {"connection_id":141356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":141356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:40:55] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:40:55] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:40:55] local.INFO: IMEI packet received {"connection_id":141357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":141357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:40:59] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:40:59] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:40:59] local.INFO: IMEI packet received {"connection_id":141356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":141356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:41:00] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:41:00] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:41:00] local.INFO: IMEI packet received {"connection_id":141357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":141357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:41:00] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:00] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:00] local.INFO: Packet analysis {"connection_id":141356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:41:00] local.INFO: Extracted packet for processing {"connection_id":141356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:41:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":141356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:00] local.INFO: GPS data processed {"connection_id":141356,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:00] local.INFO: Acknowledgment sent {"connection_id":141356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:41:01] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:41:01] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:41:01] local.INFO: Packet analysis {"connection_id":141357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:41:01] local.INFO: Extracted packet for processing {"connection_id":141357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":141357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:01] local.INFO: GPS data processed {"connection_id":141357,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:01] local.INFO: Acknowledgment sent {"connection_id":141357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:41:03] local.INFO: TCP Data received {"connection_id":143722,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:41:03] local.INFO: Processing buffer {"connection_id":143722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:41:03] local.INFO: Packet analysis {"connection_id":143722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:41:03] local.INFO: Extracted packet for processing {"connection_id":143722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:41: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-07-25 20:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":143722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:03] local.INFO: GPS data processed {"connection_id":143722,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:03] local.INFO: Acknowledgment sent {"connection_id":143722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:41:05] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:05] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99cfeee8012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:05] local.INFO: Packet analysis {"connection_id":141356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:41:05] local.INFO: Extracted packet for processing {"connection_id":141356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99cf"} 
[2026-07-25 20:41:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957868288001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784991969000,"timestamp_ms":1784991969000,"timestamp_seconds":1784991969,"priority":1,"record_length":96,"hex_timestamp":"0000019f99cfeee8"} 
[2026-07-25 20:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957868288001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957868288001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957868288001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":141356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:05] local.INFO: GPS data processed {"connection_id":141356,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:05] local.INFO: Acknowledgment sent {"connection_id":141356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:41:26] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:41:26] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:41:26] local.INFO: IMEI packet received {"connection_id":143723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":143723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:41:31] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:41:31] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:41:31] local.INFO: IMEI packet received {"connection_id":143723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":143723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:41:32] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:41:32] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:41:32] local.INFO: Packet analysis {"connection_id":143723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:41:32] local.INFO: Extracted packet for processing {"connection_id":143723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":143723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:32] local.INFO: GPS data processed {"connection_id":143723,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:32] local.INFO: Acknowledgment sent {"connection_id":143723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:41:32] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:41:32] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:41:32] local.INFO: Packet analysis {"connection_id":141357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:41:32] local.INFO: Extracted packet for processing {"connection_id":141357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:41: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-07-25 20:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":141357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:32] local.INFO: GPS data processed {"connection_id":141357,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:32] local.INFO: Acknowledgment sent {"connection_id":141357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:41:49] local.INFO: TCP Data received {"connection_id":143724,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:41:49] local.INFO: Processing buffer {"connection_id":143724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:41:49] local.INFO: IMEI packet received {"connection_id":143724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":143724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:41:54] local.INFO: TCP Data received {"connection_id":143724,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:41:54] local.INFO: Processing buffer {"connection_id":143724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:41:54] local.INFO: IMEI packet received {"connection_id":143724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":143724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:41:54] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:41:54] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:41:54] local.INFO: IMEI packet received {"connection_id":141358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":141358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:41:55] local.INFO: TCP Data received {"connection_id":143724,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:55] local.INFO: Processing buffer {"connection_id":143724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:41:55] local.INFO: Packet analysis {"connection_id":143724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:41:55] local.INFO: Extracted packet for processing {"connection_id":143724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:41:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:41: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:41:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":143724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:41:55] local.INFO: GPS data processed {"connection_id":143724,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:41:55] local.INFO: Acknowledgment sent {"connection_id":143724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:42:00] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:42:00] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:42:00] local.INFO: IMEI packet received {"connection_id":141358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":141358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:42:01] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:42:01] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d077a0012d9cd84005b361c0000d007e28..."} 
[2026-07-25 20:42:01] local.INFO: Packet analysis {"connection_id":141358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:42:01] local.INFO: Extracted packet for processing {"connection_id":141358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d0"} 
[2026-07-25 20:42:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":40,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957875968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992004000,"timestamp_ms":1784992004000,"timestamp_seconds":1784992004,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d077a0"} 
[2026-07-25 20:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 20:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957875968001,"66":25647,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957875968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:42:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:42:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957875968001,"power":25647,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":141358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:42:01] local.INFO: GPS data processed {"connection_id":141358,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:42:01] local.INFO: Acknowledgment sent {"connection_id":141358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:42:03] local.INFO: TCP Data received {"connection_id":143723,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:42:03] local.INFO: Processing buffer {"connection_id":143723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:42:03] local.INFO: Packet analysis {"connection_id":143723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:42:03] local.INFO: Extracted packet for processing {"connection_id":143723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:42: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-07-25 20:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:42:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:42:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":143723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:42:03] local.INFO: GPS data processed {"connection_id":143723,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:42:03] local.INFO: Acknowledgment sent {"connection_id":143723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:42:26] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:42:26] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:42:26] local.INFO: IMEI packet received {"connection_id":141359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":141359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:42:27] local.INFO: TCP Data received {"connection_id":143724,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:42:27] local.INFO: Processing buffer {"connection_id":143724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:42:27] local.INFO: Packet analysis {"connection_id":143724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:42:27] local.INFO: Extracted packet for processing {"connection_id":143724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:42:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:42: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-07-25 20:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:42:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":143724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:42:27] local.INFO: GPS data processed {"connection_id":143724,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:42:27] local.INFO: Acknowledgment sent {"connection_id":143724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:42:31] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:42:31] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:42:31] local.INFO: IMEI packet received {"connection_id":141359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":141359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:42:32] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:42:32] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:42:32] local.INFO: Packet analysis {"connection_id":141359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:42:32] local.INFO: Extracted packet for processing {"connection_id":141359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":141359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:42:32] local.INFO: GPS data processed {"connection_id":141359,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:42:32] local.INFO: Acknowledgment sent {"connection_id":141359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:42:32] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:42:32] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:42:32] local.INFO: Packet analysis {"connection_id":141358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:42:32] local.INFO: Extracted packet for processing {"connection_id":141358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:42:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:42: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-07-25 20: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-07-25 20:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":141358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:42:32] local.INFO: GPS data processed {"connection_id":141358,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:42:32] local.INFO: Acknowledgment sent {"connection_id":141358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:42:49] local.INFO: TCP Data received {"connection_id":141360,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:42:49] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:42:49] local.INFO: IMEI packet received {"connection_id":141360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":141360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:42:54] local.INFO: TCP Data received {"connection_id":141360,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:42:54] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:42:54] local.INFO: IMEI packet received {"connection_id":141360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":141360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:42:55] local.INFO: TCP Data received {"connection_id":141360,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:42:55] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:42:55] local.INFO: Packet analysis {"connection_id":141360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:42:55] local.INFO: Extracted packet for processing {"connection_id":141360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:42:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:42: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:42:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":141360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:42:55] local.INFO: GPS data processed {"connection_id":141360,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:42:55] local.INFO: Acknowledgment sent {"connection_id":141360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:43:00] local.INFO: TCP Data received {"connection_id":142340,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:00] local.INFO: Processing buffer {"connection_id":142340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:00] local.INFO: IMEI packet received {"connection_id":142340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":142340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:43:03] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:43:03] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:43:03] local.INFO: Packet analysis {"connection_id":141359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:43:03] local.INFO: Extracted packet for processing {"connection_id":141359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:43: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-07-25 20:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":141359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:43:03] local.INFO: GPS data processed {"connection_id":141359,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:43:03] local.INFO: Acknowledgment sent {"connection_id":141359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:43:05] local.INFO: TCP Data received {"connection_id":142340,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:05] local.INFO: Processing buffer {"connection_id":142340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:05] local.INFO: IMEI packet received {"connection_id":142340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":142340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:43:06] local.INFO: TCP Data received {"connection_id":142340,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:43:06] local.INFO: Processing buffer {"connection_id":142340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:43:06] local.INFO: Packet analysis {"connection_id":142340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:43:06] local.INFO: Extracted packet for processing {"connection_id":142340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:43:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":142340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:43:06] local.INFO: GPS data processed {"connection_id":142340,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:43:06] local.INFO: Acknowledgment sent {"connection_id":142340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:43:10] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:10] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:10] local.INFO: IMEI packet received {"connection_id":141318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 20:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":141318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:43:10] local.INFO: TCP Data received {"connection_id":142340,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:43:10] local.INFO: Processing buffer {"connection_id":142340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:43:10] local.INFO: Packet analysis {"connection_id":142340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:43:10] local.INFO: Extracted packet for processing {"connection_id":142340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:43:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:43:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":142340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:43:10] local.INFO: GPS data processed {"connection_id":142340,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:43:10] local.INFO: Acknowledgment sent {"connection_id":142340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:43:11] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:11] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:11] local.INFO: IMEI packet received {"connection_id":141318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":141318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:43:15] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:15] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 20:43:15] local.INFO: IMEI packet received {"connection_id":141318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 20:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":141318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:43:16] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 20:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 20:43:16] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-07-25 20:43:16] local.INFO: Packet analysis {"connection_id":141318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 20:43:16] local.INFO: Extracted packet for processing {"connection_id":141318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-25 20:43:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 20:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403199495569408,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 20:43:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 20:43:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 20:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141318,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 20:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 20:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 20:43:16] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 20:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":141318,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 20:43:16] local.ERROR: GPS data processing failed {"connection_id":141318,"error":"No valid data to process"} 
[2026-07-25 20:43:16] local.INFO: Acknowledgment sent {"connection_id":141318,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 20:43:26] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:43:26] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:43:26] local.INFO: IMEI packet received {"connection_id":141319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":141319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:43:26] local.INFO: TCP Data received {"connection_id":141360,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:43:26] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:43:26] local.INFO: Packet analysis {"connection_id":141360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:43:26] local.INFO: Extracted packet for processing {"connection_id":141360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:43:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:43:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":141360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:43:26] local.INFO: GPS data processed {"connection_id":141360,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:43:26] local.INFO: Acknowledgment sent {"connection_id":141360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:43:31] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:43:31] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:43:31] local.INFO: IMEI packet received {"connection_id":141319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":141319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:43:32] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:43:32] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:43:32] local.INFO: Packet analysis {"connection_id":141319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:43:32] local.INFO: Extracted packet for processing {"connection_id":141319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:43:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:43:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":141319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:43:32] local.INFO: GPS data processed {"connection_id":141319,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:43:32] local.INFO: Acknowledgment sent {"connection_id":141319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:43:49] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 20:43:49] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-07-25 20:43:49] local.INFO: Packet analysis {"connection_id":141318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 20:43:49] local.INFO: Extracted packet for processing {"connection_id":141318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-25 20:43:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-25 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-07-25 20:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403199495569408,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 20:43:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 20:43:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 20:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":141318,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 20:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 20:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 20:43:49] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 20:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":141318,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 20:43:49] local.ERROR: GPS data processing failed {"connection_id":141318,"error":"No valid data to process"} 
[2026-07-25 20:43:49] local.INFO: Acknowledgment sent {"connection_id":141318,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 20:43:49] local.INFO: TCP Data received {"connection_id":141320,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:43:49] local.INFO: Processing buffer {"connection_id":141320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:43:49] local.INFO: IMEI packet received {"connection_id":141320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":141320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:43:54] local.INFO: TCP Data received {"connection_id":141320,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:43:54] local.INFO: Processing buffer {"connection_id":141320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:43:54] local.INFO: IMEI packet received {"connection_id":141320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":141320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:43:55] local.INFO: TCP Data received {"connection_id":142341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:55] local.INFO: Processing buffer {"connection_id":142341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:43:55] local.INFO: IMEI packet received {"connection_id":142341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":142341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:43:55] local.INFO: TCP Data received {"connection_id":141320,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:43:55] local.INFO: Processing buffer {"connection_id":141320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:43:55] local.INFO: Packet analysis {"connection_id":141320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:43:55] local.INFO: Extracted packet for processing {"connection_id":141320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:43: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":141320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:43:55] local.INFO: GPS data processed {"connection_id":141320,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:43:55] local.INFO: Acknowledgment sent {"connection_id":141320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:00] local.INFO: TCP Data received {"connection_id":142341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:44:00] local.INFO: Processing buffer {"connection_id":142341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:44:00] local.INFO: IMEI packet received {"connection_id":142341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":142341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:44:00] local.INFO: TCP Data received {"connection_id":142341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:44:01] local.INFO: Processing buffer {"connection_id":142341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:44:01] local.INFO: Packet analysis {"connection_id":142341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:44:01] local.INFO: Extracted packet for processing {"connection_id":142341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:44:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":142341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:01] local.INFO: GPS data processed {"connection_id":142341,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:01] local.INFO: Acknowledgment sent {"connection_id":142341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:03] local.INFO: TCP Data received {"connection_id":141319,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:03] local.INFO: Processing buffer {"connection_id":141319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:03] local.INFO: Packet analysis {"connection_id":141319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:44:03] local.INFO: Extracted packet for processing {"connection_id":141319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:44: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-07-25 20:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:44:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":141319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:03] local.INFO: GPS data processed {"connection_id":141319,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:03] local.INFO: Acknowledgment sent {"connection_id":141319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:21] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d6d0a0012d7e34c005d34d280000000008..."} 
[2026-07-25 20:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d6d0a0012d7e34c005d34d280000000008..."} 
[2026-07-25 20:44:21] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d6d0a0012d7e34c005d34d280000000008..."} 
[2026-07-25 20:44:21] local.INFO: Packet analysis {"connection_id":141318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d6"} 
[2026-07-25 20:44:21] local.INFO: Extracted packet for processing {"connection_id":141318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d6"} 
[2026-07-25 20:44:21] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97733928,"longitude_deg":76.324576,"latitude_deg":9.7733928,"altitude":0,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7e34c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-07-25 20:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403199495569408,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 20:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784992420000,"timestamp_ms":1784992420000,"timestamp_seconds":1784992420,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d6d0a0"} 
[2026-07-25 20:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-25 20:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1892,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11102,"109":206,"85":15104,"24":0,"16":110403199495569408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16]} 
[2026-07-25 20:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:21] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 20:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 20:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403199495569408,"km_value":110403199495569.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11102,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-07-25 20:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":141318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:21] local.INFO: GPS data processed {"connection_id":141318,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:21] local.INFO: Acknowledgment sent {"connection_id":141318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:26] local.INFO: TCP Data received {"connection_id":141320,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:44:26] local.INFO: Processing buffer {"connection_id":141320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:44:26] local.INFO: Packet analysis {"connection_id":141320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:44:26] local.INFO: Extracted packet for processing {"connection_id":141320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:44:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":141320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:26] local.INFO: GPS data processed {"connection_id":141320,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:26] local.INFO: Acknowledgment sent {"connection_id":141320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:31] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:44:31] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:44:31] local.INFO: IMEI packet received {"connection_id":141321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":141321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:44:32] local.INFO: TCP Data received {"connection_id":142341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:44:32] local.INFO: Processing buffer {"connection_id":142341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:44:32] local.INFO: Packet analysis {"connection_id":142341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:44:32] local.INFO: Extracted packet for processing {"connection_id":142341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:44: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-07-25 20:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":142341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:32] local.INFO: GPS data processed {"connection_id":142341,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:32] local.INFO: Acknowledgment sent {"connection_id":142341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:36] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:44:36] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:44:36] local.INFO: IMEI packet received {"connection_id":141321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":141321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:44:37] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:37] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:37] local.INFO: Packet analysis {"connection_id":141321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:44:37] local.INFO: Extracted packet for processing {"connection_id":141321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:44:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44: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-07-25 20:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:44:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":141321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:37] local.INFO: GPS data processed {"connection_id":141321,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:37] local.INFO: Acknowledgment sent {"connection_id":141321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:41] local.INFO: TCP Data received {"connection_id":141321,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:41] local.INFO: Processing buffer {"connection_id":141321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d2b9c0012d196400071fefb00041006e25..."} 
[2026-07-25 20:44:41] local.INFO: Packet analysis {"connection_id":141321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:44:41] local.INFO: Extracted packet for processing {"connection_id":141321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d2"} 
[2026-07-25 20:44:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":37,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957913856001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784992152000,"timestamp_ms":1784992152000,"timestamp_seconds":1784992152,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d2b9c0"} 
[2026-07-25 20:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 20:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957913856001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957913856001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957913856001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":141321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:41] local.INFO: GPS data processed {"connection_id":141321,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:41] local.INFO: Acknowledgment sent {"connection_id":141321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:53] local.INFO: TCP Data received {"connection_id":141318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d6f7b0012d7e348005d34cf0000200000c..."} 
[2026-07-25 20:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d6f7b0012d7e348005d34cf0000200000c..."} 
[2026-07-25 20:44:53] local.INFO: Processing buffer {"connection_id":141318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d6f7b0012d7e348005d34cf0000200000c..."} 
[2026-07-25 20:44:53] local.INFO: Packet analysis {"connection_id":141318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d6"} 
[2026-07-25 20:44:53] local.INFO: Extracted packet for processing {"connection_id":141318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d6"} 
[2026-07-25 20:44:53] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":97733872,"longitude_deg":76.3245696,"latitude_deg":9.7733872,"altitude":2,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7e3480","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-07-25 20:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958059520001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403212380471296,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820292608,"note":"Value kept but may cause issues"} 
[2026-07-25 20:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1784992430000,"timestamp_ms":1784992430000,"timestamp_seconds":1784992430,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d6f7b0"} 
[2026-07-25 20:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 20:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-25 20:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1259,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":141318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":141318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 20:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 20:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 20:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958059520001,"66":11308,"109":206,"85":15104,"24":0,"16":110403212380471296,"45":9094104678820292608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 20:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 20:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 20:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958059520001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:44:53] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 20:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 20:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403212380471296,"km_value":110403212380471.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820292608,"description":"Unknown IO ID 45"} 
[2026-07-25 20:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958059520001,"power":11308,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094104678820292608}} 
[2026-07-25 20:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":141318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:44:53] local.INFO: GPS data processed {"connection_id":141318,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:44:53] local.INFO: Acknowledgment sent {"connection_id":141318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:44:55] local.INFO: TCP Data received {"connection_id":143725,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:44:55] local.INFO: Processing buffer {"connection_id":143725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:44:55] local.INFO: IMEI packet received {"connection_id":143725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":143725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:44:55] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:44:55] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:44:55] local.INFO: IMEI packet received {"connection_id":143726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":143726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:44:59] local.INFO: TCP Data received {"connection_id":143725,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:44:59] local.INFO: Processing buffer {"connection_id":143725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:44:59] local.INFO: IMEI packet received {"connection_id":143725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":143725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:45:00] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:45:00] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:45:00] local.INFO: IMEI packet received {"connection_id":143726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":143726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:45:00] local.INFO: TCP Data received {"connection_id":143725,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:00] local.INFO: Processing buffer {"connection_id":143725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:00] local.INFO: Packet analysis {"connection_id":143725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:45:00] local.INFO: Extracted packet for processing {"connection_id":143725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:45:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:45:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":143725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:45:00] local.INFO: GPS data processed {"connection_id":143725,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:45:00] local.INFO: Acknowledgment sent {"connection_id":143725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:45:01] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:45:01] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:45:01] local.INFO: Packet analysis {"connection_id":143726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:45:01] local.INFO: Extracted packet for processing {"connection_id":143726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:45:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:45:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":143726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:45:01] local.INFO: GPS data processed {"connection_id":143726,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:45:01] local.INFO: Acknowledgment sent {"connection_id":143726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:45:26] local.INFO: TCP Data received {"connection_id":142342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:45:26] local.INFO: Processing buffer {"connection_id":142342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:45:26] local.INFO: IMEI packet received {"connection_id":142342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":142342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:45:31] local.INFO: TCP Data received {"connection_id":142342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:45:31] local.INFO: Processing buffer {"connection_id":142342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:45:31] local.INFO: IMEI packet received {"connection_id":142342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":142342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:45:31] local.INFO: TCP Data received {"connection_id":143725,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:31] local.INFO: Processing buffer {"connection_id":143725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:31] local.INFO: Packet analysis {"connection_id":143725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:45:31] local.INFO: Extracted packet for processing {"connection_id":143725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":143725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:45:31] local.INFO: GPS data processed {"connection_id":143725,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:45:31] local.INFO: Acknowledgment sent {"connection_id":143725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:45:32] local.INFO: TCP Data received {"connection_id":142342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:45:32] local.INFO: Processing buffer {"connection_id":142342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:45:32] local.INFO: Packet analysis {"connection_id":142342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:45:32] local.INFO: Extracted packet for processing {"connection_id":142342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":142342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:45:32] local.INFO: GPS data processed {"connection_id":142342,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:45:32] local.INFO: Acknowledgment sent {"connection_id":142342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:45:32] local.INFO: TCP Data received {"connection_id":143726,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:45:32] local.INFO: Processing buffer {"connection_id":143726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:45:32] local.INFO: Packet analysis {"connection_id":143726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:45:32] local.INFO: Extracted packet for processing {"connection_id":143726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:45: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-07-25 20:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":143726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:45:32] local.INFO: GPS data processed {"connection_id":143726,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:45:32] local.INFO: Acknowledgment sent {"connection_id":143726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:45:49] local.INFO: TCP Data received {"connection_id":143727,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:45:49] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:45:49] local.INFO: IMEI packet received {"connection_id":143727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":143727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:45:54] local.INFO: TCP Data received {"connection_id":143727,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:45:54] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:45:54] local.INFO: IMEI packet received {"connection_id":143727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":143727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:45:54] local.INFO: TCP Data received {"connection_id":142343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:45:54] local.INFO: Processing buffer {"connection_id":142343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:45:54] local.INFO: IMEI packet received {"connection_id":142343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":142343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:45:55] local.INFO: TCP Data received {"connection_id":143727,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:55] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d457d0012d77a94005f27b900013016323..."} 
[2026-07-25 20:45:55] local.INFO: Packet analysis {"connection_id":143727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:45:55] local.INFO: Extracted packet for processing {"connection_id":143727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d4"} 
[2026-07-25 20:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957944064001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992258000,"timestamp_ms":1784992258000,"timestamp_seconds":1784992258,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d457d0"} 
[2026-07-25 20:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:45: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-07-25 20:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957944064001,"66":25778,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957944064001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:45:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957944064001,"power":25778,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":143727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:45:55] local.INFO: GPS data processed {"connection_id":143727,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:45:55] local.INFO: Acknowledgment sent {"connection_id":143727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:46:00] local.INFO: TCP Data received {"connection_id":142343,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:46:00] local.INFO: Processing buffer {"connection_id":142343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:46:00] local.INFO: IMEI packet received {"connection_id":142343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":142343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:46:01] local.INFO: TCP Data received {"connection_id":142343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:46:01] local.INFO: Processing buffer {"connection_id":142343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:46:01] local.INFO: Packet analysis {"connection_id":142343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:46:01] local.INFO: Extracted packet for processing {"connection_id":142343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:46:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:46:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":142343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:46:01] local.INFO: GPS data processed {"connection_id":142343,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:46:01] local.INFO: Acknowledgment sent {"connection_id":142343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:46:03] local.INFO: TCP Data received {"connection_id":142342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:46:03] local.INFO: Processing buffer {"connection_id":142342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:46:03] local.INFO: Packet analysis {"connection_id":142342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:46:03] local.INFO: Extracted packet for processing {"connection_id":142342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:46:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":142342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:46:03] local.INFO: GPS data processed {"connection_id":142342,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:46:03] local.INFO: Acknowledgment sent {"connection_id":142342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:46:26] local.INFO: TCP Data received {"connection_id":143727,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:46:26] local.INFO: Processing buffer {"connection_id":143727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:46:26] local.INFO: Packet analysis {"connection_id":143727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:46:26] local.INFO: Extracted packet for processing {"connection_id":143727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:46:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143727,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:46:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:46:26] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:46:26] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:46:26] local.INFO: IMEI packet received {"connection_id":141322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":141322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":143727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:46:26] local.INFO: GPS data processed {"connection_id":143727,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:46:26] local.INFO: Acknowledgment sent {"connection_id":143727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:46:31] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:46:31] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:46:31] local.INFO: IMEI packet received {"connection_id":141322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":141322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:46:32] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:46:32] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:46:32] local.INFO: Packet analysis {"connection_id":141322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:46:32] local.INFO: Extracted packet for processing {"connection_id":141322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":141322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:46:32] local.INFO: GPS data processed {"connection_id":141322,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:46:32] local.INFO: Acknowledgment sent {"connection_id":141322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:46:32] local.INFO: TCP Data received {"connection_id":142343,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:46:32] local.INFO: Processing buffer {"connection_id":142343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:46:32] local.INFO: Packet analysis {"connection_id":142343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:46:32] local.INFO: Extracted packet for processing {"connection_id":142343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:46:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:46: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-07-25 20: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-07-25 20:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":142343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:46:32] local.INFO: GPS data processed {"connection_id":142343,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:46:32] local.INFO: Acknowledgment sent {"connection_id":142343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:46:54] local.INFO: TCP Data received {"connection_id":141361,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:46:54] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:46:54] local.INFO: IMEI packet received {"connection_id":141361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":141361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:46:54] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:46:54] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:46:54] local.INFO: IMEI packet received {"connection_id":143728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":143728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:46:59] local.INFO: TCP Data received {"connection_id":141361,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:46:59] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:46:59] local.INFO: IMEI packet received {"connection_id":141361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":141361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:47:00] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:47:00] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:47:00] local.INFO: IMEI packet received {"connection_id":143728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":143728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:47:01] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:47:01] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d50f68012d9cd84005b361c0000d007e25..."} 
[2026-07-25 20:47:01] local.INFO: Packet analysis {"connection_id":143728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:47:01] local.INFO: Extracted packet for processing {"connection_id":143728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d5"} 
[2026-07-25 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":37,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957953024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992305000,"timestamp_ms":1784992305000,"timestamp_seconds":1784992305,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d50f68"} 
[2026-07-25 20:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 20:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957953024001,"66":25615,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957953024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:47:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:47:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957953024001,"power":25615,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":143728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:47:01] local.INFO: GPS data processed {"connection_id":143728,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:47:01] local.INFO: Acknowledgment sent {"connection_id":143728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:47:03] local.INFO: TCP Data received {"connection_id":141322,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:47:03] local.INFO: Processing buffer {"connection_id":141322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:47:03] local.INFO: Packet analysis {"connection_id":141322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:47:03] local.INFO: Extracted packet for processing {"connection_id":141322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:47:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:47:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":141322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:47:03] local.INFO: GPS data processed {"connection_id":141322,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:47:03] local.INFO: Acknowledgment sent {"connection_id":141322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:47:05] local.INFO: TCP Data received {"connection_id":141361,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:47:05] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:47:05] local.INFO: Packet analysis {"connection_id":141361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:47:05] local.INFO: Extracted packet for processing {"connection_id":141361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:47:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:47: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-07-25 20:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:47:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":141361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:47:05] local.INFO: GPS data processed {"connection_id":141361,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:47:05] local.INFO: Acknowledgment sent {"connection_id":141361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:47:26] local.INFO: TCP Data received {"connection_id":142344,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:47:26] local.INFO: Processing buffer {"connection_id":142344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:47:26] local.INFO: IMEI packet received {"connection_id":142344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":142344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:47:31] local.INFO: TCP Data received {"connection_id":142344,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:47:31] local.INFO: Processing buffer {"connection_id":142344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:47:31] local.INFO: IMEI packet received {"connection_id":142344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":142344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:47:32] local.INFO: TCP Data received {"connection_id":142344,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:47:32] local.INFO: Processing buffer {"connection_id":142344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:47:32] local.INFO: Packet analysis {"connection_id":142344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:47:32] local.INFO: Extracted packet for processing {"connection_id":142344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:47:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":142344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:47:32] local.INFO: GPS data processed {"connection_id":142344,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:47:32] local.INFO: Acknowledgment sent {"connection_id":142344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:47:32] local.INFO: TCP Data received {"connection_id":143728,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:47:32] local.INFO: Processing buffer {"connection_id":143728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:47:32] local.INFO: Packet analysis {"connection_id":143728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:47:32] local.INFO: Extracted packet for processing {"connection_id":143728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:47:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:47: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-07-25 20:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":143728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:47:32] local.INFO: GPS data processed {"connection_id":143728,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:47:32] local.INFO: Acknowledgment sent {"connection_id":143728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:47:54] local.INFO: TCP Data received {"connection_id":142345,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:47:54] local.INFO: Processing buffer {"connection_id":142345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:47:54] local.INFO: IMEI packet received {"connection_id":142345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":142345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:47:59] local.INFO: TCP Data received {"connection_id":142345,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:47:59] local.INFO: Processing buffer {"connection_id":142345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:47:59] local.INFO: IMEI packet received {"connection_id":142345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":142345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:48:00] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:00] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:00] local.INFO: IMEI packet received {"connection_id":141362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":141362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:48:00] local.INFO: TCP Data received {"connection_id":142345,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:00] local.INFO: Processing buffer {"connection_id":142345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:00] local.INFO: Packet analysis {"connection_id":142345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:48:00] local.INFO: Extracted packet for processing {"connection_id":142345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":142345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:00] local.INFO: GPS data processed {"connection_id":142345,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:00] local.INFO: Acknowledgment sent {"connection_id":142345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:48:03] local.INFO: TCP Data received {"connection_id":142344,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:48:03] local.INFO: Processing buffer {"connection_id":142344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:48:03] local.INFO: Packet analysis {"connection_id":142344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:48:03] local.INFO: Extracted packet for processing {"connection_id":142344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:48:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":142344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:03] local.INFO: GPS data processed {"connection_id":142344,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:03] local.INFO: Acknowledgment sent {"connection_id":142344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:48:05] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:05] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:05] local.INFO: IMEI packet received {"connection_id":141362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":141362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:48:05] local.INFO: TCP Data received {"connection_id":142345,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:05] local.INFO: Processing buffer {"connection_id":142345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:05] local.INFO: Packet analysis {"connection_id":142345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:48:05] local.INFO: Extracted packet for processing {"connection_id":142345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48: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-07-25 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":142345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:05] local.INFO: GPS data processed {"connection_id":142345,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:05] local.INFO: Acknowledgment sent {"connection_id":142345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:48:06] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:48:06] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:48:06] local.INFO: Packet analysis {"connection_id":141362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:48:06] local.INFO: Extracted packet for processing {"connection_id":141362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":141362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:06] local.INFO: GPS data processed {"connection_id":141362,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:06] local.INFO: Acknowledgment sent {"connection_id":141362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:48:10] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:48:10] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:48:10] local.INFO: Packet analysis {"connection_id":141362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:48:10] local.INFO: Extracted packet for processing {"connection_id":141362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:48:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:48:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":141362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:10] local.INFO: GPS data processed {"connection_id":141362,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:10] local.INFO: Acknowledgment sent {"connection_id":141362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:48:26] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:48:26] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:48:26] local.INFO: IMEI packet received {"connection_id":143729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":143729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:48:31] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:48:31] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:48:31] local.INFO: IMEI packet received {"connection_id":143729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":143729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:48:32] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:48:32] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:48:32] local.INFO: Packet analysis {"connection_id":143729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:48:32] local.INFO: Extracted packet for processing {"connection_id":143729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":143729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:32] local.INFO: GPS data processed {"connection_id":143729,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:32] local.INFO: Acknowledgment sent {"connection_id":143729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:48:49] local.INFO: TCP Data received {"connection_id":141323,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:48:49] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:48:49] local.INFO: IMEI packet received {"connection_id":141323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":141323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:48:54] local.INFO: TCP Data received {"connection_id":141323,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:48:54] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:48:54] local.INFO: IMEI packet received {"connection_id":141323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":141323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:48:55] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:55] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:48:55] local.INFO: IMEI packet received {"connection_id":141363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":141363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:48:55] local.INFO: TCP Data received {"connection_id":141323,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:55] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:48:55] local.INFO: Packet analysis {"connection_id":141323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:48:55] local.INFO: Extracted packet for processing {"connection_id":141323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:48: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":141323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:48:55] local.INFO: GPS data processed {"connection_id":141323,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:48:55] local.INFO: Acknowledgment sent {"connection_id":141323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:00] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:49:00] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:49:00] local.INFO: IMEI packet received {"connection_id":141363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":141363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:49:01] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:49:01] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:49:01] local.INFO: Packet analysis {"connection_id":141363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:49:01] local.INFO: Extracted packet for processing {"connection_id":141363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":141363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:01] local.INFO: GPS data processed {"connection_id":141363,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:01] local.INFO: Acknowledgment sent {"connection_id":141363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:03] local.INFO: TCP Data received {"connection_id":143729,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:03] local.INFO: Processing buffer {"connection_id":143729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:03] local.INFO: Packet analysis {"connection_id":143729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:49:03] local.INFO: Extracted packet for processing {"connection_id":143729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":143729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:03] local.INFO: GPS data processed {"connection_id":143729,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:03] local.INFO: Acknowledgment sent {"connection_id":143729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:27] local.INFO: TCP Data received {"connection_id":141323,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:49:27] local.INFO: Processing buffer {"connection_id":141323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:49:27] local.INFO: Packet analysis {"connection_id":141323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:49:27] local.INFO: Extracted packet for processing {"connection_id":141323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:49:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:49: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-07-25 20:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":141323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:27] local.INFO: GPS data processed {"connection_id":141323,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:27] local.INFO: Acknowledgment sent {"connection_id":141323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:32] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:49:32] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:49:32] local.INFO: Packet analysis {"connection_id":141363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:49:32] local.INFO: Extracted packet for processing {"connection_id":141363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:49:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:49: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-07-25 20: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-07-25 20:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":141363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:32] local.INFO: GPS data processed {"connection_id":141363,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:32] local.INFO: Acknowledgment sent {"connection_id":141363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:36] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:49:36] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:49:36] local.INFO: IMEI packet received {"connection_id":141364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":141364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:49:41] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:49:41] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:49:41] local.INFO: IMEI packet received {"connection_id":141364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":141364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:49:42] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:42] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:42] local.INFO: Packet analysis {"connection_id":141364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:49:42] local.INFO: Extracted packet for processing {"connection_id":141364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49: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-07-25 20:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":141364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:42] local.INFO: GPS data processed {"connection_id":141364,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:42] local.INFO: Acknowledgment sent {"connection_id":141364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:46] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:46] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d75188012d196400071fefb00041006e29..."} 
[2026-07-25 20:49:46] local.INFO: Packet analysis {"connection_id":141364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:49:46] local.INFO: Extracted packet for processing {"connection_id":141364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 20:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456957990912001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49: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-07-25 20:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1784992453000,"timestamp_ms":1784992453000,"timestamp_seconds":1784992453,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d75188"} 
[2026-07-25 20:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456957990912001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456957990912001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456957990912001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":141364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:46] local.INFO: GPS data processed {"connection_id":141364,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:46] local.INFO: Acknowledgment sent {"connection_id":141364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:49:49] local.INFO: TCP Data received {"connection_id":142346,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:49:49] local.INFO: Processing buffer {"connection_id":142346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:49:49] local.INFO: IMEI packet received {"connection_id":142346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":142346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:49:54] local.INFO: TCP Data received {"connection_id":142346,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:49:54] local.INFO: Processing buffer {"connection_id":142346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:49:54] local.INFO: IMEI packet received {"connection_id":142346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":142346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:49:55] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:49:55] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:49:55] local.INFO: IMEI packet received {"connection_id":141365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:49:55] local.INFO: TCP Data received {"connection_id":142346,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:49:55] local.INFO: Processing buffer {"connection_id":142346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:49:55] local.INFO: Packet analysis {"connection_id":142346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:49:55] local.INFO: Extracted packet for processing {"connection_id":142346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:49:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":142346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:49:55] local.INFO: GPS data processed {"connection_id":142346,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:49:55] local.INFO: Acknowledgment sent {"connection_id":142346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:50:00] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:50:00] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:50:00] local.INFO: IMEI packet received {"connection_id":141365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":141365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:50:00] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:50:01] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:50:01] local.INFO: Packet analysis {"connection_id":141365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:50:01] local.INFO: Extracted packet for processing {"connection_id":141365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:50:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":141365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:50:01] local.INFO: GPS data processed {"connection_id":141365,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:50:01] local.INFO: Acknowledgment sent {"connection_id":141365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:50:26] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:50:26] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:50:26] local.INFO: IMEI packet received {"connection_id":141324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":141324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:50:27] local.INFO: TCP Data received {"connection_id":142346,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:50:27] local.INFO: Processing buffer {"connection_id":142346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:50:27] local.INFO: Packet analysis {"connection_id":142346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:50:27] local.INFO: Extracted packet for processing {"connection_id":142346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:50:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:50: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-07-25 20:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:50:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":142346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:50:27] local.INFO: GPS data processed {"connection_id":142346,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:50:27] local.INFO: Acknowledgment sent {"connection_id":142346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:50:31] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:50:31] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:50:31] local.INFO: IMEI packet received {"connection_id":141324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":141324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:50:32] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:50:32] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:50:32] local.INFO: Packet analysis {"connection_id":141324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:50:32] local.INFO: Extracted packet for processing {"connection_id":141324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:50:32] local.INFO: GPS data processed {"connection_id":141324,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:50:32] local.INFO: Acknowledgment sent {"connection_id":141324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:50:32] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:50:32] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:50:32] local.INFO: Packet analysis {"connection_id":141365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:50:32] local.INFO: Extracted packet for processing {"connection_id":141365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:50:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:50: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-07-25 20:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:50:32] local.INFO: GPS data processed {"connection_id":141365,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:50:32] local.INFO: Acknowledgment sent {"connection_id":141365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:50:49] local.INFO: TCP Data received {"connection_id":141325,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:50:49] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:50:49] local.INFO: IMEI packet received {"connection_id":141325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":141325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:50:54] local.INFO: TCP Data received {"connection_id":141325,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:50:54] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:50:54] local.INFO: IMEI packet received {"connection_id":141325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":141325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:50:54] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:50:54] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:50:54] local.INFO: IMEI packet received {"connection_id":143730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":143730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:51:00] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:51:00] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:51:00] local.INFO: IMEI packet received {"connection_id":143730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":143730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:51:00] local.INFO: TCP Data received {"connection_id":141325,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:51:00] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d8b118012d77a94005f27b900013016323..."} 
[2026-07-25 20:51:00] local.INFO: Packet analysis {"connection_id":141325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:51:00] local.INFO: Extracted packet for processing {"connection_id":141325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d8"} 
[2026-07-25 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958018048001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992543000,"timestamp_ms":1784992543000,"timestamp_seconds":1784992543,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d8b118"} 
[2026-07-25 20:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 20:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958018048001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958018048001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958018048001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:51:00] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:51:00] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:51:00] local.INFO: Packet analysis {"connection_id":143730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:51:00] local.INFO: Extracted packet for processing {"connection_id":143730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":141325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:51:00] local.INFO: GPS data processed {"connection_id":141325,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:51:00] local.INFO: Acknowledgment sent {"connection_id":141325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":143730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:51:00] local.INFO: GPS data processed {"connection_id":143730,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:51:00] local.INFO: Acknowledgment sent {"connection_id":143730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:51:03] local.INFO: TCP Data received {"connection_id":141324,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:51:03] local.INFO: Processing buffer {"connection_id":141324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:51:03] local.INFO: Packet analysis {"connection_id":141324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:51:03] local.INFO: Extracted packet for processing {"connection_id":141324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:51:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:51:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:51:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":141324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:51:03] local.INFO: GPS data processed {"connection_id":141324,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:51:03] local.INFO: Acknowledgment sent {"connection_id":141324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:51:26] local.INFO: TCP Data received {"connection_id":142347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:51:26] local.INFO: Processing buffer {"connection_id":142347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:51:26] local.INFO: IMEI packet received {"connection_id":142347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":142347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:51:31] local.INFO: TCP Data received {"connection_id":142347,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:51:31] local.INFO: Processing buffer {"connection_id":142347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:51:31] local.INFO: IMEI packet received {"connection_id":142347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":142347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:51:32] local.INFO: TCP Data received {"connection_id":142347,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:51:32] local.INFO: Processing buffer {"connection_id":142347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:51:32] local.INFO: Packet analysis {"connection_id":142347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:51:32] local.INFO: Extracted packet for processing {"connection_id":142347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:51:32] local.INFO: TCP Data received {"connection_id":143730,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:51:32] local.INFO: Processing buffer {"connection_id":143730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:51:32] local.INFO: Packet analysis {"connection_id":143730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:51:32] local.INFO: Extracted packet for processing {"connection_id":143730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:51: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-07-25 20: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-07-25 20:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":142347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:51:32] local.INFO: GPS data processed {"connection_id":142347,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:51:32] local.INFO: Acknowledgment sent {"connection_id":142347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":143730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:51:32] local.INFO: GPS data processed {"connection_id":143730,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:51:32] local.INFO: Acknowledgment sent {"connection_id":143730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:51:32] local.INFO: TCP Data received {"connection_id":141325,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:51:32] local.INFO: Processing buffer {"connection_id":141325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:51:32] local.INFO: Packet analysis {"connection_id":141325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:51:32] local.INFO: Extracted packet for processing {"connection_id":141325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:51: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-07-25 20: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-07-25 20:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141325,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":141325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:51:32] local.INFO: GPS data processed {"connection_id":141325,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:51:32] local.INFO: Acknowledgment sent {"connection_id":141325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:51:54] local.INFO: TCP Data received {"connection_id":141366,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:51:54] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:51:54] local.INFO: IMEI packet received {"connection_id":141366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":141366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:51:54] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:51:54] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:51:54] local.INFO: IMEI packet received {"connection_id":141326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":141326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:51:59] local.INFO: TCP Data received {"connection_id":141366,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:51:59] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:51:59] local.INFO: IMEI packet received {"connection_id":141366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":141366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:52:00] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:52:00] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:52:00] local.INFO: IMEI packet received {"connection_id":141326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":141326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:52:00] local.INFO: TCP Data received {"connection_id":141366,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:00] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:00] local.INFO: Packet analysis {"connection_id":141366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:52:00] local.INFO: Extracted packet for processing {"connection_id":141366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":141366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:00] local.INFO: GPS data processed {"connection_id":141366,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:00] local.INFO: Acknowledgment sent {"connection_id":141366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:52:00] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:52:00] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d9a348012d9cd84005b361c0000d007e27..."} 
[2026-07-25 20:52:00] local.INFO: Packet analysis {"connection_id":141326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:52:00] local.INFO: Extracted packet for processing {"connection_id":141326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d9"} 
[2026-07-25 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":39,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958030080001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992605000,"timestamp_ms":1784992605000,"timestamp_seconds":1784992605,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d9a348"} 
[2026-07-25 20:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 20:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958030080001,"66":25625,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958030080001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958030080001,"power":25625,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":141326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:00] local.INFO: GPS data processed {"connection_id":141326,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:00] local.INFO: Acknowledgment sent {"connection_id":141326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:52:03] local.INFO: TCP Data received {"connection_id":142347,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:52:03] local.INFO: Processing buffer {"connection_id":142347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:52:03] local.INFO: Packet analysis {"connection_id":142347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:52:03] local.INFO: Extracted packet for processing {"connection_id":142347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:52:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":142347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:03] local.INFO: GPS data processed {"connection_id":142347,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:03] local.INFO: Acknowledgment sent {"connection_id":142347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:52:26] local.INFO: TCP Data received {"connection_id":142348,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:52:26] local.INFO: Processing buffer {"connection_id":142348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:52:26] local.INFO: IMEI packet received {"connection_id":142348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":142348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:52:31] local.INFO: TCP Data received {"connection_id":142348,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:52:31] local.INFO: Processing buffer {"connection_id":142348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:52:31] local.INFO: IMEI packet received {"connection_id":142348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":142348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:52:32] local.INFO: TCP Data received {"connection_id":141366,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:32] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:32] local.INFO: Packet analysis {"connection_id":141366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:52:32] local.INFO: Extracted packet for processing {"connection_id":141366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52: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-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:52: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-07-25 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:52:32] local.INFO: TCP Data received {"connection_id":141326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:52:32] local.INFO: Processing buffer {"connection_id":141326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:52:32] local.INFO: Packet analysis {"connection_id":141326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:52:32] local.INFO: Extracted packet for processing {"connection_id":141326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:52: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-07-25 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":141366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:32] local.INFO: GPS data processed {"connection_id":141366,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:32] local.INFO: Acknowledgment sent {"connection_id":141366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":141326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:32] local.INFO: GPS data processed {"connection_id":141326,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:32] local.INFO: Acknowledgment sent {"connection_id":141326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:52:32] local.INFO: TCP Data received {"connection_id":142348,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:52:32] local.INFO: Processing buffer {"connection_id":142348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:52:32] local.INFO: Packet analysis {"connection_id":142348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:52:32] local.INFO: Extracted packet for processing {"connection_id":142348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":142348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:32] local.INFO: GPS data processed {"connection_id":142348,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:32] local.INFO: Acknowledgment sent {"connection_id":142348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:52:49] local.INFO: TCP Data received {"connection_id":142349,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:52:49] local.INFO: Processing buffer {"connection_id":142349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:52:49] local.INFO: IMEI packet received {"connection_id":142349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":142349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:52:54] local.INFO: TCP Data received {"connection_id":142349,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:52:54] local.INFO: Processing buffer {"connection_id":142349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:52:54] local.INFO: IMEI packet received {"connection_id":142349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":142349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:52:55] local.INFO: TCP Data received {"connection_id":142349,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:55] local.INFO: Processing buffer {"connection_id":142349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:52:55] local.INFO: Packet analysis {"connection_id":142349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:52:55] local.INFO: Extracted packet for processing {"connection_id":142349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:52: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-07-25 20:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:52:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":142349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:52:55] local.INFO: GPS data processed {"connection_id":142349,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:52:55] local.INFO: Acknowledgment sent {"connection_id":142349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:53:00] local.INFO: TCP Data received {"connection_id":142350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:00] local.INFO: Processing buffer {"connection_id":142350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:00] local.INFO: IMEI packet received {"connection_id":142350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":142350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:53:03] local.INFO: TCP Data received {"connection_id":142348,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:53:03] local.INFO: Processing buffer {"connection_id":142348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:53:03] local.INFO: Packet analysis {"connection_id":142348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:53:03] local.INFO: Extracted packet for processing {"connection_id":142348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:53:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:53:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":142348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:53:03] local.INFO: GPS data processed {"connection_id":142348,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:53:03] local.INFO: Acknowledgment sent {"connection_id":142348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:53:05] local.INFO: TCP Data received {"connection_id":142350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:05] local.INFO: Processing buffer {"connection_id":142350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:05] local.INFO: IMEI packet received {"connection_id":142350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":142350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:53:06] local.INFO: TCP Data received {"connection_id":142350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:53:06] local.INFO: Processing buffer {"connection_id":142350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:53:06] local.INFO: Packet analysis {"connection_id":142350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:53:06] local.INFO: Extracted packet for processing {"connection_id":142350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:53:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":142350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:53:06] local.INFO: GPS data processed {"connection_id":142350,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:53:06] local.INFO: Acknowledgment sent {"connection_id":142350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:53:27] local.INFO: TCP Data received {"connection_id":142349,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:53:27] local.INFO: Processing buffer {"connection_id":142349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:53:27] local.INFO: Packet analysis {"connection_id":142349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:53:27] local.INFO: Extracted packet for processing {"connection_id":142349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:53:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:53: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-07-25 20:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:53:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":142349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:53:27] local.INFO: GPS data processed {"connection_id":142349,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:53:27] local.INFO: Acknowledgment sent {"connection_id":142349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:53:31] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:53:31] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:53:31] local.INFO: IMEI packet received {"connection_id":141327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":141327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:53:36] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:53:36] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:53:36] local.INFO: IMEI packet received {"connection_id":141327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":141327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:53:37] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:53:37] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:53:37] local.INFO: Packet analysis {"connection_id":141327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:53:37] local.INFO: Extracted packet for processing {"connection_id":141327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53: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-07-25 20:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":141327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:53:37] local.INFO: GPS data processed {"connection_id":141327,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:53:37] local.INFO: Acknowledgment sent {"connection_id":141327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:53:37] local.INFO: TCP Data received {"connection_id":142350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:53:37] local.INFO: Processing buffer {"connection_id":142350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:53:37] local.INFO: Packet analysis {"connection_id":142350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:53:37] local.INFO: Extracted packet for processing {"connection_id":142350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":142350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:53:37] local.INFO: GPS data processed {"connection_id":142350,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:53:37] local.INFO: Acknowledgment sent {"connection_id":142350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:53:49] local.INFO: TCP Data received {"connection_id":141367,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:53:49] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:53:49] local.INFO: IMEI packet received {"connection_id":141367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":141367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:53:54] local.INFO: TCP Data received {"connection_id":141367,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:53:54] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:53:54] local.INFO: IMEI packet received {"connection_id":141367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":141367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:53:55] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:55] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:53:55] local.INFO: IMEI packet received {"connection_id":143731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":143731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:53:55] local.INFO: TCP Data received {"connection_id":141367,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:53:55] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:53:55] local.INFO: Packet analysis {"connection_id":141367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:53:55] local.INFO: Extracted packet for processing {"connection_id":141367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:53: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-07-25 20:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:53:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":141367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:53:55] local.INFO: GPS data processed {"connection_id":141367,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:53:55] local.INFO: Acknowledgment sent {"connection_id":141367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:54:00] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:54:00] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:54:00] local.INFO: IMEI packet received {"connection_id":143731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":143731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:54:01] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:54:01] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:54:01] local.INFO: Packet analysis {"connection_id":143731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:54:01] local.INFO: Extracted packet for processing {"connection_id":143731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:54:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:54:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:54:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":143731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:54:01] local.INFO: GPS data processed {"connection_id":143731,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:54:01] local.INFO: Acknowledgment sent {"connection_id":143731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:54:08] local.INFO: TCP Data received {"connection_id":141327,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:54:08] local.INFO: Processing buffer {"connection_id":141327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:54:08] local.INFO: Packet analysis {"connection_id":141327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:54:08] local.INFO: Extracted packet for processing {"connection_id":141327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54: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-07-25 20:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:54:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":141327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:54:08] local.INFO: GPS data processed {"connection_id":141327,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:54:08] local.INFO: Acknowledgment sent {"connection_id":141327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:54:26] local.INFO: TCP Data received {"connection_id":142351,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:54:26] local.INFO: Processing buffer {"connection_id":142351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:54:26] local.INFO: IMEI packet received {"connection_id":142351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":142351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:54:27] local.INFO: TCP Data received {"connection_id":141367,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:54:27] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:54:27] local.INFO: Packet analysis {"connection_id":141367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:54:27] local.INFO: Extracted packet for processing {"connection_id":141367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:54:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20: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-07-25 20:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:54: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-07-25 20:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:54:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":141367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:54:27] local.INFO: GPS data processed {"connection_id":141367,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:54:27] local.INFO: Acknowledgment sent {"connection_id":141367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:54:31] local.INFO: TCP Data received {"connection_id":142351,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:54:31] local.INFO: Processing buffer {"connection_id":142351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:54:31] local.INFO: IMEI packet received {"connection_id":142351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":142351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:54:32] local.INFO: TCP Data received {"connection_id":142351,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:54:32] local.INFO: Processing buffer {"connection_id":142351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dbe950012d196400071fefb00041006e28..."} 
[2026-07-25 20:54:32] local.INFO: Packet analysis {"connection_id":142351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:54:32] local.INFO: Extracted packet for processing {"connection_id":142351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99db"} 
[2026-07-25 20:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958067968001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992754000,"timestamp_ms":1784992754000,"timestamp_seconds":1784992754,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dbe950"} 
[2026-07-25 20:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958067968001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958067968001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958067968001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":142351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:54:32] local.INFO: GPS data processed {"connection_id":142351,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:54:32] local.INFO: Acknowledgment sent {"connection_id":142351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:54:32] local.INFO: TCP Data received {"connection_id":143731,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:54:32] local.INFO: Processing buffer {"connection_id":143731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:54:32] local.INFO: Packet analysis {"connection_id":143731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:54:32] local.INFO: Extracted packet for processing {"connection_id":143731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:54:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:54: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-07-25 20:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":143731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:54:32] local.INFO: GPS data processed {"connection_id":143731,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:54:32] local.INFO: Acknowledgment sent {"connection_id":143731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:54:49] local.INFO: TCP Data received {"connection_id":142352,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:54:49] local.INFO: Processing buffer {"connection_id":142352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:54:49] local.INFO: IMEI packet received {"connection_id":142352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":142352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:54:54] local.INFO: TCP Data received {"connection_id":142352,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:54:54] local.INFO: Processing buffer {"connection_id":142352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:54:54] local.INFO: IMEI packet received {"connection_id":142352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":142352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:54:55] local.INFO: TCP Data received {"connection_id":142352,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:54:55] local.INFO: Processing buffer {"connection_id":142352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:54:55] local.INFO: Packet analysis {"connection_id":142352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:54:55] local.INFO: Extracted packet for processing {"connection_id":142352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:54:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:54: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-07-25 20:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:54:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:54:55] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:54:55] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:54:55] local.INFO: IMEI packet received {"connection_id":141368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":141368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":142352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:54:55] local.INFO: GPS data processed {"connection_id":142352,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:54:55] local.INFO: Acknowledgment sent {"connection_id":142352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:55:00] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:55:00] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:55:00] local.INFO: IMEI packet received {"connection_id":141368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":141368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:55:00] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:55:00] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:55:00] local.INFO: Packet analysis {"connection_id":141368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:55:00] local.INFO: Extracted packet for processing {"connection_id":141368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:55:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":141368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:55:00] local.INFO: GPS data processed {"connection_id":141368,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:55:00] local.INFO: Acknowledgment sent {"connection_id":141368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:55:03] local.INFO: TCP Data received {"connection_id":142351,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:55:03] local.INFO: Processing buffer {"connection_id":142351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:55:03] local.INFO: Packet analysis {"connection_id":142351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:55:03] local.INFO: Extracted packet for processing {"connection_id":142351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:55:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:55:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":142351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:55:03] local.INFO: GPS data processed {"connection_id":142351,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:55:03] local.INFO: Acknowledgment sent {"connection_id":142351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:55:26] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:55:26] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:55:26] local.INFO: IMEI packet received {"connection_id":141328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":141328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:55:26] local.INFO: TCP Data received {"connection_id":142352,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:55:26] local.INFO: Processing buffer {"connection_id":142352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:55:26] local.INFO: Packet analysis {"connection_id":142352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:55:26] local.INFO: Extracted packet for processing {"connection_id":142352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:55:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:55: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-07-25 20:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:55:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":142352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:55:27] local.INFO: GPS data processed {"connection_id":142352,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:55:27] local.INFO: Acknowledgment sent {"connection_id":142352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:55:31] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:55:31] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:55:31] local.INFO: IMEI packet received {"connection_id":141328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":141328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:55:32] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:55:32] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:55:32] local.INFO: Packet analysis {"connection_id":141368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:55:32] local.INFO: Extracted packet for processing {"connection_id":141368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:55: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-07-25 20:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":141368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:55:32] local.INFO: GPS data processed {"connection_id":141368,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:55:32] local.INFO: Acknowledgment sent {"connection_id":141368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:55:32] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:55:32] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:55:32] local.INFO: Packet analysis {"connection_id":141328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:55:32] local.INFO: Extracted packet for processing {"connection_id":141328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":141328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:55:32] local.INFO: GPS data processed {"connection_id":141328,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:55:32] local.INFO: Acknowledgment sent {"connection_id":141328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:55:54] local.INFO: TCP Data received {"connection_id":141329,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:55:54] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:55:54] local.INFO: IMEI packet received {"connection_id":141329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":141329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:55:54] local.INFO: TCP Data received {"connection_id":142353,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:55:54] local.INFO: Processing buffer {"connection_id":142353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:55:54] local.INFO: IMEI packet received {"connection_id":142353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":142353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:55:59] local.INFO: TCP Data received {"connection_id":141329,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:55:59] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:55:59] local.INFO: IMEI packet received {"connection_id":141329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":141329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:56:00] local.INFO: TCP Data received {"connection_id":142353,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:56:00] local.INFO: Processing buffer {"connection_id":142353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:56:00] local.INFO: IMEI packet received {"connection_id":142353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":142353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:56:00] local.INFO: TCP Data received {"connection_id":141329,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:56:00] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:56:00] local.INFO: Packet analysis {"connection_id":141329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:56:00] local.INFO: Extracted packet for processing {"connection_id":141329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:56: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-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:56:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":141329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:56:00] local.INFO: GPS data processed {"connection_id":141329,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:56:00] local.INFO: Acknowledgment sent {"connection_id":141329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:56:01] local.INFO: TCP Data received {"connection_id":142353,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:56:01] local.INFO: Processing buffer {"connection_id":142353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:56:01] local.INFO: Packet analysis {"connection_id":142353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:56:01] local.INFO: Extracted packet for processing {"connection_id":142353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":142353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:56:01] local.INFO: GPS data processed {"connection_id":142353,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:56:01] local.INFO: Acknowledgment sent {"connection_id":142353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:56:03] local.INFO: TCP Data received {"connection_id":141328,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:56:03] local.INFO: Processing buffer {"connection_id":141328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:56:03] local.INFO: Packet analysis {"connection_id":141328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:56:03] local.INFO: Extracted packet for processing {"connection_id":141328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:56:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:56:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":141328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:56:03] local.INFO: GPS data processed {"connection_id":141328,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:56:03] local.INFO: Acknowledgment sent {"connection_id":141328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:56:05] local.INFO: TCP Data received {"connection_id":141329,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:56:05] local.INFO: Processing buffer {"connection_id":141329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99dd4110012d77a94005f27b900013016323..."} 
[2026-07-25 20:56:05] local.INFO: Packet analysis {"connection_id":141329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:56:05] local.INFO: Extracted packet for processing {"connection_id":141329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99dd"} 
[2026-07-25 20:56:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958091008001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784992842000,"timestamp_ms":1784992842000,"timestamp_seconds":1784992842,"priority":1,"record_length":96,"hex_timestamp":"0000019f99dd4110"} 
[2026-07-25 20:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:56: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-07-25 20:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958091008001,"66":25854,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958091008001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:56:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958091008001,"power":25854,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":141329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:56:05] local.INFO: GPS data processed {"connection_id":141329,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:56:05] local.INFO: Acknowledgment sent {"connection_id":141329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:56:26] local.INFO: TCP Data received {"connection_id":142354,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:56:26] local.INFO: Processing buffer {"connection_id":142354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:56:26] local.INFO: IMEI packet received {"connection_id":142354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":142354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:56:31] local.INFO: TCP Data received {"connection_id":142354,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:56:31] local.INFO: Processing buffer {"connection_id":142354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:56:31] local.INFO: IMEI packet received {"connection_id":142354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":142354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:56:32] local.INFO: TCP Data received {"connection_id":142354,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:56:32] local.INFO: Processing buffer {"connection_id":142354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:56:32] local.INFO: Packet analysis {"connection_id":142354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:56:32] local.INFO: Extracted packet for processing {"connection_id":142354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":142354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:56:32] local.INFO: GPS data processed {"connection_id":142354,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:56:32] local.INFO: Acknowledgment sent {"connection_id":142354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:56:32] local.INFO: TCP Data received {"connection_id":142353,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:56:32] local.INFO: Processing buffer {"connection_id":142353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:56:32] local.INFO: Packet analysis {"connection_id":142353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:56:32] local.INFO: Extracted packet for processing {"connection_id":142353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20: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-07-25 20:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":142353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:56:32] local.INFO: GPS data processed {"connection_id":142353,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:56:32] local.INFO: Acknowledgment sent {"connection_id":142353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:56:54] local.INFO: TCP Data received {"connection_id":141330,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:56:54] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:56:54] local.INFO: IMEI packet received {"connection_id":141330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":141330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:56:54] local.INFO: TCP Data received {"connection_id":142355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:56:54] local.INFO: Processing buffer {"connection_id":142355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:56:54] local.INFO: IMEI packet received {"connection_id":142355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":142355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:56:59] local.INFO: TCP Data received {"connection_id":141330,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:56:59] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:56:59] local.INFO: IMEI packet received {"connection_id":141330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":141330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:57:00] local.INFO: TCP Data received {"connection_id":142355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:57:00] local.INFO: Processing buffer {"connection_id":142355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:57:00] local.INFO: IMEI packet received {"connection_id":142355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":142355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:57:00] local.INFO: TCP Data received {"connection_id":141330,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:00] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:00] local.INFO: Packet analysis {"connection_id":141330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:57:00] local.INFO: Extracted packet for processing {"connection_id":141330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:57:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":141330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:00] local.INFO: GPS data processed {"connection_id":141330,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:00] local.INFO: Acknowledgment sent {"connection_id":141330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:57:01] local.INFO: TCP Data received {"connection_id":142355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:57:01] local.INFO: Processing buffer {"connection_id":142355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99de3b10012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:57:01] local.INFO: Packet analysis {"connection_id":142355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:57:01] local.INFO: Extracted packet for processing {"connection_id":142355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99de"} 
[2026-07-25 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958106880001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784992906000,"timestamp_ms":1784992906000,"timestamp_seconds":1784992906,"priority":1,"record_length":96,"hex_timestamp":"0000019f99de3b10"} 
[2026-07-25 20:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 20:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958106880001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958106880001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958106880001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":142355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:01] local.INFO: GPS data processed {"connection_id":142355,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:01] local.INFO: Acknowledgment sent {"connection_id":142355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:57:03] local.INFO: TCP Data received {"connection_id":142354,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:57:03] local.INFO: Processing buffer {"connection_id":142354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:57:03] local.INFO: Packet analysis {"connection_id":142354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:57:03] local.INFO: Extracted packet for processing {"connection_id":142354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":142354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:03] local.INFO: GPS data processed {"connection_id":142354,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:03] local.INFO: Acknowledgment sent {"connection_id":142354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:57:26] local.INFO: TCP Data received {"connection_id":143732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:57:26] local.INFO: Processing buffer {"connection_id":143732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:57:26] local.INFO: IMEI packet received {"connection_id":143732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":143732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:57:31] local.INFO: TCP Data received {"connection_id":143732,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:57:31] local.INFO: Processing buffer {"connection_id":143732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:57:31] local.INFO: IMEI packet received {"connection_id":143732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":143732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:57:32] local.INFO: TCP Data received {"connection_id":142355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:57:32] local.INFO: Processing buffer {"connection_id":142355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:57:32] local.INFO: Packet analysis {"connection_id":142355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:57:32] local.INFO: Extracted packet for processing {"connection_id":142355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:57:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 20:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:57: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-07-25 20:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":142355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:32] local.INFO: GPS data processed {"connection_id":142355,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:32] local.INFO: Acknowledgment sent {"connection_id":142355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:57:32] local.INFO: TCP Data received {"connection_id":143732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:57:32] local.INFO: Processing buffer {"connection_id":143732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:57:32] local.INFO: Packet analysis {"connection_id":143732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:57:32] local.INFO: Extracted packet for processing {"connection_id":143732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":143732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:32] local.INFO: GPS data processed {"connection_id":143732,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:32] local.INFO: Acknowledgment sent {"connection_id":143732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:57:34] local.INFO: TCP Data received {"connection_id":141330,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:34] local.INFO: Processing buffer {"connection_id":141330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:34] local.INFO: Packet analysis {"connection_id":141330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:57:34] local.INFO: Extracted packet for processing {"connection_id":141330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":141330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:34] local.INFO: GPS data processed {"connection_id":141330,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:34] local.INFO: Acknowledgment sent {"connection_id":141330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:57:49] local.INFO: TCP Data received {"connection_id":141369,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:57:49] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:57:49] local.INFO: IMEI packet received {"connection_id":141369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":141369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:57:54] local.INFO: TCP Data received {"connection_id":141369,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:57:54] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:57:54] local.INFO: IMEI packet received {"connection_id":141369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":141369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:57:55] local.INFO: TCP Data received {"connection_id":141369,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:55] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:57:55] local.INFO: Packet analysis {"connection_id":141369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:57:55] local.INFO: Extracted packet for processing {"connection_id":141369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:57: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-07-25 20:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":141369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:57:55] local.INFO: GPS data processed {"connection_id":141369,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:57:55] local.INFO: Acknowledgment sent {"connection_id":141369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:58:00] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:00] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:00] local.INFO: IMEI packet received {"connection_id":143733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":143733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:58:03] local.INFO: TCP Data received {"connection_id":143732,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:58:03] local.INFO: Processing buffer {"connection_id":143732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:58:03] local.INFO: Packet analysis {"connection_id":143732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:58:03] local.INFO: Extracted packet for processing {"connection_id":143732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:58:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":143732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:58:03] local.INFO: GPS data processed {"connection_id":143732,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:58:03] local.INFO: Acknowledgment sent {"connection_id":143732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:58:05] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:05] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:05] local.INFO: IMEI packet received {"connection_id":143733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":143733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:58:06] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:58:06] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:58:06] local.INFO: Packet analysis {"connection_id":143733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:58:06] local.INFO: Extracted packet for processing {"connection_id":143733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 20:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":143733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:58:06] local.INFO: GPS data processed {"connection_id":143733,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:58:06] local.INFO: Acknowledgment sent {"connection_id":143733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:58:26] local.INFO: TCP Data received {"connection_id":142356,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:58:26] local.INFO: Processing buffer {"connection_id":142356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:58:26] local.INFO: IMEI packet received {"connection_id":142356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":142356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:58:30] local.INFO: TCP Data received {"connection_id":141369,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:58:30] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:58:30] local.INFO: Packet analysis {"connection_id":141369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:58:30] local.INFO: Extracted packet for processing {"connection_id":141369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:58:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:58: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":141369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:58:30] local.INFO: GPS data processed {"connection_id":141369,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:58:30] local.INFO: Acknowledgment sent {"connection_id":141369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:58:31] local.INFO: TCP Data received {"connection_id":142356,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:58:31] local.INFO: Processing buffer {"connection_id":142356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:58:31] local.INFO: IMEI packet received {"connection_id":142356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":142356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:58:32] local.INFO: TCP Data received {"connection_id":142356,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:58:32] local.INFO: Processing buffer {"connection_id":142356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:58:32] local.INFO: Packet analysis {"connection_id":142356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:58:32] local.INFO: Extracted packet for processing {"connection_id":142356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:58:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":142356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:58:32] local.INFO: GPS data processed {"connection_id":142356,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:58:32] local.INFO: Acknowledgment sent {"connection_id":142356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:58:37] local.INFO: TCP Data received {"connection_id":143733,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:58:37] local.INFO: Processing buffer {"connection_id":143733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:58:37] local.INFO: Packet analysis {"connection_id":143733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:58:37] local.INFO: Extracted packet for processing {"connection_id":143733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:58:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:58:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":143733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:58:37] local.INFO: GPS data processed {"connection_id":143733,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:58:37] local.INFO: Acknowledgment sent {"connection_id":143733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:58:54] local.INFO: TCP Data received {"connection_id":141370,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:58:54] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:58:54] local.INFO: IMEI packet received {"connection_id":141370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":141370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:58:55] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:55] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:58:55] local.INFO: IMEI packet received {"connection_id":141331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":141331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:58:59] local.INFO: TCP Data received {"connection_id":141370,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:58:59] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:58:59] local.INFO: IMEI packet received {"connection_id":141370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":141370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:59:00] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:59:00] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:59:00] local.INFO: IMEI packet received {"connection_id":141331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 20:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":141331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:59:00] local.INFO: TCP Data received {"connection_id":141370,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:00] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:00] local.INFO: Packet analysis {"connection_id":141370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:59:00] local.INFO: Extracted packet for processing {"connection_id":141370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:59:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59: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-07-25 20: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20: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-07-25 20:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":141370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:00] local.INFO: GPS data processed {"connection_id":141370,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:00] local.INFO: Acknowledgment sent {"connection_id":141370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:01] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:59:01] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:59:01] local.INFO: Packet analysis {"connection_id":141331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:59:01] local.INFO: Extracted packet for processing {"connection_id":141331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 20:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":141331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:01] local.INFO: GPS data processed {"connection_id":141331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:01] local.INFO: Acknowledgment sent {"connection_id":141331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:03] local.INFO: TCP Data received {"connection_id":142356,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:03] local.INFO: Processing buffer {"connection_id":142356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:03] local.INFO: Packet analysis {"connection_id":142356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:59:03] local.INFO: Extracted packet for processing {"connection_id":142356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:59:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:59:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":142356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:03] local.INFO: GPS data processed {"connection_id":142356,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:03] local.INFO: Acknowledgment sent {"connection_id":142356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:05] local.INFO: TCP Data received {"connection_id":141370,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:05] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:05] local.INFO: Packet analysis {"connection_id":141370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:59:05] local.INFO: Extracted packet for processing {"connection_id":141370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:59:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59: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-07-25 20:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":141370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:05] local.INFO: GPS data processed {"connection_id":141370,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:05] local.INFO: Acknowledgment sent {"connection_id":141370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:31] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:59:31] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:59:31] local.INFO: IMEI packet received {"connection_id":141371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 20:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":141371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:59:32] local.INFO: TCP Data received {"connection_id":141331,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:59:32] local.INFO: Processing buffer {"connection_id":141331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 20:59:32] local.INFO: Packet analysis {"connection_id":141331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:59:32] local.INFO: Extracted packet for processing {"connection_id":141331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 20:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 20:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 20:59: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-07-25 20: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-07-25 20:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 20:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 20:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 20:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 20:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 20:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 20:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 20:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":141331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:32] local.INFO: GPS data processed {"connection_id":141331,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:32] local.INFO: Acknowledgment sent {"connection_id":141331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:36] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:59:36] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 20:59:36] local.INFO: IMEI packet received {"connection_id":141371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 20:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":141371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:59:37] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:37] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:37] local.INFO: Packet analysis {"connection_id":141371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:59:37] local.INFO: Extracted packet for processing {"connection_id":141371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59: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-07-25 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":141371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:37] local.INFO: GPS data processed {"connection_id":141371,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:37] local.INFO: Acknowledgment sent {"connection_id":141371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:41] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:41] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e08118012d196400071fefb00041006e27..."} 
[2026-07-25 20:59:41] local.INFO: Packet analysis {"connection_id":141371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:59:41] local.INFO: Extracted packet for processing {"connection_id":141371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e0"} 
[2026-07-25 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 20:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958145024001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784993055000,"timestamp_ms":1784993055000,"timestamp_seconds":1784993055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e08118"} 
[2026-07-25 20:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 20:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 20:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 20:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 20:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 20:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 20:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958145024001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 20:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 20:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 20:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958145024001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 20:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 20:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958145024001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 20:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":141371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:41] local.INFO: GPS data processed {"connection_id":141371,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:41] local.INFO: Acknowledgment sent {"connection_id":141371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:49] local.INFO: TCP Data received {"connection_id":143734,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:59:49] local.INFO: Processing buffer {"connection_id":143734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:59:49] local.INFO: IMEI packet received {"connection_id":143734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 20:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":143734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 20:59:54] local.INFO: TCP Data received {"connection_id":143734,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:59:54] local.INFO: Processing buffer {"connection_id":143734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 20:59:54] local.INFO: IMEI packet received {"connection_id":143734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 20:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":143734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 20:59:55] local.INFO: TCP Data received {"connection_id":143734,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:55] local.INFO: Processing buffer {"connection_id":143734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 20:59:55] local.INFO: Packet analysis {"connection_id":143734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:59:55] local.INFO: Extracted packet for processing {"connection_id":143734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 20: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-07-25 20:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 20:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 20:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 20:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 20: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":254,"data_length":795,"current_offset":136} 
[2026-07-25 20:59: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-07-25 20: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-07-25 20:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 20:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 20:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 20:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 20:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 20:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 20:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 20:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 20:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 20:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 20:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 20:59:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 20:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 20:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 20:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 20:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":143734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 20:59:55] local.INFO: GPS data processed {"connection_id":143734,"processed":1,"errors":0,"total":1} 
[2026-07-25 20:59:55] local.INFO: Acknowledgment sent {"connection_id":143734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 20:59:55] local.INFO: TCP Data received {"connection_id":142357,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:59:55] local.INFO: Processing buffer {"connection_id":142357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 20:59:55] local.INFO: IMEI packet received {"connection_id":142357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":142357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:00:00] local.INFO: TCP Data received {"connection_id":142357,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:00:00] local.INFO: Processing buffer {"connection_id":142357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:00:00] local.INFO: IMEI packet received {"connection_id":142357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":142357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:00:01] local.INFO: TCP Data received {"connection_id":142357,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:00:01] local.INFO: Processing buffer {"connection_id":142357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:00:01] local.INFO: Packet analysis {"connection_id":142357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:00:01] local.INFO: Extracted packet for processing {"connection_id":142357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 21:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":142357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:00:01] local.INFO: GPS data processed {"connection_id":142357,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:00:01] local.INFO: Acknowledgment sent {"connection_id":142357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:00:26] local.INFO: TCP Data received {"connection_id":142358,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:00:26] local.INFO: Processing buffer {"connection_id":142358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:00:26] local.INFO: IMEI packet received {"connection_id":142358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":142358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:00:26] local.INFO: TCP Data received {"connection_id":143734,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 21:00:26] local.INFO: Processing buffer {"connection_id":143734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 21:00:26] local.INFO: Packet analysis {"connection_id":143734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 21:00:26] local.INFO: Extracted packet for processing {"connection_id":143734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 21:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 21:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:00: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-07-25 21: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 21:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:00:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":143734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:00:26] local.INFO: GPS data processed {"connection_id":143734,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:00:26] local.INFO: Acknowledgment sent {"connection_id":143734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:00:31] local.INFO: TCP Data received {"connection_id":142358,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:00:31] local.INFO: Processing buffer {"connection_id":142358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:00:31] local.INFO: IMEI packet received {"connection_id":142358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":142358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:00:32] local.INFO: TCP Data received {"connection_id":142357,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:00:32] local.INFO: Processing buffer {"connection_id":142357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:00:32] local.INFO: Packet analysis {"connection_id":142357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:00:32] local.INFO: Extracted packet for processing {"connection_id":142357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:00:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 21:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:00: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-07-25 21:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":142357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:00:32] local.INFO: GPS data processed {"connection_id":142357,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:00:32] local.INFO: Acknowledgment sent {"connection_id":142357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:00:32] local.INFO: TCP Data received {"connection_id":142358,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:00:32] local.INFO: Processing buffer {"connection_id":142358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:00:32] local.INFO: Packet analysis {"connection_id":142358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:00:32] local.INFO: Extracted packet for processing {"connection_id":142358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":142358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:00:32] local.INFO: GPS data processed {"connection_id":142358,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:00:32] local.INFO: Acknowledgment sent {"connection_id":142358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:00:49] local.INFO: TCP Data received {"connection_id":143735,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:00:49] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:00:49] local.INFO: IMEI packet received {"connection_id":143735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":143735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:00:54] local.INFO: TCP Data received {"connection_id":143735,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:00:54] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:00:54] local.INFO: IMEI packet received {"connection_id":143735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":143735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:00:54] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:00:54] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:00:54] local.INFO: IMEI packet received {"connection_id":141372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":141372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:00:55] local.INFO: TCP Data received {"connection_id":143735,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 21:00:55] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e1d8d8012d77a94005f27b900013016323..."} 
[2026-07-25 21:00:55] local.INFO: Packet analysis {"connection_id":143735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 21:00:55] local.INFO: Extracted packet for processing {"connection_id":143735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e1"} 
[2026-07-25 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958167552001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993143000,"timestamp_ms":1784993143000,"timestamp_seconds":1784993143,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e1d8d8"} 
[2026-07-25 21:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-25 21:00: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-07-25 21:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958167552001,"66":25549,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958167552001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958167552001,"power":25549,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":143735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:00:55] local.INFO: GPS data processed {"connection_id":143735,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:00:55] local.INFO: Acknowledgment sent {"connection_id":143735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:01:00] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:01:00] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:01:00] local.INFO: IMEI packet received {"connection_id":141372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":141372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:01:01] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:01:01] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:01:01] local.INFO: Packet analysis {"connection_id":141372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:01:01] local.INFO: Extracted packet for processing {"connection_id":141372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 21:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:01:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:01:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":141372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:01:01] local.INFO: GPS data processed {"connection_id":141372,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:01:01] local.INFO: Acknowledgment sent {"connection_id":141372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:01:03] local.INFO: TCP Data received {"connection_id":142358,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:01:03] local.INFO: Processing buffer {"connection_id":142358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:01:03] local.INFO: Packet analysis {"connection_id":142358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:01:03] local.INFO: Extracted packet for processing {"connection_id":142358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21: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-07-25 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21: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-07-25 21:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":142358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:01:03] local.INFO: GPS data processed {"connection_id":142358,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:01:03] local.INFO: Acknowledgment sent {"connection_id":142358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:01:26] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:01:26] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:01:26] local.INFO: IMEI packet received {"connection_id":141332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":141332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:01:26] local.INFO: TCP Data received {"connection_id":143735,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:01:26] local.INFO: Processing buffer {"connection_id":143735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:01:26] local.INFO: Packet analysis {"connection_id":143735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:01:26] local.INFO: Extracted packet for processing {"connection_id":143735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:01:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":143735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:01:26] local.INFO: GPS data processed {"connection_id":143735,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:01:26] local.INFO: Acknowledgment sent {"connection_id":143735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:01:31] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:01:31] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:01:31] local.INFO: IMEI packet received {"connection_id":141332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":141332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:01:32] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:01:32] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:01:32] local.INFO: Packet analysis {"connection_id":141332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:01:32] local.INFO: Extracted packet for processing {"connection_id":141332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:01:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":141332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:01:32] local.INFO: GPS data processed {"connection_id":141332,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:01:32] local.INFO: Acknowledgment sent {"connection_id":141332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:01:32] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:01:33] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:01:33] local.INFO: Packet analysis {"connection_id":141372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:01:33] local.INFO: Extracted packet for processing {"connection_id":141372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 21:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:01: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-07-25 21:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:01:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":141372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:01:33] local.INFO: GPS data processed {"connection_id":141372,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:01:33] local.INFO: Acknowledgment sent {"connection_id":141372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:01:54] local.INFO: TCP Data received {"connection_id":143736,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:01:54] local.INFO: Processing buffer {"connection_id":143736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:01:54] local.INFO: IMEI packet received {"connection_id":143736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":143736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:01:54] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:01:54] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:01:54] local.INFO: IMEI packet received {"connection_id":141373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":141373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:01:59] local.INFO: TCP Data received {"connection_id":143736,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:01:59] local.INFO: Processing buffer {"connection_id":143736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:01:59] local.INFO: IMEI packet received {"connection_id":143736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":143736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:02:00] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:02:00] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:02:00] local.INFO: IMEI packet received {"connection_id":141373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":141373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:02:00] local.INFO: TCP Data received {"connection_id":143736,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:00] local.INFO: Processing buffer {"connection_id":143736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:00] local.INFO: Packet analysis {"connection_id":143736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:02:00] local.INFO: Extracted packet for processing {"connection_id":143736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:02:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:02: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-07-25 21:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":143736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:00] local.INFO: GPS data processed {"connection_id":143736,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:00] local.INFO: Acknowledgment sent {"connection_id":143736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:00] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:02:00] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e2d2d8012d9cd84005b361c0000d007e2b..."} 
[2026-07-25 21:02:00] local.INFO: Packet analysis {"connection_id":141373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:02:00] local.INFO: Extracted packet for processing {"connection_id":141373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e2"} 
[2026-07-25 21:02:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":43,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958183936001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993207000,"timestamp_ms":1784993207000,"timestamp_seconds":1784993207,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e2d2d8"} 
[2026-07-25 21:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:02: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-07-25 21:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958183936001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958183936001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958183936001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":141373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:00] local.INFO: GPS data processed {"connection_id":141373,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:00] local.INFO: Acknowledgment sent {"connection_id":141373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:03] local.INFO: TCP Data received {"connection_id":141332,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:02:03] local.INFO: Processing buffer {"connection_id":141332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:02:03] local.INFO: Packet analysis {"connection_id":141332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:02:03] local.INFO: Extracted packet for processing {"connection_id":141332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:02: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-07-25 21:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":141332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:03] local.INFO: GPS data processed {"connection_id":141332,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:03] local.INFO: Acknowledgment sent {"connection_id":141332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:26] local.INFO: TCP Data received {"connection_id":141374,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:02:26] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:02:26] local.INFO: IMEI packet received {"connection_id":141374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":141374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:02:31] local.INFO: TCP Data received {"connection_id":141374,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:02:31] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:02:31] local.INFO: IMEI packet received {"connection_id":141374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":141374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:02:32] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:02:32] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:02:32] local.INFO: Packet analysis {"connection_id":141373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:02:32] local.INFO: Extracted packet for processing {"connection_id":141373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:02:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:02: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-07-25 21:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":141373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:32] local.INFO: GPS data processed {"connection_id":141373,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:32] local.INFO: Acknowledgment sent {"connection_id":141373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:32] local.INFO: TCP Data received {"connection_id":141374,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:02:32] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:02:32] local.INFO: Packet analysis {"connection_id":141374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:02:32] local.INFO: Extracted packet for processing {"connection_id":141374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":141374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:32] local.INFO: GPS data processed {"connection_id":141374,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:32] local.INFO: Acknowledgment sent {"connection_id":141374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:32] local.INFO: TCP Data received {"connection_id":143736,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:32] local.INFO: Processing buffer {"connection_id":143736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:32] local.INFO: Packet analysis {"connection_id":143736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:02:32] local.INFO: Extracted packet for processing {"connection_id":143736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:02:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:02: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-07-25 21:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":143736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:32] local.INFO: GPS data processed {"connection_id":143736,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:32] local.INFO: Acknowledgment sent {"connection_id":143736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:49] local.INFO: TCP Data received {"connection_id":141375,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:02:49] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:02:49] local.INFO: IMEI packet received {"connection_id":141375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":141375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:02:54] local.INFO: TCP Data received {"connection_id":141375,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:02:54] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:02:54] local.INFO: IMEI packet received {"connection_id":141375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":141375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:02:55] local.INFO: TCP Data received {"connection_id":141375,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:55] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:02:55] local.INFO: Packet analysis {"connection_id":141375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:02:55] local.INFO: Extracted packet for processing {"connection_id":141375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21: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-07-25 21:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:02:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":141375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:02:55] local.INFO: GPS data processed {"connection_id":141375,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:02:55] local.INFO: Acknowledgment sent {"connection_id":141375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:02:56] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:02:56] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:02:56] local.INFO: IMEI packet received {"connection_id":143737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":143737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:03:00] local.INFO: TCP Data received {"connection_id":143738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:00] local.INFO: Processing buffer {"connection_id":143738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:00] local.INFO: IMEI packet received {"connection_id":143738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":143738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:03:03] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:03:03] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:03:03] local.INFO: IMEI packet received {"connection_id":143737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":143737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:03:03] local.INFO: TCP Data received {"connection_id":141374,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:03:03] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:03:03] local.INFO: Packet analysis {"connection_id":141374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:03:03] local.INFO: Extracted packet for processing {"connection_id":141374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:03: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-07-25 21:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:03:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":141374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:03:03] local.INFO: GPS data processed {"connection_id":141374,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:03:03] local.INFO: Acknowledgment sent {"connection_id":141374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:03:05] local.INFO: TCP Data received {"connection_id":143738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:05] local.INFO: Processing buffer {"connection_id":143738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:05] local.INFO: IMEI packet received {"connection_id":143738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":143738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:03:06] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99d78c20012d7e340005d34e18000901230f..."} 
[2026-07-25 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99d78c20012d7e340005d34e18000901230f..."} 
[2026-07-25 21:03:06] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99d78c20012d7e340005d34e18000901230f..."} 
[2026-07-25 21:03:06] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 21:03:06] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99d7"} 
[2026-07-25 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763245568,"raw_latitude":97734168,"longitude_deg":76.3245568,"latitude_deg":9.7734168,"altitude":9,"angle":291,"satellites":15,"speed":3,"hex_longitude":"2d7e3400","hex_latitude":"05d34e18","is_valid_coordinates":true} 
[2026-07-25 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958071296001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110403255330144256,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820343808,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784992468000,"timestamp_ms":1784992468000,"timestamp_seconds":1784992468,"priority":1,"record_length":96,"hex_timestamp":"0000019f99d78c20"} 
[2026-07-25 21:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:03:06] 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-07-25 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 21:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:03: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-07-25 21:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958071296001,"66":11428,"109":206,"85":15104,"24":3,"16":110403255330144256,"45":9094104678820343808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958071296001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110403255330144256,"km_value":110403255330144.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820343808,"description":"Unknown IO ID 45"} 
[2026-07-25 21:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958071296001,"power":11428,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9094104678820343808}} 
[2026-07-25 21:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:03:06] local.INFO: GPS data processed {"connection_id":143737,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:03:06] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:03:06] local.INFO: TCP Data received {"connection_id":143738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:03:06] local.INFO: Processing buffer {"connection_id":143738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:03:06] local.INFO: Packet analysis {"connection_id":143738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:03:06] local.INFO: Extracted packet for processing {"connection_id":143738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":143738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:03:06] local.INFO: GPS data processed {"connection_id":143738,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:03:06] local.INFO: Acknowledgment sent {"connection_id":143738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:03:26] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:03:26] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:03:26] local.INFO: IMEI packet received {"connection_id":141333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":141333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:03:27] local.INFO: TCP Data received {"connection_id":141375,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:03:27] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:03:27] local.INFO: Packet analysis {"connection_id":141375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:03:27] local.INFO: Extracted packet for processing {"connection_id":141375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21: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-07-25 21:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":141375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:03:27] local.INFO: GPS data processed {"connection_id":141375,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:03:27] local.INFO: Acknowledgment sent {"connection_id":141375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:03:31] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:03:31] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:03:31] local.INFO: IMEI packet received {"connection_id":141333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":141333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:03:32] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:03:32] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:03:32] local.INFO: Packet analysis {"connection_id":141333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:03:32] local.INFO: Extracted packet for processing {"connection_id":141333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:03:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":141333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:03:32] local.INFO: GPS data processed {"connection_id":141333,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:03:32] local.INFO: Acknowledgment sent {"connection_id":141333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:03:37] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e010000019f99e89b50012d7e344005d34bd00010000012..."} 
[2026-07-25 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":93,"packet_hex":"00000000000000518e010000019f99e89b50012d7e344005d34bd00010000012..."} 
[2026-07-25 21:03:37] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f99e89b50012d7e344005d34bd00010000012..."} 
[2026-07-25 21:03:37] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f99e8"} 
[2026-07-25 21:03:37] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f99e8"} 
[2026-07-25 21:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763245632,"raw_latitude":97733584,"longitude_deg":76.3245632,"latitude_deg":9.7733584,"altitude":16,"angle":0,"satellites":18,"speed":0,"hex_longitude":"2d7e3440","hex_latitude":"05d34bd0","is_valid_coordinates":true} 
[2026-07-25 21:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 21:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:03:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 21:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 21:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 21:03:37] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 21:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 21:03:37] local.ERROR: GPS data processing failed {"connection_id":143737,"error":"No valid data to process"} 
[2026-07-25 21:03:37] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 21:03:38] local.INFO: TCP Data received {"connection_id":143738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:03:38] local.INFO: Processing buffer {"connection_id":143738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:03:38] local.INFO: Packet analysis {"connection_id":143738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:03:38] local.INFO: Extracted packet for processing {"connection_id":143738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:03:38] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:03:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":143738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:03:38] local.INFO: GPS data processed {"connection_id":143738,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:03:38] local.INFO: Acknowledgment sent {"connection_id":143738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:03:54] local.INFO: TCP Data received {"connection_id":142359,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:03:54] local.INFO: Processing buffer {"connection_id":142359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:03:54] local.INFO: IMEI packet received {"connection_id":142359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":142359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:03:55] local.INFO: TCP Data received {"connection_id":142360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:55] local.INFO: Processing buffer {"connection_id":142360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:03:55] local.INFO: IMEI packet received {"connection_id":142360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":142360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:03:59] local.INFO: TCP Data received {"connection_id":142359,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:03:59] local.INFO: Processing buffer {"connection_id":142359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:03:59] local.INFO: IMEI packet received {"connection_id":142359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":142359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:04:00] local.INFO: TCP Data received {"connection_id":142360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:04:00] local.INFO: Processing buffer {"connection_id":142360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:04:00] local.INFO: IMEI packet received {"connection_id":142360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":142360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:04:00] local.INFO: TCP Data received {"connection_id":142359,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:00] local.INFO: Processing buffer {"connection_id":142359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:00] local.INFO: Packet analysis {"connection_id":142359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:04:00] local.INFO: Extracted packet for processing {"connection_id":142359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:04:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:04: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-07-25 21: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-07-25 21:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":142359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:00] local.INFO: GPS data processed {"connection_id":142359,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:00] local.INFO: Acknowledgment sent {"connection_id":142359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:00] local.INFO: TCP Data received {"connection_id":142360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:04:00] local.INFO: Processing buffer {"connection_id":142360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:04:00] local.INFO: Packet analysis {"connection_id":142360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:04:00] local.INFO: Extracted packet for processing {"connection_id":142360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:04:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:04: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-07-25 21: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-07-25 21:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":142360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:00] local.INFO: GPS data processed {"connection_id":142360,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:00] local.INFO: Acknowledgment sent {"connection_id":142360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:03] local.INFO: TCP Data received {"connection_id":141333,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:03] local.INFO: Processing buffer {"connection_id":141333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:03] local.INFO: Packet analysis {"connection_id":141333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:04:03] local.INFO: Extracted packet for processing {"connection_id":141333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:04: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-07-25 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":141333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:03] local.INFO: GPS data processed {"connection_id":141333,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:03] local.INFO: Acknowledgment sent {"connection_id":141333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:05] local.INFO: TCP Data received {"connection_id":142359,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:05] local.INFO: Processing buffer {"connection_id":142359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:05] local.INFO: Packet analysis {"connection_id":142359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:04:05] local.INFO: Extracted packet for processing {"connection_id":142359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":142359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:05] local.INFO: GPS data processed {"connection_id":142359,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:05] local.INFO: Acknowledgment sent {"connection_id":142359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:08] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e010000019f99e93790012d7e430005d35730000f005313..."} 
[2026-07-25 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":93,"packet_hex":"00000000000000518e010000019f99e93790012d7e430005d35730000f005313..."} 
[2026-07-25 21:04:08] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f99e93790012d7e430005d35730000f005313..."} 
[2026-07-25 21:04:08] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:04:08] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":97736496,"longitude_deg":76.3249408,"latitude_deg":9.7736496,"altitude":15,"angle":83,"satellites":19,"speed":9,"hex_longitude":"2d7e4300","hex_latitude":"05d35730","is_valid_coordinates":true} 
[2026-07-25 21:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 21:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 21:04:08] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 21:04:08] local.ERROR: GPS data processing failed {"connection_id":143737,"error":"No valid data to process"} 
[2026-07-25 21:04:08] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 21:04:31] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:04:31] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:04:31] local.INFO: IMEI packet received {"connection_id":141376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":141376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:04:32] local.INFO: TCP Data received {"connection_id":142360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:04:32] local.INFO: Processing buffer {"connection_id":142360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:04:32] local.INFO: Packet analysis {"connection_id":142360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:04:32] local.INFO: Extracted packet for processing {"connection_id":142360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:04:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:04: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-07-25 21:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:04:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":142360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:32] local.INFO: GPS data processed {"connection_id":142360,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:32] local.INFO: Acknowledgment sent {"connection_id":142360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:36] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:04:36] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:04:36] local.INFO: IMEI packet received {"connection_id":141376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":141376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:04:37] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:37] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:37] local.INFO: Packet analysis {"connection_id":141376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:04:37] local.INFO: Extracted packet for processing {"connection_id":141376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04: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-07-25 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":141376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:37] local.INFO: GPS data processed {"connection_id":141376,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:37] local.INFO: Acknowledgment sent {"connection_id":141376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:39] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e010000019f99e952e8012d7e4bc005d357780010006113..."} 
[2026-07-25 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":93,"packet_hex":"00000000000000518e010000019f99e952e8012d7e4bc005d357780010006113..."} 
[2026-07-25 21:04:39] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f99e952e8012d7e4bc005d357780010006113..."} 
[2026-07-25 21:04:39] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:04:39] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:04:39] local.INFO: GPS Element Parsed {"raw_longitude":763251648,"raw_latitude":97736568,"longitude_deg":76.3251648,"latitude_deg":9.7736568,"altitude":16,"angle":97,"satellites":19,"speed":18,"hex_longitude":"2d7e4bc0","hex_latitude":"05d35778","is_valid_coordinates":true} 
[2026-07-25 21: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":93,"current_offset":40} 
[2026-07-25 21:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 21:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 21:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 21:04:39] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 21:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 21:04:39] local.ERROR: GPS data processing failed {"connection_id":143737,"error":"No valid data to process"} 
[2026-07-25 21:04:39] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 21:04:41] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:41] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e518e0012d196400071fefb00041006e29..."} 
[2026-07-25 21:04:41] local.INFO: Packet analysis {"connection_id":141376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:04:41] local.INFO: Extracted packet for processing {"connection_id":141376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e5"} 
[2026-07-25 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958222080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784993356000,"timestamp_ms":1784993356000,"timestamp_seconds":1784993356,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e518e0"} 
[2026-07-25 21:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958222080001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958222080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958222080001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":141376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:41] local.INFO: GPS data processed {"connection_id":141376,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:41] local.INFO: Acknowledgment sent {"connection_id":141376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:04:49] local.INFO: TCP Data received {"connection_id":141334,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:04:49] local.INFO: Processing buffer {"connection_id":141334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:04:49] local.INFO: IMEI packet received {"connection_id":141334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":141334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:04:54] local.INFO: TCP Data received {"connection_id":141334,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:04:54] local.INFO: Processing buffer {"connection_id":141334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:04:54] local.INFO: IMEI packet received {"connection_id":141334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":141334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:04:54] local.INFO: TCP Data received {"connection_id":143739,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:04:54] local.INFO: Processing buffer {"connection_id":143739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:04:54] local.INFO: IMEI packet received {"connection_id":143739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":143739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:04:55] local.INFO: TCP Data received {"connection_id":141334,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:55] local.INFO: Processing buffer {"connection_id":141334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:04:55] local.INFO: Packet analysis {"connection_id":141334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:04:55] local.INFO: Extracted packet for processing {"connection_id":141334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:04:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21: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-07-25 21:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:04:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":141334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:04:55] local.INFO: GPS data processed {"connection_id":141334,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:04:55] local.INFO: Acknowledgment sent {"connection_id":141334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:05:00] local.INFO: TCP Data received {"connection_id":143739,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:05:00] local.INFO: Processing buffer {"connection_id":143739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:05:00] local.INFO: IMEI packet received {"connection_id":143739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":143739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:05:00] local.INFO: TCP Data received {"connection_id":143739,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:05:00] local.INFO: Processing buffer {"connection_id":143739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:05:00] local.INFO: Packet analysis {"connection_id":143739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:05:00] local.INFO: Extracted packet for processing {"connection_id":143739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:05:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:05: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-07-25 21: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-07-25 21:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:05:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":143739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:05:00] local.INFO: GPS data processed {"connection_id":143739,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:05:00] local.INFO: Acknowledgment sent {"connection_id":143739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:05:10] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e010000019f99e96288012d7e520005d356080010007012..."} 
[2026-07-25 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":93,"packet_hex":"00000000000000518e010000019f99e96288012d7e520005d356080010007012..."} 
[2026-07-25 21:05:10] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f99e96288012d7e520005d356080010007012..."} 
[2026-07-25 21:05:10] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:05:10] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763253248,"raw_latitude":97736200,"longitude_deg":76.3253248,"latitude_deg":9.77362,"altitude":16,"angle":112,"satellites":18,"speed":13,"hex_longitude":"2d7e5200","hex_latitude":"05d35608","is_valid_coordinates":true} 
[2026-07-25 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 21:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 21:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 21:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 21:05:10] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 21:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 21:05:10] local.ERROR: GPS data processing failed {"connection_id":143737,"error":"No valid data to process"} 
[2026-07-25 21:05:10] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 21:05:26] local.INFO: TCP Data received {"connection_id":141334,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:26] local.INFO: TCP Data received {"connection_id":142361,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:26] local.INFO: Processing buffer {"connection_id":141334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:26] local.INFO: Packet analysis {"connection_id":141334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:05:26] local.INFO: Extracted packet for processing {"connection_id":141334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:05:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:05:26] local.INFO: Processing buffer {"connection_id":142361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:05:26] local.INFO: IMEI packet received {"connection_id":142361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":142361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:05:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":141334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:05:26] local.INFO: GPS data processed {"connection_id":141334,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:05:26] local.INFO: Acknowledgment sent {"connection_id":141334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:05:31] local.INFO: TCP Data received {"connection_id":142361,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:05:31] local.INFO: Processing buffer {"connection_id":142361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:05:31] local.INFO: IMEI packet received {"connection_id":142361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":142361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:05:32] local.INFO: TCP Data received {"connection_id":142361,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:05:32] local.INFO: Processing buffer {"connection_id":142361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:05:32] local.INFO: Packet analysis {"connection_id":142361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:05:32] local.INFO: Extracted packet for processing {"connection_id":142361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":142361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:05:32] local.INFO: GPS data processed {"connection_id":142361,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:05:32] local.INFO: Acknowledgment sent {"connection_id":142361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:05:32] local.INFO: TCP Data received {"connection_id":143739,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:05:32] local.INFO: Processing buffer {"connection_id":143739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:05:32] local.INFO: Packet analysis {"connection_id":143739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:05:32] local.INFO: Extracted packet for processing {"connection_id":143739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:05: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-07-25 21:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":143739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:05:32] local.INFO: GPS data processed {"connection_id":143739,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:05:32] local.INFO: Acknowledgment sent {"connection_id":143739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:05:42] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":93,"data_hex":"00000000000000518e010000019f99e9a108012d7e568005d35590000e002214..."} 
[2026-07-25 21:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":93,"packet_hex":"00000000000000518e010000019f99e9a108012d7e568005d35590000e002214..."} 
[2026-07-25 21:05:42] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f99e9a108012d7e568005d35590000e002214..."} 
[2026-07-25 21:05:42] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:05:42] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f99e9"} 
[2026-07-25 21:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763254400,"raw_latitude":97736080,"longitude_deg":76.32544,"latitude_deg":9.773608,"altitude":14,"angle":34,"satellites":20,"speed":2,"hex_longitude":"2d7e5680","hex_latitude":"05d35590","is_valid_coordinates":true} 
[2026-07-25 21:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 21:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:05:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:42] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 21:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 21:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-25 21:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 21:05:42] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 21:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 21:05:42] local.ERROR: GPS data processing failed {"connection_id":143737,"error":"No valid data to process"} 
[2026-07-25 21:05:42] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 21:05:52] local.INFO: TCP Data received {"connection_id":141335,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:05:52] local.INFO: Processing buffer {"connection_id":141335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:05:52] local.INFO: IMEI packet received {"connection_id":141335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":141335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:05:54] local.INFO: TCP Data received {"connection_id":141335,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:05:54] local.INFO: Processing buffer {"connection_id":141335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:05:54] local.INFO: IMEI packet received {"connection_id":141335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":141335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:05:54] local.INFO: TCP Data received {"connection_id":142362,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:05:54] local.INFO: Processing buffer {"connection_id":142362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:05:54] local.INFO: IMEI packet received {"connection_id":142362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":142362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:05:54] local.INFO: TCP Data received {"connection_id":141335,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:54] local.INFO: Processing buffer {"connection_id":141335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:54] local.INFO: Packet analysis {"connection_id":141335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:05:54] local.INFO: Extracted packet for processing {"connection_id":141335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:05:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:05: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-07-25 21: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-07-25 21:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:05:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":141335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:05:54] local.INFO: GPS data processed {"connection_id":141335,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:05:54] local.INFO: Acknowledgment sent {"connection_id":141335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:05:59] local.INFO: TCP Data received {"connection_id":141335,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:59] local.INFO: Processing buffer {"connection_id":141335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e670a0012d77a94005f27b900013016323..."} 
[2026-07-25 21:05:59] local.INFO: Packet analysis {"connection_id":141335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:05:59] local.INFO: Extracted packet for processing {"connection_id":141335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e6"} 
[2026-07-25 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958244608001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784993444000,"timestamp_ms":1784993444000,"timestamp_seconds":1784993444,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e670a0"} 
[2026-07-25 21:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-25 21:05: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-07-25 21:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958244608001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958244608001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958244608001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":141335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:05:59] local.INFO: GPS data processed {"connection_id":141335,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:05:59] local.INFO: Acknowledgment sent {"connection_id":141335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:00] local.INFO: TCP Data received {"connection_id":142362,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:06:00] local.INFO: Processing buffer {"connection_id":142362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:06:00] local.INFO: IMEI packet received {"connection_id":142362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":142362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:06:01] local.INFO: TCP Data received {"connection_id":142362,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:06:01] local.INFO: Processing buffer {"connection_id":142362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:06:01] local.INFO: Packet analysis {"connection_id":142362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:06:01] local.INFO: Extracted packet for processing {"connection_id":142362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":142362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:01] local.INFO: GPS data processed {"connection_id":142362,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:01] local.INFO: Acknowledgment sent {"connection_id":142362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:03] local.INFO: TCP Data received {"connection_id":142361,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:06:03] local.INFO: Processing buffer {"connection_id":142361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:06:03] local.INFO: Packet analysis {"connection_id":142361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:06:03] local.INFO: Extracted packet for processing {"connection_id":142361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":142361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:03] local.INFO: GPS data processed {"connection_id":142361,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:03] local.INFO: Acknowledgment sent {"connection_id":142361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:14] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb1038012d7e424005d411200008015515..."} 
[2026-07-25 21:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb1038012d7e424005d411200008015515..."} 
[2026-07-25 21:06:14] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb1038012d7e424005d411200008015515..."} 
[2026-07-25 21:06:14] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:06:14] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763249216,"raw_latitude":97784096,"longitude_deg":76.3249216,"latitude_deg":9.7784096,"altitude":8,"angle":341,"satellites":21,"speed":18,"hex_longitude":"2d7e4240","hex_latitude":"05d41120","is_valid_coordinates":true} 
[2026-07-25 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958396160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110406218857578496,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099382334645145600,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784993747000,"timestamp_ms":1784993747000,"timestamp_seconds":1784993747,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb1038"} 
[2026-07-25 21:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-25 21:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958396160001,"66":11711,"109":206,"85":15104,"24":18,"16":110406218857578496,"45":9099382334645145600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 21:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958396160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 21:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110406218857578496,"km_value":110406218857578.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099382334645145600,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958396160001,"power":11711,"unknown_109":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9099382334645145600}} 
[2026-07-25 21:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:14] local.INFO: GPS data processed {"connection_id":143737,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:14] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:25] local.INFO: TCP Data received {"connection_id":141377,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:06:26] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:06:26] local.INFO: IMEI packet received {"connection_id":141377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":141377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:06:31] local.INFO: TCP Data received {"connection_id":141377,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:06:31] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:06:31] local.INFO: IMEI packet received {"connection_id":141377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":141377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:06:32] local.INFO: TCP Data received {"connection_id":141377,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:06:32] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:06:32] local.INFO: Packet analysis {"connection_id":141377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:06:32] local.INFO: Extracted packet for processing {"connection_id":141377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":141377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:32] local.INFO: GPS data processed {"connection_id":141377,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:32] local.INFO: Acknowledgment sent {"connection_id":141377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:32] local.INFO: TCP Data received {"connection_id":142362,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:06:32] local.INFO: Processing buffer {"connection_id":142362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:06:32] local.INFO: Packet analysis {"connection_id":142362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:06:32] local.INFO: Extracted packet for processing {"connection_id":142362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:06: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-07-25 21:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":142362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:32] local.INFO: GPS data processed {"connection_id":142362,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:32] local.INFO: Acknowledgment sent {"connection_id":142362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:41] local.INFO: TCP Data received {"connection_id":141335,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:06:41] local.INFO: Processing buffer {"connection_id":141335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:06:41] local.INFO: Packet analysis {"connection_id":141335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:06:41] local.INFO: Extracted packet for processing {"connection_id":141335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:06:41] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:41] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":141335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:41] local.INFO: GPS data processed {"connection_id":141335,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:41] local.INFO: Acknowledgment sent {"connection_id":141335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:45] local.INFO: TCP Data received {"connection_id":143737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb2f78012d7e3cc005d423a00008016115..."} 
[2026-07-25 21:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb2f78012d7e3cc005d423a00008016115..."} 
[2026-07-25 21:06:45] local.INFO: Processing buffer {"connection_id":143737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb2f78012d7e3cc005d423a00008016115..."} 
[2026-07-25 21:06:45] local.INFO: Packet analysis {"connection_id":143737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:06:45] local.INFO: Extracted packet for processing {"connection_id":143737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:06:45] local.INFO: GPS Element Parsed {"raw_longitude":763247808,"raw_latitude":97788832,"longitude_deg":76.3247808,"latitude_deg":9.7788832,"altitude":8,"angle":353,"satellites":21,"speed":23,"hex_longitude":"2d7e3cc0","hex_latitude":"05d423a0","is_valid_coordinates":true} 
[2026-07-25 21:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958399232001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110406459375747072,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097904591018729472,"note":"Value kept but may cause issues"} 
[2026-07-25 21:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784993755000,"timestamp_ms":1784993755000,"timestamp_seconds":1784993755,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb2f78"} 
[2026-07-25 21:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:06:45] 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-07-25 21:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-25 21:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958399232001,"66":11624,"109":206,"85":15104,"24":23,"16":110406459375747072,"45":9097904591018729472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 21:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958399232001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:06:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 21:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110406459375747072,"km_value":110406459375747.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097904591018729472,"description":"Unknown IO ID 45"} 
[2026-07-25 21:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958399232001,"power":11624,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9097904591018729472}} 
[2026-07-25 21:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":143737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:06:45] local.INFO: GPS data processed {"connection_id":143737,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:06:45] local.INFO: Acknowledgment sent {"connection_id":143737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:06:54] local.INFO: TCP Data received {"connection_id":141378,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:06:54] local.INFO: Processing buffer {"connection_id":141378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:06:54] local.INFO: IMEI packet received {"connection_id":141378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":141378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:06:54] local.INFO: TCP Data received {"connection_id":141336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:06:54] local.INFO: Processing buffer {"connection_id":141336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:06:54] local.INFO: IMEI packet received {"connection_id":141336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":141336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:06:59] local.INFO: TCP Data received {"connection_id":141378,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:06:59] local.INFO: Processing buffer {"connection_id":141378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:06:59] local.INFO: IMEI packet received {"connection_id":141378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":141378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:07:00] local.INFO: TCP Data received {"connection_id":141336,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:07:00] local.INFO: Processing buffer {"connection_id":141336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:07:00] local.INFO: IMEI packet received {"connection_id":141336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":141336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:07:00] local.INFO: TCP Data received {"connection_id":141378,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:00] local.INFO: Processing buffer {"connection_id":141378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:00] local.INFO: Packet analysis {"connection_id":141378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:00] local.INFO: Extracted packet for processing {"connection_id":141378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07: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-07-25 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":141378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:00] local.INFO: GPS data processed {"connection_id":141378,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:00] local.INFO: Acknowledgment sent {"connection_id":141378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:01] local.INFO: TCP Data received {"connection_id":141336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:07:01] local.INFO: Processing buffer {"connection_id":141336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e76aa0012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:07:01] local.INFO: Packet analysis {"connection_id":141336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:07:01] local.INFO: Extracted packet for processing {"connection_id":141336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e7"} 
[2026-07-25 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958260992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993508000,"timestamp_ms":1784993508000,"timestamp_seconds":1784993508,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e76aa0"} 
[2026-07-25 21:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958260992001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958260992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:07:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958260992001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":141336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:01] local.INFO: GPS data processed {"connection_id":141336,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:01] local.INFO: Acknowledgment sent {"connection_id":141336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:03] local.INFO: TCP Data received {"connection_id":141377,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:07:03] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:07:03] local.INFO: Packet analysis {"connection_id":141377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:07:03] local.INFO: Extracted packet for processing {"connection_id":141377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":141377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:03] local.INFO: GPS data processed {"connection_id":141377,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:03] local.INFO: Acknowledgment sent {"connection_id":141377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:06] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:06] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:06] local.INFO: IMEI packet received {"connection_id":142363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":142363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:07:08] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:08] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:08] local.INFO: IMEI packet received {"connection_id":142363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":142363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:07:11] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:11] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:07:11] local.INFO: IMEI packet received {"connection_id":142363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":142363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:07:12] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb6df8012d7e3ac005d43c500009000615..."} 
[2026-07-25 21:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb6df8012d7e3ac005d43c500009000615..."} 
[2026-07-25 21:07:12] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb6df8012d7e3ac005d43c500009000615..."} 
[2026-07-25 21:07:12] local.INFO: Packet analysis {"connection_id":142363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:12] local.INFO: Extracted packet for processing {"connection_id":142363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:12] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97795152,"longitude_deg":76.3247296,"latitude_deg":9.7795152,"altitude":9,"angle":6,"satellites":21,"speed":16,"hex_longitude":"2d7e3ac0","hex_latitude":"05d43c50","is_valid_coordinates":true} 
[2026-07-25 21:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958401280001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110406768613392384,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096356478648033280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784993771000,"timestamp_ms":1784993771000,"timestamp_seconds":1784993771,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb6df8"} 
[2026-07-25 21:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:12] 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-07-25 21:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958401280001,"66":11852,"109":206,"85":15104,"24":16,"16":110406768613392384,"45":9096356478648033280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 21:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958401280001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 21:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110406768613392384,"km_value":110406768613392.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096356478648033280,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958401280001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9096356478648033280}} 
[2026-07-25 21:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":142363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:12] local.INFO: GPS data processed {"connection_id":142363,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:12] local.INFO: Acknowledgment sent {"connection_id":142363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:26] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:07:26] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:07:26] local.INFO: IMEI packet received {"connection_id":141379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":141379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:07:31] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:07:31] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:07:31] local.INFO: IMEI packet received {"connection_id":141379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":141379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:07:32] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:07:32] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:07:32] local.INFO: Packet analysis {"connection_id":141379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:07:32] local.INFO: Extracted packet for processing {"connection_id":141379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":141379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:32] local.INFO: GPS data processed {"connection_id":141379,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:32] local.INFO: Acknowledgment sent {"connection_id":141379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:33] local.INFO: TCP Data received {"connection_id":141336,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:07:33] local.INFO: Processing buffer {"connection_id":141336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:07:33] local.INFO: Packet analysis {"connection_id":141336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:07:33] local.INFO: Extracted packet for processing {"connection_id":141336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:07: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-07-25 21:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":141336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:33] local.INFO: GPS data processed {"connection_id":141336,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:33] local.INFO: Acknowledgment sent {"connection_id":141336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:40] local.INFO: TCP Data received {"connection_id":141378,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:40] local.INFO: Processing buffer {"connection_id":141378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:40] local.INFO: Packet analysis {"connection_id":141378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:40] local.INFO: Extracted packet for processing {"connection_id":141378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":141378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:40] local.INFO: GPS data processed {"connection_id":141378,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:40] local.INFO: Acknowledgment sent {"connection_id":141378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:43] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb8180012d7e3b0005d447380009016416..."} 
[2026-07-25 21:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb8180012d7e3b0005d447380009016416..."} 
[2026-07-25 21:07:43] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb8180012d7e3b0005d447380009016416..."} 
[2026-07-25 21:07:43] local.INFO: Packet analysis {"connection_id":142363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:43] local.INFO: Extracted packet for processing {"connection_id":142363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:43] local.INFO: GPS Element Parsed {"raw_longitude":763247360,"raw_latitude":97797944,"longitude_deg":76.324736,"latitude_deg":9.7797944,"altitude":9,"angle":356,"satellites":22,"speed":26,"hex_longitude":"2d7e3b00","hex_latitude":"05d44738","is_valid_coordinates":true} 
[2026-07-25 21:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958405376001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110406906052345856,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528696229888,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784993776000,"timestamp_ms":1784993776000,"timestamp_seconds":1784993776,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb8180"} 
[2026-07-25 21:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-25 21:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958405376001,"66":11917,"109":206,"85":15104,"24":26,"16":110406906052345856,"45":9095793528696229888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-25 21:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958405376001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-25 21:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110406906052345856,"km_value":110406906052345.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528696229888,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958405376001,"power":11917,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9095793528696229888}} 
[2026-07-25 21:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":142363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:43] local.INFO: GPS data processed {"connection_id":142363,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:43] local.INFO: Acknowledgment sent {"connection_id":142363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:07:49] local.INFO: TCP Data received {"connection_id":141337,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:07:49] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:07:49] local.INFO: IMEI packet received {"connection_id":141337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":141337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:07:54] local.INFO: TCP Data received {"connection_id":141337,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:07:54] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:07:54] local.INFO: IMEI packet received {"connection_id":141337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":141337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:07:55] local.INFO: TCP Data received {"connection_id":141337,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:55] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:07:55] local.INFO: Packet analysis {"connection_id":141337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:55] local.INFO: Extracted packet for processing {"connection_id":141337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:07:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:07: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-07-25 21: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-07-25 21:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:07:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":141337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:07:55] local.INFO: GPS data processed {"connection_id":141337,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:07:55] local.INFO: Acknowledgment sent {"connection_id":141337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:00] local.INFO: TCP Data received {"connection_id":142364,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:00] local.INFO: Processing buffer {"connection_id":142364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:00] local.INFO: IMEI packet received {"connection_id":142364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":142364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:08:03] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:03] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:03] local.INFO: Packet analysis {"connection_id":141379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:08:03] local.INFO: Extracted packet for processing {"connection_id":141379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":141379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:03] local.INFO: GPS data processed {"connection_id":141379,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:03] local.INFO: Acknowledgment sent {"connection_id":141379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:05] local.INFO: TCP Data received {"connection_id":142364,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:05] local.INFO: Processing buffer {"connection_id":142364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:05] local.INFO: IMEI packet received {"connection_id":142364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":142364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:08:07] local.INFO: TCP Data received {"connection_id":142364,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:08:07] local.INFO: Processing buffer {"connection_id":142364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:08:07] local.INFO: Packet analysis {"connection_id":142364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:08:07] local.INFO: Extracted packet for processing {"connection_id":142364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:08:07] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:07] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":142364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:07] local.INFO: GPS data processed {"connection_id":142364,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:07] local.INFO: Acknowledgment sent {"connection_id":142364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:14] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ed2378012d7e1a4005d564100009011316..."} 
[2026-07-25 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ed2378012d7e1a4005d564100009011316..."} 
[2026-07-25 21:08:14] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ed2378012d7e1a4005d564100009011316..."} 
[2026-07-25 21:08:14] local.INFO: Packet analysis {"connection_id":142363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:08:14] local.INFO: Extracted packet for processing {"connection_id":142363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763238976,"raw_latitude":97870864,"longitude_deg":76.3238976,"latitude_deg":9.7870864,"altitude":9,"angle":275,"satellites":22,"speed":8,"hex_longitude":"2d7e1a40","hex_latitude":"05d56410","is_valid_coordinates":true} 
[2026-07-25 21:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958433792001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110410513824874496,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086927066949203968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:14] 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-07-25 21:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784993883000,"timestamp_ms":1784993883000,"timestamp_seconds":1784993883,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ed2378"} 
[2026-07-25 21:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958433792001,"66":11874,"111":206,"85":15104,"24":8,"16":110410513824874496,"45":9086927066949203968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 21:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958433792001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:14] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 21:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110410513824874496,"km_value":110410513824874.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086927066949203968,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958433792001,"power":11874,"unknown_111":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9086927066949203968}} 
[2026-07-25 21:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":142363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:14] local.INFO: GPS data processed {"connection_id":142363,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:14] local.INFO: Acknowledgment sent {"connection_id":142363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:26] local.INFO: TCP Data received {"connection_id":141337,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:08:26] local.INFO: Processing buffer {"connection_id":141337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:08:26] local.INFO: Packet analysis {"connection_id":141337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:08:26] local.INFO: Extracted packet for processing {"connection_id":141337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:08:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08: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-07-25 21:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":141337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544923,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:26] local.INFO: GPS data processed {"connection_id":141337,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:26] local.INFO: Acknowledgment sent {"connection_id":141337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:31] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:08:31] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:08:31] local.INFO: IMEI packet received {"connection_id":143740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:08:36] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:08:36] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:08:36] local.INFO: IMEI packet received {"connection_id":143740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":143740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:08:37] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:37] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:37] local.INFO: Packet analysis {"connection_id":143740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:08:37] local.INFO: Extracted packet for processing {"connection_id":143740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21: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-07-25 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:08:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":143740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:37] local.INFO: GPS data processed {"connection_id":143740,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:37] local.INFO: Acknowledgment sent {"connection_id":143740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:38] local.INFO: TCP Data received {"connection_id":142364,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:08:38] local.INFO: Processing buffer {"connection_id":142364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:08:38] local.INFO: Packet analysis {"connection_id":142364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:08:38] local.INFO: Extracted packet for processing {"connection_id":142364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":142364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:38] local.INFO: GPS data processed {"connection_id":142364,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:38] local.INFO: Acknowledgment sent {"connection_id":142364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:41] local.INFO: TCP Data received {"connection_id":143740,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:41] local.INFO: Processing buffer {"connection_id":143740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:08:41] local.INFO: Packet analysis {"connection_id":143740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:08:41] local.INFO: Extracted packet for processing {"connection_id":143740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":143740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:41] local.INFO: GPS data processed {"connection_id":143740,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:41] local.INFO: Acknowledgment sent {"connection_id":143740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:45] local.INFO: TCP Data received {"connection_id":142363,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ed2760012d7e190005d56418000a010816..."} 
[2026-07-25 21:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ed2760012d7e190005d56418000a010816..."} 
[2026-07-25 21:08:45] local.INFO: Processing buffer {"connection_id":142363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ed2760012d7e190005d56418000a010816..."} 
[2026-07-25 21:08:45] local.INFO: Packet analysis {"connection_id":142363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:08:45] local.INFO: Extracted packet for processing {"connection_id":142363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:08:45] local.INFO: GPS Element Parsed {"raw_longitude":763238656,"raw_latitude":97870872,"longitude_deg":76.3238656,"latitude_deg":9.7870872,"altitude":10,"angle":264,"satellites":22,"speed":11,"hex_longitude":"2d7e1900","hex_latitude":"05d56418","is_valid_coordinates":true} 
[2026-07-25 21:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958434048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110410526709776384,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086645591972515840,"note":"Value kept but may cause issues"} 
[2026-07-25 21:08:45] 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-07-25 21:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784993884000,"timestamp_ms":1784993884000,"timestamp_seconds":1784993884,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ed2760"} 
[2026-07-25 21:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 21:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958434048001,"66":11743,"111":206,"85":15104,"24":11,"16":110410526709776384,"45":9086645591972515840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 21:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958434048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110410526709776384,"km_value":110410526709776.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086645591972515840,"description":"Unknown IO ID 45"} 
[2026-07-25 21:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958434048001,"power":11743,"unknown_111":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9086645591972515840}} 
[2026-07-25 21:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":142363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:08:45] local.INFO: GPS data processed {"connection_id":142363,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:08:45] local.INFO: Acknowledgment sent {"connection_id":142363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:08:54] local.INFO: TCP Data received {"connection_id":142365,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:08:54] local.INFO: Processing buffer {"connection_id":142365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:08:54] local.INFO: IMEI packet received {"connection_id":142365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":142365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:08:55] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:55] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:08:55] local.INFO: IMEI packet received {"connection_id":141338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":141338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:08:59] local.INFO: TCP Data received {"connection_id":142365,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:08:59] local.INFO: Processing buffer {"connection_id":142365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:08:59] local.INFO: IMEI packet received {"connection_id":142365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":142365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:00] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:09:00] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:09:00] local.INFO: IMEI packet received {"connection_id":141338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":141338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:00] local.INFO: TCP Data received {"connection_id":142365,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:00] local.INFO: Processing buffer {"connection_id":142365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:00] local.INFO: Packet analysis {"connection_id":142365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:09:00] local.INFO: Extracted packet for processing {"connection_id":142365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09: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-07-25 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":142365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:00] local.INFO: GPS data processed {"connection_id":142365,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:00] local.INFO: Acknowledgment sent {"connection_id":142365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:01] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:09:01] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:09:01] local.INFO: Packet analysis {"connection_id":141338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:09:01] local.INFO: Extracted packet for processing {"connection_id":141338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:09:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":141338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:01] local.INFO: GPS data processed {"connection_id":141338,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:01] local.INFO: Acknowledgment sent {"connection_id":141338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:05] local.INFO: TCP Data received {"connection_id":142365,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:05] local.INFO: Processing buffer {"connection_id":142365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:05] local.INFO: Packet analysis {"connection_id":142365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:09:05] local.INFO: Extracted packet for processing {"connection_id":142365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:09:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09: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-07-25 21:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":142365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:05] local.INFO: GPS data processed {"connection_id":142365,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:05] local.INFO: Acknowledgment sent {"connection_id":142365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:08] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:09:08] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:09:08] local.INFO: IMEI packet received {"connection_id":141339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":141339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:09:11] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 21:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 21:09:11] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 21:09:11] local.INFO: IMEI packet received {"connection_id":141339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":141339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:16] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:09:16] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-25 21:09:16] local.INFO: IMEI packet received {"connection_id":141339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":141339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:17] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eddef8012d7dc60005d57dd8000c012e16..."} 
[2026-07-25 21:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eddef8012d7dc60005d57dd8000c012e16..."} 
[2026-07-25 21:09:17] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f99..."} 
[2026-07-25 21:09:17] local.INFO: IMEI packet received {"connection_id":141339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":141339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:21] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ede2e0012d7dc48005d57e38000c011716..."} 
[2026-07-25 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ede2e0012d7dc48005d57e38000c011716..."} 
[2026-07-25 21:09:21] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f99eddef8012d7dc60005d57dd8000c012e16..."} 
[2026-07-25 21:09:21] local.INFO: Packet analysis {"connection_id":141339,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:09:21] local.INFO: Extracted packet for processing {"connection_id":141339,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763217408,"raw_latitude":97877464,"longitude_deg":76.3217408,"latitude_deg":9.7877464,"altitude":12,"angle":302,"satellites":22,"speed":13,"hex_longitude":"2d7dc600","hex_latitude":"05d57dd8","is_valid_coordinates":true} 
[2026-07-25 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958444800001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110411673466044416,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064338700069304320,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784993931000,"timestamp_ms":1784993931000,"timestamp_seconds":1784993931,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eddef8"} 
[2026-07-25 21:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958444800001,"66":12069,"111":206,"85":15104,"24":13,"16":110411673466044416,"45":9064338700069304320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958444800001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110411673466044416,"km_value":110411673466044.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064338700069304320,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958444800001,"power":12069,"unknown_111":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9064338700069304320}} 
[2026-07-25 21:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":141339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:21] local.INFO: GPS data processed {"connection_id":141339,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:21] local.INFO: Acknowledgment sent {"connection_id":141339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:21] local.INFO: Packet analysis {"connection_id":141339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:09:21] local.INFO: Extracted packet for processing {"connection_id":141339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":763217024,"raw_latitude":97877560,"longitude_deg":76.3217024,"latitude_deg":9.787756,"altitude":12,"angle":279,"satellites":22,"speed":14,"hex_longitude":"2d7dc480","hex_latitude":"05d57e38","is_valid_coordinates":true} 
[2026-07-25 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958446336001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110411694940880896,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062931325186332672,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784993932000,"timestamp_ms":1784993932000,"timestamp_seconds":1784993932,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ede2e0"} 
[2026-07-25 21:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958446336001,"66":11547,"111":206,"85":15104,"24":14,"16":110411694940880896,"45":9062931325186332672},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 21:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958446336001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110411694940880896,"km_value":110411694940880.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062931325186332672,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958446336001,"power":11547,"unknown_111":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9062931325186332672}} 
[2026-07-25 21:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":141339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:21] local.INFO: GPS data processed {"connection_id":141339,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:21] local.INFO: Acknowledgment sent {"connection_id":141339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:22] local.INFO: TCP Data received {"connection_id":141339,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ede6c8012d7dc2c005d57de0000c010016..."} 
[2026-07-25 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ede6c8012d7dc2c005d57de0000c010016..."} 
[2026-07-25 21:09:22] local.INFO: Processing buffer {"connection_id":141339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ede6c8012d7dc2c005d57de0000c010016..."} 
[2026-07-25 21:09:22] local.INFO: Packet analysis {"connection_id":141339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:09:22] local.INFO: Extracted packet for processing {"connection_id":141339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ed"} 
[2026-07-25 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":763216576,"raw_latitude":97877472,"longitude_deg":76.3216576,"latitude_deg":9.7877472,"altitude":12,"angle":256,"satellites":22,"speed":16,"hex_longitude":"2d7dc2c0","hex_latitude":"05d57de0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958446592001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110411716415717376,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062509112721291264,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:22] 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-07-25 21:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1784993933000,"timestamp_ms":1784993933000,"timestamp_seconds":1784993933,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ede6c8"} 
[2026-07-25 21:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":141339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":141339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":141339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958446592001,"66":11547,"111":206,"85":15104,"24":16,"16":110411716415717376,"45":9062509112721291264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-07-25 21:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958446592001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-25 21:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110411716415717376,"km_value":110411716415717.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062509112721291264,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958446592001,"power":11547,"unknown_111":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9062509112721291264}} 
[2026-07-25 21:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":141339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:22] local.INFO: GPS data processed {"connection_id":141339,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:22] local.INFO: Acknowledgment sent {"connection_id":141339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:26] local.INFO: TCP Data received {"connection_id":142366,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:09:26] local.INFO: Processing buffer {"connection_id":142366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:09:26] local.INFO: IMEI packet received {"connection_id":142366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":142366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:09:31] local.INFO: TCP Data received {"connection_id":142366,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:09:31] local.INFO: Processing buffer {"connection_id":142366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:09:31] local.INFO: IMEI packet received {"connection_id":142366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":142366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:32] local.INFO: TCP Data received {"connection_id":142366,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:09:32] local.INFO: Processing buffer {"connection_id":142366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99e9b0a8012d196400071fefb00041006e28..."} 
[2026-07-25 21:09:32] local.INFO: Packet analysis {"connection_id":142366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:09:32] local.INFO: Extracted packet for processing {"connection_id":142366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99e9"} 
[2026-07-25 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958299136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993657000,"timestamp_ms":1784993657000,"timestamp_seconds":1784993657,"priority":1,"record_length":96,"hex_timestamp":"0000019f99e9b0a8"} 
[2026-07-25 21:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958299136001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958299136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958299136001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":142366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:32] local.INFO: GPS data processed {"connection_id":142366,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:32] local.INFO: Acknowledgment sent {"connection_id":142366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:32] local.INFO: TCP Data received {"connection_id":141338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:09:32] local.INFO: Processing buffer {"connection_id":141338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:09:32] local.INFO: Packet analysis {"connection_id":141338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:09:32] local.INFO: Extracted packet for processing {"connection_id":141338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:09: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-07-25 21:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":141338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:32] local.INFO: GPS data processed {"connection_id":141338,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:32] local.INFO: Acknowledgment sent {"connection_id":141338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:09:49] local.INFO: TCP Data received {"connection_id":143741,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:09:49] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:09:49] local.INFO: IMEI packet received {"connection_id":143741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":143741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:09:54] local.INFO: TCP Data received {"connection_id":143741,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:09:54] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:09:54] local.INFO: IMEI packet received {"connection_id":143741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":143741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:09:54] local.INFO: TCP Data received {"connection_id":141380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:09:54] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:09:54] local.INFO: IMEI packet received {"connection_id":141380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":141380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:09:55] local.INFO: TCP Data received {"connection_id":143741,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:55] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:09:55] local.INFO: Packet analysis {"connection_id":143741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:09:55] local.INFO: Extracted packet for processing {"connection_id":143741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:09: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-07-25 21: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-07-25 21:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:09:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":143741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:09:55] local.INFO: GPS data processed {"connection_id":143741,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:09:55] local.INFO: Acknowledgment sent {"connection_id":143741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:10:00] local.INFO: TCP Data received {"connection_id":141380,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:10:00] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:10:00] local.INFO: IMEI packet received {"connection_id":141380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":141380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:10:00] local.INFO: TCP Data received {"connection_id":141380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:10:00] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:10:00] local.INFO: Packet analysis {"connection_id":141380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:10:00] local.INFO: Extracted packet for processing {"connection_id":141380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:10:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:10: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-07-25 21: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-07-25 21:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:10:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:10:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":141380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:10:00] local.INFO: GPS data processed {"connection_id":141380,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:10:00] local.INFO: Acknowledgment sent {"connection_id":141380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:10:03] local.INFO: TCP Data received {"connection_id":142366,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:10:03] local.INFO: Processing buffer {"connection_id":142366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:10:03] local.INFO: Packet analysis {"connection_id":142366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:10:03] local.INFO: Extracted packet for processing {"connection_id":142366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:10: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-07-25 21: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-07-25 21:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:10:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:10:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":142366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:10:03] local.INFO: GPS data processed {"connection_id":142366,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:10:03] local.INFO: Acknowledgment sent {"connection_id":142366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:10:04] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:04] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:04] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:10:05] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:05] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:05] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:10:06] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:06] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:06] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:10:06] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:06] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:10:06] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:10:26] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:10:26] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:10:26] local.INFO: IMEI packet received {"connection_id":141340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":141340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:10:26] local.INFO: TCP Data received {"connection_id":143741,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:10:26] local.INFO: Processing buffer {"connection_id":143741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:10:26] local.INFO: Packet analysis {"connection_id":143741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:10:26] local.INFO: Extracted packet for processing {"connection_id":143741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:10:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:10: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-07-25 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:10:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":143741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:10:26] local.INFO: GPS data processed {"connection_id":143741,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:10:26] local.INFO: Acknowledgment sent {"connection_id":143741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:10:31] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:10:31] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:10:31] local.INFO: IMEI packet received {"connection_id":141340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":141340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:10:32] local.INFO: TCP Data received {"connection_id":141380,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:10:32] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:10:32] local.INFO: Packet analysis {"connection_id":141380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:10:32] local.INFO: Extracted packet for processing {"connection_id":141380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:10:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:10: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-07-25 21:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":141380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:10:32] local.INFO: GPS data processed {"connection_id":141380,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:10:32] local.INFO: Acknowledgment sent {"connection_id":141380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:10:32] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:10:32] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:10:32] local.INFO: Packet analysis {"connection_id":141340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:10:32] local.INFO: Extracted packet for processing {"connection_id":141340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":141340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:10:32] local.INFO: GPS data processed {"connection_id":141340,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:10:32] local.INFO: Acknowledgment sent {"connection_id":141340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:10:49] local.INFO: TCP Data received {"connection_id":142367,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:10:49] local.INFO: Processing buffer {"connection_id":142367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:10:49] local.INFO: IMEI packet received {"connection_id":142367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":142367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:10:54] local.INFO: TCP Data received {"connection_id":142367,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:10:54] local.INFO: Processing buffer {"connection_id":142367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:10:54] local.INFO: IMEI packet received {"connection_id":142367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":142367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:10:54] local.INFO: TCP Data received {"connection_id":142368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:10:54] local.INFO: Processing buffer {"connection_id":142368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:10:54] local.INFO: IMEI packet received {"connection_id":142368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":142368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:10:55] local.INFO: TCP Data received {"connection_id":142367,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:10:55] local.INFO: Processing buffer {"connection_id":142367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99eb0868012d77a94005f27b900013016323..."} 
[2026-07-25 21:10:55] local.INFO: Packet analysis {"connection_id":142367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:10:55] local.INFO: Extracted packet for processing {"connection_id":142367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99eb"} 
[2026-07-25 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958321664001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784993745000,"timestamp_ms":1784993745000,"timestamp_seconds":1784993745,"priority":1,"record_length":96,"hex_timestamp":"0000019f99eb0868"} 
[2026-07-25 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:10: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-07-25 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958321664001,"66":25419,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958321664001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:10:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958321664001,"power":25419,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":142367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:10:55] local.INFO: GPS data processed {"connection_id":142367,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:10:55] local.INFO: Acknowledgment sent {"connection_id":142367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:11:00] local.INFO: TCP Data received {"connection_id":142368,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:11:00] local.INFO: Processing buffer {"connection_id":142368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:11:00] local.INFO: IMEI packet received {"connection_id":142368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":142368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:11:01] local.INFO: TCP Data received {"connection_id":142368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:11:01] local.INFO: Processing buffer {"connection_id":142368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:11:01] local.INFO: Packet analysis {"connection_id":142368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:11:01] local.INFO: Extracted packet for processing {"connection_id":142368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:11:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:11:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":142368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:11:01] local.INFO: GPS data processed {"connection_id":142368,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:11:01] local.INFO: Acknowledgment sent {"connection_id":142368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:11:03] local.INFO: TCP Data received {"connection_id":141340,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:11:03] local.INFO: Processing buffer {"connection_id":141340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:11:03] local.INFO: Packet analysis {"connection_id":141340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:11:03] local.INFO: Extracted packet for processing {"connection_id":141340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:11: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-07-25 21:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":141340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:11:03] local.INFO: GPS data processed {"connection_id":141340,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:11:03] local.INFO: Acknowledgment sent {"connection_id":141340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:11:26] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:11:26] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:11:26] local.INFO: IMEI packet received {"connection_id":143743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":143743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:11:27] local.INFO: TCP Data received {"connection_id":142367,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:11:27] local.INFO: Processing buffer {"connection_id":142367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:11:27] local.INFO: Packet analysis {"connection_id":142367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:11:27] local.INFO: Extracted packet for processing {"connection_id":142367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:11:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":142367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:11:27] local.INFO: GPS data processed {"connection_id":142367,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:11:27] local.INFO: Acknowledgment sent {"connection_id":142367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:11:31] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:11:31] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:11:31] local.INFO: IMEI packet received {"connection_id":143743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":143743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:11:32] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:11:32] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:11:32] local.INFO: Packet analysis {"connection_id":143743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:11:32] local.INFO: Extracted packet for processing {"connection_id":143743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":143743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:11:32] local.INFO: GPS data processed {"connection_id":143743,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:11:32] local.INFO: Acknowledgment sent {"connection_id":143743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:11:32] local.INFO: TCP Data received {"connection_id":142368,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:11:32] local.INFO: Processing buffer {"connection_id":142368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:11:32] local.INFO: Packet analysis {"connection_id":142368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:11:32] local.INFO: Extracted packet for processing {"connection_id":142368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:11:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:11: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-07-25 21:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":142368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:11:32] local.INFO: GPS data processed {"connection_id":142368,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:11:32] local.INFO: Acknowledgment sent {"connection_id":142368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:11:54] local.INFO: TCP Data received {"connection_id":142370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:11:54] local.INFO: Processing buffer {"connection_id":142370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:11:54] local.INFO: IMEI packet received {"connection_id":142370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":142370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:11:58] local.INFO: TCP Data received {"connection_id":142369,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:11:58] local.INFO: Processing buffer {"connection_id":142369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:11:58] local.INFO: IMEI packet received {"connection_id":142369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":142369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:11:59] local.INFO: TCP Data received {"connection_id":142369,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:11:59] local.INFO: Processing buffer {"connection_id":142369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:11:59] local.INFO: IMEI packet received {"connection_id":142369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":142369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:12:00] local.INFO: TCP Data received {"connection_id":142370,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:12:00] local.INFO: Processing buffer {"connection_id":142370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:12:00] local.INFO: IMEI packet received {"connection_id":142370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":142370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:12:00] local.INFO: TCP Data received {"connection_id":142369,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:00] local.INFO: Processing buffer {"connection_id":142369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:00] local.INFO: Packet analysis {"connection_id":142369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:12:00] local.INFO: Extracted packet for processing {"connection_id":142369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":142369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:00] local.INFO: GPS data processed {"connection_id":142369,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:00] local.INFO: Acknowledgment sent {"connection_id":142369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:00] local.INFO: TCP Data received {"connection_id":142370,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:12:00] local.INFO: Processing buffer {"connection_id":142370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ec0268012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:12:00] local.INFO: Packet analysis {"connection_id":142370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:12:00] local.INFO: Extracted packet for processing {"connection_id":142370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ec"} 
[2026-07-25 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958338048001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784993809000,"timestamp_ms":1784993809000,"timestamp_seconds":1784993809,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ec0268"} 
[2026-07-25 21:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:12: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-07-25 21: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-07-25 21:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958338048001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958338048001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958338048001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":142370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:00] local.INFO: GPS data processed {"connection_id":142370,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:00] local.INFO: Acknowledgment sent {"connection_id":142370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:01] local.INFO: TCP Data received {"connection_id":142369,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:01] local.INFO: Processing buffer {"connection_id":142369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:01] local.INFO: Packet analysis {"connection_id":142369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:12:01] local.INFO: Extracted packet for processing {"connection_id":142369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:12:01] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":142369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:01] local.INFO: GPS data processed {"connection_id":142369,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:01] local.INFO: Acknowledgment sent {"connection_id":142369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:03] local.INFO: TCP Data received {"connection_id":143743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:12:03] local.INFO: Processing buffer {"connection_id":143743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:12:03] local.INFO: Packet analysis {"connection_id":143743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:12:03] local.INFO: Extracted packet for processing {"connection_id":143743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:12: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-07-25 21: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-07-25 21:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":143743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:03] local.INFO: GPS data processed {"connection_id":143743,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:03] local.INFO: Acknowledgment sent {"connection_id":143743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:26] local.INFO: TCP Data received {"connection_id":142371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:12:26] local.INFO: Processing buffer {"connection_id":142371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:12:26] local.INFO: IMEI packet received {"connection_id":142371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":142371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:12:31] local.INFO: TCP Data received {"connection_id":142371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:12:31] local.INFO: Processing buffer {"connection_id":142371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:12:31] local.INFO: IMEI packet received {"connection_id":142371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":142371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:12:32] local.INFO: TCP Data received {"connection_id":142370,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:12:32] local.INFO: Processing buffer {"connection_id":142370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:12:32] local.INFO: Packet analysis {"connection_id":142370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:12:32] local.INFO: Extracted packet for processing {"connection_id":142370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:12:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:12: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-07-25 21: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-07-25 21:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":142370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:32] local.INFO: GPS data processed {"connection_id":142370,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:32] local.INFO: Acknowledgment sent {"connection_id":142370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:32] local.INFO: TCP Data received {"connection_id":142371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:12:32] local.INFO: Processing buffer {"connection_id":142371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:12:32] local.INFO: Packet analysis {"connection_id":142371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:12:32] local.INFO: Extracted packet for processing {"connection_id":142371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":142371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:32] local.INFO: GPS data processed {"connection_id":142371,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:32] local.INFO: Acknowledgment sent {"connection_id":142371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:32] local.INFO: TCP Data received {"connection_id":142369,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:32] local.INFO: Processing buffer {"connection_id":142369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:12:32] local.INFO: Packet analysis {"connection_id":142369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:12:32] local.INFO: Extracted packet for processing {"connection_id":142369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:12:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":142369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:12:32] local.INFO: GPS data processed {"connection_id":142369,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:12:32] local.INFO: Acknowledgment sent {"connection_id":142369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:12:54] local.INFO: TCP Data received {"connection_id":142372,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:12:54] local.INFO: Processing buffer {"connection_id":142372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:12:54] local.INFO: IMEI packet received {"connection_id":142372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":142372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:12:59] local.INFO: TCP Data received {"connection_id":142372,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:12:59] local.INFO: Processing buffer {"connection_id":142372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:12:59] local.INFO: IMEI packet received {"connection_id":142372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":142372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:13:00] local.INFO: TCP Data received {"connection_id":142373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:00] local.INFO: Processing buffer {"connection_id":142373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:00] local.INFO: IMEI packet received {"connection_id":142373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":142373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:13:00] local.INFO: TCP Data received {"connection_id":142372,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:00] local.INFO: Processing buffer {"connection_id":142372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:00] local.INFO: Packet analysis {"connection_id":142372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:13:00] local.INFO: Extracted packet for processing {"connection_id":142372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":142372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:00] local.INFO: GPS data processed {"connection_id":142372,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:00] local.INFO: Acknowledgment sent {"connection_id":142372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:03] local.INFO: TCP Data received {"connection_id":142371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:03] local.INFO: Processing buffer {"connection_id":142371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:03] local.INFO: Packet analysis {"connection_id":142371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:13:03] local.INFO: Extracted packet for processing {"connection_id":142371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:13: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-07-25 21: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-07-25 21:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":142371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:03] local.INFO: GPS data processed {"connection_id":142371,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:03] local.INFO: Acknowledgment sent {"connection_id":142371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:04] local.INFO: TCP Data received {"connection_id":142372,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:04] local.INFO: Processing buffer {"connection_id":142372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:04] local.INFO: Packet analysis {"connection_id":142372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:13:04] local.INFO: Extracted packet for processing {"connection_id":142372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":142372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:04] local.INFO: GPS data processed {"connection_id":142372,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:04] local.INFO: Acknowledgment sent {"connection_id":142372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:05] local.INFO: TCP Data received {"connection_id":142373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:05] local.INFO: Processing buffer {"connection_id":142373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:05] local.INFO: IMEI packet received {"connection_id":142373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":142373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:13:06] local.INFO: TCP Data received {"connection_id":142373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:13:06] local.INFO: Processing buffer {"connection_id":142373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:13:06] local.INFO: Packet analysis {"connection_id":142373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:13:06] local.INFO: Extracted packet for processing {"connection_id":142373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:13: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-07-25 21:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":142373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:06] local.INFO: GPS data processed {"connection_id":142373,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:06] local.INFO: Acknowledgment sent {"connection_id":142373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:10] local.INFO: TCP Data received {"connection_id":142373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:13:10] local.INFO: Processing buffer {"connection_id":142373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:13:10] local.INFO: Packet analysis {"connection_id":142373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:13:10] local.INFO: Extracted packet for processing {"connection_id":142373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":142373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:10] local.INFO: GPS data processed {"connection_id":142373,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:10] local.INFO: Acknowledgment sent {"connection_id":142373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:31] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:13:31] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:13:31] local.INFO: IMEI packet received {"connection_id":143744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":143744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:13:36] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:13:36] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:13:36] local.INFO: IMEI packet received {"connection_id":143744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":143744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:13:37] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:37] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:37] local.INFO: Packet analysis {"connection_id":143744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:13:37] local.INFO: Extracted packet for processing {"connection_id":143744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13: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-07-25 21:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":143744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:37] local.INFO: GPS data processed {"connection_id":143744,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:37] local.INFO: Acknowledgment sent {"connection_id":143744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:41] local.INFO: TCP Data received {"connection_id":143744,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:41] local.INFO: Processing buffer {"connection_id":143744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:13:41] local.INFO: Packet analysis {"connection_id":143744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:13:41] local.INFO: Extracted packet for processing {"connection_id":143744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":143744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":143744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":143744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":143744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:41] local.INFO: GPS data processed {"connection_id":143744,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:41] local.INFO: Acknowledgment sent {"connection_id":143744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:49] local.INFO: TCP Data received {"connection_id":142375,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:13:49] local.INFO: Processing buffer {"connection_id":142375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:13:49] local.INFO: IMEI packet received {"connection_id":142375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":142375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:13:54] local.INFO: TCP Data received {"connection_id":142375,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:13:54] local.INFO: Processing buffer {"connection_id":142375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:13:54] local.INFO: IMEI packet received {"connection_id":142375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":142375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:13:55] local.INFO: TCP Data received {"connection_id":142375,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:55] local.INFO: Processing buffer {"connection_id":142375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:13:55] local.INFO: Packet analysis {"connection_id":142375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:13:55] local.INFO: Extracted packet for processing {"connection_id":142375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:13:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":142375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:13:55] local.INFO: GPS data processed {"connection_id":142375,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:13:55] local.INFO: Acknowledgment sent {"connection_id":142375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:13:55] local.INFO: TCP Data received {"connection_id":142376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:55] local.INFO: Processing buffer {"connection_id":142376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:13:55] local.INFO: IMEI packet received {"connection_id":142376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":142376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:14:00] local.INFO: TCP Data received {"connection_id":142376,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:14:00] local.INFO: Processing buffer {"connection_id":142376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:14:00] local.INFO: IMEI packet received {"connection_id":142376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":142376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:14:00] local.INFO: TCP Data received {"connection_id":142376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:14:00] local.INFO: Processing buffer {"connection_id":142376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:14:00] local.INFO: Packet analysis {"connection_id":142376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:14:00] local.INFO: Extracted packet for processing {"connection_id":142376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:14:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:14: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-07-25 21:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:14:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":142376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:14:00] local.INFO: GPS data processed {"connection_id":142376,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:14:00] local.INFO: Acknowledgment sent {"connection_id":142376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:14:26] local.INFO: TCP Data received {"connection_id":141382,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:14:26] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:14:26] local.INFO: IMEI packet received {"connection_id":141382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":141382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:14:28] local.INFO: TCP Data received {"connection_id":142375,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:14:28] local.INFO: Processing buffer {"connection_id":142375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:14:28] local.INFO: Packet analysis {"connection_id":142375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:14:28] local.INFO: Extracted packet for processing {"connection_id":142375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:14:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":142375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:14:28] local.INFO: GPS data processed {"connection_id":142375,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:14:28] local.INFO: Acknowledgment sent {"connection_id":142375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:14:31] local.INFO: TCP Data received {"connection_id":141382,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:14:31] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:14:31] local.INFO: IMEI packet received {"connection_id":141382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":141382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:14:32] local.INFO: TCP Data received {"connection_id":141382,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:14:32] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ee4870012d196400071fefb00041006e29..."} 
[2026-07-25 21:14:32] local.INFO: Packet analysis {"connection_id":141382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:14:32] local.INFO: Extracted packet for processing {"connection_id":141382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ee"} 
[2026-07-25 21:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":65,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958376192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784993958000,"timestamp_ms":1784993958000,"timestamp_seconds":1784993958,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ee4870"} 
[2026-07-25 21:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958376192001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958376192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958376192001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":141382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:14:32] local.INFO: GPS data processed {"connection_id":141382,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:14:32] local.INFO: Acknowledgment sent {"connection_id":141382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:14:32] local.INFO: TCP Data received {"connection_id":142376,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:14:32] local.INFO: Processing buffer {"connection_id":142376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:14:32] local.INFO: Packet analysis {"connection_id":142376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:14:32] local.INFO: Extracted packet for processing {"connection_id":142376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:14:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:14: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-07-25 21:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":142376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:14:32] local.INFO: GPS data processed {"connection_id":142376,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:14:32] local.INFO: Acknowledgment sent {"connection_id":142376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:14:49] local.INFO: TCP Data received {"connection_id":143746,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:14:49] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:14:49] local.INFO: IMEI packet received {"connection_id":143746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":143746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:14:54] local.INFO: TCP Data received {"connection_id":143746,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:14:54] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:14:54] local.INFO: IMEI packet received {"connection_id":143746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":143746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:14:55] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:14:55] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:14:55] local.INFO: IMEI packet received {"connection_id":141383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":141383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:14:55] local.INFO: TCP Data received {"connection_id":143746,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:14:55] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:14:55] local.INFO: Packet analysis {"connection_id":143746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:14:55] local.INFO: Extracted packet for processing {"connection_id":143746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":143746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:14:55] local.INFO: GPS data processed {"connection_id":143746,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:14:55] local.INFO: Acknowledgment sent {"connection_id":143746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:00] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:15:00] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:15:00] local.INFO: IMEI packet received {"connection_id":141383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":141383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:15:00] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:15:00] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:15:00] local.INFO: Packet analysis {"connection_id":141383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:15:00] local.INFO: Extracted packet for processing {"connection_id":141383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:15:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:15: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-07-25 21:15: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-07-25 21:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":141383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:00] local.INFO: GPS data processed {"connection_id":141383,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:00] local.INFO: Acknowledgment sent {"connection_id":141383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:03] local.INFO: TCP Data received {"connection_id":141382,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:15:03] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:15:03] local.INFO: Packet analysis {"connection_id":141382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:03] local.INFO: Extracted packet for processing {"connection_id":141382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:15: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-07-25 21:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":141382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:03] local.INFO: GPS data processed {"connection_id":141382,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:03] local.INFO: Acknowledgment sent {"connection_id":141382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:11] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:15:11] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:15:11] local.INFO: IMEI packet received {"connection_id":141342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":141342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:15:12] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2a1b8012d7c874005d926c0000001621a..."} 
[2026-07-25 21:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2a1b8012d7c874005d926c0000001621a..."} 
[2026-07-25 21:15:12] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2a1b8012d7c874005d926c0000001621a..."} 
[2026-07-25 21:15:12] local.INFO: Packet analysis {"connection_id":141342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:12] local.INFO: Extracted packet for processing {"connection_id":141342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:12] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98117312,"longitude_deg":76.3135808,"latitude_deg":9.8117312,"altitude":0,"angle":354,"satellites":26,"speed":38,"hex_longitude":"2d7c8740","hex_latitude":"05d926c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958523904001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110425649289625600,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974196338837422080,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784994243000,"timestamp_ms":1784994243000,"timestamp_seconds":1784994243,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2a1b8"} 
[2026-07-25 21:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15: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-07-25 21: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 21:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958523904001,"66":11721,"197":206,"85":15104,"24":38,"16":110425649289625600,"45":8974196338837422080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-25 21:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958523904001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 21:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110425649289625600,"km_value":110425649289625.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974196338837422080,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958523904001,"power":11721,"unknown_197":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8974196338837422080}} 
[2026-07-25 21:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":141342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:12] local.INFO: GPS data processed {"connection_id":141342,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:12] local.INFO: Acknowledgment sent {"connection_id":141342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:26] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:15:26] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:15:26] local.INFO: IMEI packet received {"connection_id":141384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":141384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:15:26] local.INFO: TCP Data received {"connection_id":143746,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:15:26] local.INFO: Processing buffer {"connection_id":143746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:15:26] local.INFO: Packet analysis {"connection_id":143746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:15:26] local.INFO: Extracted packet for processing {"connection_id":143746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:15:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":143746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:26] local.INFO: GPS data processed {"connection_id":143746,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:26] local.INFO: Acknowledgment sent {"connection_id":143746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:31] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:15:31] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:15:31] local.INFO: IMEI packet received {"connection_id":141384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":141384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:15:32] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:15:32] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:15:32] local.INFO: Packet analysis {"connection_id":141383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:15:32] local.INFO: Extracted packet for processing {"connection_id":141383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:15: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-07-25 21:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":141383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:32] local.INFO: GPS data processed {"connection_id":141383,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:32] local.INFO: Acknowledgment sent {"connection_id":141383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:32] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:15:32] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:15:32] local.INFO: Packet analysis {"connection_id":141384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:32] local.INFO: Extracted packet for processing {"connection_id":141384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":141384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:32] local.INFO: GPS data processed {"connection_id":141384,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:32] local.INFO: Acknowledgment sent {"connection_id":141384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:43] local.INFO: TCP Data received {"connection_id":141342,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2c8c8012d7c83c005d949480000016119..."} 
[2026-07-25 21:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2c8c8012d7c83c005d949480000016119..."} 
[2026-07-25 21:15:43] local.INFO: Processing buffer {"connection_id":141342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2c8c8012d7c83c005d949480000016119..."} 
[2026-07-25 21:15:43] local.INFO: Packet analysis {"connection_id":141342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:43] local.INFO: Extracted packet for processing {"connection_id":141342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:15:43] local.INFO: GPS Element Parsed {"raw_longitude":763134912,"raw_latitude":98126152,"longitude_deg":76.3134912,"latitude_deg":9.8126152,"altitude":0,"angle":353,"satellites":25,"speed":36,"hex_longitude":"2d7c83c0","hex_latitude":"05d94948","is_valid_coordinates":true} 
[2026-07-25 21:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958526208001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110426083081322496,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176421212160,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784994253000,"timestamp_ms":1784994253000,"timestamp_seconds":1784994253,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2c8c8"} 
[2026-07-25 21:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 21:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958526208001,"66":11917,"197":206,"85":15104,"24":36,"16":110426083081322496,"45":8973211176421212160},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-07-25 21:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958526208001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 21:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110426083081322496,"km_value":110426083081322.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176421212160,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958526208001,"power":11917,"unknown_197":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8973211176421212160}} 
[2026-07-25 21:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":141342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:43] local.INFO: GPS data processed {"connection_id":141342,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:43] local.INFO: Acknowledgment sent {"connection_id":141342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:15:49] local.INFO: TCP Data received {"connection_id":143747,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:15:49] local.INFO: Processing buffer {"connection_id":143747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:15:49] local.INFO: IMEI packet received {"connection_id":143747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":143747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:15:54] local.INFO: TCP Data received {"connection_id":143747,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:15:54] local.INFO: Processing buffer {"connection_id":143747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:15:54] local.INFO: IMEI packet received {"connection_id":143747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":143747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:15:54] local.INFO: TCP Data received {"connection_id":142377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:15:54] local.INFO: Processing buffer {"connection_id":142377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:15:54] local.INFO: IMEI packet received {"connection_id":142377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":142377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:15:55] local.INFO: TCP Data received {"connection_id":143747,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:15:55] local.INFO: Processing buffer {"connection_id":143747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99efa030012d77a94005f27b900013016323..."} 
[2026-07-25 21:15:55] local.INFO: Packet analysis {"connection_id":143747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:15:55] local.INFO: Extracted packet for processing {"connection_id":143747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ef"} 
[2026-07-25 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958398720001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994046000,"timestamp_ms":1784994046000,"timestamp_seconds":1784994046,"priority":1,"record_length":96,"hex_timestamp":"0000019f99efa030"} 
[2026-07-25 21:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-25 21:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958398720001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958398720001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958398720001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":143747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:15:55] local.INFO: GPS data processed {"connection_id":143747,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:15:55] local.INFO: Acknowledgment sent {"connection_id":143747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:00] local.INFO: TCP Data received {"connection_id":142377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:16:00] local.INFO: Processing buffer {"connection_id":142377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:16:00] local.INFO: IMEI packet received {"connection_id":142377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":142377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:16:01] local.INFO: TCP Data received {"connection_id":142377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:16:01] local.INFO: Processing buffer {"connection_id":142377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:16:01] local.INFO: Packet analysis {"connection_id":142377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:16:01] local.INFO: Extracted packet for processing {"connection_id":142377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:16: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-07-25 21:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":142377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:01] local.INFO: GPS data processed {"connection_id":142377,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:01] local.INFO: Acknowledgment sent {"connection_id":142377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:03] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:16:03] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:16:03] local.INFO: Packet analysis {"connection_id":141384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:16:03] local.INFO: Extracted packet for processing {"connection_id":141384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:16: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-07-25 21: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-07-25 21:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":141384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:03] local.INFO: GPS data processed {"connection_id":141384,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:03] local.INFO: Acknowledgment sent {"connection_id":141384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:05] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:05] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:05] local.INFO: IMEI packet received {"connection_id":141343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":141343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:16:07] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:07] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:07] local.INFO: IMEI packet received {"connection_id":141343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":141343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:16:11] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:11] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:16:11] local.INFO: IMEI packet received {"connection_id":141343,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":141343,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:16:12] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2efd8012d7c800005d96ea80000016118..."} 
[2026-07-25 21:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2efd8012d7c800005d96ea80000016118..."} 
[2026-07-25 21:16:12] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2efd8012d7c800005d96ea80000016118..."} 
[2026-07-25 21:16:12] local.INFO: Packet analysis {"connection_id":141343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:16:12] local.INFO: Extracted packet for processing {"connection_id":141343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763133952,"raw_latitude":98135720,"longitude_deg":76.3133952,"latitude_deg":9.813572,"altitude":0,"angle":353,"satellites":24,"speed":36,"hex_longitude":"2d7c8000","hex_latitude":"05d96ea8","is_valid_coordinates":true} 
[2026-07-25 21:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958528768001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110426546937790464,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972226014004987904,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784994263000,"timestamp_ms":1784994263000,"timestamp_seconds":1784994263,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2efd8"} 
[2026-07-25 21:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16: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-07-25 21:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 21:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958528768001,"66":11917,"244":206,"85":15104,"24":36,"16":110426546937790464,"45":8972226014004987904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-25 21:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958528768001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:12] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 21:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110426546937790464,"km_value":110426546937790.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972226014004987904,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958528768001,"power":11917,"unknown_244":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8972226014004987904}} 
[2026-07-25 21:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":141343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:12] local.INFO: GPS data processed {"connection_id":141343,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:12] local.INFO: Acknowledgment sent {"connection_id":141343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:26] local.INFO: TCP Data received {"connection_id":141344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:16:26] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:16:26] local.INFO: IMEI packet received {"connection_id":141344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":141344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:16:27] local.INFO: TCP Data received {"connection_id":143747,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:16:27] local.INFO: Processing buffer {"connection_id":143747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:16:27] local.INFO: Packet analysis {"connection_id":143747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:16:27] local.INFO: Extracted packet for processing {"connection_id":143747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":143747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:27] local.INFO: GPS data processed {"connection_id":143747,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:27] local.INFO: Acknowledgment sent {"connection_id":143747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:31] local.INFO: TCP Data received {"connection_id":141344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:16:31] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:16:31] local.INFO: IMEI packet received {"connection_id":141344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":141344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:16:32] local.INFO: TCP Data received {"connection_id":141344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:16:32] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:16:32] local.INFO: Packet analysis {"connection_id":141344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:16:32] local.INFO: Extracted packet for processing {"connection_id":141344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":141344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:32] local.INFO: GPS data processed {"connection_id":141344,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:32] local.INFO: Acknowledgment sent {"connection_id":141344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:32] local.INFO: TCP Data received {"connection_id":142377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:16:32] local.INFO: Processing buffer {"connection_id":142377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:16:32] local.INFO: Packet analysis {"connection_id":142377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:16:32] local.INFO: Extracted packet for processing {"connection_id":142377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:16: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-07-25 21:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":142377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:32] local.INFO: GPS data processed {"connection_id":142377,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:32] local.INFO: Acknowledgment sent {"connection_id":142377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:42] local.INFO: TCP Data received {"connection_id":141343,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f31300012d7c7b8005d994100000016113..."} 
[2026-07-25 21:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f31300012d7c7b8005d994100000016113..."} 
[2026-07-25 21:16:42] local.INFO: Processing buffer {"connection_id":141343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f31300012d7c7b8005d994100000016113..."} 
[2026-07-25 21:16:42] local.INFO: Packet analysis {"connection_id":141343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f3"} 
[2026-07-25 21:16:42] local.INFO: Extracted packet for processing {"connection_id":141343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f3"} 
[2026-07-25 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":98145296,"longitude_deg":76.31328,"latitude_deg":9.8145296,"altitude":0,"angle":353,"satellites":19,"speed":46,"hex_longitude":"2d7c7b80","hex_latitude":"05d99410","is_valid_coordinates":true} 
[2026-07-25 21:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958531328001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110427015089225728,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971170482844772352,"note":"Value kept but may cause issues"} 
[2026-07-25 21:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784994272000,"timestamp_ms":1784994272000,"timestamp_seconds":1784994272,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f31300"} 
[2026-07-25 21:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 21:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141343,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958531328001,"66":11950,"244":206,"85":15104,"24":46,"16":110427015089225728,"45":8971170482844772352},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-25 21:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958531328001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:16:42] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 21:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110427015089225728,"km_value":110427015089225.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971170482844772352,"description":"Unknown IO ID 45"} 
[2026-07-25 21:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958531328001,"power":11950,"unknown_244":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8971170482844772352}} 
[2026-07-25 21:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":141343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:16:42] local.INFO: GPS data processed {"connection_id":141343,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:16:42] local.INFO: Acknowledgment sent {"connection_id":141343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:16:54] local.INFO: TCP Data received {"connection_id":142378,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:16:54] local.INFO: Processing buffer {"connection_id":142378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:16:54] local.INFO: IMEI packet received {"connection_id":142378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":142378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:16:54] local.INFO: TCP Data received {"connection_id":143748,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:16:54] local.INFO: Processing buffer {"connection_id":143748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:16:54] local.INFO: IMEI packet received {"connection_id":143748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":143748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:16:59] local.INFO: TCP Data received {"connection_id":143748,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:16:59] local.INFO: Processing buffer {"connection_id":143748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:16:59] local.INFO: IMEI packet received {"connection_id":143748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":143748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:17:00] local.INFO: TCP Data received {"connection_id":142378,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:17:00] local.INFO: Processing buffer {"connection_id":142378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:17:00] local.INFO: IMEI packet received {"connection_id":142378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":142378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:17:00] local.INFO: TCP Data received {"connection_id":143748,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:00] local.INFO: Processing buffer {"connection_id":143748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:00] local.INFO: Packet analysis {"connection_id":143748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:17:00] local.INFO: Extracted packet for processing {"connection_id":143748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:17:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":143748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:00] local.INFO: GPS data processed {"connection_id":143748,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:00] local.INFO: Acknowledgment sent {"connection_id":143748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:17:00] local.INFO: TCP Data received {"connection_id":142378,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:17:00] local.INFO: Processing buffer {"connection_id":142378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f09a30012d9cd84005b361c0000d007e2c..."} 
[2026-07-25 21:17:00] local.INFO: Packet analysis {"connection_id":142378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:17:00] local.INFO: Extracted packet for processing {"connection_id":142378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f0"} 
[2026-07-25 21:17:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":44,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958415104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994110000,"timestamp_ms":1784994110000,"timestamp_seconds":1784994110,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f09a30"} 
[2026-07-25 21:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:17: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-07-25 21: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-07-25 21:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958415104001,"66":25593,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958415104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958415104001,"power":25593,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":142378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:00] local.INFO: GPS data processed {"connection_id":142378,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:00] local.INFO: Acknowledgment sent {"connection_id":142378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:17:03] local.INFO: TCP Data received {"connection_id":141344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:17:03] local.INFO: Processing buffer {"connection_id":141344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:17:03] local.INFO: Packet analysis {"connection_id":141344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:17:03] local.INFO: Extracted packet for processing {"connection_id":141344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:17: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-07-25 21:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":141344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:03] local.INFO: GPS data processed {"connection_id":141344,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:03] local.INFO: Acknowledgment sent {"connection_id":141344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:17:05] local.INFO: TCP Data received {"connection_id":143748,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:05] local.INFO: Processing buffer {"connection_id":143748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:05] local.INFO: Packet analysis {"connection_id":143748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:17:05] local.INFO: Extracted packet for processing {"connection_id":143748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:17:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":143748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:05] local.INFO: GPS data processed {"connection_id":143748,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:05] local.INFO: Acknowledgment sent {"connection_id":143748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:17:25] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:17:25] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:17:25] local.INFO: IMEI packet received {"connection_id":143749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":143749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:17:31] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:17:31] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:17:31] local.INFO: IMEI packet received {"connection_id":143749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":143749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:17:32] local.INFO: TCP Data received {"connection_id":142378,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:17:32] local.INFO: Processing buffer {"connection_id":142378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:17:32] local.INFO: Packet analysis {"connection_id":142378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:17:32] local.INFO: Extracted packet for processing {"connection_id":142378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:17: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-07-25 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":142378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:32] local.INFO: GPS data processed {"connection_id":142378,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:32] local.INFO: Acknowledgment sent {"connection_id":142378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:17:32] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:17:32] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:17:32] local.INFO: Packet analysis {"connection_id":143749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:17:32] local.INFO: Extracted packet for processing {"connection_id":143749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":143749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:32] local.INFO: GPS data processed {"connection_id":143749,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:32] local.INFO: Acknowledgment sent {"connection_id":143749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:17:50] local.INFO: TCP Data received {"connection_id":141385,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:17:50] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:17:50] local.INFO: IMEI packet received {"connection_id":141385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":141385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:17:54] local.INFO: TCP Data received {"connection_id":141385,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:17:54] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:17:54] local.INFO: IMEI packet received {"connection_id":141385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":141385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:17:55] local.INFO: TCP Data received {"connection_id":141385,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:55] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:17:55] local.INFO: Packet analysis {"connection_id":141385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:17:55] local.INFO: Extracted packet for processing {"connection_id":141385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:17:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:17:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":141385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:17:55] local.INFO: GPS data processed {"connection_id":141385,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:17:55] local.INFO: Acknowledgment sent {"connection_id":141385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:00] local.INFO: TCP Data received {"connection_id":141386,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:00] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:00] local.INFO: IMEI packet received {"connection_id":141386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":141386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:18:03] local.INFO: TCP Data received {"connection_id":143749,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:03] local.INFO: Processing buffer {"connection_id":143749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:03] local.INFO: Packet analysis {"connection_id":143749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:18:03] local.INFO: Extracted packet for processing {"connection_id":143749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:18: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-07-25 21:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":143749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:03] local.INFO: GPS data processed {"connection_id":143749,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:03] local.INFO: Acknowledgment sent {"connection_id":143749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:05] local.INFO: TCP Data received {"connection_id":141386,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:05] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:05] local.INFO: IMEI packet received {"connection_id":141386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":141386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:18:06] local.INFO: TCP Data received {"connection_id":141386,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:18:06] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:18:06] local.INFO: Packet analysis {"connection_id":141386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:18:06] local.INFO: Extracted packet for processing {"connection_id":141386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:06] 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-07-25 21:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":141386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:06] local.INFO: GPS data processed {"connection_id":141386,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:06] local.INFO: Acknowledgment sent {"connection_id":141386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:10] local.INFO: TCP Data received {"connection_id":141386,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:18:10] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:18:10] local.INFO: Packet analysis {"connection_id":141386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:18:10] local.INFO: Extracted packet for processing {"connection_id":141386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":141386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":141386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":141386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:18:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":141386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:10] local.INFO: GPS data processed {"connection_id":141386,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:10] local.INFO: Acknowledgment sent {"connection_id":141386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:26] local.INFO: TCP Data received {"connection_id":141385,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:26] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:26] local.INFO: Packet analysis {"connection_id":141385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:18:26] local.INFO: Extracted packet for processing {"connection_id":141385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:18:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":141385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:26] local.INFO: GPS data processed {"connection_id":141385,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:26] local.INFO: Acknowledgment sent {"connection_id":141385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:31] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:18:31] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:18:31] local.INFO: IMEI packet received {"connection_id":141345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":141345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:18:36] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:18:36] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:18:36] local.INFO: IMEI packet received {"connection_id":141345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":141345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:18:37] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:37] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:37] local.INFO: Packet analysis {"connection_id":141345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:18:37] local.INFO: Extracted packet for processing {"connection_id":141345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18: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-07-25 21:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:18: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-07-25 21:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":141345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:37] local.INFO: GPS data processed {"connection_id":141345,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:37] local.INFO: Acknowledgment sent {"connection_id":141345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:41] local.INFO: TCP Data received {"connection_id":141345,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:41] local.INFO: Processing buffer {"connection_id":141345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:18:41] local.INFO: Packet analysis {"connection_id":141345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:18:41] local.INFO: Extracted packet for processing {"connection_id":141345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":141345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:41] local.INFO: GPS data processed {"connection_id":141345,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:41] local.INFO: Acknowledgment sent {"connection_id":141345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:53] local.INFO: TCP Data received {"connection_id":142379,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:18:53] local.INFO: Processing buffer {"connection_id":142379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:18:53] local.INFO: IMEI packet received {"connection_id":142379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":142379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:18:54] local.INFO: TCP Data received {"connection_id":142379,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:18:54] local.INFO: Processing buffer {"connection_id":142379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:18:54] local.INFO: IMEI packet received {"connection_id":142379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":142379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:18:54] local.INFO: TCP Data received {"connection_id":142379,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:54] local.INFO: Processing buffer {"connection_id":142379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:54] local.INFO: Packet analysis {"connection_id":142379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:18:54] local.INFO: Extracted packet for processing {"connection_id":142379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":142379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":142379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":142379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":142379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:54] local.INFO: GPS data processed {"connection_id":142379,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:54] local.INFO: Acknowledgment sent {"connection_id":142379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:18:55] local.INFO: TCP Data received {"connection_id":143750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:55] local.INFO: Processing buffer {"connection_id":143750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:18:55] local.INFO: IMEI packet received {"connection_id":143750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":143750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:18:59] local.INFO: TCP Data received {"connection_id":142379,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:59] local.INFO: Processing buffer {"connection_id":142379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:18:59] local.INFO: Packet analysis {"connection_id":142379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:18:59] local.INFO: Extracted packet for processing {"connection_id":142379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":142379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:18:59] local.INFO: GPS data processed {"connection_id":142379,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:18:59] local.INFO: Acknowledgment sent {"connection_id":142379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:19:00] local.INFO: TCP Data received {"connection_id":143750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:19:00] local.INFO: Processing buffer {"connection_id":143750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:19:00] local.INFO: IMEI packet received {"connection_id":143750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":143750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:19:01] local.INFO: TCP Data received {"connection_id":143750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:19:01] local.INFO: Processing buffer {"connection_id":143750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:19:01] local.INFO: Packet analysis {"connection_id":143750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:19:01] local.INFO: Extracted packet for processing {"connection_id":143750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:19:01] 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-07-25 21:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:19:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":143750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:19:01] local.INFO: GPS data processed {"connection_id":143750,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:19:01] local.INFO: Acknowledgment sent {"connection_id":143750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:19:26] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:19:26] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:19:26] local.INFO: IMEI packet received {"connection_id":141346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":141346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:19:30] local.INFO: TCP Data received {"connection_id":142379,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:19:30] local.INFO: Processing buffer {"connection_id":142379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:19:30] local.INFO: Packet analysis {"connection_id":142379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:19:30] local.INFO: Extracted packet for processing {"connection_id":142379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":142379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":142379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":142379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":142379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":544999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:19:30] local.INFO: GPS data processed {"connection_id":142379,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:19:30] local.INFO: Acknowledgment sent {"connection_id":142379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:19:31] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:19:31] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:19:31] local.INFO: IMEI packet received {"connection_id":141346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":141346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:19:32] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:19:32] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f2e038012d196400071fefb0004b006e26..."} 
[2026-07-25 21:19:32] local.INFO: Packet analysis {"connection_id":141346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:19:32] local.INFO: Extracted packet for processing {"connection_id":141346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f2"} 
[2026-07-25 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958453248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994259000,"timestamp_ms":1784994259000,"timestamp_seconds":1784994259,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f2e038"} 
[2026-07-25 21:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958453248001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958453248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958453248001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":141346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:19:32] local.INFO: GPS data processed {"connection_id":141346,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:19:32] local.INFO: Acknowledgment sent {"connection_id":141346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:19:32] local.INFO: TCP Data received {"connection_id":143750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:19:32] local.INFO: Processing buffer {"connection_id":143750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:19:32] local.INFO: Packet analysis {"connection_id":143750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:19:32] local.INFO: Extracted packet for processing {"connection_id":143750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:19: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-07-25 21:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":143750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:19:32] local.INFO: GPS data processed {"connection_id":143750,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:19:32] local.INFO: Acknowledgment sent {"connection_id":143750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:19:54] local.INFO: TCP Data received {"connection_id":142380,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:19:54] local.INFO: Processing buffer {"connection_id":142380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:19:54] local.INFO: IMEI packet received {"connection_id":142380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":142380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:19:55] local.INFO: TCP Data received {"connection_id":142381,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:19:55] local.INFO: Processing buffer {"connection_id":142381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:19:55] local.INFO: IMEI packet received {"connection_id":142381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":142381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:19:59] local.INFO: TCP Data received {"connection_id":142380,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:19:59] local.INFO: Processing buffer {"connection_id":142380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:19:59] local.INFO: IMEI packet received {"connection_id":142380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":142380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:20:00] local.INFO: TCP Data received {"connection_id":142381,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:00] local.INFO: Processing buffer {"connection_id":142381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:00] local.INFO: IMEI packet received {"connection_id":142381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":142381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:20:00] local.INFO: TCP Data received {"connection_id":142380,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:00] local.INFO: Processing buffer {"connection_id":142380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:00] local.INFO: Packet analysis {"connection_id":142380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:20:00] local.INFO: Extracted packet for processing {"connection_id":142380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:20:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":142380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:00] local.INFO: GPS data processed {"connection_id":142380,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:00] local.INFO: Acknowledgment sent {"connection_id":142380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:20:00] local.INFO: TCP Data received {"connection_id":142381,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:20:00] local.INFO: Processing buffer {"connection_id":142381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:20:00] local.INFO: Packet analysis {"connection_id":142381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:20:00] local.INFO: Extracted packet for processing {"connection_id":142381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:20:00] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:20:00] 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-07-25 21: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-07-25 21:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":142381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:00] local.INFO: GPS data processed {"connection_id":142381,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:00] local.INFO: Acknowledgment sent {"connection_id":142381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:20:03] local.INFO: TCP Data received {"connection_id":141346,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:20:03] local.INFO: Processing buffer {"connection_id":141346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:20:03] local.INFO: Packet analysis {"connection_id":141346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:20:03] local.INFO: Extracted packet for processing {"connection_id":141346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:20: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-07-25 21:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":141346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:03] local.INFO: GPS data processed {"connection_id":141346,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:03] local.INFO: Acknowledgment sent {"connection_id":141346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:20:05] local.INFO: TCP Data received {"connection_id":142380,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:05] local.INFO: Processing buffer {"connection_id":142380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:05] local.INFO: Packet analysis {"connection_id":142380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:20:05] local.INFO: Extracted packet for processing {"connection_id":142380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":142380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:05] local.INFO: GPS data processed {"connection_id":142380,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:05] local.INFO: Acknowledgment sent {"connection_id":142380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:20:26] local.INFO: TCP Data received {"connection_id":141387,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:20:26] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:20:26] local.INFO: IMEI packet received {"connection_id":141387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":141387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:20:31] local.INFO: TCP Data received {"connection_id":141387,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:20:31] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:20:31] local.INFO: IMEI packet received {"connection_id":141387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":141387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:20:32] local.INFO: TCP Data received {"connection_id":141387,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:20:32] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:20:32] local.INFO: Packet analysis {"connection_id":141387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:20:32] local.INFO: Extracted packet for processing {"connection_id":141387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:20:32] local.INFO: TCP Data received {"connection_id":142381,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:20:32] local.INFO: Processing buffer {"connection_id":142381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f531f8012d9cd84005b361c0000d007e2a..."} 
[2026-07-25 21:20:32] local.INFO: Packet analysis {"connection_id":142381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:20:32] local.INFO: Extracted packet for processing {"connection_id":142381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f5"} 
[2026-07-25 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958492160001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994411000,"timestamp_ms":1784994411000,"timestamp_seconds":1784994411,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f531f8"} 
[2026-07-25 21:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":249,"data_length":795,"current_offset":136} 
[2026-07-25 21:20: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-07-25 21:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958492160001,"66":25582,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958492160001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958492160001,"power":25582,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":142381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:32] local.INFO: GPS data processed {"connection_id":142381,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:32] local.INFO: Acknowledgment sent {"connection_id":142381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":141387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:32] local.INFO: GPS data processed {"connection_id":141387,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:32] local.INFO: Acknowledgment sent {"connection_id":141387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:20:49] local.INFO: TCP Data received {"connection_id":141347,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:20:49] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:20:49] local.INFO: IMEI packet received {"connection_id":141347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":141347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:20:54] local.INFO: TCP Data received {"connection_id":141347,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:20:54] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:20:54] local.INFO: IMEI packet received {"connection_id":141347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":141347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:20:54] local.INFO: TCP Data received {"connection_id":142382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:54] local.INFO: Processing buffer {"connection_id":142382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:54] local.INFO: IMEI packet received {"connection_id":142382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":142382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:20:55] local.INFO: TCP Data received {"connection_id":141347,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:55] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:20:55] local.INFO: Packet analysis {"connection_id":141347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:20:55] local.INFO: Extracted packet for processing {"connection_id":141347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:20:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:20:55] local.INFO: TCP Data received {"connection_id":142382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:55] local.INFO: Processing buffer {"connection_id":142382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:20:55] local.INFO: IMEI packet received {"connection_id":142382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":142382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":141347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:20:55] local.INFO: GPS data processed {"connection_id":141347,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:20:55] local.INFO: Acknowledgment sent {"connection_id":141347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:21:00] local.INFO: TCP Data received {"connection_id":142382,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:21:00] local.INFO: Processing buffer {"connection_id":142382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:21:00] local.INFO: IMEI packet received {"connection_id":142382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":142382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:21:01] local.INFO: TCP Data received {"connection_id":142382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f852c0012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f852c0012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:21:01] local.INFO: Processing buffer {"connection_id":142382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f852c0012d9cd84005b361c0000d007e29..."} 
[2026-07-25 21:21:01] local.INFO: Packet analysis {"connection_id":142382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:21:01] local.INFO: Extracted packet for processing {"connection_id":142382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":765253696,"raw_latitude":95642048,"longitude_deg":76.5253696,"latitude_deg":9.5642048,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd840","hex_latitude":"05b361c0","is_valid_coordinates":true} 
[2026-07-25 21:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958569216001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994616000,"timestamp_ms":1784994616000,"timestamp_seconds":1784994616,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f852c0"} 
[2026-07-25 21:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-25 21:21: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-07-25 21:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958569216001,"66":25604,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958569216001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:21:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958569216001,"power":25604,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":142382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:21:01] local.INFO: GPS data processed {"connection_id":142382,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:21:01] local.INFO: Acknowledgment sent {"connection_id":142382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:21:03] local.INFO: TCP Data received {"connection_id":141387,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:21:03] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:21:03] local.INFO: Packet analysis {"connection_id":141387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:21:03] local.INFO: Extracted packet for processing {"connection_id":141387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:21: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-07-25 21:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:21:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":141387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:21:03] local.INFO: GPS data processed {"connection_id":141387,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:21:03] local.INFO: Acknowledgment sent {"connection_id":141387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:21:26] local.INFO: TCP Data received {"connection_id":141388,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:21:26] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:21:26] local.INFO: IMEI packet received {"connection_id":141388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":141388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:21:26] local.INFO: TCP Data received {"connection_id":141347,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:21:26] local.INFO: Processing buffer {"connection_id":141347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f437f8012d77a94005f27b900013016323..."} 
[2026-07-25 21:21:26] local.INFO: Packet analysis {"connection_id":141347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:21:26] local.INFO: Extracted packet for processing {"connection_id":141347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f4"} 
[2026-07-25 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958475776001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994347000,"timestamp_ms":1784994347000,"timestamp_seconds":1784994347,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f437f8"} 
[2026-07-25 21:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958475776001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958475776001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:21:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958475776001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":141347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:21:26] local.INFO: GPS data processed {"connection_id":141347,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:21:26] local.INFO: Acknowledgment sent {"connection_id":141347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:21:31] local.INFO: TCP Data received {"connection_id":141388,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:21:31] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:21:31] local.INFO: IMEI packet received {"connection_id":141388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":141388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:21:32] local.INFO: TCP Data received {"connection_id":141388,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:21:32] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:21:32] local.INFO: Packet analysis {"connection_id":141388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:21:32] local.INFO: Extracted packet for processing {"connection_id":141388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":141388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:21:32] local.INFO: GPS data processed {"connection_id":141388,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:21:32] local.INFO: Acknowledgment sent {"connection_id":141388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:21:32] local.INFO: TCP Data received {"connection_id":142382,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8b850012d9cd74005b360a0000d007e29..."} 
[2026-07-25 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8b850012d9cd74005b360a0000d007e29..."} 
[2026-07-25 21:21:32] local.INFO: Processing buffer {"connection_id":142382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8b850012d9cd74005b360a0000d007e29..."} 
[2026-07-25 21:21:32] local.INFO: Packet analysis {"connection_id":142382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:21:32] local.INFO: Extracted packet for processing {"connection_id":142382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765253440,"raw_latitude":95641760,"longitude_deg":76.525344,"latitude_deg":9.564176,"altitude":13,"angle":126,"satellites":41,"speed":0,"hex_longitude":"2d9cd740","hex_latitude":"05b360a0","is_valid_coordinates":true} 
[2026-07-25 21:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958621696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7144890415594749952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994642000,"timestamp_ms":1784994642000,"timestamp_seconds":1784994642,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8b850"} 
[2026-07-25 21:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 21:21: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-07-25 21:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958621696001,"66":27321,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7144890415594749952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958621696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7144890415594749952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958621696001,"power":27321,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7144890415594749952}} 
[2026-07-25 21:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":142382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:21:32] local.INFO: GPS data processed {"connection_id":142382,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:21:32] local.INFO: Acknowledgment sent {"connection_id":142382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:21:49] local.INFO: TCP Data received {"connection_id":142383,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:21:49] local.INFO: Processing buffer {"connection_id":142383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:21:49] local.INFO: IMEI packet received {"connection_id":142383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":142383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:21:54] local.INFO: TCP Data received {"connection_id":142383,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:21:54] local.INFO: Processing buffer {"connection_id":142383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:21:54] local.INFO: IMEI packet received {"connection_id":142383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":142383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:21:55] local.INFO: TCP Data received {"connection_id":142383,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:21:55] local.INFO: Processing buffer {"connection_id":142383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:21:55] local.INFO: Packet analysis {"connection_id":142383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:21:55] local.INFO: Extracted packet for processing {"connection_id":142383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":142383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:21:55] local.INFO: GPS data processed {"connection_id":142383,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:21:55] local.INFO: Acknowledgment sent {"connection_id":142383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:22:00] local.INFO: TCP Data received {"connection_id":142384,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:00] local.INFO: Processing buffer {"connection_id":142384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:00] local.INFO: IMEI packet received {"connection_id":142384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":142384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:22:03] local.INFO: TCP Data received {"connection_id":141388,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:22:03] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:22:03] local.INFO: Packet analysis {"connection_id":141388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:22:03] local.INFO: Extracted packet for processing {"connection_id":141388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:22: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-07-25 21:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":141388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:22:03] local.INFO: GPS data processed {"connection_id":141388,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:22:03] local.INFO: Acknowledgment sent {"connection_id":141388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:22:05] local.INFO: TCP Data received {"connection_id":142384,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:05] local.INFO: Processing buffer {"connection_id":142384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:05] local.INFO: IMEI packet received {"connection_id":142384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":142384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:22:06] local.INFO: TCP Data received {"connection_id":142384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f90a58012d9cd74005b360a0000d007e2a..."} 
[2026-07-25 21:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f90a58012d9cd74005b360a0000d007e2a..."} 
[2026-07-25 21:22:06] local.INFO: Processing buffer {"connection_id":142384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f90a58012d9cd74005b360a0000d007e2a..."} 
[2026-07-25 21:22:06] local.INFO: Packet analysis {"connection_id":142384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:22:06] local.INFO: Extracted packet for processing {"connection_id":142384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":765253440,"raw_latitude":95641760,"longitude_deg":76.525344,"latitude_deg":9.564176,"altitude":13,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d9cd740","hex_latitude":"05b360a0","is_valid_coordinates":true} 
[2026-07-25 21:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958628352001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136367668002816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145171890571534336,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784994663000,"timestamp_ms":1784994663000,"timestamp_seconds":1784994663,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f90a58"} 
[2026-07-25 21:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 21:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958628352001,"66":27332,"215":206,"83":17408,"24":0,"16":358136367668002816,"45":-7145171890571534336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958628352001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:22:06] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136367668002816,"km_value":358136367668002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145171890571534336,"description":"Unknown IO ID 45"} 
[2026-07-25 21:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958628352001,"power":27332,"unknown_215":206,"unknown_83":17408,"ignition":0,"odometer":null,"unknown_45":-7145171890571534336}} 
[2026-07-25 21:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":142384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:22:06] local.INFO: GPS data processed {"connection_id":142384,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:22:06] local.INFO: Acknowledgment sent {"connection_id":142384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:22:10] local.INFO: TCP Data received {"connection_id":142384,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f921c8012d9cd58005b35fc0001100e62a..."} 
[2026-07-25 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f921c8012d9cd58005b35fc0001100e62a..."} 
[2026-07-25 21:22:10] local.INFO: Processing buffer {"connection_id":142384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f921c8012d9cd58005b35fc0001100e62a..."} 
[2026-07-25 21:22:10] local.INFO: Packet analysis {"connection_id":142384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:22:10] local.INFO: Extracted packet for processing {"connection_id":142384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:22:10] local.INFO: GPS Element Parsed {"raw_longitude":765252992,"raw_latitude":95641536,"longitude_deg":76.5252992,"latitude_deg":9.5641536,"altitude":17,"angle":230,"satellites":42,"speed":3,"hex_longitude":"2d9cd580","hex_latitude":"05b35fc0","is_valid_coordinates":true} 
[2026-07-25 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958633728001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136393437806592,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145171890571534336,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1784994669000,"timestamp_ms":1784994669000,"timestamp_seconds":1784994669,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f921c8"} 
[2026-07-25 21:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21: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-07-25 21:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":142384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":142384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":142384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958633728001,"66":27332,"215":206,"83":17408,"24":3,"16":358136393437806592,"45":-7145171890571534336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958633728001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:22:10] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:22:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136393437806592,"km_value":358136393437806.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145171890571534336,"description":"Unknown IO ID 45"} 
[2026-07-25 21:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958633728001,"power":27332,"unknown_215":206,"unknown_83":17408,"ignition":3,"odometer":null,"unknown_45":-7145171890571534336}} 
[2026-07-25 21:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":142384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:22:10] local.INFO: GPS data processed {"connection_id":142384,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:22:10] local.INFO: Acknowledgment sent {"connection_id":142384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:22:25] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:22:25] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:22:25] local.INFO: IMEI packet received {"connection_id":141389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":141389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:22:26] local.INFO: TCP Data received {"connection_id":142383,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:22:26] local.INFO: Processing buffer {"connection_id":142383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:22:26] local.INFO: Packet analysis {"connection_id":142383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:22:26] local.INFO: Extracted packet for processing {"connection_id":142383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:22:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:22:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":142383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:22:26] local.INFO: GPS data processed {"connection_id":142383,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:22:26] local.INFO: Acknowledgment sent {"connection_id":142383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:22:31] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:22:31] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:22:31] local.INFO: IMEI packet received {"connection_id":141389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":141389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:22:32] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:22:32] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:22:32] local.INFO: Packet analysis {"connection_id":141389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:22:32] local.INFO: Extracted packet for processing {"connection_id":141389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:22:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:22:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:22:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":141389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:22:32] local.INFO: GPS data processed {"connection_id":141389,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:22:32] local.INFO: Acknowledgment sent {"connection_id":141389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:22:49] local.INFO: TCP Data received {"connection_id":142385,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:22:49] local.INFO: Processing buffer {"connection_id":142385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:22:49] local.INFO: IMEI packet received {"connection_id":142385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":142385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:22:52] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:52] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:52] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:22:54] local.INFO: TCP Data received {"connection_id":142385,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:22:54] local.INFO: Processing buffer {"connection_id":142385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:22:54] local.INFO: IMEI packet received {"connection_id":142385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":142385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:22:54] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:54] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:22:54] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:22:55] local.INFO: TCP Data received {"connection_id":142385,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:22:55] local.INFO: Processing buffer {"connection_id":142385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:22:55] local.INFO: Packet analysis {"connection_id":142385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:22:55] local.INFO: Extracted packet for processing {"connection_id":142385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:22:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":142385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:22:55] local.INFO: GPS data processed {"connection_id":142385,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:22:55] local.INFO: Acknowledgment sent {"connection_id":142385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:23:00] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:00] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:00] local.INFO: IMEI packet received {"connection_id":143751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":143751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:23:01] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f925b0012d9cd54005b35f90001200f22a..."} 
[2026-07-25 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f925b0012d9cd54005b35f90001200f22a..."} 
[2026-07-25 21:23:01] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f925b0012d9cd54005b35f90001200f22a..."} 
[2026-07-25 21:23:01] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:23:01] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":765252928,"raw_latitude":95641488,"longitude_deg":76.5252928,"latitude_deg":9.5641488,"altitude":18,"angle":242,"satellites":42,"speed":5,"hex_longitude":"2d9cd540","hex_latitude":"05b35f90","is_valid_coordinates":true} 
[2026-07-25 21:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958635264001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136397732773888,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145664471780835328,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994670000,"timestamp_ms":1784994670000,"timestamp_seconds":1784994670,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f925b0"} 
[2026-07-25 21:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958635264001,"66":27332,"215":206,"83":17408,"24":5,"16":358136397732773888,"45":-7145664471780835328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958635264001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:23:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:23:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136397732773888,"km_value":358136397732773.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145664471780835328,"description":"Unknown IO ID 45"} 
[2026-07-25 21:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958635264001,"power":27332,"unknown_215":206,"unknown_83":17408,"ignition":5,"odometer":null,"unknown_45":-7145664471780835328}} 
[2026-07-25 21:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:23:01] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:23:01] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:23:03] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:23:03] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:23:03] local.INFO: Packet analysis {"connection_id":141389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:23:03] local.INFO: Extracted packet for processing {"connection_id":141389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:23: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-07-25 21:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:23:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":141389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:23:03] local.INFO: GPS data processed {"connection_id":141389,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:23:03] local.INFO: Acknowledgment sent {"connection_id":141389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:23:25] local.INFO: TCP Data received {"connection_id":143752,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:23:25] local.INFO: Processing buffer {"connection_id":143752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:23:25] local.INFO: IMEI packet received {"connection_id":143752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":143752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:23:26] local.INFO: TCP Data received {"connection_id":142385,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:23:26] local.INFO: Processing buffer {"connection_id":142385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:23:26] local.INFO: Packet analysis {"connection_id":142385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:23:26] local.INFO: Extracted packet for processing {"connection_id":142385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:23:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:23:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":142385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:23:26] local.INFO: GPS data processed {"connection_id":142385,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:23:26] local.INFO: Acknowledgment sent {"connection_id":142385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:23:31] local.INFO: TCP Data received {"connection_id":143752,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:23:31] local.INFO: Processing buffer {"connection_id":143752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:23:31] local.INFO: IMEI packet received {"connection_id":143752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":143752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:23:32] local.INFO: TCP Data received {"connection_id":143752,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:23:32] local.INFO: Processing buffer {"connection_id":143752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:23:32] local.INFO: Packet analysis {"connection_id":143752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:23:32] local.INFO: Extracted packet for processing {"connection_id":143752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":143752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:23:32] local.INFO: GPS data processed {"connection_id":143752,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:23:32] local.INFO: Acknowledgment sent {"connection_id":143752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:23:32] local.INFO: TCP Data received {"connection_id":143751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f92998012d9cd48005b35f80001201002b..."} 
[2026-07-25 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f92998012d9cd48005b35f80001201002b..."} 
[2026-07-25 21:23:32] local.INFO: Processing buffer {"connection_id":143751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f92998012d9cd48005b35f80001201002b..."} 
[2026-07-25 21:23:32] local.INFO: Packet analysis {"connection_id":143751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:23:32] local.INFO: Extracted packet for processing {"connection_id":143751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f9"} 
[2026-07-25 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765252736,"raw_latitude":95641472,"longitude_deg":76.5252736,"latitude_deg":9.5641472,"altitude":18,"angle":256,"satellites":43,"speed":6,"hex_longitude":"2d9cd480","hex_latitude":"05b35f80","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958635520001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136406322708480,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7145734840525025280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994671000,"timestamp_ms":1784994671000,"timestamp_seconds":1784994671,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f92998"} 
[2026-07-25 21:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:23: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-07-25 21: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":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958635520001,"66":27321,"215":206,"83":17408,"24":6,"16":358136406322708480,"45":-7145734840525025280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,45]} 
[2026-07-25 21:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958635520001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136406322708480,"km_value":358136406322708.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7145734840525025280,"description":"Unknown IO ID 45"} 
[2026-07-25 21:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958635520001,"power":27321,"unknown_215":206,"unknown_83":17408,"ignition":6,"odometer":null,"unknown_45":-7145734840525025280}} 
[2026-07-25 21:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":143751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:23:32] local.INFO: GPS data processed {"connection_id":143751,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:23:32] local.INFO: Acknowledgment sent {"connection_id":143751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:23:51] local.INFO: TCP Data received {"connection_id":142386,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:51] local.INFO: Processing buffer {"connection_id":142386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:51] local.INFO: IMEI packet received {"connection_id":142386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":142386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:23:54] local.INFO: TCP Data received {"connection_id":143753,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:23:54] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:23:54] local.INFO: IMEI packet received {"connection_id":143753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":143753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:23:54] local.INFO: TCP Data received {"connection_id":142386,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:54] local.INFO: Processing buffer {"connection_id":142386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:54] local.INFO: IMEI packet received {"connection_id":142386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":142386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:23:55] local.INFO: TCP Data received {"connection_id":142386,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:55] local.INFO: Processing buffer {"connection_id":142386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:23:55] local.INFO: IMEI packet received {"connection_id":142386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":142386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:23:59] local.INFO: TCP Data received {"connection_id":143753,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:23:59] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:23:59] local.INFO: IMEI packet received {"connection_id":143753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":143753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:24:00] local.INFO: TCP Data received {"connection_id":142386,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:00] local.INFO: Processing buffer {"connection_id":142386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:00] local.INFO: IMEI packet received {"connection_id":142386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":142386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:24:00] local.INFO: TCP Data received {"connection_id":143753,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:00] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:00] local.INFO: Packet analysis {"connection_id":143753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:24:00] local.INFO: Extracted packet for processing {"connection_id":143753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:24:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21: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-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":143753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:00] local.INFO: GPS data processed {"connection_id":143753,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:00] local.INFO: Acknowledgment sent {"connection_id":143753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:01] local.INFO: TCP Data received {"connection_id":142386,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fadf18012d9cc90005b36058001101422b..."} 
[2026-07-25 21:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fadf18012d9cc90005b36058001101422b..."} 
[2026-07-25 21:24:01] local.INFO: Processing buffer {"connection_id":142386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fadf18012d9cc90005b36058001101422b..."} 
[2026-07-25 21:24:01] local.INFO: Packet analysis {"connection_id":142386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fa"} 
[2026-07-25 21:24:01] local.INFO: Extracted packet for processing {"connection_id":142386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fa"} 
[2026-07-25 21:24:01] local.INFO: GPS Element Parsed {"raw_longitude":765249792,"raw_latitude":95641688,"longitude_deg":76.5249792,"latitude_deg":9.5641688,"altitude":17,"angle":322,"satellites":43,"speed":11,"hex_longitude":"2d9cc900","hex_latitude":"05b36058","is_valid_coordinates":true} 
[2026-07-25 21:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958664192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136565236498432,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7149042171501373440,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994783000,"timestamp_ms":1784994783000,"timestamp_seconds":1784994783,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fadf18"} 
[2026-07-25 21:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958664192001,"66":27300,"226":206,"83":17408,"24":11,"16":358136565236498432,"45":-7149042171501373440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 21:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958664192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:01] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 21:24:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136565236498432,"km_value":358136565236498.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7149042171501373440,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958664192001,"power":27300,"unknown_226":206,"unknown_83":17408,"ignition":11,"odometer":null,"unknown_45":-7149042171501373440}} 
[2026-07-25 21:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":142386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:01] local.INFO: GPS data processed {"connection_id":142386,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:01] local.INFO: Acknowledgment sent {"connection_id":142386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:03] local.INFO: TCP Data received {"connection_id":143752,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:03] local.INFO: Processing buffer {"connection_id":143752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:03] local.INFO: Packet analysis {"connection_id":143752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:24:03] local.INFO: Extracted packet for processing {"connection_id":143752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:24: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-07-25 21:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":143752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:03] local.INFO: GPS data processed {"connection_id":143752,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:03] local.INFO: Acknowledgment sent {"connection_id":143752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:05] local.INFO: TCP Data received {"connection_id":143753,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:05] local.INFO: Processing buffer {"connection_id":143753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:05] local.INFO: Packet analysis {"connection_id":143753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:24:05] local.INFO: Extracted packet for processing {"connection_id":143753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":143753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:05] local.INFO: GPS data processed {"connection_id":143753,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:05] local.INFO: Acknowledgment sent {"connection_id":143753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:31] local.INFO: TCP Data received {"connection_id":141348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:24:31] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:24:31] local.INFO: IMEI packet received {"connection_id":141348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":141348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:24:32] local.INFO: TCP Data received {"connection_id":142386,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fafa70012d9cc04005b369c0000f01332c..."} 
[2026-07-25 21:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fafa70012d9cc04005b369c0000f01332c..."} 
[2026-07-25 21:24:32] local.INFO: Processing buffer {"connection_id":142386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fafa70012d9cc04005b369c0000f01332c..."} 
[2026-07-25 21:24:32] local.INFO: Packet analysis {"connection_id":142386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fa"} 
[2026-07-25 21:24:32] local.INFO: Extracted packet for processing {"connection_id":142386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fa"} 
[2026-07-25 21:24:32] local.INFO: GPS Element Parsed {"raw_longitude":765247552,"raw_latitude":95644096,"longitude_deg":76.5247552,"latitude_deg":9.5644096,"altitude":15,"angle":307,"satellites":44,"speed":23,"hex_longitude":"2d9cc040","hex_latitude":"05b369c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958664448001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136724150288384,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7149182908989679616,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994790000,"timestamp_ms":1784994790000,"timestamp_seconds":1784994790,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fafa70"} 
[2026-07-25 21:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 21:24: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-07-25 21: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-07-25 21:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958664448001,"66":27365,"226":206,"83":17408,"24":23,"16":358136724150288384,"45":-7149182908989679616},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 21:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958664448001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:32] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 21:24:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136724150288384,"km_value":358136724150288.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7149182908989679616,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958664448001,"power":27365,"unknown_226":206,"unknown_83":17408,"ignition":23,"odometer":null,"unknown_45":-7149182908989679616}} 
[2026-07-25 21:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":142386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:32] local.INFO: GPS data processed {"connection_id":142386,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:32] local.INFO: Acknowledgment sent {"connection_id":142386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:36] local.INFO: TCP Data received {"connection_id":141348,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:24:36] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:24:36] local.INFO: IMEI packet received {"connection_id":141348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":141348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:24:36] local.INFO: TCP Data received {"connection_id":141348,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:37] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:37] local.INFO: Packet analysis {"connection_id":141348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:24:37] local.INFO: Extracted packet for processing {"connection_id":141348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24: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-07-25 21:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:24:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":141348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:37] local.INFO: GPS data processed {"connection_id":141348,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:37] local.INFO: Acknowledgment sent {"connection_id":141348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:41] local.INFO: TCP Data received {"connection_id":141348,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:41] local.INFO: Processing buffer {"connection_id":141348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f77800012d196400071fefb0004b006e2a..."} 
[2026-07-25 21:24:41] local.INFO: Packet analysis {"connection_id":141348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:24:41] local.INFO: Extracted packet for processing {"connection_id":141348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f7"} 
[2026-07-25 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":75,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958530304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784994560000,"timestamp_ms":1784994560000,"timestamp_seconds":1784994560,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f77800"} 
[2026-07-25 21:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141348,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958530304001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958530304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958530304001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":141348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:41] local.INFO: GPS data processed {"connection_id":141348,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:41] local.INFO: Acknowledgment sent {"connection_id":141348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:24:49] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:24:49] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:24:49] local.INFO: IMEI packet received {"connection_id":141349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":141349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:24:53] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:53] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:53] local.INFO: IMEI packet received {"connection_id":141390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":141390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:24:54] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:24:54] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:24:54] local.INFO: IMEI packet received {"connection_id":141349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":141349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:24:54] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:54] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:54] local.INFO: IMEI packet received {"connection_id":141390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":141390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:24:55] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:55] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:24:55] local.INFO: IMEI packet received {"connection_id":141390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":141390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:24:57] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:57] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:24:57] local.INFO: Packet analysis {"connection_id":141349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:24:57] local.INFO: Extracted packet for processing {"connection_id":141349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:24:57] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":141349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:24:58] local.INFO: GPS data processed {"connection_id":141349,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:24:58] local.INFO: Acknowledgment sent {"connection_id":141349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:25:00] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:00] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:00] local.INFO: IMEI packet received {"connection_id":141390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":141390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:25:00] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fb0628012d9cb94005b36df0000f01262d..."} 
[2026-07-25 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fb0628012d9cb94005b36df0000f01262d..."} 
[2026-07-25 21:25:00] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fb0628012d9cb94005b36df0000f01262d..."} 
[2026-07-25 21:25:00] local.INFO: Packet analysis {"connection_id":141390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fb"} 
[2026-07-25 21:25:00] local.INFO: Extracted packet for processing {"connection_id":141390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fb"} 
[2026-07-25 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":765245760,"raw_latitude":95645168,"longitude_deg":76.524576,"latitude_deg":9.5645168,"altitude":15,"angle":294,"satellites":45,"speed":30,"hex_longitude":"2d9cb940","hex_latitude":"05b36df0","is_valid_coordinates":true} 
[2026-07-25 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958666240001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358136827229503488,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7151645815035281408,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994793000,"timestamp_ms":1784994793000,"timestamp_seconds":1784994793,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fb0628"} 
[2026-07-25 21:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958666240001,"66":27397,"226":206,"83":17408,"24":30,"16":358136827229503488,"45":-7151645815035281408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 21:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958666240001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358136827229503488,"km_value":358136827229503.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7151645815035281408,"description":"Unknown IO ID 45"} 
[2026-07-25 21:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958666240001,"power":27397,"unknown_226":206,"unknown_83":17408,"ignition":30,"odometer":null,"unknown_45":-7151645815035281408}} 
[2026-07-25 21:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":141390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:25:00] local.INFO: GPS data processed {"connection_id":141390,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:25:00] local.INFO: Acknowledgment sent {"connection_id":141390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:25:26] local.INFO: TCP Data received {"connection_id":141391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:25:26] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:25:26] local.INFO: IMEI packet received {"connection_id":141391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":141391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:25:29] local.INFO: TCP Data received {"connection_id":141349,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:25:29] local.INFO: Processing buffer {"connection_id":141349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:25:29] local.INFO: Packet analysis {"connection_id":141349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:25:29] local.INFO: Extracted packet for processing {"connection_id":141349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:25:29] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:25:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":141349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:25:29] local.INFO: GPS data processed {"connection_id":141349,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:25:29] local.INFO: Acknowledgment sent {"connection_id":141349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:25:31] local.INFO: TCP Data received {"connection_id":141391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:25:31] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:25:31] local.INFO: IMEI packet received {"connection_id":141391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":141391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:25:32] local.INFO: TCP Data received {"connection_id":141391,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:25:32] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:25:32] local.INFO: Packet analysis {"connection_id":141391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:25:32] local.INFO: Extracted packet for processing {"connection_id":141391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:25:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:25:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":141391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:25:32] local.INFO: GPS data processed {"connection_id":141391,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:25:32] local.INFO: Acknowledgment sent {"connection_id":141391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:25:33] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc5a00012d9beec005b3be20000100cd2e..."} 
[2026-07-25 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc5a00012d9beec005b3be20000100cd2e..."} 
[2026-07-25 21:25:33] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc5a00012d9beec005b3be20000100cd2e..."} 
[2026-07-25 21:25:33] local.INFO: Packet analysis {"connection_id":141390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:25:33] local.INFO: Extracted packet for processing {"connection_id":141390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765193920,"raw_latitude":95665696,"longitude_deg":76.519392,"latitude_deg":9.5665696,"altitude":1,"angle":205,"satellites":46,"speed":17,"hex_longitude":"2d9beec0","hex_latitude":"05b3be20","is_valid_coordinates":true} 
[2026-07-25 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958689024001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358139550238769152,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210333347673835520,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784994880000,"timestamp_ms":1784994880000,"timestamp_seconds":1784994880,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc5a00"} 
[2026-07-25 21:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 21:25: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-07-25 21:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958689024001,"66":27300,"226":206,"83":17408,"24":17,"16":358139550238769152,"45":-7210333347673835520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16,45]} 
[2026-07-25 21:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958689024001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:25:33] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-25 21:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358139550238769152,"km_value":358139550238769.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210333347673835520,"description":"Unknown IO ID 45"} 
[2026-07-25 21:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958689024001,"power":27300,"unknown_226":206,"unknown_83":17408,"ignition":17,"odometer":null,"unknown_45":-7210333347673835520}} 
[2026-07-25 21:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":141390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:25:33] local.INFO: GPS data processed {"connection_id":141390,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:25:33] local.INFO: Acknowledgment sent {"connection_id":141390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:25:49] local.INFO: TCP Data received {"connection_id":143754,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:25:49] local.INFO: Processing buffer {"connection_id":143754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:25:49] local.INFO: IMEI packet received {"connection_id":143754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":143754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:25:54] local.INFO: TCP Data received {"connection_id":143754,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:25:54] local.INFO: Processing buffer {"connection_id":143754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:25:54] local.INFO: IMEI packet received {"connection_id":143754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":143754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:25:54] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:54] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:54] local.INFO: IMEI packet received {"connection_id":141392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":141392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:25:55] local.INFO: TCP Data received {"connection_id":143754,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:25:55] local.INFO: Processing buffer {"connection_id":143754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:25:55] local.INFO: Packet analysis {"connection_id":143754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:25:55] local.INFO: Extracted packet for processing {"connection_id":143754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:25:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":143754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:25:55] local.INFO: GPS data processed {"connection_id":143754,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:25:55] local.INFO: Acknowledgment sent {"connection_id":143754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:25:59] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:59] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:25:59] local.INFO: IMEI packet received {"connection_id":141392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":141392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:26:00] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:26:00] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:26:00] local.INFO: IMEI packet received {"connection_id":141392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":141392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:26:01] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc7170012d9be8c005b3b278000300d82f..."} 
[2026-07-25 21:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc7170012d9be8c005b3b278000300d82f..."} 
[2026-07-25 21:26:01] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc7170012d9be8c005b3b278000300d82f..."} 
[2026-07-25 21:26:01] local.INFO: Packet analysis {"connection_id":141392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:01] local.INFO: Extracted packet for processing {"connection_id":141392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:01] local.INFO: GPS Element Parsed {"raw_longitude":765192384,"raw_latitude":95662712,"longitude_deg":76.5192384,"latitude_deg":9.5662712,"altitude":3,"angle":216,"satellites":47,"speed":27,"hex_longitude":"2d9be8c0","hex_latitude":"05b3b278","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958689280001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358139713447526400,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210614822650634240,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 21:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994886000,"timestamp_ms":1784994886000,"timestamp_seconds":1784994886,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc7170"} 
[2026-07-25 21:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 21:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958689280001,"66":27463,"24":27,"83":17408,"16":358139713447526400,"45":-7210614822650634240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 21:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958689280001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358139713447526400,"km_value":358139713447526.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210614822650634240,"description":"Unknown IO ID 45"} 
[2026-07-25 21:26:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456958689280001,"power":27463,"ignition":27,"unknown_83":17408,"odometer":null,"unknown_45":-7210614822650634240}} 
[2026-07-25 21:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":141392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:26:01] local.INFO: GPS data processed {"connection_id":141392,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:26:01] local.INFO: Acknowledgment sent {"connection_id":141392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:26:03] local.INFO: TCP Data received {"connection_id":141391,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:26:03] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:26:03] local.INFO: Packet analysis {"connection_id":141391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:03] local.INFO: Extracted packet for processing {"connection_id":141391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21: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-07-25 21:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:26:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:26:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":141391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:26:03] local.INFO: GPS data processed {"connection_id":141391,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:26:03] local.INFO: Acknowledgment sent {"connection_id":141391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:26:05] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc8110012d9be18005b3aaf8000400e72f..."} 
[2026-07-25 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc8110012d9be18005b3aaf8000400e72f..."} 
[2026-07-25 21:26:05] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc8110012d9be18005b3aaf8000400e72f..."} 
[2026-07-25 21:26:05] local.INFO: Packet analysis {"connection_id":141392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:05] local.INFO: Extracted packet for processing {"connection_id":141392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":765190528,"raw_latitude":95660792,"longitude_deg":76.5190528,"latitude_deg":9.5660792,"altitude":4,"angle":231,"satellites":47,"speed":27,"hex_longitude":"2d9be180","hex_latitude":"05b3aaf8","is_valid_coordinates":true} 
[2026-07-25 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958690816001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358139842296545280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212303672511662080,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784994890000,"timestamp_ms":1784994890000,"timestamp_seconds":1784994890,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc8110"} 
[2026-07-25 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:26: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-07-25 21:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958690816001,"66":27376,"24":27,"83":17408,"16":358139842296545280,"45":-7212303672511662080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958690816001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:26:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358139842296545280,"km_value":358139842296545.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212303672511662080,"description":"Unknown IO ID 45"} 
[2026-07-25 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456958690816001,"power":27376,"ignition":27,"unknown_83":17408,"odometer":null,"unknown_45":-7212303672511662080}} 
[2026-07-25 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":141392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:26:05] local.INFO: GPS data processed {"connection_id":141392,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:26:05] local.INFO: Acknowledgment sent {"connection_id":141392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:26:26] local.INFO: TCP Data received {"connection_id":142387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:26:26] local.INFO: Processing buffer {"connection_id":142387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:26:26] local.INFO: IMEI packet received {"connection_id":142387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":142387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:26:26] local.INFO: TCP Data received {"connection_id":143754,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:26:26] local.INFO: Processing buffer {"connection_id":143754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99f8cfc0012d77a94005f27b900013016323..."} 
[2026-07-25 21:26:26] local.INFO: Packet analysis {"connection_id":143754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:26:26] local.INFO: Extracted packet for processing {"connection_id":143754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99f8"} 
[2026-07-25 21:26:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958552832001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994648000,"timestamp_ms":1784994648000,"timestamp_seconds":1784994648,"priority":1,"record_length":96,"hex_timestamp":"0000019f99f8cfc0"} 
[2026-07-25 21:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958552832001,"66":25375,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958552832001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:26:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958552832001,"power":25375,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":143754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:26:27] local.INFO: GPS data processed {"connection_id":143754,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:26:27] local.INFO: Acknowledgment sent {"connection_id":143754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:26:31] local.INFO: TCP Data received {"connection_id":142387,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:26:31] local.INFO: Processing buffer {"connection_id":142387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:26:31] local.INFO: IMEI packet received {"connection_id":142387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":142387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:26:32] local.INFO: TCP Data received {"connection_id":142387,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:26:32] local.INFO: Processing buffer {"connection_id":142387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:26:32] local.INFO: Packet analysis {"connection_id":142387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:32] local.INFO: Extracted packet for processing {"connection_id":142387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:26:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:26:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":142387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:26:32] local.INFO: GPS data processed {"connection_id":142387,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:26:32] local.INFO: Acknowledgment sent {"connection_id":142387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:26:36] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fcac08012d9bc30005b397e8000600ec2f..."} 
[2026-07-25 21:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fcac08012d9bc30005b397e8000600ec2f..."} 
[2026-07-25 21:26:36] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fcac08012d9bc30005b397e8000600ec2f..."} 
[2026-07-25 21:26:36] local.INFO: Packet analysis {"connection_id":141392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:36] local.INFO: Extracted packet for processing {"connection_id":141392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":765182720,"raw_latitude":95655912,"longitude_deg":76.518272,"latitude_deg":9.5655912,"altitude":6,"angle":236,"satellites":47,"speed":36,"hex_longitude":"2d9bc300","hex_latitude":"05b397e8","is_valid_coordinates":true} 
[2026-07-25 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958691840001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358140284678176768,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7214344366093305856,"note":"Value kept but may cause issues"} 
[2026-07-25 21:26:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 21:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784994901000,"timestamp_ms":1784994901000,"timestamp_seconds":1784994901,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fcac08"} 
[2026-07-25 21:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958691840001,"66":27463,"24":36,"83":17408,"16":358140284678176768,"45":-7214344366093305856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 21:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958691840001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358140284678176768,"km_value":358140284678176.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7214344366093305856,"description":"Unknown IO ID 45"} 
[2026-07-25 21:26:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456958691840001,"power":27463,"ignition":36,"unknown_83":17408,"odometer":null,"unknown_45":-7214344366093305856}} 
[2026-07-25 21:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":141392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:26:36] local.INFO: GPS data processed {"connection_id":141392,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:26:36] local.INFO: Acknowledgment sent {"connection_id":141392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:26:54] local.INFO: TCP Data received {"connection_id":143755,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:26:54] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:26:54] local.INFO: IMEI packet received {"connection_id":143755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":143755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:26:54] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:26:54] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:26:54] local.INFO: IMEI packet received {"connection_id":143756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":143756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:26:59] local.INFO: TCP Data received {"connection_id":143755,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:26:59] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:26:59] local.INFO: IMEI packet received {"connection_id":143755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":143755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:27:00] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:27:00] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:27:00] local.INFO: IMEI packet received {"connection_id":143756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":143756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:27:00] local.INFO: TCP Data received {"connection_id":143755,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:00] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:00] local.INFO: Packet analysis {"connection_id":143755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:00] local.INFO: Extracted packet for processing {"connection_id":143755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21: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-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":143755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:00] local.INFO: GPS data processed {"connection_id":143755,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:00] local.INFO: Acknowledgment sent {"connection_id":143755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:01] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fcc760012d9bae8005b38758000700de2e..."} 
[2026-07-25 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fcc760012d9bae8005b38758000700de2e..."} 
[2026-07-25 21:27:01] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fcc760012d9bae8005b38758000700de2e..."} 
[2026-07-25 21:27:01] local.INFO: Packet analysis {"connection_id":143756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:01] local.INFO: Extracted packet for processing {"connection_id":143756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":765177472,"raw_latitude":95651672,"longitude_deg":76.5177472,"latitude_deg":9.5651672,"altitude":7,"angle":222,"satellites":46,"speed":37,"hex_longitude":"2d9bae80","hex_latitude":"05b38758","is_valid_coordinates":true} 
[2026-07-25 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958694656001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358140606800723968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7222929352884230144,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 21:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784994908000,"timestamp_ms":1784994908000,"timestamp_seconds":1784994908,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fcc760"} 
[2026-07-25 21:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958694656001,"66":27332,"24":37,"83":17408,"16":358140606800723968,"45":-7222929352884230144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 21:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958694656001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358140606800723968,"km_value":358140606800723.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7222929352884230144,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456958694656001,"power":27332,"ignition":37,"unknown_83":17408,"odometer":null,"unknown_45":-7222929352884230144}} 
[2026-07-25 21:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":143756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:01] local.INFO: GPS data processed {"connection_id":143756,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:01] local.INFO: Acknowledgment sent {"connection_id":143756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:03] local.INFO: TCP Data received {"connection_id":142387,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:27:03] local.INFO: Processing buffer {"connection_id":142387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:27:03] local.INFO: Packet analysis {"connection_id":142387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:03] local.INFO: Extracted packet for processing {"connection_id":142387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:27:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":142387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:03] local.INFO: GPS data processed {"connection_id":142387,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:03] local.INFO: Acknowledgment sent {"connection_id":142387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:05] local.INFO: TCP Data received {"connection_id":143755,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:05] local.INFO: Processing buffer {"connection_id":143755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:05] local.INFO: Packet analysis {"connection_id":143755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:05] local.INFO: Extracted packet for processing {"connection_id":143755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":143755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:05] local.INFO: GPS data processed {"connection_id":143755,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:05] local.INFO: Acknowledgment sent {"connection_id":143755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:26] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:27:26] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:27:26] local.INFO: IMEI packet received {"connection_id":141393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":141393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:27:31] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:27:31] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:27:31] local.INFO: IMEI packet received {"connection_id":141393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":141393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:27:31] local.INFO: TCP Data received {"connection_id":143756,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fcf258012d9b998005b368c8000800d62b..."} 
[2026-07-25 21:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fcf258012d9b998005b368c8000800d62b..."} 
[2026-07-25 21:27:31] local.INFO: Processing buffer {"connection_id":143756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fcf258012d9b998005b368c8000800d62b..."} 
[2026-07-25 21:27:31] local.INFO: Packet analysis {"connection_id":143756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:31] local.INFO: Extracted packet for processing {"connection_id":143756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:31] local.INFO: GPS Element Parsed {"raw_longitude":765172096,"raw_latitude":95643848,"longitude_deg":76.5172096,"latitude_deg":9.5643848,"altitude":8,"angle":214,"satellites":43,"speed":33,"hex_longitude":"2d9b9980","hex_latitude":"05b368c8","is_valid_coordinates":true} 
[2026-07-25 21:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958696448001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358141066362224640,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7228699589907884032,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 21:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784994919000,"timestamp_ms":1784994919000,"timestamp_seconds":1784994919,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fcf258"} 
[2026-07-25 21:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958696448001,"66":27397,"24":33,"83":17408,"16":358141066362224640,"45":-7228699589907884032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 21:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958696448001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358141066362224640,"km_value":358141066362224.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7228699589907884032,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456958696448001,"power":27397,"ignition":33,"unknown_83":17408,"odometer":null,"unknown_45":-7228699589907884032}} 
[2026-07-25 21:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":143756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:31] local.INFO: GPS data processed {"connection_id":143756,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:31] local.INFO: Acknowledgment sent {"connection_id":143756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:32] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:27:32] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:27:32] local.INFO: Packet analysis {"connection_id":141393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:32] local.INFO: Extracted packet for processing {"connection_id":141393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":141393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:32] local.INFO: GPS data processed {"connection_id":141393,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:32] local.INFO: Acknowledgment sent {"connection_id":141393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:49] local.INFO: TCP Data received {"connection_id":142388,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:27:49] local.INFO: Processing buffer {"connection_id":142388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:27:49] local.INFO: IMEI packet received {"connection_id":142388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":142388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:27:54] local.INFO: TCP Data received {"connection_id":142388,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:27:54] local.INFO: Processing buffer {"connection_id":142388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:27:54] local.INFO: IMEI packet received {"connection_id":142388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":142388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:27:54] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:27:54] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:27:54] local.INFO: IMEI packet received {"connection_id":141394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":141394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:27:55] local.INFO: TCP Data received {"connection_id":142388,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:55] local.INFO: Processing buffer {"connection_id":142388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:55] local.INFO: Packet analysis {"connection_id":142388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:55] local.INFO: Extracted packet for processing {"connection_id":142388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":142388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:55] local.INFO: GPS data processed {"connection_id":142388,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:55] local.INFO: Acknowledgment sent {"connection_id":142388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:27:59] local.INFO: TCP Data received {"connection_id":142388,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:59] local.INFO: Processing buffer {"connection_id":142388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:27:59] local.INFO: Packet analysis {"connection_id":142388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:59] local.INFO: Extracted packet for processing {"connection_id":142388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:27:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:27: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-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":142388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:27:59] local.INFO: GPS data processed {"connection_id":142388,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:27:59] local.INFO: Acknowledgment sent {"connection_id":142388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:28:00] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:28:00] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:28:00] local.INFO: IMEI packet received {"connection_id":141394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":141394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:28:00] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd2138012d9b844005b34990000700d52b..."} 
[2026-07-25 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd2138012d9b844005b34990000700d52b..."} 
[2026-07-25 21:28:00] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd2138012d9b844005b34990000700d52b..."} 
[2026-07-25 21:28:00] local.INFO: Packet analysis {"connection_id":141394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:28:00] local.INFO: Extracted packet for processing {"connection_id":141394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:28:00] local.INFO: GPS Element Parsed {"raw_longitude":765166656,"raw_latitude":95635856,"longitude_deg":76.5166656,"latitude_deg":9.5635856,"altitude":7,"angle":213,"satellites":43,"speed":33,"hex_longitude":"2d9b8440","hex_latitude":"05b34990","is_valid_coordinates":true} 
[2026-07-25 21:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958699264001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358141534513659904,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7234610564420810752,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,83,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 21:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994931000,"timestamp_ms":1784994931000,"timestamp_seconds":1784994931,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd2138"} 
[2026-07-25 21:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:28: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-07-25 21:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958699264001,"66":27332,"24":33,"83":17408,"16":358141534513659904,"45":-7234610564420810752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,83,16,45]} 
[2026-07-25 21:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958699264001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:28:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358141534513659904,"km_value":358141534513659.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7234610564420810752,"description":"Unknown IO ID 45"} 
[2026-07-25 21:28:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456958699264001,"power":27332,"ignition":33,"unknown_83":17408,"odometer":null,"unknown_45":-7234610564420810752}} 
[2026-07-25 21:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":141394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:28:00] local.INFO: GPS data processed {"connection_id":141394,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:28:00] local.INFO: Acknowledgment sent {"connection_id":141394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:28:03] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:28:03] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:28:03] local.INFO: Packet analysis {"connection_id":141393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:28:03] local.INFO: Extracted packet for processing {"connection_id":141393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:28:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21: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-07-25 21:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:28:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:28:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":141393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:28:03] local.INFO: GPS data processed {"connection_id":141393,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:28:03] local.INFO: Acknowledgment sent {"connection_id":141393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:28:25] local.INFO: TCP Data received {"connection_id":141395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:28:25] local.INFO: Processing buffer {"connection_id":141395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:28:25] local.INFO: IMEI packet received {"connection_id":141395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":141395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:28:31] local.INFO: TCP Data received {"connection_id":142388,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:28:31] local.INFO: Processing buffer {"connection_id":142388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:28:31] local.INFO: Packet analysis {"connection_id":142388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:28:31] local.INFO: Extracted packet for processing {"connection_id":142388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:28:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:28:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:28:31] local.INFO: TCP Data received {"connection_id":141395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:28:31] local.INFO: Processing buffer {"connection_id":141395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:28:31] local.INFO: IMEI packet received {"connection_id":141395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":141395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":142388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:28:31] local.INFO: GPS data processed {"connection_id":142388,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:28:31] local.INFO: Acknowledgment sent {"connection_id":142388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:28:32] local.INFO: TCP Data received {"connection_id":141395,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:28:32] local.INFO: Processing buffer {"connection_id":141395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:28:32] local.INFO: Packet analysis {"connection_id":141395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:28:32] local.INFO: Extracted packet for processing {"connection_id":141395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":141395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:28:32] local.INFO: GPS data processed {"connection_id":141395,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:28:32] local.INFO: Acknowledgment sent {"connection_id":141395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:28:32] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fedaa0012d9b02c005b1e360000b00c72d..."} 
[2026-07-25 21:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fedaa0012d9b02c005b1e360000b00c72d..."} 
[2026-07-25 21:28:32] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fedaa0012d9b02c005b1e360000b00c72d..."} 
[2026-07-25 21:28:32] local.INFO: Packet analysis {"connection_id":141394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fe"} 
[2026-07-25 21:28:32] local.INFO: Extracted packet for processing {"connection_id":141394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fe"} 
[2026-07-25 21:28:32] local.INFO: GPS Element Parsed {"raw_longitude":765133504,"raw_latitude":95544160,"longitude_deg":76.5133504,"latitude_deg":9.554416,"altitude":11,"angle":199,"satellites":45,"speed":37,"hex_longitude":"2d9b02c0","hex_latitude":"05b1e360","is_valid_coordinates":true} 
[2026-07-25 21:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958728960001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358146340582064128,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7274580011136923648,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995044000,"timestamp_ms":1784995044000,"timestamp_seconds":1784995044,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fedaa0"} 
[2026-07-25 21:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:28: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-07-25 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958728960001,"66":27365,"34":206,"83":17408,"24":37,"16":358146340582064128,"45":-7274580011136923648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,83,24,16,45]} 
[2026-07-25 21:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958728960001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358146340582064128,"km_value":358146340582064.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7274580011136923648,"description":"Unknown IO ID 45"} 
[2026-07-25 21:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958728960001,"power":27365,"unknown_34":206,"unknown_83":17408,"ignition":37,"odometer":null,"unknown_45":-7274580011136923648}} 
[2026-07-25 21:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":141394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:28:32] local.INFO: GPS data processed {"connection_id":141394,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:28:32] local.INFO: Acknowledgment sent {"connection_id":141394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:28:49] local.INFO: TCP Data received {"connection_id":141350,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:28:49] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:28:49] local.INFO: IMEI packet received {"connection_id":141350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":141350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:28:54] local.INFO: TCP Data received {"connection_id":141350,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:28:54] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:28:54] local.INFO: IMEI packet received {"connection_id":141350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":141350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:28:56] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:28:56] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:28:56] local.INFO: IMEI packet received {"connection_id":143757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":143757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:28:58] local.INFO: TCP Data received {"connection_id":141350,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:28:58] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:28:58] local.INFO: Packet analysis {"connection_id":141350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:28:58] local.INFO: Extracted packet for processing {"connection_id":141350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:28:58] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:28:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":141350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:28:58] local.INFO: GPS data processed {"connection_id":141350,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:28:58] local.INFO: Acknowledgment sent {"connection_id":141350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:01] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:01] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:01] local.INFO: IMEI packet received {"connection_id":143757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":143757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:29:02] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:02] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:02] local.INFO: IMEI packet received {"connection_id":143757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":143757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:29:03] local.INFO: TCP Data received {"connection_id":141395,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:29:03] local.INFO: Processing buffer {"connection_id":141395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:29:03] local.INFO: Packet analysis {"connection_id":141395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:29:03] local.INFO: Extracted packet for processing {"connection_id":141395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":141395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:03] local.INFO: GPS data processed {"connection_id":141395,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:03] local.INFO: Acknowledgment sent {"connection_id":141395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:04] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ff0598012d9af58005b1c308000e00c32c..."} 
[2026-07-25 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ff0598012d9af58005b1c308000e00c32c..."} 
[2026-07-25 21:29:04] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ff0598012d9af58005b1c308000e00c32c..."} 
[2026-07-25 21:29:04] local.INFO: Packet analysis {"connection_id":143757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:29:04] local.INFO: Extracted packet for processing {"connection_id":143757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765130112,"raw_latitude":95535880,"longitude_deg":76.5130112,"latitude_deg":9.553588,"altitude":14,"angle":195,"satellites":44,"speed":30,"hex_longitude":"2d9af580","hex_latitude":"05b1c308","is_valid_coordinates":true} 
[2026-07-25 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958731264001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358146774373761024,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7277042917185462272,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784995055000,"timestamp_ms":1784995055000,"timestamp_seconds":1784995055,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ff0598"} 
[2026-07-25 21:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958731264001,"66":27463,"34":206,"83":17408,"24":30,"16":358146774373761024,"45":-7277042917185462272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,83,24,16,45]} 
[2026-07-25 21:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958731264001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:04] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 21:29:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358146774373761024,"km_value":358146774373761.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7277042917185462272,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958731264001,"power":27463,"unknown_34":206,"unknown_83":17408,"ignition":30,"odometer":null,"unknown_45":-7277042917185462272}} 
[2026-07-25 21:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":143757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:04] local.INFO: GPS data processed {"connection_id":143757,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:04] local.INFO: Acknowledgment sent {"connection_id":143757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:05] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ff1d08012d9af2c005b1b1f0000f00b62d..."} 
[2026-07-25 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ff1d08012d9af2c005b1b1f0000f00b62d..."} 
[2026-07-25 21:29:05] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ff1d08012d9af2c005b1b1f0000f00b62d..."} 
[2026-07-25 21:29:05] local.INFO: Packet analysis {"connection_id":143757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:29:05] local.INFO: Extracted packet for processing {"connection_id":143757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":765129408,"raw_latitude":95531504,"longitude_deg":76.5129408,"latitude_deg":9.5531504,"altitude":15,"angle":182,"satellites":45,"speed":29,"hex_longitude":"2d9af2c0","hex_latitude":"05b1b1f0","is_valid_coordinates":true} 
[2026-07-25 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958734080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358146989122125824,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280772460628998144,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784995061000,"timestamp_ms":1784995061000,"timestamp_seconds":1784995061,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ff1d08"} 
[2026-07-25 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:29: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-07-25 21:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958734080001,"66":27463,"34":206,"83":17408,"24":29,"16":358146989122125824,"45":-7280772460628998144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,83,24,16,45]} 
[2026-07-25 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958734080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:05] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-25 21:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358146989122125824,"km_value":358146989122125.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280772460628998144,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958734080001,"power":27463,"unknown_34":206,"unknown_83":17408,"ignition":29,"odometer":null,"unknown_45":-7280772460628998144}} 
[2026-07-25 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":143757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:05] local.INFO: GPS data processed {"connection_id":143757,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:05] local.INFO: Acknowledgment sent {"connection_id":143757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:25] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:29:25] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:29:25] local.INFO: IMEI packet received {"connection_id":141351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":141351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:29:30] local.INFO: TCP Data received {"connection_id":141350,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:29:30] local.INFO: Processing buffer {"connection_id":141350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:29:30] local.INFO: Packet analysis {"connection_id":141350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:29:30] local.INFO: Extracted packet for processing {"connection_id":141350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":141350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:30] local.INFO: GPS data processed {"connection_id":141350,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:30] local.INFO: Acknowledgment sent {"connection_id":141350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:31] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:29:31] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:29:31] local.INFO: IMEI packet received {"connection_id":141351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":141351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:29:32] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:29:32] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fc0fc8012d196400071fefb00043006e29..."} 
[2026-07-25 21:29:32] local.INFO: Packet analysis {"connection_id":141351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:29:32] local.INFO: Extracted packet for processing {"connection_id":141351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fc"} 
[2026-07-25 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958607360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784994861000,"timestamp_ms":1784994861000,"timestamp_seconds":1784994861,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fc0fc8"} 
[2026-07-25 21:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 21:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958607360001,"66":2144,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958607360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958607360001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":141351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:32] local.INFO: GPS data processed {"connection_id":141351,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:32] local.INFO: Acknowledgment sent {"connection_id":141351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:36] local.INFO: TCP Data received {"connection_id":143757,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ff4be8012d9af30005b18ef0001300b32f..."} 
[2026-07-25 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ff4be8012d9af30005b18ef0001300b32f..."} 
[2026-07-25 21:29:36] local.INFO: Processing buffer {"connection_id":143757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ff4be8012d9af30005b18ef0001300b32f..."} 
[2026-07-25 21:29:36] local.INFO: Packet analysis {"connection_id":143757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:29:36] local.INFO: Extracted packet for processing {"connection_id":143757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":765129472,"raw_latitude":95522544,"longitude_deg":76.5129472,"latitude_deg":9.5522544,"altitude":19,"angle":179,"satellites":47,"speed":31,"hex_longitude":"2d9af300","hex_latitude":"05b18ef0","is_valid_coordinates":true} 
[2026-07-25 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958735616001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358147422913822720,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281546516816072704,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784995073000,"timestamp_ms":1784995073000,"timestamp_seconds":1784995073,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ff4be8"} 
[2026-07-25 21:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":143757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":143757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":143757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958735616001,"66":27571,"117":206,"83":17408,"24":31,"16":358147422913822720,"45":-7281546516816072704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-25 21:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958735616001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 21:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358147422913822720,"km_value":358147422913822.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281546516816072704,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958735616001,"power":27571,"unknown_117":206,"unknown_83":17408,"ignition":31,"odometer":null,"unknown_45":-7281546516816072704}} 
[2026-07-25 21:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":143757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:36] local.INFO: GPS data processed {"connection_id":143757,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:36] local.INFO: Acknowledgment sent {"connection_id":143757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:49] local.INFO: TCP Data received {"connection_id":143758,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:29:49] local.INFO: Processing buffer {"connection_id":143758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:29:49] local.INFO: IMEI packet received {"connection_id":143758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":143758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:29:54] local.INFO: TCP Data received {"connection_id":143758,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:29:54] local.INFO: Processing buffer {"connection_id":143758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:29:54] local.INFO: IMEI packet received {"connection_id":143758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":143758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:29:55] local.INFO: TCP Data received {"connection_id":142390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:55] local.INFO: Processing buffer {"connection_id":142390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:55] local.INFO: IMEI packet received {"connection_id":142390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":142390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:29:55] local.INFO: TCP Data received {"connection_id":143758,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:29:55] local.INFO: Processing buffer {"connection_id":143758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:29:55] local.INFO: Packet analysis {"connection_id":143758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:29:55] local.INFO: Extracted packet for processing {"connection_id":143758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:29:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:29:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":143758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:29:55] local.INFO: GPS data processed {"connection_id":143758,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:29:55] local.INFO: Acknowledgment sent {"connection_id":143758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:29:59] local.INFO: TCP Data received {"connection_id":142390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:59] local.INFO: Processing buffer {"connection_id":142390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:29:59] local.INFO: IMEI packet received {"connection_id":142390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":142390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:30:01] local.INFO: TCP Data received {"connection_id":142390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ff7eb0012d9af44005b16f28001200a62e..."} 
[2026-07-25 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ff7eb0012d9af44005b16f28001200a62e..."} 
[2026-07-25 21:30:01] local.INFO: Processing buffer {"connection_id":142390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ff7eb0012d9af44005b16f28001200a62e..."} 
[2026-07-25 21:30:01] local.INFO: Packet analysis {"connection_id":142390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:30:01] local.INFO: Extracted packet for processing {"connection_id":142390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":765129792,"raw_latitude":95514408,"longitude_deg":76.5129792,"latitude_deg":9.5514408,"altitude":18,"angle":166,"satellites":46,"speed":20,"hex_longitude":"2d9af440","hex_latitude":"05b16f28","is_valid_coordinates":true} 
[2026-07-25 21:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958738688001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358147818050813952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281476148074188800,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784995086000,"timestamp_ms":1784995086000,"timestamp_seconds":1784995086,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ff7eb0"} 
[2026-07-25 21:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":142390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":142390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":142390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958738688001,"66":27343,"117":206,"83":17408,"24":20,"16":358147818050813952,"45":-7281476148074188800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-25 21:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958738688001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358147818050813952,"km_value":358147818050813.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281476148074188800,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958738688001,"power":27343,"unknown_117":206,"unknown_83":17408,"ignition":20,"odometer":null,"unknown_45":-7281476148074188800}} 
[2026-07-25 21:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":142390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:01] local.INFO: GPS data processed {"connection_id":142390,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:01] local.INFO: Acknowledgment sent {"connection_id":142390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:03] local.INFO: TCP Data received {"connection_id":142390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ff9238012d9af90005b16468001200922d..."} 
[2026-07-25 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ff9238012d9af90005b16468001200922d..."} 
[2026-07-25 21:30:03] local.INFO: Processing buffer {"connection_id":142390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ff9238012d9af90005b16468001200922d..."} 
[2026-07-25 21:30:03] local.INFO: Packet analysis {"connection_id":142390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:30:03] local.INFO: Extracted packet for processing {"connection_id":142390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":765131008,"raw_latitude":95511656,"longitude_deg":76.5131008,"latitude_deg":9.5511656,"altitude":18,"angle":146,"satellites":45,"speed":27,"hex_longitude":"2d9af900","hex_latitude":"05b16468","is_valid_coordinates":true} 
[2026-07-25 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958742016001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358147964079702016,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281124304355383296,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995091000,"timestamp_ms":1784995091000,"timestamp_seconds":1784995091,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ff9238"} 
[2026-07-25 21:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:30: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-07-25 21:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958742016001,"66":26832,"117":206,"83":17408,"24":27,"16":358147964079702016,"45":-7281124304355383296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958742016001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358147964079702016,"km_value":358147964079702.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281124304355383296,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958742016001,"power":26832,"unknown_117":206,"unknown_83":17408,"ignition":27,"odometer":null,"unknown_45":-7281124304355383296}} 
[2026-07-25 21:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":142390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:03] local.INFO: GPS data processed {"connection_id":142390,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:03] local.INFO: Acknowledgment sent {"connection_id":142390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:03] local.INFO: TCP Data received {"connection_id":141351,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:30:03] local.INFO: Processing buffer {"connection_id":141351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:30:03] local.INFO: Packet analysis {"connection_id":141351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:30:03] local.INFO: Extracted packet for processing {"connection_id":141351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:30: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-07-25 21:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":141351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:03] local.INFO: GPS data processed {"connection_id":141351,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:03] local.INFO: Acknowledgment sent {"connection_id":141351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:19] local.INFO: TCP Data received {"connection_id":141396,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:19] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:19] local.INFO: IMEI packet received {"connection_id":141396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":141396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:30:21] local.INFO: TCP Data received {"connection_id":141396,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:21] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:21] local.INFO: IMEI packet received {"connection_id":141396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":141396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:30:22] local.INFO: TCP Data received {"connection_id":141396,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:22] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:22] local.INFO: IMEI packet received {"connection_id":141396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":141396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:30:26] local.INFO: TCP Data received {"connection_id":141396,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:26] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:30:26] local.INFO: IMEI packet received {"connection_id":141396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":141396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:30:26] local.INFO: TCP Data received {"connection_id":143758,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:30:26] local.INFO: Processing buffer {"connection_id":143758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:30:26] local.INFO: Packet analysis {"connection_id":143758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:30:26] local.INFO: Extracted packet for processing {"connection_id":143758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:30:26] local.INFO: TCP Data received {"connection_id":141396,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a008850012d7c5c8005da55b8000000a116..."} 
[2026-07-25 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a008850012d7c5c8005da55b8000000a116..."} 
[2026-07-25 21:30:26] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a008850012d7c5c8005da55b8000000a116..."} 
[2026-07-25 21:30:26] local.INFO: Packet analysis {"connection_id":141396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:30:26] local.INFO: Extracted packet for processing {"connection_id":141396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":763124864,"raw_latitude":98194872,"longitude_deg":76.3124864,"latitude_deg":9.8194872,"altitude":0,"angle":161,"satellites":22,"speed":50,"hex_longitude":"2d7c5c80","hex_latitude":"05da55b8","is_valid_coordinates":true} 
[2026-07-25 21:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958757376001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110437013773090816,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957659683980183552,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995154000,"timestamp_ms":1784995154000,"timestamp_seconds":1784995154,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a008850"} 
[2026-07-25 21:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 21:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:30: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-07-25 21:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958757376001,"66":11787,"168":206,"85":15104,"24":50,"16":110437013773090816,"45":8957659683980183552},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-07-25 21:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958757376001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110437013773090816,"km_value":110437013773090.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957659683980183552,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958757376001,"power":11787,"unknown_168":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8957659683980183552}} 
[2026-07-25 21:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":143758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:26] local.INFO: GPS data processed {"connection_id":143758,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:26] local.INFO: Acknowledgment sent {"connection_id":143758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":141396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:26] local.INFO: GPS data processed {"connection_id":141396,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:26] local.INFO: Acknowledgment sent {"connection_id":141396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:31] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:30:31] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:30:31] local.INFO: IMEI packet received {"connection_id":143759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":143759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:30:34] local.INFO: TCP Data received {"connection_id":142390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f99ffad90012d9b074005b153a8001000872f..."} 
[2026-07-25 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99ffad90012d9b074005b153a8001000872f..."} 
[2026-07-25 21:30:34] local.INFO: Processing buffer {"connection_id":142390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99ffad90012d9b074005b153a8001000872f..."} 
[2026-07-25 21:30:34] local.INFO: Packet analysis {"connection_id":142390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:30:34] local.INFO: Extracted packet for processing {"connection_id":142390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99ff"} 
[2026-07-25 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":765134656,"raw_latitude":95507368,"longitude_deg":76.5134656,"latitude_deg":9.5507368,"altitude":16,"angle":135,"satellites":47,"speed":38,"hex_longitude":"2d9b0740","hex_latitude":"05b153a8","is_valid_coordinates":true} 
[2026-07-25 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958743296001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358148238957608960,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7279787298216712192,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784995098000,"timestamp_ms":1784995098000,"timestamp_seconds":1784995098,"priority":1,"record_length":96,"hex_timestamp":"0000019f99ffad90"} 
[2026-07-25 21:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-07-25 21:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":142390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":142390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":142390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958743296001,"66":27365,"117":206,"83":17408,"24":38,"16":358148238957608960,"45":-7279787298216712192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,83,24,16,45]} 
[2026-07-25 21:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958743296001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:34] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-07-25 21:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358148238957608960,"km_value":358148238957608.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7279787298216712192,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958743296001,"power":27365,"unknown_117":206,"unknown_83":17408,"ignition":38,"odometer":null,"unknown_45":-7279787298216712192}} 
[2026-07-25 21:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":142390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:35] local.INFO: GPS data processed {"connection_id":142390,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:35] local.INFO: Acknowledgment sent {"connection_id":142390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:36] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:30:36] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:30:36] local.INFO: IMEI packet received {"connection_id":143759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":143759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:30:37] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:30:37] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:30:37] local.INFO: Packet analysis {"connection_id":143759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:30:37] local.INFO: Extracted packet for processing {"connection_id":143759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:30: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-07-25 21:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:30:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":143759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:30:37] local.INFO: GPS data processed {"connection_id":143759,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:30:37] local.INFO: Acknowledgment sent {"connection_id":143759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:30:54] local.INFO: TCP Data received {"connection_id":141397,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:30:54] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:30:54] local.INFO: IMEI packet received {"connection_id":141397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":141397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:30:54] local.INFO: TCP Data received {"connection_id":141352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:30:54] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:30:54] local.INFO: IMEI packet received {"connection_id":141352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":141352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:30:59] local.INFO: TCP Data received {"connection_id":141352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:30:59] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:30:59] local.INFO: IMEI packet received {"connection_id":141352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":141352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:30:59] local.INFO: TCP Data received {"connection_id":141397,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:30:59] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:30:59] local.INFO: IMEI packet received {"connection_id":141397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":141397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:31:00] local.INFO: TCP Data received {"connection_id":141397,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:00] local.INFO: TCP Data received {"connection_id":141352,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a011108012d9b1d0005b002e0000500b726..."} 
[2026-07-25 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:00] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:00] local.INFO: Packet analysis {"connection_id":141397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:31:00] local.INFO: Extracted packet for processing {"connection_id":141397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:31:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a011108012d9b1d0005b002e0000500b726..."} 
[2026-07-25 21:31: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-07-25 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:31:00] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a011108012d9b1d0005b002e0000500b726..."} 
[2026-07-25 21:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:31:00] local.INFO: Packet analysis {"connection_id":141352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21: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-07-25 21:31:00] local.INFO: Extracted packet for processing {"connection_id":141352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:00] local.INFO: GPS Element Parsed {"raw_longitude":765140224,"raw_latitude":95421152,"longitude_deg":76.5140224,"latitude_deg":9.5421152,"altitude":5,"angle":183,"satellites":38,"speed":46,"hex_longitude":"2d9b1d00","hex_latitude":"05b002e0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958766336001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358152503860133888,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7269091249122564096,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995189000,"timestamp_ms":1784995189000,"timestamp_seconds":1784995189,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a011108"} 
[2026-07-25 21:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:31: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-07-25 21: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-07-25 21:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958766336001,"66":27376,"8":206,"83":17408,"24":46,"16":358152503860133888,"45":-7269091249122564096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-25 21:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958766336001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358152503860133888,"km_value":358152503860133.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7269091249122564096,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958766336001,"power":27376,"unknown_8":206,"unknown_83":17408,"ignition":46,"odometer":null,"unknown_45":-7269091249122564096}} 
[2026-07-25 21:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":141352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:00] local.INFO: GPS data processed {"connection_id":141352,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:00] local.INFO: Acknowledgment sent {"connection_id":141352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":141397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:00] local.INFO: GPS data processed {"connection_id":141397,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:00] local.INFO: Acknowledgment sent {"connection_id":141397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:05] local.INFO: TCP Data received {"connection_id":141397,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:05] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f99fd6788012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:05] local.INFO: Packet analysis {"connection_id":141397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:31:05] local.INFO: Extracted packet for processing {"connection_id":141397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f99fd"} 
[2026-07-25 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958629888001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784994949000,"timestamp_ms":1784994949000,"timestamp_seconds":1784994949,"priority":1,"record_length":96,"hex_timestamp":"0000019f99fd6788"} 
[2026-07-25 21:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-25 21:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958629888001,"66":25321,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958629888001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958629888001,"power":25321,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":141397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:05] local.INFO: GPS data processed {"connection_id":141397,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:05] local.INFO: Acknowledgment sent {"connection_id":141397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:05] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:31:05] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:31:05] local.INFO: IMEI packet received {"connection_id":141398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":141398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:31:08] local.INFO: TCP Data received {"connection_id":143759,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:31:08] local.INFO: Processing buffer {"connection_id":143759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:31:08] local.INFO: Packet analysis {"connection_id":143759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:31:08] local.INFO: Extracted packet for processing {"connection_id":143759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31: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-07-25 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:31: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-07-25 21:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":143759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":143759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":143759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":143759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:08] local.INFO: GPS data processed {"connection_id":143759,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:08] local.INFO: Acknowledgment sent {"connection_id":143759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:12] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:31:12] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:31:12] local.INFO: IMEI packet received {"connection_id":141398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":141398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:31:13] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01bce8012d7c7e0005d99b280000015d10..."} 
[2026-07-25 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01bce8012d7c7e0005d99b280000015d10..."} 
[2026-07-25 21:31:13] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01bce8012d7c7e0005d99b280000015d10..."} 
[2026-07-25 21:31:13] local.INFO: Packet analysis {"connection_id":141398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:13] local.INFO: Extracted packet for processing {"connection_id":141398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763133440,"raw_latitude":98147112,"longitude_deg":76.313344,"latitude_deg":9.8147112,"altitude":0,"angle":349,"satellites":16,"speed":9,"hex_longitude":"2d7c7e00","hex_latitude":"05d99b28","is_valid_coordinates":true} 
[2026-07-25 21:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958776064001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110440329487843328,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970537164148203520,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784995233000,"timestamp_ms":1784995233000,"timestamp_seconds":1784995233,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01bce8"} 
[2026-07-25 21:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3674937296102097920,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2583763160,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6272106019850354664,"corrected_to":0} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182075090796800,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2566966696,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2765131006368239345,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194775040,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,244,85,24,241,157,16,92,159,126,45,192,122,23,10,66,118,120,21,83,1,240,207,227,154,217,4,113,205,9,60,127,168,239,44,245,2,136,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6272106019850354664,"validated":0}]} 
[2026-07-25 21:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1202591891456,"timestamp_ms":1202591891456,"timestamp_seconds":1202591891.456,"priority":0,"record_length":508,"hex_timestamp":"0000011800100000"} 
[2026-07-25 21:31:13] local.INFO: AVL Record successfully parsed {"record_number":2,"total_expected":10,"successful_records":2,"record_length":508,"new_offset":614} 
[2026-07-25 21:31:13] local.WARNING: Invalid latitude detected, setting to null {"latitude":-200.7238656,"raw_latitude":2287728640,"hex_latitude":"885bf800"} 
[2026-07-25 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":3808432129,"raw_latitude":null,"longitude_deg":-48.6535167,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":415,"hex_longitude":"e3001001","hex_latitude":"885bf800","is_valid_coordinates":false} 
[2026-07-25 21:31:13] local.INFO: IO Element Header Parsed {"event_io_id":154,"total_io":0,"n1_one_byte":253,"n2_two_byte":128,"n4_four_byte":1,"n8_eight_byte":45,"data_length":795,"current_offset":644} 
[2026-07-25 21:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":644,"expected_size":1300,"max_length":795,"available_bytes":151,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":638,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:31:13] local.WARNING: AVL Record parsing failed {"record_number":3,"total_expected":10,"offset":614,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":2,"records_with_valid_data":2} 
[2026-07-25 21:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141398,"avl_records_parsed":2,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141398,"device_imei":"862567072406932","avl_records_count":2} 
[2026-07-25 21:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141398,"device_imei":"862567072406932","avl_records_count":2} 
[2026-07-25 21:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":2,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958776064001,"66":11504,"244":206,"85":15104,"24":9,"16":110440329487843328,"45":8970537164148203520},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-07-25 21:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958776064001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110440329487843328,"km_value":110440329487843.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970537164148203520,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958776064001,"power":11504,"unknown_244":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8970537164148203520}} 
[2026-07-25 21:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":3674937296102097920,"244":206,"85":989861888,"24":327682,"241":0,"157":3808432129,"16":25713780,"92":1979711488,"159":2583763160,"126":26625,"45":2088861701,"192":98137752,"122":32768,"23":10,"10":262383,"66":11798,"118":38913,"120":40960,"21":7,"83":28673,"1":763133312,"240":16794881,"207":13478133,"227":1048968,"154":21989377,"217":1984430080,"4":15663360,"113":939585537,"205":0,"9":1572864,"60":77180,"127":1074125179,"168":182,"239":72182075090796800,"44":2566966696,"245":13522235,"2":15794176,"136":1549991936,"5":-2765131006368239345,"69":72061993194775040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":763133312,"io_data_keys":[0,244,85,24,241,157,16,92,159,126,45,192,122,23,10,66,118,120,21,83,1,240,207,227,154,217,4,113,205,9,60,127,168,239,44,245,2,136,5,69]} 
[2026-07-25 21:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":3674937296102097920,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":989861888,"description":"Unknown IO ID 85"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":241,"value":0,"description":"Unknown IO ID 241"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":3808432129,"description":"Unknown IO ID 157"} 
[2026-07-25 21:31:13] local.INFO: Odometer value processed {"io_id":16,"raw_meters":25713780,"kilometers":25713.78} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":92,"value":1979711488,"description":"Unknown IO ID 92"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":159,"value":2583763160,"description":"Unknown IO ID 159"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":126,"value":26625,"description":"Unknown IO ID 126"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2088861701,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":98137752,"description":"Unknown IO ID 192"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":32768,"description":"Unknown IO ID 122"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":10,"description":"Unknown IO ID 23"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":10,"value":262383,"description":"Unknown IO ID 10"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":38913,"description":"Unknown IO ID 118"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":40960,"description":"Unknown IO ID 120"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":7,"description":"Unknown IO ID 21"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":28673,"description":"Unknown IO ID 83"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":240,"value":16794881,"description":"Power Status (1-byte)"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":13478133,"description":"Unknown IO ID 207"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":227,"value":1048968,"description":"Unknown IO ID 227"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":21989377,"description":"Unknown IO ID 154"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":1984430080,"description":"Unknown IO ID 217"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":4,"value":15663360,"description":"Unknown IO ID 4"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":939585537,"description":"Unknown IO ID 113"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":1572864,"description":"Unknown IO ID 9"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":60,"value":77180,"description":"Unknown IO ID 60"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":127,"value":1074125179,"description":"Unknown IO ID 127"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":168,"value":182,"description":"Unknown IO ID 168"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":239,"value":72182075090796800,"description":"Ignition (1-byte)"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":2566966696,"description":"Unknown IO ID 44"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":136,"value":1549991936,"description":"Unknown IO ID 136"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":5,"value":-2765131006368239345,"description":"Unknown IO ID 5"} 
[2026-07-25 21:31:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":72061993194775040,"description":"Unknown IO ID 69"} 
[2026-07-25 21:31:13] local.INFO: IO Data Validated and Processed {"original_count":40,"validated_count":40,"validated_data":{"unknown_0":3674937296102097920,"unknown_244":206,"unknown_85":989861888,"ignition":327682,"unknown_241":0,"unknown_157":3808432129,"odometer":25713.78,"unknown_92":1979711488,"unknown_159":2583763160,"unknown_126":26625,"unknown_45":2088861701,"unknown_192":98137752,"unknown_122":32768,"unknown_23":10,"unknown_10":262383,"power":11798,"unknown_118":38913,"unknown_120":40960,"unknown_21":7,"unknown_83":28673,"imei":763133312,"unknown_240":16794881,"unknown_207":13478133,"unknown_227":1048968,"unknown_154":21989377,"unknown_217":1984430080,"unknown_4":15663360,"unknown_113":939585537,"cell_id":0,"unknown_9":1572864,"unknown_60":77180,"unknown_127":1074125179,"unknown_168":182,"unknown_239":72182075090796800,"unknown_44":2566966696,"geofence_id":13522235,"power_alt":15794176,"unknown_136":1549991936,"unknown_5":-2765131006368239345,"unknown_69":72061993194775040}} 
[2026-07-25 21:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":141398,"result":{"success":true,"processed":2,"errors":0,"skipped":0,"total":2,"results":[{"success":true,"position_id":545077,"device_id":194233,"message":"Position recorded successfully"},{"success":true,"position_id":545078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:13] local.INFO: GPS data processed {"connection_id":141398,"processed":2,"errors":0,"total":2} 
[2026-07-25 21:31:13] local.INFO: Acknowledgment sent {"connection_id":141398,"records_acknowledged":2,"records_expected":10,"ack_packet":"00000000000000028e02000061e4"} 
[2026-07-25 21:31:26] local.INFO: TCP Data received {"connection_id":142391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:31:26] local.INFO: Processing buffer {"connection_id":142391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:31:26] local.INFO: IMEI packet received {"connection_id":142391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":142391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:31:31] local.INFO: TCP Data received {"connection_id":142391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:31:31] local.INFO: Processing buffer {"connection_id":142391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:31:31] local.INFO: IMEI packet received {"connection_id":142391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":142391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:31:31] local.INFO: TCP Data received {"connection_id":141352,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a013048012d9b1a4005afdf50000600ba2a..."} 
[2026-07-25 21:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a013048012d9b1a4005afdf50000600ba2a..."} 
[2026-07-25 21:31:31] local.INFO: Processing buffer {"connection_id":141352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a013048012d9b1a4005afdf50000600ba2a..."} 
[2026-07-25 21:31:31] local.INFO: Packet analysis {"connection_id":141352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:31] local.INFO: Extracted packet for processing {"connection_id":141352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:31] local.INFO: GPS Element Parsed {"raw_longitude":765139520,"raw_latitude":95412048,"longitude_deg":76.513952,"latitude_deg":9.5412048,"altitude":6,"angle":186,"satellites":42,"speed":45,"hex_longitude":"2d9b1a40","hex_latitude":"05afdf50","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958768384001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358152946241765376,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7269654199078297600,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784995197000,"timestamp_ms":1784995197000,"timestamp_seconds":1784995197,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a013048"} 
[2026-07-25 21:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958768384001,"66":27321,"8":206,"83":17408,"24":45,"16":358152946241765376,"45":-7269654199078297600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-25 21:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958768384001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:31] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-25 21:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358152946241765376,"km_value":358152946241765.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7269654199078297600,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958768384001,"power":27321,"unknown_8":206,"unknown_83":17408,"ignition":45,"odometer":null,"unknown_45":-7269654199078297600}} 
[2026-07-25 21:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":141352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:31] local.INFO: GPS data processed {"connection_id":141352,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:31] local.INFO: Acknowledgment sent {"connection_id":141352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:32] local.INFO: TCP Data received {"connection_id":142391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:31:32] local.INFO: Processing buffer {"connection_id":142391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:31:32] local.INFO: Packet analysis {"connection_id":142391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:31:32] local.INFO: Extracted packet for processing {"connection_id":142391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":142391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:32] local.INFO: GPS data processed {"connection_id":142391,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:32] local.INFO: Acknowledgment sent {"connection_id":142391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:44] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01e010012d7c7c0005d99d880000011d15..."} 
[2026-07-25 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01e010012d7c7c0005d99d880000011d15..."} 
[2026-07-25 21:31:44] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01e010012d7c7c0005d99d880000011d15..."} 
[2026-07-25 21:31:44] local.INFO: Packet analysis {"connection_id":141398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:44] local.INFO: Extracted packet for processing {"connection_id":141398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":98147720,"longitude_deg":76.3132928,"latitude_deg":9.814772,"altitude":0,"angle":285,"satellites":21,"speed":9,"hex_longitude":"2d7c7c00","hex_latitude":"05d99d88","is_valid_coordinates":true} 
[2026-07-25 21:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958779648001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110440411092221952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607532894267392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784995242000,"timestamp_ms":1784995242000,"timestamp_seconds":1784995242,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01e010"} 
[2026-07-25 21:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":141398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":141398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":141398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958779648001,"66":11830,"245":206,"85":15104,"24":9,"16":110440411092221952,"45":8970607532894267392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958779648001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110440411092221952,"km_value":110440411092221.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607532894267392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958779648001,"power":11830,"geofence_id":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8970607532894267392}} 
[2026-07-25 21:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":141398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:44] local.INFO: GPS data processed {"connection_id":141398,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:44] local.INFO: Acknowledgment sent {"connection_id":141398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:49] local.INFO: TCP Data received {"connection_id":141399,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:31:49] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:31:49] local.INFO: IMEI packet received {"connection_id":141399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":141399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:31:53] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:53] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:53] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:31:54] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:54] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:54] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:31:55] local.INFO: TCP Data received {"connection_id":141399,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:31:55] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:31:55] local.INFO: IMEI packet received {"connection_id":141399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":141399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:31:56] local.INFO: TCP Data received {"connection_id":141399,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:56] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:31:56] local.INFO: Packet analysis {"connection_id":141399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:56] local.INFO: Extracted packet for processing {"connection_id":141399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:31:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:31: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-07-25 21:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:31:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":141399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:31:56] local.INFO: GPS data processed {"connection_id":141399,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:31:56] local.INFO: Acknowledgment sent {"connection_id":141399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:31:57] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:57] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:31:57] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:32:00] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:00] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:00] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:32:00] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":1348,"data_hex":"000000000000030f8e0a0000019f9a023218012d9ad14005ae9ab0000c00b92a..."} 
[2026-07-25 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f9a023218012d9ad14005ae9ab0000c00b92a..."} 
[2026-07-25 21:32:00] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f9a023218012d9ad14005ae9ab0000c00b92a..."} 
[2026-07-25 21:32:00] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:00] local.INFO: Extracted packet for processing {"connection_id":141400,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":765120832,"raw_latitude":95328944,"longitude_deg":76.5120832,"latitude_deg":9.5328944,"altitude":12,"angle":185,"satellites":42,"speed":53,"hex_longitude":"2d9ad140","hex_latitude":"05ae9ab0","is_valid_coordinates":true} 
[2026-07-25 21:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958785536001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358157103770107904,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290201872399392768,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995263000,"timestamp_ms":1784995263000,"timestamp_seconds":1784995263,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a023218"} 
[2026-07-25 21:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21: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-07-25 21:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958785536001,"66":27376,"8":206,"83":17408,"24":53,"16":358157103770107904,"45":-7290201872399392768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,83,24,16,45]} 
[2026-07-25 21:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958785536001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-25 21:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358157103770107904,"km_value":358157103770107.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290201872399392768,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958785536001,"power":27376,"unknown_8":206,"unknown_83":17408,"ignition":53,"odometer":null,"unknown_45":-7290201872399392768}} 
[2026-07-25 21:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":141400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:00] local.INFO: GPS data processed {"connection_id":141400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:00] local.INFO: Acknowledgment sent {"connection_id":141400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:00] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:00] local.INFO: Incomplete packet, waiting for more data {"connection_id":141400,"needed":795,"available":553} 
[2026-07-25 21:32:01] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":242,"data_hex":"0000000000019f9a01c0d0012d9af94005af28b0000900c72c00350000000a00..."} 
[2026-07-25 21:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":242,"packet_hex":"0000000000019f9a01c0d0012d9af94005af28b0000900c72c00350000000a00..."} 
[2026-07-25 21:32:01] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a024d70012d9acfc005ae76d0000c00ac2a..."} 
[2026-07-25 21:32:01] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:01] local.INFO: Extracted packet for processing {"connection_id":141400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":765120448,"raw_latitude":95319760,"longitude_deg":76.5120448,"latitude_deg":9.531976,"altitude":12,"angle":172,"satellites":42,"speed":50,"hex_longitude":"2d9acfc0","hex_latitude":"05ae76d0","is_valid_coordinates":true} 
[2026-07-25 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958787328001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358157550446706688,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290975928587735040,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784995270000,"timestamp_ms":1784995270000,"timestamp_seconds":1784995270,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a024d70"} 
[2026-07-25 21:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958787328001,"66":27484,"9":206,"83":17408,"24":50,"16":358157550446706688,"45":-7290975928587735040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-07-25 21:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958787328001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358157550446706688,"km_value":358157550446706.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290975928587735040,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958787328001,"power":27484,"unknown_9":206,"unknown_83":17408,"ignition":50,"odometer":null,"unknown_45":-7290975928587735040}} 
[2026-07-25 21:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":141400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:01] local.INFO: GPS data processed {"connection_id":141400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:01] local.INFO: Acknowledgment sent {"connection_id":141400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:03] local.INFO: TCP Data received {"connection_id":142391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:32:03] local.INFO: Processing buffer {"connection_id":142391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:32:03] local.INFO: Packet analysis {"connection_id":142391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:32:03] local.INFO: Extracted packet for processing {"connection_id":142391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:32:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:32: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-07-25 21: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-07-25 21:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:32:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":142391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:03] local.INFO: GPS data processed {"connection_id":142391,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:03] local.INFO: Acknowledgment sent {"connection_id":142391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:05] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a024d70012d9acfc005ae76d0000c00ac2a..."} 
[2026-07-25 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a024d70012d9acfc005ae76d0000c00ac2a..."} 
[2026-07-25 21:32:05] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a024d70012d9acfc005ae76d0000c00ac2a..."} 
[2026-07-25 21:32:05] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:05] local.INFO: Extracted packet for processing {"connection_id":141400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":765120448,"raw_latitude":95319760,"longitude_deg":76.5120448,"latitude_deg":9.531976,"altitude":12,"angle":172,"satellites":42,"speed":50,"hex_longitude":"2d9acfc0","hex_latitude":"05ae76d0","is_valid_coordinates":true} 
[2026-07-25 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958789120001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358157550446706688,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291398141055152128,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784995270000,"timestamp_ms":1784995270000,"timestamp_seconds":1784995270,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a024d70"} 
[2026-07-25 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32: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-07-25 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 21: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-07-25 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958789120001,"66":27484,"9":206,"83":17408,"24":50,"16":358157550446706688,"45":-7291398141055152128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-07-25 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958789120001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-25 21:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358157550446706688,"km_value":358157550446706.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291398141055152128,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958789120001,"power":27484,"unknown_9":206,"unknown_83":17408,"ignition":50,"odometer":null,"unknown_45":-7291398141055152128}} 
[2026-07-25 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":141400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:05] local.INFO: GPS data processed {"connection_id":141400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:05] local.INFO: Acknowledgment sent {"connection_id":141400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:06] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:32:06] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:32:06] local.INFO: IMEI packet received {"connection_id":143760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":143760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:32:11] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:32:11] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:32:11] local.INFO: IMEI packet received {"connection_id":143760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":143760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:32:12] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01f398012d7c73c005d99de00000010c1e..."} 
[2026-07-25 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01f398012d7c73c005d99de00000010c1e..."} 
[2026-07-25 21:32:12] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01f398012d7c73c005d99de00000010c1e..."} 
[2026-07-25 21:32:12] local.INFO: Packet analysis {"connection_id":143760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:32:12] local.INFO: Extracted packet for processing {"connection_id":143760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":763130816,"raw_latitude":98147808,"longitude_deg":76.3130816,"latitude_deg":9.8147808,"altitude":0,"angle":268,"satellites":30,"speed":17,"hex_longitude":"2d7c73c0","hex_latitude":"05d99de0","is_valid_coordinates":true} 
[2026-07-25 21:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958781952001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110440514171437056,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970044582941001728,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784995247000,"timestamp_ms":1784995247000,"timestamp_seconds":1784995247,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01f398"} 
[2026-07-25 21:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32: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-07-25 21:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-25 21:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958781952001,"66":12004,"245":206,"85":15104,"24":17,"16":110440514171437056,"45":8970044582941001728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958781952001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110440514171437056,"km_value":110440514171437.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970044582941001728,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958781952001,"power":12004,"geofence_id":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8970044582941001728}} 
[2026-07-25 21:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":143760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:12] local.INFO: GPS data processed {"connection_id":143760,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:12] local.INFO: Acknowledgment sent {"connection_id":143760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:26] local.INFO: TCP Data received {"connection_id":143761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:32:26] local.INFO: Processing buffer {"connection_id":143761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:32:26] local.INFO: IMEI packet received {"connection_id":143761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":143761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:32:28] local.INFO: TCP Data received {"connection_id":141399,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:32:28] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:32:28] local.INFO: Packet analysis {"connection_id":141399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:32:28] local.INFO: Extracted packet for processing {"connection_id":141399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:32:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32: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-07-25 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:32: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-07-25 21:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":141399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:28] local.INFO: GPS data processed {"connection_id":141399,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:28] local.INFO: Acknowledgment sent {"connection_id":141399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:31] local.INFO: TCP Data received {"connection_id":143761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:32:31] local.INFO: Processing buffer {"connection_id":143761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:32:31] local.INFO: IMEI packet received {"connection_id":143761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":143761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:32:32] local.INFO: TCP Data received {"connection_id":143761,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:32:32] local.INFO: Processing buffer {"connection_id":143761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:32:32] local.INFO: Packet analysis {"connection_id":143761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:32:32] local.INFO: Extracted packet for processing {"connection_id":143761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":143761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:32] local.INFO: GPS data processed {"connection_id":143761,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:32] local.INFO: Acknowledgment sent {"connection_id":143761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:37] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a025928012d9ad38005ae68b0000d009c2b..."} 
[2026-07-25 21:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a025928012d9ad38005ae68b0000d009c2b..."} 
[2026-07-25 21:32:37] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a025928012d9ad38005ae68b0000d009c2b..."} 
[2026-07-25 21:32:37] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:37] local.INFO: Extracted packet for processing {"connection_id":141400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":765121408,"raw_latitude":95316144,"longitude_deg":76.5121408,"latitude_deg":9.5316144,"altitude":13,"angle":156,"satellites":43,"speed":49,"hex_longitude":"2d9ad380","hex_latitude":"05ae68b0","is_valid_coordinates":true} 
[2026-07-25 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958789120001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358157735130300416,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291398141055152128,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784995273000,"timestamp_ms":1784995273000,"timestamp_seconds":1784995273,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a025928"} 
[2026-07-25 21:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 21:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958789120001,"66":27343,"9":206,"83":17408,"24":49,"16":358157735130300416,"45":-7291398141055152128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-07-25 21:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958789120001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-25 21:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358157735130300416,"km_value":358157735130300.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291398141055152128,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958789120001,"power":27343,"unknown_9":206,"unknown_83":17408,"ignition":49,"odometer":null,"unknown_45":-7291398141055152128}} 
[2026-07-25 21:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":141400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:37] local.INFO: GPS data processed {"connection_id":141400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:37] local.INFO: Acknowledgment sent {"connection_id":141400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:43] local.INFO: TCP Data received {"connection_id":143760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a022278012d7c5d0005d99a30000000fe1e..."} 
[2026-07-25 21:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a022278012d7c5d0005d99a30000000fe1e..."} 
[2026-07-25 21:32:43] local.INFO: Processing buffer {"connection_id":143760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a022278012d7c5d0005d99a30000000fe1e..."} 
[2026-07-25 21:32:43] local.INFO: Packet analysis {"connection_id":143760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:43] local.INFO: Extracted packet for processing {"connection_id":143760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a02"} 
[2026-07-25 21:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763124992,"raw_latitude":98146864,"longitude_deg":76.3124992,"latitude_deg":9.8146864,"altitude":0,"angle":254,"satellites":30,"speed":18,"hex_longitude":"2d7c5d00","hex_latitude":"05d99a30","is_valid_coordinates":true} 
[2026-07-25 21:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958783232001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110440797639278592,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967722414383161344,"note":"Value kept but may cause issues"} 
[2026-07-25 21:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784995259000,"timestamp_ms":1784995259000,"timestamp_seconds":1784995259,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a022278"} 
[2026-07-25 21:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 21:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958783232001,"66":11917,"245":206,"85":15104,"24":18,"16":110440797639278592,"45":8967722414383161344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958783232001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110440797639278592,"km_value":110440797639278.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967722414383161344,"description":"Unknown IO ID 45"} 
[2026-07-25 21:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958783232001,"power":11917,"geofence_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8967722414383161344}} 
[2026-07-25 21:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":143760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:32:43] local.INFO: GPS data processed {"connection_id":143760,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:32:43] local.INFO: Acknowledgment sent {"connection_id":143760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:32:54] local.INFO: TCP Data received {"connection_id":142392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:54] local.INFO: Processing buffer {"connection_id":142392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:54] local.INFO: IMEI packet received {"connection_id":142392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":142392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:32:55] local.INFO: TCP Data received {"connection_id":142392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:55] local.INFO: Processing buffer {"connection_id":142392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:32:55] local.INFO: IMEI packet received {"connection_id":142392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":142392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:00] local.INFO: TCP Data received {"connection_id":142392,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:33:00] local.INFO: Processing buffer {"connection_id":142392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:33:00] local.INFO: IMEI packet received {"connection_id":142392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":142392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:00] local.INFO: TCP Data received {"connection_id":142393,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:00] local.INFO: Processing buffer {"connection_id":142393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:00] local.INFO: IMEI packet received {"connection_id":142393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":142393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:33:00] local.INFO: TCP Data received {"connection_id":142392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a032c18012d9b5a8005adcee8001200712a..."} 
[2026-07-25 21:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a032c18012d9b5a8005adcee8001200712a..."} 
[2026-07-25 21:33:00] local.INFO: Processing buffer {"connection_id":142392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a032c18012d9b5a8005adcee8001200712a..."} 
[2026-07-25 21:33:00] local.INFO: Packet analysis {"connection_id":142392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:00] local.INFO: Extracted packet for processing {"connection_id":142392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:00] local.INFO: GPS Element Parsed {"raw_longitude":765155968,"raw_latitude":95276776,"longitude_deg":76.5155968,"latitude_deg":9.5276776,"altitude":18,"angle":113,"satellites":42,"speed":38,"hex_longitude":"2d9b5a80","hex_latitude":"05adcee8","is_valid_coordinates":true} 
[2026-07-25 21:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958802944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358160355060350976,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7255158237814290432,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995327000,"timestamp_ms":1784995327000,"timestamp_seconds":1784995327,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a032c18"} 
[2026-07-25 21:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958802944001,"66":27332,"139":206,"83":17408,"24":38,"16":358160355060350976,"45":-7255158237814290432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-25 21:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958802944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:00] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-25 21:33:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358160355060350976,"km_value":358160355060351.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7255158237814290432,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958802944001,"power":27332,"unknown_139":206,"unknown_83":17408,"ignition":38,"odometer":null,"unknown_45":-7255158237814290432}} 
[2026-07-25 21:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":142392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:00] local.INFO: GPS data processed {"connection_id":142392,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:00] local.INFO: Acknowledgment sent {"connection_id":142392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:03] local.INFO: TCP Data received {"connection_id":143761,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:33:03] local.INFO: Processing buffer {"connection_id":143761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:33:03] local.INFO: Packet analysis {"connection_id":143761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:33:03] local.INFO: Extracted packet for processing {"connection_id":143761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:33:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:33: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-07-25 21:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":143761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:03] local.INFO: GPS data processed {"connection_id":143761,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:03] local.INFO: Acknowledgment sent {"connection_id":143761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:06] local.INFO: TCP Data received {"connection_id":142394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:06] local.INFO: Processing buffer {"connection_id":142394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:06] local.INFO: IMEI packet received {"connection_id":142394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":142394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:33:06] local.INFO: TCP Data received {"connection_id":142394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:06] local.INFO: Processing buffer {"connection_id":142394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:06] local.INFO: IMEI packet received {"connection_id":142394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":142394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:06] local.INFO: TCP Data received {"connection_id":142393,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:06] local.INFO: Processing buffer {"connection_id":142393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:06] local.INFO: IMEI packet received {"connection_id":142393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":142393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:08] local.INFO: TCP Data received {"connection_id":142394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:08] local.INFO: Processing buffer {"connection_id":142394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:08] local.INFO: IMEI packet received {"connection_id":142394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":142394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:08] local.INFO: TCP Data received {"connection_id":142393,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:08] local.INFO: Processing buffer {"connection_id":142393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:08] local.INFO: Packet analysis {"connection_id":142393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:33:08] local.INFO: Extracted packet for processing {"connection_id":142393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":142393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:08] local.INFO: GPS data processed {"connection_id":142393,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:08] local.INFO: Acknowledgment sent {"connection_id":142393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:09] local.INFO: TCP Data received {"connection_id":142393,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:09] local.INFO: Processing buffer {"connection_id":142393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:09] local.INFO: Packet analysis {"connection_id":142393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:33:09] local.INFO: Extracted packet for processing {"connection_id":142393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:33:09] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":142393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":142393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":142393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":142393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:09] local.INFO: GPS data processed {"connection_id":142393,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:09] local.INFO: Acknowledgment sent {"connection_id":142393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:10] local.INFO: TCP Data received {"connection_id":142394,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:10] local.INFO: Processing buffer {"connection_id":142394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:33:10] local.INFO: IMEI packet received {"connection_id":142394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":142394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:11] local.INFO: TCP Data received {"connection_id":142394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a03fb20012d7c348005d989780000005722..."} 
[2026-07-25 21:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a03fb20012d7c348005d989780000005722..."} 
[2026-07-25 21:33:11] local.INFO: Processing buffer {"connection_id":142394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a03fb20012d7c348005d989780000005722..."} 
[2026-07-25 21:33:11] local.INFO: Packet analysis {"connection_id":142394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:11] local.INFO: Extracted packet for processing {"connection_id":142394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763114624,"raw_latitude":98142584,"longitude_deg":76.3114624,"latitude_deg":9.8142584,"altitude":0,"angle":87,"satellites":34,"speed":3,"hex_longitude":"2d7c3480","hex_latitude":"05d98978","is_valid_coordinates":true} 
[2026-07-25 21:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958817024001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110441420409536512,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949778384616517632,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784995380000,"timestamp_ms":1784995380000,"timestamp_seconds":1784995380,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a03fb20"} 
[2026-07-25 21:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33: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-07-25 21: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958817024001,"66":11798,"245":206,"85":15104,"24":3,"16":110441420409536512,"45":8949778384616517632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958817024001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110441420409536512,"km_value":110441420409536.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949778384616517632,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958817024001,"power":11798,"geofence_id":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8949778384616517632}} 
[2026-07-25 21:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":142394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:11] local.INFO: GPS data processed {"connection_id":142394,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:11] local.INFO: Acknowledgment sent {"connection_id":142394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:25] local.INFO: TCP Data received {"connection_id":142395,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:33:25] local.INFO: Processing buffer {"connection_id":142395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:33:25] local.INFO: IMEI packet received {"connection_id":142395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":142395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:33:31] local.INFO: TCP Data received {"connection_id":142395,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:33:31] local.INFO: Processing buffer {"connection_id":142395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:33:31] local.INFO: IMEI packet received {"connection_id":142395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":142395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:32] local.INFO: TCP Data received {"connection_id":142395,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:33:32] local.INFO: Processing buffer {"connection_id":142395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:33:32] local.INFO: Packet analysis {"connection_id":142395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:33:32] local.INFO: Extracted packet for processing {"connection_id":142395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":142395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:32] local.INFO: GPS data processed {"connection_id":142395,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:32] local.INFO: Acknowledgment sent {"connection_id":142395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:32] local.INFO: TCP Data received {"connection_id":142392,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0337d0012d9b658005adcb60001200652c..."} 
[2026-07-25 21:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0337d0012d9b658005adcb60001200652c..."} 
[2026-07-25 21:33:32] local.INFO: Processing buffer {"connection_id":142392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0337d0012d9b658005adcb60001200652c..."} 
[2026-07-25 21:33:32] local.INFO: Packet analysis {"connection_id":142392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:32] local.INFO: Extracted packet for processing {"connection_id":142392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":765158784,"raw_latitude":95275872,"longitude_deg":76.5158784,"latitude_deg":9.5275872,"altitude":18,"angle":101,"satellites":44,"speed":40,"hex_longitude":"2d9b6580","hex_latitude":"05adcb60","is_valid_coordinates":true} 
[2026-07-25 21:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958803712001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358160496794271744,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7252343488047552512,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995330000,"timestamp_ms":1784995330000,"timestamp_seconds":1784995330,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0337d0"} 
[2026-07-25 21:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958803712001,"66":27321,"139":206,"83":17408,"24":40,"16":358160496794271744,"45":-7252343488047552512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-25 21:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958803712001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358160496794271744,"km_value":358160496794271.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7252343488047552512,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958803712001,"power":27321,"unknown_139":206,"unknown_83":17408,"ignition":40,"odometer":null,"unknown_45":-7252343488047552512}} 
[2026-07-25 21:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":142392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:32] local.INFO: GPS data processed {"connection_id":142392,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:32] local.INFO: Acknowledgment sent {"connection_id":142392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:42] local.INFO: TCP Data received {"connection_id":142394,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a03ff08012d7c34c005d989780000006522..."} 
[2026-07-25 21:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a03ff08012d7c34c005d989780000006522..."} 
[2026-07-25 21:33:42] local.INFO: Processing buffer {"connection_id":142394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a03ff08012d7c34c005d989780000006522..."} 
[2026-07-25 21:33:42] local.INFO: Packet analysis {"connection_id":142394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:42] local.INFO: Extracted packet for processing {"connection_id":142394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":763114688,"raw_latitude":98142584,"longitude_deg":76.3114688,"latitude_deg":9.8142584,"altitude":0,"angle":101,"satellites":34,"speed":4,"hex_longitude":"2d7c34c0","hex_latitude":"05d98978","is_valid_coordinates":true} 
[2026-07-25 21:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958817280001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110441424704503808,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949919122104875008,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784995381000,"timestamp_ms":1784995381000,"timestamp_seconds":1784995381,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a03ff08"} 
[2026-07-25 21:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2583866160,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":14337,"corrected_to":0} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":136,"raw_value":6761310415566667776,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154235085,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-8228076519186358016,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845101296,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":8394711000287690757,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":59,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929149442,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-9221725458733727743,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2377908299833018880,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":119,"raw_value":57888140459660603,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.WARNING: Large IO value detected {"io_id":7,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,245,85,24,241,157,16,93,159,247,45,137,34,10,66,208,136,126,1,240,227,154,217,4,113,205,218,52,168,32,239,46,2,59,206,53,64,119,7],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":14337,"validated":0},{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-25 21:33:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":95803540701184,"timestamp_seconds":95803540701.184,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 21:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:33: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-07-25 21:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958817280001,"66":11798,"245":206,"85":15104,"24":4,"16":110441424704503808,"45":8949919122104875008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958817280001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110441424704503808,"km_value":110441424704503.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949919122104875008,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958817280001,"power":11798,"geofence_id":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8949919122104875008}} 
[2026-07-25 21:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":142394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:42] local.INFO: GPS data processed {"connection_id":142394,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:42] local.INFO: Acknowledgment sent {"connection_id":142394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:33:49] local.INFO: TCP Data received {"connection_id":143762,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:49] local.INFO: Processing buffer {"connection_id":143762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:49] local.INFO: IMEI packet received {"connection_id":143762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":143762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:33:54] local.INFO: TCP Data received {"connection_id":143762,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:54] local.INFO: Processing buffer {"connection_id":143762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:33:54] local.INFO: IMEI packet received {"connection_id":143762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":143762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:33:54] local.INFO: TCP Data received {"connection_id":142396,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:33:54] local.INFO: Processing buffer {"connection_id":142396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:33:54] local.INFO: IMEI packet received {"connection_id":142396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":142396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:33:59] local.INFO: TCP Data received {"connection_id":143762,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:59] local.INFO: Processing buffer {"connection_id":143762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:33:59] local.INFO: Packet analysis {"connection_id":143762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:33:59] local.INFO: Extracted packet for processing {"connection_id":143762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:33:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:33: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-07-25 21:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":143762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:33:59] local.INFO: GPS data processed {"connection_id":143762,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:33:59] local.INFO: Acknowledgment sent {"connection_id":143762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:00] local.INFO: TCP Data received {"connection_id":142396,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:34:00] local.INFO: Processing buffer {"connection_id":142396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:34:00] local.INFO: IMEI packet received {"connection_id":142396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":142396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:34:02] local.INFO: TCP Data received {"connection_id":142396,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a034388012d9b71c005adca78001200572d..."} 
[2026-07-25 21:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a034388012d9b71c005adca78001200572d..."} 
[2026-07-25 21:34:02] local.INFO: Processing buffer {"connection_id":142396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a034388012d9b71c005adca78001200572d..."} 
[2026-07-25 21:34:02] local.INFO: Packet analysis {"connection_id":142396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:34:02] local.INFO: Extracted packet for processing {"connection_id":142396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a03"} 
[2026-07-25 21:34:02] local.INFO: GPS Element Parsed {"raw_longitude":765161920,"raw_latitude":95275640,"longitude_deg":76.516192,"latitude_deg":9.527564,"altitude":18,"angle":87,"satellites":45,"speed":41,"hex_longitude":"2d9b71c0","hex_latitude":"05adca78","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958804480001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358160647118127104,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7249247263303966720,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784995333000,"timestamp_ms":1784995333000,"timestamp_seconds":1784995333,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a034388"} 
[2026-07-25 21:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":185,"data_length":795,"current_offset":136} 
[2026-07-25 21:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958804480001,"66":26723,"118":206,"83":17408,"24":41,"16":358160647118127104,"45":-7249247263303966720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,45]} 
[2026-07-25 21:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958804480001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-25 21:34:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358160647118127104,"km_value":358160647118127.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7249247263303966720,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958804480001,"power":26723,"unknown_118":206,"unknown_83":17408,"ignition":41,"odometer":null,"unknown_45":-7249247263303966720}} 
[2026-07-25 21:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":142396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:02] local.INFO: GPS data processed {"connection_id":142396,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:02] local.INFO: Acknowledgment sent {"connection_id":142396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:03] local.INFO: TCP Data received {"connection_id":142395,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:34:03] local.INFO: Processing buffer {"connection_id":142395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:34:03] local.INFO: Packet analysis {"connection_id":142395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:34:03] local.INFO: Extracted packet for processing {"connection_id":142395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:34:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:34: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-07-25 21:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:34:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":142395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:03] local.INFO: GPS data processed {"connection_id":142395,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:03] local.INFO: Acknowledgment sent {"connection_id":142395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:06] local.INFO: TCP Data received {"connection_id":142397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:06] local.INFO: Processing buffer {"connection_id":142397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:06] local.INFO: IMEI packet received {"connection_id":142397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":142397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:34:08] local.INFO: TCP Data received {"connection_id":142397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:08] local.INFO: Processing buffer {"connection_id":142397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:08] local.INFO: IMEI packet received {"connection_id":142397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":142397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:34:11] local.INFO: TCP Data received {"connection_id":142397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:11] local.INFO: Processing buffer {"connection_id":142397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:34:11] local.INFO: IMEI packet received {"connection_id":142397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":142397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:34:12] local.INFO: TCP Data received {"connection_id":142397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a040ac0012d7c368005d989600000005822..."} 
[2026-07-25 21:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a040ac0012d7c368005d989600000005822..."} 
[2026-07-25 21:34:12] local.INFO: Processing buffer {"connection_id":142397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a040ac0012d7c368005d989600000005822..."} 
[2026-07-25 21:34:12] local.INFO: Packet analysis {"connection_id":142397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:34:12] local.INFO: Extracted packet for processing {"connection_id":142397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:34:12] local.INFO: GPS Element Parsed {"raw_longitude":763115136,"raw_latitude":98142560,"longitude_deg":76.3115136,"latitude_deg":9.814256,"altitude":0,"angle":88,"satellites":34,"speed":8,"hex_longitude":"2d7c3680","hex_latitude":"05d98960","is_valid_coordinates":true} 
[2026-07-25 21:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958817536001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110441446179340288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949989490849052672,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784995384000,"timestamp_ms":1784995384000,"timestamp_seconds":1784995384,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a040ac0"} 
[2026-07-25 21:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2583878160,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":14337,"corrected_to":0} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154235085,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-8225824719371230976,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845166832,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":1646566175670272,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":8676185976998297605,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":136,"raw_value":6763562215380353024,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929083906,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2305845208236952064,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":37,"raw_value":57888140459660603,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.WARNING: Large IO value detected {"io_id":7,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,245,85,24,241,157,16,93,159,251,45,128,137,34,10,66,247,208,1,240,11,227,154,217,4,113,205,44,52,112,32,239,46,2,136,60,206,162,37,7],"length":632,"final_offset":762,"validated_count":40,"validation_warnings":[{"io_id":247,"original":14337,"validated":0},{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-07-25 21:34:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111196703555584,"timestamp_seconds":111196703555.584,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 21:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958817536001,"66":11580,"245":206,"85":15104,"24":8,"16":110441446179340288,"45":8949989490849052672},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958817536001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110441446179340288,"km_value":110441446179340.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949989490849052672,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958817536001,"power":11580,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8949989490849052672}} 
[2026-07-25 21:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":142397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:12] local.INFO: GPS data processed {"connection_id":142397,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:12] local.INFO: Acknowledgment sent {"connection_id":142397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:25] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:34:25] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:34:25] local.INFO: IMEI packet received {"connection_id":143763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":143763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:34:30] local.INFO: TCP Data received {"connection_id":143762,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:34:30] local.INFO: Processing buffer {"connection_id":143762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:34:30] local.INFO: Packet analysis {"connection_id":143762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:34:30] local.INFO: Extracted packet for processing {"connection_id":143762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":143762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:30] local.INFO: GPS data processed {"connection_id":143762,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:30] local.INFO: Acknowledgment sent {"connection_id":143762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:31] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:34:31] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:34:31] local.INFO: IMEI packet received {"connection_id":143763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":143763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:34:32] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:34:32] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a00a790012d196400071fefb00043006e28..."} 
[2026-07-25 21:34:32] local.INFO: Packet analysis {"connection_id":143763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:34:32] local.INFO: Extracted packet for processing {"connection_id":143763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a00"} 
[2026-07-25 21:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":67,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958684416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995162000,"timestamp_ms":1784995162000,"timestamp_seconds":1784995162,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a00a790"} 
[2026-07-25 21:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 21:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958684416001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958684416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958684416001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":143763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:32] local.INFO: GPS data processed {"connection_id":143763,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:32] local.INFO: Acknowledgment sent {"connection_id":143763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:33] local.INFO: TCP Data received {"connection_id":142396,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a04a318012d9cc30005ad5448000f009a2f..."} 
[2026-07-25 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a04a318012d9cc30005ad5448000f009a2f..."} 
[2026-07-25 21:34:33] local.INFO: Processing buffer {"connection_id":142396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a04a318012d9cc30005ad5448000f009a2f..."} 
[2026-07-25 21:34:33] local.INFO: Packet analysis {"connection_id":142396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:34:33] local.INFO: Extracted packet for processing {"connection_id":142396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:34:33] local.INFO: GPS Element Parsed {"raw_longitude":765248256,"raw_latitude":95245384,"longitude_deg":76.5248256,"latitude_deg":9.5245384,"altitude":15,"angle":154,"satellites":47,"speed":44,"hex_longitude":"2d9cc300","hex_latitude":"05ad5448","is_valid_coordinates":true} 
[2026-07-25 21:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958827264001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358165388762021888,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7153686508717555712,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784995423000,"timestamp_ms":1784995423000,"timestamp_seconds":1784995423,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a04a318"} 
[2026-07-25 21:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958827264001,"66":27397,"128":206,"83":17408,"24":44,"16":358165388762021888,"45":-7153686508717555712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-07-25 21:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958827264001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:33] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-25 21:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358165388762021888,"km_value":358165388762021.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7153686508717555712,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958827264001,"power":27397,"unknown_128":206,"unknown_83":17408,"ignition":44,"odometer":null,"unknown_45":-7153686508717555712}} 
[2026-07-25 21:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":142396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:33] local.INFO: GPS data processed {"connection_id":142396,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:33] local.INFO: Acknowledgment sent {"connection_id":142396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:42] local.INFO: TCP Data received {"connection_id":142397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a041290012d7c384005d989a80000004b22..."} 
[2026-07-25 21:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a041290012d7c384005d989a80000004b22..."} 
[2026-07-25 21:34:42] local.INFO: Processing buffer {"connection_id":142397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a041290012d7c384005d989a80000004b22..."} 
[2026-07-25 21:34:42] local.INFO: Packet analysis {"connection_id":142397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:34:42] local.INFO: Extracted packet for processing {"connection_id":142397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":763115584,"raw_latitude":98142632,"longitude_deg":76.3115584,"latitude_deg":9.8142632,"altitude":0,"angle":75,"satellites":34,"speed":9,"hex_longitude":"2d7c3840","hex_latitude":"05d989a8","is_valid_coordinates":true} 
[2026-07-25 21:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958818304001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110441467654176768,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950482072058290176,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784995386000,"timestamp_ms":1784995386000,"timestamp_seconds":1784995386,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a041290"} 
[2026-07-25 21:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-25 21:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:34: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-07-25 21:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958818304001,"66":11721,"245":206,"85":15104,"24":9,"16":110441467654176768,"45":8950482072058290176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958818304001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110441467654176768,"km_value":110441467654176.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950482072058290176,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958818304001,"power":11721,"geofence_id":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8950482072058290176}} 
[2026-07-25 21:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":142397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:43] local.INFO: GPS data processed {"connection_id":142397,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:43] local.INFO: Acknowledgment sent {"connection_id":142397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:34:49] local.INFO: TCP Data received {"connection_id":142398,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:34:49] local.INFO: Processing buffer {"connection_id":142398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:34:49] local.INFO: IMEI packet received {"connection_id":142398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":142398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:34:54] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:34:54] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:34:54] local.INFO: IMEI packet received {"connection_id":141401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":141401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:34:54] local.INFO: TCP Data received {"connection_id":142398,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:34:54] local.INFO: Processing buffer {"connection_id":142398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:34:54] local.INFO: IMEI packet received {"connection_id":142398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":142398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:34:56] local.INFO: TCP Data received {"connection_id":142398,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:34:56] local.INFO: Processing buffer {"connection_id":142398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:34:56] local.INFO: Packet analysis {"connection_id":142398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:34:56] local.INFO: Extracted packet for processing {"connection_id":142398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:34: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-07-25 21:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:34:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":142398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:34:56] local.INFO: GPS data processed {"connection_id":142398,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:34:56] local.INFO: Acknowledgment sent {"connection_id":142398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:00] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:35:00] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:35:00] local.INFO: IMEI packet received {"connection_id":141401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":141401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:35:00] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a04aae8012d9cc60005ad4c28000f00a72d..."} 
[2026-07-25 21:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a04aae8012d9cc60005ad4c28000f00a72d..."} 
[2026-07-25 21:35:00] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a04aae8012d9cc60005ad4c28000f00a72d..."} 
[2026-07-25 21:35:00] local.INFO: Packet analysis {"connection_id":141401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:35:00] local.INFO: Extracted packet for processing {"connection_id":141401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:35:00] local.INFO: GPS Element Parsed {"raw_longitude":765249024,"raw_latitude":95243304,"longitude_deg":76.5249024,"latitude_deg":9.5243304,"altitude":15,"angle":167,"satellites":45,"speed":44,"hex_longitude":"2d9cc600","hex_latitude":"05ad4c28","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958828288001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358165496136204288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150871758951397376,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995425000,"timestamp_ms":1784995425000,"timestamp_seconds":1784995425,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a04aae8"} 
[2026-07-25 21:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:35: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-07-25 21: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-07-25 21:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958828288001,"66":27343,"128":206,"83":17408,"24":44,"16":358165496136204288,"45":-7150871758951397376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-07-25 21:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958828288001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:00] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-25 21:35:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358165496136204288,"km_value":358165496136204.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150871758951397376,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958828288001,"power":27343,"unknown_128":206,"unknown_83":17408,"ignition":44,"odometer":null,"unknown_45":-7150871758951397376}} 
[2026-07-25 21:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":141401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:00] local.INFO: GPS data processed {"connection_id":141401,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:00] local.INFO: Acknowledgment sent {"connection_id":141401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:03] local.INFO: TCP Data received {"connection_id":143763,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:35:03] local.INFO: Processing buffer {"connection_id":143763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:35:03] local.INFO: Packet analysis {"connection_id":143763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:35:03] local.INFO: Extracted packet for processing {"connection_id":143763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:35: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-07-25 21: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-07-25 21:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":143763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:03] local.INFO: GPS data processed {"connection_id":143763,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:03] local.INFO: Acknowledgment sent {"connection_id":143763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:05] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:35:05] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:35:05] local.INFO: IMEI packet received {"connection_id":141353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":141353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:35:11] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:35:11] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:35:11] local.INFO: IMEI packet received {"connection_id":141353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":141353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:35:12] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0460b0012d7c54c005d993a80000004821..."} 
[2026-07-25 21:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0460b0012d7c54c005d993a80000004821..."} 
[2026-07-25 21:35:12] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0460b0012d7c54c005d993a80000004821..."} 
[2026-07-25 21:35:12] local.INFO: Packet analysis {"connection_id":141353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:35:12] local.INFO: Extracted packet for processing {"connection_id":141353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763122880,"raw_latitude":98145192,"longitude_deg":76.312288,"latitude_deg":9.8145192,"altitude":0,"angle":72,"satellites":33,"speed":14,"hex_longitude":"2d7c54c0","hex_latitude":"05d993a8","is_valid_coordinates":true} 
[2026-07-25 21:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958818816001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110441837021364224,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950974653267552256,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784995406000,"timestamp_ms":1784995406000,"timestamp_seconds":1784995406,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0460b0"} 
[2026-07-25 21:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-25 21:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958818816001,"66":11874,"245":206,"85":15104,"24":14,"16":110441837021364224,"45":8950974653267552256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958818816001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110441837021364224,"km_value":110441837021364.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950974653267552256,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958818816001,"power":11874,"geofence_id":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8950974653267552256}} 
[2026-07-25 21:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":141353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:12] local.INFO: GPS data processed {"connection_id":141353,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:12] local.INFO: Acknowledgment sent {"connection_id":141353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:31] local.INFO: TCP Data received {"connection_id":141402,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:35:31] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:35:31] local.INFO: IMEI packet received {"connection_id":141402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":141402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:35:32] local.INFO: TCP Data received {"connection_id":142398,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:35:32] local.INFO: Processing buffer {"connection_id":142398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:35:32] local.INFO: Packet analysis {"connection_id":142398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:35:32] local.INFO: Extracted packet for processing {"connection_id":142398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:35:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:35: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-07-25 21:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":142398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:32] local.INFO: GPS data processed {"connection_id":142398,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:32] local.INFO: Acknowledgment sent {"connection_id":142398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:32] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a04ce10012d9cc9c005ad25b0001000ad2d..."} 
[2026-07-25 21:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a04ce10012d9cc9c005ad25b0001000ad2d..."} 
[2026-07-25 21:35:32] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a04ce10012d9cc9c005ad25b0001000ad2d..."} 
[2026-07-25 21:35:32] local.INFO: Packet analysis {"connection_id":141401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:35:32] local.INFO: Extracted packet for processing {"connection_id":141401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:35:32] local.INFO: GPS Element Parsed {"raw_longitude":765249984,"raw_latitude":95233456,"longitude_deg":76.5249984,"latitude_deg":9.5233456,"altitude":16,"angle":173,"satellites":45,"speed":42,"hex_longitude":"2d9cc9c0","hex_latitude":"05ad25b0","is_valid_coordinates":true} 
[2026-07-25 21:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958828800001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358165977172541440,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7150027334021797888,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995434000,"timestamp_ms":1784995434000,"timestamp_seconds":1784995434,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a04ce10"} 
[2026-07-25 21:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958828800001,"66":27397,"128":206,"83":17408,"24":42,"16":358165977172541440,"45":-7150027334021797888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-07-25 21:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958828800001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358165977172541440,"km_value":358165977172541.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7150027334021797888,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958828800001,"power":27397,"unknown_128":206,"unknown_83":17408,"ignition":42,"odometer":null,"unknown_45":-7150027334021797888}} 
[2026-07-25 21:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":141401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:32] local.INFO: GPS data processed {"connection_id":141401,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:32] local.INFO: Acknowledgment sent {"connection_id":141401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:36] local.INFO: TCP Data received {"connection_id":141402,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:35:36] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:35:36] local.INFO: IMEI packet received {"connection_id":141402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":141402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:35:37] local.INFO: TCP Data received {"connection_id":141402,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:35:37] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:35:37] local.INFO: Packet analysis {"connection_id":141402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:35:37] local.INFO: Extracted packet for processing {"connection_id":141402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35: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-07-25 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":141402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:37] local.INFO: GPS data processed {"connection_id":141402,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:37] local.INFO: Acknowledgment sent {"connection_id":141402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:43] local.INFO: TCP Data received {"connection_id":141353,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a05fad8012d7c2e4005dac5200004015819..."} 
[2026-07-25 21:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a05fad8012d7c2e4005dac5200004015819..."} 
[2026-07-25 21:35:43] local.INFO: Processing buffer {"connection_id":141353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a05fad8012d7c2e4005dac5200004015819..."} 
[2026-07-25 21:35:43] local.INFO: Packet analysis {"connection_id":141353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:35:43] local.INFO: Extracted packet for processing {"connection_id":141353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763113024,"raw_latitude":98223392,"longitude_deg":76.3113024,"latitude_deg":9.8223392,"altitude":4,"angle":344,"satellites":25,"speed":39,"hex_longitude":"2d7c2e40","hex_latitude":"05dac520","is_valid_coordinates":true} 
[2026-07-25 21:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958848256001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110446149168529408,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951256128262774784,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784995511000,"timestamp_ms":1784995511000,"timestamp_seconds":1784995511,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a05fad8"} 
[2026-07-25 21:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-25 21:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958848256001,"66":11895,"187":206,"85":15104,"24":39,"16":110446149168529408,"45":8951256128262774784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 21:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958848256001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110446149168529408,"km_value":110446149168529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951256128262774784,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958848256001,"power":11895,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8951256128262774784}} 
[2026-07-25 21:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":141353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:43] local.INFO: GPS data processed {"connection_id":141353,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:43] local.INFO: Acknowledgment sent {"connection_id":141353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:49] local.INFO: TCP Data received {"connection_id":143764,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:35:49] local.INFO: Processing buffer {"connection_id":143764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:35:49] local.INFO: IMEI packet received {"connection_id":143764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":143764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:35:54] local.INFO: TCP Data received {"connection_id":143764,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:35:54] local.INFO: Processing buffer {"connection_id":143764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:35:54] local.INFO: IMEI packet received {"connection_id":143764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":143764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:35:55] local.INFO: TCP Data received {"connection_id":143764,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:35:55] local.INFO: Processing buffer {"connection_id":143764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:35:55] local.INFO: Packet analysis {"connection_id":143764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:35:55] local.INFO: Extracted packet for processing {"connection_id":143764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:35: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-07-25 21:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:35:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":143764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:35:55] local.INFO: GPS data processed {"connection_id":143764,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:35:55] local.INFO: Acknowledgment sent {"connection_id":143764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:35:59] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:35:59] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:35:59] local.INFO: IMEI packet received {"connection_id":143765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":143765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:36:01] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:01] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:01] local.INFO: IMEI packet received {"connection_id":143765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":143765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:36:02] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a04f138012d9ccdc005ad0070001200ae2b..."} 
[2026-07-25 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a04f138012d9ccdc005ad0070001200ae2b..."} 
[2026-07-25 21:36:02] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a04f138012d9ccdc005ad0070001200ae2b..."} 
[2026-07-25 21:36:02] local.INFO: Packet analysis {"connection_id":143765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:36:02] local.INFO: Extracted packet for processing {"connection_id":143765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a04"} 
[2026-07-25 21:36:02] local.INFO: GPS Element Parsed {"raw_longitude":765251008,"raw_latitude":95223920,"longitude_deg":76.5251008,"latitude_deg":9.522392,"altitude":18,"angle":174,"satellites":43,"speed":42,"hex_longitude":"2d9ccdc0","hex_latitude":"05ad0070","is_valid_coordinates":true} 
[2026-07-25 21:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958831104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358166441029009408,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7148971802861654016,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784995443000,"timestamp_ms":1784995443000,"timestamp_seconds":1784995443,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a04f138"} 
[2026-07-25 21:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:36: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-07-25 21:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958831104001,"66":27321,"128":206,"83":17408,"24":42,"16":358166441029009408,"45":-7148971802861654016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,83,24,16,45]} 
[2026-07-25 21:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958831104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-07-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358166441029009408,"km_value":358166441029009.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7148971802861654016,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958831104001,"power":27321,"unknown_128":206,"unknown_83":17408,"ignition":42,"odometer":null,"unknown_45":-7148971802861654016}} 
[2026-07-25 21:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":143765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:02] local.INFO: GPS data processed {"connection_id":143765,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:02] local.INFO: Acknowledgment sent {"connection_id":143765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:05] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:05] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:05] local.INFO: IMEI packet received {"connection_id":141403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":141403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:36:06] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a051c30012d9ccec005acdcc0001400b32e..."} 
[2026-07-25 21:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a051c30012d9ccec005acdcc0001400b32e..."} 
[2026-07-25 21:36:06] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a051c30012d9ccec005acdcc0001400b32e..."} 
[2026-07-25 21:36:06] local.INFO: Packet analysis {"connection_id":143765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:36:06] local.INFO: Extracted packet for processing {"connection_id":143765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:36:06] local.INFO: GPS Element Parsed {"raw_longitude":765251264,"raw_latitude":95214784,"longitude_deg":76.5251264,"latitude_deg":9.5214784,"altitude":20,"angle":179,"satellites":46,"speed":32,"hex_longitude":"2d9ccec0","hex_latitude":"05acdcc0","is_valid_coordinates":true} 
[2026-07-25 21:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958833408001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358166883410640896,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7147845902957252608,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784995454000,"timestamp_ms":1784995454000,"timestamp_seconds":1784995454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a051c30"} 
[2026-07-25 21:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 21:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":143765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958833408001,"66":27267,"139":206,"83":17408,"24":32,"16":358166883410640896,"45":-7147845902957252608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,83,24,16,45]} 
[2026-07-25 21:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958833408001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:06] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-25 21:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358166883410640896,"km_value":358166883410640.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7147845902957252608,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958833408001,"power":27267,"unknown_139":206,"unknown_83":17408,"ignition":32,"odometer":null,"unknown_45":-7147845902957252608}} 
[2026-07-25 21:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":143765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:06] local.INFO: GPS data processed {"connection_id":143765,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:06] local.INFO: Acknowledgment sent {"connection_id":143765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:07] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:07] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:07] local.INFO: IMEI packet received {"connection_id":141403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":141403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:36:08] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:08] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:08] local.INFO: IMEI packet received {"connection_id":141403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":141403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:36:08] local.INFO: TCP Data received {"connection_id":141402,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:36:08] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:36:08] local.INFO: Packet analysis {"connection_id":141402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:36:08] local.INFO: Extracted packet for processing {"connection_id":141402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36: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-07-25 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:36: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-07-25 21:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":141402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:08] local.INFO: GPS data processed {"connection_id":141402,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:08] local.INFO: Acknowledgment sent {"connection_id":141402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:11] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:11] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:36:11] local.INFO: IMEI packet received {"connection_id":141403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":141403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:36:12] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0621e8012d7c24c005dae7d00001015c1d..."} 
[2026-07-25 21:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0621e8012d7c24c005dae7d00001015c1d..."} 
[2026-07-25 21:36:12] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0621e8012d7c24c005dae7d00001015c1d..."} 
[2026-07-25 21:36:12] local.INFO: Packet analysis {"connection_id":141403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:36:12] local.INFO: Extracted packet for processing {"connection_id":141403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:36:12] local.INFO: GPS Element Parsed {"raw_longitude":763110592,"raw_latitude":98232272,"longitude_deg":76.3110592,"latitude_deg":9.8232272,"altitude":1,"angle":348,"satellites":29,"speed":31,"hex_longitude":"2d7c24c0","hex_latitude":"05dae7d0","is_valid_coordinates":true} 
[2026-07-25 21:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958850816001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110446595845128192,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948159903521120256,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784995521000,"timestamp_ms":1784995521000,"timestamp_seconds":1784995521,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0621e8"} 
[2026-07-25 21:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 21:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958850816001,"66":11765,"187":206,"85":15104,"24":31,"16":110446595845128192,"45":8948159903521120256},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 21:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958850816001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 21:36:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110446595845128192,"km_value":110446595845128.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948159903521120256,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958850816001,"power":11765,"unknown_187":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8948159903521120256}} 
[2026-07-25 21:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":141403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:12] local.INFO: GPS data processed {"connection_id":141403,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:12] local.INFO: Acknowledgment sent {"connection_id":141403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:26] local.INFO: TCP Data received {"connection_id":142399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:36:26] local.INFO: Processing buffer {"connection_id":142399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:36:26] local.INFO: IMEI packet received {"connection_id":142399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":142399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:36:26] local.INFO: TCP Data received {"connection_id":143764,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:36:26] local.INFO: Processing buffer {"connection_id":143764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a01ff50012d77a94005f27b900013016323..."} 
[2026-07-25 21:36:26] local.INFO: Packet analysis {"connection_id":143764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:36:26] local.INFO: Extracted packet for processing {"connection_id":143764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a01"} 
[2026-07-25 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958706944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995250000,"timestamp_ms":1784995250000,"timestamp_seconds":1784995250,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a01ff50"} 
[2026-07-25 21:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 21:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958706944001,"66":25397,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958706944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958706944001,"power":25397,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":143764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:26] local.INFO: GPS data processed {"connection_id":143764,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:26] local.INFO: Acknowledgment sent {"connection_id":143764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:31] local.INFO: TCP Data received {"connection_id":142399,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:36:31] local.INFO: Processing buffer {"connection_id":142399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:36:31] local.INFO: IMEI packet received {"connection_id":142399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":142399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:36:32] local.INFO: TCP Data received {"connection_id":142399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:36:32] local.INFO: Processing buffer {"connection_id":142399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:36:32] local.INFO: Packet analysis {"connection_id":142399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:36:32] local.INFO: Extracted packet for processing {"connection_id":142399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":142399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:32] local.INFO: GPS data processed {"connection_id":142399,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:32] local.INFO: Acknowledgment sent {"connection_id":142399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:37] local.INFO: TCP Data received {"connection_id":143765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a067bc0012d9d340005abb3f8000d00b12c..."} 
[2026-07-25 21:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a067bc0012d9d340005abb3f8000d00b12c..."} 
[2026-07-25 21:36:37] local.INFO: Processing buffer {"connection_id":143765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a067bc0012d9d340005abb3f8000d00b12c..."} 
[2026-07-25 21:36:37] local.INFO: Packet analysis {"connection_id":143765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:36:37] local.INFO: Extracted packet for processing {"connection_id":143765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:36:37] local.INFO: GPS Element Parsed {"raw_longitude":765277184,"raw_latitude":95138808,"longitude_deg":76.5277184,"latitude_deg":9.5138808,"altitude":13,"angle":177,"satellites":44,"speed":51,"hex_longitude":"2d9d3400","hex_latitude":"05abb3f8","is_valid_coordinates":true} 
[2026-07-25 21:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958858752001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358171345881661440,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7119487299074793472,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784995544000,"timestamp_ms":1784995544000,"timestamp_seconds":1784995544,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a067bc0"} 
[2026-07-25 21:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 21:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":143765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":143765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958858752001,"66":27376,"138":206,"83":17408,"24":51,"16":358171345881661440,"45":-7119487299074793472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 21:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958858752001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:37] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 21:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358171345881661440,"km_value":358171345881661.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7119487299074793472,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958858752001,"power":27376,"unknown_138":206,"unknown_83":17408,"ignition":51,"odometer":null,"unknown_45":-7119487299074793472}} 
[2026-07-25 21:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":143765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:37] local.INFO: GPS data processed {"connection_id":143765,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:37] local.INFO: Acknowledgment sent {"connection_id":143765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:43] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a073f10012d7c058005db4cc80001015821..."} 
[2026-07-25 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a073f10012d7c058005db4cc80001015821..."} 
[2026-07-25 21:36:43] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a073f10012d7c058005db4cc80001015821..."} 
[2026-07-25 21:36:43] local.INFO: Packet analysis {"connection_id":141403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:36:43] local.INFO: Extracted packet for processing {"connection_id":141403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:36:43] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":33,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872064001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784995594000,"timestamp_ms":1784995594000,"timestamp_seconds":1784995594,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a073f10"} 
[2026-07-25 21:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":117,"data_length":795,"current_offset":136} 
[2026-07-25 21:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872064001,"66":12917,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872064001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:36:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:36:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872064001,"power":12917,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":141403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:36:43] local.INFO: GPS data processed {"connection_id":141403,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:36:43] local.INFO: Acknowledgment sent {"connection_id":141403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:36:51] local.INFO: TCP Data received {"connection_id":142400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:51] local.INFO: Processing buffer {"connection_id":142400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:51] local.INFO: IMEI packet received {"connection_id":142400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":142400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:36:54] local.INFO: TCP Data received {"connection_id":142401,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:36:54] local.INFO: Processing buffer {"connection_id":142401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:36:54] local.INFO: IMEI packet received {"connection_id":142401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":142401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:36:56] local.INFO: TCP Data received {"connection_id":142400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:56] local.INFO: Processing buffer {"connection_id":142400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:36:56] local.INFO: IMEI packet received {"connection_id":142400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":142400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:36:59] local.INFO: TCP Data received {"connection_id":142401,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:36:59] local.INFO: Processing buffer {"connection_id":142401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:36:59] local.INFO: IMEI packet received {"connection_id":142401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":142401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:37:03] local.INFO: TCP Data received {"connection_id":142399,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:37:03] local.INFO: Processing buffer {"connection_id":142399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:37:03] local.INFO: Packet analysis {"connection_id":142399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:37:03] local.INFO: Extracted packet for processing {"connection_id":142399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:37: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-07-25 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":142399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:03] local.INFO: GPS data processed {"connection_id":142399,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:03] local.INFO: Acknowledgment sent {"connection_id":142399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:03] local.INFO: TCP Data received {"connection_id":142401,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:37:03] local.INFO: Processing buffer {"connection_id":142401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:37:03] local.INFO: Packet analysis {"connection_id":142401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:03] local.INFO: Extracted packet for processing {"connection_id":142401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":142401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:03] local.INFO: GPS data processed {"connection_id":142401,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:03] local.INFO: Acknowledgment sent {"connection_id":142401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:04] local.INFO: TCP Data received {"connection_id":142400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:04] local.INFO: Processing buffer {"connection_id":142400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:04] local.INFO: IMEI packet received {"connection_id":142400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":142400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:37:06] local.INFO: TCP Data received {"connection_id":142400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d9d310005ab8fe8000a00b82d..."} 
[2026-07-25 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d9d310005ab8fe8000a00b82d..."} 
[2026-07-25 21:37:06] local.INFO: Processing buffer {"connection_id":142400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d9d310005ab8fe8000a00b82d..."} 
[2026-07-25 21:37:06] local.INFO: Packet analysis {"connection_id":142400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:06] local.INFO: Extracted packet for processing {"connection_id":142400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":765276416,"raw_latitude":95129576,"longitude_deg":76.5276416,"latitude_deg":9.5129576,"altitude":10,"angle":184,"satellites":45,"speed":54,"hex_longitude":"2d9d3100","hex_latitude":"05ab8fe8","is_valid_coordinates":true} 
[2026-07-25 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958859264001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358171796853227520,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7119065086610376704,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958859264001,"66":27245,"138":206,"83":17408,"24":54,"16":358171796853227520,"45":-7119065086610376704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958859264001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358171796853227520,"km_value":358171796853227.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7119065086610376704,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958859264001,"power":27245,"unknown_138":206,"unknown_83":17408,"ignition":54,"odometer":null,"unknown_45":-7119065086610376704}} 
[2026-07-25 21:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":142400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:06] local.INFO: GPS data processed {"connection_id":142400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:06] local.INFO: Acknowledgment sent {"connection_id":142400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:06] local.INFO: TCP Data received {"connection_id":142400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a06b270012d9d2c8005ab6a50000b00b92e..."} 
[2026-07-25 21:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a06b270012d9d2c8005ab6a50000b00b92e..."} 
[2026-07-25 21:37:06] local.INFO: Processing buffer {"connection_id":142400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a06b270012d9d2c8005ab6a50000b00b92e..."} 
[2026-07-25 21:37:06] local.INFO: Packet analysis {"connection_id":142400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:06] local.INFO: Extracted packet for processing {"connection_id":142400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":765275264,"raw_latitude":95119952,"longitude_deg":76.5275264,"latitude_deg":9.5119952,"altitude":11,"angle":185,"satellites":46,"speed":53,"hex_longitude":"2d9d2c80","hex_latitude":"05ab6a50","is_valid_coordinates":true} 
[2026-07-25 21:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358172265004662784,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7119909511542872064,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784995558000,"timestamp_ms":1784995558000,"timestamp_seconds":1784995558,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a06b270"} 
[2026-07-25 21:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":27332,"138":206,"83":17408,"24":53,"16":358172265004662784,"45":-7119909511542872064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 21:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358172265004662784,"km_value":358172265004662.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7119909511542872064,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":27332,"unknown_138":206,"unknown_83":17408,"ignition":53,"odometer":null,"unknown_45":-7119909511542872064}} 
[2026-07-25 21:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":142400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:06] local.INFO: GPS data processed {"connection_id":142400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:06] local.INFO: Acknowledgment sent {"connection_id":142400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:11] local.INFO: TCP Data received {"connection_id":142402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:37:11] local.INFO: Processing buffer {"connection_id":142402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:37:11] local.INFO: IMEI packet received {"connection_id":142402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":142402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:37:16] local.INFO: TCP Data received {"connection_id":142402,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142402,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:37:16] local.INFO: Processing buffer {"connection_id":142402,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:37:16] local.INFO: IMEI packet received {"connection_id":142402,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":142402,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:37:17] local.INFO: TCP Data received {"connection_id":142402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:37:17] local.INFO: Processing buffer {"connection_id":142402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:37:17] local.INFO: Packet analysis {"connection_id":142402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:37:17] local.INFO: Extracted packet for processing {"connection_id":142402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872064001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784995596000,"timestamp_ms":1784995596000,"timestamp_seconds":1784995596,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0746e0"} 
[2026-07-25 21:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":142402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":142402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":142402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872064001,"66":13352,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872064001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:17] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872064001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":142402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:17] local.INFO: GPS data processed {"connection_id":142402,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:17] local.INFO: Acknowledgment sent {"connection_id":142402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:21] local.INFO: TCP Data received {"connection_id":142402,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:37:21] local.INFO: Processing buffer {"connection_id":142402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:37:21] local.INFO: Packet analysis {"connection_id":142402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:37:21] local.INFO: Extracted packet for processing {"connection_id":142402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872576001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784995596000,"timestamp_ms":1784995596000,"timestamp_seconds":1784995596,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0746e0"} 
[2026-07-25 21:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142402,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872576001,"66":13352,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872576001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872576001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":142402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:21] local.INFO: GPS data processed {"connection_id":142402,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:21] local.INFO: Acknowledgment sent {"connection_id":142402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:26] local.INFO: TCP Data received {"connection_id":141404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:37:26] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:37:26] local.INFO: IMEI packet received {"connection_id":141404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":141404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:37:31] local.INFO: TCP Data received {"connection_id":141404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:37:31] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:37:31] local.INFO: IMEI packet received {"connection_id":141404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":141404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:37:32] local.INFO: TCP Data received {"connection_id":141404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:37:32] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:37:32] local.INFO: Packet analysis {"connection_id":141404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:37:32] local.INFO: Extracted packet for processing {"connection_id":141404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":141404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:32] local.INFO: GPS data processed {"connection_id":141404,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:32] local.INFO: Acknowledgment sent {"connection_id":141404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:49] local.INFO: TCP Data received {"connection_id":143766,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:37:49] local.INFO: Processing buffer {"connection_id":143766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:37:49] local.INFO: IMEI packet received {"connection_id":143766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":143766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:37:50] local.INFO: TCP Data received {"connection_id":142400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a06cdc8012d9d27c005ab47c8000d00bc2d..."} 
[2026-07-25 21:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a06cdc8012d9d27c005ab47c8000d00bc2d..."} 
[2026-07-25 21:37:50] local.INFO: Processing buffer {"connection_id":142400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a06cdc8012d9d27c005ab47c8000d00bc2d..."} 
[2026-07-25 21:37:50] local.INFO: Packet analysis {"connection_id":142400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:50] local.INFO: Extracted packet for processing {"connection_id":142400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":765274048,"raw_latitude":95111112,"longitude_deg":76.5274048,"latitude_deg":9.5111112,"altitude":13,"angle":188,"satellites":45,"speed":47,"hex_longitude":"2d9d27c0","hex_latitude":"05ab47c8","is_valid_coordinates":true} 
[2026-07-25 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958862848001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358172698796359680,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7121176148940533760,"note":"Value kept but may cause issues"} 
[2026-07-25 21:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1784995565000,"timestamp_ms":1784995565000,"timestamp_seconds":1784995565,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a06cdc8"} 
[2026-07-25 21:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":142400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":142400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":142400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958862848001,"66":27376,"138":206,"83":17408,"24":47,"16":358172698796359680,"45":-7121176148940533760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 21:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958862848001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:37:50] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 21:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358172698796359680,"km_value":358172698796359.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7121176148940533760,"description":"Unknown IO ID 45"} 
[2026-07-25 21:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958862848001,"power":27376,"unknown_138":206,"unknown_83":17408,"ignition":47,"odometer":null,"unknown_45":-7121176148940533760}} 
[2026-07-25 21:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":142400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:37:50] local.INFO: GPS data processed {"connection_id":142400,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:37:50] local.INFO: Acknowledgment sent {"connection_id":142400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:37:52] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:52] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:52] local.INFO: IMEI packet received {"connection_id":143767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":143767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:37:54] local.INFO: TCP Data received {"connection_id":143766,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:37:54] local.INFO: Processing buffer {"connection_id":143766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:37:54] local.INFO: IMEI packet received {"connection_id":143766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":143766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:37:54] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:54] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:54] local.INFO: IMEI packet received {"connection_id":143767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":143767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:37:59] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:59] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:37:59] local.INFO: IMEI packet received {"connection_id":143767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":143767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:38:00] local.INFO: TCP Data received {"connection_id":143766,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:00] local.INFO: Processing buffer {"connection_id":143766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:00] local.INFO: Packet analysis {"connection_id":143766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:00] local.INFO: Extracted packet for processing {"connection_id":143766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38: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-07-25 21:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":143766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:00] local.INFO: GPS data processed {"connection_id":143766,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:00] local.INFO: Acknowledgment sent {"connection_id":143766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:01] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a06ed08012d9d22c005ab2480000f00bd2d..."} 
[2026-07-25 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a06ed08012d9d22c005ab2480000f00bd2d..."} 
[2026-07-25 21:38:01] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a06ed08012d9d22c005ab2480000f00bd2d..."} 
[2026-07-25 21:38:01] local.INFO: Packet analysis {"connection_id":143767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:01] local.INFO: Extracted packet for processing {"connection_id":143767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":765272768,"raw_latitude":95102080,"longitude_deg":76.5272768,"latitude_deg":9.510208,"altitude":15,"angle":189,"satellites":45,"speed":42,"hex_longitude":"2d9d22c0","hex_latitude":"05ab2480","is_valid_coordinates":true} 
[2026-07-25 21:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958864640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358173141177991168,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7122513155082172416,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784995573000,"timestamp_ms":1784995573000,"timestamp_seconds":1784995573,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a06ed08"} 
[2026-07-25 21:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":143767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":143767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":143767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958864640001,"66":27484,"138":206,"83":17408,"24":42,"16":358173141177991168,"45":-7122513155082172416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,83,24,16,45]} 
[2026-07-25 21:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958864640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-25 21:38:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17408,"description":"Unknown IO ID 83"} 
[2026-07-25 21:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358173141177991168,"km_value":358173141177991.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7122513155082172416,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958864640001,"power":27484,"unknown_138":206,"unknown_83":17408,"ignition":42,"odometer":null,"unknown_45":-7122513155082172416}} 
[2026-07-25 21:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":143767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:01] local.INFO: GPS data processed {"connection_id":143767,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:01] local.INFO: Acknowledgment sent {"connection_id":143767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:03] local.INFO: TCP Data received {"connection_id":141404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:38:03] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:38:03] local.INFO: Packet analysis {"connection_id":141404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:38:03] local.INFO: Extracted packet for processing {"connection_id":141404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:38: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-07-25 21:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:38:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":141404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:03] local.INFO: GPS data processed {"connection_id":141404,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:03] local.INFO: Acknowledgment sent {"connection_id":141404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:06] local.INFO: TCP Data received {"connection_id":141354,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:38:06] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:38:06] local.INFO: IMEI packet received {"connection_id":141354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":141354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:38:10] local.INFO: TCP Data received {"connection_id":141354,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:38:10] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:38:10] local.INFO: IMEI packet received {"connection_id":141354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":141354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:38:11] local.INFO: TCP Data received {"connection_id":141354,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:38:11] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:38:11] local.INFO: Packet analysis {"connection_id":141354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:38:11] local.INFO: Extracted packet for processing {"connection_id":141354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:38:11] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872576001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784995596000,"timestamp_ms":1784995596000,"timestamp_seconds":1784995596,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0746e0"} 
[2026-07-25 21:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872576001,"66":13352,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872576001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:11] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:38:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872576001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":141354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:11] local.INFO: GPS data processed {"connection_id":141354,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:11] local.INFO: Acknowledgment sent {"connection_id":141354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:25] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:38:25] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:38:25] local.INFO: IMEI packet received {"connection_id":141405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":141405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:38:31] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:38:31] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:38:31] local.INFO: IMEI packet received {"connection_id":141405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":141405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:38:32] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:38:32] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:38:32] local.INFO: Packet analysis {"connection_id":141405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:38:32] local.INFO: Extracted packet for processing {"connection_id":141405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":141405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:32] local.INFO: GPS data processed {"connection_id":141405,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:32] local.INFO: Acknowledgment sent {"connection_id":141405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:32] local.INFO: TCP Data received {"connection_id":143766,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:32] local.INFO: Processing buffer {"connection_id":143766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:32] local.INFO: Packet analysis {"connection_id":143766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:32] local.INFO: Extracted packet for processing {"connection_id":143766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:38: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-07-25 21:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":143766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:32] local.INFO: GPS data processed {"connection_id":143766,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:32] local.INFO: Acknowledgment sent {"connection_id":143766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:33] local.INFO: TCP Data received {"connection_id":143767,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0848b0012d9cb2c005a9dbb8000c00ab2c..."} 
[2026-07-25 21:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0848b0012d9cb2c005a9dbb8000c00ab2c..."} 
[2026-07-25 21:38:33] local.INFO: Processing buffer {"connection_id":143767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0848b0012d9cb2c005a9dbb8000c00ab2c..."} 
[2026-07-25 21:38:33] local.INFO: Packet analysis {"connection_id":143767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a08"} 
[2026-07-25 21:38:33] local.INFO: Extracted packet for processing {"connection_id":143767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a08"} 
[2026-07-25 21:38:33] local.INFO: GPS Element Parsed {"raw_longitude":765244096,"raw_latitude":95017912,"longitude_deg":76.5244096,"latitude_deg":9.5017912,"altitude":12,"angle":171,"satellites":44,"speed":55,"hex_longitude":"2d9cb2c0","hex_latitude":"05a9dbb8","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958888192001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358177599354044416,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7155304989891028992,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784995662000,"timestamp_ms":1784995662000,"timestamp_seconds":1784995662,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0848b0"} 
[2026-07-25 21:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":143767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":143767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":143767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958888192001,"66":27484,"224":206,"83":17152,"24":55,"16":358177599354044416,"45":-7155304989891028992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,45]} 
[2026-07-25 21:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958888192001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:33] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 21:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358177599354044416,"km_value":358177599354044.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7155304989891028992,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958888192001,"power":27484,"unknown_224":206,"unknown_83":17152,"ignition":55,"odometer":null,"unknown_45":-7155304989891028992}} 
[2026-07-25 21:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":143767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:33] local.INFO: GPS data processed {"connection_id":143767,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:33] local.INFO: Acknowledgment sent {"connection_id":143767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:42] local.INFO: TCP Data received {"connection_id":141354,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:38:42] local.INFO: Processing buffer {"connection_id":141354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:38:42] local.INFO: Packet analysis {"connection_id":141354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:38:42] local.INFO: Extracted packet for processing {"connection_id":141354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872576001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784995596000,"timestamp_ms":1784995596000,"timestamp_seconds":1784995596,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0746e0"} 
[2026-07-25 21:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:38: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-07-25 21:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872576001,"66":13352,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872576001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:42] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872576001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":141354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:38:42] local.INFO: GPS data processed {"connection_id":141354,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:38:42] local.INFO: Acknowledgment sent {"connection_id":141354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:38:54] local.INFO: TCP Data received {"connection_id":142403,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:54] local.INFO: Processing buffer {"connection_id":142403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:54] local.INFO: IMEI packet received {"connection_id":142403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":142403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:38:55] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:38:55] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:38:55] local.INFO: IMEI packet received {"connection_id":141406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":141406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:38:55] local.INFO: TCP Data received {"connection_id":142403,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:55] local.INFO: Processing buffer {"connection_id":142403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:55] local.INFO: IMEI packet received {"connection_id":142403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":142403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:38:59] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:38:59] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:38:59] local.INFO: IMEI packet received {"connection_id":141406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":141406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:38:59] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:59] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:38:59] local.INFO: Packet analysis {"connection_id":141406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:59] local.INFO: Extracted packet for processing {"connection_id":141406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21: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-07-25 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:38:59] local.INFO: TCP Data received {"connection_id":142403,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:59] local.INFO: Processing buffer {"connection_id":142403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:38:59] local.INFO: IMEI packet received {"connection_id":142403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":142403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":141406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:00] local.INFO: GPS data processed {"connection_id":141406,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:00] local.INFO: Acknowledgment sent {"connection_id":141406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:00] local.INFO: TCP Data received {"connection_id":142403,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a085080012d9cb54005a9d0f8000b009f2c..."} 
[2026-07-25 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a085080012d9cb54005a9d0f8000b009f2c..."} 
[2026-07-25 21:39:00] local.INFO: Processing buffer {"connection_id":142403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a085080012d9cb54005a9d0f8000b009f2c..."} 
[2026-07-25 21:39:00] local.INFO: Packet analysis {"connection_id":142403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a08"} 
[2026-07-25 21:39:00] local.INFO: Extracted packet for processing {"connection_id":142403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a08"} 
[2026-07-25 21:39:00] local.INFO: GPS Element Parsed {"raw_longitude":765244736,"raw_latitude":95015160,"longitude_deg":76.5244736,"latitude_deg":9.501516,"altitude":11,"angle":159,"satellites":44,"speed":56,"hex_longitude":"2d9cb540","hex_latitude":"05a9d0f8","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958889472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358177736792997888,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7155445727381178368,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995664000,"timestamp_ms":1784995664000,"timestamp_seconds":1784995664,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a085080"} 
[2026-07-25 21:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 21:39: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-07-25 21: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-07-25 21:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958889472001,"66":27376,"224":206,"83":17152,"24":56,"16":358177736792997888,"45":-7155445727381178368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,45]} 
[2026-07-25 21:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958889472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:00] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 21:39:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358177736792997888,"km_value":358177736792997.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7155445727381178368,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958889472001,"power":27376,"unknown_224":206,"unknown_83":17152,"ignition":56,"odometer":null,"unknown_45":-7155445727381178368}} 
[2026-07-25 21:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":142403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:00] local.INFO: GPS data processed {"connection_id":142403,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:00] local.INFO: Acknowledgment sent {"connection_id":142403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:03] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:39:03] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:39:03] local.INFO: Packet analysis {"connection_id":141405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:39:03] local.INFO: Extracted packet for processing {"connection_id":141405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:39: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-07-25 21:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":141405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:03] local.INFO: GPS data processed {"connection_id":141405,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:03] local.INFO: Acknowledgment sent {"connection_id":141405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:04] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:39:04] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:39:04] local.INFO: Packet analysis {"connection_id":141406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:39:04] local.INFO: Extracted packet for processing {"connection_id":141406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:39:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39: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-07-25 21:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":141406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:05] local.INFO: GPS data processed {"connection_id":141406,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:05] local.INFO: Acknowledgment sent {"connection_id":141406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:06] local.INFO: TCP Data received {"connection_id":142404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:39:06] local.INFO: Processing buffer {"connection_id":142404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:39:06] local.INFO: IMEI packet received {"connection_id":142404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":142404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:39:11] local.INFO: TCP Data received {"connection_id":142404,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142404,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:39:11] local.INFO: Processing buffer {"connection_id":142404,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:39:11] local.INFO: IMEI packet received {"connection_id":142404,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":142404,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:39:12] local.INFO: TCP Data received {"connection_id":142404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:39:12] local.INFO: Processing buffer {"connection_id":142404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:39:12] local.INFO: Packet analysis {"connection_id":142404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:39:12] local.INFO: Extracted packet for processing {"connection_id":142404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:39:12] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872576001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784995596000,"timestamp_ms":1784995596000,"timestamp_seconds":1784995596,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0746e0"} 
[2026-07-25 21:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-25 21:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872576001,"66":13352,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872576001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:12] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:39:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872576001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":142404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:12] local.INFO: GPS data processed {"connection_id":142404,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:12] local.INFO: Acknowledgment sent {"connection_id":142404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:25] local.INFO: TCP Data received {"connection_id":141407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:39:25] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:39:25] local.INFO: IMEI packet received {"connection_id":141407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":141407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:39:31] local.INFO: TCP Data received {"connection_id":141407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:39:31] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:39:31] local.INFO: IMEI packet received {"connection_id":141407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":141407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:39:31] local.INFO: TCP Data received {"connection_id":141407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:39:31] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a053f58012d196400071fefb00048006e29..."} 
[2026-07-25 21:39:31] local.INFO: Packet analysis {"connection_id":141407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:39:31] local.INFO: Extracted packet for processing {"connection_id":141407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a05"} 
[2026-07-25 21:39:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958761472001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784995463000,"timestamp_ms":1784995463000,"timestamp_seconds":1784995463,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a053f58"} 
[2026-07-25 21:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958761472001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958761472001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958761472001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:39:32] local.INFO: TCP Data received {"connection_id":142403,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a086bd8012d9cc40005a9ac08000800a32e..."} 
[2026-07-25 21:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a086bd8012d9cc40005a9ac08000800a32e..."} 
[2026-07-25 21:39:32] local.INFO: Processing buffer {"connection_id":142403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a086bd8012d9cc40005a9ac08000800a32e..."} 
[2026-07-25 21:39:32] local.INFO: Packet analysis {"connection_id":142403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a08"} 
[2026-07-25 21:39:32] local.INFO: Extracted packet for processing {"connection_id":142403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a08"} 
[2026-07-25 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":765248512,"raw_latitude":95005704,"longitude_deg":76.5248512,"latitude_deg":9.5005704,"altitude":8,"angle":163,"satellites":46,"speed":55,"hex_longitude":"2d9cc400","hex_latitude":"05a9ac08","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958889984001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358178230714236928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7154742039940106240,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995671000,"timestamp_ms":1784995671000,"timestamp_seconds":1784995671,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a086bd8"} 
[2026-07-25 21:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958889984001,"66":27365,"224":206,"83":17152,"24":55,"16":358178230714236928,"45":-7154742039940106240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,45]} 
[2026-07-25 21:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958889984001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358178230714236928,"km_value":358178230714236.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7154742039940106240,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958889984001,"power":27365,"unknown_224":206,"unknown_83":17152,"ignition":55,"odometer":null,"unknown_45":-7154742039940106240}} 
[2026-07-25 21:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":141407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:32] local.INFO: GPS data processed {"connection_id":141407,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:32] local.INFO: Acknowledgment sent {"connection_id":141407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":142403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:32] local.INFO: GPS data processed {"connection_id":142403,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:32] local.INFO: Acknowledgment sent {"connection_id":142403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:43] local.INFO: TCP Data received {"connection_id":142404,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:39:43] local.INFO: Processing buffer {"connection_id":142404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0746e0012d7c058005db4cc80001015823..."} 
[2026-07-25 21:39:43] local.INFO: Packet analysis {"connection_id":142404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:39:43] local.INFO: Extracted packet for processing {"connection_id":142404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a07"} 
[2026-07-25 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763102592,"raw_latitude":98258120,"longitude_deg":76.3102592,"latitude_deg":9.825812,"altitude":1,"angle":344,"satellites":35,"speed":0,"hex_longitude":"2d7c0580","hex_latitude":"05db4cc8","is_valid_coordinates":true} 
[2026-07-25 21:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958872576001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110447935874924544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936689798229051392,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784995596000,"timestamp_ms":1784995596000,"timestamp_seconds":1784995596,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0746e0"} 
[2026-07-25 21:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-25 21:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142404,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958872576001,"66":13352,"185":206,"85":15104,"24":0,"16":110447935874924544,"45":8936689798229051392},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958872576001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110447935874924544,"km_value":110447935874924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936689798229051392,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958872576001,"power":13352,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8936689798229051392}} 
[2026-07-25 21:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":142404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:43] local.INFO: GPS data processed {"connection_id":142404,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:43] local.INFO: Acknowledgment sent {"connection_id":142404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:49] local.INFO: TCP Data received {"connection_id":141408,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:39:49] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:39:49] local.INFO: IMEI packet received {"connection_id":141408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":141408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:39:54] local.INFO: TCP Data received {"connection_id":141408,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:39:54] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:39:54] local.INFO: IMEI packet received {"connection_id":141408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":141408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:39:54] local.INFO: TCP Data received {"connection_id":142405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:54] local.INFO: Processing buffer {"connection_id":142405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:54] local.INFO: IMEI packet received {"connection_id":142405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":142405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:39:55] local.INFO: TCP Data received {"connection_id":141408,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:39:55] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:39:55] local.INFO: Packet analysis {"connection_id":141408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:39:55] local.INFO: Extracted packet for processing {"connection_id":141408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:39:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:39: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-07-25 21:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:39:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":141408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:39:55] local.INFO: GPS data processed {"connection_id":141408,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:39:55] local.INFO: Acknowledgment sent {"connection_id":141408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:39:57] local.INFO: TCP Data received {"connection_id":142405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:57] local.INFO: Processing buffer {"connection_id":142405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:57] local.INFO: IMEI packet received {"connection_id":142405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":142405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:39:59] local.INFO: TCP Data received {"connection_id":142405,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:59] local.INFO: Processing buffer {"connection_id":142405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:39:59] local.INFO: IMEI packet received {"connection_id":142405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":142405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:40:00] local.INFO: TCP Data received {"connection_id":142405,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a096da8012d9c9b8005a8cd08000d00c92a..."} 
[2026-07-25 21:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a096da8012d9c9b8005a8cd08000d00c92a..."} 
[2026-07-25 21:40:00] local.INFO: Processing buffer {"connection_id":142405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a096da8012d9c9b8005a8cd08000d00c92a..."} 
[2026-07-25 21:40:00] local.INFO: Packet analysis {"connection_id":142405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:00] local.INFO: Extracted packet for processing {"connection_id":142405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:00] local.INFO: GPS Element Parsed {"raw_longitude":765238144,"raw_latitude":94948616,"longitude_deg":76.5238144,"latitude_deg":9.4948616,"altitude":13,"angle":201,"satellites":42,"speed":46,"hex_longitude":"2d9c9b80","hex_latitude":"05a8cd08","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958907904001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358181305910820864,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7160160433258104832,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995737000,"timestamp_ms":1784995737000,"timestamp_seconds":1784995737,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a096da8"} 
[2026-07-25 21:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958907904001,"66":27397,"2":206,"83":17152,"24":46,"16":358181305910820864,"45":-7160160433258104832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,83,24,16,45]} 
[2026-07-25 21:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958907904001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358181305910820864,"km_value":358181305910820.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7160160433258104832,"description":"Unknown IO ID 45"} 
[2026-07-25 21:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958907904001,"power":27397,"power_alt":206,"unknown_83":17152,"ignition":46,"odometer":null,"unknown_45":-7160160433258104832}} 
[2026-07-25 21:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":142405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:40:00] local.INFO: GPS data processed {"connection_id":142405,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:40:00] local.INFO: Acknowledgment sent {"connection_id":142405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:40:02] local.INFO: TCP Data received {"connection_id":141407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:40:02] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:40:02] local.INFO: Packet analysis {"connection_id":141407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:02] local.INFO: Extracted packet for processing {"connection_id":141407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":141407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:40:02] local.INFO: GPS data processed {"connection_id":141407,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:40:02] local.INFO: Acknowledgment sent {"connection_id":141407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:40:26] local.INFO: TCP Data received {"connection_id":141408,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:40:26] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:40:26] local.INFO: Packet analysis {"connection_id":141408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:40:26] local.INFO: Extracted packet for processing {"connection_id":141408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":141408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:40:26] local.INFO: GPS data processed {"connection_id":141408,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:40:26] local.INFO: Acknowledgment sent {"connection_id":141408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:40:30] local.INFO: TCP Data received {"connection_id":142406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:40:30] local.INFO: Processing buffer {"connection_id":142406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:40:30] local.INFO: IMEI packet received {"connection_id":142406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":142406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:40:32] local.INFO: TCP Data received {"connection_id":142405,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a097578012d9c990005a8c3f8000d00bb28..."} 
[2026-07-25 21:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a097578012d9c990005a8c3f8000d00bb28..."} 
[2026-07-25 21:40:32] local.INFO: Processing buffer {"connection_id":142405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a097578012d9c990005a8c3f8000d00bb28..."} 
[2026-07-25 21:40:32] local.INFO: Packet analysis {"connection_id":142405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:32] local.INFO: Extracted packet for processing {"connection_id":142405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:32] local.INFO: GPS Element Parsed {"raw_longitude":765237504,"raw_latitude":94946296,"longitude_deg":76.5237504,"latitude_deg":9.4946296,"altitude":13,"angle":187,"satellites":40,"speed":48,"hex_longitude":"2d9c9900","hex_latitude":"05a8c3f8","is_valid_coordinates":true} 
[2026-07-25 21:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958908672001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358181421874937856,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7161990020607440896,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995739000,"timestamp_ms":1784995739000,"timestamp_seconds":1784995739,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a097578"} 
[2026-07-25 21:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958908672001,"66":27397,"2":206,"83":17152,"24":48,"16":358181421874937856,"45":-7161990020607440896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,83,24,16,45]} 
[2026-07-25 21:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958908672001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:40:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358181421874937856,"km_value":358181421874937.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7161990020607440896,"description":"Unknown IO ID 45"} 
[2026-07-25 21:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958908672001,"power":27397,"power_alt":206,"unknown_83":17152,"ignition":48,"odometer":null,"unknown_45":-7161990020607440896}} 
[2026-07-25 21:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":142405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:40:32] local.INFO: GPS data processed {"connection_id":142405,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:40:32] local.INFO: Acknowledgment sent {"connection_id":142405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:40:36] local.INFO: TCP Data received {"connection_id":142406,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:40:36] local.INFO: Processing buffer {"connection_id":142406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:40:36] local.INFO: IMEI packet received {"connection_id":142406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":142406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:40:36] local.INFO: TCP Data received {"connection_id":142406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:40:36] local.INFO: Processing buffer {"connection_id":142406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:40:36] local.INFO: Packet analysis {"connection_id":142406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:36] local.INFO: Extracted packet for processing {"connection_id":142406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:40:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:40:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":142406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:40:36] local.INFO: GPS data processed {"connection_id":142406,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:40:36] local.INFO: Acknowledgment sent {"connection_id":142406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:40:49] local.INFO: TCP Data received {"connection_id":142407,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:40:49] local.INFO: Processing buffer {"connection_id":142407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:40:49] local.INFO: IMEI packet received {"connection_id":142407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":142407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:40:54] local.INFO: TCP Data received {"connection_id":142407,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:40:54] local.INFO: Processing buffer {"connection_id":142407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:40:54] local.INFO: IMEI packet received {"connection_id":142407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":142407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:40:54] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:40:54] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:40:54] local.INFO: IMEI packet received {"connection_id":141355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":141355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:40:55] local.INFO: TCP Data received {"connection_id":142407,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:40:55] local.INFO: Processing buffer {"connection_id":142407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:40:55] local.INFO: Packet analysis {"connection_id":142407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:40:55] local.INFO: Extracted packet for processing {"connection_id":142407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:40: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-07-25 21:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:40:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":142407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:40:55] local.INFO: GPS data processed {"connection_id":142407,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:40:55] local.INFO: Acknowledgment sent {"connection_id":142407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:40:55] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:40:55] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:40:55] local.INFO: IMEI packet received {"connection_id":141355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":141355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:41:00] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:41:00] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:41:00] local.INFO: IMEI packet received {"connection_id":141355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":141355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:41:01] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a098130012d9c990005a8b588000c00ad2a..."} 
[2026-07-25 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a098130012d9c990005a8b588000c00ad2a..."} 
[2026-07-25 21:41:01] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a098130012d9c990005a8b588000c00ad2a..."} 
[2026-07-25 21:41:01] local.INFO: Packet analysis {"connection_id":141355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:01] local.INFO: Extracted packet for processing {"connection_id":141355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":765237504,"raw_latitude":94942600,"longitude_deg":76.5237504,"latitude_deg":9.49426,"altitude":12,"angle":173,"satellites":42,"speed":50,"hex_longitude":"2d9c9900","hex_latitude":"05a8b588","is_valid_coordinates":true} 
[2026-07-25 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958909184001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358181602263564288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7162693708049811456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784995742000,"timestamp_ms":1784995742000,"timestamp_seconds":1784995742,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a098130"} 
[2026-07-25 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:41: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-07-25 21:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958909184001,"66":27245,"2":206,"83":17152,"24":50,"16":358181602263564288,"45":-7162693708049811456},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,83,24,16,45]} 
[2026-07-25 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958909184001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358181602263564288,"km_value":358181602263564.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7162693708049811456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958909184001,"power":27245,"power_alt":206,"unknown_83":17152,"ignition":50,"odometer":null,"unknown_45":-7162693708049811456}} 
[2026-07-25 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":141355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:41:01] local.INFO: GPS data processed {"connection_id":141355,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:41:01] local.INFO: Acknowledgment sent {"connection_id":141355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:41:07] local.INFO: TCP Data received {"connection_id":142406,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:41:07] local.INFO: Processing buffer {"connection_id":142406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:41:07] local.INFO: Packet analysis {"connection_id":142406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:07] local.INFO: Extracted packet for processing {"connection_id":142406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41: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-07-25 21:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":142406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":142406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":142406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:41:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":142406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:41:07] local.INFO: GPS data processed {"connection_id":142406,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:41:07] local.INFO: Acknowledgment sent {"connection_id":142406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:41:25] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:41:25] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:41:25] local.INFO: IMEI packet received {"connection_id":143768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":143768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:41:26] local.INFO: TCP Data received {"connection_id":142407,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:41:26] local.INFO: Processing buffer {"connection_id":142407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a069718012d77a94005f27b900013016323..."} 
[2026-07-25 21:41:26] local.INFO: Packet analysis {"connection_id":142407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:41:26] local.INFO: Extracted packet for processing {"connection_id":142407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a06"} 
[2026-07-25 21:41:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958784000001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995551000,"timestamp_ms":1784995551000,"timestamp_seconds":1784995551,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a069718"} 
[2026-07-25 21:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-25 21:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958784000001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958784000001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:41:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958784000001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":142407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:41:27] local.INFO: GPS data processed {"connection_id":142407,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:41:27] local.INFO: Acknowledgment sent {"connection_id":142407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:41:31] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:41:31] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:41:31] local.INFO: IMEI packet received {"connection_id":143768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":143768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:41:32] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:41:32] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:41:32] local.INFO: Packet analysis {"connection_id":143768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:32] local.INFO: Extracted packet for processing {"connection_id":143768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:41:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:41:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":143768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:41:32] local.INFO: GPS data processed {"connection_id":143768,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:41:32] local.INFO: Acknowledgment sent {"connection_id":143768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:41:33] local.INFO: TCP Data received {"connection_id":141355,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09a070012d9ca14005a892a8000a00a62c..."} 
[2026-07-25 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09a070012d9ca14005a892a8000a00a62c..."} 
[2026-07-25 21:41:33] local.INFO: Processing buffer {"connection_id":141355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09a070012d9ca14005a892a8000a00a62c..."} 
[2026-07-25 21:41:33] local.INFO: Packet analysis {"connection_id":141355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:33] local.INFO: Extracted packet for processing {"connection_id":141355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765239616,"raw_latitude":94933672,"longitude_deg":76.5239616,"latitude_deg":9.4933672,"altitude":10,"angle":166,"satellites":44,"speed":42,"hex_longitude":"2d9ca140","hex_latitude":"05a892a8","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958909952001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358182044645195776,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7162693708050757632,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784995750000,"timestamp_ms":1784995750000,"timestamp_seconds":1784995750,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09a070"} 
[2026-07-25 21:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 21:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958909952001,"66":27332,"2":206,"83":17152,"24":42,"16":358182044645195776,"45":-7162693708050757632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,83,24,16,45]} 
[2026-07-25 21:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958909952001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358182044645195776,"km_value":358182044645195.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7162693708050757632,"description":"Unknown IO ID 45"} 
[2026-07-25 21:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958909952001,"power":27332,"power_alt":206,"unknown_83":17152,"ignition":42,"odometer":null,"unknown_45":-7162693708050757632}} 
[2026-07-25 21:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":141355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:41:33] local.INFO: GPS data processed {"connection_id":141355,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:41:33] local.INFO: Acknowledgment sent {"connection_id":141355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:41:49] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:41:49] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:41:49] local.INFO: IMEI packet received {"connection_id":141356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":141356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:41:54] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:41:54] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:41:54] local.INFO: IMEI packet received {"connection_id":141356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":141356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:41:55] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:41:55] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:41:55] local.INFO: Packet analysis {"connection_id":141356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:41:55] local.INFO: Extracted packet for processing {"connection_id":141356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:41:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":141356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:41:55] local.INFO: GPS data processed {"connection_id":141356,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:41:55] local.INFO: Acknowledgment sent {"connection_id":141356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:00] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:00] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:00] local.INFO: IMEI packet received {"connection_id":143769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":143769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:42:02] local.INFO: TCP Data received {"connection_id":143768,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:42:02] local.INFO: Processing buffer {"connection_id":143768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:42:02] local.INFO: Packet analysis {"connection_id":143768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:42:02] local.INFO: Extracted packet for processing {"connection_id":143768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:42:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":143768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:02] local.INFO: GPS data processed {"connection_id":143768,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:02] local.INFO: Acknowledgment sent {"connection_id":143768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:03] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:03] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:03] local.INFO: IMEI packet received {"connection_id":143769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":143769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:42:04] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b1f40012d9ce70005a70950000b00ab2f..."} 
[2026-07-25 21:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b1f40012d9ce70005a70950000b00ab2f..."} 
[2026-07-25 21:42:04] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b1f40012d9ce70005a70950000b00ab2f..."} 
[2026-07-25 21:42:04] local.INFO: Packet analysis {"connection_id":143769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:04] local.INFO: Extracted packet for processing {"connection_id":143769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:04] local.INFO: GPS Element Parsed {"raw_longitude":765257472,"raw_latitude":94832976,"longitude_deg":76.5257472,"latitude_deg":9.4832976,"altitude":11,"angle":171,"satellites":47,"speed":59,"hex_longitude":"2d9ce700","hex_latitude":"05a70950","is_valid_coordinates":true} 
[2026-07-25 21:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958935296001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358187022512291840,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7142497878497304576,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784995848000,"timestamp_ms":1784995848000,"timestamp_seconds":1784995848,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b1f40"} 
[2026-07-25 21:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958935296001,"66":27343,"29":206,"83":17152,"24":59,"16":358187022512291840,"45":-7142497878497304576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-07-25 21:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958935296001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 21:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358187022512291840,"km_value":358187022512291.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7142497878497304576,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958935296001,"power":27343,"unknown_29":206,"unknown_83":17152,"ignition":59,"odometer":null,"unknown_45":-7142497878497304576}} 
[2026-07-25 21:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":143769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:04] local.INFO: GPS data processed {"connection_id":143769,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:04] local.INFO: Acknowledgment sent {"connection_id":143769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:05] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b36b0012d9cee4005a6e6b0000900a42f..."} 
[2026-07-25 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b36b0012d9cee4005a6e6b0000900a42f..."} 
[2026-07-25 21:42:05] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b36b0012d9cee4005a6e6b0000900a42f..."} 
[2026-07-25 21:42:05] local.INFO: Packet analysis {"connection_id":143769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:05] local.INFO: Extracted packet for processing {"connection_id":143769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:05] local.INFO: GPS Element Parsed {"raw_longitude":765259328,"raw_latitude":94824112,"longitude_deg":76.5259328,"latitude_deg":9.4824112,"altitude":9,"angle":164,"satellites":47,"speed":59,"hex_longitude":"2d9cee40","hex_latitude":"05a6e6b0","is_valid_coordinates":true} 
[2026-07-25 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958937088001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358187460598956032,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7140738659895390208,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784995854000,"timestamp_ms":1784995854000,"timestamp_seconds":1784995854,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b36b0"} 
[2026-07-25 21:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42: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-07-25 21:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":143769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":143769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":143769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958937088001,"66":27300,"29":206,"83":17152,"24":59,"16":358187460598956032,"45":-7140738659895390208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,45]} 
[2026-07-25 21:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958937088001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:05] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 21:42:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358187460598956032,"km_value":358187460598956.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7140738659895390208,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958937088001,"power":27300,"unknown_29":206,"unknown_83":17152,"ignition":59,"odometer":null,"unknown_45":-7140738659895390208}} 
[2026-07-25 21:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":143769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:05] local.INFO: GPS data processed {"connection_id":143769,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:05] local.INFO: Acknowledgment sent {"connection_id":143769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:26] local.INFO: TCP Data received {"connection_id":142408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:42:26] local.INFO: Processing buffer {"connection_id":142408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:42:26] local.INFO: IMEI packet received {"connection_id":142408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":142408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:42:26] local.INFO: TCP Data received {"connection_id":141356,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:42:26] local.INFO: Processing buffer {"connection_id":141356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:42:26] local.INFO: Packet analysis {"connection_id":141356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:26] local.INFO: Extracted packet for processing {"connection_id":141356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":141356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:26] local.INFO: GPS data processed {"connection_id":141356,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:26] local.INFO: Acknowledgment sent {"connection_id":141356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:31] local.INFO: TCP Data received {"connection_id":142408,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:42:31] local.INFO: Processing buffer {"connection_id":142408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:42:31] local.INFO: IMEI packet received {"connection_id":142408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":142408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:42:32] local.INFO: TCP Data received {"connection_id":142408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:42:32] local.INFO: Processing buffer {"connection_id":142408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:42:32] local.INFO: Packet analysis {"connection_id":142408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:42:32] local.INFO: Extracted packet for processing {"connection_id":142408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":142408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:32] local.INFO: GPS data processed {"connection_id":142408,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:32] local.INFO: Acknowledgment sent {"connection_id":142408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:35] local.INFO: TCP Data received {"connection_id":143769,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b5208012d9cfa4005a6c1580008009f2f..."} 
[2026-07-25 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b5208012d9cfa4005a6c1580008009f2f..."} 
[2026-07-25 21:42:35] local.INFO: Processing buffer {"connection_id":143769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b5208012d9cfa4005a6c1580008009f2f..."} 
[2026-07-25 21:42:35] local.INFO: Packet analysis {"connection_id":143769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:35] local.INFO: Extracted packet for processing {"connection_id":143769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":765262400,"raw_latitude":94814552,"longitude_deg":76.52624,"latitude_deg":9.4814552,"altitude":8,"angle":159,"satellites":47,"speed":55,"hex_longitude":"2d9cfa40","hex_latitude":"05a6c158","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938624001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358187945930260480,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7138697966316507136,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1784995861000,"timestamp_ms":1784995861000,"timestamp_seconds":1784995861,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b5208"} 
[2026-07-25 21:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42: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-07-25 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 21:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":143769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":143769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":143769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938624001,"66":27365,"27":206,"83":17152,"24":55,"16":358187945930260480,"45":-7138697966316507136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,45]} 
[2026-07-25 21:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938624001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358187945930260480,"km_value":358187945930260.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7138697966316507136,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938624001,"power":27365,"unknown_27":206,"unknown_83":17152,"ignition":55,"odometer":null,"unknown_45":-7138697966316507136}} 
[2026-07-25 21:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":143769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:35] local.INFO: GPS data processed {"connection_id":143769,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:35] local.INFO: Acknowledgment sent {"connection_id":143769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:42:54] local.INFO: TCP Data received {"connection_id":142409,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:42:54] local.INFO: Processing buffer {"connection_id":142409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:42:54] local.INFO: IMEI packet received {"connection_id":142409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":142409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:42:54] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:54] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:54] local.INFO: IMEI packet received {"connection_id":141357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":141357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:42:59] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:59] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:42:59] local.INFO: IMEI packet received {"connection_id":141357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":141357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:42:59] local.INFO: TCP Data received {"connection_id":142409,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:42:59] local.INFO: Processing buffer {"connection_id":142409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:42:59] local.INFO: IMEI packet received {"connection_id":142409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":142409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:42:59] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b6978012d9d078005a6a580000900932d..."} 
[2026-07-25 21:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b6978012d9d078005a6a580000900932d..."} 
[2026-07-25 21:42:59] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b6978012d9d078005a6a580000900932d..."} 
[2026-07-25 21:42:59] local.INFO: Packet analysis {"connection_id":141357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:59] local.INFO: Extracted packet for processing {"connection_id":141357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:42:59] local.INFO: GPS Element Parsed {"raw_longitude":765265792,"raw_latitude":94807424,"longitude_deg":76.5265792,"latitude_deg":9.4807424,"altitude":9,"angle":147,"satellites":45,"speed":49,"hex_longitude":"2d9d0780","hex_latitude":"05a6a580","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958940416001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358188328182349824,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7135320266598426624,"note":"Value kept but may cause issues"} 
[2026-07-25 21:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784995867000,"timestamp_ms":1784995867000,"timestamp_seconds":1784995867,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b6978"} 
[2026-07-25 21:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:42: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-07-25 21: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-07-25 21:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958940416001,"66":27180,"27":206,"83":17152,"24":49,"16":358188328182349824,"45":-7135320266598426624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,45]} 
[2026-07-25 21:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958940416001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358188328182349824,"km_value":358188328182349.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7135320266598426624,"description":"Unknown IO ID 45"} 
[2026-07-25 21:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958940416001,"power":27180,"unknown_27":206,"unknown_83":17152,"ignition":49,"odometer":null,"unknown_45":-7135320266598426624}} 
[2026-07-25 21:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":141357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:42:59] local.INFO: GPS data processed {"connection_id":141357,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:42:59] local.INFO: Acknowledgment sent {"connection_id":141357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:00] local.INFO: TCP Data received {"connection_id":142409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:00] local.INFO: Processing buffer {"connection_id":142409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:00] local.INFO: Packet analysis {"connection_id":142409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:43:00] local.INFO: Extracted packet for processing {"connection_id":142409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:43:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:43: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-07-25 21:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:43:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":142409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:43:00] local.INFO: GPS data processed {"connection_id":142409,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:43:00] local.INFO: Acknowledgment sent {"connection_id":142409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:03] local.INFO: TCP Data received {"connection_id":142408,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:43:03] local.INFO: Processing buffer {"connection_id":142408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:43:03] local.INFO: Packet analysis {"connection_id":142408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:43:03] local.INFO: Extracted packet for processing {"connection_id":142408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:43: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-07-25 21:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:43:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:43:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":142408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:43:03] local.INFO: GPS data processed {"connection_id":142408,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:43:03] local.INFO: Acknowledgment sent {"connection_id":142408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:04] local.INFO: TCP Data received {"connection_id":142409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:04] local.INFO: Processing buffer {"connection_id":142409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:04] local.INFO: Packet analysis {"connection_id":142409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:43:04] local.INFO: Extracted packet for processing {"connection_id":142409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:43:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:43: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-07-25 21:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:43:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":142409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:43:04] local.INFO: GPS data processed {"connection_id":142409,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:43:04] local.INFO: Acknowledgment sent {"connection_id":142409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:26] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:43:26] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:43:26] local.INFO: IMEI packet received {"connection_id":143770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":143770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:43:30] local.INFO: TCP Data received {"connection_id":141357,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0cadb0012d9d660005a54c38000600ac2a..."} 
[2026-07-25 21:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0cadb0012d9d660005a54c38000600ac2a..."} 
[2026-07-25 21:43:30] local.INFO: Processing buffer {"connection_id":141357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0cadb0012d9d660005a54c38000600ac2a..."} 
[2026-07-25 21:43:30] local.INFO: Packet analysis {"connection_id":141357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0c"} 
[2026-07-25 21:43:30] local.INFO: Extracted packet for processing {"connection_id":141357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0c"} 
[2026-07-25 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":765289984,"raw_latitude":94719032,"longitude_deg":76.5289984,"latitude_deg":9.4719032,"altitude":6,"angle":172,"satellites":42,"speed":35,"hex_longitude":"2d9d6600","hex_latitude":"05a54c38","is_valid_coordinates":true} 
[2026-07-25 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958960640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358192829308076032,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7106046869042530304,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784995950000,"timestamp_ms":1784995950000,"timestamp_seconds":1784995950,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0cadb0"} 
[2026-07-25 21:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 21:43: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-07-25 21:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958960640001,"66":27463,"155":206,"83":17152,"24":35,"16":358192829308076032,"45":-7106046869042530304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-07-25 21:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958960640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358192829308076032,"km_value":358192829308076.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7106046869042530304,"description":"Unknown IO ID 45"} 
[2026-07-25 21:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958960640001,"power":27463,"unknown_155":206,"unknown_83":17152,"ignition":35,"odometer":null,"unknown_45":-7106046869042530304}} 
[2026-07-25 21:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":141357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:43:30] local.INFO: GPS data processed {"connection_id":141357,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:43:30] local.INFO: Acknowledgment sent {"connection_id":141357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:31] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:43:31] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:43:31] local.INFO: IMEI packet received {"connection_id":143770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":143770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:43:31] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:43:31] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:43:31] local.INFO: Packet analysis {"connection_id":143770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:43:31] local.INFO: Extracted packet for processing {"connection_id":143770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":143770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:43:32] local.INFO: GPS data processed {"connection_id":143770,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:43:32] local.INFO: Acknowledgment sent {"connection_id":143770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:49] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:43:49] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:43:49] local.INFO: IMEI packet received {"connection_id":141409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":141409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:43:54] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:43:54] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:43:54] local.INFO: IMEI packet received {"connection_id":141409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":141409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:43:54] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:54] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:43:54] local.INFO: Packet analysis {"connection_id":141409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:43:54] local.INFO: Extracted packet for processing {"connection_id":141409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":141409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:43:54] local.INFO: GPS data processed {"connection_id":141409,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:43:54] local.INFO: Acknowledgment sent {"connection_id":141409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:43:59] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:43:59] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:43:59] local.INFO: IMEI packet received {"connection_id":141358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":141358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:44:00] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:00] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:00] local.INFO: Packet analysis {"connection_id":141409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:44:00] local.INFO: Extracted packet for processing {"connection_id":141409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:44:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:44: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-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":141409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:00] local.INFO: GPS data processed {"connection_id":141409,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:00] local.INFO: Acknowledgment sent {"connection_id":141409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:02] local.INFO: TCP Data received {"connection_id":143770,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:44:02] local.INFO: Processing buffer {"connection_id":143770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:44:02] local.INFO: Packet analysis {"connection_id":143770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:44:02] local.INFO: Extracted packet for processing {"connection_id":143770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":143770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:02] local.INFO: GPS data processed {"connection_id":143770,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:02] local.INFO: Acknowledgment sent {"connection_id":143770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:04] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:04] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:04] local.INFO: IMEI packet received {"connection_id":141358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":141358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:44:05] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0cd8a8012d9d6b8005a526e0000800aa2e..."} 
[2026-07-25 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0cd8a8012d9d6b8005a526e0000800aa2e..."} 
[2026-07-25 21:44:05] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0cd8a8012d9d6b8005a526e0000800aa2e..."} 
[2026-07-25 21:44:05] local.INFO: Packet analysis {"connection_id":141358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0c"} 
[2026-07-25 21:44:05] local.INFO: Extracted packet for processing {"connection_id":141358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0c"} 
[2026-07-25 21:44:05] local.INFO: GPS Element Parsed {"raw_longitude":765291392,"raw_latitude":94709472,"longitude_deg":76.5291392,"latitude_deg":9.4709472,"altitude":8,"angle":170,"satellites":46,"speed":34,"hex_longitude":"2d9d6b80","hex_latitude":"05a526e0","is_valid_coordinates":true} 
[2026-07-25 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958963200001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358193297459511296,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7104991337882306560,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784995961000,"timestamp_ms":1784995961000,"timestamp_seconds":1784995961,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0cd8a8"} 
[2026-07-25 21:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:44: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-07-25 21:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:44: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-07-25 21:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958963200001,"66":27343,"155":206,"83":17152,"24":34,"16":358193297459511296,"45":-7104991337882306560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-07-25 21:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958963200001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358193297459511296,"km_value":358193297459511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7104991337882306560,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958963200001,"power":27343,"unknown_155":206,"unknown_83":17152,"ignition":34,"odometer":null,"unknown_45":-7104991337882306560}} 
[2026-07-25 21:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":141358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:05] local.INFO: GPS data processed {"connection_id":141358,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:05] local.INFO: Acknowledgment sent {"connection_id":141358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:25] local.INFO: TCP Data received {"connection_id":142410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:44:25] local.INFO: Processing buffer {"connection_id":142410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:44:25] local.INFO: IMEI packet received {"connection_id":142410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":142410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:44:31] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:31] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:31] local.INFO: Packet analysis {"connection_id":141409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:44:31] local.INFO: Extracted packet for processing {"connection_id":141409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:44:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":141409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:31] local.INFO: GPS data processed {"connection_id":141409,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:31] local.INFO: Acknowledgment sent {"connection_id":141409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:31] local.INFO: TCP Data received {"connection_id":142410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:44:31] local.INFO: Processing buffer {"connection_id":142410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:44:31] local.INFO: IMEI packet received {"connection_id":142410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":142410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:44:31] local.INFO: TCP Data received {"connection_id":142410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:44:31] local.INFO: Processing buffer {"connection_id":142410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:44:31] local.INFO: Packet analysis {"connection_id":142410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:44:31] local.INFO: Extracted packet for processing {"connection_id":142410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:44:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":142410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:32] local.INFO: GPS data processed {"connection_id":142410,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:32] local.INFO: Acknowledgment sent {"connection_id":142410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:47] local.INFO: TCP Data received {"connection_id":141358,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0cffb8012d9d72c005a50270000600a62e..."} 
[2026-07-25 21:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0cffb8012d9d72c005a50270000600a62e..."} 
[2026-07-25 21:44:47] local.INFO: Processing buffer {"connection_id":141358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0cffb8012d9d72c005a50270000600a62e..."} 
[2026-07-25 21:44:47] local.INFO: Packet analysis {"connection_id":141358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0c"} 
[2026-07-25 21:44:47] local.INFO: Extracted packet for processing {"connection_id":141358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0c"} 
[2026-07-25 21:44:47] local.INFO: GPS Element Parsed {"raw_longitude":765293248,"raw_latitude":94700144,"longitude_deg":76.5293248,"latitude_deg":9.4700144,"altitude":6,"angle":166,"satellites":46,"speed":40,"hex_longitude":"2d9d72c0","hex_latitude":"05a50270","is_valid_coordinates":true} 
[2026-07-25 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-07-25 21:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958966016001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358193757021011968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7103443225512845312,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784995971000,"timestamp_ms":1784995971000,"timestamp_seconds":1784995971,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0cffb8"} 
[2026-07-25 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-07-25 21:44: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-07-25 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 21:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958966016001,"66":27343,"155":206,"83":17152,"24":40,"16":358193757021011968,"45":-7103443225512845312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-07-25 21:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958966016001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:47] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 21:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358193757021011968,"km_value":358193757021011.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7103443225512845312,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958966016001,"power":27343,"unknown_155":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-7103443225512845312}} 
[2026-07-25 21:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":141358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:47] local.INFO: GPS data processed {"connection_id":141358,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:47] local.INFO: Acknowledgment sent {"connection_id":141358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:50] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:44:50] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:44:50] local.INFO: IMEI packet received {"connection_id":141410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":141410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:44:54] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:44:54] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:44:54] local.INFO: IMEI packet received {"connection_id":141410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":141410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:44:54] local.INFO: TCP Data received {"connection_id":141411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:54] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:54] local.INFO: IMEI packet received {"connection_id":141411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":141411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:44:55] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:55] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:44:55] local.INFO: Packet analysis {"connection_id":141410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:44:55] local.INFO: Extracted packet for processing {"connection_id":141410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:44:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":141410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:44:55] local.INFO: GPS data processed {"connection_id":141410,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:44:55] local.INFO: Acknowledgment sent {"connection_id":141410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:44:57] local.INFO: TCP Data received {"connection_id":141411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:57] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:57] local.INFO: IMEI packet received {"connection_id":141411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":141411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:44:59] local.INFO: TCP Data received {"connection_id":141411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:59] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:44:59] local.INFO: IMEI packet received {"connection_id":141411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":141411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:45:00] local.INFO: TCP Data received {"connection_id":141411,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0d26c8012d9d7b8005a4ddc8000600a72e..."} 
[2026-07-25 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0d26c8012d9d7b8005a4ddc8000600a72e..."} 
[2026-07-25 21:45:00] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0d26c8012d9d7b8005a4ddc8000600a72e..."} 
[2026-07-25 21:45:00] local.INFO: Packet analysis {"connection_id":141411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0d"} 
[2026-07-25 21:45:00] local.INFO: Extracted packet for processing {"connection_id":141411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0d"} 
[2026-07-25 21:45:00] local.INFO: GPS Element Parsed {"raw_longitude":765295488,"raw_latitude":94690760,"longitude_deg":76.5295488,"latitude_deg":9.469076,"altitude":6,"angle":167,"satellites":46,"speed":36,"hex_longitude":"2d9d7b80","hex_latitude":"05a4ddc8","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958968576001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358194225172447232,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7101402531934081024,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784995981000,"timestamp_ms":1784995981000,"timestamp_seconds":1784995981,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0d26c8"} 
[2026-07-25 21:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958968576001,"66":27343,"155":206,"83":17152,"24":36,"16":358194225172447232,"45":-7101402531934081024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-07-25 21:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958968576001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358194225172447232,"km_value":358194225172447.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7101402531934081024,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958968576001,"power":27343,"unknown_155":206,"unknown_83":17152,"ignition":36,"odometer":null,"unknown_45":-7101402531934081024}} 
[2026-07-25 21:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":141411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:00] local.INFO: GPS data processed {"connection_id":141411,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:00] local.INFO: Acknowledgment sent {"connection_id":141411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:01] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:01] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:01] local.INFO: IMEI packet received {"connection_id":141359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":141359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:45:02] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:02] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:02] local.INFO: IMEI packet received {"connection_id":141359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":141359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:45:02] local.INFO: TCP Data received {"connection_id":142410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:45:02] local.INFO: Processing buffer {"connection_id":142410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a09d720012d196400071fefb00048006e26..."} 
[2026-07-25 21:45:02] local.INFO: Packet analysis {"connection_id":142410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:45:02] local.INFO: Extracted packet for processing {"connection_id":142410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a09"} 
[2026-07-25 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958838528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784995764000,"timestamp_ms":1784995764000,"timestamp_seconds":1784995764,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a09d720"} 
[2026-07-25 21:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958838528001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958838528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958838528001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":142410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:02] local.INFO: GPS data processed {"connection_id":142410,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:02] local.INFO: Acknowledgment sent {"connection_id":142410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:06] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:06] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:45:06] local.INFO: IMEI packet received {"connection_id":141359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":141359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:45:07] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0d3668012d7c028005db7228000c01641e..."} 
[2026-07-25 21:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0d3668012d7c028005db7228000c01641e..."} 
[2026-07-25 21:45:07] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0d3668012d7c028005db7228000c01641e..."} 
[2026-07-25 21:45:07] local.INFO: Packet analysis {"connection_id":141359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0d"} 
[2026-07-25 21:45:07] local.INFO: Extracted packet for processing {"connection_id":141359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0d"} 
[2026-07-25 21:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763101824,"raw_latitude":98267688,"longitude_deg":76.3101824,"latitude_deg":9.8267688,"altitude":12,"angle":356,"satellites":30,"speed":25,"hex_longitude":"2d7c0280","hex_latitude":"05db7228","is_valid_coordinates":true} 
[2026-07-25 21:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958971136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110448575825051648,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936126848277391360,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784995985000,"timestamp_ms":1784995985000,"timestamp_seconds":1784995985,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0d3668"} 
[2026-07-25 21:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958971136001,"66":11352,"185":206,"85":15104,"24":25,"16":110448575825051648,"45":8936126848277391360},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-07-25 21:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958971136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:07] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-25 21:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110448575825051648,"km_value":110448575825051.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936126848277391360,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958971136001,"power":11352,"unknown_185":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8936126848277391360}} 
[2026-07-25 21:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":141359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:07] local.INFO: GPS data processed {"connection_id":141359,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:07] local.INFO: Acknowledgment sent {"connection_id":141359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:26] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:45:26] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:45:26] local.INFO: Packet analysis {"connection_id":141410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:45:26] local.INFO: Extracted packet for processing {"connection_id":141410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:45:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":141410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:26] local.INFO: GPS data processed {"connection_id":141410,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:26] local.INFO: Acknowledgment sent {"connection_id":141410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:31] local.INFO: TCP Data received {"connection_id":142411,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:45:31] local.INFO: Processing buffer {"connection_id":142411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:45:31] local.INFO: IMEI packet received {"connection_id":142411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":142411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:45:33] local.INFO: TCP Data received {"connection_id":141411,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0d51c0012d9d834005a4ba60000500a72e..."} 
[2026-07-25 21:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0d51c0012d9d834005a4ba60000500a72e..."} 
[2026-07-25 21:45:33] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0d51c0012d9d834005a4ba60000500a72e..."} 
[2026-07-25 21:45:33] local.INFO: Packet analysis {"connection_id":141411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0d"} 
[2026-07-25 21:45:33] local.INFO: Extracted packet for processing {"connection_id":141411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0d"} 
[2026-07-25 21:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765297472,"raw_latitude":94681696,"longitude_deg":76.5297472,"latitude_deg":9.4681696,"altitude":5,"angle":167,"satellites":46,"speed":27,"hex_longitude":"2d9d8340","hex_latitude":"05a4ba60","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958971136001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358194676144013312,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7098939625890265088,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784995992000,"timestamp_ms":1784995992000,"timestamp_seconds":1784995992,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0d51c0"} 
[2026-07-25 21:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958971136001,"66":27234,"155":206,"83":17152,"24":27,"16":358194676144013312,"45":-7098939625890265088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-07-25 21:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958971136001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-25 21:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358194676144013312,"km_value":358194676144013.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7098939625890265088,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958971136001,"power":27234,"unknown_155":206,"unknown_83":17152,"ignition":27,"odometer":null,"unknown_45":-7098939625890265088}} 
[2026-07-25 21:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":141411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:33] local.INFO: GPS data processed {"connection_id":141411,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:33] local.INFO: Acknowledgment sent {"connection_id":141411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:36] local.INFO: TCP Data received {"connection_id":142411,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:45:36] local.INFO: Processing buffer {"connection_id":142411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:45:36] local.INFO: IMEI packet received {"connection_id":142411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":142411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:45:37] local.INFO: TCP Data received {"connection_id":142411,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:45:37] local.INFO: Processing buffer {"connection_id":142411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:45:37] local.INFO: Packet analysis {"connection_id":142411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:45:37] local.INFO: Extracted packet for processing {"connection_id":142411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45: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-07-25 21:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":142411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":142411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":142411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":142411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:37] local.INFO: GPS data processed {"connection_id":142411,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:37] local.INFO: Acknowledgment sent {"connection_id":142411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:38] local.INFO: TCP Data received {"connection_id":141359,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0f5560012d7c1fc005db2308000a00a01e..."} 
[2026-07-25 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0f5560012d7c1fc005db2308000a00a01e..."} 
[2026-07-25 21:45:38] local.INFO: Processing buffer {"connection_id":141359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0f5560012d7c1fc005db2308000a00a01e..."} 
[2026-07-25 21:45:38] local.INFO: Packet analysis {"connection_id":141359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:45:38] local.INFO: Extracted packet for processing {"connection_id":141359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":763109312,"raw_latitude":98247432,"longitude_deg":76.3109312,"latitude_deg":9.8247432,"altitude":10,"angle":160,"satellites":30,"speed":0,"hex_longitude":"2d7c1fc0","hex_latitude":"05db2308","is_valid_coordinates":true} 
[2026-07-25 21:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959007744001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110449688221581312,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944078516364969984,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784996124000,"timestamp_ms":1784996124000,"timestamp_seconds":1784996124,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0f5560"} 
[2026-07-25 21:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959007744001,"66":12863,"186":206,"85":15104,"24":0,"16":110449688221581312,"45":8944078516364969984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-25 21:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959007744001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:38] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-25 21:45:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110449688221581312,"km_value":110449688221581.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944078516364969984,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959007744001,"power":12863,"unknown_186":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944078516364969984}} 
[2026-07-25 21:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":141359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:38] local.INFO: GPS data processed {"connection_id":141359,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:38] local.INFO: Acknowledgment sent {"connection_id":141359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:41] local.INFO: TCP Data received {"connection_id":142411,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:45:41] local.INFO: Processing buffer {"connection_id":142411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:45:41] local.INFO: Packet analysis {"connection_id":142411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:45:41] local.INFO: Extracted packet for processing {"connection_id":142411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":142411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:41] local.INFO: GPS data processed {"connection_id":142411,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:41] local.INFO: Acknowledgment sent {"connection_id":142411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:49] local.INFO: TCP Data received {"connection_id":141412,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:45:49] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:45:49] local.INFO: IMEI packet received {"connection_id":141412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":141412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:45:54] local.INFO: TCP Data received {"connection_id":141412,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:45:54] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:45:54] local.INFO: IMEI packet received {"connection_id":141412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":141412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:45:54] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:45:54] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:45:54] local.INFO: IMEI packet received {"connection_id":143771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":143771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:45:55] local.INFO: TCP Data received {"connection_id":141412,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:45:55] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:45:55] local.INFO: Packet analysis {"connection_id":141412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:45:55] local.INFO: Extracted packet for processing {"connection_id":141412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":141412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:45:55] local.INFO: GPS data processed {"connection_id":141412,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:45:55] local.INFO: Acknowledgment sent {"connection_id":141412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:45:59] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:45:59] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:45:59] local.INFO: IMEI packet received {"connection_id":143771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":143771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:46:00] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0ec8c0012d9e0d0005a397b0000e009b29..."} 
[2026-07-25 21:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0ec8c0012d9e0d0005a397b0000e009b29..."} 
[2026-07-25 21:46:00] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0ec8c0012d9e0d0005a397b0000e009b29..."} 
[2026-07-25 21:46:00] local.INFO: Packet analysis {"connection_id":143771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:00] local.INFO: Extracted packet for processing {"connection_id":143771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:00] local.INFO: GPS Element Parsed {"raw_longitude":765332736,"raw_latitude":94607280,"longitude_deg":76.5332736,"latitude_deg":9.460728,"altitude":14,"angle":155,"satellites":41,"speed":46,"hex_longitude":"2d9e0d00","hex_latitude":"05a397b0","is_valid_coordinates":true} 
[2026-07-25 21:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958997760001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358198756362944512,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059955341636435968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996088000,"timestamp_ms":1784996088000,"timestamp_seconds":1784996088,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0ec8c0"} 
[2026-07-25 21:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958997760001,"66":27484,"58":206,"83":17152,"24":46,"16":358198756362944512,"45":-7059955341636435968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 21:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958997760001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:00] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 21:46:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358198756362944512,"km_value":358198756362944.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059955341636435968,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958997760001,"power":27484,"unknown_58":206,"unknown_83":17152,"ignition":46,"odometer":null,"unknown_45":-7059955341636435968}} 
[2026-07-25 21:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":143771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:00] local.INFO: GPS data processed {"connection_id":143771,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:00] local.INFO: Acknowledgment sent {"connection_id":143771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:11] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:46:11] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:46:11] local.INFO: IMEI packet received {"connection_id":143772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":143772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:46:16] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:46:16] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:46:16] local.INFO: IMEI packet received {"connection_id":143772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":143772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:46:17] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0f70b8012d7c1fc005db2308000a00a020..."} 
[2026-07-25 21:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0f70b8012d7c1fc005db2308000a00a020..."} 
[2026-07-25 21:46:17] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0f70b8012d7c1fc005db2308000a00a020..."} 
[2026-07-25 21:46:17] local.INFO: Packet analysis {"connection_id":143772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:46:17] local.INFO: Extracted packet for processing {"connection_id":143772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:46:17] local.INFO: GPS Element Parsed {"raw_longitude":763109312,"raw_latitude":98247432,"longitude_deg":76.3109312,"latitude_deg":9.8247432,"altitude":10,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2d7c1fc0","hex_latitude":"05db2308","is_valid_coordinates":true} 
[2026-07-25 21:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959007744001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110449688221581312,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944078516364969984,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784996131000,"timestamp_ms":1784996131000,"timestamp_seconds":1784996131,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0f70b8"} 
[2026-07-25 21:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-25 21:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959007744001,"66":5057,"186":206,"85":15104,"24":0,"16":110449688221581312,"45":8944078516364969984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-25 21:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959007744001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:17] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-25 21:46:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110449688221581312,"km_value":110449688221581.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944078516364969984,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959007744001,"power":5057,"unknown_186":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944078516364969984}} 
[2026-07-25 21:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":143772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:17] local.INFO: GPS data processed {"connection_id":143772,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:17] local.INFO: Acknowledgment sent {"connection_id":143772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:21] local.INFO: TCP Data received {"connection_id":143772,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0f70b8012d7c1fc005db2308000a00a020..."} 
[2026-07-25 21:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0f70b8012d7c1fc005db2308000a00a020..."} 
[2026-07-25 21:46:21] local.INFO: Processing buffer {"connection_id":143772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0f70b8012d7c1fc005db2308000a00a020..."} 
[2026-07-25 21:46:21] local.INFO: Packet analysis {"connection_id":143772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:46:21] local.INFO: Extracted packet for processing {"connection_id":143772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763109312,"raw_latitude":98247432,"longitude_deg":76.3109312,"latitude_deg":9.8247432,"altitude":10,"angle":160,"satellites":32,"speed":0,"hex_longitude":"2d7c1fc0","hex_latitude":"05db2308","is_valid_coordinates":true} 
[2026-07-25 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959009536001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110449688221581312,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944078516364969984,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784996131000,"timestamp_ms":1784996131000,"timestamp_seconds":1784996131,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0f70b8"} 
[2026-07-25 21:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-25 21:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2030,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":143772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":143772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":143772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959009536001,"66":5057,"186":206,"85":15104,"24":0,"16":110449688221581312,"45":8944078516364969984},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-07-25 21:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959009536001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:21] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-25 21:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110449688221581312,"km_value":110449688221581.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944078516364969984,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959009536001,"power":5057,"unknown_186":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944078516364969984}} 
[2026-07-25 21:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":143772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:21] local.INFO: GPS data processed {"connection_id":143772,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:21] local.INFO: Acknowledgment sent {"connection_id":143772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:26] local.INFO: TCP Data received {"connection_id":141413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:46:26] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:46:26] local.INFO: IMEI packet received {"connection_id":141413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":141413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:46:26] local.INFO: TCP Data received {"connection_id":141412,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:46:26] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0b2ee0012d77a94005f27b900013016323..."} 
[2026-07-25 21:46:26] local.INFO: Packet analysis {"connection_id":141412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:46:26] local.INFO: Extracted packet for processing {"connection_id":141412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0b"} 
[2026-07-25 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958861056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784995852000,"timestamp_ms":1784995852000,"timestamp_seconds":1784995852,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0b2ee0"} 
[2026-07-25 21:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 21:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958861056001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958861056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958861056001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":141412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:26] local.INFO: GPS data processed {"connection_id":141412,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:26] local.INFO: Acknowledgment sent {"connection_id":141412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:31] local.INFO: TCP Data received {"connection_id":141413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:46:31] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:46:31] local.INFO: IMEI packet received {"connection_id":141413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":141413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:46:31] local.INFO: TCP Data received {"connection_id":143771,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0ee418012d9e16c005a378a8000d00a82b..."} 
[2026-07-25 21:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0ee418012d9e16c005a378a8000d00a82b..."} 
[2026-07-25 21:46:31] local.INFO: Processing buffer {"connection_id":143771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0ee418012d9e16c005a378a8000d00a82b..."} 
[2026-07-25 21:46:31] local.INFO: Packet analysis {"connection_id":143771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:31] local.INFO: Extracted packet for processing {"connection_id":143771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:31] local.INFO: GPS Element Parsed {"raw_longitude":765335232,"raw_latitude":94599336,"longitude_deg":76.5335232,"latitude_deg":9.4599336,"altitude":13,"angle":168,"satellites":43,"speed":48,"hex_longitude":"2d9e16c0","hex_latitude":"05a378a8","is_valid_coordinates":true} 
[2026-07-25 21:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958998528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358199160089870336,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7057985016800235520,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996095000,"timestamp_ms":1784996095000,"timestamp_seconds":1784996095,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0ee418"} 
[2026-07-25 21:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 21:46: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-07-25 21:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958998528001,"66":27310,"56":206,"83":17152,"24":48,"16":358199160089870336,"45":-7057985016800235520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,83,24,16,45]} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958998528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358199160089870336,"km_value":358199160089870.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7057985016800235520,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958998528001,"power":27310,"unknown_56":206,"unknown_83":17152,"ignition":48,"odometer":null,"unknown_45":-7057985016800235520}} 
[2026-07-25 21:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":143771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:31] local.INFO: GPS data processed {"connection_id":143771,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:31] local.INFO: Acknowledgment sent {"connection_id":143771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:31] local.INFO: TCP Data received {"connection_id":141413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:46:31] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:46:31] local.INFO: Packet analysis {"connection_id":141413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:31] local.INFO: Extracted packet for processing {"connection_id":141413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":141413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:32] local.INFO: GPS data processed {"connection_id":141413,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:32] local.INFO: Acknowledgment sent {"connection_id":141413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:36] local.INFO: TCP Data received {"connection_id":141413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:46:36] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:46:36] local.INFO: Packet analysis {"connection_id":141413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:36] local.INFO: Extracted packet for processing {"connection_id":141413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":141413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":141413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":141413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:46:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":141413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:46:36] local.INFO: GPS data processed {"connection_id":141413,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:46:36] local.INFO: Acknowledgment sent {"connection_id":141413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:46:54] local.INFO: TCP Data received {"connection_id":142412,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:46:54] local.INFO: Processing buffer {"connection_id":142412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:46:54] local.INFO: IMEI packet received {"connection_id":142412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":142412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:46:59] local.INFO: TCP Data received {"connection_id":142412,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:46:59] local.INFO: Processing buffer {"connection_id":142412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:46:59] local.INFO: IMEI packet received {"connection_id":142412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":142412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:46:59] local.INFO: TCP Data received {"connection_id":141360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:46:59] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:46:59] local.INFO: IMEI packet received {"connection_id":141360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":141360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:47:00] local.INFO: TCP Data received {"connection_id":142412,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:00] local.INFO: Processing buffer {"connection_id":142412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:00] local.INFO: Packet analysis {"connection_id":142412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:47:00] local.INFO: Extracted packet for processing {"connection_id":142412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:47:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47: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-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":142412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:00] local.INFO: GPS data processed {"connection_id":142412,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:00] local.INFO: Acknowledgment sent {"connection_id":142412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:47:03] local.INFO: TCP Data received {"connection_id":141360,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:47:03] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:47:03] local.INFO: IMEI packet received {"connection_id":141360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":141360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:47:04] local.INFO: TCP Data received {"connection_id":141360,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a101c98012d9e8ec005a283780009009e27..."} 
[2026-07-25 21:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a101c98012d9e8ec005a283780009009e27..."} 
[2026-07-25 21:47:04] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a101c98012d9e8ec005a283780009009e27..."} 
[2026-07-25 21:47:04] local.INFO: Packet analysis {"connection_id":141360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:47:04] local.INFO: Extracted packet for processing {"connection_id":141360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":765365952,"raw_latitude":94536568,"longitude_deg":76.5365952,"latitude_deg":9.4536568,"altitude":9,"angle":158,"satellites":39,"speed":40,"hex_longitude":"2d9e8ec0","hex_latitude":"05a28378","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959018752001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358202819402006528,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025193182029844480,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784996175000,"timestamp_ms":1784996175000,"timestamp_seconds":1784996175,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a101c98"} 
[2026-07-25 21:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959018752001,"66":27267,"198":206,"83":17152,"24":40,"16":358202819402006528,"45":-7025193182029844480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,83,24,16,45]} 
[2026-07-25 21:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959018752001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-25 21:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358202819402006528,"km_value":358202819402006.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025193182029844480,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959018752001,"power":27267,"unknown_198":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-7025193182029844480}} 
[2026-07-25 21:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":141360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:04] local.INFO: GPS data processed {"connection_id":141360,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:04] local.INFO: Acknowledgment sent {"connection_id":141360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:47:05] local.INFO: TCP Data received {"connection_id":142412,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:05] local.INFO: Processing buffer {"connection_id":142412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:05] local.INFO: Packet analysis {"connection_id":142412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:47:05] local.INFO: Extracted packet for processing {"connection_id":142412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":142412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:05] local.INFO: GPS data processed {"connection_id":142412,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:05] local.INFO: Acknowledgment sent {"connection_id":142412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:47:07] local.INFO: TCP Data received {"connection_id":141413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:47:07] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:47:07] local.INFO: Packet analysis {"connection_id":141413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:47:07] local.INFO: Extracted packet for processing {"connection_id":141413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47: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-07-25 21:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":141413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":141413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":141413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":141413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:07] local.INFO: GPS data processed {"connection_id":141413,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:07] local.INFO: Acknowledgment sent {"connection_id":141413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:47:25] local.INFO: TCP Data received {"connection_id":141361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:47:25] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:47:25] local.INFO: IMEI packet received {"connection_id":141361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":141361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:47:31] local.INFO: TCP Data received {"connection_id":141361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:47:31] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:47:31] local.INFO: IMEI packet received {"connection_id":141361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":141361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:47:31] local.INFO: TCP Data received {"connection_id":141361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:47:31] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:47:31] local.INFO: Packet analysis {"connection_id":141361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:47:31] local.INFO: Extracted packet for processing {"connection_id":141361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:47:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:47:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":141361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:32] local.INFO: GPS data processed {"connection_id":141361,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:32] local.INFO: Acknowledgment sent {"connection_id":141361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:47:34] local.INFO: TCP Data received {"connection_id":141360,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a103fc0012d9e994005a26148000900aa26..."} 
[2026-07-25 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a103fc0012d9e994005a26148000900aa26..."} 
[2026-07-25 21:47:34] local.INFO: Processing buffer {"connection_id":141360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a103fc0012d9e994005a26148000900aa26..."} 
[2026-07-25 21:47:34] local.INFO: Packet analysis {"connection_id":141360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:47:34] local.INFO: Extracted packet for processing {"connection_id":141360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:47:34] local.INFO: GPS Element Parsed {"raw_longitude":765368640,"raw_latitude":94527816,"longitude_deg":76.536864,"latitude_deg":9.4527816,"altitude":9,"angle":170,"satellites":38,"speed":40,"hex_longitude":"2d9e9940","hex_latitude":"05a26148","is_valid_coordinates":true} 
[2026-07-25 21:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959020800001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358203261783638016,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7021463638590130176,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784996184000,"timestamp_ms":1784996184000,"timestamp_seconds":1784996184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a103fc0"} 
[2026-07-25 21:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47: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-07-25 21:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":141360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":141360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":141360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959020800001,"66":27365,"197":206,"83":17152,"24":40,"16":358203261783638016,"45":-7021463638590130176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-07-25 21:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959020800001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358203261783638016,"km_value":358203261783638.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7021463638590130176,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959020800001,"power":27365,"unknown_197":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-7021463638590130176}} 
[2026-07-25 21:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":141360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:35] local.INFO: GPS data processed {"connection_id":141360,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:35] local.INFO: Acknowledgment sent {"connection_id":141360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:47:49] local.INFO: TCP Data received {"connection_id":141414,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:47:49] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:47:49] local.INFO: IMEI packet received {"connection_id":141414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":141414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:47:55] local.INFO: TCP Data received {"connection_id":142413,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:47:55] local.INFO: Processing buffer {"connection_id":142413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:47:55] local.INFO: IMEI packet received {"connection_id":142413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":142413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:47:57] local.INFO: TCP Data received {"connection_id":141414,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:47:57] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:47:57] local.INFO: IMEI packet received {"connection_id":141414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":141414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:47:58] local.INFO: TCP Data received {"connection_id":141414,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:58] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:47:58] local.INFO: Packet analysis {"connection_id":141414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:47:58] local.INFO: Extracted packet for processing {"connection_id":141414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":141414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":141414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":141414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:47:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":141414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:47:58] local.INFO: GPS data processed {"connection_id":141414,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:47:58] local.INFO: Acknowledgment sent {"connection_id":141414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:00] local.INFO: TCP Data received {"connection_id":142413,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:00] local.INFO: Processing buffer {"connection_id":142413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:00] local.INFO: IMEI packet received {"connection_id":142413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":142413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:48:00] local.INFO: TCP Data received {"connection_id":142413,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a103fc0012d9e994005a26148000900aa26..."} 
[2026-07-25 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a103fc0012d9e994005a26148000900aa26..."} 
[2026-07-25 21:48:00] local.INFO: Processing buffer {"connection_id":142413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a103fc0012d9e994005a26148000900aa26..."} 
[2026-07-25 21:48:00] local.INFO: Packet analysis {"connection_id":142413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:48:00] local.INFO: Extracted packet for processing {"connection_id":142413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":765368640,"raw_latitude":94527816,"longitude_deg":76.536864,"latitude_deg":9.4527816,"altitude":9,"angle":170,"satellites":38,"speed":40,"hex_longitude":"2d9e9940","hex_latitude":"05a26148","is_valid_coordinates":true} 
[2026-07-25 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959023104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358203261783638016,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018508151336908800,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996184000,"timestamp_ms":1784996184000,"timestamp_seconds":1784996184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a103fc0"} 
[2026-07-25 21:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959023104001,"66":27365,"197":206,"83":17152,"24":40,"16":358203261783638016,"45":-7018508151336908800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-07-25 21:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959023104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358203261783638016,"km_value":358203261783638.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018508151336908800,"description":"Unknown IO ID 45"} 
[2026-07-25 21:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959023104001,"power":27365,"unknown_197":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-7018508151336908800}} 
[2026-07-25 21:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":142413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:48:00] local.INFO: GPS data processed {"connection_id":142413,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:48:00] local.INFO: Acknowledgment sent {"connection_id":142413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:02] local.INFO: TCP Data received {"connection_id":141361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:48:02] local.INFO: Processing buffer {"connection_id":141361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:48:02] local.INFO: Packet analysis {"connection_id":141361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:48:02] local.INFO: Extracted packet for processing {"connection_id":141361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:48:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:48:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:48:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":141361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:48:02] local.INFO: GPS data processed {"connection_id":141361,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:48:02] local.INFO: Acknowledgment sent {"connection_id":141361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:25] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:48:25] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:48:25] local.INFO: IMEI packet received {"connection_id":143773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":143773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:48:30] local.INFO: TCP Data received {"connection_id":141414,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:48:30] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:48:30] local.INFO: Packet analysis {"connection_id":141414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:48:30] local.INFO: Extracted packet for processing {"connection_id":141414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":141414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:48:30] local.INFO: GPS data processed {"connection_id":141414,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:48:30] local.INFO: Acknowledgment sent {"connection_id":141414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:31] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:48:31] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:48:31] local.INFO: IMEI packet received {"connection_id":143773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":143773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:48:31] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:48:31] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:48:31] local.INFO: Packet analysis {"connection_id":143773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:48:31] local.INFO: Extracted packet for processing {"connection_id":143773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:48:31] local.INFO: TCP Data received {"connection_id":142413,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a105730012d9e9ac005a24900000900b529..."} 
[2026-07-25 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a105730012d9e9ac005a24900000900b529..."} 
[2026-07-25 21:48:31] local.INFO: Processing buffer {"connection_id":142413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a105730012d9e9ac005a24900000900b529..."} 
[2026-07-25 21:48:31] local.INFO: Packet analysis {"connection_id":142413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:48:31] local.INFO: Extracted packet for processing {"connection_id":142413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":765369024,"raw_latitude":94521600,"longitude_deg":76.5369024,"latitude_deg":9.45216,"altitude":9,"angle":181,"satellites":41,"speed":42,"hex_longitude":"2d9e9ac0","hex_latitude":"05a24900","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959023104001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358203566726316032,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018508151336908800,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996190000,"timestamp_ms":1784996190000,"timestamp_seconds":1784996190,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a105730"} 
[2026-07-25 21:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959023104001,"66":27300,"197":206,"83":17152,"24":42,"16":358203566726316032,"45":-7018508151336908800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-07-25 21:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959023104001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358203566726316032,"km_value":358203566726316.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018508151336908800,"description":"Unknown IO ID 45"} 
[2026-07-25 21:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959023104001,"power":27300,"unknown_197":206,"unknown_83":17152,"ignition":42,"odometer":null,"unknown_45":-7018508151336908800}} 
[2026-07-25 21:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":142413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:48:31] local.INFO: GPS data processed {"connection_id":142413,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:48:31] local.INFO: Acknowledgment sent {"connection_id":142413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":143773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:48:32] local.INFO: GPS data processed {"connection_id":143773,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:48:32] local.INFO: Acknowledgment sent {"connection_id":143773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:49] local.INFO: TCP Data received {"connection_id":142414,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:48:49] local.INFO: Processing buffer {"connection_id":142414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:48:49] local.INFO: IMEI packet received {"connection_id":142414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":142414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:48:53] local.INFO: TCP Data received {"connection_id":141415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:53] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:53] local.INFO: IMEI packet received {"connection_id":141415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":141415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:48:54] local.INFO: TCP Data received {"connection_id":142414,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:48:54] local.INFO: Processing buffer {"connection_id":142414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:48:54] local.INFO: IMEI packet received {"connection_id":142414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":142414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:48:54] local.INFO: TCP Data received {"connection_id":141415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:54] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:54] local.INFO: IMEI packet received {"connection_id":141415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":141415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:48:55] local.INFO: TCP Data received {"connection_id":142414,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:48:55] local.INFO: Processing buffer {"connection_id":142414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:48:55] local.INFO: Packet analysis {"connection_id":142414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:48:55] local.INFO: Extracted packet for processing {"connection_id":142414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":142414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:48:55] local.INFO: GPS data processed {"connection_id":142414,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:48:55] local.INFO: Acknowledgment sent {"connection_id":142414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:48:59] local.INFO: TCP Data received {"connection_id":141415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:59] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:48:59] local.INFO: IMEI packet received {"connection_id":141415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":141415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:49:00] local.INFO: TCP Data received {"connection_id":141415,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1066d0012d9e9bc005a237c0000900aa29..."} 
[2026-07-25 21:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1066d0012d9e9bc005a237c0000900aa29..."} 
[2026-07-25 21:49:00] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1066d0012d9e9bc005a237c0000900aa29..."} 
[2026-07-25 21:49:00] local.INFO: Packet analysis {"connection_id":141415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:49:00] local.INFO: Extracted packet for processing {"connection_id":141415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a10"} 
[2026-07-25 21:49:00] local.INFO: GPS Element Parsed {"raw_longitude":765369280,"raw_latitude":94517184,"longitude_deg":76.536928,"latitude_deg":9.4517184,"altitude":9,"angle":170,"satellites":41,"speed":44,"hex_longitude":"2d9e9bc0","hex_latitude":"05a237c0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959024640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358203781474680832,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018085938873434112,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996194000,"timestamp_ms":1784996194000,"timestamp_seconds":1784996194,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1066d0"} 
[2026-07-25 21:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":164,"data_length":795,"current_offset":136} 
[2026-07-25 21:49: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-07-25 21: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-07-25 21:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959024640001,"66":27267,"197":206,"83":17152,"24":44,"16":358203781474680832,"45":-7018085938873434112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,45]} 
[2026-07-25 21:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959024640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:49:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-25 21:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358203781474680832,"km_value":358203781474680.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018085938873434112,"description":"Unknown IO ID 45"} 
[2026-07-25 21:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959024640001,"power":27267,"unknown_197":206,"unknown_83":17152,"ignition":44,"odometer":null,"unknown_45":-7018085938873434112}} 
[2026-07-25 21:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":141415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:49:00] local.INFO: GPS data processed {"connection_id":141415,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:49:00] local.INFO: Acknowledgment sent {"connection_id":141415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:49:03] local.INFO: TCP Data received {"connection_id":143773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:49:03] local.INFO: Processing buffer {"connection_id":143773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:49:03] local.INFO: Packet analysis {"connection_id":143773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:49:03] local.INFO: Extracted packet for processing {"connection_id":143773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:49:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:49: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-07-25 21: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-07-25 21:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:49:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:49:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":143773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:49:03] local.INFO: GPS data processed {"connection_id":143773,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:49:03] local.INFO: Acknowledgment sent {"connection_id":143773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:49:25] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:49:25] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:49:25] local.INFO: IMEI packet received {"connection_id":143774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":143774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:49:26] local.INFO: TCP Data received {"connection_id":142414,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:49:26] local.INFO: Processing buffer {"connection_id":142414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:49:26] local.INFO: Packet analysis {"connection_id":142414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:49:26] local.INFO: Extracted packet for processing {"connection_id":142414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:49:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":142414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:49:26] local.INFO: GPS data processed {"connection_id":142414,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:49:26] local.INFO: Acknowledgment sent {"connection_id":142414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:49:31] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:49:31] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:49:31] local.INFO: IMEI packet received {"connection_id":143774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":143774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:49:31] local.INFO: TCP Data received {"connection_id":141415,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a11f158012d9f3d4005a14db80015008c27..."} 
[2026-07-25 21:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a11f158012d9f3d4005a14db80015008c27..."} 
[2026-07-25 21:49:31] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a11f158012d9f3d4005a14db80015008c27..."} 
[2026-07-25 21:49:31] local.INFO: Packet analysis {"connection_id":141415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a11"} 
[2026-07-25 21:49:31] local.INFO: Extracted packet for processing {"connection_id":141415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a11"} 
[2026-07-25 21:49:31] local.INFO: GPS Element Parsed {"raw_longitude":765410624,"raw_latitude":94457272,"longitude_deg":76.5410624,"latitude_deg":9.4457272,"altitude":21,"angle":140,"satellites":39,"speed":12,"hex_longitude":"2d9f3d40","hex_latitude":"05a14db8","is_valid_coordinates":true} 
[2026-07-25 21:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959046144001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358207359182438400,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6978468335916523520,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996295000,"timestamp_ms":1784996295000,"timestamp_seconds":1784996295,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a11f158"} 
[2026-07-25 21:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 21:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959046144001,"66":27343,"60":206,"83":17152,"24":12,"16":358207359182438400,"45":-6978468335916523520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,83,24,16,45]} 
[2026-07-25 21:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959046144001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:49:31] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 21:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358207359182438400,"km_value":358207359182438.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6978468335916523520,"description":"Unknown IO ID 45"} 
[2026-07-25 21:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959046144001,"power":27343,"unknown_60":206,"unknown_83":17152,"ignition":12,"odometer":null,"unknown_45":-6978468335916523520}} 
[2026-07-25 21:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":141415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:49:31] local.INFO: GPS data processed {"connection_id":141415,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:49:31] local.INFO: Acknowledgment sent {"connection_id":141415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:49:32] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:49:32] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:49:32] local.INFO: Packet analysis {"connection_id":143774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:49:32] local.INFO: Extracted packet for processing {"connection_id":143774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":143774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:49:32] local.INFO: GPS data processed {"connection_id":143774,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:49:32] local.INFO: Acknowledgment sent {"connection_id":143774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:49:49] local.INFO: TCP Data received {"connection_id":142415,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:49:49] local.INFO: Processing buffer {"connection_id":142415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:49:49] local.INFO: IMEI packet received {"connection_id":142415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":142415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:49:54] local.INFO: TCP Data received {"connection_id":142415,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:49:54] local.INFO: Processing buffer {"connection_id":142415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:49:54] local.INFO: IMEI packet received {"connection_id":142415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":142415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:49:54] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:49:54] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:49:54] local.INFO: IMEI packet received {"connection_id":141416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":141416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:49:55] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:49:55] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:49:55] local.INFO: IMEI packet received {"connection_id":141416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":141416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:49:55] local.INFO: TCP Data received {"connection_id":142415,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:49:55] local.INFO: Processing buffer {"connection_id":142415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:49:55] local.INFO: Packet analysis {"connection_id":142415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:49:55] local.INFO: Extracted packet for processing {"connection_id":142415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:49:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:49:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":142415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:49:55] local.INFO: GPS data processed {"connection_id":142415,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:49:55] local.INFO: Acknowledgment sent {"connection_id":142415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:50:00] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:00] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:00] local.INFO: IMEI packet received {"connection_id":141416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":141416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:50:01] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a122fd8012d9f54c005a132200015008d29..."} 
[2026-07-25 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a122fd8012d9f54c005a132200015008d29..."} 
[2026-07-25 21:50:01] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a122fd8012d9f54c005a132200015008d29..."} 
[2026-07-25 21:50:01] local.INFO: Packet analysis {"connection_id":141416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a12"} 
[2026-07-25 21:50:01] local.INFO: Extracted packet for processing {"connection_id":141416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a12"} 
[2026-07-25 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":765416640,"raw_latitude":94450208,"longitude_deg":76.541664,"latitude_deg":9.4450208,"altitude":21,"angle":141,"satellites":41,"speed":31,"hex_longitude":"2d9f54c0","hex_latitude":"05a13220","is_valid_coordinates":true} 
[2026-07-25 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959051520001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358207810154004480,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6972346255174420480,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784996311000,"timestamp_ms":1784996311000,"timestamp_seconds":1784996311,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a122fd8"} 
[2026-07-25 21:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959051520001,"66":27365,"60":206,"83":17152,"24":31,"16":358207810154004480,"45":-6972346255174420480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,83,24,16,45]} 
[2026-07-25 21:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959051520001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:50:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-25 21:50:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358207810154004480,"km_value":358207810154004.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6972346255174420480,"description":"Unknown IO ID 45"} 
[2026-07-25 21:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959051520001,"power":27365,"unknown_60":206,"unknown_83":17152,"ignition":31,"odometer":null,"unknown_45":-6972346255174420480}} 
[2026-07-25 21:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":141416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:50:01] local.INFO: GPS data processed {"connection_id":141416,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:50:01] local.INFO: Acknowledgment sent {"connection_id":141416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:50:02] local.INFO: TCP Data received {"connection_id":143774,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:50:02] local.INFO: Processing buffer {"connection_id":143774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0e6ee8012d196400071fefb00048006e2a..."} 
[2026-07-25 21:50:02] local.INFO: Packet analysis {"connection_id":143774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:50:02] local.INFO: Extracted packet for processing {"connection_id":143774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0e"} 
[2026-07-25 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":42,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958915584001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996065000,"timestamp_ms":1784996065000,"timestamp_seconds":1784996065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0e6ee8"} 
[2026-07-25 21:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958915584001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958915584001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958915584001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":143774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:50:03] local.INFO: GPS data processed {"connection_id":143774,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:50:03] local.INFO: Acknowledgment sent {"connection_id":143774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:50:25] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:50:25] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:50:25] local.INFO: IMEI packet received {"connection_id":141362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":141362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:50:31] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:50:31] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:50:31] local.INFO: IMEI packet received {"connection_id":141362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":141362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:50:31] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:50:31] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:50:31] local.INFO: Packet analysis {"connection_id":141362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:50:31] local.INFO: Extracted packet for processing {"connection_id":141362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:50:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:50:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:50:32] local.INFO: GPS data processed {"connection_id":141362,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:50:32] local.INFO: Acknowledgment sent {"connection_id":141362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:50:32] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a126688012d9f6c0005a116d00010008b29..."} 
[2026-07-25 21:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a126688012d9f6c0005a116d00010008b29..."} 
[2026-07-25 21:50:32] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a126688012d9f6c0005a116d00010008b29..."} 
[2026-07-25 21:50:32] local.INFO: Packet analysis {"connection_id":141416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a12"} 
[2026-07-25 21:50:32] local.INFO: Extracted packet for processing {"connection_id":141416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a12"} 
[2026-07-25 21:50:32] local.INFO: GPS Element Parsed {"raw_longitude":765422592,"raw_latitude":94443216,"longitude_deg":76.5422592,"latitude_deg":9.4443216,"altitude":16,"angle":139,"satellites":41,"speed":25,"hex_longitude":"2d9f6c00","hex_latitude":"05a116d0","is_valid_coordinates":true} 
[2026-07-25 21:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959055616001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358208252535635968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6965731593223528448,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996325000,"timestamp_ms":1784996325000,"timestamp_seconds":1784996325,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a126688"} 
[2026-07-25 21:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959055616001,"66":27397,"58":206,"83":17152,"24":25,"16":358208252535635968,"45":-6965731593223528448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959055616001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358208252535635968,"km_value":358208252535635.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6965731593223528448,"description":"Unknown IO ID 45"} 
[2026-07-25 21:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959055616001,"power":27397,"unknown_58":206,"unknown_83":17152,"ignition":25,"odometer":null,"unknown_45":-6965731593223528448}} 
[2026-07-25 21:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":141416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:50:32] local.INFO: GPS data processed {"connection_id":141416,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:50:32] local.INFO: Acknowledgment sent {"connection_id":141416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:50:32] local.INFO: TCP Data received {"connection_id":142415,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:50:32] local.INFO: Processing buffer {"connection_id":142415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:50:32] local.INFO: Packet analysis {"connection_id":142415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:50:32] local.INFO: Extracted packet for processing {"connection_id":142415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:50:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":142415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:50:32] local.INFO: GPS data processed {"connection_id":142415,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:50:32] local.INFO: Acknowledgment sent {"connection_id":142415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:50:49] local.INFO: TCP Data received {"connection_id":141417,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:50:49] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:50:49] local.INFO: IMEI packet received {"connection_id":141417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":141417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:50:54] local.INFO: TCP Data received {"connection_id":141417,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:50:54] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:50:54] local.INFO: IMEI packet received {"connection_id":141417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":141417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:50:54] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:54] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:54] local.INFO: IMEI packet received {"connection_id":141363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":141363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:50:56] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:56] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:56] local.INFO: IMEI packet received {"connection_id":141363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":141363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:50:58] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:58] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:58] local.INFO: IMEI packet received {"connection_id":141363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":141363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:50:59] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:59] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:50:59] local.INFO: IMEI packet received {"connection_id":141363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":141363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:51:00] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a129d38012d9f82c005a0fb40000e008528..."} 
[2026-07-25 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a129d38012d9f82c005a0fb40000e008528..."} 
[2026-07-25 21:51:00] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a129d38012d9f82c005a0fb40000e008528..."} 
[2026-07-25 21:51:00] local.INFO: Packet analysis {"connection_id":141363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a12"} 
[2026-07-25 21:51:00] local.INFO: Extracted packet for processing {"connection_id":141363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a12"} 
[2026-07-25 21:51:00] local.INFO: GPS Element Parsed {"raw_longitude":765428416,"raw_latitude":94436160,"longitude_deg":76.5428416,"latitude_deg":9.443616,"altitude":14,"angle":133,"satellites":40,"speed":33,"hex_longitude":"2d9f82c0","hex_latitude":"05a0fb40","is_valid_coordinates":true} 
[2026-07-25 21:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959059200001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358208690622300160,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6959187300016795648,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996339000,"timestamp_ms":1784996339000,"timestamp_seconds":1784996339,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a129d38"} 
[2026-07-25 21:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:51: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-07-25 21:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959059200001,"66":27321,"58":206,"83":17152,"24":33,"16":358208690622300160,"45":-6959187300016795648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,45]} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959059200001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358208690622300160,"km_value":358208690622300.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6959187300016795648,"description":"Unknown IO ID 45"} 
[2026-07-25 21:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959059200001,"power":27321,"unknown_58":206,"unknown_83":17152,"ignition":33,"odometer":null,"unknown_45":-6959187300016795648}} 
[2026-07-25 21:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":141363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:51:00] local.INFO: GPS data processed {"connection_id":141363,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:51:00] local.INFO: Acknowledgment sent {"connection_id":141363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:51:00] local.INFO: TCP Data received {"connection_id":141417,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:51:00] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:51:00] local.INFO: Packet analysis {"connection_id":141417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:51:00] local.INFO: Extracted packet for processing {"connection_id":141417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:51:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:51: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-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":141417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:51:00] local.INFO: GPS data processed {"connection_id":141417,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:51:00] local.INFO: Acknowledgment sent {"connection_id":141417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:51:02] local.INFO: TCP Data received {"connection_id":141362,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:51:02] local.INFO: Processing buffer {"connection_id":141362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:51:02] local.INFO: Packet analysis {"connection_id":141362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:51:02] local.INFO: Extracted packet for processing {"connection_id":141362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:51:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:51:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":141362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:51:02] local.INFO: GPS data processed {"connection_id":141362,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:51:02] local.INFO: Acknowledgment sent {"connection_id":141362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:51:25] local.INFO: TCP Data received {"connection_id":142416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:51:25] local.INFO: Processing buffer {"connection_id":142416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:51:25] local.INFO: IMEI packet received {"connection_id":142416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":142416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:51:30] local.INFO: TCP Data received {"connection_id":142416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:51:30] local.INFO: Processing buffer {"connection_id":142416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:51:30] local.INFO: IMEI packet received {"connection_id":142416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":142416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:51:31] local.INFO: TCP Data received {"connection_id":142416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:51:31] local.INFO: Processing buffer {"connection_id":142416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:51:31] local.INFO: Packet analysis {"connection_id":142416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:51:31] local.INFO: Extracted packet for processing {"connection_id":142416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:51:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:51:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:51:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":142416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:51:31] local.INFO: GPS data processed {"connection_id":142416,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:51:31] local.INFO: Acknowledgment sent {"connection_id":142416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:51:32] local.INFO: TCP Data received {"connection_id":141417,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:51:32] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a0fc6a8012d77a94005f27b900013016323..."} 
[2026-07-25 21:51:32] local.INFO: Packet analysis {"connection_id":141417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:51:32] local.INFO: Extracted packet for processing {"connection_id":141417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a0f"} 
[2026-07-25 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958938112001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996153000,"timestamp_ms":1784996153000,"timestamp_seconds":1784996153,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a0fc6a8"} 
[2026-07-25 21:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958938112001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958938112001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:51:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958938112001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":141417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:51:32] local.INFO: GPS data processed {"connection_id":141417,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:51:32] local.INFO: Acknowledgment sent {"connection_id":141417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:51:34] local.INFO: TCP Data received {"connection_id":141363,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a13fcc8012d9faec005a02550000600fa2c..."} 
[2026-07-25 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a13fcc8012d9faec005a02550000600fa2c..."} 
[2026-07-25 21:51:34] local.INFO: Processing buffer {"connection_id":141363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a13fcc8012d9faec005a02550000600fa2c..."} 
[2026-07-25 21:51:34] local.INFO: Packet analysis {"connection_id":141363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:51:34] local.INFO: Extracted packet for processing {"connection_id":141363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":765439680,"raw_latitude":94381392,"longitude_deg":76.543968,"latitude_deg":9.4381392,"altitude":6,"angle":250,"satellites":44,"speed":24,"hex_longitude":"2d9faec0","hex_latitude":"05a02550","is_valid_coordinates":true} 
[2026-07-25 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959084288001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358211735754113024,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6937654464314144768,"note":"Value kept but may cause issues"} 
[2026-07-25 21:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784996429000,"timestamp_ms":1784996429000,"timestamp_seconds":1784996429,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a13fcc8"} 
[2026-07-25 21:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-25 21:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959084288001,"66":27234,"156":206,"83":17152,"24":24,"16":358211735754113024,"45":-6937654464314144768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-07-25 21:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959084288001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:51:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 21:51:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358211735754113024,"km_value":358211735754113.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6937654464314144768,"description":"Unknown IO ID 45"} 
[2026-07-25 21:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959084288001,"power":27234,"unknown_156":206,"unknown_83":17152,"ignition":24,"odometer":null,"unknown_45":-6937654464314144768}} 
[2026-07-25 21:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":141363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:51:34] local.INFO: GPS data processed {"connection_id":141363,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:51:34] local.INFO: Acknowledgment sent {"connection_id":141363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:51:54] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:51:54] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:51:54] local.INFO: IMEI packet received {"connection_id":141418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":141418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:51:59] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:51:59] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:51:59] local.INFO: IMEI packet received {"connection_id":141418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":141418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:52:00] local.INFO: TCP Data received {"connection_id":142417,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:00] local.INFO: Processing buffer {"connection_id":142417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:00] local.INFO: IMEI packet received {"connection_id":142417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":142417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:52:00] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:00] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:00] local.INFO: Packet analysis {"connection_id":141418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:00] local.INFO: Extracted packet for processing {"connection_id":141418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52: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-07-25 21: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":141418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:00] local.INFO: GPS data processed {"connection_id":141418,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:00] local.INFO: Acknowledgment sent {"connection_id":141418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:02] local.INFO: TCP Data received {"connection_id":142416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:52:02] local.INFO: Processing buffer {"connection_id":142416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:52:02] local.INFO: Packet analysis {"connection_id":142416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:52:02] local.INFO: Extracted packet for processing {"connection_id":142416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:52:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":142416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:02] local.INFO: GPS data processed {"connection_id":142416,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:02] local.INFO: Acknowledgment sent {"connection_id":142416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:02] local.INFO: TCP Data received {"connection_id":142417,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:02] local.INFO: Processing buffer {"connection_id":142417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:02] local.INFO: IMEI packet received {"connection_id":142417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":142417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:52:05] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:05] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:05] local.INFO: Packet analysis {"connection_id":141418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:05] local.INFO: Extracted packet for processing {"connection_id":141418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":141418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:05] local.INFO: GPS data processed {"connection_id":141418,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:05] local.INFO: Acknowledgment sent {"connection_id":141418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:05] local.INFO: TCP Data received {"connection_id":142417,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1427c0012d9f8d8005a01888000400f82b..."} 
[2026-07-25 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1427c0012d9f8d8005a01888000400f82b..."} 
[2026-07-25 21:52:05] local.INFO: Processing buffer {"connection_id":142417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1427c0012d9f8d8005a01888000400f82b..."} 
[2026-07-25 21:52:05] local.INFO: Packet analysis {"connection_id":142417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:05] local.INFO: Extracted packet for processing {"connection_id":142417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:05] local.INFO: GPS Element Parsed {"raw_longitude":765431168,"raw_latitude":94378120,"longitude_deg":76.5431168,"latitude_deg":9.437812,"altitude":4,"angle":248,"satellites":43,"speed":40,"hex_longitude":"2d9f8d80","hex_latitude":"05a01888","is_valid_coordinates":true} 
[2026-07-25 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959085824001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358212173840777216,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6940398845337186304,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784996440000,"timestamp_ms":1784996440000,"timestamp_seconds":1784996440,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1427c0"} 
[2026-07-25 21:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52: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-07-25 21:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959085824001,"66":27376,"156":206,"83":17152,"24":40,"16":358212173840777216,"45":-6940398845337186304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-07-25 21:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959085824001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358212173840777216,"km_value":358212173840777.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6940398845337186304,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959085824001,"power":27376,"unknown_156":206,"unknown_83":17152,"ignition":40,"odometer":null,"unknown_45":-6940398845337186304}} 
[2026-07-25 21:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":142417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:05] local.INFO: GPS data processed {"connection_id":142417,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:05] local.INFO: Acknowledgment sent {"connection_id":142417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:08] local.INFO: TCP Data received {"connection_id":142417,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a144ae8012d9f6b8005a00b80000400f92b..."} 
[2026-07-25 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a144ae8012d9f6b8005a00b80000400f92b..."} 
[2026-07-25 21:52:08] local.INFO: Processing buffer {"connection_id":142417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a144ae8012d9f6b8005a00b80000400f92b..."} 
[2026-07-25 21:52:08] local.INFO: Packet analysis {"connection_id":142417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:08] local.INFO: Extracted packet for processing {"connection_id":142417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":765422464,"raw_latitude":94374784,"longitude_deg":76.5422464,"latitude_deg":9.4374784,"altitude":4,"angle":249,"satellites":43,"speed":42,"hex_longitude":"2d9f6b80","hex_latitude":"05a00b80","is_valid_coordinates":true} 
[2026-07-25 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959088640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358212620517376000,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6949757888313653248,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784996449000,"timestamp_ms":1784996449000,"timestamp_seconds":1784996449,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a144ae8"} 
[2026-07-25 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959088640001,"66":27397,"241":206,"83":17152,"24":42,"16":358212620517376000,"45":-6949757888313653248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,83,24,16,45]} 
[2026-07-25 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959088640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:08] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-25 21:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358212620517376000,"km_value":358212620517376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6949757888313653248,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959088640001,"power":27397,"unknown_241":206,"unknown_83":17152,"ignition":42,"odometer":null,"unknown_45":-6949757888313653248}} 
[2026-07-25 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":142417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:08] local.INFO: GPS data processed {"connection_id":142417,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:08] local.INFO: Acknowledgment sent {"connection_id":142417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:25] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:52:25] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:52:25] local.INFO: IMEI packet received {"connection_id":141419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":141419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:52:30] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:52:30] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:52:30] local.INFO: IMEI packet received {"connection_id":141419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":141419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:52:31] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:52:31] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:52:31] local.INFO: Packet analysis {"connection_id":141419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:52:31] local.INFO: Extracted packet for processing {"connection_id":141419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:52:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":141419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:31] local.INFO: GPS data processed {"connection_id":141419,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:31] local.INFO: Acknowledgment sent {"connection_id":141419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:49] local.INFO: TCP Data received {"connection_id":143775,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:52:49] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:52:49] local.INFO: IMEI packet received {"connection_id":143775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":143775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:52:54] local.INFO: TCP Data received {"connection_id":143775,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:52:54] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:52:54] local.INFO: IMEI packet received {"connection_id":143775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":143775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:52:54] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:54] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:54] local.INFO: IMEI packet received {"connection_id":141364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":141364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:52:55] local.INFO: TCP Data received {"connection_id":143775,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:55] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:52:55] local.INFO: Packet analysis {"connection_id":143775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:55] local.INFO: Extracted packet for processing {"connection_id":143775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:52:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":143775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:52:55] local.INFO: GPS data processed {"connection_id":143775,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:52:55] local.INFO: Acknowledgment sent {"connection_id":143775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:52:59] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:59] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:52:59] local.INFO: IMEI packet received {"connection_id":141364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":141364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:53:01] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a146e10012d9f4840059ffe50000400f92a..."} 
[2026-07-25 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a146e10012d9f4840059ffe50000400f92a..."} 
[2026-07-25 21:53:01] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a146e10012d9f4840059ffe50000400f92a..."} 
[2026-07-25 21:53:01] local.INFO: Packet analysis {"connection_id":141364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:01] local.INFO: Extracted packet for processing {"connection_id":141364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":765413440,"raw_latitude":94371408,"longitude_deg":76.541344,"latitude_deg":9.4371408,"altitude":4,"angle":249,"satellites":42,"speed":43,"hex_longitude":"2d9f4840","hex_latitude":"059ffe50","is_valid_coordinates":true} 
[2026-07-25 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959090944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358213080078876672,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6959328037522669568,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784996458000,"timestamp_ms":1784996458000,"timestamp_seconds":1784996458,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a146e10"} 
[2026-07-25 21:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:53: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-07-25 21:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959090944001,"66":27321,"131":206,"83":17152,"24":43,"16":358213080078876672,"45":-6959328037522669568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-25 21:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959090944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:01] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 21:53:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358213080078876672,"km_value":358213080078876.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6959328037522669568,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959090944001,"power":27321,"unknown_131":206,"unknown_83":17152,"ignition":43,"odometer":null,"unknown_45":-6959328037522669568}} 
[2026-07-25 21:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":141364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:01] local.INFO: GPS data processed {"connection_id":141364,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:01] local.INFO: Acknowledgment sent {"connection_id":141364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:02] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:02] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:02] local.INFO: Packet analysis {"connection_id":141419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:53:02] local.INFO: Extracted packet for processing {"connection_id":141419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:53:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":141419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:02] local.INFO: GPS data processed {"connection_id":141419,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:02] local.INFO: Acknowledgment sent {"connection_id":141419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:26] local.INFO: TCP Data received {"connection_id":143775,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:53:26] local.INFO: Processing buffer {"connection_id":143775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:53:26] local.INFO: Packet analysis {"connection_id":143775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:26] local.INFO: Extracted packet for processing {"connection_id":143775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":143775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:26] local.INFO: GPS data processed {"connection_id":143775,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:26] local.INFO: Acknowledgment sent {"connection_id":143775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:30] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:53:30] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:53:30] local.INFO: IMEI packet received {"connection_id":141365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":141365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:53:32] local.INFO: TCP Data received {"connection_id":141364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a149138012d9f2480059ff078000300f72a..."} 
[2026-07-25 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a149138012d9f2480059ff078000300f72a..."} 
[2026-07-25 21:53:32] local.INFO: Processing buffer {"connection_id":141364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a149138012d9f2480059ff078000300f72a..."} 
[2026-07-25 21:53:32] local.INFO: Packet analysis {"connection_id":141364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:32] local.INFO: Extracted packet for processing {"connection_id":141364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":765404288,"raw_latitude":94367864,"longitude_deg":76.5404288,"latitude_deg":9.4367864,"altitude":3,"angle":247,"satellites":42,"speed":41,"hex_longitude":"2d9f2480","hex_latitude":"059ff078","is_valid_coordinates":true} 
[2026-07-25 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959093248001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358213548230311936,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6969250030452584448,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996467000,"timestamp_ms":1784996467000,"timestamp_seconds":1784996467,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a149138"} 
[2026-07-25 21:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 21:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959093248001,"66":27071,"131":206,"83":17152,"24":41,"16":358213548230311936,"45":-6969250030452584448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,83,24,16,45]} 
[2026-07-25 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959093248001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-25 21:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358213548230311936,"km_value":358213548230311.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6969250030452584448,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959093248001,"power":27071,"unknown_131":206,"unknown_83":17152,"ignition":41,"odometer":null,"unknown_45":-6969250030452584448}} 
[2026-07-25 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":141364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:32] local.INFO: GPS data processed {"connection_id":141364,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:32] local.INFO: Acknowledgment sent {"connection_id":141364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:36] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:53:36] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:53:36] local.INFO: IMEI packet received {"connection_id":141365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":141365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:53:37] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:37] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:37] local.INFO: Packet analysis {"connection_id":141365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:53:37] local.INFO: Extracted packet for processing {"connection_id":141365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53: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-07-25 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:53:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":141365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:37] local.INFO: GPS data processed {"connection_id":141365,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:37] local.INFO: Acknowledgment sent {"connection_id":141365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:41] local.INFO: TCP Data received {"connection_id":141365,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:41] local.INFO: Processing buffer {"connection_id":141365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:53:41] local.INFO: Packet analysis {"connection_id":141365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:53:41] local.INFO: Extracted packet for processing {"connection_id":141365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":141365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:41] local.INFO: GPS data processed {"connection_id":141365,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:41] local.INFO: Acknowledgment sent {"connection_id":141365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:49] local.INFO: TCP Data received {"connection_id":142418,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:53:49] local.INFO: Processing buffer {"connection_id":142418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:53:49] local.INFO: IMEI packet received {"connection_id":142418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":142418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:53:54] local.INFO: TCP Data received {"connection_id":142419,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:53:54] local.INFO: Processing buffer {"connection_id":142419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:53:54] local.INFO: IMEI packet received {"connection_id":142419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":142419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:53:55] local.INFO: TCP Data received {"connection_id":142418,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:53:55] local.INFO: Processing buffer {"connection_id":142418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:53:55] local.INFO: IMEI packet received {"connection_id":142418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":142418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:53:56] local.INFO: TCP Data received {"connection_id":142418,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:53:56] local.INFO: Processing buffer {"connection_id":142418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:53:56] local.INFO: Packet analysis {"connection_id":142418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:56] local.INFO: Extracted packet for processing {"connection_id":142418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:53:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":142418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:53:57] local.INFO: GPS data processed {"connection_id":142418,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:53:57] local.INFO: Acknowledgment sent {"connection_id":142418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:53:59] local.INFO: TCP Data received {"connection_id":142419,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:53:59] local.INFO: Processing buffer {"connection_id":142419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:53:59] local.INFO: IMEI packet received {"connection_id":142419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":142419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:54:00] local.INFO: TCP Data received {"connection_id":142419,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a162778012d9da0c0059f6050000300fa2c..."} 
[2026-07-25 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a162778012d9da0c0059f6050000300fa2c..."} 
[2026-07-25 21:54:00] local.INFO: Processing buffer {"connection_id":142419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a162778012d9da0c0059f6050000300fa2c..."} 
[2026-07-25 21:54:00] local.INFO: Packet analysis {"connection_id":142419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:54:00] local.INFO: Extracted packet for processing {"connection_id":142419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":765305024,"raw_latitude":94330960,"longitude_deg":76.5305024,"latitude_deg":9.433096,"altitude":3,"angle":250,"satellites":44,"speed":27,"hex_longitude":"2d9da0c0","hex_latitude":"059f6050","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959117568001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358218624881655808,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7078954902635106304,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996571000,"timestamp_ms":1784996571000,"timestamp_seconds":1784996571,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a162778"} 
[2026-07-25 21:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959117568001,"66":27343,"132":206,"83":17152,"24":27,"16":358218624881655808,"45":-7078954902635106304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-25 21:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959117568001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:00] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-25 21:54:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358218624881655808,"km_value":358218624881655.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7078954902635106304,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959117568001,"power":27343,"unknown_132":206,"unknown_83":17152,"ignition":27,"odometer":null,"unknown_45":-7078954902635106304}} 
[2026-07-25 21:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":142419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:00] local.INFO: GPS data processed {"connection_id":142419,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:00] local.INFO: Acknowledgment sent {"connection_id":142419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:04] local.INFO: TCP Data received {"connection_id":142419,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a165270012d9d7f40059f53c8000300fa2c..."} 
[2026-07-25 21:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a165270012d9d7f40059f53c8000300fa2c..."} 
[2026-07-25 21:54:04] local.INFO: Processing buffer {"connection_id":142419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a165270012d9d7f40059f53c8000300fa2c..."} 
[2026-07-25 21:54:04] local.INFO: Packet analysis {"connection_id":142419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:54:04] local.INFO: Extracted packet for processing {"connection_id":142419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765296448,"raw_latitude":94327752,"longitude_deg":76.5296448,"latitude_deg":9.4327752,"altitude":3,"angle":250,"satellites":44,"speed":36,"hex_longitude":"2d9d7f40","hex_latitude":"059f53c8","is_valid_coordinates":true} 
[2026-07-25 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959122176001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358219062968320000,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7088454683099901952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784996582000,"timestamp_ms":1784996582000,"timestamp_seconds":1784996582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a165270"} 
[2026-07-25 21:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959122176001,"66":27365,"132":206,"83":17152,"24":36,"16":358219062968320000,"45":-7088454683099901952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-25 21:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959122176001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:04] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-25 21:54:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358219062968320000,"km_value":358219062968320,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7088454683099901952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959122176001,"power":27365,"unknown_132":206,"unknown_83":17152,"ignition":36,"odometer":null,"unknown_45":-7088454683099901952}} 
[2026-07-25 21:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":142419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:04] local.INFO: GPS data processed {"connection_id":142419,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:04] local.INFO: Acknowledgment sent {"connection_id":142419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:08] local.INFO: TCP Data received {"connection_id":141420,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:08] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:08] local.INFO: IMEI packet received {"connection_id":141420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":141420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:54:11] local.INFO: TCP Data received {"connection_id":141420,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:11] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:11] local.INFO: IMEI packet received {"connection_id":141420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":141420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:54:15] local.INFO: TCP Data received {"connection_id":141420,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:15] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:54:15] local.INFO: IMEI packet received {"connection_id":141420,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":141420,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:54:16] local.INFO: TCP Data received {"connection_id":141420,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a16d358012d7c7f0005d97998000001451b..."} 
[2026-07-25 21:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a16d358012d7c7f0005d97998000001451b..."} 
[2026-07-25 21:54:16] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a16d358012d7c7f0005d97998000001451b..."} 
[2026-07-25 21:54:16] local.INFO: Packet analysis {"connection_id":141420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:54:16] local.INFO: Extracted packet for processing {"connection_id":141420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:54:16] local.INFO: GPS Element Parsed {"raw_longitude":763133696,"raw_latitude":98138520,"longitude_deg":76.3133696,"latitude_deg":9.813852,"altitude":0,"angle":325,"satellites":27,"speed":8,"hex_longitude":"2d7c7f00","hex_latitude":"05d97998","is_valid_coordinates":true} 
[2026-07-25 21:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959132928001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110455310333771776,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029745357162496,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784996615000,"timestamp_ms":1784996615000,"timestamp_seconds":1784996615,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a16d358"} 
[2026-07-25 21:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54: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-07-25 21: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959132928001,"66":12048,"245":206,"85":15104,"24":8,"16":110455310333771776,"45":8971029745357162496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959132928001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110455310333771776,"km_value":110455310333771.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029745357162496,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959132928001,"power":12048,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8971029745357162496}} 
[2026-07-25 21:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":141420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:16] local.INFO: GPS data processed {"connection_id":141420,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:16] local.INFO: Acknowledgment sent {"connection_id":141420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:25] local.INFO: TCP Data received {"connection_id":141366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:54:25] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:54:25] local.INFO: IMEI packet received {"connection_id":141366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":141366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:54:28] local.INFO: TCP Data received {"connection_id":142418,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:54:28] local.INFO: Processing buffer {"connection_id":142418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:54:28] local.INFO: Packet analysis {"connection_id":142418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:54:28] local.INFO: Extracted packet for processing {"connection_id":142418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:54:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54: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-07-25 21:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":142418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":142418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":142418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":142418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:28] local.INFO: GPS data processed {"connection_id":142418,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:28] local.INFO: Acknowledgment sent {"connection_id":142418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:30] local.INFO: TCP Data received {"connection_id":141366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:54:30] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:54:30] local.INFO: IMEI packet received {"connection_id":141366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":141366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:54:31] local.INFO: TCP Data received {"connection_id":141366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:54:31] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:54:31] local.INFO: Packet analysis {"connection_id":141366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:54:31] local.INFO: Extracted packet for processing {"connection_id":141366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:54:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":141366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:31] local.INFO: GPS data processed {"connection_id":141366,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:31] local.INFO: Acknowledgment sent {"connection_id":141366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:47] local.INFO: TCP Data received {"connection_id":141420,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a17c1a0012d7c310005d988a80000013628..."} 
[2026-07-25 21:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a17c1a0012d7c310005d988a80000013628..."} 
[2026-07-25 21:54:47] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a17c1a0012d7c310005d988a80000013628..."} 
[2026-07-25 21:54:47] local.INFO: Packet analysis {"connection_id":141420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:54:47] local.INFO: Extracted packet for processing {"connection_id":141420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:54:47] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":98142376,"longitude_deg":76.3113728,"latitude_deg":9.8142376,"altitude":0,"angle":310,"satellites":40,"speed":10,"hex_longitude":"2d7c3100","hex_latitude":"05d988a8","is_valid_coordinates":true} 
[2026-07-25 21:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959148800001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456800687423488,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949215434663004160,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784996676000,"timestamp_ms":1784996676000,"timestamp_seconds":1784996676,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a17c1a0"} 
[2026-07-25 21:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141420,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959148800001,"66":11406,"245":206,"85":15104,"24":10,"16":110456800687423488,"45":8949215434663004160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959148800001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456800687423488,"km_value":110456800687423.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949215434663004160,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959148800001,"power":11406,"geofence_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8949215434663004160}} 
[2026-07-25 21:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":141420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:47] local.INFO: GPS data processed {"connection_id":141420,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:47] local.INFO: Acknowledgment sent {"connection_id":141420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:48] local.INFO: TCP Data received {"connection_id":142420,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:54:48] local.INFO: Processing buffer {"connection_id":142420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:54:48] local.INFO: IMEI packet received {"connection_id":142420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":142420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:54:54] local.INFO: TCP Data received {"connection_id":142420,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:54:54] local.INFO: Processing buffer {"connection_id":142420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:54:54] local.INFO: IMEI packet received {"connection_id":142420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":142420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:54:55] local.INFO: TCP Data received {"connection_id":142420,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:54:55] local.INFO: Processing buffer {"connection_id":142420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:54:55] local.INFO: Packet analysis {"connection_id":142420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:54:55] local.INFO: Extracted packet for processing {"connection_id":142420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:54:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:54:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":142420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:54:55] local.INFO: GPS data processed {"connection_id":142420,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:54:55] local.INFO: Acknowledgment sent {"connection_id":142420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:54:55] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:54:55] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:54:55] local.INFO: IMEI packet received {"connection_id":141421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":141421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:54:59] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:54:59] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:54:59] local.INFO: IMEI packet received {"connection_id":141421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":141421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:02] local.INFO: TCP Data received {"connection_id":141366,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:55:02] local.INFO: Processing buffer {"connection_id":141366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1306b0012d196400071fefb00048006e2b..."} 
[2026-07-25 21:55:02] local.INFO: Packet analysis {"connection_id":141366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:55:02] local.INFO: Extracted packet for processing {"connection_id":141366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a13"} 
[2026-07-25 21:55:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":43,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456958992640001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996366000,"timestamp_ms":1784996366000,"timestamp_seconds":1784996366,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1306b0"} 
[2026-07-25 21:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456958992640001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456958992640001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:55:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456958992640001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":141366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:02] local.INFO: GPS data processed {"connection_id":141366,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:02] local.INFO: Acknowledgment sent {"connection_id":141366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:02] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:02] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:02] local.INFO: IMEI packet received {"connection_id":141421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":141421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:03] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a167980012d9d5ac0059f4718000500fa2d..."} 
[2026-07-25 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a167980012d9d5ac0059f4718000500fa2d..."} 
[2026-07-25 21:55:03] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a167980012d9d5ac0059f4718000500fa2d..."} 
[2026-07-25 21:55:03] local.INFO: Packet analysis {"connection_id":141421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:55:03] local.INFO: Extracted packet for processing {"connection_id":141421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:55:03] local.INFO: GPS Element Parsed {"raw_longitude":765287104,"raw_latitude":94324504,"longitude_deg":76.5287104,"latitude_deg":9.4324504,"altitude":5,"angle":250,"satellites":45,"speed":41,"hex_longitude":"2d9d5ac0","hex_latitude":"059f4718","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959124992001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358219535414722560,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7097884094820530176,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784996592000,"timestamp_ms":1784996592000,"timestamp_seconds":1784996592,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a167980"} 
[2026-07-25 21:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959124992001,"66":27365,"132":206,"83":17152,"24":41,"16":358219535414722560,"45":-7097884094820530176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-25 21:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959124992001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358219535414722560,"km_value":358219535414722.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7097884094820530176,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959124992001,"power":27365,"unknown_132":206,"unknown_83":17152,"ignition":41,"odometer":null,"unknown_45":-7097884094820530176}} 
[2026-07-25 21:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":141421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:03] local.INFO: GPS data processed {"connection_id":141421,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:03] local.INFO: Acknowledgment sent {"connection_id":141421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:06] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a169ca8012d9d3580059f39e8000200fb2e..."} 
[2026-07-25 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a169ca8012d9d3580059f39e8000200fb2e..."} 
[2026-07-25 21:55:06] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a169ca8012d9d3580059f39e8000200fb2e..."} 
[2026-07-25 21:55:06] local.INFO: Packet analysis {"connection_id":141421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:55:06] local.INFO: Extracted packet for processing {"connection_id":141421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a16"} 
[2026-07-25 21:55:06] local.INFO: GPS Element Parsed {"raw_longitude":765277568,"raw_latitude":94321128,"longitude_deg":76.5277568,"latitude_deg":9.4321128,"altitude":2,"angle":251,"satellites":46,"speed":48,"hex_longitude":"2d9d3580","hex_latitude":"059f39e8","is_valid_coordinates":true} 
[2026-07-25 21:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959127552001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358220020746027008,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7108157931471300608,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784996601000,"timestamp_ms":1784996601000,"timestamp_seconds":1784996601,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a169ca8"} 
[2026-07-25 21:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959127552001,"66":27376,"132":206,"83":17152,"24":48,"16":358220020746027008,"45":-7108157931471300608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,83,24,16,45]} 
[2026-07-25 21:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959127552001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:06] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-25 21:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358220020746027008,"km_value":358220020746027.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7108157931471300608,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959127552001,"power":27376,"unknown_132":206,"unknown_83":17152,"ignition":48,"odometer":null,"unknown_45":-7108157931471300608}} 
[2026-07-25 21:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":141421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:06] local.INFO: GPS data processed {"connection_id":141421,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:06] local.INFO: Acknowledgment sent {"connection_id":141421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:08] local.INFO: TCP Data received {"connection_id":142421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:55:08] local.INFO: Processing buffer {"connection_id":142421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:55:08] local.INFO: IMEI packet received {"connection_id":142421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":142421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:55:10] local.INFO: TCP Data received {"connection_id":142421,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142421,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:55:10] local.INFO: Processing buffer {"connection_id":142421,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:55:10] local.INFO: IMEI packet received {"connection_id":142421,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":142421,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:11] local.INFO: TCP Data received {"connection_id":142421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a17c588012d7c30c005d989680000014729..."} 
[2026-07-25 21:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a17c588012d7c30c005d989680000014729..."} 
[2026-07-25 21:55:11] local.INFO: Processing buffer {"connection_id":142421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a17c588012d7c30c005d989680000014729..."} 
[2026-07-25 21:55:11] local.INFO: Packet analysis {"connection_id":142421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:11] local.INFO: Extracted packet for processing {"connection_id":142421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98142568,"longitude_deg":76.3113664,"latitude_deg":9.8142568,"altitude":0,"angle":327,"satellites":41,"speed":8,"hex_longitude":"2d7c30c0","hex_latitude":"05d98968","is_valid_coordinates":true} 
[2026-07-25 21:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959149056001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456813572325376,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959686334464,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784996677000,"timestamp_ms":1784996677000,"timestamp_seconds":1784996677,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a17c588"} 
[2026-07-25 21:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959149056001,"66":11406,"245":206,"85":15104,"24":8,"16":110456813572325376,"45":8948933959686334464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959149056001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456813572325376,"km_value":110456813572325.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959686334464,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959149056001,"power":11406,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8948933959686334464}} 
[2026-07-25 21:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":142421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:11] local.INFO: GPS data processed {"connection_id":142421,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:11] local.INFO: Acknowledgment sent {"connection_id":142421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:15] local.INFO: TCP Data received {"connection_id":142421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a17c970012d7c304005d98a080000015c29..."} 
[2026-07-25 21:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a17c970012d7c304005d98a080000015c29..."} 
[2026-07-25 21:55:15] local.INFO: Processing buffer {"connection_id":142421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a17c970012d7c304005d98a080000015c29..."} 
[2026-07-25 21:55:15] local.INFO: Packet analysis {"connection_id":142421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:15] local.INFO: Extracted packet for processing {"connection_id":142421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:15] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":98142728,"longitude_deg":76.3113536,"latitude_deg":9.8142728,"altitude":0,"angle":348,"satellites":41,"speed":5,"hex_longitude":"2d7c3040","hex_latitude":"05d98a08","is_valid_coordinates":true} 
[2026-07-25 21:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959149312001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456822162259968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942205952,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784996678000,"timestamp_ms":1784996678000,"timestamp_seconds":1784996678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a17c970"} 
[2026-07-25 21:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959149312001,"66":11547,"245":206,"85":15104,"24":5,"16":110456822162259968,"45":8948863590942205952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959149312001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456822162259968,"km_value":110456822162259.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942205952,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959149312001,"power":11547,"geofence_id":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8948863590942205952}} 
[2026-07-25 21:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":142421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:15] local.INFO: GPS data processed {"connection_id":142421,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:15] local.INFO: Acknowledgment sent {"connection_id":142421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:25] local.INFO: TCP Data received {"connection_id":141422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:55:25] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:55:25] local.INFO: IMEI packet received {"connection_id":141422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":141422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:55:26] local.INFO: TCP Data received {"connection_id":142420,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:55:26] local.INFO: Processing buffer {"connection_id":142420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:55:26] local.INFO: Packet analysis {"connection_id":142420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:55:26] local.INFO: Extracted packet for processing {"connection_id":142420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:55:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":142420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:26] local.INFO: GPS data processed {"connection_id":142420,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:26] local.INFO: Acknowledgment sent {"connection_id":142420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:30] local.INFO: TCP Data received {"connection_id":141422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:55:30] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:55:30] local.INFO: IMEI packet received {"connection_id":141422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":141422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:31] local.INFO: TCP Data received {"connection_id":141422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:55:31] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:55:31] local.INFO: Packet analysis {"connection_id":141422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:31] local.INFO: Extracted packet for processing {"connection_id":141422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":141422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:31] local.INFO: GPS data processed {"connection_id":141422,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:31] local.INFO: Acknowledgment sent {"connection_id":141422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:38] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a17e4c8012d9b9600059ea540000300fa2f..."} 
[2026-07-25 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a17e4c8012d9b9600059ea540000300fa2f..."} 
[2026-07-25 21:55:38] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a17e4c8012d9b9600059ea540000300fa2f..."} 
[2026-07-25 21:55:38] local.INFO: Packet analysis {"connection_id":141421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:38] local.INFO: Extracted packet for processing {"connection_id":141421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:38] local.INFO: GPS Element Parsed {"raw_longitude":765171200,"raw_latitude":94283072,"longitude_deg":76.51712,"latitude_deg":9.4283072,"altitude":3,"angle":250,"satellites":47,"speed":49,"hex_longitude":"2d9b9600","hex_latitude":"059ea540","is_valid_coordinates":true} 
[2026-07-25 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959149568001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358225432404819968,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7226307052955418624,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784996685000,"timestamp_ms":1784996685000,"timestamp_seconds":1784996685,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a17e4c8"} 
[2026-07-25 21:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959149568001,"66":27376,"123":206,"83":17152,"24":49,"16":358225432404819968,"45":-7226307052955418624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-25 21:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959149568001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:38] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-25 21:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358225432404819968,"km_value":358225432404819.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7226307052955418624,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959149568001,"power":27376,"unknown_123":206,"unknown_83":17152,"ignition":49,"odometer":null,"unknown_45":-7226307052955418624}} 
[2026-07-25 21:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":141421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:38] local.INFO: GPS data processed {"connection_id":141421,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:38] local.INFO: Acknowledgment sent {"connection_id":141421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:47] local.INFO: TCP Data received {"connection_id":142421,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a17f468012d7c314005d988d8000000b626..."} 
[2026-07-25 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a17f468012d7c314005d988d8000000b626..."} 
[2026-07-25 21:55:47] local.INFO: Processing buffer {"connection_id":142421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a17f468012d7c314005d988d8000000b626..."} 
[2026-07-25 21:55:47] local.INFO: Packet analysis {"connection_id":142421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:47] local.INFO: Extracted packet for processing {"connection_id":142421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":763113792,"raw_latitude":98142424,"longitude_deg":76.3113792,"latitude_deg":9.8142424,"altitude":0,"angle":182,"satellites":38,"speed":2,"hex_longitude":"2d7c3140","hex_latitude":"05d988d8","is_valid_coordinates":true} 
[2026-07-25 21:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959149568001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456852227031040,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853453891584,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784996689000,"timestamp_ms":1784996689000,"timestamp_seconds":1784996689,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a17f468"} 
[2026-07-25 21:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142421,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959149568001,"66":11471,"245":206,"85":15104,"24":2,"16":110456852227031040,"45":8948722853453891584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959149568001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456852227031040,"km_value":110456852227031.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853453891584,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959149568001,"power":11471,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8948722853453891584}} 
[2026-07-25 21:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":142421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:47] local.INFO: GPS data processed {"connection_id":142421,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:47] local.INFO: Acknowledgment sent {"connection_id":142421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:48] local.INFO: TCP Data received {"connection_id":143776,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:55:48] local.INFO: Processing buffer {"connection_id":143776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:55:48] local.INFO: IMEI packet received {"connection_id":143776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":143776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:55:51] local.INFO: TCP Data received {"connection_id":141367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:51] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:51] local.INFO: IMEI packet received {"connection_id":141367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":141367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:55:54] local.INFO: TCP Data received {"connection_id":143776,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:55:54] local.INFO: Processing buffer {"connection_id":143776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:55:54] local.INFO: IMEI packet received {"connection_id":143776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":143776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:54] local.INFO: TCP Data received {"connection_id":141367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:54] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:54] local.INFO: IMEI packet received {"connection_id":141367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":141367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:55] local.INFO: TCP Data received {"connection_id":143776,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:55:55] local.INFO: Processing buffer {"connection_id":143776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:55:55] local.INFO: Packet analysis {"connection_id":143776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:55:55] local.INFO: Extracted packet for processing {"connection_id":143776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":143776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:55] local.INFO: GPS data processed {"connection_id":143776,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:55] local.INFO: Acknowledgment sent {"connection_id":143776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:55:58] local.INFO: TCP Data received {"connection_id":141367,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:58] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:55:58] local.INFO: IMEI packet received {"connection_id":141367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":141367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:55:59] local.INFO: TCP Data received {"connection_id":141367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a180020012d9b7500059e99b0000100fa2e..."} 
[2026-07-25 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a180020012d9b7500059e99b0000100fa2e..."} 
[2026-07-25 21:55:59] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a180020012d9b7500059e99b0000100fa2e..."} 
[2026-07-25 21:55:59] local.INFO: Packet analysis {"connection_id":141367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:55:59] local.INFO: Extracted packet for processing {"connection_id":141367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":765162752,"raw_latitude":94280112,"longitude_deg":76.5162752,"latitude_deg":9.4280112,"altitude":1,"angle":250,"satellites":46,"speed":53,"hex_longitude":"2d9b7500","hex_latitude":"059e99b0","is_valid_coordinates":true} 
[2026-07-25 21:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959151360001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358225861901549568,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7235595727187656704,"note":"Value kept but may cause issues"} 
[2026-07-25 21:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784996692000,"timestamp_ms":1784996692000,"timestamp_seconds":1784996692,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a180020"} 
[2026-07-25 21:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:55: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-07-25 21:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959151360001,"66":27463,"123":206,"83":17152,"24":53,"16":358225861901549568,"45":-7235595727187656704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-25 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959151360001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358225861901549568,"km_value":358225861901549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7235595727187656704,"description":"Unknown IO ID 45"} 
[2026-07-25 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959151360001,"power":27463,"unknown_123":206,"unknown_83":17152,"ignition":53,"odometer":null,"unknown_45":-7235595727187656704}} 
[2026-07-25 21:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":141367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:55:59] local.INFO: GPS data processed {"connection_id":141367,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:55:59] local.INFO: Acknowledgment sent {"connection_id":141367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:02] local.INFO: TCP Data received {"connection_id":141422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:56:02] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:56:02] local.INFO: Packet analysis {"connection_id":141422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:56:02] local.INFO: Extracted packet for processing {"connection_id":141422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":141422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:56:02] local.INFO: GPS data processed {"connection_id":141422,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:56:02] local.INFO: Acknowledgment sent {"connection_id":141422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:06] local.INFO: TCP Data received {"connection_id":142422,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:56:06] local.INFO: Processing buffer {"connection_id":142422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:56:06] local.INFO: IMEI packet received {"connection_id":142422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":142422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:56:10] local.INFO: TCP Data received {"connection_id":142422,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142422,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:56:10] local.INFO: Processing buffer {"connection_id":142422,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:56:10] local.INFO: IMEI packet received {"connection_id":142422,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":142422,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:56:11] local.INFO: TCP Data received {"connection_id":142422,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a180408012d7c314005d987f0000000a925..."} 
[2026-07-25 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a180408012d7c314005d987f0000000a925..."} 
[2026-07-25 21:56:11] local.INFO: Processing buffer {"connection_id":142422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a180408012d7c314005d987f0000000a925..."} 
[2026-07-25 21:56:11] local.INFO: Packet analysis {"connection_id":142422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:56:11] local.INFO: Extracted packet for processing {"connection_id":142422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":763113792,"raw_latitude":98142192,"longitude_deg":76.3113792,"latitude_deg":9.8142192,"altitude":0,"angle":169,"satellites":37,"speed":2,"hex_longitude":"2d7c3140","hex_latitude":"05d987f0","is_valid_coordinates":true} 
[2026-07-25 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959152384001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456860816965632,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949004328430524416,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784996693000,"timestamp_ms":1784996693000,"timestamp_seconds":1784996693,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a180408"} 
[2026-07-25 21:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959152384001,"66":11547,"245":206,"85":15104,"24":2,"16":110456860816965632,"45":8949004328430524416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959152384001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:56:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456860816965632,"km_value":110456860816965.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949004328430524416,"description":"Unknown IO ID 45"} 
[2026-07-25 21:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959152384001,"power":11547,"geofence_id":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8949004328430524416}} 
[2026-07-25 21:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":142422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:56:11] local.INFO: GPS data processed {"connection_id":142422,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:56:11] local.INFO: Acknowledgment sent {"connection_id":142422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:26] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:56:26] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:56:26] local.INFO: IMEI packet received {"connection_id":141368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":141368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:56:26] local.INFO: TCP Data received {"connection_id":143776,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:56:26] local.INFO: Processing buffer {"connection_id":143776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a145e70012d77a94005f27b900013016323..."} 
[2026-07-25 21:56:26] local.INFO: Packet analysis {"connection_id":143776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:56:26] local.INFO: Extracted packet for processing {"connection_id":143776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a14"} 
[2026-07-25 21:56:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959015168001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784996454000,"timestamp_ms":1784996454000,"timestamp_seconds":1784996454,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a145e70"} 
[2026-07-25 21:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 21:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959015168001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959015168001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:56:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959015168001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":143776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:56:26] local.INFO: GPS data processed {"connection_id":143776,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:56:26] local.INFO: Acknowledgment sent {"connection_id":143776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:30] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:56:30] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:56:30] local.INFO: IMEI packet received {"connection_id":141368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":141368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:56:31] local.INFO: TCP Data received {"connection_id":141367,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a181b78012d9b5240059e8e10000200fa2e..."} 
[2026-07-25 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a181b78012d9b5240059e8e10000200fa2e..."} 
[2026-07-25 21:56:31] local.INFO: Processing buffer {"connection_id":141367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a181b78012d9b5240059e8e10000200fa2e..."} 
[2026-07-25 21:56:31] local.INFO: Packet analysis {"connection_id":141367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:56:31] local.INFO: Extracted packet for processing {"connection_id":141367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":765153856,"raw_latitude":94277136,"longitude_deg":76.5153856,"latitude_deg":9.4277136,"altitude":2,"angle":250,"satellites":46,"speed":52,"hex_longitude":"2d9b5240","hex_latitude":"059e8e10","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959153152001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358226308578148352,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7244884401419866112,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996699000,"timestamp_ms":1784996699000,"timestamp_seconds":1784996699,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a181b78"} 
[2026-07-25 21:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 21:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959153152001,"66":27365,"123":206,"83":17152,"24":52,"16":358226308578148352,"45":-7244884401419866112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959153152001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358226308578148352,"km_value":358226308578148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7244884401419866112,"description":"Unknown IO ID 45"} 
[2026-07-25 21:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959153152001,"power":27365,"unknown_123":206,"unknown_83":17152,"ignition":52,"odometer":null,"unknown_45":-7244884401419866112}} 
[2026-07-25 21:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":141367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:56:31] local.INFO: GPS data processed {"connection_id":141367,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:56:31] local.INFO: Acknowledgment sent {"connection_id":141367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:31] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:56:31] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:56:31] local.INFO: Packet analysis {"connection_id":141368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:56:31] local.INFO: Extracted packet for processing {"connection_id":141368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":141368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:56:32] local.INFO: GPS data processed {"connection_id":141368,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:56:32] local.INFO: Acknowledgment sent {"connection_id":141368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:42] local.INFO: TCP Data received {"connection_id":142422,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a185228012d7c318005d987e8000000a827..."} 
[2026-07-25 21:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a185228012d7c318005d987e8000000a827..."} 
[2026-07-25 21:56:42] local.INFO: Processing buffer {"connection_id":142422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a185228012d7c318005d987e8000000a827..."} 
[2026-07-25 21:56:42] local.INFO: Packet analysis {"connection_id":142422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:56:42] local.INFO: Extracted packet for processing {"connection_id":142422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:56:42] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98142184,"longitude_deg":76.3113856,"latitude_deg":9.8142184,"altitude":0,"angle":168,"satellites":39,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d987e8","is_valid_coordinates":true} 
[2026-07-25 21:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959153408001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456869406900224,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949004328430465024,"note":"Value kept but may cause issues"} 
[2026-07-25 21:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784996713000,"timestamp_ms":1784996713000,"timestamp_seconds":1784996713,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a185228"} 
[2026-07-25 21:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:56: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-07-25 21:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 21:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142422,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959153408001,"66":11406,"245":206,"85":15104,"24":0,"16":110456869406900224,"45":8949004328430465024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959153408001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:56:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456869406900224,"km_value":110456869406900.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949004328430465024,"description":"Unknown IO ID 45"} 
[2026-07-25 21:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959153408001,"power":11406,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949004328430465024}} 
[2026-07-25 21:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":142422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:56:42] local.INFO: GPS data processed {"connection_id":142422,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:56:42] local.INFO: Acknowledgment sent {"connection_id":142422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:56:53] local.INFO: TCP Data received {"connection_id":141369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:53] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:53] local.INFO: IMEI packet received {"connection_id":141369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":141369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:56:54] local.INFO: TCP Data received {"connection_id":141369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:54] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:54] local.INFO: IMEI packet received {"connection_id":141369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":141369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:56:54] local.INFO: TCP Data received {"connection_id":142423,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:56:54] local.INFO: Processing buffer {"connection_id":142423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:56:54] local.INFO: IMEI packet received {"connection_id":142423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":142423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:56:59] local.INFO: TCP Data received {"connection_id":142423,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:56:59] local.INFO: Processing buffer {"connection_id":142423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:56:59] local.INFO: IMEI packet received {"connection_id":142423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":142423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:56:59] local.INFO: TCP Data received {"connection_id":141369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:59] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:56:59] local.INFO: IMEI packet received {"connection_id":141369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":141369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:57:00] local.INFO: TCP Data received {"connection_id":142423,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:00] local.INFO: Processing buffer {"connection_id":142423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:00] local.INFO: Packet analysis {"connection_id":142423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:00] local.INFO: Extracted packet for processing {"connection_id":142423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57: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-07-25 21: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":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":142423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:00] local.INFO: GPS data processed {"connection_id":142423,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:00] local.INFO: Acknowledgment sent {"connection_id":142423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:01] local.INFO: TCP Data received {"connection_id":141369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1836d0012d9b3080059e8278000200fa2e..."} 
[2026-07-25 21:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1836d0012d9b3080059e8278000200fa2e..."} 
[2026-07-25 21:57:01] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1836d0012d9b3080059e8278000200fa2e..."} 
[2026-07-25 21:57:01] local.INFO: Packet analysis {"connection_id":141369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:01] local.INFO: Extracted packet for processing {"connection_id":141369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:01] local.INFO: GPS Element Parsed {"raw_longitude":765145216,"raw_latitude":94274168,"longitude_deg":76.5145216,"latitude_deg":9.4274168,"altitude":2,"angle":250,"satellites":46,"speed":51,"hex_longitude":"2d9b3080","hex_latitude":"059e8278","is_valid_coordinates":true} 
[2026-07-25 21:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959154944001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358226746664812544,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7254665656861323264,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784996706000,"timestamp_ms":1784996706000,"timestamp_seconds":1784996706,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1836d0"} 
[2026-07-25 21:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959154944001,"66":27321,"123":206,"83":17152,"24":51,"16":358226746664812544,"45":-7254665656861323264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,45]} 
[2026-07-25 21:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959154944001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:01] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-25 21:57:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":17152,"description":"Unknown IO ID 83"} 
[2026-07-25 21:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358226746664812544,"km_value":358226746664812.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7254665656861323264,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959154944001,"power":27321,"unknown_123":206,"unknown_83":17152,"ignition":51,"odometer":null,"unknown_45":-7254665656861323264}} 
[2026-07-25 21:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":141369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:01] local.INFO: GPS data processed {"connection_id":141369,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:01] local.INFO: Acknowledgment sent {"connection_id":141369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:02] local.INFO: TCP Data received {"connection_id":141368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:57:02] local.INFO: Processing buffer {"connection_id":141368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:57:02] local.INFO: Packet analysis {"connection_id":141368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:57:02] local.INFO: Extracted packet for processing {"connection_id":141368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":141368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:02] local.INFO: GPS data processed {"connection_id":141368,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:02] local.INFO: Acknowledgment sent {"connection_id":141368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:05] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:57:05] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:57:05] local.INFO: IMEI packet received {"connection_id":142424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":142424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:57:11] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:57:11] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:57:11] local.INFO: IMEI packet received {"connection_id":142424,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":142424,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:57:11] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18a430012d7c318005d987e8000000a82a..."} 
[2026-07-25 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18a430012d7c318005d987e8000000a82a..."} 
[2026-07-25 21:57:11] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18a430012d7c318005d987e8000000a82a..."} 
[2026-07-25 21:57:11] local.INFO: Packet analysis {"connection_id":142424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:11] local.INFO: Extracted packet for processing {"connection_id":142424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:11] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98142184,"longitude_deg":76.3113856,"latitude_deg":9.8142184,"altitude":0,"angle":168,"satellites":42,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d987e8","is_valid_coordinates":true} 
[2026-07-25 21:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959158528001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456869406900224,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174640640,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784996734000,"timestamp_ms":1784996734000,"timestamp_seconds":1784996734,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18a430"} 
[2026-07-25 21:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959158528001,"66":11547,"245":206,"85":15104,"24":0,"16":110456869406900224,"45":8949074697174640640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959158528001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456869406900224,"km_value":110456869406900.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174640640,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959158528001,"power":11547,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174640640}} 
[2026-07-25 21:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":142424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:12] local.INFO: GPS data processed {"connection_id":142424,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:12] local.INFO: Acknowledgment sent {"connection_id":142424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:26] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:57:26] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:57:26] local.INFO: IMEI packet received {"connection_id":143777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":143777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:57:30] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:57:30] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:57:30] local.INFO: IMEI packet received {"connection_id":143777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":143777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:57:31] local.INFO: TCP Data received {"connection_id":142423,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:31] local.INFO: Processing buffer {"connection_id":142423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:31] local.INFO: Packet analysis {"connection_id":142423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:31] local.INFO: Extracted packet for processing {"connection_id":142423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":142423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:31] local.INFO: GPS data processed {"connection_id":142423,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:31] local.INFO: Acknowledgment sent {"connection_id":142423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:31] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:57:31] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:57:31] local.INFO: Packet analysis {"connection_id":143777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:57:31] local.INFO: Extracted packet for processing {"connection_id":143777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:57:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":143777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:31] local.INFO: GPS data processed {"connection_id":143777,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:31] local.INFO: Acknowledgment sent {"connection_id":143777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:32] local.INFO: TCP Data received {"connection_id":141369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a199e30012d998700059de9d0000300f930..."} 
[2026-07-25 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a199e30012d998700059de9d0000300f930..."} 
[2026-07-25 21:57:32] local.INFO: Processing buffer {"connection_id":141369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a199e30012d998700059de9d0000300f930..."} 
[2026-07-25 21:57:32] local.INFO: Packet analysis {"connection_id":141369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:57:32] local.INFO: Extracted packet for processing {"connection_id":141369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":765036288,"raw_latitude":94235088,"longitude_deg":76.5036288,"latitude_deg":9.4235088,"altitude":3,"angle":249,"satellites":48,"speed":53,"hex_longitude":"2d998700","hex_latitude":"059de9d0","is_valid_coordinates":true} 
[2026-07-25 21:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959178496001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358232287172624384,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7374433259461677056,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996798000,"timestamp_ms":1784996798000,"timestamp_seconds":1784996798,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a199e30"} 
[2026-07-25 21:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959178496001,"66":27397,"71":206,"85":14592,"24":53,"16":358232287172624384,"45":-7374433259461677056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 21:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959178496001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 21:57:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358232287172624384,"km_value":358232287172624.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7374433259461677056,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959178496001,"power":27397,"unknown_71":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-7374433259461677056}} 
[2026-07-25 21:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":141369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:32] local.INFO: GPS data processed {"connection_id":141369,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:32] local.INFO: Acknowledgment sent {"connection_id":141369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:43] local.INFO: TCP Data received {"connection_id":142424,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d7c318005d987e8000000a826..."} 
[2026-07-25 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d7c318005d987e8000000a826..."} 
[2026-07-25 21:57:43] local.INFO: Processing buffer {"connection_id":142424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d7c318005d987e8000000a826..."} 
[2026-07-25 21:57:43] local.INFO: Packet analysis {"connection_id":142424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:43] local.INFO: Extracted packet for processing {"connection_id":142424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763113856,"raw_latitude":98142184,"longitude_deg":76.3113856,"latitude_deg":9.8142184,"altitude":0,"angle":168,"satellites":38,"speed":0,"hex_longitude":"2d7c3180","hex_latitude":"05d987e8","is_valid_coordinates":true} 
[2026-07-25 21:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959163904001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110456869406900224,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697174640640,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142424,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959163904001,"66":11461,"245":206,"85":15104,"24":0,"16":110456869406900224,"45":8949074697174640640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959163904001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110456869406900224,"km_value":110456869406900.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697174640640,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959163904001,"power":11461,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8949074697174640640}} 
[2026-07-25 21:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":142424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:43] local.INFO: GPS data processed {"connection_id":142424,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:43] local.INFO: Acknowledgment sent {"connection_id":142424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:48] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:57:48] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:57:48] local.INFO: IMEI packet received {"connection_id":141423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":141423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:57:54] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:57:54] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:57:54] local.INFO: IMEI packet received {"connection_id":141423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":141423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:57:54] local.INFO: TCP Data received {"connection_id":141370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:54] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:54] local.INFO: IMEI packet received {"connection_id":141370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":141370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:57:54] local.INFO: TCP Data received {"connection_id":141370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:54] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:54] local.INFO: IMEI packet received {"connection_id":141370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":141370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:57:55] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:55] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:57:55] local.INFO: Packet analysis {"connection_id":141423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:55] local.INFO: Extracted packet for processing {"connection_id":141423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:57:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":141423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:57:55] local.INFO: GPS data processed {"connection_id":141423,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:57:55] local.INFO: Acknowledgment sent {"connection_id":141423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:57:59] local.INFO: TCP Data received {"connection_id":141370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:59] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:57:59] local.INFO: IMEI packet received {"connection_id":141370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":141370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:58:02] local.INFO: TCP Data received {"connection_id":141370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a19b988012d996480059ddd78000300f92f..."} 
[2026-07-25 21:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a19b988012d996480059ddd78000300f92f..."} 
[2026-07-25 21:58:02] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a19b988012d996480059ddd78000300f92f..."} 
[2026-07-25 21:58:02] local.INFO: Packet analysis {"connection_id":141370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:58:02] local.INFO: Extracted packet for processing {"connection_id":141370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":765027456,"raw_latitude":94231928,"longitude_deg":76.5027456,"latitude_deg":9.4231928,"altitude":3,"angle":249,"satellites":47,"speed":52,"hex_longitude":"2d996480","hex_latitude":"059ddd78","is_valid_coordinates":true} 
[2026-07-25 21:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959180288001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358232738144190464,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7383933039926456320,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996805000,"timestamp_ms":1784996805000,"timestamp_seconds":1784996805,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a19b988"} 
[2026-07-25 21:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:58: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-07-25 21:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":141370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":141370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":141370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959180288001,"66":27343,"71":206,"85":14592,"24":52,"16":358232738144190464,"45":-7383933039926456320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959180288001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358232738144190464,"km_value":358232738144190.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7383933039926456320,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959180288001,"power":27343,"unknown_71":206,"unknown_85":14592,"ignition":52,"odometer":null,"unknown_45":-7383933039926456320}} 
[2026-07-25 21:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":141370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:02] local.INFO: GPS data processed {"connection_id":141370,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:02] local.INFO: Acknowledgment sent {"connection_id":141370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:02] local.INFO: TCP Data received {"connection_id":143777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:58:02] local.INFO: Processing buffer {"connection_id":143777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:58:02] local.INFO: Packet analysis {"connection_id":143777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:58:02] local.INFO: Extracted packet for processing {"connection_id":143777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":143777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":143777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":143777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":143777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:02] local.INFO: GPS data processed {"connection_id":143777,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:02] local.INFO: Acknowledgment sent {"connection_id":143777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:05] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:58:05] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:58:05] local.INFO: IMEI packet received {"connection_id":141371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":141371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:58:10] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:58:10] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:58:10] local.INFO: IMEI packet received {"connection_id":141371,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":141371,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:58:11] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1abb58012d7c7a8005d99b180008000925..."} 
[2026-07-25 21:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1abb58012d7c7a8005d99b180008000925..."} 
[2026-07-25 21:58:11] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1abb58012d7c7a8005d99b180008000925..."} 
[2026-07-25 21:58:11] local.INFO: Packet analysis {"connection_id":141371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:58:11] local.INFO: Extracted packet for processing {"connection_id":141371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:58:11] local.INFO: GPS Element Parsed {"raw_longitude":763132544,"raw_latitude":98147096,"longitude_deg":76.3132544,"latitude_deg":9.8147096,"altitude":8,"angle":9,"satellites":37,"speed":6,"hex_longitude":"2d7c7a80","hex_latitude":"05d99b18","is_valid_coordinates":true} 
[2026-07-25 21:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959196672001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110457810004738048,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968637208057161728,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784996871000,"timestamp_ms":1784996871000,"timestamp_seconds":1784996871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1abb58"} 
[2026-07-25 21:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58: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-07-25 21:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1794,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959196672001,"66":12102,"245":206,"85":15104,"24":6,"16":110457810004738048,"45":8968637208057161728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959196672001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110457810004738048,"km_value":110457810004738.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968637208057161728,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959196672001,"power":12102,"geofence_id":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8968637208057161728}} 
[2026-07-25 21:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":141371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:11] local.INFO: GPS data processed {"connection_id":141371,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:11] local.INFO: Acknowledgment sent {"connection_id":141371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:25] local.INFO: TCP Data received {"connection_id":141424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:58:25] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:58:25] local.INFO: IMEI packet received {"connection_id":141424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":141424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:58:26] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:26] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:26] local.INFO: Packet analysis {"connection_id":141423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:58:26] local.INFO: Extracted packet for processing {"connection_id":141423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":141423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:26] local.INFO: GPS data processed {"connection_id":141423,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:26] local.INFO: Acknowledgment sent {"connection_id":141423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:33] local.INFO: TCP Data received {"connection_id":141370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a19d4e0012d9942c0059dd160000300f92f..."} 
[2026-07-25 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a19d4e0012d9942c0059dd160000300f92f..."} 
[2026-07-25 21:58:33] local.INFO: Processing buffer {"connection_id":141370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a19d4e0012d9942c0059dd160000300f92f..."} 
[2026-07-25 21:58:33] local.INFO: Packet analysis {"connection_id":141370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:58:33] local.INFO: Extracted packet for processing {"connection_id":141370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765018816,"raw_latitude":94228832,"longitude_deg":76.5018816,"latitude_deg":9.4228832,"altitude":3,"angle":249,"satellites":47,"speed":51,"hex_longitude":"2d9942c0","hex_latitude":"059dd160","is_valid_coordinates":true} 
[2026-07-25 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959182080001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358233176230854656,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7393643926623782912,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1784996812000,"timestamp_ms":1784996812000,"timestamp_seconds":1784996812,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a19d4e0"} 
[2026-07-25 21:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":141370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":141370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":141370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959182080001,"66":27376,"71":206,"85":14592,"24":51,"16":358233176230854656,"45":-7393643926623782912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 21:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959182080001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358233176230854656,"km_value":358233176230854.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7393643926623782912,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959182080001,"power":27376,"unknown_71":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-7393643926623782912}} 
[2026-07-25 21:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":141370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:33] local.INFO: GPS data processed {"connection_id":141370,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:33] local.INFO: Acknowledgment sent {"connection_id":141370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:33] local.INFO: TCP Data received {"connection_id":141424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:58:33] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:58:33] local.INFO: IMEI packet received {"connection_id":141424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":141424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:58:34] local.INFO: TCP Data received {"connection_id":141424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:58:34] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:58:34] local.INFO: Packet analysis {"connection_id":141424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:58:34] local.INFO: Extracted packet for processing {"connection_id":141424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58: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-07-25 21:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:58: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-07-25 21: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-07-25 21:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":141424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:34] local.INFO: GPS data processed {"connection_id":141424,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:34] local.INFO: Acknowledgment sent {"connection_id":141424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:42] local.INFO: TCP Data received {"connection_id":141371,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1ac328012d7c7a8005d99d100009016426..."} 
[2026-07-25 21:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1ac328012d7c7a8005d99d100009016426..."} 
[2026-07-25 21:58:42] local.INFO: Processing buffer {"connection_id":141371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1ac328012d7c7a8005d99d100009016426..."} 
[2026-07-25 21:58:42] local.INFO: Packet analysis {"connection_id":141371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:58:42] local.INFO: Extracted packet for processing {"connection_id":141371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763132544,"raw_latitude":98147600,"longitude_deg":76.3132544,"latitude_deg":9.81476,"altitude":9,"angle":356,"satellites":38,"speed":10,"hex_longitude":"2d7c7a80","hex_latitude":"05d99d10","is_valid_coordinates":true} 
[2026-07-25 21:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959198976001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110457835774541824,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370475776000,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784996873000,"timestamp_ms":1784996873000,"timestamp_seconds":1784996873,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1ac328"} 
[2026-07-25 21:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58: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-07-25 21:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141371,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959198976001,"66":12102,"245":206,"85":15104,"24":10,"16":110457835774541824,"45":8969622370475776000},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959198976001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110457835774541824,"km_value":110457835774541.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370475776000,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959198976001,"power":12102,"geofence_id":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8969622370475776000}} 
[2026-07-25 21:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":141371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:42] local.INFO: GPS data processed {"connection_id":141371,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:42] local.INFO: Acknowledgment sent {"connection_id":141371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:54] local.INFO: TCP Data received {"connection_id":142425,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:58:54] local.INFO: Processing buffer {"connection_id":142425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:58:54] local.INFO: IMEI packet received {"connection_id":142425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":142425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:58:54] local.INFO: TCP Data received {"connection_id":142425,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:58:54] local.INFO: Processing buffer {"connection_id":142425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:58:54] local.INFO: IMEI packet received {"connection_id":142425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":142425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:58:55] local.INFO: TCP Data received {"connection_id":142425,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:55] local.INFO: Processing buffer {"connection_id":142425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:55] local.INFO: Packet analysis {"connection_id":142425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:58:55] local.INFO: Extracted packet for processing {"connection_id":142425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":142425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:55] local.INFO: GPS data processed {"connection_id":142425,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:55] local.INFO: Acknowledgment sent {"connection_id":142425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:59] local.INFO: TCP Data received {"connection_id":142425,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:59] local.INFO: Processing buffer {"connection_id":142425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:58:59] local.INFO: Packet analysis {"connection_id":142425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:58:59] local.INFO: Extracted packet for processing {"connection_id":142425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:58: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-07-25 21: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":142425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":142425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":142425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":142425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:58:59] local.INFO: GPS data processed {"connection_id":142425,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:58:59] local.INFO: Acknowledgment sent {"connection_id":142425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:58:59] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:58:59] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:58:59] local.INFO: IMEI packet received {"connection_id":143778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":143778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:59:04] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:04] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:04] local.INFO: IMEI packet received {"connection_id":143778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":143778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:59:04] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a19f420012d991d80059dc428000300fa2f..."} 
[2026-07-25 21:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a19f420012d991d80059dc428000300fa2f..."} 
[2026-07-25 21:59:04] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a19f420012d991d80059dc428000300fa2f..."} 
[2026-07-25 21:59:04] local.INFO: Packet analysis {"connection_id":143778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:59:04] local.INFO: Extracted packet for processing {"connection_id":143778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a19"} 
[2026-07-25 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":765009280,"raw_latitude":94225448,"longitude_deg":76.500928,"latitude_deg":9.4225448,"altitude":3,"angle":250,"satellites":47,"speed":48,"hex_longitude":"2d991d80","hex_latitude":"059dc428","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959183872001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358233661562159104,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7403143707088560128,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784996820000,"timestamp_ms":1784996820000,"timestamp_seconds":1784996820,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a19f420"} 
[2026-07-25 21:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959183872001,"66":27376,"71":206,"85":14592,"24":48,"16":358233661562159104,"45":-7403143707088560128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 21:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959183872001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 21:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358233661562159104,"km_value":358233661562159.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7403143707088560128,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959183872001,"power":27376,"unknown_71":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-7403143707088560128}} 
[2026-07-25 21:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":143778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:04] local.INFO: GPS data processed {"connection_id":143778,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:04] local.INFO: Acknowledgment sent {"connection_id":143778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:05] local.INFO: TCP Data received {"connection_id":141424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:59:05] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:59:05] local.INFO: Packet analysis {"connection_id":141424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:59:05] local.INFO: Extracted packet for processing {"connection_id":141424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":141424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:05] local.INFO: GPS data processed {"connection_id":141424,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:05] local.INFO: Acknowledgment sent {"connection_id":141424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:05] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:59:05] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:59:05] local.INFO: IMEI packet received {"connection_id":141372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 21:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":141372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:59:07] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1a1360012d98f9c0059db7a0000400fa2f..."} 
[2026-07-25 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1a1360012d98f9c0059db7a0000400fa2f..."} 
[2026-07-25 21:59:07] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1a1360012d98f9c0059db7a0000400fa2f..."} 
[2026-07-25 21:59:07] local.INFO: Packet analysis {"connection_id":143778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:59:07] local.INFO: Extracted packet for processing {"connection_id":143778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":765000128,"raw_latitude":94222240,"longitude_deg":76.5000128,"latitude_deg":9.422224,"altitude":4,"angle":250,"satellites":47,"speed":47,"hex_longitude":"2d98f9c0","hex_latitude":"059db7a0","is_valid_coordinates":true} 
[2026-07-25 21:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959185920001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358234125418627072,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7413628649971898368,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1784996828000,"timestamp_ms":1784996828000,"timestamp_seconds":1784996828,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1a1360"} 
[2026-07-25 21:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":143778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959185920001,"66":27376,"71":206,"85":14592,"24":47,"16":358234125418627072,"45":-7413628649971898368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-25 21:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959185920001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-25 21:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358234125418627072,"km_value":358234125418627.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7413628649971898368,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959185920001,"power":27376,"unknown_71":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-7413628649971898368}} 
[2026-07-25 21:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":143778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:07] local.INFO: GPS data processed {"connection_id":143778,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:07] local.INFO: Acknowledgment sent {"connection_id":143778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:11] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:59:11] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 21:59:11] local.INFO: IMEI packet received {"connection_id":141372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 21:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":141372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:59:12] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1afdc0012d7c754005d9bff0000b01611b..."} 
[2026-07-25 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1afdc0012d7c754005d9bff0000b01611b..."} 
[2026-07-25 21:59:12] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1afdc0012d7c754005d9bff0000b01611b..."} 
[2026-07-25 21:59:12] local.INFO: Packet analysis {"connection_id":141372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:59:12] local.INFO: Extracted packet for processing {"connection_id":141372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1a"} 
[2026-07-25 21:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763131200,"raw_latitude":98156528,"longitude_deg":76.31312,"latitude_deg":9.8156528,"altitude":11,"angle":353,"satellites":27,"speed":26,"hex_longitude":"2d7c7540","hex_latitude":"05d9bff0","is_valid_coordinates":true} 
[2026-07-25 21:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959199488001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110458273861206016,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370475905024,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784996888000,"timestamp_ms":1784996888000,"timestamp_seconds":1784996888,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1afdc0"} 
[2026-07-25 21:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959199488001,"66":11917,"245":206,"85":15104,"24":26,"16":110458273861206016,"45":8969622370475905024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959199488001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110458273861206016,"km_value":110458273861206.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370475905024,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959199488001,"power":11917,"geofence_id":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8969622370475905024}} 
[2026-07-25 21:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":141372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:12] local.INFO: GPS data processed {"connection_id":141372,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:12] local.INFO: Acknowledgment sent {"connection_id":141372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:25] local.INFO: TCP Data received {"connection_id":142426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:59:25] local.INFO: Processing buffer {"connection_id":142426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:59:25] local.INFO: IMEI packet received {"connection_id":142426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 21:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":142426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:59:31] local.INFO: TCP Data received {"connection_id":142426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:59:31] local.INFO: Processing buffer {"connection_id":142426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 21:59:31] local.INFO: IMEI packet received {"connection_id":142426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 21:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":142426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:59:31] local.INFO: TCP Data received {"connection_id":142425,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:59:31] local.INFO: Processing buffer {"connection_id":142425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 21:59:31] local.INFO: Packet analysis {"connection_id":142425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:59:31] local.INFO: Extracted packet for processing {"connection_id":142425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 21:59:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 21:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 21:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 21:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 21:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 21:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 21:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 21:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 21:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 21:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 21:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":142425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:31] local.INFO: GPS data processed {"connection_id":142425,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:31] local.INFO: Acknowledgment sent {"connection_id":142425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:31] local.INFO: TCP Data received {"connection_id":142426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:59:32] local.INFO: Processing buffer {"connection_id":142426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 21:59:32] local.INFO: Packet analysis {"connection_id":142426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:59:32] local.INFO: Extracted packet for processing {"connection_id":142426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 21:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 21:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 21:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21: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-07-25 21:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 21:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 21:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 21:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 21:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 21:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 21:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 21:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 21:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 21:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":142426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:32] local.INFO: GPS data processed {"connection_id":142426,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:32] local.INFO: Acknowledgment sent {"connection_id":142426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:38] local.INFO: TCP Data received {"connection_id":143778,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1b7ac0012d977840059d2ef0000400fa2f..."} 
[2026-07-25 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1b7ac0012d977840059d2ef0000400fa2f..."} 
[2026-07-25 21:59:38] local.INFO: Processing buffer {"connection_id":143778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1b7ac0012d977840059d2ef0000400fa2f..."} 
[2026-07-25 21:59:38] local.INFO: Packet analysis {"connection_id":143778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 21:59:38] local.INFO: Extracted packet for processing {"connection_id":143778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":764901440,"raw_latitude":94187248,"longitude_deg":76.490144,"latitude_deg":9.4187248,"altitude":4,"angle":250,"satellites":47,"speed":55,"hex_longitude":"2d977840","hex_latitude":"059d2ef0","is_valid_coordinates":true} 
[2026-07-25 21:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959209728001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358239146235396096,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7522418728479551488,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784996920000,"timestamp_ms":1784996920000,"timestamp_seconds":1784996920,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1b7ac0"} 
[2026-07-25 21:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21: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-07-25 21:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":143778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":143778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959209728001,"66":27397,"98":206,"85":14592,"24":55,"16":358239146235396096,"45":-7522418728479551488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-25 21:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959209728001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-25 21:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358239146235396096,"km_value":358239146235396.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7522418728479551488,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959209728001,"power":27397,"unknown_98":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-7522418728479551488}} 
[2026-07-25 21:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":143778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:38] local.INFO: GPS data processed {"connection_id":143778,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:38] local.INFO: Acknowledgment sent {"connection_id":143778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:43] local.INFO: TCP Data received {"connection_id":141372,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1b24d0012d7c718005d9e340000c016019..."} 
[2026-07-25 21:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1b24d0012d7c718005d9e340000c016019..."} 
[2026-07-25 21:59:43] local.INFO: Processing buffer {"connection_id":141372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1b24d0012d7c718005d9e340000c016019..."} 
[2026-07-25 21:59:43] local.INFO: Packet analysis {"connection_id":141372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 21:59:43] local.INFO: Extracted packet for processing {"connection_id":141372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 21:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763130240,"raw_latitude":98165568,"longitude_deg":76.313024,"latitude_deg":9.8165568,"altitude":12,"angle":352,"satellites":25,"speed":33,"hex_longitude":"2d7c7180","hex_latitude":"05d9e340","is_valid_coordinates":true} 
[2026-07-25 21:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 21:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959203328001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110458716242837504,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968144626850459648,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784996898000,"timestamp_ms":1784996898000,"timestamp_seconds":1784996898,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1b24d0"} 
[2026-07-25 21:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 21:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 21:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 21:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 21:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 21:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 21:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959203328001,"66":12015,"245":206,"85":15104,"24":33,"16":110458716242837504,"45":8968144626850459648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-25 21:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 21:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 21:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959203328001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 21:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110458716242837504,"km_value":110458716242837.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968144626850459648,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959203328001,"power":12015,"geofence_id":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8968144626850459648}} 
[2026-07-25 21:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":141372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:43] local.INFO: GPS data processed {"connection_id":141372,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:43] local.INFO: Acknowledgment sent {"connection_id":141372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 21:59:54] local.INFO: TCP Data received {"connection_id":141425,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:59:54] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:59:54] local.INFO: IMEI packet received {"connection_id":141425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 21:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":141425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:59:54] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:54] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:54] local.INFO: IMEI packet received {"connection_id":141426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 21:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":141426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 21:59:59] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:59] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 21:59:59] local.INFO: IMEI packet received {"connection_id":141426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 21:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":141426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:59:59] local.INFO: TCP Data received {"connection_id":141425,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:59:59] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 21:59:59] local.INFO: IMEI packet received {"connection_id":141425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 21:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":141425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 21:59:59] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1b9618012d9755c0059d2288000300fa2e..."} 
[2026-07-25 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1b9618012d9755c0059d2288000300fa2e..."} 
[2026-07-25 21:59:59] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1b9618012d9755c0059d2288000300fa2e..."} 
[2026-07-25 21:59:59] local.INFO: Packet analysis {"connection_id":141426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 21:59:59] local.INFO: Extracted packet for processing {"connection_id":141426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 21:59:59] local.INFO: GPS Element Parsed {"raw_longitude":764892608,"raw_latitude":94184072,"longitude_deg":76.4892608,"latitude_deg":9.4184072,"altitude":3,"angle":250,"satellites":46,"speed":51,"hex_longitude":"2d9755c0","hex_latitude":"059d2288","is_valid_coordinates":true} 
[2026-07-25 21: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-07-25 21:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959211520001,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358239592911994880,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7532199983921041408,"note":"Value kept but may cause issues"} 
[2026-07-25 21:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 21:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784996927000,"timestamp_ms":1784996927000,"timestamp_seconds":1784996927,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1b9618"} 
[2026-07-25 21:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 21:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 21: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":5,"data_length":795,"current_offset":136} 
[2026-07-25 21:59: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-07-25 21: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-07-25 21:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 21:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 21:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 21:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 21:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 21:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 21:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 21:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959211520001,"66":27332,"98":206,"85":14592,"24":51,"16":358239592911994880,"45":-7532199983921041408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-25 21:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 21:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959211520001,"description":"Unknown IO ID 0"} 
[2026-07-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 21:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358239592911994880,"km_value":358239592911994.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 21:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7532199983921041408,"description":"Unknown IO ID 45"} 
[2026-07-25 21:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959211520001,"power":27332,"unknown_98":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-7532199983921041408}} 
[2026-07-25 21:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":141426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 21:59:59] local.INFO: GPS data processed {"connection_id":141426,"processed":1,"errors":0,"total":1} 
[2026-07-25 21:59:59] local.INFO: Acknowledgment sent {"connection_id":141426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:00] local.INFO: TCP Data received {"connection_id":141425,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:00] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:00] local.INFO: Packet analysis {"connection_id":141425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:00:00] local.INFO: Extracted packet for processing {"connection_id":141425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:00:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 22:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00: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-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":141425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:00] local.INFO: GPS data processed {"connection_id":141425,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:00] local.INFO: Acknowledgment sent {"connection_id":141425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:03] local.INFO: TCP Data received {"connection_id":142426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 22:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 22:00:03] local.INFO: Processing buffer {"connection_id":142426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a179e78012d196400071fefb00048006e28..."} 
[2026-07-25 22:00:03] local.INFO: Packet analysis {"connection_id":142426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 22:00:03] local.INFO: Extracted packet for processing {"connection_id":142426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a17"} 
[2026-07-25 22:00:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959069696001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784996667000,"timestamp_ms":1784996667000,"timestamp_seconds":1784996667,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a179e78"} 
[2026-07-25 22:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:00: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-07-25 22:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959069696001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959069696001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:00:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959069696001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":142426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:03] local.INFO: GPS data processed {"connection_id":142426,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:03] local.INFO: Acknowledgment sent {"connection_id":142426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:05] local.INFO: TCP Data received {"connection_id":141425,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:05] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:05] local.INFO: Packet analysis {"connection_id":141425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:00:05] local.INFO: Extracted packet for processing {"connection_id":141425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 22:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":141425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:05] local.INFO: GPS data processed {"connection_id":141425,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:05] local.INFO: Acknowledgment sent {"connection_id":141425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:11] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:00:11] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:00:11] local.INFO: IMEI packet received {"connection_id":141427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":141427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:00:13] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:00:13] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:00:13] local.INFO: IMEI packet received {"connection_id":141427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":141427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:00:13] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c8460012d7c200005daee580002011326..."} 
[2026-07-25 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c8460012d7c200005daee580002011326..."} 
[2026-07-25 22:00:13] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c8460012d7c200005daee580002011326..."} 
[2026-07-25 22:00:13] local.INFO: Packet analysis {"connection_id":141427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:13] local.INFO: Extracted packet for processing {"connection_id":141427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763109376,"raw_latitude":98233944,"longitude_deg":76.3109376,"latitude_deg":9.8233944,"altitude":2,"angle":275,"satellites":38,"speed":10,"hex_longitude":"2d7c2000","hex_latitude":"05daee58","is_valid_coordinates":true} 
[2026-07-25 22:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959228672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110462195166347264,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944359991338219520,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784996988000,"timestamp_ms":1784996988000,"timestamp_seconds":1784996988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c8460"} 
[2026-07-25 22:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959228672001,"66":12058,"187":206,"85":15104,"24":10,"16":110462195166347264,"45":8944359991338219520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 22:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959228672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:13] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 22:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110462195166347264,"km_value":110462195166347.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944359991338219520,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959228672001,"power":12058,"unknown_187":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8944359991338219520}} 
[2026-07-25 22:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":141427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:13] local.INFO: GPS data processed {"connection_id":141427,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:13] local.INFO: Acknowledgment sent {"connection_id":141427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:16] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c9018012d7c1c0005daee200005010627..."} 
[2026-07-25 22:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c9018012d7c1c0005daee200005010627..."} 
[2026-07-25 22:00:16] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c9018012d7c1c0005daee200005010627..."} 
[2026-07-25 22:00:16] local.INFO: Packet analysis {"connection_id":141427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:16] local.INFO: Extracted packet for processing {"connection_id":141427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:16] local.INFO: GPS Element Parsed {"raw_longitude":763108352,"raw_latitude":98233888,"longitude_deg":76.3108352,"latitude_deg":9.8233888,"altitude":5,"angle":262,"satellites":39,"speed":15,"hex_longitude":"2d7c1c00","hex_latitude":"05daee20","is_valid_coordinates":true} 
[2026-07-25 22:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959228928001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110462246705954816,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944148885105694720,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784996991000,"timestamp_ms":1784996991000,"timestamp_seconds":1784996991,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c9018"} 
[2026-07-25 22:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959228928001,"66":11798,"187":206,"85":15104,"24":15,"16":110462246705954816,"45":8944148885105694720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 22:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959228928001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:16] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 22:00:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110462246705954816,"km_value":110462246705954.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944148885105694720,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959228928001,"power":11798,"unknown_187":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8944148885105694720}} 
[2026-07-25 22:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":141427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:16] local.INFO: GPS data processed {"connection_id":141427,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:16] local.INFO: Acknowledgment sent {"connection_id":141427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:31] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1bb558012d972fc0059d15d0000300fb2f..."} 
[2026-07-25 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1bb558012d972fc0059d15d0000300fb2f..."} 
[2026-07-25 22:00:31] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1bb558012d972fc0059d15d0000300fb2f..."} 
[2026-07-25 22:00:31] local.INFO: Packet analysis {"connection_id":141426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 22:00:31] local.INFO: Extracted packet for processing {"connection_id":141426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":764882880,"raw_latitude":94180816,"longitude_deg":76.488288,"latitude_deg":9.4180816,"altitude":3,"angle":251,"satellites":47,"speed":50,"hex_longitude":"2d972fc0","hex_latitude":"059d15d0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959213312001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358240082538266624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7541910870618372096,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996935000,"timestamp_ms":1784996935000,"timestamp_seconds":1784996935,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1bb558"} 
[2026-07-25 22:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959213312001,"66":27376,"98":206,"85":14592,"24":50,"16":358240082538266624,"45":-7541910870618372096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-25 22:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959213312001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:31] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-25 22:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358240082538266624,"km_value":358240082538266.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7541910870618372096,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959213312001,"power":27376,"unknown_98":206,"unknown_85":14592,"ignition":50,"odometer":null,"unknown_45":-7541910870618372096}} 
[2026-07-25 22:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":141426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:31] local.INFO: GPS data processed {"connection_id":141426,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:31] local.INFO: Acknowledgment sent {"connection_id":141426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:31] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:00:31] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:00:31] local.INFO: IMEI packet received {"connection_id":142427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":142427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:00:36] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:00:36] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:00:36] local.INFO: IMEI packet received {"connection_id":142427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":142427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:00:36] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:00:36] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:00:36] local.INFO: Packet analysis {"connection_id":142427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:36] local.INFO: Extracted packet for processing {"connection_id":142427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":142427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:37] local.INFO: GPS data processed {"connection_id":142427,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:37] local.INFO: Acknowledgment sent {"connection_id":142427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:48] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1cde38012d7bf80005daeda0000c010d27..."} 
[2026-07-25 22:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1cde38012d7bf80005daeda0000c010d27..."} 
[2026-07-25 22:00:48] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1cde38012d7bf80005daeda0000c010d27..."} 
[2026-07-25 22:00:48] local.INFO: Packet analysis {"connection_id":141427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:48] local.INFO: Extracted packet for processing {"connection_id":141427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763099136,"raw_latitude":98233760,"longitude_deg":76.3099136,"latitude_deg":9.823376,"altitude":12,"angle":269,"satellites":39,"speed":22,"hex_longitude":"2d7bf800","hex_latitude":"05daeda0","is_valid_coordinates":true} 
[2026-07-25 22:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959229696001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110462684792619008,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8943022985198837760,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784997011000,"timestamp_ms":1784997011000,"timestamp_seconds":1784997011,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1cde38"} 
[2026-07-25 22:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2522054274234452480,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":112,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2585536160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500902,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184152858829,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-3409223623048888315,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":218,"raw_value":7960112362874478336,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845494512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2147867350,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8075235606852009984,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":64,"raw_value":-4610038326164978943,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931181058,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,187,85,24,241,157,16,112,159,132,45,238,2,38,10,66,128,192,37,124,1,240,27,227,154,218,4,113,205,11,81,41,176,33,239,136,64,206,34],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-07-25 22:00:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360576209740824576,"timestamp_seconds":360576209740824.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959229696001,"66":12102,"187":206,"85":15104,"24":22,"16":110462684792619008,"45":8943022985198837760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 22:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959229696001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:48] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 22:00:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110462684792619008,"km_value":110462684792619.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8943022985198837760,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959229696001,"power":12102,"unknown_187":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8943022985198837760}} 
[2026-07-25 22:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":141427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:48] local.INFO: GPS data processed {"connection_id":141427,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:48] local.INFO: Acknowledgment sent {"connection_id":141427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:49] local.INFO: TCP Data received {"connection_id":141428,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:00:49] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:00:49] local.INFO: IMEI packet received {"connection_id":141428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":141428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:00:54] local.INFO: TCP Data received {"connection_id":141428,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:00:54] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:00:54] local.INFO: IMEI packet received {"connection_id":141428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":141428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:00:54] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:54] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:54] local.INFO: IMEI packet received {"connection_id":141373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":141373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:00:55] local.INFO: TCP Data received {"connection_id":141428,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:55] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:00:55] local.INFO: Packet analysis {"connection_id":141428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:00:55] local.INFO: Extracted packet for processing {"connection_id":141428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:00:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 22:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":141428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:00:55] local.INFO: GPS data processed {"connection_id":141428,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:00:55] local.INFO: Acknowledgment sent {"connection_id":141428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:00:55] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:55] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:55] local.INFO: IMEI packet received {"connection_id":141373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":141373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:00:59] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:59] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:00:59] local.INFO: IMEI packet received {"connection_id":141373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":141373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:01:00] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1bc8e0012d971800059d1060000301072f..."} 
[2026-07-25 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1bc8e0012d971800059d1060000301072f..."} 
[2026-07-25 22:01:00] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1bc8e0012d971800059d1060000301072f..."} 
[2026-07-25 22:01:00] local.INFO: Packet analysis {"connection_id":141373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 22:01:00] local.INFO: Extracted packet for processing {"connection_id":141373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1b"} 
[2026-07-25 22:01:00] local.INFO: GPS Element Parsed {"raw_longitude":764876800,"raw_latitude":94179424,"longitude_deg":76.48768,"latitude_deg":9.4179424,"altitude":3,"angle":263,"satellites":47,"speed":49,"hex_longitude":"2d971800","hex_latitude":"059d1060","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959215360001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358240383185977344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7552606919734210560,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784996940000,"timestamp_ms":1784996940000,"timestamp_seconds":1784996940,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1bc8e0"} 
[2026-07-25 22:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959215360001,"66":27300,"98":206,"85":14592,"24":49,"16":358240383185977344,"45":-7552606919734210560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-25 22:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959215360001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:00] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-25 22:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358240383185977344,"km_value":358240383185977.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7552606919734210560,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959215360001,"power":27300,"unknown_98":206,"unknown_85":14592,"ignition":49,"odometer":null,"unknown_45":-7552606919734210560}} 
[2026-07-25 22:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":141373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:00] local.INFO: GPS data processed {"connection_id":141373,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:00] local.INFO: Acknowledgment sent {"connection_id":141373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:06] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:01:06] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:01:06] local.INFO: IMEI packet received {"connection_id":143779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":143779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:01:08] local.INFO: TCP Data received {"connection_id":142427,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:01:08] local.INFO: Processing buffer {"connection_id":142427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:01:08] local.INFO: Packet analysis {"connection_id":142427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:01:08] local.INFO: Extracted packet for processing {"connection_id":142427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01: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-07-25 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":142427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":142427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":142427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:01:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":142427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:08] local.INFO: GPS data processed {"connection_id":142427,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:08] local.INFO: Acknowledgment sent {"connection_id":142427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:11] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:01:11] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:01:11] local.INFO: IMEI packet received {"connection_id":143779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":143779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:01:12] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d1100012d7bd34005daec18000b010a25..."} 
[2026-07-25 22:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d1100012d7bd34005daec18000b010a25..."} 
[2026-07-25 22:01:12] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d1100012d7bd34005daec18000b010a25..."} 
[2026-07-25 22:01:12] local.INFO: Packet analysis {"connection_id":143779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:12] local.INFO: Extracted packet for processing {"connection_id":143779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763089728,"raw_latitude":98233368,"longitude_deg":76.3089728,"latitude_deg":9.8233368,"altitude":11,"angle":266,"satellites":37,"speed":32,"hex_longitude":"2d7bd340","hex_latitude":"05daec18","is_valid_coordinates":true} 
[2026-07-25 22:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959234816001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110463135764185088,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932889886037221376,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997024000,"timestamp_ms":1784997024000,"timestamp_seconds":1784997024,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d1100"} 
[2026-07-25 22:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01: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-07-25 22:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959234816001,"66":12069,"187":206,"85":15104,"24":32,"16":110463135764185088,"45":8932889886037221376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-07-25 22:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959234816001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-25 22:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110463135764185088,"km_value":110463135764185.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932889886037221376,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959234816001,"power":12069,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8932889886037221376}} 
[2026-07-25 22:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":143779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:12] local.INFO: GPS data processed {"connection_id":143779,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:12] local.INFO: Acknowledgment sent {"connection_id":143779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:26] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:01:26] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:01:26] local.INFO: IMEI packet received {"connection_id":143780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":143780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:01:26] local.INFO: TCP Data received {"connection_id":141428,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:01:26] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a18f638012d77a94005f27b900013016323..."} 
[2026-07-25 22:01:26] local.INFO: Packet analysis {"connection_id":141428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:01:26] local.INFO: Extracted packet for processing {"connection_id":141428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a18"} 
[2026-07-25 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959092224001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784996755000,"timestamp_ms":1784996755000,"timestamp_seconds":1784996755,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a18f638"} 
[2026-07-25 22:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959092224001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959092224001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959092224001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":141428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:26] local.INFO: GPS data processed {"connection_id":141428,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:26] local.INFO: Acknowledgment sent {"connection_id":141428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:31] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:01:31] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:01:31] local.INFO: IMEI packet received {"connection_id":143780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":143780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:01:32] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:01:32] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:01:32] local.INFO: Packet analysis {"connection_id":143780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:01:32] local.INFO: Extracted packet for processing {"connection_id":143780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":143780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:32] local.INFO: GPS data processed {"connection_id":143780,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:32] local.INFO: Acknowledgment sent {"connection_id":143780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:32] local.INFO: TCP Data received {"connection_id":141373,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d3428012d957240059d7ae00001011d2e..."} 
[2026-07-25 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d3428012d957240059d7ae00001011d2e..."} 
[2026-07-25 22:01:32] local.INFO: Processing buffer {"connection_id":141373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d3428012d957240059d7ae00001011d2e..."} 
[2026-07-25 22:01:32] local.INFO: Packet analysis {"connection_id":141373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:32] local.INFO: Extracted packet for processing {"connection_id":141373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":764768832,"raw_latitude":94206688,"longitude_deg":76.4768832,"latitude_deg":9.4206688,"altitude":1,"angle":285,"satellites":46,"speed":48,"hex_longitude":"2d957240","hex_latitude":"059d7ae0","is_valid_coordinates":true} 
[2026-07-25 22:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959238400001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358245721830326272,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7667378341482018816,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997033000,"timestamp_ms":1784997033000,"timestamp_seconds":1784997033,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d3428"} 
[2026-07-25 22:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959238400001,"66":27321,"98":206,"85":14592,"24":48,"16":358245721830326272,"45":-7667378341482018816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-07-25 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959238400001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358245721830326272,"km_value":358245721830326.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7667378341482018816,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959238400001,"power":27321,"unknown_98":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-7667378341482018816}} 
[2026-07-25 22:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":141373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:32] local.INFO: GPS data processed {"connection_id":141373,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:32] local.INFO: Acknowledgment sent {"connection_id":141373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:43] local.INFO: TCP Data received {"connection_id":143779,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d3bf8012d7bad8005daea780008010626..."} 
[2026-07-25 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d3bf8012d7bad8005daea780008010626..."} 
[2026-07-25 22:01:43] local.INFO: Processing buffer {"connection_id":143779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d3bf8012d7bad8005daea780008010626..."} 
[2026-07-25 22:01:43] local.INFO: Packet analysis {"connection_id":143779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:43] local.INFO: Extracted packet for processing {"connection_id":143779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763080064,"raw_latitude":98232952,"longitude_deg":76.3080064,"latitude_deg":9.8232952,"altitude":8,"angle":262,"satellites":38,"speed":33,"hex_longitude":"2d7bad80","hex_latitude":"05daea78","is_valid_coordinates":true} 
[2026-07-25 22:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959238144001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110463599620653056,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922545680643004416,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997035000,"timestamp_ms":1784997035000,"timestamp_seconds":1784997035,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d3bf8"} 
[2026-07-25 22:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959238144001,"66":12058,"188":206,"85":15104,"24":33,"16":110463599620653056,"45":8922545680643004416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959238144001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:43] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110463599620653056,"km_value":110463599620653.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922545680643004416,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959238144001,"power":12058,"unknown_188":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8922545680643004416}} 
[2026-07-25 22:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":143779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:43] local.INFO: GPS data processed {"connection_id":143779,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:43] local.INFO: Acknowledgment sent {"connection_id":143779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:01:48] local.INFO: TCP Data received {"connection_id":141374,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:01:48] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:01:48] local.INFO: IMEI packet received {"connection_id":141374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":141374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:01:54] local.INFO: TCP Data received {"connection_id":141374,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:01:54] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:01:54] local.INFO: IMEI packet received {"connection_id":141374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":141374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:01:54] local.INFO: TCP Data received {"connection_id":141375,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:01:54] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:01:54] local.INFO: IMEI packet received {"connection_id":141375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":141375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:01:55] local.INFO: TCP Data received {"connection_id":141374,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:01:55] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:01:55] local.INFO: Packet analysis {"connection_id":141374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:55] local.INFO: Extracted packet for processing {"connection_id":141374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:01:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":141374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:01:55] local.INFO: GPS data processed {"connection_id":141374,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:01:55] local.INFO: Acknowledgment sent {"connection_id":141374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:02:03] local.INFO: TCP Data received {"connection_id":143780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:02:03] local.INFO: Processing buffer {"connection_id":143780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:02:03] local.INFO: Packet analysis {"connection_id":143780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:02:03] local.INFO: Extracted packet for processing {"connection_id":143780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:02:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:02:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":143780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:02:03] local.INFO: GPS data processed {"connection_id":143780,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:02:03] local.INFO: Acknowledgment sent {"connection_id":143780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:02:05] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:02:05] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:02:05] local.INFO: IMEI packet received {"connection_id":143781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":143781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:02:10] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:02:10] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:02:10] local.INFO: IMEI packet received {"connection_id":143781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":143781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:02:11] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d66f0012d7b888005dae578000800ff28..."} 
[2026-07-25 22:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d66f0012d7b888005dae578000800ff28..."} 
[2026-07-25 22:02:11] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d66f0012d7b888005dae578000800ff28..."} 
[2026-07-25 22:02:11] local.INFO: Packet analysis {"connection_id":143781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:11] local.INFO: Extracted packet for processing {"connection_id":143781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":98231672,"longitude_deg":76.3070592,"latitude_deg":9.8231672,"altitude":8,"angle":255,"satellites":40,"speed":35,"hex_longitude":"2d7b8880","hex_latitude":"05dae578","is_valid_coordinates":true} 
[2026-07-25 22:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959240960001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110464054887186432,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000272070656,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784997046000,"timestamp_ms":1784997046000,"timestamp_seconds":1784997046,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d66f0"} 
[2026-07-25 22:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 22:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959240960001,"66":12058,"188":206,"85":15104,"24":35,"16":110464054887186432,"45":8911920000272070656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959240960001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:02:12] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:02:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110464054887186432,"km_value":110464054887186.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000272070656,"description":"Unknown IO ID 45"} 
[2026-07-25 22:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959240960001,"power":12058,"unknown_188":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8911920000272070656}} 
[2026-07-25 22:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":143781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:02:12] local.INFO: GPS data processed {"connection_id":143781,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:02:12] local.INFO: Acknowledgment sent {"connection_id":143781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:02:14] local.INFO: TCP Data received {"connection_id":141375,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:02:14] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:02:14] local.INFO: IMEI packet received {"connection_id":141375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":141375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:02:14] local.INFO: TCP Data received {"connection_id":141375,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141375,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:02:14] local.INFO: Processing buffer {"connection_id":141375,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:02:14] local.INFO: IMEI packet received {"connection_id":141375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":141375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:02:26] local.INFO: TCP Data received {"connection_id":141374,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:02:26] local.INFO: Processing buffer {"connection_id":141374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:02:26] local.INFO: Packet analysis {"connection_id":141374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:26] local.INFO: Extracted packet for processing {"connection_id":141374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:02:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:02:26] local.INFO: TCP Data received {"connection_id":142428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:02:26] local.INFO: Processing buffer {"connection_id":142428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:02:26] local.INFO: IMEI packet received {"connection_id":142428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":142428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":141374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:02:26] local.INFO: GPS data processed {"connection_id":141374,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:02:26] local.INFO: Acknowledgment sent {"connection_id":141374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:02:31] local.INFO: TCP Data received {"connection_id":142428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:02:31] local.INFO: Processing buffer {"connection_id":142428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:02:31] local.INFO: IMEI packet received {"connection_id":142428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":142428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:02:31] local.INFO: TCP Data received {"connection_id":142428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:02:31] local.INFO: Processing buffer {"connection_id":142428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:02:31] local.INFO: Packet analysis {"connection_id":142428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:02:31] local.INFO: Extracted packet for processing {"connection_id":142428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:02:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":142428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:02:32] local.INFO: GPS data processed {"connection_id":142428,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:02:32] local.INFO: Acknowledgment sent {"connection_id":142428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:02:43] local.INFO: TCP Data received {"connection_id":143781,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d91e8012d7b654005dadb68000c00fd29..."} 
[2026-07-25 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d91e8012d7b654005dadb68000c00fd29..."} 
[2026-07-25 22:02:43] local.INFO: Processing buffer {"connection_id":143781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d91e8012d7b654005dadb68000c00fd29..."} 
[2026-07-25 22:02:43] local.INFO: Packet analysis {"connection_id":143781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:43] local.INFO: Extracted packet for processing {"connection_id":143781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763061568,"raw_latitude":98229096,"longitude_deg":76.3061568,"latitude_deg":9.8229096,"altitude":12,"angle":253,"satellites":41,"speed":30,"hex_longitude":"2d7b6540","hex_latitude":"05dadb68","is_valid_coordinates":true} 
[2026-07-25 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959243776001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110464501563785216,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426133448704,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997057000,"timestamp_ms":1784997057000,"timestamp_seconds":1784997057,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d91e8"} 
[2026-07-25 22:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-25 22:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959243776001,"66":12004,"188":206,"85":15104,"24":30,"16":110464501563785216,"45":8901505426133448704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959243776001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:02:43] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110464501563785216,"km_value":110464501563785.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426133448704,"description":"Unknown IO ID 45"} 
[2026-07-25 22:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959243776001,"power":12004,"unknown_188":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8901505426133448704}} 
[2026-07-25 22:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":143781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:02:43] local.INFO: GPS data processed {"connection_id":143781,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:02:43] local.INFO: Acknowledgment sent {"connection_id":143781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:02:49] local.INFO: TCP Data received {"connection_id":143782,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:02:49] local.INFO: Processing buffer {"connection_id":143782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:02:49] local.INFO: IMEI packet received {"connection_id":143782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":143782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:02:54] local.INFO: TCP Data received {"connection_id":143782,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:02:54] local.INFO: Processing buffer {"connection_id":143782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:02:54] local.INFO: IMEI packet received {"connection_id":143782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":143782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:02:55] local.INFO: TCP Data received {"connection_id":143782,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:02:55] local.INFO: Processing buffer {"connection_id":143782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:02:55] local.INFO: Packet analysis {"connection_id":143782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:55] local.INFO: Extracted packet for processing {"connection_id":143782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:02:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:02:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":143782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:02:55] local.INFO: GPS data processed {"connection_id":143782,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:02:55] local.INFO: Acknowledgment sent {"connection_id":143782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:03:03] local.INFO: TCP Data received {"connection_id":142428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:03:03] local.INFO: Processing buffer {"connection_id":142428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:03:03] local.INFO: Packet analysis {"connection_id":142428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:03:03] local.INFO: Extracted packet for processing {"connection_id":142428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:03:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:03:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":142428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:03:03] local.INFO: GPS data processed {"connection_id":142428,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:03:03] local.INFO: Acknowledgment sent {"connection_id":142428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:03:06] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:03:06] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:03:06] local.INFO: IMEI packet received {"connection_id":141429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":141429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:03:10] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:03:10] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:03:10] local.INFO: IMEI packet received {"connection_id":141429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":141429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:03:11] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1dc0c8012d7b424005dad1b8000800fd2a..."} 
[2026-07-25 22:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1dc0c8012d7b424005dad1b8000800fd2a..."} 
[2026-07-25 22:03:11] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1dc0c8012d7b424005dad1b8000800fd2a..."} 
[2026-07-25 22:03:11] local.INFO: Packet analysis {"connection_id":141429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:11] local.INFO: Extracted packet for processing {"connection_id":141429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":98226616,"longitude_deg":76.3052608,"latitude_deg":9.8226616,"altitude":8,"angle":253,"satellites":42,"speed":30,"hex_longitude":"2d7b4240","hex_latitude":"05dad1b8","is_valid_coordinates":true} 
[2026-07-25 22:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246592001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110464948240384000,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891583433203738624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784997069000,"timestamp_ms":1784997069000,"timestamp_seconds":1784997069,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1dc0c8"} 
[2026-07-25 22:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 22:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246592001,"66":11917,"188":206,"85":15104,"24":30,"16":110464948240384000,"45":8891583433203738624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246592001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:03:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110464948240384000,"km_value":110464948240384,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891583433203738624,"description":"Unknown IO ID 45"} 
[2026-07-25 22:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246592001,"power":11917,"unknown_188":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8891583433203738624}} 
[2026-07-25 22:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":141429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:03:11] local.INFO: GPS data processed {"connection_id":141429,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:03:11] local.INFO: Acknowledgment sent {"connection_id":141429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:03:25] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:03:25] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:03:25] local.INFO: IMEI packet received {"connection_id":143784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":143784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:03:27] local.INFO: TCP Data received {"connection_id":143782,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:03:27] local.INFO: Processing buffer {"connection_id":143782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:03:27] local.INFO: Packet analysis {"connection_id":143782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:27] local.INFO: Extracted packet for processing {"connection_id":143782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:03:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":143782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:03:27] local.INFO: GPS data processed {"connection_id":143782,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:03:27] local.INFO: Acknowledgment sent {"connection_id":143782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:03:31] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:03:31] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:03:31] local.INFO: IMEI packet received {"connection_id":143784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":143784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:03:32] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:03:32] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:03:32] local.INFO: Packet analysis {"connection_id":143784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:03:32] local.INFO: Extracted packet for processing {"connection_id":143784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:03:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:03:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":143784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:03:32] local.INFO: GPS data processed {"connection_id":143784,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:03:32] local.INFO: Acknowledgment sent {"connection_id":143784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:03:42] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1df390012d7b1f0005dac8680008010229..."} 
[2026-07-25 22:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1df390012d7b1f0005dac8680008010229..."} 
[2026-07-25 22:03:42] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1df390012d7b1f0005dac8680008010229..."} 
[2026-07-25 22:03:42] local.INFO: Packet analysis {"connection_id":141429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:42] local.INFO: Extracted packet for processing {"connection_id":141429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:42] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98224232,"longitude_deg":76.3043584,"latitude_deg":9.8224232,"altitude":8,"angle":258,"satellites":41,"speed":24,"hex_longitude":"2d7b1f00","hex_latitude":"05dac868","is_valid_coordinates":true} 
[2026-07-25 22:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959249664001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465394916982784,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809018230784,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784997082000,"timestamp_ms":1784997082000,"timestamp_seconds":1784997082,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1df390"} 
[2026-07-25 22:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 22:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959249664001,"66":12178,"188":206,"85":15104,"24":24,"16":110465394916982784,"45":8881731809018230784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959249664001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:03:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:03:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465394916982784,"km_value":110465394916982.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809018230784,"description":"Unknown IO ID 45"} 
[2026-07-25 22:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959249664001,"power":12178,"unknown_188":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8881731809018230784}} 
[2026-07-25 22:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":141429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:03:42] local.INFO: GPS data processed {"connection_id":141429,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:03:42] local.INFO: Acknowledgment sent {"connection_id":141429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:03:48] local.INFO: TCP Data received {"connection_id":143785,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:03:48] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:03:48] local.INFO: IMEI packet received {"connection_id":143785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":143785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:03:54] local.INFO: TCP Data received {"connection_id":143785,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:03:54] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:03:54] local.INFO: IMEI packet received {"connection_id":143785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":143785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:03:55] local.INFO: TCP Data received {"connection_id":143785,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:03:55] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:03:55] local.INFO: Packet analysis {"connection_id":143785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:55] local.INFO: Extracted packet for processing {"connection_id":143785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":143785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:03:55] local.INFO: GPS data processed {"connection_id":143785,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:03:55] local.INFO: Acknowledgment sent {"connection_id":143785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:03] local.INFO: TCP Data received {"connection_id":143784,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:03] local.INFO: Processing buffer {"connection_id":143784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:03] local.INFO: Packet analysis {"connection_id":143784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:04:03] local.INFO: Extracted packet for processing {"connection_id":143784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:04:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":143784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:04:03] local.INFO: GPS data processed {"connection_id":143784,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:04:03] local.INFO: Acknowledgment sent {"connection_id":143784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:05] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:04:05] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:04:05] local.INFO: IMEI packet received {"connection_id":142429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":142429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:04:10] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:04:10] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:04:10] local.INFO: IMEI packet received {"connection_id":142429,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":142429,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:04:11] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1e1aa0012d7b0ec005dac440000a00f629..."} 
[2026-07-25 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1e1aa0012d7b0ec005dac440000a00f629..."} 
[2026-07-25 22:04:11] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1e1aa0012d7b0ec005dac440000a00f629..."} 
[2026-07-25 22:04:11] local.INFO: Packet analysis {"connection_id":142429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:04:11] local.INFO: Extracted packet for processing {"connection_id":142429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:04:11] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98223168,"longitude_deg":76.3039424,"latitude_deg":9.8223168,"altitude":10,"angle":246,"satellites":41,"speed":9,"hex_longitude":"2d7b0ec0","hex_latitude":"05dac440","is_valid_coordinates":true} 
[2026-07-25 22:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959252992001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465601075412992,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871809816088569856,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784997092000,"timestamp_ms":1784997092000,"timestamp_seconds":1784997092,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1e1aa0"} 
[2026-07-25 22:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959252992001,"66":11515,"188":206,"85":15104,"24":9,"16":110465601075412992,"45":8871809816088569856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959252992001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:04:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:04:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465601075412992,"km_value":110465601075412.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871809816088569856,"description":"Unknown IO ID 45"} 
[2026-07-25 22:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959252992001,"power":11515,"unknown_188":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8871809816088569856}} 
[2026-07-25 22:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":142429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:04:11] local.INFO: GPS data processed {"connection_id":142429,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:04:11] local.INFO: Acknowledgment sent {"connection_id":142429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:26] local.INFO: TCP Data received {"connection_id":143785,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:04:26] local.INFO: Processing buffer {"connection_id":143785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:04:26] local.INFO: Packet analysis {"connection_id":143785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:04:26] local.INFO: Extracted packet for processing {"connection_id":143785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:04:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:04:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":143785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:04:27] local.INFO: GPS data processed {"connection_id":143785,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:04:27] local.INFO: Acknowledgment sent {"connection_id":143785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:30] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:04:30] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:04:30] local.INFO: IMEI packet received {"connection_id":142430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":142430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:04:36] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:04:36] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:04:36] local.INFO: IMEI packet received {"connection_id":142430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":142430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:04:36] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:36] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:36] local.INFO: Packet analysis {"connection_id":142430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:04:36] local.INFO: Extracted packet for processing {"connection_id":142430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":142430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":142430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":142430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:04:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":142430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:04:37] local.INFO: GPS data processed {"connection_id":142430,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:04:37] local.INFO: Acknowledgment sent {"connection_id":142430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:41] local.INFO: TCP Data received {"connection_id":142430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:41] local.INFO: Processing buffer {"connection_id":142430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1c3640012d196400071fefb00048006e26..."} 
[2026-07-25 22:04:41] local.INFO: Packet analysis {"connection_id":142430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:04:41] local.INFO: Extracted packet for processing {"connection_id":142430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1c"} 
[2026-07-25 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":38,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959146752001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784996968000,"timestamp_ms":1784996968000,"timestamp_seconds":1784996968,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1c3640"} 
[2026-07-25 22:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 22:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":142430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":142430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":142430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959146752001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959146752001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:04:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959146752001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":142430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:04:41] local.INFO: GPS data processed {"connection_id":142430,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:04:41] local.INFO: Acknowledgment sent {"connection_id":142430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:42] local.INFO: TCP Data received {"connection_id":142429,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1e1e88012d7b0e0005dac3d0000a00e829..."} 
[2026-07-25 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1e1e88012d7b0e0005dac3d0000a00e829..."} 
[2026-07-25 22:04:42] local.INFO: Processing buffer {"connection_id":142429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1e1e88012d7b0e0005dac3d0000a00e829..."} 
[2026-07-25 22:04:42] local.INFO: Packet analysis {"connection_id":142429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:04:42] local.INFO: Extracted packet for processing {"connection_id":142429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98223056,"longitude_deg":76.3039232,"latitude_deg":9.8223056,"altitude":10,"angle":232,"satellites":41,"speed":8,"hex_longitude":"2d7b0e00","hex_latitude":"05dac3d0","is_valid_coordinates":true} 
[2026-07-25 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959255552001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465609665347584,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847716749312,"note":"Value kept but may cause issues"} 
[2026-07-25 22:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784997093000,"timestamp_ms":1784997093000,"timestamp_seconds":1784997093,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1e1e88"} 
[2026-07-25 22:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-07-25 22:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":142429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":142429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":142429,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959255552001,"66":11776,"188":206,"85":15104,"24":8,"16":110465609665347584,"45":8867235847716749312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959255552001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:04:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:04:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465609665347584,"km_value":110465609665347.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847716749312,"description":"Unknown IO ID 45"} 
[2026-07-25 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959255552001,"power":11776,"unknown_188":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8867235847716749312}} 
[2026-07-25 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":142429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:04:42] local.INFO: GPS data processed {"connection_id":142429,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:04:42] local.INFO: Acknowledgment sent {"connection_id":142429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:04:54] local.INFO: TCP Data received {"connection_id":143787,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:04:54] local.INFO: Processing buffer {"connection_id":143787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:04:54] local.INFO: IMEI packet received {"connection_id":143787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":143787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:04:59] local.INFO: TCP Data received {"connection_id":143787,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:04:59] local.INFO: Processing buffer {"connection_id":143787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:04:59] local.INFO: IMEI packet received {"connection_id":143787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":143787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:05:00] local.INFO: TCP Data received {"connection_id":143787,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:00] local.INFO: Processing buffer {"connection_id":143787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:00] local.INFO: Packet analysis {"connection_id":143787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:05:00] local.INFO: Extracted packet for processing {"connection_id":143787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:05:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:05: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-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:05:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":143787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:05:00] local.INFO: GPS data processed {"connection_id":143787,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:05:00] local.INFO: Acknowledgment sent {"connection_id":143787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:05:04] local.INFO: TCP Data received {"connection_id":143787,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:04] local.INFO: Processing buffer {"connection_id":143787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:04] local.INFO: Packet analysis {"connection_id":143787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:05:04] local.INFO: Extracted packet for processing {"connection_id":143787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:05:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:05: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-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:05:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":143787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:05:05] local.INFO: GPS data processed {"connection_id":143787,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:05:05] local.INFO: Acknowledgment sent {"connection_id":143787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:05:09] local.INFO: TCP Data received {"connection_id":141431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:09] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:09] local.INFO: IMEI packet received {"connection_id":141431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":141431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:05:10] local.INFO: TCP Data received {"connection_id":141431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:10] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:10] local.INFO: IMEI packet received {"connection_id":141431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":141431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:05:16] local.INFO: TCP Data received {"connection_id":141431,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:16] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:05:16] local.INFO: IMEI packet received {"connection_id":141431,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":141431,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:05:17] local.INFO: TCP Data received {"connection_id":141431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1e5d08012d7b0bc005dac330000a00f329..."} 
[2026-07-25 22:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1e5d08012d7b0bc005dac330000a00f329..."} 
[2026-07-25 22:05:17] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1e5d08012d7b0bc005dac330000a00f329..."} 
[2026-07-25 22:05:17] local.INFO: Packet analysis {"connection_id":141431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:05:17] local.INFO: Extracted packet for processing {"connection_id":141431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:05:17] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98222896,"longitude_deg":76.3038656,"latitude_deg":9.8222896,"altitude":10,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d7b0bc0","hex_latitude":"05dac330","is_valid_coordinates":true} 
[2026-07-25 22:05: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-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959255808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465644025085952,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741484187648,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784997109000,"timestamp_ms":1784997109000,"timestamp_seconds":1784997109,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1e5d08"} 
[2026-07-25 22:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2585607160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":26624,"corrected_to":0} 
[2026-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3681026060,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-07-25 22:05:17] local.WARNING: Large IO value detected {"io_id":102,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,188,85,24,241,157,16,115,159,26,45,192,196,10,41,66,243,200,8,64,1,240,141,227,154,218,4,113,205,30,102,136,120,40,239,47,2],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":200,"original":26624,"validated":0},{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-07-25 22:05:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720831203171106816,"timestamp_seconds":720831203171106.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959255808001,"66":12906,"188":206,"85":15104,"24":0,"16":110465644025085952,"45":8867024741484187648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959255808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:05:17] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:05:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465644025085952,"km_value":110465644025085.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741484187648,"description":"Unknown IO ID 45"} 
[2026-07-25 22:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959255808001,"power":12906,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867024741484187648}} 
[2026-07-25 22:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":141431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:05:17] local.INFO: GPS data processed {"connection_id":141431,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:05:17] local.INFO: Acknowledgment sent {"connection_id":141431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:05:26] local.INFO: TCP Data received {"connection_id":142431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:05:26] local.INFO: Processing buffer {"connection_id":142431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:05:26] local.INFO: IMEI packet received {"connection_id":142431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":142431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:05:31] local.INFO: TCP Data received {"connection_id":142431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:05:31] local.INFO: Processing buffer {"connection_id":142431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:05:31] local.INFO: IMEI packet received {"connection_id":142431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":142431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:05:31] local.INFO: TCP Data received {"connection_id":142431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:05:31] local.INFO: Processing buffer {"connection_id":142431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:05:31] local.INFO: Packet analysis {"connection_id":142431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:05:31] local.INFO: Extracted packet for processing {"connection_id":142431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":142431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:05:32] local.INFO: GPS data processed {"connection_id":142431,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:05:32] local.INFO: Acknowledgment sent {"connection_id":142431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:05:48] local.INFO: TCP Data received {"connection_id":141431,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1e5d08012d7b0bc005dac330000a00f329..."} 
[2026-07-25 22:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1e5d08012d7b0bc005dac330000a00f329..."} 
[2026-07-25 22:05:48] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1e5d08012d7b0bc005dac330000a00f329..."} 
[2026-07-25 22:05:48] local.INFO: Packet analysis {"connection_id":141431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:05:48] local.INFO: Extracted packet for processing {"connection_id":141431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:05:48] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98222896,"longitude_deg":76.3038656,"latitude_deg":9.8222896,"altitude":10,"angle":243,"satellites":41,"speed":0,"hex_longitude":"2d7b0bc0","hex_latitude":"05dac330","is_valid_coordinates":true} 
[2026-07-25 22:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959259904001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465644025085952,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422786547712,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784997109000,"timestamp_ms":1784997109000,"timestamp_seconds":1784997109,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1e5d08"} 
[2026-07-25 22:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 22:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141431,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959259904001,"66":12906,"188":206,"85":15104,"24":0,"16":110465644025085952,"45":8866391422786547712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959259904001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:05:48] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:05:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465644025085952,"km_value":110465644025085.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422786547712,"description":"Unknown IO ID 45"} 
[2026-07-25 22:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959259904001,"power":12906,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866391422786547712}} 
[2026-07-25 22:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":141431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:05:48] local.INFO: GPS data processed {"connection_id":141431,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:05:48] local.INFO: Acknowledgment sent {"connection_id":141431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:05:49] local.INFO: TCP Data received {"connection_id":141432,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:05:49] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:05:49] local.INFO: IMEI packet received {"connection_id":141432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":141432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:05:54] local.INFO: TCP Data received {"connection_id":141432,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:05:54] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:05:54] local.INFO: IMEI packet received {"connection_id":141432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":141432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:05:55] local.INFO: TCP Data received {"connection_id":141432,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:55] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:05:55] local.INFO: Packet analysis {"connection_id":141432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:05:55] local.INFO: Extracted packet for processing {"connection_id":141432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:05:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:05:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":141432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:05:55] local.INFO: GPS data processed {"connection_id":141432,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:05:55] local.INFO: Acknowledgment sent {"connection_id":141432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:06:03] local.INFO: TCP Data received {"connection_id":142431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:06:03] local.INFO: Processing buffer {"connection_id":142431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:06:03] local.INFO: Packet analysis {"connection_id":142431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:06:03] local.INFO: Extracted packet for processing {"connection_id":142431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:06: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-07-25 22:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:06:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":142431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:06:03] local.INFO: GPS data processed {"connection_id":142431,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:06:03] local.INFO: Acknowledgment sent {"connection_id":142431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:06:06] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:06:06] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:06:06] local.INFO: IMEI packet received {"connection_id":141376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":141376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:06:11] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:06:11] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:06:11] local.INFO: IMEI packet received {"connection_id":141376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":141376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:06:11] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1e7090012d7b0bc005dac330000a00f328..."} 
[2026-07-25 22:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1e7090012d7b0bc005dac330000a00f328..."} 
[2026-07-25 22:06:11] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1e7090012d7b0bc005dac330000a00f328..."} 
[2026-07-25 22:06:11] local.INFO: Packet analysis {"connection_id":141376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:06:11] local.INFO: Extracted packet for processing {"connection_id":141376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1e"} 
[2026-07-25 22:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98222896,"longitude_deg":76.3038656,"latitude_deg":9.8222896,"altitude":10,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d7b0bc0","hex_latitude":"05dac330","is_valid_coordinates":true} 
[2026-07-25 22:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959259904001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465644025085952,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422786547712,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784997114000,"timestamp_ms":1784997114000,"timestamp_seconds":1784997114,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1e7090"} 
[2026-07-25 22:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-25 22:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959259904001,"66":12928,"188":206,"85":15104,"24":0,"16":110465644025085952,"45":8866391422786547712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959259904001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:06:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465644025085952,"km_value":110465644025085.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422786547712,"description":"Unknown IO ID 45"} 
[2026-07-25 22:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959259904001,"power":12928,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866391422786547712}} 
[2026-07-25 22:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":141376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:06:12] local.INFO: GPS data processed {"connection_id":141376,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:06:12] local.INFO: Acknowledgment sent {"connection_id":141376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:06:26] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:06:26] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:06:26] local.INFO: IMEI packet received {"connection_id":142433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":142433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:06:26] local.INFO: TCP Data received {"connection_id":141432,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:06:26] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a1d8e00012d77a94005f27b900013016323..."} 
[2026-07-25 22:06:26] local.INFO: Packet analysis {"connection_id":141432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:06:26] local.INFO: Extracted packet for processing {"connection_id":141432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a1d"} 
[2026-07-25 22:06:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959169280001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997056000,"timestamp_ms":1784997056000,"timestamp_seconds":1784997056,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a1d8e00"} 
[2026-07-25 22:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959169280001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959169280001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:06:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959169280001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":141432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:06:26] local.INFO: GPS data processed {"connection_id":141432,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:06:26] local.INFO: Acknowledgment sent {"connection_id":141432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:06:31] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:06:31] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:06:31] local.INFO: IMEI packet received {"connection_id":142433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":142433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:06:32] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:06:32] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:06:32] local.INFO: Packet analysis {"connection_id":142433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:06:32] local.INFO: Extracted packet for processing {"connection_id":142433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":142433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":142433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":142433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:06:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":142433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:06:32] local.INFO: GPS data processed {"connection_id":142433,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:06:32] local.INFO: Acknowledgment sent {"connection_id":142433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:06:42] local.INFO: TCP Data received {"connection_id":141376,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2123f8012d7b0c4005dac340000a00f32a..."} 
[2026-07-25 22:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2123f8012d7b0c4005dac340000a00f32a..."} 
[2026-07-25 22:06:42] local.INFO: Processing buffer {"connection_id":141376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2123f8012d7b0c4005dac340000a00f32a..."} 
[2026-07-25 22:06:42] local.INFO: Packet analysis {"connection_id":141376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a21"} 
[2026-07-25 22:06:42] local.INFO: Extracted packet for processing {"connection_id":141376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a21"} 
[2026-07-25 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98222912,"longitude_deg":76.3038784,"latitude_deg":9.8222912,"altitude":10,"angle":243,"satellites":42,"speed":0,"hex_longitude":"2d7b0c40","hex_latitude":"05dac340","is_valid_coordinates":true} 
[2026-07-25 22:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959261184001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110465644025085952,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422786547712,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784997291000,"timestamp_ms":1784997291000,"timestamp_seconds":1784997291,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2123f8"} 
[2026-07-25 22:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-25 22:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959261184001,"66":12906,"188":206,"85":15104,"24":0,"16":110465644025085952,"45":8866391422786547712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-07-25 22:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959261184001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:06:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-25 22:06:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110465644025085952,"km_value":110465644025085.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422786547712,"description":"Unknown IO ID 45"} 
[2026-07-25 22:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959261184001,"power":12906,"unknown_188":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866391422786547712}} 
[2026-07-25 22:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":141376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:06:42] local.INFO: GPS data processed {"connection_id":141376,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:06:42] local.INFO: Acknowledgment sent {"connection_id":141376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:06:48] local.INFO: TCP Data received {"connection_id":141377,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:06:48] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:06:48] local.INFO: IMEI packet received {"connection_id":141377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":141377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:06:53] local.INFO: TCP Data received {"connection_id":141377,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:06:54] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:06:54] local.INFO: IMEI packet received {"connection_id":141377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":141377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:06:54] local.INFO: TCP Data received {"connection_id":141377,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:06:54] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:06:54] local.INFO: Packet analysis {"connection_id":141377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:06:54] local.INFO: Extracted packet for processing {"connection_id":141377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:06:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:06:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":141377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:06:54] local.INFO: GPS data processed {"connection_id":141377,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:06:54] local.INFO: Acknowledgment sent {"connection_id":141377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:03] local.INFO: TCP Data received {"connection_id":142433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:07:03] local.INFO: Processing buffer {"connection_id":142433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:07:03] local.INFO: Packet analysis {"connection_id":142433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:07:03] local.INFO: Extracted packet for processing {"connection_id":142433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:07:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:07: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-07-25 22: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-07-25 22:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":142433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":142433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":142433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":142433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:03] local.INFO: GPS data processed {"connection_id":142433,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:03] local.INFO: Acknowledgment sent {"connection_id":142433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:05] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:07:05] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:07:05] local.INFO: IMEI packet received {"connection_id":141379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":141379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:07:11] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:07:11] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:07:11] local.INFO: IMEI packet received {"connection_id":141379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":141379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:07:12] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a230088012d7a3e0005da94d80007013f29..."} 
[2026-07-25 22:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a230088012d7a3e0005da94d80007013f29..."} 
[2026-07-25 22:07:12] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a230088012d7a3e0005da94d80007013f29..."} 
[2026-07-25 22:07:12] local.INFO: Packet analysis {"connection_id":141379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:07:12] local.INFO: Extracted packet for processing {"connection_id":141379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:07:12] local.INFO: GPS Element Parsed {"raw_longitude":762985984,"raw_latitude":98211032,"longitude_deg":76.2985984,"latitude_deg":9.8211032,"altitude":7,"angle":319,"satellites":41,"speed":10,"hex_longitude":"2d7a3e00","hex_latitude":"05da94d8","is_valid_coordinates":true} 
[2026-07-25 22:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959337216001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110468259660169216,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829790046121984,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997413000,"timestamp_ms":1784997413000,"timestamp_seconds":1784997413,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a230088"} 
[2026-07-25 22:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-25 22:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959337216001,"66":12004,"229":206,"85":15104,"24":10,"16":110468259660169216,"45":8808829790046121984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-25 22:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959337216001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 22:07:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110468259660169216,"km_value":110468259660169.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829790046121984,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959337216001,"power":12004,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8808829790046121984}} 
[2026-07-25 22:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":141379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:12] local.INFO: GPS data processed {"connection_id":141379,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:12] local.INFO: Acknowledgment sent {"connection_id":141379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:14] local.INFO: TCP Data received {"connection_id":141378,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:07:14] local.INFO: Processing buffer {"connection_id":141378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:07:14] local.INFO: IMEI packet received {"connection_id":141378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":141378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:07:15] local.INFO: TCP Data received {"connection_id":141378,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a226448012d8fb3c0059f02280002011d2d..."} 
[2026-07-25 22:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a226448012d8fb3c0059f02280002011d2d..."} 
[2026-07-25 22:07:15] local.INFO: Processing buffer {"connection_id":141378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a226448012d8fb3c0059f02280002011d2d..."} 
[2026-07-25 22:07:15] local.INFO: Packet analysis {"connection_id":141378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:07:15] local.INFO: Extracted packet for processing {"connection_id":141378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:07:15] local.INFO: GPS Element Parsed {"raw_longitude":764392384,"raw_latitude":94306856,"longitude_deg":76.4392384,"latitude_deg":9.4306856,"altitude":2,"angle":285,"satellites":45,"speed":44,"hex_longitude":"2d8fb3c0","hex_latitude":"059f0228","is_valid_coordinates":true} 
[2026-07-25 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-07-25 22:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959325440001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358264366283358208,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8082202088383635456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784997373000,"timestamp_ms":1784997373000,"timestamp_seconds":1784997373,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a226448"} 
[2026-07-25 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-07-25 22:07: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-07-25 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-25 22:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 22:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959325440001,"66":27365,"237":206,"85":14592,"24":44,"16":358264366283358208,"45":-8082202088383635456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959325440001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:15] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:07:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358264366283358208,"km_value":358264366283358.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8082202088383635456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959325440001,"power":27365,"unknown_237":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8082202088383635456}} 
[2026-07-25 22:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":141378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:15] local.INFO: GPS data processed {"connection_id":141378,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:15] local.INFO: Acknowledgment sent {"connection_id":141378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:26] local.INFO: TCP Data received {"connection_id":141377,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:07:26] local.INFO: Processing buffer {"connection_id":141377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:07:26] local.INFO: Packet analysis {"connection_id":141377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:07:26] local.INFO: Extracted packet for processing {"connection_id":141377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:07:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":141377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:26] local.INFO: GPS data processed {"connection_id":141377,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:26] local.INFO: Acknowledgment sent {"connection_id":141377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:26] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:07:26] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:07:26] local.INFO: IMEI packet received {"connection_id":141433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":141433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:07:31] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:07:31] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:07:31] local.INFO: IMEI packet received {"connection_id":141433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":141433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:07:31] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:07:31] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:07:31] local.INFO: Packet analysis {"connection_id":141433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:07:31] local.INFO: Extracted packet for processing {"connection_id":141433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:07:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":141433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:32] local.INFO: GPS data processed {"connection_id":141433,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:32] local.INFO: Acknowledgment sent {"connection_id":141433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:42] local.INFO: TCP Data received {"connection_id":141379,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a230470012d7a3d8005da95a00007014d29..."} 
[2026-07-25 22:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a230470012d7a3d8005da95a00007014d29..."} 
[2026-07-25 22:07:42] local.INFO: Processing buffer {"connection_id":141379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a230470012d7a3d8005da95a00007014d29..."} 
[2026-07-25 22:07:42] local.INFO: Packet analysis {"connection_id":141379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:07:42] local.INFO: Extracted packet for processing {"connection_id":141379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":762985856,"raw_latitude":98211232,"longitude_deg":76.2985856,"latitude_deg":9.8211232,"altitude":7,"angle":333,"satellites":41,"speed":11,"hex_longitude":"2d7a3d80","hex_latitude":"05da95a0","is_valid_coordinates":true} 
[2026-07-25 22:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959337728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110468272545071104,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808477946325293056,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784997414000,"timestamp_ms":1784997414000,"timestamp_seconds":1784997414,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a230470"} 
[2026-07-25 22:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 22:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959337728001,"66":11308,"229":206,"85":15104,"24":11,"16":110468272545071104,"45":8808477946325293056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-25 22:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959337728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:42] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 22:07:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110468272545071104,"km_value":110468272545071.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808477946325293056,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959337728001,"power":11308,"unknown_229":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8808477946325293056}} 
[2026-07-25 22:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":141379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:42] local.INFO: GPS data processed {"connection_id":141379,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:42] local.INFO: Acknowledgment sent {"connection_id":141379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:48] local.INFO: TCP Data received {"connection_id":141380,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:07:48] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:07:48] local.INFO: IMEI packet received {"connection_id":141380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":141380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:07:54] local.INFO: TCP Data received {"connection_id":141380,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:07:54] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:07:54] local.INFO: IMEI packet received {"connection_id":141380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":141380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:07:55] local.INFO: TCP Data received {"connection_id":141380,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:07:55] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:07:55] local.INFO: Packet analysis {"connection_id":141380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:07:55] local.INFO: Extracted packet for processing {"connection_id":141380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:07:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":141380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:07:55] local.INFO: GPS data processed {"connection_id":141380,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:07:55] local.INFO: Acknowledgment sent {"connection_id":141380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:07:58] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:07:58] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:07:58] local.INFO: IMEI packet received {"connection_id":142434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":142434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:08:00] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:00] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:00] local.INFO: IMEI packet received {"connection_id":142434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":142434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:08:03] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:08:03] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:08:03] local.INFO: Packet analysis {"connection_id":141433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:08:03] local.INFO: Extracted packet for processing {"connection_id":141433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:08: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-07-25 22: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-07-25 22:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:08:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":141433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:03] local.INFO: GPS data processed {"connection_id":141433,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:03] local.INFO: Acknowledgment sent {"connection_id":141433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:04] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:04] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:04] local.INFO: IMEI packet received {"connection_id":142434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":142434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:08:05] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a228770012d8f8e80059f0c280002011d2e..."} 
[2026-07-25 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a228770012d8f8e80059f0c280002011d2e..."} 
[2026-07-25 22:08:05] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a228770012d8f8e80059f0c280002011d2e..."} 
[2026-07-25 22:08:05] local.INFO: Packet analysis {"connection_id":142434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:05] local.INFO: Extracted packet for processing {"connection_id":142434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:05] local.INFO: GPS Element Parsed {"raw_longitude":764382848,"raw_latitude":94309416,"longitude_deg":76.4382848,"latitude_deg":9.4309416,"altitude":2,"angle":285,"satellites":46,"speed":43,"hex_longitude":"2d8f8e80","hex_latitude":"059f0c28","is_valid_coordinates":true} 
[2026-07-25 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959327488001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358264838729760768,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8091912975079561216,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784997382000,"timestamp_ms":1784997382000,"timestamp_seconds":1784997382,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a228770"} 
[2026-07-25 22:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08: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-07-25 22:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959327488001,"66":27463,"237":206,"85":14592,"24":43,"16":358264838729760768,"45":-8091912975079561216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959327488001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358264838729760768,"km_value":358264838729760.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8091912975079561216,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959327488001,"power":27463,"unknown_237":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8091912975079561216}} 
[2026-07-25 22:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":142434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:05] local.INFO: GPS data processed {"connection_id":142434,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:05] local.INFO: Acknowledgment sent {"connection_id":142434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:05] local.INFO: TCP Data received {"connection_id":143788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:08:05] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:08:05] local.INFO: IMEI packet received {"connection_id":143788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":143788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:08:06] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a22aa98012d8f6a40059f16000003011e2c..."} 
[2026-07-25 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a22aa98012d8f6a40059f16000003011e2c..."} 
[2026-07-25 22:08:06] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a22aa98012d8f6a40059f16000003011e2c..."} 
[2026-07-25 22:08:06] local.INFO: Packet analysis {"connection_id":142434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:06] local.INFO: Extracted packet for processing {"connection_id":142434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":764373568,"raw_latitude":94311936,"longitude_deg":76.4373568,"latitude_deg":9.4311936,"altitude":3,"angle":286,"satellites":44,"speed":41,"hex_longitude":"2d8f6a40","hex_latitude":"059f1600","is_valid_coordinates":true} 
[2026-07-25 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959329792001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358265302586228736,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8102397917961377792,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784997391000,"timestamp_ms":1784997391000,"timestamp_seconds":1784997391,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a22aa98"} 
[2026-07-25 22:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":142434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959329792001,"66":27343,"237":206,"85":14592,"24":41,"16":358265302586228736,"45":-8102397917961377792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959329792001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358265302586228736,"km_value":358265302586228.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8102397917961377792,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959329792001,"power":27343,"unknown_237":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8102397917961377792}} 
[2026-07-25 22:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":142434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:06] local.INFO: GPS data processed {"connection_id":142434,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:06] local.INFO: Acknowledgment sent {"connection_id":142434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:11] local.INFO: TCP Data received {"connection_id":143788,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:08:11] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:08:11] local.INFO: IMEI packet received {"connection_id":143788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":143788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:08:12] local.INFO: TCP Data received {"connection_id":143788,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a230858012d7a3d4005da96a80008015f29..."} 
[2026-07-25 22:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a230858012d7a3d4005da96a80008015f29..."} 
[2026-07-25 22:08:12] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a230858012d7a3d4005da96a80008015f29..."} 
[2026-07-25 22:08:12] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:08:12] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":762985792,"raw_latitude":98211496,"longitude_deg":76.2985792,"latitude_deg":9.8211496,"altitude":8,"angle":351,"satellites":41,"speed":11,"hex_longitude":"2d7a3d40","hex_latitude":"05da96a8","is_valid_coordinates":true} 
[2026-07-25 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959337984001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110468285429972992,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808337208836988928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997415000,"timestamp_ms":1784997415000,"timestamp_seconds":1784997415,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a230858"} 
[2026-07-25 22:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959337984001,"66":11308,"229":206,"85":15104,"24":11,"16":110468285429972992,"45":8808337208836988928},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-25 22:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959337984001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 22:08:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110468285429972992,"km_value":110468285429972.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808337208836988928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959337984001,"power":11308,"unknown_229":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8808337208836988928}} 
[2026-07-25 22:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:12] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:12] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:25] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:08:25] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:08:25] local.INFO: IMEI packet received {"connection_id":143789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":143789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:08:26] local.INFO: TCP Data received {"connection_id":141380,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:08:26] local.INFO: Processing buffer {"connection_id":141380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:08:26] local.INFO: Packet analysis {"connection_id":141380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:26] local.INFO: Extracted packet for processing {"connection_id":141380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":141380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:26] local.INFO: GPS data processed {"connection_id":141380,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:26] local.INFO: Acknowledgment sent {"connection_id":141380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:31] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:08:31] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:08:31] local.INFO: IMEI packet received {"connection_id":143789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":143789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:08:31] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:08:31] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:08:31] local.INFO: Packet analysis {"connection_id":143789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:08:31] local.INFO: Extracted packet for processing {"connection_id":143789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":143789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:32] local.INFO: GPS data processed {"connection_id":143789,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:32] local.INFO: Acknowledgment sent {"connection_id":143789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:38] local.INFO: TCP Data received {"connection_id":142434,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a22cdc0012d8f4580059f1fc00004011b2c..."} 
[2026-07-25 22:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a22cdc0012d8f4580059f1fc00004011b2c..."} 
[2026-07-25 22:08:38] local.INFO: Processing buffer {"connection_id":142434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a22cdc0012d8f4580059f1fc00004011b2c..."} 
[2026-07-25 22:08:38] local.INFO: Packet analysis {"connection_id":142434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:38] local.INFO: Extracted packet for processing {"connection_id":142434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":764364160,"raw_latitude":94314432,"longitude_deg":76.436416,"latitude_deg":9.4314432,"altitude":4,"angle":283,"satellites":44,"speed":43,"hex_longitude":"2d8f4580","hex_latitude":"059f1fc0","is_valid_coordinates":true} 
[2026-07-25 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959332096001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358265766442696704,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8112601385866493952,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784997400000,"timestamp_ms":1784997400000,"timestamp_seconds":1784997400,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a22cdc0"} 
[2026-07-25 22:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":142434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":142434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959332096001,"66":27365,"237":206,"85":14592,"24":43,"16":358265766442696704,"45":-8112601385866493952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959332096001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:08:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358265766442696704,"km_value":358265766442696.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8112601385866493952,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959332096001,"power":27365,"unknown_237":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8112601385866493952}} 
[2026-07-25 22:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":142434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:38] local.INFO: GPS data processed {"connection_id":142434,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:38] local.INFO: Acknowledgment sent {"connection_id":142434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:43] local.INFO: TCP Data received {"connection_id":143788,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2346d8012d7a374005dab910000801602a..."} 
[2026-07-25 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2346d8012d7a374005dab910000801602a..."} 
[2026-07-25 22:08:43] local.INFO: Processing buffer {"connection_id":143788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2346d8012d7a374005dab910000801602a..."} 
[2026-07-25 22:08:43] local.INFO: Packet analysis {"connection_id":143788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:08:43] local.INFO: Extracted packet for processing {"connection_id":143788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:08:43] local.INFO: GPS Element Parsed {"raw_longitude":762984256,"raw_latitude":98220304,"longitude_deg":76.2984256,"latitude_deg":9.8220304,"altitude":8,"angle":352,"satellites":42,"speed":27,"hex_longitude":"2d7a3740","hex_latitude":"05dab910","is_valid_coordinates":true} 
[2026-07-25 22:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959338240001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110468719221669888,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808266840092878848,"note":"Value kept but may cause issues"} 
[2026-07-25 22:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997431000,"timestamp_ms":1784997431000,"timestamp_seconds":1784997431,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2346d8"} 
[2026-07-25 22:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-25 22:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959338240001,"66":12026,"229":206,"85":15104,"24":27,"16":110468719221669888,"45":8808266840092878848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-25 22:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959338240001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:08:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 22:08:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110468719221669888,"km_value":110468719221669.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808266840092878848,"description":"Unknown IO ID 45"} 
[2026-07-25 22:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959338240001,"power":12026,"unknown_229":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8808266840092878848}} 
[2026-07-25 22:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":143788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:08:44] local.INFO: GPS data processed {"connection_id":143788,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:08:44] local.INFO: Acknowledgment sent {"connection_id":143788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:08:54] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:08:54] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:08:54] local.INFO: IMEI packet received {"connection_id":141434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":141434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:08:54] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:54] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:54] local.INFO: IMEI packet received {"connection_id":141435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":141435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:08:55] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:55] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:55] local.INFO: IMEI packet received {"connection_id":141435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":141435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:08:59] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:59] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:08:59] local.INFO: IMEI packet received {"connection_id":141435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":141435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:08:59] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:08:59] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:08:59] local.INFO: IMEI packet received {"connection_id":141434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":141434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:09:00] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:00] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:00] local.INFO: Packet analysis {"connection_id":141434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:00] local.INFO: Extracted packet for processing {"connection_id":141434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09: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-07-25 22:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":141434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:00] local.INFO: GPS data processed {"connection_id":141434,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:00] local.INFO: Acknowledgment sent {"connection_id":141434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:01] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a22f0e8012d8f20c0059f29200004011c2e..."} 
[2026-07-25 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a22f0e8012d8f20c0059f29200004011c2e..."} 
[2026-07-25 22:09:01] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a22f0e8012d8f20c0059f29200004011c2e..."} 
[2026-07-25 22:09:01] local.INFO: Packet analysis {"connection_id":141435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:01] local.INFO: Extracted packet for processing {"connection_id":141435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":764354752,"raw_latitude":94316832,"longitude_deg":76.4354752,"latitude_deg":9.4316832,"altitude":4,"angle":284,"satellites":46,"speed":42,"hex_longitude":"2d8f20c0","hex_latitude":"059f2920","is_valid_coordinates":true} 
[2026-07-25 22:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959334400001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358266230299164672,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8122945591259971584,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1784997409000,"timestamp_ms":1784997409000,"timestamp_seconds":1784997409,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a22f0e8"} 
[2026-07-25 22:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":141435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959334400001,"66":27517,"237":206,"85":14592,"24":42,"16":358266230299164672,"45":-8122945591259971584},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959334400001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:01] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358266230299164672,"km_value":358266230299164.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8122945591259971584,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959334400001,"power":27517,"unknown_237":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8122945591259971584}} 
[2026-07-25 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":141435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:01] local.INFO: GPS data processed {"connection_id":141435,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:01] local.INFO: Acknowledgment sent {"connection_id":141435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:03] local.INFO: TCP Data received {"connection_id":143789,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:03] local.INFO: Processing buffer {"connection_id":143789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:03] local.INFO: Packet analysis {"connection_id":143789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:09:03] local.INFO: Extracted packet for processing {"connection_id":143789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:09: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-07-25 22:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":143789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:03] local.INFO: GPS data processed {"connection_id":143789,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:03] local.INFO: Acknowledgment sent {"connection_id":143789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:03] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a231410012d8efdc0059f31f00006011c2e..."} 
[2026-07-25 22:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a231410012d8efdc0059f31f00006011c2e..."} 
[2026-07-25 22:09:03] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a231410012d8efdc0059f31f00006011c2e..."} 
[2026-07-25 22:09:03] local.INFO: Packet analysis {"connection_id":141435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:09:03] local.INFO: Extracted packet for processing {"connection_id":141435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":764345792,"raw_latitude":94319088,"longitude_deg":76.4345792,"latitude_deg":9.4319088,"altitude":6,"angle":284,"satellites":46,"speed":37,"hex_longitude":"2d8efdc0","hex_latitude":"059f31f0","is_valid_coordinates":true} 
[2026-07-25 22:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959336704001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358266672680796160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8133289796653473792,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997418000,"timestamp_ms":1784997418000,"timestamp_seconds":1784997418,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a231410"} 
[2026-07-25 22:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":125,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959336704001,"66":27267,"237":206,"85":14592,"24":37,"16":358266672680796160,"45":-8133289796653473792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959336704001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358266672680796160,"km_value":358266672680796.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8133289796653473792,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959336704001,"power":27267,"unknown_237":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-8133289796653473792}} 
[2026-07-25 22:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":141435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:03] local.INFO: GPS data processed {"connection_id":141435,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:03] local.INFO: Acknowledgment sent {"connection_id":141435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:04] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:04] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:04] local.INFO: Packet analysis {"connection_id":141434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:04] local.INFO: Extracted packet for processing {"connection_id":141434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09: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-07-25 22:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":141434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545359,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:04] local.INFO: GPS data processed {"connection_id":141434,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:04] local.INFO: Acknowledgment sent {"connection_id":141434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:05] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:05] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:05] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:09:10] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:10] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:10] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:09:10] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:10] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:09:10] local.INFO: IMEI packet received {"connection_id":141381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":141381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:09:11] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2379a0012d7a328005dadce0000801602a..."} 
[2026-07-25 22:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2379a0012d7a328005dadce0000801602a..."} 
[2026-07-25 22:09:11] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2379a0012d7a328005dadce0000801602a..."} 
[2026-07-25 22:09:11] local.INFO: Packet analysis {"connection_id":141381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:09:11] local.INFO: Extracted packet for processing {"connection_id":141381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:09:11] local.INFO: GPS Element Parsed {"raw_longitude":762983040,"raw_latitude":98229472,"longitude_deg":76.298304,"latitude_deg":9.8229472,"altitude":8,"angle":352,"satellites":42,"speed":31,"hex_longitude":"2d7a3280","hex_latitude":"05dadce0","is_valid_coordinates":true} 
[2026-07-25 22:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959342336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110469170193235968,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806577990234869760,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784997444000,"timestamp_ms":1784997444000,"timestamp_seconds":1784997444,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2379a0"} 
[2026-07-25 22:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959342336001,"66":11917,"229":206,"85":15104,"24":31,"16":110469170193235968,"45":8806577990234869760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-25 22:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959342336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 22:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110469170193235968,"km_value":110469170193235.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806577990234869760,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959342336001,"power":11917,"unknown_229":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8806577990234869760}} 
[2026-07-25 22:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":141381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:11] local.INFO: GPS data processed {"connection_id":141381,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:11] local.INFO: Acknowledgment sent {"connection_id":141381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:16] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a23a498012d7a2c8005daff100009015b2a..."} 
[2026-07-25 22:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a23a498012d7a2c8005daff100009015b2a..."} 
[2026-07-25 22:09:16] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a23a498012d7a2c8005daff100009015b2a..."} 
[2026-07-25 22:09:16] local.INFO: Packet analysis {"connection_id":141381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:09:16] local.INFO: Extracted packet for processing {"connection_id":141381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a23"} 
[2026-07-25 22:09:16] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":98238224,"longitude_deg":76.2981504,"latitude_deg":9.8238224,"altitude":9,"angle":347,"satellites":42,"speed":32,"hex_longitude":"2d7a2c80","hex_latitude":"05daff10","is_valid_coordinates":true} 
[2026-07-25 22:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959345664001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110469599689965568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805240984097841152,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784997455000,"timestamp_ms":1784997455000,"timestamp_seconds":1784997455,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a23a498"} 
[2026-07-25 22:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959345664001,"66":11906,"229":206,"85":15104,"24":32,"16":110469599689965568,"45":8805240984097841152},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-07-25 22:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959345664001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-25 22:09:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110469599689965568,"km_value":110469599689965.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805240984097841152,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959345664001,"power":11906,"unknown_229":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8805240984097841152}} 
[2026-07-25 22:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":141381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:16] local.INFO: GPS data processed {"connection_id":141381,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:16] local.INFO: Acknowledgment sent {"connection_id":141381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:31] local.INFO: TCP Data received {"connection_id":141436,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:09:31] local.INFO: Processing buffer {"connection_id":141436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:09:31] local.INFO: IMEI packet received {"connection_id":141436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":141436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:09:34] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a24a280012d8d1f40059faf300009011d2c..."} 
[2026-07-25 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a24a280012d8d1f40059faf300009011d2c..."} 
[2026-07-25 22:09:34] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a24a280012d8d1f40059faf300009011d2c..."} 
[2026-07-25 22:09:34] local.INFO: Packet analysis {"connection_id":141435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:09:34] local.INFO: Extracted packet for processing {"connection_id":141435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":764223296,"raw_latitude":94351152,"longitude_deg":76.4223296,"latitude_deg":9.4351152,"altitude":9,"angle":285,"satellites":44,"speed":54,"hex_longitude":"2d8d1f40","hex_latitude":"059faf30","is_valid_coordinates":true} 
[2026-07-25 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959363328001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358272732879650816,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8267834835512979456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784997520000,"timestamp_ms":1784997520000,"timestamp_seconds":1784997520,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a24a280"} 
[2026-07-25 22:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959363328001,"66":27332,"237":206,"85":14592,"24":54,"16":358272732879650816,"45":-8267834835512979456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959363328001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:34] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358272732879650816,"km_value":358272732879650.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8267834835512979456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959363328001,"power":27332,"unknown_237":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8267834835512979456}} 
[2026-07-25 22:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":141435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:34] local.INFO: GPS data processed {"connection_id":141435,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:34] local.INFO: Acknowledgment sent {"connection_id":141435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:36] local.INFO: TCP Data received {"connection_id":141436,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:09:36] local.INFO: Processing buffer {"connection_id":141436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:09:36] local.INFO: IMEI packet received {"connection_id":141436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":141436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:09:37] local.INFO: TCP Data received {"connection_id":141436,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:37] local.INFO: Processing buffer {"connection_id":141436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:37] local.INFO: Packet analysis {"connection_id":141436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:09:37] local.INFO: Extracted packet for processing {"connection_id":141436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09: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-07-25 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":141436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:37] local.INFO: GPS data processed {"connection_id":141436,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:37] local.INFO: Acknowledgment sent {"connection_id":141436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:41] local.INFO: TCP Data received {"connection_id":141436,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:41] local.INFO: Processing buffer {"connection_id":141436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a20ce08012d196400071fefb00048006e27..."} 
[2026-07-25 22:09:41] local.INFO: Packet analysis {"connection_id":141436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:09:41] local.INFO: Extracted packet for processing {"connection_id":141436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a20"} 
[2026-07-25 22:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":39,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959223808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784997269000,"timestamp_ms":1784997269000,"timestamp_seconds":1784997269,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a20ce08"} 
[2026-07-25 22:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959223808001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959223808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959223808001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":141436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:41] local.INFO: GPS data processed {"connection_id":141436,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:41] local.INFO: Acknowledgment sent {"connection_id":141436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:47] local.INFO: TCP Data received {"connection_id":141381,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a255630012d7a15c005dc6c60000601582a..."} 
[2026-07-25 22:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a255630012d7a15c005dc6c60000601582a..."} 
[2026-07-25 22:09:47] local.INFO: Processing buffer {"connection_id":141381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a255630012d7a15c005dc6c60000601582a..."} 
[2026-07-25 22:09:47] local.INFO: Packet analysis {"connection_id":141381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:09:47] local.INFO: Extracted packet for processing {"connection_id":141381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:09:47] local.INFO: GPS Element Parsed {"raw_longitude":762975680,"raw_latitude":98331744,"longitude_deg":76.297568,"latitude_deg":9.8331744,"altitude":6,"angle":344,"satellites":42,"speed":38,"hex_longitude":"2d7a15c0","hex_latitude":"05dc6c60","is_valid_coordinates":true} 
[2026-07-25 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-07-25 22:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959374336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110474216779808768,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799611484587456512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784997566000,"timestamp_ms":1784997566000,"timestamp_seconds":1784997566,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a255630"} 
[2026-07-25 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-07-25 22:09: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-07-25 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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 22:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959374336001,"66":11798,"175":206,"85":15104,"24":38,"16":110474216779808768,"45":8799611484587456512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-07-25 22:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959374336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 22:09:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110474216779808768,"km_value":110474216779808.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799611484587456512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959374336001,"power":11798,"unknown_175":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8799611484587456512}} 
[2026-07-25 22:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":141381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:47] local.INFO: GPS data processed {"connection_id":141381,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:47] local.INFO: Acknowledgment sent {"connection_id":141381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:49] local.INFO: TCP Data received {"connection_id":141382,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:09:49] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:09:49] local.INFO: IMEI packet received {"connection_id":141382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":141382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:09:54] local.INFO: TCP Data received {"connection_id":141382,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:09:54] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:09:54] local.INFO: IMEI packet received {"connection_id":141382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":141382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:09:54] local.INFO: TCP Data received {"connection_id":141437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:09:54] local.INFO: Processing buffer {"connection_id":141437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:09:54] local.INFO: IMEI packet received {"connection_id":141437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":141437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:09:55] local.INFO: TCP Data received {"connection_id":141382,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:55] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:09:55] local.INFO: Packet analysis {"connection_id":141382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:55] local.INFO: Extracted packet for processing {"connection_id":141382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:09:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:09:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":141382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:09:55] local.INFO: GPS data processed {"connection_id":141382,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:09:55] local.INFO: Acknowledgment sent {"connection_id":141382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:09:57] local.INFO: TCP Data received {"connection_id":141437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:09:57] local.INFO: Processing buffer {"connection_id":141437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:09:57] local.INFO: IMEI packet received {"connection_id":141437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":141437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:04] local.INFO: TCP Data received {"connection_id":141437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:04] local.INFO: Processing buffer {"connection_id":141437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:04] local.INFO: IMEI packet received {"connection_id":141437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":141437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:05] local.INFO: TCP Data received {"connection_id":141437,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a24bdd8012d8cfa80059fb9500006011d2f..."} 
[2026-07-25 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a24bdd8012d8cfa80059fb9500006011d2f..."} 
[2026-07-25 22:10:05] local.INFO: Processing buffer {"connection_id":141437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a24bdd8012d8cfa80059fb9500006011d2f..."} 
[2026-07-25 22:10:05] local.INFO: Packet analysis {"connection_id":141437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:10:05] local.INFO: Extracted packet for processing {"connection_id":141437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":764213888,"raw_latitude":94353744,"longitude_deg":76.4213888,"latitude_deg":9.4353744,"altitude":6,"angle":285,"satellites":47,"speed":55,"hex_longitude":"2d8cfa80","hex_latitude":"059fb950","is_valid_coordinates":true} 
[2026-07-25 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959365120001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358273201031086080,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8277827197185609728,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784997527000,"timestamp_ms":1784997527000,"timestamp_seconds":1784997527,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a24bdd8"} 
[2026-07-25 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10: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-07-25 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959365120001,"66":27365,"237":206,"85":14592,"24":55,"16":358273201031086080,"45":-8277827197185609728},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959365120001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358273201031086080,"km_value":358273201031086.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8277827197185609728,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959365120001,"power":27365,"unknown_237":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8277827197185609728}} 
[2026-07-25 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":141437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:05] local.INFO: GPS data processed {"connection_id":141437,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:05] local.INFO: Acknowledgment sent {"connection_id":141437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:05] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:05] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:05] local.INFO: IMEI packet received {"connection_id":141383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":141383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:10:06] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:06] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:06] local.INFO: IMEI packet received {"connection_id":141383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":141383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:06] local.INFO: TCP Data received {"connection_id":141437,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a24d930012d8cd600059fc3100005011c2e..."} 
[2026-07-25 22:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a24d930012d8cd600059fc3100005011c2e..."} 
[2026-07-25 22:10:06] local.INFO: Processing buffer {"connection_id":141437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a24d930012d8cd600059fc3100005011c2e..."} 
[2026-07-25 22:10:06] local.INFO: Packet analysis {"connection_id":141437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:10:06] local.INFO: Extracted packet for processing {"connection_id":141437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":764204544,"raw_latitude":94356240,"longitude_deg":76.4204544,"latitude_deg":9.435624,"altitude":5,"angle":284,"satellites":46,"speed":53,"hex_longitude":"2d8cd600","hex_latitude":"059fc310","is_valid_coordinates":true} 
[2026-07-25 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959366912001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358273664887554048,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8288171402579062784,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784997534000,"timestamp_ms":1784997534000,"timestamp_seconds":1784997534,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a24d930"} 
[2026-07-25 22:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959366912001,"66":27376,"237":206,"85":14592,"24":53,"16":358273664887554048,"45":-8288171402579062784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959366912001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:06] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358273664887554048,"km_value":358273664887554.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8288171402579062784,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959366912001,"power":27376,"unknown_237":206,"unknown_85":14592,"ignition":53,"odometer":null,"unknown_45":-8288171402579062784}} 
[2026-07-25 22:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":141437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:06] local.INFO: GPS data processed {"connection_id":141437,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:06] local.INFO: Acknowledgment sent {"connection_id":141437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:11] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:11] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:10:11] local.INFO: IMEI packet received {"connection_id":141383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":141383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:12] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a257958012d7a08c005dc8f880005014f2a..."} 
[2026-07-25 22:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a257958012d7a08c005dc8f880005014f2a..."} 
[2026-07-25 22:10:12] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a257958012d7a08c005dc8f880005014f2a..."} 
[2026-07-25 22:10:12] local.INFO: Packet analysis {"connection_id":141383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:10:12] local.INFO: Extracted packet for processing {"connection_id":141383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:10:12] local.INFO: GPS Element Parsed {"raw_longitude":762972352,"raw_latitude":98340744,"longitude_deg":76.2972352,"latitude_deg":9.8340744,"altitude":5,"angle":335,"satellites":42,"speed":43,"hex_longitude":"2d7a08c0","hex_latitude":"05dc8f88","is_valid_coordinates":true} 
[2026-07-25 22:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959376896001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110474684931244032,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797148578543591424,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997575000,"timestamp_ms":1784997575000,"timestamp_seconds":1784997575,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a257958"} 
[2026-07-25 22:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2586080160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184137851085,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":219,"raw_value":8770760317276793088,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845756656,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2830041294,"corrected_to":0} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":158,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":239,"raw_value":57887839811949883,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8752464400817848320,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931049986,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":43,"raw_value":4613334869257226753,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2810279152828025344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4109535954810552325,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.WARNING: Large IO value detected {"io_id":35,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:12] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,175,85,24,241,157,16,123,159,47,45,128,72,7,42,10,66,15,64,46,6,41,232,1,240,70,227,122,154,219,4,113,205,34,158,26,176,40,239,2,136,68,206,43,97,36,35],"length":632,"final_offset":762,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2830041294,"validated":0}]} 
[2026-07-25 22:10:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432723976618639360,"timestamp_seconds":432723976618639.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959376896001,"66":11917,"175":206,"85":15104,"24":43,"16":110474684931244032,"45":8797148578543591424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-07-25 22:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959376896001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-25 22:10:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110474684931244032,"km_value":110474684931244.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797148578543591424,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959376896001,"power":11917,"unknown_175":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8797148578543591424}} 
[2026-07-25 22:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":141383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:12] local.INFO: GPS data processed {"connection_id":141383,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:12] local.INFO: Acknowledgment sent {"connection_id":141383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:25] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:10:25] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:10:25] local.INFO: IMEI packet received {"connection_id":141384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":141384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:10:31] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:10:31] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:10:31] local.INFO: IMEI packet received {"connection_id":141384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":141384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:31] local.INFO: TCP Data received {"connection_id":141382,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:10:31] local.INFO: Processing buffer {"connection_id":141382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:10:31] local.INFO: Packet analysis {"connection_id":141382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:10:31] local.INFO: Extracted packet for processing {"connection_id":141382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:10:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":141382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:31] local.INFO: GPS data processed {"connection_id":141382,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:31] local.INFO: Acknowledgment sent {"connection_id":141382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:32] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:10:32] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:10:32] local.INFO: Packet analysis {"connection_id":141384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:10:32] local.INFO: Extracted packet for processing {"connection_id":141384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":141384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:32] local.INFO: GPS data processed {"connection_id":141384,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:32] local.INFO: Acknowledgment sent {"connection_id":141384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:38] local.INFO: TCP Data received {"connection_id":141437,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a24f488012d8cb480059fce78000401272e..."} 
[2026-07-25 22:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a24f488012d8cb480059fce78000401272e..."} 
[2026-07-25 22:10:38] local.INFO: Processing buffer {"connection_id":141437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a24f488012d8cb480059fce78000401272e..."} 
[2026-07-25 22:10:38] local.INFO: Packet analysis {"connection_id":141437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:10:38] local.INFO: Extracted packet for processing {"connection_id":141437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a24"} 
[2026-07-25 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":764195968,"raw_latitude":94359160,"longitude_deg":76.4195968,"latitude_deg":9.435916,"altitude":4,"angle":295,"satellites":46,"speed":48,"hex_longitude":"2d8cb480","hex_latitude":"059fce78","is_valid_coordinates":true} 
[2026-07-25 22:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959368704001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358274098679250944,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8298445239228362752,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1784997541000,"timestamp_ms":1784997541000,"timestamp_seconds":1784997541,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a24f488"} 
[2026-07-25 22:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959368704001,"66":27376,"237":206,"85":14592,"24":48,"16":358274098679250944,"45":-8298445239228362752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-07-25 22:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959368704001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-25 22:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358274098679250944,"km_value":358274098679250.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8298445239228362752,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959368704001,"power":27376,"unknown_237":206,"unknown_85":14592,"ignition":48,"odometer":null,"unknown_45":-8298445239228362752}} 
[2026-07-25 22:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":141437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:38] local.INFO: GPS data processed {"connection_id":141437,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:38] local.INFO: Acknowledgment sent {"connection_id":141437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:43] local.INFO: TCP Data received {"connection_id":141383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a259c80012d79fbc005dcb148000501562a..."} 
[2026-07-25 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a259c80012d79fbc005dcb148000501562a..."} 
[2026-07-25 22:10:43] local.INFO: Processing buffer {"connection_id":141383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a259c80012d79fbc005dcb148000501562a..."} 
[2026-07-25 22:10:43] local.INFO: Packet analysis {"connection_id":141383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:10:43] local.INFO: Extracted packet for processing {"connection_id":141383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:10:43] local.INFO: GPS Element Parsed {"raw_longitude":762969024,"raw_latitude":98349384,"longitude_deg":76.2969024,"latitude_deg":9.8349384,"altitude":5,"angle":342,"satellites":42,"speed":34,"hex_longitude":"2d79fbc0","hex_latitude":"05dcb148","is_valid_coordinates":true} 
[2026-07-25 22:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959379200001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475131607842816,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793489403848656896,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997584000,"timestamp_ms":1784997584000,"timestamp_seconds":1784997584,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a259c80"} 
[2026-07-25 22:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959379200001,"66":11798,"173":206,"85":15104,"24":34,"16":110475131607842816,"45":8793489403848656896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959379200001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475131607842816,"km_value":110475131607842.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793489403848656896,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959379200001,"power":11798,"unknown_173":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8793489403848656896}} 
[2026-07-25 22:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":141383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:43] local.INFO: GPS data processed {"connection_id":141383,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:43] local.INFO: Acknowledgment sent {"connection_id":141383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:49] local.INFO: TCP Data received {"connection_id":143790,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:10:49] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:10:49] local.INFO: IMEI packet received {"connection_id":143790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":143790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:10:54] local.INFO: TCP Data received {"connection_id":143790,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:10:54] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:10:54] local.INFO: IMEI packet received {"connection_id":143790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":143790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:55] local.INFO: TCP Data received {"connection_id":143790,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:10:55] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:10:55] local.INFO: Packet analysis {"connection_id":143790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:10:55] local.INFO: Extracted packet for processing {"connection_id":143790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":143790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:10:55] local.INFO: GPS data processed {"connection_id":143790,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:10:55] local.INFO: Acknowledgment sent {"connection_id":143790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:10:55] local.INFO: TCP Data received {"connection_id":141438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:55] local.INFO: Processing buffer {"connection_id":141438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:55] local.INFO: IMEI packet received {"connection_id":141438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":141438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:10:56] local.INFO: TCP Data received {"connection_id":141438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:56] local.INFO: Processing buffer {"connection_id":141438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:56] local.INFO: IMEI packet received {"connection_id":141438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":141438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:10:59] local.INFO: TCP Data received {"connection_id":141438,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:59] local.INFO: Processing buffer {"connection_id":141438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:10:59] local.INFO: IMEI packet received {"connection_id":141438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":141438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:11:00] local.INFO: TCP Data received {"connection_id":141438,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2513c8012d8c92c0059fdec0000401292e..."} 
[2026-07-25 22:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2513c8012d8c92c0059fdec0000401292e..."} 
[2026-07-25 22:11:00] local.INFO: Processing buffer {"connection_id":141438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2513c8012d8c92c0059fdec0000401292e..."} 
[2026-07-25 22:11:00] local.INFO: Packet analysis {"connection_id":141438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:00] local.INFO: Extracted packet for processing {"connection_id":141438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:00] local.INFO: GPS Element Parsed {"raw_longitude":764187328,"raw_latitude":94363328,"longitude_deg":76.4187328,"latitude_deg":9.4363328,"altitude":4,"angle":297,"satellites":46,"speed":46,"hex_longitude":"2d8c92c0","hex_latitude":"059fdec0","is_valid_coordinates":true} 
[2026-07-25 22:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959370496001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358274558240751616,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8307874650947422208,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997549000,"timestamp_ms":1784997549000,"timestamp_seconds":1784997549,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2513c8"} 
[2026-07-25 22:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959370496001,"66":27332,"207":206,"85":14592,"24":46,"16":358274558240751616,"45":-8307874650947422208},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 22:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959370496001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 22:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358274558240751616,"km_value":358274558240751.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8307874650947422208,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959370496001,"power":27332,"unknown_207":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8307874650947422208}} 
[2026-07-25 22:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":141438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:01] local.INFO: GPS data processed {"connection_id":141438,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:01] local.INFO: Acknowledgment sent {"connection_id":141438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:03] local.INFO: TCP Data received {"connection_id":141384,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:11:03] local.INFO: Processing buffer {"connection_id":141384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:11:03] local.INFO: Packet analysis {"connection_id":141384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:03] local.INFO: Extracted packet for processing {"connection_id":141384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:11: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-07-25 22:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":141384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:03] local.INFO: GPS data processed {"connection_id":141384,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:03] local.INFO: Acknowledgment sent {"connection_id":141384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:11] local.INFO: TCP Data received {"connection_id":141385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:11:11] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:11:11] local.INFO: IMEI packet received {"connection_id":141385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":141385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:11:12] local.INFO: TCP Data received {"connection_id":141385,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:11:12] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:11:12] local.INFO: IMEI packet received {"connection_id":141385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":141385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:11:12] local.INFO: TCP Data received {"connection_id":141385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a25eaa0012d79f60005dcc5400004015a2a..."} 
[2026-07-25 22:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a25eaa0012d79f60005dcc5400004015a2a..."} 
[2026-07-25 22:11:12] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a25eaa0012d79f60005dcc5400004015a2a..."} 
[2026-07-25 22:11:12] local.INFO: Packet analysis {"connection_id":141385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:12] local.INFO: Extracted packet for processing {"connection_id":141385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:12] local.INFO: GPS Element Parsed {"raw_longitude":762967552,"raw_latitude":98354496,"longitude_deg":76.2967552,"latitude_deg":9.8354496,"altitude":4,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2d79f600","hex_latitude":"05dcc540","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959381504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475393600847872,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789830229153630208,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997604000,"timestamp_ms":1784997604000,"timestamp_seconds":1784997604,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a25eaa0"} 
[2026-07-25 22:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":124,"raw_value":57887839811949883,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2586102160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184155676877,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845756656,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2830041294,"corrected_to":0} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8812700045833928704,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931246594,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":26,"raw_value":4613335061188576769,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2882341144912464384,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":36,"raw_value":8331660605470064645,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-6149665248202446592,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.WARNING: Large IO value detected {"io_id":31,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:12] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,173,85,24,241,157,16,124,159,121,45,192,143,5,42,10,66,175,86,108,6,123,47,128,1,240,98,227,154,220,4,113,205,33,232,20,112,41,239,2,136,68,206,26,94,36,219,31],"length":632,"final_offset":762,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2830041294,"validated":0}]} 
[2026-07-25 22:11:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360664183557193728,"timestamp_seconds":360664183557193.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959381504001,"66":11798,"173":206,"85":15104,"24":0,"16":110475393600847872,"45":8789830229153630208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959381504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:11:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475393600847872,"km_value":110475393600847.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789830229153630208,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959381504001,"power":11798,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8789830229153630208}} 
[2026-07-25 22:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":141385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:12] local.INFO: GPS data processed {"connection_id":141385,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:12] local.INFO: Acknowledgment sent {"connection_id":141385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:16] local.INFO: TCP Data received {"connection_id":141385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a263ca8012d79f64005dcc3680004015a2a..."} 
[2026-07-25 22:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a263ca8012d79f64005dcc3680004015a2a..."} 
[2026-07-25 22:11:16] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a263ca8012d79f64005dcc3680004015a2a..."} 
[2026-07-25 22:11:16] local.INFO: Packet analysis {"connection_id":141385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:11:16] local.INFO: Extracted packet for processing {"connection_id":141385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:11:16] local.INFO: GPS Element Parsed {"raw_longitude":762967616,"raw_latitude":98354024,"longitude_deg":76.2967616,"latitude_deg":9.8354024,"altitude":4,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2d79f640","hex_latitude":"05dcc368","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959386624001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475419370651648,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788211748038852608,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784997625000,"timestamp_ms":1784997625000,"timestamp_seconds":1784997625,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a263ca8"} 
[2026-07-25 22:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2586110160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184171339981,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":22,"raw_value":1649205164640001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845756656,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2830041294,"corrected_to":0} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-7018858724423221243,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640104,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8834936568994070528,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931312130,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2954398738950392320,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":37,"raw_value":57887839811949883,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":219,"raw_value":-3769512862316353536,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:16] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,173,85,24,241,157,16,124,159,156,45,192,177,5,42,10,66,121,143,175,86,1,240,22,227,123,154,220,4,113,205,36,15,28,48,41,239,46,2,136,68,206,96,37,219,34],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2830041294,"validated":0}]} 
[2026-07-25 22:11:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288610987563548672,"timestamp_seconds":288610987563548.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959386624001,"66":11874,"173":206,"85":15104,"24":0,"16":110475419370651648,"45":8788211748038852608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959386624001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:16] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:11:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475419370651648,"km_value":110475419370651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788211748038852608,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959386624001,"power":11874,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8788211748038852608}} 
[2026-07-25 22:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":141385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:16] local.INFO: GPS data processed {"connection_id":141385,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:16] local.INFO: Acknowledgment sent {"connection_id":141385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:26] local.INFO: TCP Data received {"connection_id":141439,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:11:26] local.INFO: Processing buffer {"connection_id":141439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:11:26] local.INFO: IMEI packet received {"connection_id":141439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":141439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:11:26] local.INFO: TCP Data received {"connection_id":143790,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:11:26] local.INFO: Processing buffer {"connection_id":143790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2225c8012d77a94005f27b900013016323..."} 
[2026-07-25 22:11:26] local.INFO: Packet analysis {"connection_id":143790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:11:26] local.INFO: Extracted packet for processing {"connection_id":143790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a22"} 
[2026-07-25 22:11:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959246336001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997357000,"timestamp_ms":1784997357000,"timestamp_seconds":1784997357,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2225c8"} 
[2026-07-25 22:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959246336001,"66":25147,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959246336001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959246336001,"power":25147,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":143790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:26] local.INFO: GPS data processed {"connection_id":143790,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:26] local.INFO: Acknowledgment sent {"connection_id":143790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:31] local.INFO: TCP Data received {"connection_id":141439,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:11:31] local.INFO: Processing buffer {"connection_id":141439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:11:31] local.INFO: IMEI packet received {"connection_id":141439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":141439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:11:32] local.INFO: TCP Data received {"connection_id":141438,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2536f0012d8c7280059fefe00004012430..."} 
[2026-07-25 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2536f0012d8c7280059fefe00004012430..."} 
[2026-07-25 22:11:32] local.INFO: Processing buffer {"connection_id":141438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2536f0012d8c7280059fefe00004012430..."} 
[2026-07-25 22:11:32] local.INFO: Packet analysis {"connection_id":141438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:32] local.INFO: Extracted packet for processing {"connection_id":141438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":764179072,"raw_latitude":94367712,"longitude_deg":76.4179072,"latitude_deg":9.4367712,"altitude":4,"angle":292,"satellites":48,"speed":37,"hex_longitude":"2d8c7280","hex_latitude":"059fefe0","is_valid_coordinates":true} 
[2026-07-25 22:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959372544001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358275009212317696,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8317374431410339840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997558000,"timestamp_ms":1784997558000,"timestamp_seconds":1784997558,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2536f0"} 
[2026-07-25 22:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959372544001,"66":27397,"207":206,"85":14592,"24":37,"16":358275009212317696,"45":-8317374431410339840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959372544001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358275009212317696,"km_value":358275009212317.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8317374431410339840,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959372544001,"power":27397,"unknown_207":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-8317374431410339840}} 
[2026-07-25 22:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":141438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:32] local.INFO: GPS data processed {"connection_id":141438,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:32] local.INFO: Acknowledgment sent {"connection_id":141438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:32] local.INFO: TCP Data received {"connection_id":141439,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:11:32] local.INFO: Processing buffer {"connection_id":141439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:11:32] local.INFO: Packet analysis {"connection_id":141439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:32] local.INFO: Extracted packet for processing {"connection_id":141439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":141439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:32] local.INFO: GPS data processed {"connection_id":141439,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:32] local.INFO: Acknowledgment sent {"connection_id":141439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:47] local.INFO: TCP Data received {"connection_id":141385,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a268eb0012d79f64005dcc3680004015a2b..."} 
[2026-07-25 22:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a268eb0012d79f64005dcc3680004015a2b..."} 
[2026-07-25 22:11:47] local.INFO: Processing buffer {"connection_id":141385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a268eb0012d79f64005dcc3680004015a2b..."} 
[2026-07-25 22:11:47] local.INFO: Packet analysis {"connection_id":141385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:11:47] local.INFO: Extracted packet for processing {"connection_id":141385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:11:47] local.INFO: GPS Element Parsed {"raw_longitude":762967616,"raw_latitude":98354024,"longitude_deg":76.2967616,"latitude_deg":9.8354024,"altitude":4,"angle":346,"satellites":43,"speed":0,"hex_longitude":"2d79f640","hex_latitude":"05dcc368","is_valid_coordinates":true} 
[2026-07-25 22:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959392000001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475419370651648,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788282116782909440,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784997646000,"timestamp_ms":1784997646000,"timestamp_seconds":1784997646,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a268eb0"} 
[2026-07-25 22:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11: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-07-25 22: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959392000001,"66":11787,"173":206,"85":15104,"24":0,"16":110475419370651648,"45":8788282116782909440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959392000001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:47] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475419370651648,"km_value":110475419370651.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788282116782909440,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959392000001,"power":11787,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8788282116782909440}} 
[2026-07-25 22:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":141385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:47] local.INFO: GPS data processed {"connection_id":141385,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:47] local.INFO: Acknowledgment sent {"connection_id":141385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:48] local.INFO: TCP Data received {"connection_id":143791,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:11:48] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:11:48] local.INFO: IMEI packet received {"connection_id":143791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":143791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:11:54] local.INFO: TCP Data received {"connection_id":143791,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:11:54] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:11:54] local.INFO: IMEI packet received {"connection_id":143791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":143791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:11:54] local.INFO: TCP Data received {"connection_id":141440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:54] local.INFO: Processing buffer {"connection_id":141440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:54] local.INFO: IMEI packet received {"connection_id":141440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":141440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:11:54] local.INFO: TCP Data received {"connection_id":143791,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:11:54] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:11:54] local.INFO: Packet analysis {"connection_id":143791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:11:54] local.INFO: Extracted packet for processing {"connection_id":143791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:11:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":143791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:11:54] local.INFO: GPS data processed {"connection_id":143791,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:11:54] local.INFO: Acknowledgment sent {"connection_id":143791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:11:58] local.INFO: TCP Data received {"connection_id":141440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:58] local.INFO: Processing buffer {"connection_id":141440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:58] local.INFO: IMEI packet received {"connection_id":141440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":141440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:11:59] local.INFO: TCP Data received {"connection_id":141440,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:59] local.INFO: Processing buffer {"connection_id":141440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:11:59] local.INFO: IMEI packet received {"connection_id":141440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":141440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:12:00] local.INFO: TCP Data received {"connection_id":141440,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a268eb0012d8b058005a0a3d0000601282f..."} 
[2026-07-25 22:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a268eb0012d8b058005a0a3d0000601282f..."} 
[2026-07-25 22:12:00] local.INFO: Processing buffer {"connection_id":141440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a268eb0012d8b058005a0a3d0000601282f..."} 
[2026-07-25 22:12:00] local.INFO: Packet analysis {"connection_id":141440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:00] local.INFO: Extracted packet for processing {"connection_id":141440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":764085632,"raw_latitude":94413776,"longitude_deg":76.4085632,"latitude_deg":9.4413776,"altitude":6,"angle":296,"satellites":47,"speed":46,"hex_longitude":"2d8b0580","hex_latitude":"05a0a3d0","is_valid_coordinates":true} 
[2026-07-25 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959395328001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358280004259282944,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8419338741712007168,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997646000,"timestamp_ms":1784997646000,"timestamp_seconds":1784997646,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a268eb0"} 
[2026-07-25 22:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959395328001,"66":27343,"53":206,"85":14592,"24":46,"16":358280004259282944,"45":-8419338741712007168},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-25 22:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959395328001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-25 22:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358280004259282944,"km_value":358280004259282.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8419338741712007168,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959395328001,"power":27343,"unknown_53":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-8419338741712007168}} 
[2026-07-25 22:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":141440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:00] local.INFO: GPS data processed {"connection_id":141440,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:00] local.INFO: Acknowledgment sent {"connection_id":141440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:03] local.INFO: TCP Data received {"connection_id":141439,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:12:03] local.INFO: Processing buffer {"connection_id":141439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:12:03] local.INFO: Packet analysis {"connection_id":141439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:12:03] local.INFO: Extracted packet for processing {"connection_id":141439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:12: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-07-25 22: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-07-25 22:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:12:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":141439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:03] local.INFO: GPS data processed {"connection_id":141439,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:03] local.INFO: Acknowledgment sent {"connection_id":141439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:06] local.INFO: TCP Data received {"connection_id":142435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:12:06] local.INFO: Processing buffer {"connection_id":142435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:12:06] local.INFO: IMEI packet received {"connection_id":142435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":142435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:12:11] local.INFO: TCP Data received {"connection_id":142435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:12:11] local.INFO: Processing buffer {"connection_id":142435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:12:11] local.INFO: IMEI packet received {"connection_id":142435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":142435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:12:11] local.INFO: TCP Data received {"connection_id":142435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26aa08012d79f70005dcc1e00006008e2b..."} 
[2026-07-25 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26aa08012d79f70005dcc1e00006008e2b..."} 
[2026-07-25 22:12:11] local.INFO: Processing buffer {"connection_id":142435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26aa08012d79f70005dcc1e00006008e2b..."} 
[2026-07-25 22:12:11] local.INFO: Packet analysis {"connection_id":142435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:11] local.INFO: Extracted packet for processing {"connection_id":142435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":98353632,"longitude_deg":76.2967808,"latitude_deg":9.8353632,"altitude":6,"angle":142,"satellites":43,"speed":8,"hex_longitude":"2d79f700","hex_latitude":"05dcc1e0","is_valid_coordinates":true} 
[2026-07-25 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959397376001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475440845488128,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788282116782909440,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784997653000,"timestamp_ms":1784997653000,"timestamp_seconds":1784997653,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26aa08"} 
[2026-07-25 22:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2586128160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6946198725152658054,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2408054789,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2830041294,"corrected_to":0} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3221609580,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":136,"raw_value":8884757639871856640,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":68,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931377666,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":28,"raw_value":4613335484242855424,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.WARNING: Large IO value detected {"io_id":8,"raw_value":2954397639438764544,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:11] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,173,85,24,241,157,16,124,159,60,45,64,195,4,42,10,66,234,197,156,192,1,240,22,227,154,220,113,205,43,86,21,96,239,46,175,2,136,68,206,28,8],"length":533,"final_offset":663,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2830041294,"validated":0}]} 
[2026-07-25 22:12:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288610991858515968,"timestamp_seconds":288610991858515.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":142435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":142435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":142435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959397376001,"66":11895,"173":206,"85":15104,"24":8,"16":110475440845488128,"45":8788282116782909440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959397376001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:12:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475440845488128,"km_value":110475440845488.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788282116782909440,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959397376001,"power":11895,"unknown_173":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8788282116782909440}} 
[2026-07-25 22:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":142435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:12] local.INFO: GPS data processed {"connection_id":142435,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:12] local.INFO: Acknowledgment sent {"connection_id":142435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:25] local.INFO: TCP Data received {"connection_id":141441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:12:25] local.INFO: Processing buffer {"connection_id":141441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:12:25] local.INFO: IMEI packet received {"connection_id":141441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":141441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:12:26] local.INFO: TCP Data received {"connection_id":143791,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:12:26] local.INFO: Processing buffer {"connection_id":143791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:12:26] local.INFO: Packet analysis {"connection_id":143791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:26] local.INFO: Extracted packet for processing {"connection_id":143791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":143791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:26] local.INFO: GPS data processed {"connection_id":143791,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:26] local.INFO: Acknowledgment sent {"connection_id":143791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:31] local.INFO: TCP Data received {"connection_id":141441,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:12:31] local.INFO: Processing buffer {"connection_id":141441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:12:31] local.INFO: IMEI packet received {"connection_id":141441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":141441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:12:31] local.INFO: TCP Data received {"connection_id":141440,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26adf0012d8ae3c005a0b4b8000501282f..."} 
[2026-07-25 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26adf0012d8ae3c005a0b4b8000501282f..."} 
[2026-07-25 22:12:31] local.INFO: Processing buffer {"connection_id":141440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26adf0012d8ae3c005a0b4b8000501282f..."} 
[2026-07-25 22:12:31] local.INFO: Packet analysis {"connection_id":141440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:31] local.INFO: Extracted packet for processing {"connection_id":141440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":764076992,"raw_latitude":94418104,"longitude_deg":76.4076992,"latitude_deg":9.4418104,"altitude":5,"angle":296,"satellites":47,"speed":47,"hex_longitude":"2d8ae3c0","hex_latitude":"05a0b4b8","is_valid_coordinates":true} 
[2026-07-25 22:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959397376001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358280468115750912,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8429190365895733248,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997654000,"timestamp_ms":1784997654000,"timestamp_seconds":1784997654,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26adf0"} 
[2026-07-25 22:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959397376001,"66":27376,"53":206,"85":14592,"24":47,"16":358280468115750912,"45":-8429190365895733248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-25 22:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959397376001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:31] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-25 22:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358280468115750912,"km_value":358280468115750.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8429190365895733248,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959397376001,"power":27376,"unknown_53":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8429190365895733248}} 
[2026-07-25 22:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":141440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:31] local.INFO: GPS data processed {"connection_id":141440,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:31] local.INFO: Acknowledgment sent {"connection_id":141440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:32] local.INFO: TCP Data received {"connection_id":141441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:12:32] local.INFO: Processing buffer {"connection_id":141441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:12:32] local.INFO: Packet analysis {"connection_id":141441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:12:32] local.INFO: Extracted packet for processing {"connection_id":141441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:12:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":141441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:32] local.INFO: GPS data processed {"connection_id":141441,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:32] local.INFO: Acknowledgment sent {"connection_id":141441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:43] local.INFO: TCP Data received {"connection_id":142435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26adf0012d79f78005dcc130000600a12b..."} 
[2026-07-25 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26adf0012d79f78005dcc130000600a12b..."} 
[2026-07-25 22:12:43] local.INFO: Processing buffer {"connection_id":142435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26adf0012d79f78005dcc130000600a12b..."} 
[2026-07-25 22:12:43] local.INFO: Packet analysis {"connection_id":142435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:43] local.INFO: Extracted packet for processing {"connection_id":142435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:12:43] local.INFO: GPS Element Parsed {"raw_longitude":762967936,"raw_latitude":98353456,"longitude_deg":76.2967936,"latitude_deg":9.8353456,"altitude":6,"angle":161,"satellites":43,"speed":9,"hex_longitude":"2d79f780","hex_latitude":"05dcc130","is_valid_coordinates":true} 
[2026-07-25 22:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959399168001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475449435422720,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223015342080,"note":"Value kept but may cause issues"} 
[2026-07-25 22:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997654000,"timestamp_ms":1784997654000,"timestamp_seconds":1784997654,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26adf0"} 
[2026-07-25 22:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 22:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959399168001,"66":11895,"173":206,"85":15104,"24":9,"16":110475449435422720,"45":8788493223015342080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959399168001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:12:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:12:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475449435422720,"km_value":110475449435422.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223015342080,"description":"Unknown IO ID 45"} 
[2026-07-25 22:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959399168001,"power":11895,"unknown_173":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8788493223015342080}} 
[2026-07-25 22:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":142435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:12:43] local.INFO: GPS data processed {"connection_id":142435,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:12:43] local.INFO: Acknowledgment sent {"connection_id":142435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:12:54] local.INFO: TCP Data received {"connection_id":142436,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:12:54] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:12:54] local.INFO: IMEI packet received {"connection_id":142436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":142436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:12:59] local.INFO: TCP Data received {"connection_id":142436,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:12:59] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:12:59] local.INFO: IMEI packet received {"connection_id":142436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":142436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:12:59] local.INFO: TCP Data received {"connection_id":141442,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:12:59] local.INFO: Processing buffer {"connection_id":141442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:12:59] local.INFO: IMEI packet received {"connection_id":141442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":141442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:13:00] local.INFO: TCP Data received {"connection_id":142436,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:00] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:00] local.INFO: Packet analysis {"connection_id":142436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:00] local.INFO: Extracted packet for processing {"connection_id":142436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13: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-07-25 22:13: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":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":142436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:00] local.INFO: GPS data processed {"connection_id":142436,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:00] local.INFO: Acknowledgment sent {"connection_id":142436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:01] local.INFO: TCP Data received {"connection_id":141442,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:13:01] local.INFO: Processing buffer {"connection_id":141442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:13:01] local.INFO: IMEI packet received {"connection_id":141442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":141442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:13:03] local.INFO: TCP Data received {"connection_id":141441,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:13:03] local.INFO: Processing buffer {"connection_id":141441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:13:03] local.INFO: Packet analysis {"connection_id":141441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:13:03] local.INFO: Extracted packet for processing {"connection_id":141441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:13: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-07-25 22: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-07-25 22:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":141441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:03] local.INFO: GPS data processed {"connection_id":141441,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:03] local.INFO: Acknowledgment sent {"connection_id":141441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:04] local.INFO: TCP Data received {"connection_id":142436,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:04] local.INFO: Processing buffer {"connection_id":142436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:04] local.INFO: Packet analysis {"connection_id":142436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:04] local.INFO: Extracted packet for processing {"connection_id":142436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13: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-07-25 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":142436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:05] local.INFO: GPS data processed {"connection_id":142436,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:05] local.INFO: Acknowledgment sent {"connection_id":142436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:06] local.INFO: TCP Data received {"connection_id":142437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:13:06] local.INFO: Processing buffer {"connection_id":142437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:13:06] local.INFO: IMEI packet received {"connection_id":142437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":142437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:13:09] local.INFO: TCP Data received {"connection_id":141442,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26cd30012d8ac2c005a0c5580005012830..."} 
[2026-07-25 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26cd30012d8ac2c005a0c5580005012830..."} 
[2026-07-25 22:13:09] local.INFO: Processing buffer {"connection_id":141442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26cd30012d8ac2c005a0c5580005012830..."} 
[2026-07-25 22:13:09] local.INFO: Packet analysis {"connection_id":141442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:09] local.INFO: Extracted packet for processing {"connection_id":141442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":764068544,"raw_latitude":94422360,"longitude_deg":76.4068544,"latitude_deg":9.442236,"altitude":5,"angle":296,"satellites":48,"speed":47,"hex_longitude":"2d8ac2c0","hex_latitude":"05a0c558","is_valid_coordinates":true} 
[2026-07-25 22:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959399424001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358280919087316992,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8438690146358609920,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784997662000,"timestamp_ms":1784997662000,"timestamp_seconds":1784997662,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26cd30"} 
[2026-07-25 22:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959399424001,"66":27343,"53":206,"85":14592,"24":47,"16":358280919087316992,"45":-8438690146358609920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959399424001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358280919087316992,"km_value":358280919087317.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8438690146358609920,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959399424001,"power":27343,"unknown_53":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8438690146358609920}} 
[2026-07-25 22:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":141442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:09] local.INFO: GPS data processed {"connection_id":141442,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:09] local.INFO: Acknowledgment sent {"connection_id":141442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:09] local.INFO: TCP Data received {"connection_id":141442,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26ec70012d8aa18005a0d6680007012831..."} 
[2026-07-25 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26ec70012d8aa18005a0d6680007012831..."} 
[2026-07-25 22:13:09] local.INFO: Processing buffer {"connection_id":141442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26ec70012d8aa18005a0d6680007012831..."} 
[2026-07-25 22:13:09] local.INFO: Packet analysis {"connection_id":141442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:09] local.INFO: Extracted packet for processing {"connection_id":141442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":764060032,"raw_latitude":94426728,"longitude_deg":76.4060032,"latitude_deg":9.4426728,"altitude":7,"angle":296,"satellites":49,"speed":45,"hex_longitude":"2d8aa180","hex_latitude":"05a0d668","is_valid_coordinates":true} 
[2026-07-25 22:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959401472001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358281378648817664,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8447978820588972032,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1784997670000,"timestamp_ms":1784997670000,"timestamp_seconds":1784997670,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26ec70"} 
[2026-07-25 22:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":141442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":141442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":141442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959401472001,"66":27213,"53":206,"85":14592,"24":45,"16":358281378648817664,"45":-8447978820588972032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-07-25 22:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959401472001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358281378648817664,"km_value":358281378648817.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8447978820588972032,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959401472001,"power":27213,"unknown_53":206,"unknown_85":14592,"ignition":45,"odometer":null,"unknown_45":-8447978820588972032}} 
[2026-07-25 22:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":141442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:09] local.INFO: GPS data processed {"connection_id":141442,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:09] local.INFO: Acknowledgment sent {"connection_id":141442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:11] local.INFO: TCP Data received {"connection_id":142437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:13:11] local.INFO: Processing buffer {"connection_id":142437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:13:11] local.INFO: IMEI packet received {"connection_id":142437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":142437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:13:12] local.INFO: TCP Data received {"connection_id":142437,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26ec70012d7a034005dc9e78000700a12a..."} 
[2026-07-25 22:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26ec70012d7a034005dc9e78000700a12a..."} 
[2026-07-25 22:13:12] local.INFO: Processing buffer {"connection_id":142437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26ec70012d7a034005dc9e78000700a12a..."} 
[2026-07-25 22:13:12] local.INFO: Packet analysis {"connection_id":142437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:12] local.INFO: Extracted packet for processing {"connection_id":142437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":762970944,"raw_latitude":98344568,"longitude_deg":76.2970944,"latitude_deg":9.8344568,"altitude":7,"angle":161,"satellites":42,"speed":27,"hex_longitude":"2d7a0340","hex_latitude":"05dc9e78","is_valid_coordinates":true} 
[2026-07-25 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959399424001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110475908996923392,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788633960503652352,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997670000,"timestamp_ms":1784997670000,"timestamp_seconds":1784997670,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26ec70"} 
[2026-07-25 22:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959399424001,"66":11482,"173":206,"85":15104,"24":27,"16":110475908996923392,"45":8788633960503652352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959399424001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110475908996923392,"km_value":110475908996923.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788633960503652352,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959399424001,"power":11482,"unknown_173":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8788633960503652352}} 
[2026-07-25 22:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":142437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:12] local.INFO: GPS data processed {"connection_id":142437,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:12] local.INFO: Acknowledgment sent {"connection_id":142437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:25] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:13:25] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:13:25] local.INFO: IMEI packet received {"connection_id":143792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":143792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:13:31] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:13:31] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:13:31] local.INFO: IMEI packet received {"connection_id":143792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":143792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:13:32] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:13:32] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:13:32] local.INFO: Packet analysis {"connection_id":143792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:13:32] local.INFO: Extracted packet for processing {"connection_id":143792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:13:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":143792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:32] local.INFO: GPS data processed {"connection_id":143792,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:32] local.INFO: Acknowledgment sent {"connection_id":143792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:43] local.INFO: TCP Data received {"connection_id":142437,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26fff8012d7a05c005dc95f0000700ad2a..."} 
[2026-07-25 22:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26fff8012d7a05c005dc95f0000700ad2a..."} 
[2026-07-25 22:13:43] local.INFO: Processing buffer {"connection_id":142437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26fff8012d7a05c005dc95f0000700ad2a..."} 
[2026-07-25 22:13:43] local.INFO: Packet analysis {"connection_id":142437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:43] local.INFO: Extracted packet for processing {"connection_id":142437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:43] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":98342384,"longitude_deg":76.2971584,"latitude_deg":9.8342384,"altitude":7,"angle":173,"satellites":42,"speed":7,"hex_longitude":"2d7a05c0","hex_latitude":"05dc95f0","is_valid_coordinates":true} 
[2026-07-25 22:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959403520001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476016371105792,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791941291477727232,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997675000,"timestamp_ms":1784997675000,"timestamp_seconds":1784997675,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26fff8"} 
[2026-07-25 22:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959403520001,"66":11776,"173":206,"85":15104,"24":7,"16":110476016371105792,"45":8791941291477727232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959403520001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476016371105792,"km_value":110476016371105.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791941291477727232,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959403520001,"power":11776,"unknown_173":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8791941291477727232}} 
[2026-07-25 22:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":142437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:43] local.INFO: GPS data processed {"connection_id":142437,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:43] local.INFO: Acknowledgment sent {"connection_id":142437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:49] local.INFO: TCP Data received {"connection_id":141386,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:13:49] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:13:49] local.INFO: IMEI packet received {"connection_id":141386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":141386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:13:54] local.INFO: TCP Data received {"connection_id":141386,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:13:54] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:13:54] local.INFO: IMEI packet received {"connection_id":141386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":141386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:13:55] local.INFO: TCP Data received {"connection_id":141386,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:55] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:13:55] local.INFO: Packet analysis {"connection_id":141386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:55] local.INFO: Extracted packet for processing {"connection_id":141386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":141386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:13:55] local.INFO: GPS data processed {"connection_id":141386,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:13:55] local.INFO: Acknowledgment sent {"connection_id":141386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:13:57] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:13:57] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:13:57] local.INFO: IMEI packet received {"connection_id":141443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":141443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:14:00] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:14:00] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:14:00] local.INFO: IMEI packet received {"connection_id":141443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":141443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:14:02] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:14:02] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:14:02] local.INFO: IMEI packet received {"connection_id":141443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":141443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:14:03] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":717,"data_hex":"00000000000002c18e090000019f9a287310012d88d40005a1baa00005012830..."} 
[2026-07-25 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":717,"packet_hex":"00000000000002c18e090000019f9a287310012d88d40005a1baa00005012830..."} 
[2026-07-25 22:14:03] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":717,"buffer_hex":"00000000000002c18e090000019f9a287310012d88d40005a1baa00005012830..."} 
[2026-07-25 22:14:03] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e090000019f9a28"} 
[2026-07-25 22:14:03] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e090000019f9a28"} 
[2026-07-25 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763941888,"raw_latitude":94485152,"longitude_deg":76.3941888,"latitude_deg":9.4485152,"altitude":5,"angle":296,"satellites":48,"speed":49,"hex_longitude":"2d88d400","hex_latitude":"05a1baa0","is_valid_coordinates":true} 
[2026-07-25 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-07-25 22:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358286502544801792,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,151,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-25 22:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997770000,"timestamp_ms":1784997770000,"timestamp_seconds":1784997770,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a287310"} 
[2026-07-25 22:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":717,"current_offset":136} 
[2026-07-25 22:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:03] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-07-25 22:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27245,"151":206,"85":14592,"24":49,"16":358286502544801792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16]} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358286502544801792,"km_value":358286502544801.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27245,"unknown_151":206,"unknown_85":14592,"ignition":49,"odometer":null}} 
[2026-07-25 22:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:03] local.INFO: GPS data processed {"connection_id":141443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:03] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:03] local.INFO: TCP Data received {"connection_id":143792,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:14:03] local.INFO: Processing buffer {"connection_id":143792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:14:03] local.INFO: Packet analysis {"connection_id":143792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:14:03] local.INFO: Extracted packet for processing {"connection_id":143792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:14: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-07-25 22:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":143792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:03] local.INFO: GPS data processed {"connection_id":143792,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:03] local.INFO: Acknowledgment sent {"connection_id":143792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:03] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:04] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:04] local.INFO: IMEI packet received {"connection_id":143793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":143793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:14:06] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:06] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:06] local.INFO: IMEI packet received {"connection_id":143793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":143793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:14:11] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:11] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:14:11] local.INFO: IMEI packet received {"connection_id":143793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":143793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:14:12] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a274e18012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a274e18012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:14:12] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a274e18012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:14:12] local.INFO: Packet analysis {"connection_id":143793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a27"} 
[2026-07-25 22:14:12] local.INFO: Extracted packet for processing {"connection_id":143793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a27"} 
[2026-07-25 22:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959404800001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644978918944768,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997695000,"timestamp_ms":1784997695000,"timestamp_seconds":1784997695,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a274e18"} 
[2026-07-25 22:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2586176160,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3278372868,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2829910222,"corrected_to":0} 
[2026-07-25 22:14:12] local.WARNING: Large IO value detected {"io_id":60,"raw_value":2818649465,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:12] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1074126019,"corrected_to":0} 
[2026-07-25 22:14:12] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,173,85,24,241,157,16,125,159,236,45,64,158,7,42,10,66,128,193,6,43,124,170,1,240,119,227,154,220,4,113,205,60,246,104,239,46,2,136],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2829910222,"validated":0},{"io_id":246,"original":1074126019,"validated":0}]} 
[2026-07-25 22:14:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504593554166185984,"timestamp_seconds":504593554166186.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-25 22:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":143793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":143793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":143793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959404800001,"66":12004,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792644978918944768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959404800001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:14:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644978918944768,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959404800001,"power":12004,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792644978918944768}} 
[2026-07-25 22:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":143793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:12] local.INFO: GPS data processed {"connection_id":143793,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:12] local.INFO: Acknowledgment sent {"connection_id":143793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:26] local.INFO: TCP Data received {"connection_id":141386,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:14:26] local.INFO: Processing buffer {"connection_id":141386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:14:26] local.INFO: Packet analysis {"connection_id":141386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:14:26] local.INFO: Extracted packet for processing {"connection_id":141386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":141386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:26] local.INFO: GPS data processed {"connection_id":141386,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:26] local.INFO: Acknowledgment sent {"connection_id":141386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:31] local.INFO: TCP Data received {"connection_id":141444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:14:31] local.INFO: Processing buffer {"connection_id":141444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:14:31] local.INFO: IMEI packet received {"connection_id":141444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":141444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:14:34] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":327,"data_hex":"000000000000013b8e040000019f9a289250012d88b04005a1cc500002012731..."} 
[2026-07-25 22:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":327,"packet_hex":"000000000000013b8e040000019f9a289250012d88b04005a1cc500002012731..."} 
[2026-07-25 22:14:34] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019f9a289250012d88b04005a1cc500002012731..."} 
[2026-07-25 22:14:34] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019f9a28"} 
[2026-07-25 22:14:34] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019f9a28"} 
[2026-07-25 22:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763932736,"raw_latitude":94489680,"longitude_deg":76.3932736,"latitude_deg":9.448968,"altitude":2,"angle":295,"satellites":49,"speed":51,"hex_longitude":"2d88b040","hex_latitude":"05a1cc50","is_valid_coordinates":true} 
[2026-07-25 22: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":327,"current_offset":40} 
[2026-07-25 22:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959429120001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358286992171073536,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8587238565300494336,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1784997778000,"timestamp_ms":1784997778000,"timestamp_seconds":1784997778,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a289250"} 
[2026-07-25 22:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":109,"data_length":327,"current_offset":136} 
[2026-07-25 22:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:34] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-07-25 22:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959429120001,"66":27321,"151":206,"85":14592,"24":51,"16":358286992171073536,"45":-8587238565300494336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-25 22:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959429120001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:34] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-25 22:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358286992171073536,"km_value":358286992171073.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8587238565300494336,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959429120001,"power":27321,"unknown_151":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8587238565300494336}} 
[2026-07-25 22:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:34] local.INFO: GPS data processed {"connection_id":141443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:34] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:36] local.INFO: TCP Data received {"connection_id":141444,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:14:36] local.INFO: Processing buffer {"connection_id":141444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:14:36] local.INFO: IMEI packet received {"connection_id":141444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":141444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:14:37] local.INFO: TCP Data received {"connection_id":141444,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:14:37] local.INFO: Processing buffer {"connection_id":141444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:14:37] local.INFO: Packet analysis {"connection_id":141444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:14:37] local.INFO: Extracted packet for processing {"connection_id":141444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14: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-07-25 22:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":141444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:37] local.INFO: GPS data processed {"connection_id":141444,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:37] local.INFO: Acknowledgment sent {"connection_id":141444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:43] local.INFO: TCP Data received {"connection_id":143793,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a27a020012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a27a020012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:14:43] local.INFO: Processing buffer {"connection_id":143793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a27a020012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:14:43] local.INFO: Packet analysis {"connection_id":143793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a27"} 
[2026-07-25 22:14:43] local.INFO: Extracted packet for processing {"connection_id":143793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a27"} 
[2026-07-25 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959409920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822639597568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997716000,"timestamp_ms":1784997716000,"timestamp_seconds":1784997716,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a27a020"} 
[2026-07-25 22:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 22:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959409920001,"66":12004,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792996822639597568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959409920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:14:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822639597568,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959409920001,"power":12004,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792996822639597568}} 
[2026-07-25 22:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":143793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:43] local.INFO: GPS data processed {"connection_id":143793,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:43] local.INFO: Acknowledgment sent {"connection_id":143793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:14:48] local.INFO: TCP Data received {"connection_id":142438,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:14:48] local.INFO: Processing buffer {"connection_id":142438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:14:48] local.INFO: IMEI packet received {"connection_id":142438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":142438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:14:54] local.INFO: TCP Data received {"connection_id":142438,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:14:54] local.INFO: Processing buffer {"connection_id":142438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:14:54] local.INFO: IMEI packet received {"connection_id":142438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":142438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:14:55] local.INFO: TCP Data received {"connection_id":142438,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:14:55] local.INFO: Processing buffer {"connection_id":142438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:14:55] local.INFO: Packet analysis {"connection_id":142438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:14:55] local.INFO: Extracted packet for processing {"connection_id":142438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":142438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:14:55] local.INFO: GPS data processed {"connection_id":142438,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:14:55] local.INFO: Acknowledgment sent {"connection_id":142438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:06] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a28ada8012d888fc005a1da500005012530..."} 
[2026-07-25 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a28ada8012d888fc005a1da500005012530..."} 
[2026-07-25 22:15:06] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a28ada8012d888fc005a1da500005012530..."} 
[2026-07-25 22:15:06] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a28"} 
[2026-07-25 22:15:06] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a28"} 
[2026-07-25 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763924416,"raw_latitude":94493264,"longitude_deg":76.3924416,"latitude_deg":9.4493264,"altitude":5,"angle":293,"satellites":48,"speed":48,"hex_longitude":"2d888fc0","hex_latitude":"05a1da50","is_valid_coordinates":true} 
[2026-07-25 22:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 22:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:15:06] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:15:06] local.ERROR: GPS data processing failed {"connection_id":141443,"error":"No valid data to process"} 
[2026-07-25 22:15:06] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:15:06] local.INFO: TCP Data received {"connection_id":142439,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:06] local.INFO: Processing buffer {"connection_id":142439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:06] local.INFO: IMEI packet received {"connection_id":142439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":142439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:15:06] local.INFO: TCP Data received {"connection_id":142439,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:06] local.INFO: Processing buffer {"connection_id":142439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:06] local.INFO: IMEI packet received {"connection_id":142439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":142439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:15:08] local.INFO: TCP Data received {"connection_id":141444,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:15:08] local.INFO: Processing buffer {"connection_id":141444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2565d0012d196400071fefb00048006e28..."} 
[2026-07-25 22:15:08] local.INFO: Packet analysis {"connection_id":141444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:15:08] local.INFO: Extracted packet for processing {"connection_id":141444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a25"} 
[2026-07-25 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":40,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959300864001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15: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-07-25 22:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784997570000,"timestamp_ms":1784997570000,"timestamp_seconds":1784997570,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2565d0"} 
[2026-07-25 22:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15: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-07-25 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:15: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-07-25 22:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959300864001,"66":2155,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959300864001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959300864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":141444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:08] local.INFO: GPS data processed {"connection_id":141444,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:08] local.INFO: Acknowledgment sent {"connection_id":141444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:11] local.INFO: TCP Data received {"connection_id":142439,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:11] local.INFO: Processing buffer {"connection_id":142439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:15:11] local.INFO: IMEI packet received {"connection_id":142439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":142439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:15:12] local.INFO: TCP Data received {"connection_id":142439,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a27f228012d7a070005dc9258000800ad2a..."} 
[2026-07-25 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a27f228012d7a070005dc9258000800ad2a..."} 
[2026-07-25 22:15:12] local.INFO: Processing buffer {"connection_id":142439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a27f228012d7a070005dc9258000800ad2a..."} 
[2026-07-25 22:15:12] local.INFO: Packet analysis {"connection_id":142439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a27"} 
[2026-07-25 22:15:12] local.INFO: Extracted packet for processing {"connection_id":142439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a27"} 
[2026-07-25 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":42,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959415296001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822639597568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997737000,"timestamp_ms":1784997737000,"timestamp_seconds":1784997737,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a27f228"} 
[2026-07-25 22:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-25 22:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":142439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":142439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":142439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959415296001,"66":12917,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792996822639597568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959415296001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:15:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822639597568,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959415296001,"power":12917,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792996822639597568}} 
[2026-07-25 22:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":142439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:12] local.INFO: GPS data processed {"connection_id":142439,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:12] local.INFO: Acknowledgment sent {"connection_id":142439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:26] local.INFO: TCP Data received {"connection_id":143794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:15:26] local.INFO: Processing buffer {"connection_id":143794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:15:26] local.INFO: IMEI packet received {"connection_id":143794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":143794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:15:26] local.INFO: TCP Data received {"connection_id":142438,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:15:26] local.INFO: Processing buffer {"connection_id":142438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:15:26] local.INFO: Packet analysis {"connection_id":142438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:15:26] local.INFO: Extracted packet for processing {"connection_id":142438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:15:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":142438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:26] local.INFO: GPS data processed {"connection_id":142438,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:26] local.INFO: Acknowledgment sent {"connection_id":142438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:31] local.INFO: TCP Data received {"connection_id":143794,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:15:31] local.INFO: Processing buffer {"connection_id":143794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:15:31] local.INFO: IMEI packet received {"connection_id":143794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":143794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:15:31] local.INFO: TCP Data received {"connection_id":143794,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:15:31] local.INFO: Processing buffer {"connection_id":143794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:15:31] local.INFO: Packet analysis {"connection_id":143794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:15:31] local.INFO: Extracted packet for processing {"connection_id":143794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15:31] 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-07-25 22:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:15:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":143794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:32] local.INFO: GPS data processed {"connection_id":143794,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:32] local.INFO: Acknowledgment sent {"connection_id":143794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:37] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":561,"data_hex":"00000000000002258e070000019f9a2a1508012d86fc8005a2a2780006012730..."} 
[2026-07-25 22:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":561,"packet_hex":"00000000000002258e070000019f9a2a1508012d86fc8005a2a2780006012730..."} 
[2026-07-25 22:15:37] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":561,"buffer_hex":"00000000000002258e070000019f9a2a1508012d86fc8005a2a2780006012730..."} 
[2026-07-25 22:15:37] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019f9a2a"} 
[2026-07-25 22:15:37] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019f9a2a"} 
[2026-07-25 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763821184,"raw_latitude":94544504,"longitude_deg":76.3821184,"latitude_deg":9.4544504,"altitude":6,"angle":295,"satellites":48,"speed":51,"hex_longitude":"2d86fc80","hex_latitude":"05a2a278","is_valid_coordinates":true} 
[2026-07-25 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":561,"current_offset":40} 
[2026-07-25 22:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959454720001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358292953585680384,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8710806080062326784,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784997877000,"timestamp_ms":1784997877000,"timestamp_seconds":1784997877,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2a1508"} 
[2026-07-25 22:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":561,"current_offset":136} 
[2026-07-25 22:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:37] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-07-25 22:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959454720001,"66":27343,"151":206,"85":14592,"24":51,"16":358292953585680384,"45":-8710806080062326784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-25 22:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959454720001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:37] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-25 22:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358292953585680384,"km_value":358292953585680.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8710806080062326784,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959454720001,"power":27343,"unknown_151":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8710806080062326784}} 
[2026-07-25 22:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:37] local.INFO: GPS data processed {"connection_id":141443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:37] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:43] local.INFO: TCP Data received {"connection_id":142439,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a284430012d7a070005dc9258000800ad2b..."} 
[2026-07-25 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a284430012d7a070005dc9258000800ad2b..."} 
[2026-07-25 22:15:43] local.INFO: Processing buffer {"connection_id":142439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a284430012d7a070005dc9258000800ad2b..."} 
[2026-07-25 22:15:43] local.INFO: Packet analysis {"connection_id":142439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a28"} 
[2026-07-25 22:15:43] local.INFO: Extracted packet for processing {"connection_id":142439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a28"} 
[2026-07-25 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":43,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959420672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822639597568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784997758000,"timestamp_ms":1784997758000,"timestamp_seconds":1784997758,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a284430"} 
[2026-07-25 22:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-25 22:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959420672001,"66":12461,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792996822639597568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959420672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:43] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:15:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822639597568,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959420672001,"power":12461,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792996822639597568}} 
[2026-07-25 22:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":142439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:43] local.INFO: GPS data processed {"connection_id":142439,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:43] local.INFO: Acknowledgment sent {"connection_id":142439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:15:48] local.INFO: TCP Data received {"connection_id":141387,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:15:48] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:15:48] local.INFO: IMEI packet received {"connection_id":141387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":141387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:15:54] local.INFO: TCP Data received {"connection_id":141387,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:15:54] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:15:54] local.INFO: IMEI packet received {"connection_id":141387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":141387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:15:55] local.INFO: TCP Data received {"connection_id":141387,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:15:55] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:15:55] local.INFO: Packet analysis {"connection_id":141387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:15:55] local.INFO: Extracted packet for processing {"connection_id":141387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":141387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:15:55] local.INFO: GPS data processed {"connection_id":141387,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:15:55] local.INFO: Acknowledgment sent {"connection_id":141387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:16:03] local.INFO: TCP Data received {"connection_id":143794,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:16:03] local.INFO: Processing buffer {"connection_id":143794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:16:03] local.INFO: Packet analysis {"connection_id":143794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:16:03] local.INFO: Extracted packet for processing {"connection_id":143794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:16:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:16: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-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:16: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-07-25 22: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-07-25 22:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:16:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:16:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":143794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:16:03] local.INFO: GPS data processed {"connection_id":143794,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:16:03] local.INFO: Acknowledgment sent {"connection_id":143794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:16:05] local.INFO: TCP Data received {"connection_id":141445,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:16:05] local.INFO: Processing buffer {"connection_id":141445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:16:05] local.INFO: IMEI packet received {"connection_id":141445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":141445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:16:08] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":171,"data_hex":"000000000000009f8e020000019f9a2a3448012d86d94005a2b3c00008012830..."} 
[2026-07-25 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":171,"packet_hex":"000000000000009f8e020000019f9a2a3448012d86d94005a2b3c00008012830..."} 
[2026-07-25 22:16:08] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f9a2a3448012d86d94005a2b3c00008012830..."} 
[2026-07-25 22:16:08] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f9a2a"} 
[2026-07-25 22:16:08] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f9a2a"} 
[2026-07-25 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763812160,"raw_latitude":94548928,"longitude_deg":76.381216,"latitude_deg":9.4548928,"altitude":8,"angle":296,"satellites":48,"speed":47,"hex_longitude":"2d86d940","hex_latitude":"05a2b3c0","is_valid_coordinates":true} 
[2026-07-25 22:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-07-25 22:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959456512001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358293434622017536,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8719954016804374528,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784997885000,"timestamp_ms":1784997885000,"timestamp_seconds":1784997885,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2a3448"} 
[2026-07-25 22:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":171,"current_offset":136} 
[2026-07-25 22:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:16:08] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-25 22:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959456512001,"66":27365,"151":206,"85":14592,"24":47,"16":358293434622017536,"45":-8719954016804374528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-07-25 22:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959456512001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:16:08] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-25 22:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358293434622017536,"km_value":358293434622017.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8719954016804374528,"description":"Unknown IO ID 45"} 
[2026-07-25 22:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959456512001,"power":27365,"unknown_151":206,"unknown_85":14592,"ignition":47,"odometer":null,"unknown_45":-8719954016804374528}} 
[2026-07-25 22:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:16:08] local.INFO: GPS data processed {"connection_id":141443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:16:08] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:16:11] local.INFO: TCP Data received {"connection_id":141445,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141445,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:16:11] local.INFO: Processing buffer {"connection_id":141445,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:16:11] local.INFO: IMEI packet received {"connection_id":141445,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":141445,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:16:12] local.INFO: TCP Data received {"connection_id":141445,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a289638012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a289638012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:16:12] local.INFO: Processing buffer {"connection_id":141445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a289638012d7a070005dc9258000800ad29..."} 
[2026-07-25 22:16:12] local.INFO: Packet analysis {"connection_id":141445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a28"} 
[2026-07-25 22:16:12] local.INFO: Extracted packet for processing {"connection_id":141445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a28"} 
[2026-07-25 22:16:12] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":41,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959426048001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822639597568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997779000,"timestamp_ms":1784997779000,"timestamp_seconds":1784997779,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a289638"} 
[2026-07-25 22:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-25 22:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141445,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959426048001,"66":12798,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792996822639597568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959426048001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:16:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822639597568,"description":"Unknown IO ID 45"} 
[2026-07-25 22:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959426048001,"power":12798,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792996822639597568}} 
[2026-07-25 22:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":141445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:16:12] local.INFO: GPS data processed {"connection_id":141445,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:16:12] local.INFO: Acknowledgment sent {"connection_id":141445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:16:26] local.INFO: TCP Data received {"connection_id":143795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:16:26] local.INFO: Processing buffer {"connection_id":143795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:16:26] local.INFO: IMEI packet received {"connection_id":143795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":143795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:16:26] local.INFO: TCP Data received {"connection_id":141387,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:16:26] local.INFO: Processing buffer {"connection_id":141387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a26bd90012d77a94005f27b900013016323..."} 
[2026-07-25 22:16:26] local.INFO: Packet analysis {"connection_id":141387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:16:26] local.INFO: Extracted packet for processing {"connection_id":141387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a26"} 
[2026-07-25 22:16:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959323392001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997658000,"timestamp_ms":1784997658000,"timestamp_seconds":1784997658,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a26bd90"} 
[2026-07-25 22:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-25 22:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959323392001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959323392001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:16:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959323392001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":141387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:16:26] local.INFO: GPS data processed {"connection_id":141387,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:16:26] local.INFO: Acknowledgment sent {"connection_id":141387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:16:31] local.INFO: TCP Data received {"connection_id":143795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:16:31] local.INFO: Processing buffer {"connection_id":143795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:16:31] local.INFO: IMEI packet received {"connection_id":143795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":143795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:16:31] local.INFO: TCP Data received {"connection_id":143795,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:16:31] local.INFO: Processing buffer {"connection_id":143795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:16:31] local.INFO: Packet analysis {"connection_id":143795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:16:31] local.INFO: Extracted packet for processing {"connection_id":143795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:16:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:16:31] 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-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:16:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":143795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:16:32] local.INFO: GPS data processed {"connection_id":143795,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:16:32] local.INFO: Acknowledgment sent {"connection_id":143795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:16:48] local.INFO: TCP Data received {"connection_id":141388,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:16:48] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:16:48] local.INFO: IMEI packet received {"connection_id":141388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":141388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:16:53] local.INFO: TCP Data received {"connection_id":141388,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:16:53] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:16:53] local.INFO: IMEI packet received {"connection_id":141388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":141388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:16:54] local.INFO: TCP Data received {"connection_id":141388,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:16:54] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:16:54] local.INFO: Packet analysis {"connection_id":141388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:16:54] local.INFO: Extracted packet for processing {"connection_id":141388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:16: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-07-25 22: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-07-25 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:16:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":141388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:16:54] local.INFO: GPS data processed {"connection_id":141388,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:16:54] local.INFO: Acknowledgment sent {"connection_id":141388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:17:03] local.INFO: TCP Data received {"connection_id":143795,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:17:03] local.INFO: Processing buffer {"connection_id":143795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:17:03] local.INFO: Packet analysis {"connection_id":143795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:17:03] local.INFO: Extracted packet for processing {"connection_id":143795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:17:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:17: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-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:17: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-07-25 22:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":143795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":143795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":143795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:17:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:17:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":143795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:17:03] local.INFO: GPS data processed {"connection_id":143795,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:17:03] local.INFO: Acknowledgment sent {"connection_id":143795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:17:25] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:17:25] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:17:25] local.INFO: IMEI packet received {"connection_id":141389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":141389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:17:26] local.INFO: TCP Data received {"connection_id":141388,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:17:26] local.INFO: Processing buffer {"connection_id":141388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:17:26] local.INFO: Packet analysis {"connection_id":141388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:17:26] local.INFO: Extracted packet for processing {"connection_id":141388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:17:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:17:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":141388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:17:26] local.INFO: GPS data processed {"connection_id":141388,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:17:26] local.INFO: Acknowledgment sent {"connection_id":141388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:17:31] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:17:31] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:17:31] local.INFO: IMEI packet received {"connection_id":141389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":141389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:17:31] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:17:31] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:17:31] local.INFO: Packet analysis {"connection_id":141389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:17:31] local.INFO: Extracted packet for processing {"connection_id":141389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:17:31] 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-07-25 22:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:17:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":141389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:17:32] local.INFO: GPS data processed {"connection_id":141389,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:17:32] local.INFO: Acknowledgment sent {"connection_id":141389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:17:38] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a2a5388012d86b74005a2c4b8000a012830..."} 
[2026-07-25 22:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a2a5388012d86b74005a2c4b8000a012830..."} 
[2026-07-25 22:17:38] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a2a5388012d86b74005a2c4b8000a012830..."} 
[2026-07-25 22:17:38] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a2a"} 
[2026-07-25 22:17:38] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a2a"} 
[2026-07-25 22:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763803456,"raw_latitude":94553272,"longitude_deg":76.3803456,"latitude_deg":9.4553272,"altitude":10,"angle":296,"satellites":48,"speed":48,"hex_longitude":"2d86b740","hex_latitude":"05a2c4b8","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:17:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:17:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:17:38] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:17:38] local.ERROR: GPS data processing failed {"connection_id":141443,"error":"No valid data to process"} 
[2026-07-25 22:17:38] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:17:40] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":483,"data_hex":"00000000000001d78e060000019f9a2b97c0012d854d4005a37aa80004012830..."} 
[2026-07-25 22:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":483,"packet_hex":"00000000000001d78e060000019f9a2b97c0012d854d4005a37aa80004012830..."} 
[2026-07-25 22:17:40] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019f9a2b97c0012d854d4005a37aa80004012830..."} 
[2026-07-25 22:17:40] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f9a2b"} 
[2026-07-25 22:17:40] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f9a2b"} 
[2026-07-25 22:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763710784,"raw_latitude":94599848,"longitude_deg":76.3710784,"latitude_deg":9.4599848,"altitude":4,"angle":296,"satellites":48,"speed":51,"hex_longitude":"2d854d40","hex_latitude":"05a37aa8","is_valid_coordinates":true} 
[2026-07-25 22:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-07-25 22:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959480064001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358298872050614272,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8832473638731311104,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784997976000,"timestamp_ms":1784997976000,"timestamp_seconds":1784997976,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b97c0"} 
[2026-07-25 22:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":483,"current_offset":136} 
[2026-07-25 22:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:17:40] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-25 22:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959480064001,"66":27343,"153":206,"85":14592,"24":51,"16":358298872050614272,"45":-8832473638731311104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-25 22:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959480064001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:17:40] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-25 22:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-07-25 22:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358298872050614272,"km_value":358298872050614.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8832473638731311104,"description":"Unknown IO ID 45"} 
[2026-07-25 22:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959480064001,"power":27343,"unknown_153":206,"unknown_85":14592,"ignition":51,"odometer":null,"unknown_45":-8832473638731311104}} 
[2026-07-25 22:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:17:40] local.INFO: GPS data processed {"connection_id":141443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:17:40] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:17:49] local.INFO: TCP Data received {"connection_id":143796,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:17:49] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:17:49] local.INFO: IMEI packet received {"connection_id":143796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":143796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:17:54] local.INFO: TCP Data received {"connection_id":143796,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:17:54] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:17:54] local.INFO: IMEI packet received {"connection_id":143796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":143796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:17:55] local.INFO: TCP Data received {"connection_id":143796,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:17:55] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:17:55] local.INFO: Packet analysis {"connection_id":143796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:17:55] local.INFO: Extracted packet for processing {"connection_id":143796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:17:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:17: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-07-25 22: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-07-25 22:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:17:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":143796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:17:55] local.INFO: GPS data processed {"connection_id":143796,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:17:55] local.INFO: Acknowledgment sent {"connection_id":143796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:18:03] local.INFO: TCP Data received {"connection_id":141389,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:03] local.INFO: Processing buffer {"connection_id":141389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:03] local.INFO: Packet analysis {"connection_id":141389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:18:03] local.INFO: Extracted packet for processing {"connection_id":141389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:18: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-07-25 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:18: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-07-25 22:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:18:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":141389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:18:03] local.INFO: GPS data processed {"connection_id":141389,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:18:03] local.INFO: Acknowledgment sent {"connection_id":141389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:18:11] local.INFO: TCP Data received {"connection_id":141443,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a2bb318012d852d4005a38a580004012930..."} 
[2026-07-25 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141443,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a2bb318012d852d4005a38a580004012930..."} 
[2026-07-25 22:18:11] local.INFO: Processing buffer {"connection_id":141443,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a2bb318012d852d4005a38a580004012930..."} 
[2026-07-25 22:18:11] local.INFO: Packet analysis {"connection_id":141443,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a2b"} 
[2026-07-25 22:18:11] local.INFO: Extracted packet for processing {"connection_id":141443,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a2b"} 
[2026-07-25 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":763702592,"raw_latitude":94603864,"longitude_deg":76.3702592,"latitude_deg":9.4603864,"altitude":4,"angle":297,"satellites":48,"speed":51,"hex_longitude":"2d852d40","hex_latitude":"05a38a58","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:18:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:18:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141443,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141443,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:18:11] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":141443,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:18:11] local.ERROR: GPS data processing failed {"connection_id":141443,"error":"No valid data to process"} 
[2026-07-25 22:18:11] local.INFO: Acknowledgment sent {"connection_id":141443,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:18:27] local.INFO: TCP Data received {"connection_id":143796,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:18:27] local.INFO: Processing buffer {"connection_id":143796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:18:27] local.INFO: Packet analysis {"connection_id":143796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:18:27] local.INFO: Extracted packet for processing {"connection_id":143796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:18: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-07-25 22:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:18:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":143796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:18:27] local.INFO: GPS data processed {"connection_id":143796,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:18:27] local.INFO: Acknowledgment sent {"connection_id":143796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:18:31] local.INFO: TCP Data received {"connection_id":141446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:18:31] local.INFO: Processing buffer {"connection_id":141446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:18:31] local.INFO: IMEI packet received {"connection_id":141446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":141446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:18:36] local.INFO: TCP Data received {"connection_id":141446,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:18:36] local.INFO: Processing buffer {"connection_id":141446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:18:36] local.INFO: IMEI packet received {"connection_id":141446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":141446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:18:37] local.INFO: TCP Data received {"connection_id":141446,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:37] local.INFO: Processing buffer {"connection_id":141446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:37] local.INFO: Packet analysis {"connection_id":141446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:18:37] local.INFO: Extracted packet for processing {"connection_id":141446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18: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-07-25 22:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:18:37] 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-07-25 22:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":141446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":141446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":141446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:18:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:18:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":141446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:18:37] local.INFO: GPS data processed {"connection_id":141446,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:18:37] local.INFO: Acknowledgment sent {"connection_id":141446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:18:41] local.INFO: TCP Data received {"connection_id":141446,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:41] local.INFO: Processing buffer {"connection_id":141446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:18:41] local.INFO: Packet analysis {"connection_id":141446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:18:41] local.INFO: Extracted packet for processing {"connection_id":141446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:18:41] 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-07-25 22:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":141446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":141446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":141446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:18:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":141446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:18:41] local.INFO: GPS data processed {"connection_id":141446,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:18:41] local.INFO: Acknowledgment sent {"connection_id":141446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:18:47] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:18:47] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:18:47] local.INFO: IMEI packet received {"connection_id":141447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":141447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:18:48] local.INFO: TCP Data received {"connection_id":143797,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:18:48] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:18:48] local.INFO: IMEI packet received {"connection_id":143797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":143797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:18:53] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:18:53] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:18:53] local.INFO: IMEI packet received {"connection_id":141447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":141447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:18:59] local.INFO: TCP Data received {"connection_id":143797,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:18:59] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:18:59] local.INFO: IMEI packet received {"connection_id":143797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":143797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:19:00] local.INFO: TCP Data received {"connection_id":143797,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:19:00] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:19:00] local.INFO: Packet analysis {"connection_id":143797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:19:00] local.INFO: Extracted packet for processing {"connection_id":143797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:19:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:19: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-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:19: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-07-25 22: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-07-25 22:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:19:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":143797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:19:00] local.INFO: GPS data processed {"connection_id":143797,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:19:00] local.INFO: Acknowledgment sent {"connection_id":143797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:19:06] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":483,"data_hex":"00000000000001d78e060000019f9a2cf368012d83c6c005a439900007012931..."} 
[2026-07-25 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":483,"packet_hex":"00000000000001d78e060000019f9a2cf368012d83c6c005a439900007012931..."} 
[2026-07-25 22:19:06] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019f9a2cf368012d83c6c005a439900007012931..."} 
[2026-07-25 22:19:06] local.INFO: Packet analysis {"connection_id":141447,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f9a2c"} 
[2026-07-25 22:19:06] local.INFO: Extracted packet for processing {"connection_id":141447,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f9a2c"} 
[2026-07-25 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763610816,"raw_latitude":94648720,"longitude_deg":76.3610816,"latitude_deg":9.464872,"altitude":7,"angle":297,"satellites":49,"speed":56,"hex_longitude":"2d83c6c0","hex_latitude":"05a43990","is_valid_coordinates":true} 
[2026-07-25 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-07-25 22:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959502848001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358304210694963200,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8941826667170959360,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1784998065000,"timestamp_ms":1784998065000,"timestamp_seconds":1784998065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2cf368"} 
[2026-07-25 22:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":483,"current_offset":136} 
[2026-07-25 22:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:19:06] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":141447,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-25 22:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959502848001,"66":27365,"142":206,"85":14336,"24":56,"16":358304210694963200,"45":-8941826667170959360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-25 22:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959502848001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:19:06] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-25 22:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358304210694963200,"km_value":358304210694963.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8941826667170959360,"description":"Unknown IO ID 45"} 
[2026-07-25 22:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959502848001,"power":27365,"unknown_142":206,"unknown_85":14336,"ignition":56,"odometer":null,"unknown_45":-8941826667170959360}} 
[2026-07-25 22:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":141447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:19:06] local.INFO: GPS data processed {"connection_id":141447,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:19:06] local.INFO: Acknowledgment sent {"connection_id":141447,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:19:18] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a2d0ec0012d83a40005a44cb00004012d31..."} 
[2026-07-25 22:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a2d0ec0012d83a40005a44cb00004012d31..."} 
[2026-07-25 22:19:18] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a2d0ec0012d83a40005a44cb00004012d31..."} 
[2026-07-25 22:19:18] local.INFO: Packet analysis {"connection_id":141447,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a2d"} 
[2026-07-25 22:19:18] local.INFO: Extracted packet for processing {"connection_id":141447,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a2d"} 
[2026-07-25 22:19:18] local.INFO: GPS Element Parsed {"raw_longitude":763601920,"raw_latitude":94653616,"longitude_deg":76.360192,"latitude_deg":9.4653616,"altitude":4,"angle":301,"satellites":49,"speed":54,"hex_longitude":"2d83a400","hex_latitude":"05a44cb0","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:19:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:19:18] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141447,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:19:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":141447,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:19:18] local.ERROR: GPS data processing failed {"connection_id":141447,"error":"No valid data to process"} 
[2026-07-25 22:19:18] local.INFO: Acknowledgment sent {"connection_id":141447,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:19:26] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:19:26] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:19:26] local.INFO: IMEI packet received {"connection_id":141390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-25 22:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":141390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:19:31] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:19:31] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-25 22:19:31] local.INFO: IMEI packet received {"connection_id":141390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-25 22:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":141390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:19:31] local.INFO: TCP Data received {"connection_id":143797,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:19:31] local.INFO: Processing buffer {"connection_id":143797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:19:31] local.INFO: Packet analysis {"connection_id":143797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:19:31] local.INFO: Extracted packet for processing {"connection_id":143797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:19:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":143797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:19:31] local.INFO: GPS data processed {"connection_id":143797,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:19:31] local.INFO: Acknowledgment sent {"connection_id":143797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:19:31] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:19:31] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:19:31] local.INFO: Packet analysis {"connection_id":141390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:19:31] local.INFO: Extracted packet for processing {"connection_id":141390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:19:31] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:19:31] 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-07-25 22:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":141390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:19:32] local.INFO: GPS data processed {"connection_id":141390,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:19:32] local.INFO: Acknowledgment sent {"connection_id":141390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:19:48] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a2d2a18012d83850005a45d700005012731..."} 
[2026-07-25 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a2d2a18012d83850005a45d700005012731..."} 
[2026-07-25 22:19:48] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a2d2a18012d83850005a45d700005012731..."} 
[2026-07-25 22:19:48] local.INFO: Packet analysis {"connection_id":141447,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a2d"} 
[2026-07-25 22:19:48] local.INFO: Extracted packet for processing {"connection_id":141447,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a2d"} 
[2026-07-25 22:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763593984,"raw_latitude":94657904,"longitude_deg":76.3593984,"latitude_deg":9.4657904,"altitude":5,"angle":295,"satellites":49,"speed":49,"hex_longitude":"2d838500","hex_latitude":"05a45d70","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:19:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:19:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141447,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:19:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":141447,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:19:48] local.ERROR: GPS data processing failed {"connection_id":141447,"error":"No valid data to process"} 
[2026-07-25 22:19:48] local.INFO: Acknowledgment sent {"connection_id":141447,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:19:54] local.INFO: TCP Data received {"connection_id":142440,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:19:54] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:19:54] local.INFO: IMEI packet received {"connection_id":142440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":142440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:19:59] local.INFO: TCP Data received {"connection_id":142440,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:19:59] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:19:59] local.INFO: IMEI packet received {"connection_id":142440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":142440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:20:00] local.INFO: TCP Data received {"connection_id":142440,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:00] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:00] local.INFO: Packet analysis {"connection_id":142440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:20:00] local.INFO: Extracted packet for processing {"connection_id":142440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:20:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22: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-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:20: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-07-25 22: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-07-25 22:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:20:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":142440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:20:00] local.INFO: GPS data processed {"connection_id":142440,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:20:00] local.INFO: Acknowledgment sent {"connection_id":142440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:20:03] local.INFO: TCP Data received {"connection_id":141390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:20:03] local.INFO: Processing buffer {"connection_id":141390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a29fd98012d196400071fefb00048006e29..."} 
[2026-07-25 22:20:03] local.INFO: Packet analysis {"connection_id":141390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:20:03] local.INFO: Extracted packet for processing {"connection_id":141390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756638720,"raw_latitude":119533488,"longitude_deg":75.663872,"latitude_deg":11.9533488,"altitude":72,"angle":110,"satellites":41,"speed":0,"hex_longitude":"2d196400","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-07-25 22:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959377920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":8856342823436288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829587379219836928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1784997871000,"timestamp_ms":1784997871000,"timestamp_seconds":1784997871,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a29fd98"} 
[2026-07-25 22:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:20: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-07-25 22:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-07-25 22:20: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-07-25 22:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-25 22:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-25 22:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-25 22:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959377920001,"66":2166,"102":206,"83":41984,"24":0,"16":8856342823436288,"45":1829587379219836928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-25 22:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-25 22:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-25 22:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959377920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:20:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-25 22:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-25 22:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":8856342823436288,"km_value":8856342823436.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829587379219836928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959377920001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829587379219836928}} 
[2026-07-25 22:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":141390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:20:03] local.INFO: GPS data processed {"connection_id":141390,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:20:03] local.INFO: Acknowledgment sent {"connection_id":141390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:20:04] local.INFO: TCP Data received {"connection_id":142440,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:04] local.INFO: Processing buffer {"connection_id":142440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:04] local.INFO: Packet analysis {"connection_id":142440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:20:04] local.INFO: Extracted packet for processing {"connection_id":142440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:20:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:20: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-07-25 22:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:20:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":142440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:20:05] local.INFO: GPS data processed {"connection_id":142440,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:20:05] local.INFO: Acknowledgment sent {"connection_id":142440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:20:20] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":561,"data_hex":"00000000000002258e070000019f9a2e7620012d81ec0005a50498000501102d..."} 
[2026-07-25 22:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":561,"packet_hex":"00000000000002258e070000019f9a2e7620012d81ec0005a50498000501102d..."} 
[2026-07-25 22:20:20] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":561,"buffer_hex":"00000000000002258e070000019f9a2e7620012d81ec0005a50498000501102d..."} 
[2026-07-25 22:20:20] local.INFO: Packet analysis {"connection_id":141447,"data_field_length":549,"total_packet_length":561,"buffer_length":561,"packet_hex_start":"00000000000002258e070000019f9a2e"} 
[2026-07-25 22:20:20] local.INFO: Extracted packet for processing {"connection_id":141447,"packet_length":561,"remaining_buffer_length":0,"packet_hex_start":"00000000000002258e070000019f9a2e"} 
[2026-07-25 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":763489280,"raw_latitude":94700696,"longitude_deg":76.348928,"latitude_deg":9.4700696,"altitude":5,"angle":272,"satellites":45,"speed":52,"hex_longitude":"2d81ec00","hex_latitude":"05a50498","is_valid_coordinates":true} 
[2026-07-25 22: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":561,"current_offset":40} 
[2026-07-25 22:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959527936001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358310605901266944,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073768062489874432,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1784998164000,"timestamp_ms":1784998164000,"timestamp_seconds":1784998164,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2e7620"} 
[2026-07-25 22:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":7,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":229,"data_length":561,"current_offset":136} 
[2026-07-25 22:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":561,"available_bytes":425,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":561,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":7,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:20:20] local.INFO: AVL Records parsing completed {"total_expected":7,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":141447,"avl_records_parsed":1,"avl_records_expected":7,"crc_valid":false} 
[2026-07-25 22:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959527936001,"66":27321,"142":206,"85":14336,"24":52,"16":358310605901266944,"45":-9073768062489874432},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-25 22:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959527936001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:20:20] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-25 22:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358310605901266944,"km_value":358310605901266.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073768062489874432,"description":"Unknown IO ID 45"} 
[2026-07-25 22:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959527936001,"power":27321,"unknown_142":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":-9073768062489874432}} 
[2026-07-25 22:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":141447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:20:20] local.INFO: GPS data processed {"connection_id":141447,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:20:20] local.INFO: Acknowledgment sent {"connection_id":141447,"records_acknowledged":1,"records_expected":7,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:20:49] local.INFO: TCP Data received {"connection_id":141391,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:20:49] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:20:49] local.INFO: IMEI packet received {"connection_id":141391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":141391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:20:52] local.INFO: TCP Data received {"connection_id":141447,"ip":"42.106.6.43","data_length":171,"data_hex":"000000000000009f8e020000019f9a2e9178012d81c78005a505c0000501102e..."} 
[2026-07-25 22:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141447,"packet_length":171,"packet_hex":"000000000000009f8e020000019f9a2e9178012d81c78005a505c0000501102e..."} 
[2026-07-25 22:20:52] local.INFO: Processing buffer {"connection_id":141447,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f9a2e9178012d81c78005a505c0000501102e..."} 
[2026-07-25 22:20:52] local.INFO: Packet analysis {"connection_id":141447,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f9a2e"} 
[2026-07-25 22:20:52] local.INFO: Extracted packet for processing {"connection_id":141447,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f9a2e"} 
[2026-07-25 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":763479936,"raw_latitude":94700992,"longitude_deg":76.3479936,"latitude_deg":9.4700992,"altitude":5,"angle":272,"satellites":46,"speed":52,"hex_longitude":"2d81c780","hex_latitude":"05a505c0","is_valid_coordinates":true} 
[2026-07-25 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-07-25 22:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959529984001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358311056872833024,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9084886324069754880,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784998171000,"timestamp_ms":1784998171000,"timestamp_seconds":1784998171,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2e9178"} 
[2026-07-25 22:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":171,"current_offset":136} 
[2026-07-25 22:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:20:52] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141447,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-25 22:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959529984001,"66":27376,"142":206,"85":14336,"24":52,"16":358311056872833024,"45":-9084886324069754880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-07-25 22:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959529984001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:20:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-25 22:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358311056872833024,"km_value":358311056872833.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9084886324069754880,"description":"Unknown IO ID 45"} 
[2026-07-25 22:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959529984001,"power":27376,"unknown_142":206,"unknown_85":14336,"ignition":52,"odometer":null,"unknown_45":-9084886324069754880}} 
[2026-07-25 22:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":141447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:20:52] local.INFO: GPS data processed {"connection_id":141447,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:20:52] local.INFO: Acknowledgment sent {"connection_id":141447,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:20:54] local.INFO: TCP Data received {"connection_id":141391,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:20:54] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:20:54] local.INFO: IMEI packet received {"connection_id":141391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":141391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:20:55] local.INFO: TCP Data received {"connection_id":141391,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:55] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:20:55] local.INFO: Packet analysis {"connection_id":141391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:20:55] local.INFO: Extracted packet for processing {"connection_id":141391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:20: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-07-25 22:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":141391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:20:55] local.INFO: GPS data processed {"connection_id":141391,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:20:55] local.INFO: Acknowledgment sent {"connection_id":141391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:21:26] local.INFO: TCP Data received {"connection_id":141448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:21:26] local.INFO: Processing buffer {"connection_id":141448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:21:26] local.INFO: IMEI packet received {"connection_id":141448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":141448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:21:26] local.INFO: TCP Data received {"connection_id":141391,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:21:26] local.INFO: Processing buffer {"connection_id":141391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2b5558012d77a94005f27b900013016323..."} 
[2026-07-25 22:21:26] local.INFO: Packet analysis {"connection_id":141391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:21:26] local.INFO: Extracted packet for processing {"connection_id":141391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2b"} 
[2026-07-25 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959400448001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784997959000,"timestamp_ms":1784997959000,"timestamp_seconds":1784997959,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2b5558"} 
[2026-07-25 22:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959400448001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959400448001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:21:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959400448001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":141391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:21:26] local.INFO: GPS data processed {"connection_id":141391,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:21:26] local.INFO: Acknowledgment sent {"connection_id":141391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:21:31] local.INFO: TCP Data received {"connection_id":141448,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:21:31] local.INFO: Processing buffer {"connection_id":141448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:21:31] local.INFO: IMEI packet received {"connection_id":141448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":141448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:21:32] local.INFO: TCP Data received {"connection_id":141448,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a293a48012d7a070005dc9258000800ad2d..."} 
[2026-07-25 22:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a293a48012d7a070005dc9258000800ad2d..."} 
[2026-07-25 22:21:32] local.INFO: Processing buffer {"connection_id":141448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a293a48012d7a070005dc9258000800ad2d..."} 
[2026-07-25 22:21:32] local.INFO: Packet analysis {"connection_id":141448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:21:32] local.INFO: Extracted packet for processing {"connection_id":141448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":45,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959436800001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822639597568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784997821000,"timestamp_ms":1784997821000,"timestamp_seconds":1784997821,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a293a48"} 
[2026-07-25 22:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 22:21: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-07-25 22:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":141448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":141448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":141448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959436800001,"66":12743,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792996822639597568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959436800001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:21:32] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822639597568,"description":"Unknown IO ID 45"} 
[2026-07-25 22:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959436800001,"power":12743,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792996822639597568}} 
[2026-07-25 22:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":141448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:21:32] local.INFO: GPS data processed {"connection_id":141448,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:21:32] local.INFO: Acknowledgment sent {"connection_id":141448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:21:37] local.INFO: TCP Data received {"connection_id":143798,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:37] local.INFO: Processing buffer {"connection_id":143798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:37] local.INFO: IMEI packet received {"connection_id":143798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":143798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:21:39] local.INFO: TCP Data received {"connection_id":143798,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:39] local.INFO: Processing buffer {"connection_id":143798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:39] local.INFO: IMEI packet received {"connection_id":143798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":143798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:21:42] local.INFO: TCP Data received {"connection_id":143798,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:42] local.INFO: Processing buffer {"connection_id":143798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:21:42] local.INFO: IMEI packet received {"connection_id":143798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":143798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:21:43] local.INFO: TCP Data received {"connection_id":143798,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a2eacd0012d81a30005a507d80006010e2e..."} 
[2026-07-25 22:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143798,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a2eacd0012d81a30005a507d80006010e2e..."} 
[2026-07-25 22:21:43] local.INFO: Processing buffer {"connection_id":143798,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a2eacd0012d81a30005a507d80006010e2e..."} 
[2026-07-25 22:21:43] local.INFO: Packet analysis {"connection_id":143798,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a2e"} 
[2026-07-25 22:21:43] local.INFO: Extracted packet for processing {"connection_id":143798,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a2e"} 
[2026-07-25 22:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763470592,"raw_latitude":94701528,"longitude_deg":76.3470592,"latitude_deg":9.4701528,"altitude":6,"angle":270,"satellites":46,"speed":51,"hex_longitude":"2d81a300","hex_latitude":"05a507d8","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:21:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:21:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143798,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143798,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143798,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:21:43] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":143798,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:21:43] local.ERROR: GPS data processing failed {"connection_id":143798,"error":"No valid data to process"} 
[2026-07-25 22:21:43] local.INFO: Acknowledgment sent {"connection_id":143798,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:21:49] local.INFO: TCP Data received {"connection_id":142441,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:21:49] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:21:49] local.INFO: IMEI packet received {"connection_id":142441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":142441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:21:54] local.INFO: TCP Data received {"connection_id":142441,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:21:54] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:21:54] local.INFO: IMEI packet received {"connection_id":142441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":142441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:21:55] local.INFO: TCP Data received {"connection_id":142441,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:21:55] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:21:55] local.INFO: Packet analysis {"connection_id":142441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:21:55] local.INFO: Extracted packet for processing {"connection_id":142441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:21: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-07-25 22:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:21:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":142441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:21:55] local.INFO: GPS data processed {"connection_id":142441,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:21:55] local.INFO: Acknowledgment sent {"connection_id":142441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:22:05] local.INFO: TCP Data received {"connection_id":141449,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:22:05] local.INFO: Processing buffer {"connection_id":141449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:22:05] local.INFO: IMEI packet received {"connection_id":141449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-25 22:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":141449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:22:11] local.INFO: TCP Data received {"connection_id":141449,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141449,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:22:11] local.INFO: Processing buffer {"connection_id":141449,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-25 22:22:11] local.INFO: IMEI packet received {"connection_id":141449,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-25 22:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":141449,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:22:12] local.INFO: TCP Data received {"connection_id":141449,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a298c50012d7a070005dc9258000800ad2d..."} 
[2026-07-25 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a298c50012d7a070005dc9258000800ad2d..."} 
[2026-07-25 22:22:12] local.INFO: Processing buffer {"connection_id":141449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a298c50012d7a070005dc9258000800ad2d..."} 
[2026-07-25 22:22:12] local.INFO: Packet analysis {"connection_id":141449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:22:12] local.INFO: Extracted packet for processing {"connection_id":141449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a29"} 
[2026-07-25 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":98341464,"longitude_deg":76.2971904,"latitude_deg":9.8341464,"altitude":8,"angle":173,"satellites":45,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05dc9258","is_valid_coordinates":true} 
[2026-07-25 22:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959442176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110476067910713344,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822639597568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1784997842000,"timestamp_ms":1784997842000,"timestamp_seconds":1784997842,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a298c50"} 
[2026-07-25 22:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-25 22:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":141449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":141449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":141449,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-25 22:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-25 22:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-25 22:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959442176001,"66":12722,"173":206,"85":15104,"24":0,"16":110476067910713344,"45":8792996822639597568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-07-25 22:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-25 22:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-25 22:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959442176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:22:12] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-07-25 22:22:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-25 22:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110476067910713344,"km_value":110476067910713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822639597568,"description":"Unknown IO ID 45"} 
[2026-07-25 22:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959442176001,"power":12722,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792996822639597568}} 
[2026-07-25 22:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":141449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:22:12] local.INFO: GPS data processed {"connection_id":141449,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:22:12] local.INFO: Acknowledgment sent {"connection_id":141449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:22:14] local.INFO: TCP Data received {"connection_id":143798,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a2ecc10012d817d0005a507000007010b2b..."} 
[2026-07-25 22:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143798,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a2ecc10012d817d0005a507000007010b2b..."} 
[2026-07-25 22:22:14] local.INFO: Processing buffer {"connection_id":143798,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a2ecc10012d817d0005a507000007010b2b..."} 
[2026-07-25 22:22:14] local.INFO: Packet analysis {"connection_id":143798,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a2e"} 
[2026-07-25 22:22:14] local.INFO: Extracted packet for processing {"connection_id":143798,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a2e"} 
[2026-07-25 22:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763460864,"raw_latitude":94701312,"longitude_deg":76.3460864,"latitude_deg":9.4701312,"altitude":7,"angle":267,"satellites":43,"speed":45,"hex_longitude":"2d817d00","hex_latitude":"05a50700","is_valid_coordinates":true} 
[2026-07-25 22:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 22:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:22:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:22:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143798,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143798,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143798,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:22:14] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":143798,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:22:14] local.ERROR: GPS data processing failed {"connection_id":143798,"error":"No valid data to process"} 
[2026-07-25 22:22:14] local.INFO: Acknowledgment sent {"connection_id":143798,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:22:27] local.INFO: TCP Data received {"connection_id":142441,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:22:27] local.INFO: Processing buffer {"connection_id":142441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:22:27] local.INFO: Packet analysis {"connection_id":142441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:22:27] local.INFO: Extracted packet for processing {"connection_id":142441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:22: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-07-25 22:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:22:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":142441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:22:27] local.INFO: GPS data processed {"connection_id":142441,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:22:27] local.INFO: Acknowledgment sent {"connection_id":142441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:22:37] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:22:37] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:22:37] local.INFO: IMEI packet received {"connection_id":141392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":141392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:22:42] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:22:42] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:22:42] local.INFO: IMEI packet received {"connection_id":141392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":141392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:22:43] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.106.6.43","data_length":639,"data_hex":"00000000000002738e080000019f9a308578012d80490005a51348000c016031..."} 
[2026-07-25 22:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":639,"packet_hex":"00000000000002738e080000019f9a308578012d80490005a51348000c016031..."} 
[2026-07-25 22:22:43] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":639,"buffer_hex":"00000000000002738e080000019f9a308578012d80490005a51348000c016031..."} 
[2026-07-25 22:22:43] local.INFO: Packet analysis {"connection_id":141392,"data_field_length":627,"total_packet_length":639,"buffer_length":639,"packet_hex_start":"00000000000002738e080000019f9a30"} 
[2026-07-25 22:22:43] local.INFO: Extracted packet for processing {"connection_id":141392,"packet_length":639,"remaining_buffer_length":0,"packet_hex_start":"00000000000002738e080000019f9a30"} 
[2026-07-25 22:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763382016,"raw_latitude":94704456,"longitude_deg":76.3382016,"latitude_deg":9.4704456,"altitude":12,"angle":352,"satellites":49,"speed":10,"hex_longitude":"2d804900","hex_latitude":"05a51348","is_valid_coordinates":true} 
[2026-07-25 22: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":639,"current_offset":40} 
[2026-07-25 22:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959564288001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358315781336858624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202753970566443008,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784998299000,"timestamp_ms":1784998299000,"timestamp_seconds":1784998299,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a308578"} 
[2026-07-25 22:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":8,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":639,"current_offset":136} 
[2026-07-25 22:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":639,"available_bytes":503,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":639,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":8,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:22:43] local.INFO: AVL Records parsing completed {"total_expected":8,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141392,"avl_records_parsed":1,"avl_records_expected":8,"crc_valid":false} 
[2026-07-25 22:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959564288001,"66":27234,"57":206,"85":14336,"24":10,"16":358315781336858624,"45":-9202753970566443008},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-25 22:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959564288001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:22:43] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-25 22:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358315781336858624,"km_value":358315781336858.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202753970566443008,"description":"Unknown IO ID 45"} 
[2026-07-25 22:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959564288001,"power":27234,"unknown_57":206,"unknown_85":14336,"ignition":10,"odometer":null,"unknown_45":-9202753970566443008}} 
[2026-07-25 22:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":141392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:22:43] local.INFO: GPS data processed {"connection_id":141392,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:22:43] local.INFO: Acknowledgment sent {"connection_id":141392,"records_acknowledged":1,"records_expected":8,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:22:48] local.INFO: TCP Data received {"connection_id":143799,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:22:48] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:22:48] local.INFO: IMEI packet received {"connection_id":143799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":143799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:22:54] local.INFO: TCP Data received {"connection_id":143799,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:22:54] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:22:54] local.INFO: IMEI packet received {"connection_id":143799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":143799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:22:55] local.INFO: TCP Data received {"connection_id":143799,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:22:55] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:22:55] local.INFO: Packet analysis {"connection_id":143799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:22:55] local.INFO: Extracted packet for processing {"connection_id":143799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:22:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:22: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-07-25 22: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-07-25 22:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:22:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":143799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:22:55] local.INFO: GPS data processed {"connection_id":143799,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:22:55] local.INFO: Acknowledgment sent {"connection_id":143799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:23:14] local.INFO: TCP Data received {"connection_id":141392,"ip":"42.106.6.43","data_length":249,"data_hex":"00000000000000ed8e030000019f9a308960012d80494005a51480000c000331..."} 
[2026-07-25 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141392,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f9a308960012d80494005a51480000c000331..."} 
[2026-07-25 22:23:14] local.INFO: Processing buffer {"connection_id":141392,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f9a308960012d80494005a51480000c000331..."} 
[2026-07-25 22:23:14] local.INFO: Packet analysis {"connection_id":141392,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f9a30"} 
[2026-07-25 22:23:14] local.INFO: Extracted packet for processing {"connection_id":141392,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f9a30"} 
[2026-07-25 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":763382080,"raw_latitude":94704768,"longitude_deg":76.338208,"latitude_deg":9.4704768,"altitude":12,"angle":3,"satellites":49,"speed":14,"hex_longitude":"2d804940","hex_latitude":"05a51480","is_valid_coordinates":true} 
[2026-07-25 22: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":249,"current_offset":40} 
[2026-07-25 22:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959564544001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358315798516727808,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202824339310557184,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784998300000,"timestamp_ms":1784998300000,"timestamp_seconds":1784998300,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a308960"} 
[2026-07-25 22:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":98,"data_length":249,"current_offset":136} 
[2026-07-25 22:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:23:14] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141392,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-25 22:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959564544001,"66":27213,"57":206,"85":14336,"24":14,"16":358315798516727808,"45":-9202824339310557184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-25 22:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959564544001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:23:14] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-25 22:23:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358315798516727808,"km_value":358315798516727.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202824339310557184,"description":"Unknown IO ID 45"} 
[2026-07-25 22:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959564544001,"power":27213,"unknown_57":206,"unknown_85":14336,"ignition":14,"odometer":null,"unknown_45":-9202824339310557184}} 
[2026-07-25 22:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":141392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:23:14] local.INFO: GPS data processed {"connection_id":141392,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:23:14] local.INFO: Acknowledgment sent {"connection_id":141392,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:23:26] local.INFO: TCP Data received {"connection_id":143799,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:23:26] local.INFO: Processing buffer {"connection_id":143799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:23:26] local.INFO: Packet analysis {"connection_id":143799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:23:26] local.INFO: Extracted packet for processing {"connection_id":143799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:23:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:23:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":143799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:23:27] local.INFO: GPS data processed {"connection_id":143799,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:23:27] local.INFO: Acknowledgment sent {"connection_id":143799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:23:42] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:23:42] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:23:42] local.INFO: IMEI packet received {"connection_id":141393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":141393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:23:47] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:23:47] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:23:47] local.INFO: IMEI packet received {"connection_id":141393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":141393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:23:48] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a309130012d80490005a51768000c015d30..."} 
[2026-07-25 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a309130012d80490005a51768000c015d30..."} 
[2026-07-25 22:23:48] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a309130012d80490005a51768000c015d30..."} 
[2026-07-25 22:23:48] local.INFO: Packet analysis {"connection_id":141393,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a30"} 
[2026-07-25 22:23:48] local.INFO: Extracted packet for processing {"connection_id":141393,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a30"} 
[2026-07-25 22:23:48] local.INFO: GPS Element Parsed {"raw_longitude":763382016,"raw_latitude":94705512,"longitude_deg":76.3382016,"latitude_deg":9.4705512,"altitude":12,"angle":349,"satellites":48,"speed":15,"hex_longitude":"2d804900","hex_latitude":"05a51768","is_valid_coordinates":true} 
[2026-07-25 22:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 22:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:23:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:23:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141393,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141393,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141393,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:23:48] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":141393,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:23:48] local.ERROR: GPS data processing failed {"connection_id":141393,"error":"No valid data to process"} 
[2026-07-25 22:23:48] local.INFO: Acknowledgment sent {"connection_id":141393,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:23:48] local.INFO: TCP Data received {"connection_id":142442,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:23:48] local.INFO: Processing buffer {"connection_id":142442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:23:48] local.INFO: IMEI packet received {"connection_id":142442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":142442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:23:54] local.INFO: TCP Data received {"connection_id":142442,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:23:54] local.INFO: Processing buffer {"connection_id":142442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:23:54] local.INFO: IMEI packet received {"connection_id":142442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":142442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:23:55] local.INFO: TCP Data received {"connection_id":142442,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:23:55] local.INFO: Processing buffer {"connection_id":142442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:23:55] local.INFO: Packet analysis {"connection_id":142442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:23:55] local.INFO: Extracted packet for processing {"connection_id":142442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:23:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:23: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-07-25 22:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:23:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":142442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:23:55] local.INFO: GPS data processed {"connection_id":142442,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:23:55] local.INFO: Acknowledgment sent {"connection_id":142442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:24:19] local.INFO: TCP Data received {"connection_id":141393,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a30c7e0012d80420005a53b30000d015d2a..."} 
[2026-07-25 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141393,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a30c7e0012d80420005a53b30000d015d2a..."} 
[2026-07-25 22:24:19] local.INFO: Processing buffer {"connection_id":141393,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a30c7e0012d80420005a53b30000d015d2a..."} 
[2026-07-25 22:24:19] local.INFO: Packet analysis {"connection_id":141393,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a30"} 
[2026-07-25 22:24:19] local.INFO: Extracted packet for processing {"connection_id":141393,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a30"} 
[2026-07-25 22:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763380224,"raw_latitude":94714672,"longitude_deg":76.3380224,"latitude_deg":9.4714672,"altitude":13,"angle":349,"satellites":42,"speed":35,"hex_longitude":"2d804200","hex_latitude":"05a53b30","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:24:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:24:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141393,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141393,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141393,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:24:19] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":141393,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:24:19] local.ERROR: GPS data processing failed {"connection_id":141393,"error":"No valid data to process"} 
[2026-07-25 22:24:19] local.INFO: Acknowledgment sent {"connection_id":141393,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:24:26] local.INFO: TCP Data received {"connection_id":142442,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:24:26] local.INFO: Processing buffer {"connection_id":142442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:24:26] local.INFO: Packet analysis {"connection_id":142442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:24:26] local.INFO: Extracted packet for processing {"connection_id":142442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:24:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":142442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:24:26] local.INFO: GPS data processed {"connection_id":142442,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:24:26] local.INFO: Acknowledgment sent {"connection_id":142442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:24:37] local.INFO: TCP Data received {"connection_id":143800,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:24:37] local.INFO: Processing buffer {"connection_id":143800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:24:37] local.INFO: IMEI packet received {"connection_id":143800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":143800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:24:44] local.INFO: TCP Data received {"connection_id":143800,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:24:44] local.INFO: Processing buffer {"connection_id":143800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:24:44] local.INFO: IMEI packet received {"connection_id":143800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":143800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:24:45] local.INFO: TCP Data received {"connection_id":143800,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a30eef0012d803cc005a55fa8000b01602b..."} 
[2026-07-25 22:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143800,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a30eef0012d803cc005a55fa8000b01602b..."} 
[2026-07-25 22:24:45] local.INFO: Processing buffer {"connection_id":143800,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a30eef0012d803cc005a55fa8000b01602b..."} 
[2026-07-25 22:24:45] local.INFO: Packet analysis {"connection_id":143800,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a30"} 
[2026-07-25 22:24:45] local.INFO: Extracted packet for processing {"connection_id":143800,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a30"} 
[2026-07-25 22:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763378880,"raw_latitude":94724008,"longitude_deg":76.337888,"latitude_deg":9.4724008,"altitude":11,"angle":352,"satellites":43,"speed":39,"hex_longitude":"2d803cc0","hex_latitude":"05a55fa8","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:24:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:24:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":143800,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":143800,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":143800,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:24:45] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":143800,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:24:45] local.ERROR: GPS data processing failed {"connection_id":143800,"error":"No valid data to process"} 
[2026-07-25 22:24:45] local.INFO: Acknowledgment sent {"connection_id":143800,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:24:54] local.INFO: TCP Data received {"connection_id":142443,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:24:54] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:24:54] local.INFO: IMEI packet received {"connection_id":142443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":142443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:24:59] local.INFO: TCP Data received {"connection_id":142443,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:24:59] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:24:59] local.INFO: IMEI packet received {"connection_id":142443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":142443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:25:00] local.INFO: TCP Data received {"connection_id":142443,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:00] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:00] local.INFO: Packet analysis {"connection_id":142443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:25:00] local.INFO: Extracted packet for processing {"connection_id":142443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:25: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-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:25: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-07-25 22:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:25:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":142443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:25:00] local.INFO: GPS data processed {"connection_id":142443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:25:00] local.INFO: Acknowledgment sent {"connection_id":142443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:25:05] local.INFO: TCP Data received {"connection_id":142443,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:05] local.INFO: Processing buffer {"connection_id":142443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:05] local.INFO: Packet analysis {"connection_id":142443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:25:05] local.INFO: Extracted packet for processing {"connection_id":142443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":142443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":142443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":142443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:25:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":142443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:25:05] local.INFO: GPS data processed {"connection_id":142443,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:25:05] local.INFO: Acknowledgment sent {"connection_id":142443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:25:17] local.INFO: TCP Data received {"connection_id":143800,"ip":"42.106.6.43","data_length":483,"data_hex":"00000000000001d78e060000019f9a32bbe0012d8024c005a6efb0000b00092c..."} 
[2026-07-25 22:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143800,"packet_length":483,"packet_hex":"00000000000001d78e060000019f9a32bbe0012d8024c005a6efb0000b00092c..."} 
[2026-07-25 22:25:17] local.INFO: Processing buffer {"connection_id":143800,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019f9a32bbe0012d8024c005a6efb0000b00092c..."} 
[2026-07-25 22:25:17] local.INFO: Packet analysis {"connection_id":143800,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f9a32"} 
[2026-07-25 22:25:17] local.INFO: Extracted packet for processing {"connection_id":143800,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f9a32"} 
[2026-07-25 22:25:17] local.INFO: GPS Element Parsed {"raw_longitude":763372736,"raw_latitude":94826416,"longitude_deg":76.3372736,"latitude_deg":9.4826416,"altitude":11,"angle":9,"satellites":44,"speed":28,"hex_longitude":"2d8024c0","hex_latitude":"05a6efb0","is_valid_coordinates":true} 
[2026-07-25 22:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-07-25 22:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959597312001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358321734161530880,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214153707094249472,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1784998444000,"timestamp_ms":1784998444000,"timestamp_seconds":1784998444,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a32bbe0"} 
[2026-07-25 22:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":483,"current_offset":136} 
[2026-07-25 22:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:25:17] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":143800,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-25 22:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":143800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":143800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959597312001,"66":27300,"56":206,"85":14336,"24":28,"16":358321734161530880,"45":-9214153707094249472},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,85,24,16,45]} 
[2026-07-25 22:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959597312001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:25:17] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-07-25 22:25:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358321734161530880,"km_value":358321734161530.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214153707094249472,"description":"Unknown IO ID 45"} 
[2026-07-25 22:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959597312001,"power":27300,"unknown_56":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":-9214153707094249472}} 
[2026-07-25 22:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":143800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:25:17] local.INFO: GPS data processed {"connection_id":143800,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:25:17] local.INFO: Acknowledgment sent {"connection_id":143800,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:25:49] local.INFO: TCP Data received {"connection_id":143801,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:25:49] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:25:49] local.INFO: IMEI packet received {"connection_id":143801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":143801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:25:52] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:25:52] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:25:52] local.INFO: IMEI packet received {"connection_id":141394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":141394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:25:54] local.INFO: TCP Data received {"connection_id":143801,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:25:54] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:25:54] local.INFO: IMEI packet received {"connection_id":143801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":143801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:25:55] local.INFO: TCP Data received {"connection_id":143801,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:55] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:25:55] local.INFO: Packet analysis {"connection_id":143801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:25:55] local.INFO: Extracted packet for processing {"connection_id":143801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:25: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-07-25 22:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:25:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":143801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:25:55] local.INFO: GPS data processed {"connection_id":143801,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:25:55] local.INFO: Acknowledgment sent {"connection_id":143801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:25:56] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:25:56] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:25:56] local.INFO: IMEI packet received {"connection_id":141394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":141394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:25:57] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a32eac0012d80294005a712b0000a00062d..."} 
[2026-07-25 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a32eac0012d80294005a712b0000a00062d..."} 
[2026-07-25 22:25:57] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a32eac0012d80294005a712b0000a00062d..."} 
[2026-07-25 22:25:57] local.INFO: Packet analysis {"connection_id":141394,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a32"} 
[2026-07-25 22:25:57] local.INFO: Extracted packet for processing {"connection_id":141394,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a32"} 
[2026-07-25 22:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763373888,"raw_latitude":94835376,"longitude_deg":76.3373888,"latitude_deg":9.4835376,"altitude":10,"angle":6,"satellites":45,"speed":27,"hex_longitude":"2d802940","hex_latitude":"05a712b0","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:25:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:25:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141394,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:25:57] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":141394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:25:57] local.ERROR: GPS data processing failed {"connection_id":141394,"error":"No valid data to process"} 
[2026-07-25 22:25:57] local.INFO: Acknowledgment sent {"connection_id":141394,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:25:57] local.INFO: TCP Data received {"connection_id":141394,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a331d88012d802dc005a73608000c00072c..."} 
[2026-07-25 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141394,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a331d88012d802dc005a73608000c00072c..."} 
[2026-07-25 22:25:57] local.INFO: Processing buffer {"connection_id":141394,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a331d88012d802dc005a73608000c00072c..."} 
[2026-07-25 22:25:57] local.INFO: Packet analysis {"connection_id":141394,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a33"} 
[2026-07-25 22:25:57] local.INFO: Extracted packet for processing {"connection_id":141394,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a33"} 
[2026-07-25 22:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763375040,"raw_latitude":94844424,"longitude_deg":76.337504,"latitude_deg":9.4844424,"altitude":12,"angle":7,"satellites":44,"speed":30,"hex_longitude":"2d802dc0","hex_latitude":"05a73608","is_valid_coordinates":true} 
[2026-07-25 22: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":93,"current_offset":40} 
[2026-07-25 22:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:25:57] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:25:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141394,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141394,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:25:57] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":141394,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:25:57] local.ERROR: GPS data processing failed {"connection_id":141394,"error":"No valid data to process"} 
[2026-07-25 22:25:57] local.INFO: Acknowledgment sent {"connection_id":141394,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:26:26] local.INFO: TCP Data received {"connection_id":143801,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:26:26] local.INFO: Processing buffer {"connection_id":143801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a2fed20012d77a94005f27b900013016323..."} 
[2026-07-25 22:26:26] local.INFO: Packet analysis {"connection_id":143801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:26:26] local.INFO: Extracted packet for processing {"connection_id":143801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a2f"} 
[2026-07-25 22:26:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959477504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998260000,"timestamp_ms":1784998260000,"timestamp_seconds":1784998260,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a2fed20"} 
[2026-07-25 22:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 22:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959477504001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959477504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:26:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959477504001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":143801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:26:26] local.INFO: GPS data processed {"connection_id":143801,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:26:26] local.INFO: Acknowledgment sent {"connection_id":143801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:26:35] local.INFO: TCP Data received {"connection_id":143802,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:35] local.INFO: Processing buffer {"connection_id":143802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:35] local.INFO: IMEI packet received {"connection_id":143802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":143802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:26:37] local.INFO: TCP Data received {"connection_id":143802,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:37] local.INFO: Processing buffer {"connection_id":143802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:37] local.INFO: IMEI packet received {"connection_id":143802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":143802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:26:42] local.INFO: TCP Data received {"connection_id":143802,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:42] local.INFO: Processing buffer {"connection_id":143802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:26:42] local.INFO: IMEI packet received {"connection_id":143802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":143802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:26:43] local.INFO: TCP Data received {"connection_id":143802,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a335438012d80334005a75a00000c000a2f..."} 
[2026-07-25 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143802,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a335438012d80334005a75a00000c000a2f..."} 
[2026-07-25 22:26:43] local.INFO: Processing buffer {"connection_id":143802,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a335438012d80334005a75a00000c000a2f..."} 
[2026-07-25 22:26:43] local.INFO: Packet analysis {"connection_id":143802,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a33"} 
[2026-07-25 22:26:43] local.INFO: Extracted packet for processing {"connection_id":143802,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a33"} 
[2026-07-25 22:26:43] local.INFO: GPS Element Parsed {"raw_longitude":763376448,"raw_latitude":94853632,"longitude_deg":76.3376448,"latitude_deg":9.4853632,"altitude":12,"angle":10,"satellites":47,"speed":19,"hex_longitude":"2d803340","hex_latitude":"05a75a00","is_valid_coordinates":true} 
[2026-07-25 22:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-25 22:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:26:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:26:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143802,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143802,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143802,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:26:43] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":143802,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:26:43] local.ERROR: GPS data processing failed {"connection_id":143802,"error":"No valid data to process"} 
[2026-07-25 22:26:43] local.INFO: Acknowledgment sent {"connection_id":143802,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:26:48] local.INFO: TCP Data received {"connection_id":141450,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:26:48] local.INFO: Processing buffer {"connection_id":141450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:26:48] local.INFO: IMEI packet received {"connection_id":141450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":141450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:26:54] local.INFO: TCP Data received {"connection_id":141450,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:26:54] local.INFO: Processing buffer {"connection_id":141450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:26:54] local.INFO: IMEI packet received {"connection_id":141450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":141450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:26:55] local.INFO: TCP Data received {"connection_id":141450,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:26:55] local.INFO: Processing buffer {"connection_id":141450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:26:55] local.INFO: Packet analysis {"connection_id":141450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:26:55] local.INFO: Extracted packet for processing {"connection_id":141450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:26:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":141450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:26:55] local.INFO: GPS data processed {"connection_id":141450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:26:55] local.INFO: Acknowledgment sent {"connection_id":141450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:27:15] local.INFO: TCP Data received {"connection_id":143802,"ip":"42.106.6.43","data_length":93,"data_hex":"00000000000000518e010000019f9a3392b8012d803b4005a77ce0000a000d2d..."} 
[2026-07-25 22:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143802,"packet_length":93,"packet_hex":"00000000000000518e010000019f9a3392b8012d803b4005a77ce0000a000d2d..."} 
[2026-07-25 22:27:15] local.INFO: Processing buffer {"connection_id":143802,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f9a3392b8012d803b4005a77ce0000a000d2d..."} 
[2026-07-25 22:27:15] local.INFO: Packet analysis {"connection_id":143802,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f9a33"} 
[2026-07-25 22:27:15] local.INFO: Extracted packet for processing {"connection_id":143802,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f9a33"} 
[2026-07-25 22:27:15] local.INFO: GPS Element Parsed {"raw_longitude":763378496,"raw_latitude":94862560,"longitude_deg":76.3378496,"latitude_deg":9.486256,"altitude":10,"angle":13,"satellites":45,"speed":22,"hex_longitude":"2d803b40","hex_latitude":"05a77ce0","is_valid_coordinates":true} 
[2026-07-25 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":93,"current_offset":40} 
[2026-07-25 22:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:27:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:27:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-25 22:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143802,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-25 22:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143802,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143802,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-25 22:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-25 22:27:15] local.WARNING: DEBUG: No valid data to process  
[2026-07-25 22:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":143802,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-25 22:27:15] local.ERROR: GPS data processing failed {"connection_id":143802,"error":"No valid data to process"} 
[2026-07-25 22:27:15] local.INFO: Acknowledgment sent {"connection_id":143802,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-25 22:27:26] local.INFO: TCP Data received {"connection_id":141450,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:27:26] local.INFO: Processing buffer {"connection_id":141450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:27:26] local.INFO: Packet analysis {"connection_id":141450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:27:26] local.INFO: Extracted packet for processing {"connection_id":141450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:27:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:27:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":141450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:27:26] local.INFO: GPS data processed {"connection_id":141450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:27:26] local.INFO: Acknowledgment sent {"connection_id":141450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:27:36] local.INFO: TCP Data received {"connection_id":143803,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:27:36] local.INFO: Processing buffer {"connection_id":143803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:27:36] local.INFO: IMEI packet received {"connection_id":143803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":143803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:27:37] local.INFO: TCP Data received {"connection_id":143803,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:27:37] local.INFO: Processing buffer {"connection_id":143803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:27:37] local.INFO: IMEI packet received {"connection_id":143803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":143803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:27:38] local.INFO: TCP Data received {"connection_id":143803,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143803,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:27:38] local.INFO: Processing buffer {"connection_id":143803,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:27:38] local.INFO: IMEI packet received {"connection_id":143803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":143803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:27:54] local.INFO: TCP Data received {"connection_id":141451,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:27:54] local.INFO: Processing buffer {"connection_id":141451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:27:54] local.INFO: IMEI packet received {"connection_id":141451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":141451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:27:59] local.INFO: TCP Data received {"connection_id":141451,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:27:59] local.INFO: Processing buffer {"connection_id":141451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:27:59] local.INFO: IMEI packet received {"connection_id":141451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":141451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:28:00] local.INFO: TCP Data received {"connection_id":141451,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:00] local.INFO: Processing buffer {"connection_id":141451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:00] local.INFO: Packet analysis {"connection_id":141451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:28:00] local.INFO: Extracted packet for processing {"connection_id":141451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:28:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:28: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-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:28: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-07-25 22:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:28:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":141451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:28:00] local.INFO: GPS data processed {"connection_id":141451,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:28:00] local.INFO: Acknowledgment sent {"connection_id":141451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:28:05] local.INFO: TCP Data received {"connection_id":141451,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:05] local.INFO: Processing buffer {"connection_id":141451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:05] local.INFO: Packet analysis {"connection_id":141451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:28:05] local.INFO: Extracted packet for processing {"connection_id":141451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:28:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":141451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:28:05] local.INFO: GPS data processed {"connection_id":141451,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:28:05] local.INFO: Acknowledgment sent {"connection_id":141451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:28:49] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:28:49] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:28:49] local.INFO: IMEI packet received {"connection_id":143804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":143804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:28:54] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:28:54] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:28:54] local.INFO: IMEI packet received {"connection_id":143804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":143804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:28:55] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:55] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:28:55] local.INFO: Packet analysis {"connection_id":143804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:28:55] local.INFO: Extracted packet for processing {"connection_id":143804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:28:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":143804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:28:55] local.INFO: GPS data processed {"connection_id":143804,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:28:55] local.INFO: Acknowledgment sent {"connection_id":143804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:29:26] local.INFO: TCP Data received {"connection_id":143804,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:29:26] local.INFO: Processing buffer {"connection_id":143804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:29:26] local.INFO: Packet analysis {"connection_id":143804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:29:26] local.INFO: Extracted packet for processing {"connection_id":143804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:29:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:29:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":143804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:29:26] local.INFO: GPS data processed {"connection_id":143804,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:29:26] local.INFO: Acknowledgment sent {"connection_id":143804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:29:49] local.INFO: TCP Data received {"connection_id":141396,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:29:49] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:29:49] local.INFO: IMEI packet received {"connection_id":141396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":141396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:29:54] local.INFO: TCP Data received {"connection_id":141396,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:29:54] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:29:54] local.INFO: IMEI packet received {"connection_id":141396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":141396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:29:55] local.INFO: TCP Data received {"connection_id":141396,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:29:55] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:29:55] local.INFO: Packet analysis {"connection_id":141396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:29:55] local.INFO: Extracted packet for processing {"connection_id":141396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:29:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":141396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:29:55] local.INFO: GPS data processed {"connection_id":141396,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:29:55] local.INFO: Acknowledgment sent {"connection_id":141396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:30:30] local.INFO: TCP Data received {"connection_id":141396,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:30:30] local.INFO: Processing buffer {"connection_id":141396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:30:30] local.INFO: Packet analysis {"connection_id":141396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:30:30] local.INFO: Extracted packet for processing {"connection_id":141396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":141396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:30:30] local.INFO: GPS data processed {"connection_id":141396,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:30:30] local.INFO: Acknowledgment sent {"connection_id":141396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:30:49] local.INFO: TCP Data received {"connection_id":141452,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:30:49] local.INFO: Processing buffer {"connection_id":141452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:30:49] local.INFO: IMEI packet received {"connection_id":141452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":141452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:30:54] local.INFO: TCP Data received {"connection_id":141452,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:30:54] local.INFO: Processing buffer {"connection_id":141452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:30:54] local.INFO: IMEI packet received {"connection_id":141452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":141452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:30:55] local.INFO: TCP Data received {"connection_id":141452,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:30:55] local.INFO: Processing buffer {"connection_id":141452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:30:55] local.INFO: Packet analysis {"connection_id":141452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:30:55] local.INFO: Extracted packet for processing {"connection_id":141452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":141452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:30:55] local.INFO: GPS data processed {"connection_id":141452,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:30:55] local.INFO: Acknowledgment sent {"connection_id":141452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:31:26] local.INFO: TCP Data received {"connection_id":141452,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:31:26] local.INFO: Processing buffer {"connection_id":141452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3484e8012d77a94005f27b900013016323..."} 
[2026-07-25 22:31:26] local.INFO: Packet analysis {"connection_id":141452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:31:26] local.INFO: Extracted packet for processing {"connection_id":141452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a34"} 
[2026-07-25 22:31:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959554560001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998561000,"timestamp_ms":1784998561000,"timestamp_seconds":1784998561,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3484e8"} 
[2026-07-25 22:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959554560001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959554560001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:31:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959554560001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":141452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:31:26] local.INFO: GPS data processed {"connection_id":141452,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:31:26] local.INFO: Acknowledgment sent {"connection_id":141452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:31:48] local.INFO: TCP Data received {"connection_id":142446,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:31:48] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:31:48] local.INFO: IMEI packet received {"connection_id":142446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":142446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:31:54] local.INFO: TCP Data received {"connection_id":142446,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:31:54] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:31:54] local.INFO: IMEI packet received {"connection_id":142446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":142446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:31:55] local.INFO: TCP Data received {"connection_id":142446,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:31:55] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:31:55] local.INFO: Packet analysis {"connection_id":142446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:31:55] local.INFO: Extracted packet for processing {"connection_id":142446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:31:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":142446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:31:55] local.INFO: GPS data processed {"connection_id":142446,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:31:55] local.INFO: Acknowledgment sent {"connection_id":142446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:32:27] local.INFO: TCP Data received {"connection_id":142446,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:32:27] local.INFO: Processing buffer {"connection_id":142446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:32:27] local.INFO: Packet analysis {"connection_id":142446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:32:27] local.INFO: Extracted packet for processing {"connection_id":142446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:32:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":142446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:32:27] local.INFO: GPS data processed {"connection_id":142446,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:32:27] local.INFO: Acknowledgment sent {"connection_id":142446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:32:39] local.INFO: TCP Data received {"connection_id":141397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:32:39] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:32:39] local.INFO: IMEI packet received {"connection_id":141397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":141397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:32:40] local.INFO: TCP Data received {"connection_id":141397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a38af50012d7ed2c005a91e48000901612a..."} 
[2026-07-25 22:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a38af50012d7ed2c005a91e48000901612a..."} 
[2026-07-25 22:32:40] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a38af50012d7ed2c005a91e48000901612a..."} 
[2026-07-25 22:32:40] local.INFO: Packet analysis {"connection_id":141397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a38"} 
[2026-07-25 22:32:40] local.INFO: Extracted packet for processing {"connection_id":141397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a38"} 
[2026-07-25 22:32:40] local.INFO: GPS Element Parsed {"raw_longitude":763286208,"raw_latitude":94969416,"longitude_deg":76.3286208,"latitude_deg":9.4969416,"altitude":9,"angle":353,"satellites":42,"speed":29,"hex_longitude":"2d7ed2c0","hex_latitude":"05a91e48","is_valid_coordinates":true} 
[2026-07-25 22:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959698176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358332888191598592,"note":"Value kept but may cause issues"} 
[2026-07-25 22:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139492518104791040,"note":"Value kept but may cause issues"} 
[2026-07-25 22:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1784998834000,"timestamp_ms":1784998834000,"timestamp_seconds":1784998834,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a38af50"} 
[2026-07-25 22:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":141397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":141397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":141397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959698176001,"66":27332,"6":206,"85":14336,"24":29,"16":358332888191598592,"45":9139492518104791040},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-25 22:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959698176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:32:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-25 22:32:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358332888191598592,"km_value":358332888191598.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139492518104791040,"description":"Unknown IO ID 45"} 
[2026-07-25 22:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959698176001,"power":27332,"unknown_6":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":9139492518104791040}} 
[2026-07-25 22:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":141397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:32:40] local.INFO: GPS data processed {"connection_id":141397,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:32:40] local.INFO: Acknowledgment sent {"connection_id":141397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:32:49] local.INFO: TCP Data received {"connection_id":141453,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:32:49] local.INFO: Processing buffer {"connection_id":141453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:32:49] local.INFO: IMEI packet received {"connection_id":141453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":141453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:32:57] local.INFO: TCP Data received {"connection_id":141453,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:32:57] local.INFO: Processing buffer {"connection_id":141453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:32:57] local.INFO: IMEI packet received {"connection_id":141453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":141453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:33:08] local.INFO: TCP Data received {"connection_id":141453,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:33:08] local.INFO: Processing buffer {"connection_id":141453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:33:08] local.INFO: Packet analysis {"connection_id":141453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:33:08] local.INFO: Extracted packet for processing {"connection_id":141453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":141453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":141453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":141453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:33:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":141453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:33:08] local.INFO: GPS data processed {"connection_id":141453,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:33:08] local.INFO: Acknowledgment sent {"connection_id":141453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:33:11] local.INFO: TCP Data received {"connection_id":141397,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a38e218012d7ed00005a94170000801642c..."} 
[2026-07-25 22:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a38e218012d7ed00005a94170000801642c..."} 
[2026-07-25 22:33:11] local.INFO: Processing buffer {"connection_id":141397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a38e218012d7ed00005a94170000801642c..."} 
[2026-07-25 22:33:11] local.INFO: Packet analysis {"connection_id":141397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a38"} 
[2026-07-25 22:33:11] local.INFO: Extracted packet for processing {"connection_id":141397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a38"} 
[2026-07-25 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":763285504,"raw_latitude":94978416,"longitude_deg":76.3285504,"latitude_deg":9.4978416,"altitude":8,"angle":356,"satellites":44,"speed":27,"hex_longitude":"2d7ed000","hex_latitude":"05a94170","is_valid_coordinates":true} 
[2026-07-25 22:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959701504001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358333326278262784,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138577724432861184,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1784998847000,"timestamp_ms":1784998847000,"timestamp_seconds":1784998847,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a38e218"} 
[2026-07-25 22:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":141397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":141397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":141397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959701504001,"66":27180,"6":206,"85":14336,"24":27,"16":358333326278262784,"45":9138577724432861184},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,85,24,16,45]} 
[2026-07-25 22:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959701504001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:33:11] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-25 22:33:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358333326278262784,"km_value":358333326278262.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138577724432861184,"description":"Unknown IO ID 45"} 
[2026-07-25 22:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959701504001,"power":27180,"unknown_6":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":9138577724432861184}} 
[2026-07-25 22:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":141397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:33:11] local.INFO: GPS data processed {"connection_id":141397,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:33:11] local.INFO: Acknowledgment sent {"connection_id":141397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:33:48] local.INFO: TCP Data received {"connection_id":143806,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:33:48] local.INFO: Processing buffer {"connection_id":143806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:33:48] local.INFO: IMEI packet received {"connection_id":143806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":143806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:33:54] local.INFO: TCP Data received {"connection_id":143806,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:33:54] local.INFO: Processing buffer {"connection_id":143806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:33:54] local.INFO: IMEI packet received {"connection_id":143806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":143806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:33:55] local.INFO: TCP Data received {"connection_id":143806,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:33:55] local.INFO: Processing buffer {"connection_id":143806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:33:55] local.INFO: Packet analysis {"connection_id":143806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:33:55] local.INFO: Extracted packet for processing {"connection_id":143806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:33:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:33:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":143806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:33:55] local.INFO: GPS data processed {"connection_id":143806,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:33:55] local.INFO: Acknowledgment sent {"connection_id":143806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:34:07] local.INFO: TCP Data received {"connection_id":142447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:07] local.INFO: Processing buffer {"connection_id":142447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:07] local.INFO: IMEI packet received {"connection_id":142447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":142447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:34:08] local.INFO: TCP Data received {"connection_id":142447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:08] local.INFO: Processing buffer {"connection_id":142447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:08] local.INFO: IMEI packet received {"connection_id":142447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":142447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:34:12] local.INFO: TCP Data received {"connection_id":142447,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:12] local.INFO: Processing buffer {"connection_id":142447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:12] local.INFO: IMEI packet received {"connection_id":142447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":142447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:34:13] local.INFO: TCP Data received {"connection_id":142447,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3a87f8012d7ec74005aa8e10000c01612b..."} 
[2026-07-25 22:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3a87f8012d7ec74005aa8e10000c01612b..."} 
[2026-07-25 22:34:13] local.INFO: Processing buffer {"connection_id":142447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3a87f8012d7ec74005aa8e10000c01612b..."} 
[2026-07-25 22:34:13] local.INFO: Packet analysis {"connection_id":142447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3a"} 
[2026-07-25 22:34:13] local.INFO: Extracted packet for processing {"connection_id":142447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3a"} 
[2026-07-25 22:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763283264,"raw_latitude":95063568,"longitude_deg":76.3283264,"latitude_deg":9.5063568,"altitude":12,"angle":353,"satellites":43,"speed":36,"hex_longitude":"2d7ec740","hex_latitude":"05aa8e10","is_valid_coordinates":true} 
[2026-07-25 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-07-25 22:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959729408001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358337470921703424,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136325924640868352,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784998955000,"timestamp_ms":1784998955000,"timestamp_seconds":1784998955,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3a87f8"} 
[2026-07-25 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-07-25 22:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 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":164,"data_length":795,"current_offset":136} 
[2026-07-25 22:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 22:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":142447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":142447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":142447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959729408001,"66":27300,"125":206,"85":14336,"24":36,"16":358337470921703424,"45":9136325924640868352},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-25 22:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959729408001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:34:13] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-25 22:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358337470921703424,"km_value":358337470921703.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136325924640868352,"description":"Unknown IO ID 45"} 
[2026-07-25 22:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959729408001,"power":27300,"unknown_125":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":9136325924640868352}} 
[2026-07-25 22:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":142447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:34:13] local.INFO: GPS data processed {"connection_id":142447,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:34:13] local.INFO: Acknowledgment sent {"connection_id":142447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:34:26] local.INFO: TCP Data received {"connection_id":143806,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:34:26] local.INFO: Processing buffer {"connection_id":143806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:34:26] local.INFO: Packet analysis {"connection_id":143806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:34:26] local.INFO: Extracted packet for processing {"connection_id":143806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:34:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:34:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":143806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:34:26] local.INFO: GPS data processed {"connection_id":143806,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:34:26] local.INFO: Acknowledgment sent {"connection_id":143806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:34:42] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:42] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:42] local.INFO: IMEI packet received {"connection_id":142448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":142448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:34:46] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:46] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:34:46] local.INFO: IMEI packet received {"connection_id":142448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":142448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:34:47] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3aaf08012d7ec30005aab210000c01622c..."} 
[2026-07-25 22:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3aaf08012d7ec30005aab210000c01622c..."} 
[2026-07-25 22:34:47] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3aaf08012d7ec30005aab210000c01622c..."} 
[2026-07-25 22:34:47] local.INFO: Packet analysis {"connection_id":142448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3a"} 
[2026-07-25 22:34:47] local.INFO: Extracted packet for processing {"connection_id":142448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3a"} 
[2026-07-25 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":763282176,"raw_latitude":95072784,"longitude_deg":76.3282176,"latitude_deg":9.5072784,"altitude":12,"angle":354,"satellites":44,"speed":36,"hex_longitude":"2d7ec300","hex_latitude":"05aab210","is_valid_coordinates":true} 
[2026-07-25 22:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959732480001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358337921893269504,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135340762224791552,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784998965000,"timestamp_ms":1784998965000,"timestamp_seconds":1784998965,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3aaf08"} 
[2026-07-25 22:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":164,"data_length":795,"current_offset":136} 
[2026-07-25 22:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":142448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959732480001,"66":27234,"125":206,"85":14336,"24":36,"16":358337921893269504,"45":9135340762224791552},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-25 22:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959732480001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:34:47] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-25 22:34:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358337921893269504,"km_value":358337921893269.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135340762224791552,"description":"Unknown IO ID 45"} 
[2026-07-25 22:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959732480001,"power":27234,"unknown_125":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":9135340762224791552}} 
[2026-07-25 22:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":142448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:34:47] local.INFO: GPS data processed {"connection_id":142448,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:34:47] local.INFO: Acknowledgment sent {"connection_id":142448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:34:48] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3ad618012d7ebf8005aad568000f01632a..."} 
[2026-07-25 22:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3ad618012d7ebf8005aad568000f01632a..."} 
[2026-07-25 22:34:48] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3ad618012d7ebf8005aad568000f01632a..."} 
[2026-07-25 22:34:48] local.INFO: Packet analysis {"connection_id":142448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3a"} 
[2026-07-25 22:34:48] local.INFO: Extracted packet for processing {"connection_id":142448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3a"} 
[2026-07-25 22:34:48] local.INFO: GPS Element Parsed {"raw_longitude":763281280,"raw_latitude":95081832,"longitude_deg":76.328128,"latitude_deg":9.5081832,"altitude":15,"angle":355,"satellites":42,"speed":38,"hex_longitude":"2d7ebf80","hex_latitude":"05aad568","is_valid_coordinates":true} 
[2026-07-25 22:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959735040001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358338359979933696,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134144493576130560,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784998975000,"timestamp_ms":1784998975000,"timestamp_seconds":1784998975,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3ad618"} 
[2026-07-25 22:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959735040001,"66":27213,"125":206,"85":14336,"24":38,"16":358338359979933696,"45":9134144493576130560},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,85,24,16,45]} 
[2026-07-25 22:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959735040001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:34:48] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-07-25 22:34:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358338359979933696,"km_value":358338359979933.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134144493576130560,"description":"Unknown IO ID 45"} 
[2026-07-25 22:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959735040001,"power":27213,"unknown_125":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":9134144493576130560}} 
[2026-07-25 22:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":142448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:34:48] local.INFO: GPS data processed {"connection_id":142448,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:34:48] local.INFO: Acknowledgment sent {"connection_id":142448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:34:48] local.INFO: TCP Data received {"connection_id":143807,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:34:48] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:34:48] local.INFO: IMEI packet received {"connection_id":143807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":143807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:34:54] local.INFO: TCP Data received {"connection_id":143807,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:34:54] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:34:54] local.INFO: IMEI packet received {"connection_id":143807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":143807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:34:55] local.INFO: TCP Data received {"connection_id":143807,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:34:55] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:34:55] local.INFO: Packet analysis {"connection_id":143807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:34:55] local.INFO: Extracted packet for processing {"connection_id":143807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:34:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":143807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:34:55] local.INFO: GPS data processed {"connection_id":143807,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:34:55] local.INFO: Acknowledgment sent {"connection_id":143807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:35:21] local.INFO: TCP Data received {"connection_id":142448,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3c31c0012d7eaa4005abe7f0000701422e..."} 
[2026-07-25 22:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3c31c0012d7eaa4005abe7f0000701422e..."} 
[2026-07-25 22:35:21] local.INFO: Processing buffer {"connection_id":142448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3c31c0012d7eaa4005abe7f0000701422e..."} 
[2026-07-25 22:35:21] local.INFO: Packet analysis {"connection_id":142448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:35:21] local.INFO: Extracted packet for processing {"connection_id":142448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763275840,"raw_latitude":95152112,"longitude_deg":76.327584,"latitude_deg":9.5152112,"altitude":7,"angle":322,"satellites":46,"speed":16,"hex_longitude":"2d7eaa40","hex_latitude":"05abe7f0","is_valid_coordinates":true} 
[2026-07-25 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959760128001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358341843198410752,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127529831643670528,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1784999064000,"timestamp_ms":1784999064000,"timestamp_seconds":1784999064,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3c31c0"} 
[2026-07-25 22:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 22:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":142448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":142448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959760128001,"66":27115,"41":206,"85":14336,"24":16,"16":358341843198410752,"45":9127529831643670528},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-25 22:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959760128001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:35:21] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-25 22:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358341843198410752,"km_value":358341843198410.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127529831643670528,"description":"Unknown IO ID 45"} 
[2026-07-25 22:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959760128001,"power":27115,"unknown_41":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":9127529831643670528}} 
[2026-07-25 22:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":142448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:35:21] local.INFO: GPS data processed {"connection_id":142448,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:35:21] local.INFO: Acknowledgment sent {"connection_id":142448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:35:26] local.INFO: TCP Data received {"connection_id":143807,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:35:26] local.INFO: Processing buffer {"connection_id":143807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:35:26] local.INFO: Packet analysis {"connection_id":143807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:35:26] local.INFO: Extracted packet for processing {"connection_id":143807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:35:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:35:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":143807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:35:26] local.INFO: GPS data processed {"connection_id":143807,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:35:26] local.INFO: Acknowledgment sent {"connection_id":143807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:35:37] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:35:37] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:35:37] local.INFO: IMEI packet received {"connection_id":141398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":141398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:35:42] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:35:42] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:35:42] local.INFO: IMEI packet received {"connection_id":141398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":141398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:35:43] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3c35a8012d7ea9c005abe9580007015a2e..."} 
[2026-07-25 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3c35a8012d7ea9c005abe9580007015a2e..."} 
[2026-07-25 22:35:43] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3c35a8012d7ea9c005abe9580007015a2e..."} 
[2026-07-25 22:35:43] local.INFO: Packet analysis {"connection_id":141398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:35:43] local.INFO: Extracted packet for processing {"connection_id":141398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95152472,"longitude_deg":76.3275712,"latitude_deg":9.5152472,"altitude":7,"angle":346,"satellites":46,"speed":16,"hex_longitude":"2d7ea9c0","hex_latitude":"05abe958","is_valid_coordinates":true} 
[2026-07-25 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959760384001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358341864673247232,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127177987922849792,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999065000,"timestamp_ms":1784999065000,"timestamp_seconds":1784999065,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3c35a8"} 
[2026-07-25 22:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-25 22:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959760384001,"66":27115,"41":206,"85":14336,"24":16,"16":358341864673247232,"45":9127177987922849792},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-25 22:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959760384001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:35:43] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-25 22:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358341864673247232,"km_value":358341864673247.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127177987922849792,"description":"Unknown IO ID 45"} 
[2026-07-25 22:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959760384001,"power":27115,"unknown_41":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":9127177987922849792}} 
[2026-07-25 22:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":141398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:35:43] local.INFO: GPS data processed {"connection_id":141398,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:35:43] local.INFO: Acknowledgment sent {"connection_id":141398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:35:44] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3c3990012d7ea9c005abead8000800082d..."} 
[2026-07-25 22:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3c3990012d7ea9c005abead8000800082d..."} 
[2026-07-25 22:35:44] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3c3990012d7ea9c005abead8000800082d..."} 
[2026-07-25 22:35:44] local.INFO: Packet analysis {"connection_id":141398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:35:44] local.INFO: Extracted packet for processing {"connection_id":141398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95152856,"longitude_deg":76.3275712,"latitude_deg":9.5152856,"altitude":8,"angle":8,"satellites":45,"speed":15,"hex_longitude":"2d7ea9c0","hex_latitude":"05abead8","is_valid_coordinates":true} 
[2026-07-25 22:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959760640001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358341881853116416,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250434586624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784999066000,"timestamp_ms":1784999066000,"timestamp_seconds":1784999066,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3c3990"} 
[2026-07-25 22:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-25 22:35:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":141398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":141398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":141398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959760640001,"66":27332,"41":206,"85":14336,"24":15,"16":358341881853116416,"45":9127037250434586624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-25 22:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959760640001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358341881853116416,"km_value":358341881853116.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250434586624,"description":"Unknown IO ID 45"} 
[2026-07-25 22:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959760640001,"power":27332,"unknown_41":206,"unknown_85":14336,"ignition":15,"odometer":null,"unknown_45":9127037250434586624}} 
[2026-07-25 22:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":141398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:35:44] local.INFO: GPS data processed {"connection_id":141398,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:35:44] local.INFO: Acknowledgment sent {"connection_id":141398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:35:48] local.INFO: TCP Data received {"connection_id":142449,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:35:48] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:35:48] local.INFO: IMEI packet received {"connection_id":142449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":142449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:35:54] local.INFO: TCP Data received {"connection_id":142449,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:35:54] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:35:54] local.INFO: IMEI packet received {"connection_id":142449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":142449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:35:55] local.INFO: TCP Data received {"connection_id":142449,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:35:55] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:35:55] local.INFO: Packet analysis {"connection_id":142449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:35:55] local.INFO: Extracted packet for processing {"connection_id":142449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":142449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:35:55] local.INFO: GPS data processed {"connection_id":142449,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:35:55] local.INFO: Acknowledgment sent {"connection_id":142449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:36:15] local.INFO: TCP Data received {"connection_id":141398,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3c7428012d7eab0005ac0e60000800022c..."} 
[2026-07-25 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3c7428012d7eab0005ac0e60000800022c..."} 
[2026-07-25 22:36:15] local.INFO: Processing buffer {"connection_id":141398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3c7428012d7eab0005ac0e60000800022c..."} 
[2026-07-25 22:36:15] local.INFO: Packet analysis {"connection_id":141398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:36:15] local.INFO: Extracted packet for processing {"connection_id":141398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":763276032,"raw_latitude":95161952,"longitude_deg":76.3276032,"latitude_deg":9.5161952,"altitude":8,"angle":2,"satellites":44,"speed":31,"hex_longitude":"2d7eab00","hex_latitude":"05ac0e60","is_valid_coordinates":true} 
[2026-07-25 22:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959760896001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358342324234747904,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250434684928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784999081000,"timestamp_ms":1784999081000,"timestamp_seconds":1784999081,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3c7428"} 
[2026-07-25 22:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:36: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-07-25 22:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959760896001,"66":27245,"41":206,"85":14336,"24":31,"16":358342324234747904,"45":9127037250434684928},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-07-25 22:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959760896001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:36:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-07-25 22:36:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358342324234747904,"km_value":358342324234747.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250434684928,"description":"Unknown IO ID 45"} 
[2026-07-25 22:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959760896001,"power":27245,"unknown_41":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":9127037250434684928}} 
[2026-07-25 22:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":141398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:36:15] local.INFO: GPS data processed {"connection_id":141398,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:36:15] local.INFO: Acknowledgment sent {"connection_id":141398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:36:26] local.INFO: TCP Data received {"connection_id":142449,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:36:26] local.INFO: Processing buffer {"connection_id":142449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a391cb0012d77a94005f27b900013016323..."} 
[2026-07-25 22:36:26] local.INFO: Packet analysis {"connection_id":142449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:36:26] local.INFO: Extracted packet for processing {"connection_id":142449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a39"} 
[2026-07-25 22:36:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959631616001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784998862000,"timestamp_ms":1784998862000,"timestamp_seconds":1784998862,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a391cb0"} 
[2026-07-25 22:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959631616001,"66":25234,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959631616001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959631616001,"power":25234,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":142449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:36:26] local.INFO: GPS data processed {"connection_id":142449,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:36:26] local.INFO: Acknowledgment sent {"connection_id":142449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:36:37] local.INFO: TCP Data received {"connection_id":141399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:36:37] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:36:37] local.INFO: IMEI packet received {"connection_id":141399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":141399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:36:41] local.INFO: TCP Data received {"connection_id":141399,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:36:41] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:36:41] local.INFO: IMEI packet received {"connection_id":141399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":141399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:36:42] local.INFO: TCP Data received {"connection_id":141399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3c9f20012d7eac0005ac3228000700002d..."} 
[2026-07-25 22:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3c9f20012d7eac0005ac3228000700002d..."} 
[2026-07-25 22:36:42] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3c9f20012d7eac0005ac3228000700002d..."} 
[2026-07-25 22:36:42] local.INFO: Packet analysis {"connection_id":141399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:36:42] local.INFO: Extracted packet for processing {"connection_id":141399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:36:42] local.INFO: GPS Element Parsed {"raw_longitude":763276288,"raw_latitude":95171112,"longitude_deg":76.3276288,"latitude_deg":9.5171112,"altitude":7,"angle":0,"satellites":45,"speed":35,"hex_longitude":"2d7eac00","hex_latitude":"05ac3228","is_valid_coordinates":true} 
[2026-07-25 22:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959764736001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358342770911346688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127389094157901824,"note":"Value kept but may cause issues"} 
[2026-07-25 22:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784999092000,"timestamp_ms":1784999092000,"timestamp_seconds":1784999092,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3c9f20"} 
[2026-07-25 22:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 22:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959764736001,"66":27332,"42":206,"85":14336,"24":35,"16":358342770911346688,"45":9127389094157901824},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-25 22:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959764736001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:36:42] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 22:36:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358342770911346688,"km_value":358342770911346.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127389094157901824,"description":"Unknown IO ID 45"} 
[2026-07-25 22:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959764736001,"power":27332,"unknown_42":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9127389094157901824}} 
[2026-07-25 22:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":141399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:36:42] local.INFO: GPS data processed {"connection_id":141399,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:36:42] local.INFO: Acknowledgment sent {"connection_id":141399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:36:54] local.INFO: TCP Data received {"connection_id":141454,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:36:54] local.INFO: Processing buffer {"connection_id":141454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:36:54] local.INFO: IMEI packet received {"connection_id":141454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":141454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:37:00] local.INFO: TCP Data received {"connection_id":141454,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:00] local.INFO: Processing buffer {"connection_id":141454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:00] local.INFO: IMEI packet received {"connection_id":141454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":141454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:37:00] local.INFO: TCP Data received {"connection_id":141454,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:00] local.INFO: Processing buffer {"connection_id":141454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:00] local.INFO: Packet analysis {"connection_id":141454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:37:00] local.INFO: Extracted packet for processing {"connection_id":141454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:37: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-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":141454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:01] local.INFO: GPS data processed {"connection_id":141454,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:01] local.INFO: Acknowledgment sent {"connection_id":141454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:37:04] local.INFO: TCP Data received {"connection_id":141454,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:04] local.INFO: Processing buffer {"connection_id":141454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:04] local.INFO: Packet analysis {"connection_id":141454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:37:04] local.INFO: Extracted packet for processing {"connection_id":141454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:37:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:37: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-07-25 22:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":141454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:04] local.INFO: GPS data processed {"connection_id":141454,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:04] local.INFO: Acknowledgment sent {"connection_id":141454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:37:13] local.INFO: TCP Data received {"connection_id":141399,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3cca18012d7eabc005ac5528000600012e..."} 
[2026-07-25 22:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3cca18012d7eabc005ac5528000600012e..."} 
[2026-07-25 22:37:13] local.INFO: Processing buffer {"connection_id":141399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3cca18012d7eabc005ac5528000600012e..."} 
[2026-07-25 22:37:13] local.INFO: Packet analysis {"connection_id":141399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:37:13] local.INFO: Extracted packet for processing {"connection_id":141399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3c"} 
[2026-07-25 22:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763276224,"raw_latitude":95180072,"longitude_deg":76.3276224,"latitude_deg":9.5180072,"altitude":6,"angle":1,"satellites":46,"speed":25,"hex_longitude":"2d7eabc0","hex_latitude":"05ac5528","is_valid_coordinates":true} 
[2026-07-25 22:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959767552001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358343204703043584,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127670569136957440,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784999103000,"timestamp_ms":1784999103000,"timestamp_seconds":1784999103,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3cca18"} 
[2026-07-25 22:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959767552001,"66":27267,"42":206,"85":14336,"24":25,"16":358343204703043584,"45":9127670569136957440},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,45]} 
[2026-07-25 22:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959767552001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-25 22:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358343204703043584,"km_value":358343204703043.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127670569136957440,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959767552001,"power":27267,"unknown_42":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":9127670569136957440}} 
[2026-07-25 22:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":141399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:13] local.INFO: GPS data processed {"connection_id":141399,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:13] local.INFO: Acknowledgment sent {"connection_id":141399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:37:41] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:37:41] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:37:41] local.INFO: IMEI packet received {"connection_id":142450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":142450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:37:43] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:37:43] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:37:43] local.INFO: IMEI packet received {"connection_id":142450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":142450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:37:48] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:48] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:48] local.INFO: IMEI packet received {"connection_id":143808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":143808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:37:51] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:37:51] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-25 22:37:51] local.INFO: IMEI packet received {"connection_id":142450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":142450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:37:53] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":1348,"data_hex":"000000000000030f8e0a0000019f9a3e29a8012d7ea14005ad8738000701672e..."} 
[2026-07-25 22:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f9a3e29a8012d7ea14005ad8738000701672e..."} 
[2026-07-25 22:37:53] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f9a..."} 
[2026-07-25 22:37:53] local.INFO: IMEI packet received {"connection_id":142450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":142450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:37:54] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:54] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:37:54] local.INFO: IMEI packet received {"connection_id":143808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":143808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:37:55] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:55] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:37:55] local.INFO: Packet analysis {"connection_id":143808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:37:55] local.INFO: Extracted packet for processing {"connection_id":143808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:37:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":143808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:55] local.INFO: GPS data processed {"connection_id":143808,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:55] local.INFO: Acknowledgment sent {"connection_id":143808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:37:56] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":1037,"data_hex":"0000000000019f9a3d6a40012d7eaa8005acd5f0000b01662d00250000000a00..."} 
[2026-07-25 22:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":1037,"packet_hex":"0000000000019f9a3d6a40012d7eaa8005acd5f0000b01662d00250000000a00..."} 
[2026-07-25 22:37:56] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f9a3e29a8012d7ea14005ad8738000701672e..."} 
[2026-07-25 22:37:56] local.INFO: Packet analysis {"connection_id":142450,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:37:56] local.INFO: Extracted packet for processing {"connection_id":142450,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763273536,"raw_latitude":95258424,"longitude_deg":76.3273536,"latitude_deg":9.5258424,"altitude":7,"angle":359,"satellites":46,"speed":23,"hex_longitude":"2d7ea140","hex_latitude":"05ad8738","is_valid_coordinates":true} 
[2026-07-25 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959792384001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358347014339035136,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996556879980544,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784999193000,"timestamp_ms":1784999193000,"timestamp_seconds":1784999193,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3e29a8"} 
[2026-07-25 22:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-25 22:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959792384001,"66":27332,"225":206,"85":14336,"24":23,"16":358347014339035136,"45":9124996556879980544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959792384001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358347014339035136,"km_value":358347014339035.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996556879980544,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959792384001,"power":27332,"unknown_225":206,"unknown_85":14336,"ignition":23,"odometer":null,"unknown_45":9124996556879980544}} 
[2026-07-25 22:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":142450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:56] local.INFO: GPS data processed {"connection_id":142450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:56] local.INFO: Acknowledgment sent {"connection_id":142450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:37:56] local.INFO: Packet analysis {"connection_id":142450,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:37:56] local.INFO: Extracted packet for processing {"connection_id":142450,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95267536,"longitude_deg":76.3273408,"latitude_deg":9.5267536,"altitude":7,"angle":358,"satellites":43,"speed":29,"hex_longitude":"2d7ea0c0","hex_latitude":"05adaad0","is_valid_coordinates":true} 
[2026-07-25 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959793408001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358347456720666624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124644713159669760,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784999206000,"timestamp_ms":1784999206000,"timestamp_seconds":1784999206,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3e5c70"} 
[2026-07-25 22:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:37: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-07-25 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:37: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-07-25 22:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959793408001,"66":27234,"225":206,"85":14336,"24":29,"16":358347456720666624,"45":9124644713159669760},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959793408001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358347456720666624,"km_value":358347456720666.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124644713159669760,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959793408001,"power":27234,"unknown_225":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":9124644713159669760}} 
[2026-07-25 22:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":142450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:56] local.INFO: GPS data processed {"connection_id":142450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:56] local.INFO: Acknowledgment sent {"connection_id":142450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:37:56] local.INFO: Packet analysis {"connection_id":142450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:37:56] local.INFO: Extracted packet for processing {"connection_id":142450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":95276832,"longitude_deg":76.3273216,"latitude_deg":9.5276832,"altitude":6,"angle":357,"satellites":45,"speed":30,"hex_longitude":"2d7ea000","hex_latitude":"05adcf20","is_valid_coordinates":true} 
[2026-07-25 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959796736001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358347907692232704,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124503975673647104,"note":"Value kept but may cause issues"} 
[2026-07-25 22:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784999218000,"timestamp_ms":1784999218000,"timestamp_seconds":1784999218,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3e8b50"} 
[2026-07-25 22:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22: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-07-25 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:37: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-07-25 22:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959796736001,"66":27234,"225":206,"85":14336,"24":30,"16":358347907692232704,"45":9124503975673647104},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-25 22:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959796736001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358347907692232704,"km_value":358347907692232.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124503975673647104,"description":"Unknown IO ID 45"} 
[2026-07-25 22:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959796736001,"power":27234,"unknown_225":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":9124503975673647104}} 
[2026-07-25 22:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":142450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:37:56] local.INFO: GPS data processed {"connection_id":142450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:37:56] local.INFO: Acknowledgment sent {"connection_id":142450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:38:02] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3ebe18012d7e9f8005adf3a0000401672c..."} 
[2026-07-25 22:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3ebe18012d7e9f8005adf3a0000401672c..."} 
[2026-07-25 22:38:02] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3ebe18012d7e9f8005adf3a0000401672c..."} 
[2026-07-25 22:38:02] local.INFO: Packet analysis {"connection_id":142450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:38:02] local.INFO: Extracted packet for processing {"connection_id":142450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95286176,"longitude_deg":76.3273088,"latitude_deg":9.5286176,"altitude":4,"angle":359,"satellites":44,"speed":25,"hex_longitude":"2d7e9f80","hex_latitude":"05adf3a0","is_valid_coordinates":true} 
[2026-07-25 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959799808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358348362958766080,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869443493888,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1784999231000,"timestamp_ms":1784999231000,"timestamp_seconds":1784999231,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3ebe18"} 
[2026-07-25 22:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":142450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959799808001,"66":27332,"225":206,"85":14336,"24":25,"16":358348362958766080,"45":9124292869443493888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-25 22:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959799808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:38:02] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 22:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358348362958766080,"km_value":358348362958766.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869443493888,"description":"Unknown IO ID 45"} 
[2026-07-25 22:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959799808001,"power":27332,"unknown_225":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":9124292869443493888}} 
[2026-07-25 22:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":142450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:38:02] local.INFO: GPS data processed {"connection_id":142450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:38:02] local.INFO: Acknowledgment sent {"connection_id":142450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:38:04] local.INFO: TCP Data received {"connection_id":142450,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3ebe18012d7e9f8005adf3a0000401672c..."} 
[2026-07-25 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3ebe18012d7e9f8005adf3a0000401672c..."} 
[2026-07-25 22:38:04] local.INFO: Processing buffer {"connection_id":142450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3ebe18012d7e9f8005adf3a0000401672c..."} 
[2026-07-25 22:38:04] local.INFO: Packet analysis {"connection_id":142450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:38:04] local.INFO: Extracted packet for processing {"connection_id":142450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3e"} 
[2026-07-25 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95286176,"longitude_deg":76.3273088,"latitude_deg":9.5286176,"altitude":4,"angle":359,"satellites":44,"speed":25,"hex_longitude":"2d7e9f80","hex_latitude":"05adf3a0","is_valid_coordinates":true} 
[2026-07-25 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959799808001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358348362958766080,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869443493888,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784999231000,"timestamp_ms":1784999231000,"timestamp_seconds":1784999231,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3ebe18"} 
[2026-07-25 22:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:38: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-07-25 22:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959799808001,"66":27332,"225":206,"85":14336,"24":25,"16":358348362958766080,"45":9124292869443493888},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-25 22:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959799808001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:38:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 22:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358348362958766080,"km_value":358348362958766.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869443493888,"description":"Unknown IO ID 45"} 
[2026-07-25 22:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959799808001,"power":27332,"unknown_225":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":9124292869443493888}} 
[2026-07-25 22:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":142450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:38:04] local.INFO: GPS data processed {"connection_id":142450,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:38:04] local.INFO: Acknowledgment sent {"connection_id":142450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:38:26] local.INFO: TCP Data received {"connection_id":143808,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:38:26] local.INFO: Processing buffer {"connection_id":143808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:38:26] local.INFO: Packet analysis {"connection_id":143808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:38:26] local.INFO: Extracted packet for processing {"connection_id":143808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:38:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":143808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:38:26] local.INFO: GPS data processed {"connection_id":143808,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:38:26] local.INFO: Acknowledgment sent {"connection_id":143808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:38:36] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:36] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:36] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:38:37] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:37] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:37] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:38:42] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:42] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:38:42] local.INFO: IMEI packet received {"connection_id":141400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":141400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:38:43] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3f0c38012d7e9f8005ae1760000400022b..."} 
[2026-07-25 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3f0c38012d7e9f8005ae1760000400022b..."} 
[2026-07-25 22:38:43] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3f0c38012d7e9f8005ae1760000400022b..."} 
[2026-07-25 22:38:43] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:38:43] local.INFO: Extracted packet for processing {"connection_id":141400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:38:43] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95295328,"longitude_deg":76.3273088,"latitude_deg":9.5295328,"altitude":4,"angle":2,"satellites":43,"speed":21,"hex_longitude":"2d7e9f80","hex_latitude":"05ae1760","is_valid_coordinates":true} 
[2026-07-25 22:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959803136001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358348805340397568,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124152131957530624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999251000,"timestamp_ms":1784999251000,"timestamp_seconds":1784999251,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3f0c38"} 
[2026-07-25 22:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959803136001,"66":27223,"225":206,"85":14336,"24":21,"16":358348805340397568,"45":9124152131957530624},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-07-25 22:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959803136001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:38:43] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-25 22:38:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-07-25 22:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358348805340397568,"km_value":358348805340397.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124152131957530624,"description":"Unknown IO ID 45"} 
[2026-07-25 22:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959803136001,"power":27223,"unknown_225":206,"unknown_85":14336,"ignition":21,"odometer":null,"unknown_45":9124152131957530624}} 
[2026-07-25 22:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":141400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:38:43] local.INFO: GPS data processed {"connection_id":141400,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:38:43] local.INFO: Acknowledgment sent {"connection_id":141400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:38:48] local.INFO: TCP Data received {"connection_id":141455,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:38:48] local.INFO: Processing buffer {"connection_id":141455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:38:48] local.INFO: IMEI packet received {"connection_id":141455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":141455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:38:54] local.INFO: TCP Data received {"connection_id":141455,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:38:54] local.INFO: Processing buffer {"connection_id":141455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:38:54] local.INFO: IMEI packet received {"connection_id":141455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":141455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:38:55] local.INFO: TCP Data received {"connection_id":141455,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:38:55] local.INFO: Processing buffer {"connection_id":141455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:38:55] local.INFO: Packet analysis {"connection_id":141455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:38:55] local.INFO: Extracted packet for processing {"connection_id":141455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:38:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":141455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:38:55] local.INFO: GPS data processed {"connection_id":141455,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:38:55] local.INFO: Acknowledgment sent {"connection_id":141455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:39:16] local.INFO: TCP Data received {"connection_id":141400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3f46d0012d7e9f8005ae3c90000801672c..."} 
[2026-07-25 22:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3f46d0012d7e9f8005ae3c90000801672c..."} 
[2026-07-25 22:39:16] local.INFO: Processing buffer {"connection_id":141400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3f46d0012d7e9f8005ae3c90000801672c..."} 
[2026-07-25 22:39:16] local.INFO: Packet analysis {"connection_id":141400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:39:16] local.INFO: Extracted packet for processing {"connection_id":141400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95304848,"longitude_deg":76.3273088,"latitude_deg":9.5304848,"altitude":8,"angle":359,"satellites":44,"speed":27,"hex_longitude":"2d7e9f80","hex_latitude":"05ae3c90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959808256001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358349269196865536,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124152131959873536,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1784999266000,"timestamp_ms":1784999266000,"timestamp_seconds":1784999266,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3f46d0"} 
[2026-07-25 22:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-25 22:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959808256001,"66":27245,"29":206,"85":12544,"24":27,"16":358349269196865536,"45":9124152131959873536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959808256001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:39:16] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358349269196865536,"km_value":358349269196865.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124152131959873536,"description":"Unknown IO ID 45"} 
[2026-07-25 22:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959808256001,"power":27245,"unknown_29":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9124152131959873536}} 
[2026-07-25 22:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":141400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:39:16] local.INFO: GPS data processed {"connection_id":141400,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:39:16] local.INFO: Acknowledgment sent {"connection_id":141400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:39:26] local.INFO: TCP Data received {"connection_id":141455,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:39:26] local.INFO: Processing buffer {"connection_id":141455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:39:26] local.INFO: Packet analysis {"connection_id":141455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:39:26] local.INFO: Extracted packet for processing {"connection_id":141455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:39:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":141455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:39:26] local.INFO: GPS data processed {"connection_id":141455,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:39:26] local.INFO: Acknowledgment sent {"connection_id":141455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:39:37] local.INFO: TCP Data received {"connection_id":142451,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:39:37] local.INFO: Processing buffer {"connection_id":142451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:39:37] local.INFO: IMEI packet received {"connection_id":142451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":142451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:39:44] local.INFO: TCP Data received {"connection_id":142451,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:39:44] local.INFO: Processing buffer {"connection_id":142451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:39:44] local.INFO: IMEI packet received {"connection_id":142451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":142451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:39:45] local.INFO: TCP Data received {"connection_id":142451,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3f75b0012d7e9e8005ae5ff0000701662d..."} 
[2026-07-25 22:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3f75b0012d7e9e8005ae5ff0000701662d..."} 
[2026-07-25 22:39:45] local.INFO: Processing buffer {"connection_id":142451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3f75b0012d7e9e8005ae5ff0000701662d..."} 
[2026-07-25 22:39:45] local.INFO: Packet analysis {"connection_id":142451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:39:45] local.INFO: Extracted packet for processing {"connection_id":142451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763272832,"raw_latitude":95313904,"longitude_deg":76.3272832,"latitude_deg":9.5313904,"altitude":7,"angle":358,"satellites":45,"speed":32,"hex_longitude":"2d7e9e80","hex_latitude":"05ae5ff0","is_valid_coordinates":true} 
[2026-07-25 22:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959812096001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358349707283529728,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124152131962310656,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1784999278000,"timestamp_ms":1784999278000,"timestamp_seconds":1784999278,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3f75b0"} 
[2026-07-25 22:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22: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-07-25 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 22:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":142451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":142451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":142451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959812096001,"66":27213,"29":206,"85":12544,"24":32,"16":358349707283529728,"45":9124152131962310656},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959812096001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:39:45] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:39:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358349707283529728,"km_value":358349707283529.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124152131962310656,"description":"Unknown IO ID 45"} 
[2026-07-25 22:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959812096001,"power":27213,"unknown_29":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9124152131962310656}} 
[2026-07-25 22:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":142451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:39:45] local.INFO: GPS data processed {"connection_id":142451,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:39:45] local.INFO: Acknowledgment sent {"connection_id":142451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:39:48] local.INFO: TCP Data received {"connection_id":141456,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:39:48] local.INFO: Processing buffer {"connection_id":141456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:39:48] local.INFO: IMEI packet received {"connection_id":141456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":141456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:39:54] local.INFO: TCP Data received {"connection_id":141456,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:39:54] local.INFO: Processing buffer {"connection_id":141456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:39:54] local.INFO: IMEI packet received {"connection_id":141456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":141456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:39:55] local.INFO: TCP Data received {"connection_id":141456,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:39:55] local.INFO: Processing buffer {"connection_id":141456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:39:55] local.INFO: Packet analysis {"connection_id":141456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:39:55] local.INFO: Extracted packet for processing {"connection_id":141456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:39:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":141456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:39:55] local.INFO: GPS data processed {"connection_id":141456,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:39:55] local.INFO: Acknowledgment sent {"connection_id":141456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:40:19] local.INFO: TCP Data received {"connection_id":142451,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3fa0a8012d7e9cc005ae82d8000701652b..."} 
[2026-07-25 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3fa0a8012d7e9cc005ae82d8000701652b..."} 
[2026-07-25 22:40:19] local.INFO: Processing buffer {"connection_id":142451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3fa0a8012d7e9cc005ae82d8000701652b..."} 
[2026-07-25 22:40:19] local.INFO: Packet analysis {"connection_id":142451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:40:19] local.INFO: Extracted packet for processing {"connection_id":142451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763272384,"raw_latitude":95322840,"longitude_deg":76.3272384,"latitude_deg":9.532284,"altitude":7,"angle":357,"satellites":43,"speed":25,"hex_longitude":"2d7e9cc0","hex_latitude":"05ae82d8","is_valid_coordinates":true} 
[2026-07-25 22:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959815168001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358350141075226624,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123870656987918336,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784999289000,"timestamp_ms":1784999289000,"timestamp_seconds":1784999289,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3fa0a8"} 
[2026-07-25 22:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:40: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-07-25 22:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 22:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":142451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":142451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":142451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959815168001,"66":27321,"29":206,"85":12544,"24":25,"16":358350141075226624,"45":9123870656987918336},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959815168001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:40:19] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358350141075226624,"km_value":358350141075226.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123870656987918336,"description":"Unknown IO ID 45"} 
[2026-07-25 22:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959815168001,"power":27321,"unknown_29":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9123870656987918336}} 
[2026-07-25 22:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":142451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:40:19] local.INFO: GPS data processed {"connection_id":142451,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:40:19] local.INFO: Acknowledgment sent {"connection_id":142451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:40:26] local.INFO: TCP Data received {"connection_id":141456,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:40:26] local.INFO: Processing buffer {"connection_id":141456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:40:26] local.INFO: Packet analysis {"connection_id":141456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:40:26] local.INFO: Extracted packet for processing {"connection_id":141456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:40:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:40:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":141456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:40:26] local.INFO: GPS data processed {"connection_id":141456,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:40:26] local.INFO: Acknowledgment sent {"connection_id":141456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:40:37] local.INFO: TCP Data received {"connection_id":141457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:40:37] local.INFO: Processing buffer {"connection_id":141457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:40:37] local.INFO: IMEI packet received {"connection_id":141457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":141457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:40:42] local.INFO: TCP Data received {"connection_id":141457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:40:42] local.INFO: Processing buffer {"connection_id":141457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:40:42] local.INFO: IMEI packet received {"connection_id":141457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":141457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:40:43] local.INFO: TCP Data received {"connection_id":141457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3fcba0012d7e9cc005ae96580008000c2e..."} 
[2026-07-25 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3fcba0012d7e9cc005ae96580008000c2e..."} 
[2026-07-25 22:40:43] local.INFO: Processing buffer {"connection_id":141457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3fcba0012d7e9cc005ae96580008000c2e..."} 
[2026-07-25 22:40:43] local.INFO: Packet analysis {"connection_id":141457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:40:43] local.INFO: Extracted packet for processing {"connection_id":141457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763272384,"raw_latitude":95327832,"longitude_deg":76.3272384,"latitude_deg":9.5327832,"altitude":8,"angle":12,"satellites":46,"speed":12,"hex_longitude":"2d7e9cc0","hex_latitude":"05ae9658","is_valid_coordinates":true} 
[2026-07-25 22:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959817984001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358350381593395200,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123378075780962304,"note":"Value kept but may cause issues"} 
[2026-07-25 22:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999300000,"timestamp_ms":1784999300000,"timestamp_seconds":1784999300,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3fcba0"} 
[2026-07-25 22:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-25 22:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959817984001,"66":27343,"29":206,"85":12544,"24":12,"16":358350381593395200,"45":9123378075780962304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959817984001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:40:43] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358350381593395200,"km_value":358350381593395.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123378075780962304,"description":"Unknown IO ID 45"} 
[2026-07-25 22:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959817984001,"power":27343,"unknown_29":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9123378075780962304}} 
[2026-07-25 22:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":141457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:40:43] local.INFO: GPS data processed {"connection_id":141457,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:40:43] local.INFO: Acknowledgment sent {"connection_id":141457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:40:54] local.INFO: TCP Data received {"connection_id":141458,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:40:54] local.INFO: Processing buffer {"connection_id":141458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:40:54] local.INFO: IMEI packet received {"connection_id":141458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":141458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:40:59] local.INFO: TCP Data received {"connection_id":141458,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:40:59] local.INFO: Processing buffer {"connection_id":141458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:40:59] local.INFO: IMEI packet received {"connection_id":141458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":141458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:41:00] local.INFO: TCP Data received {"connection_id":141458,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:00] local.INFO: Processing buffer {"connection_id":141458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:00] local.INFO: Packet analysis {"connection_id":141458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:41:00] local.INFO: Extracted packet for processing {"connection_id":141458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:41:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 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-07-25 22:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 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-07-25 22:41: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-07-25 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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 22:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:41:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":141458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:41:00] local.INFO: GPS data processed {"connection_id":141458,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:41:00] local.INFO: Acknowledgment sent {"connection_id":141458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:41:05] local.INFO: TCP Data received {"connection_id":141458,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:05] local.INFO: Processing buffer {"connection_id":141458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3db478012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:05] local.INFO: Packet analysis {"connection_id":141458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:41:05] local.INFO: Extracted packet for processing {"connection_id":141458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3d"} 
[2026-07-25 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959708672001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784999163000,"timestamp_ms":1784999163000,"timestamp_seconds":1784999163,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3db478"} 
[2026-07-25 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-25 22:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959708672001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959708672001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:41:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959708672001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":141458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:41:05] local.INFO: GPS data processed {"connection_id":141458,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:41:05] local.INFO: Acknowledgment sent {"connection_id":141458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:41:14] local.INFO: TCP Data received {"connection_id":141457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a3fe6f8012d7e9fc005aea2b0000701662d..."} 
[2026-07-25 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a3fe6f8012d7e9fc005aea2b0000701662d..."} 
[2026-07-25 22:41:14] local.INFO: Processing buffer {"connection_id":141457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a3fe6f8012d7e9fc005aea2b0000701662d..."} 
[2026-07-25 22:41:14] local.INFO: Packet analysis {"connection_id":141457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:41:14] local.INFO: Extracted packet for processing {"connection_id":141457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a3f"} 
[2026-07-25 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":763273152,"raw_latitude":95330992,"longitude_deg":76.3273152,"latitude_deg":9.5330992,"altitude":7,"angle":358,"satellites":45,"speed":24,"hex_longitude":"2d7e9fc0","hex_latitude":"05aea2b0","is_valid_coordinates":true} 
[2026-07-25 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959820800001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358350540507185152,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123378075782240256,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784999307000,"timestamp_ms":1784999307000,"timestamp_seconds":1784999307,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a3fe6f8"} 
[2026-07-25 22:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959820800001,"66":27343,"29":206,"85":12544,"24":24,"16":358350540507185152,"45":9123378075782240256},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959820800001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:41:14] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:41:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358350540507185152,"km_value":358350540507185.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123378075782240256,"description":"Unknown IO ID 45"} 
[2026-07-25 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959820800001,"power":27343,"unknown_29":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9123378075782240256}} 
[2026-07-25 22:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":141457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:41:14] local.INFO: GPS data processed {"connection_id":141457,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:41:14] local.INFO: Acknowledgment sent {"connection_id":141457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:41:42] local.INFO: TCP Data received {"connection_id":141459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:41:42] local.INFO: Processing buffer {"connection_id":141459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:41:42] local.INFO: IMEI packet received {"connection_id":141459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":141459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:41:47] local.INFO: TCP Data received {"connection_id":141459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:41:47] local.INFO: Processing buffer {"connection_id":141459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:41:47] local.INFO: IMEI packet received {"connection_id":141459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":141459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:41:48] local.INFO: TCP Data received {"connection_id":141459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4019c0012d7e9b4005aec4f8000701672c..."} 
[2026-07-25 22:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4019c0012d7e9b4005aec4f8000701672c..."} 
[2026-07-25 22:41:48] local.INFO: Processing buffer {"connection_id":141459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4019c0012d7e9b4005aec4f8000701672c..."} 
[2026-07-25 22:41:48] local.INFO: Packet analysis {"connection_id":141459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:41:48] local.INFO: Extracted packet for processing {"connection_id":141459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:41:48] local.INFO: GPS Element Parsed {"raw_longitude":763272000,"raw_latitude":95339768,"longitude_deg":76.3272,"latitude_deg":9.5339768,"altitude":7,"angle":359,"satellites":44,"speed":29,"hex_longitude":"2d7e9b40","hex_latitude":"05aec4f8","is_valid_coordinates":true} 
[2026-07-25 22:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959822592001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358350974298882048,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124222500713181184,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784999320000,"timestamp_ms":1784999320000,"timestamp_seconds":1784999320,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4019c0"} 
[2026-07-25 22:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:41: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-07-25 22:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959822592001,"66":27376,"29":206,"85":12544,"24":29,"16":358350974298882048,"45":9124222500713181184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959822592001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:41:48] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:41:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358350974298882048,"km_value":358350974298882.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124222500713181184,"description":"Unknown IO ID 45"} 
[2026-07-25 22:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959822592001,"power":27376,"unknown_29":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9124222500713181184}} 
[2026-07-25 22:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":141459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:41:48] local.INFO: GPS data processed {"connection_id":141459,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:41:48] local.INFO: Acknowledgment sent {"connection_id":141459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:41:49] local.INFO: TCP Data received {"connection_id":143809,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:41:49] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:41:49] local.INFO: IMEI packet received {"connection_id":143809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":143809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:41:55] local.INFO: TCP Data received {"connection_id":143809,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:41:55] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:41:55] local.INFO: IMEI packet received {"connection_id":143809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":143809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:41:56] local.INFO: TCP Data received {"connection_id":143809,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:56] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:41:56] local.INFO: Packet analysis {"connection_id":143809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:41:56] local.INFO: Extracted packet for processing {"connection_id":143809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:41:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":143809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:41:56] local.INFO: GPS data processed {"connection_id":143809,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:41:56] local.INFO: Acknowledgment sent {"connection_id":143809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:42:19] local.INFO: TCP Data received {"connection_id":141459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a404c88012d7e99c005aee9f0000801662b..."} 
[2026-07-25 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a404c88012d7e99c005aee9f0000801662b..."} 
[2026-07-25 22:42:19] local.INFO: Processing buffer {"connection_id":141459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a404c88012d7e99c005aee9f0000801662b..."} 
[2026-07-25 22:42:19] local.INFO: Packet analysis {"connection_id":141459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:42:19] local.INFO: Extracted packet for processing {"connection_id":141459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":763271616,"raw_latitude":95349232,"longitude_deg":76.3271616,"latitude_deg":9.5349232,"altitude":8,"angle":358,"satellites":43,"speed":32,"hex_longitude":"2d7e99c0","hex_latitude":"05aee9f0","is_valid_coordinates":true} 
[2026-07-25 22:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959825920001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358351433860382720,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122955863320229888,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1784999333000,"timestamp_ms":1784999333000,"timestamp_seconds":1784999333,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a404c88"} 
[2026-07-25 22:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-25 22:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959825920001,"66":27213,"28":206,"85":12544,"24":32,"16":358351433860382720,"45":9122955863320229888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-07-25 22:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959825920001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-25 22:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358351433860382720,"km_value":358351433860382.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122955863320229888,"description":"Unknown IO ID 45"} 
[2026-07-25 22:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959825920001,"power":27213,"unknown_28":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9122955863320229888}} 
[2026-07-25 22:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":141459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:42:19] local.INFO: GPS data processed {"connection_id":141459,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:42:19] local.INFO: Acknowledgment sent {"connection_id":141459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:42:27] local.INFO: TCP Data received {"connection_id":143809,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:42:27] local.INFO: Processing buffer {"connection_id":143809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:42:27] local.INFO: Packet analysis {"connection_id":143809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:42:27] local.INFO: Extracted packet for processing {"connection_id":143809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:42:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":143809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:42:27] local.INFO: GPS data processed {"connection_id":143809,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:42:27] local.INFO: Acknowledgment sent {"connection_id":143809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:42:37] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:42:37] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:42:37] local.INFO: IMEI packet received {"connection_id":141401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":141401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:42:42] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:42:42] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:42:42] local.INFO: IMEI packet received {"connection_id":141401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":141401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:42:43] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a407780012d7e98c005af0c90000801642b..."} 
[2026-07-25 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a407780012d7e98c005af0c90000801642b..."} 
[2026-07-25 22:42:43] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a407780012d7e98c005af0c90000801642b..."} 
[2026-07-25 22:42:43] local.INFO: Packet analysis {"connection_id":141401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:42:43] local.INFO: Extracted packet for processing {"connection_id":141401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:42:43] local.INFO: GPS Element Parsed {"raw_longitude":763271360,"raw_latitude":95358096,"longitude_deg":76.327136,"latitude_deg":9.5358096,"altitude":8,"angle":356,"satellites":43,"speed":30,"hex_longitude":"2d7e98c0","hex_latitude":"05af0c90","is_valid_coordinates":true} 
[2026-07-25 22:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959829248001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358351863357112320,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122533650857586688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999344000,"timestamp_ms":1784999344000,"timestamp_seconds":1784999344,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a407780"} 
[2026-07-25 22:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 22:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959829248001,"66":27332,"29":206,"85":12544,"24":30,"16":358351863357112320,"45":9122533650857586688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-07-25 22:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959829248001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:42:43] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-25 22:42:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358351863357112320,"km_value":358351863357112.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122533650857586688,"description":"Unknown IO ID 45"} 
[2026-07-25 22:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959829248001,"power":27332,"unknown_29":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9122533650857586688}} 
[2026-07-25 22:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":141401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:42:43] local.INFO: GPS data processed {"connection_id":141401,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:42:43] local.INFO: Acknowledgment sent {"connection_id":141401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:42:48] local.INFO: TCP Data received {"connection_id":141402,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:42:48] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:42:48] local.INFO: IMEI packet received {"connection_id":141402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":141402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:42:54] local.INFO: TCP Data received {"connection_id":141402,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:42:54] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:42:54] local.INFO: IMEI packet received {"connection_id":141402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":141402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:42:55] local.INFO: TCP Data received {"connection_id":141402,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:42:55] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:42:55] local.INFO: Packet analysis {"connection_id":141402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:42:55] local.INFO: Extracted packet for processing {"connection_id":141402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:42:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":141402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:42:55] local.INFO: GPS data processed {"connection_id":141402,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:42:55] local.INFO: Acknowledgment sent {"connection_id":141402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:43:14] local.INFO: TCP Data received {"connection_id":141401,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:43:14] local.INFO: Processing buffer {"connection_id":141401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:43:14] local.INFO: Packet analysis {"connection_id":141401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:43:14] local.INFO: Extracted packet for processing {"connection_id":141401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:43:14] local.INFO: GPS Element Parsed {"raw_longitude":763271232,"raw_latitude":95364120,"longitude_deg":76.3271232,"latitude_deg":9.536412,"altitude":8,"angle":357,"satellites":45,"speed":24,"hex_longitude":"2d7e9840","hex_latitude":"05af2418","is_valid_coordinates":true} 
[2026-07-25 22:43: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-07-25 22:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959832064001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122252175883145216,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784999353000,"timestamp_ms":1784999353000,"timestamp_seconds":1784999353,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a409aa8"} 
[2026-07-25 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-07-25 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-07-25 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 22:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959832064001,"66":27767,"27":206,"85":12544,"24":24,"16":358352155414888448,"45":9122252175883145216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959832064001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:43:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:43:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122252175883145216,"description":"Unknown IO ID 45"} 
[2026-07-25 22:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959832064001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9122252175883145216}} 
[2026-07-25 22:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":141401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:43:14] local.INFO: GPS data processed {"connection_id":141401,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:43:14] local.INFO: Acknowledgment sent {"connection_id":141401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:43:26] local.INFO: TCP Data received {"connection_id":141402,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:43:26] local.INFO: Processing buffer {"connection_id":141402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:43:26] local.INFO: Packet analysis {"connection_id":141402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:43:26] local.INFO: Extracted packet for processing {"connection_id":141402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:43:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:43:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":141402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:43:26] local.INFO: GPS data processed {"connection_id":141402,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:43:26] local.INFO: Acknowledgment sent {"connection_id":141402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:43:37] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:43:37] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:43:37] local.INFO: IMEI packet received {"connection_id":143810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":143810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:43:42] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:43:42] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:43:42] local.INFO: IMEI packet received {"connection_id":143810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":143810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:43:43] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:43:43] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:43:43] local.INFO: Packet analysis {"connection_id":143810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:43:43] local.INFO: Extracted packet for processing {"connection_id":143810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763271232,"raw_latitude":95364120,"longitude_deg":76.3271232,"latitude_deg":9.536412,"altitude":8,"angle":357,"satellites":45,"speed":24,"hex_longitude":"2d7e9840","hex_latitude":"05af2418","is_valid_coordinates":true} 
[2026-07-25 22:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959832064001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122252175883145216,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999353000,"timestamp_ms":1784999353000,"timestamp_seconds":1784999353,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a409aa8"} 
[2026-07-25 22:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959832064001,"66":27767,"27":206,"85":12544,"24":24,"16":358352155414888448,"45":9122252175883145216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959832064001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:43:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122252175883145216,"description":"Unknown IO ID 45"} 
[2026-07-25 22:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959832064001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9122252175883145216}} 
[2026-07-25 22:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":143810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:43:43] local.INFO: GPS data processed {"connection_id":143810,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:43:43] local.INFO: Acknowledgment sent {"connection_id":143810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:43:48] local.INFO: TCP Data received {"connection_id":142452,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:43:48] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:43:48] local.INFO: IMEI packet received {"connection_id":142452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":142452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:43:54] local.INFO: TCP Data received {"connection_id":142452,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:43:54] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:43:54] local.INFO: IMEI packet received {"connection_id":142452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":142452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:43:55] local.INFO: TCP Data received {"connection_id":142452,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:43:55] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:43:55] local.INFO: Packet analysis {"connection_id":142452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:43:55] local.INFO: Extracted packet for processing {"connection_id":142452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:43:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:43:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":142452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:43:55] local.INFO: GPS data processed {"connection_id":142452,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:43:55] local.INFO: Acknowledgment sent {"connection_id":142452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:44:14] local.INFO: TCP Data received {"connection_id":143810,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:44:14] local.INFO: Processing buffer {"connection_id":143810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a409aa8012d7e984005af2418000801652d..."} 
[2026-07-25 22:44:14] local.INFO: Packet analysis {"connection_id":143810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:44:14] local.INFO: Extracted packet for processing {"connection_id":143810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a40"} 
[2026-07-25 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763271232,"raw_latitude":95364120,"longitude_deg":76.3271232,"latitude_deg":9.536412,"altitude":8,"angle":357,"satellites":45,"speed":24,"hex_longitude":"2d7e9840","hex_latitude":"05af2418","is_valid_coordinates":true} 
[2026-07-25 22:44: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-07-25 22:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959832064001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122252175883145216,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784999353000,"timestamp_ms":1784999353000,"timestamp_seconds":1784999353,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a409aa8"} 
[2026-07-25 22:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959832064001,"66":27767,"27":206,"85":12544,"24":24,"16":358352155414888448,"45":9122252175883145216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959832064001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:44:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122252175883145216,"description":"Unknown IO ID 45"} 
[2026-07-25 22:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959832064001,"power":27767,"unknown_27":206,"unknown_85":12544,"ignition":24,"odometer":null,"unknown_45":9122252175883145216}} 
[2026-07-25 22:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":143810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:44:14] local.INFO: GPS data processed {"connection_id":143810,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:44:14] local.INFO: Acknowledgment sent {"connection_id":143810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:44:26] local.INFO: TCP Data received {"connection_id":142452,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:44:26] local.INFO: Processing buffer {"connection_id":142452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:44:26] local.INFO: Packet analysis {"connection_id":142452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:44:26] local.INFO: Extracted packet for processing {"connection_id":142452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:44:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:44:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":142452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:44:26] local.INFO: GPS data processed {"connection_id":142452,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:44:26] local.INFO: Acknowledgment sent {"connection_id":142452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:44:42] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:44:42] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:44:42] local.INFO: IMEI packet received {"connection_id":141403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":141403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:44:47] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:44:47] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:44:47] local.INFO: IMEI packet received {"connection_id":141403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":141403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:44:48] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a44e068012d7e97c005af5038000b01642e..."} 
[2026-07-25 22:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a44e068012d7e97c005af5038000b01642e..."} 
[2026-07-25 22:44:48] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a44e068012d7e97c005af5038000b01642e..."} 
[2026-07-25 22:44:48] local.INFO: Packet analysis {"connection_id":141403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a44"} 
[2026-07-25 22:44:48] local.INFO: Extracted packet for processing {"connection_id":141403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a44"} 
[2026-07-25 22:44:48] local.INFO: GPS Element Parsed {"raw_longitude":763271104,"raw_latitude":95375416,"longitude_deg":76.3271104,"latitude_deg":9.5375416,"altitude":11,"angle":356,"satellites":46,"speed":0,"hex_longitude":"2d7e97c0","hex_latitude":"05af5038","is_valid_coordinates":true} 
[2026-07-25 22:44: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-07-25 22:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959834368001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122111438396332032,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784999633000,"timestamp_ms":1784999633000,"timestamp_seconds":1784999633,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a44e068"} 
[2026-07-25 22:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 22:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959834368001,"66":25538,"27":206,"85":12544,"24":0,"16":358352155414888448,"45":9122111438396332032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959834368001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:44:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:44:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122111438396332032,"description":"Unknown IO ID 45"} 
[2026-07-25 22:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959834368001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9122111438396332032}} 
[2026-07-25 22:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":141403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:44:48] local.INFO: GPS data processed {"connection_id":141403,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:44:48] local.INFO: Acknowledgment sent {"connection_id":141403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:44:52] local.INFO: TCP Data received {"connection_id":141403,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a44e068012d7e97c005af5038000b01642e..."} 
[2026-07-25 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a44e068012d7e97c005af5038000b01642e..."} 
[2026-07-25 22:44:52] local.INFO: Processing buffer {"connection_id":141403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a44e068012d7e97c005af5038000b01642e..."} 
[2026-07-25 22:44:52] local.INFO: Packet analysis {"connection_id":141403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a44"} 
[2026-07-25 22:44:52] local.INFO: Extracted packet for processing {"connection_id":141403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a44"} 
[2026-07-25 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":763271104,"raw_latitude":95375416,"longitude_deg":76.3271104,"latitude_deg":9.5375416,"altitude":11,"angle":356,"satellites":46,"speed":0,"hex_longitude":"2d7e97c0","hex_latitude":"05af5038","is_valid_coordinates":true} 
[2026-07-25 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959834368001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122111438396332032,"note":"Value kept but may cause issues"} 
[2026-07-25 22:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784999633000,"timestamp_ms":1784999633000,"timestamp_seconds":1784999633,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a44e068"} 
[2026-07-25 22:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-25 22:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959834368001,"66":25538,"27":206,"85":12544,"24":0,"16":358352155414888448,"45":9122111438396332032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959834368001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:44:52] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122111438396332032,"description":"Unknown IO ID 45"} 
[2026-07-25 22:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959834368001,"power":25538,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9122111438396332032}} 
[2026-07-25 22:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":141403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:44:52] local.INFO: GPS data processed {"connection_id":141403,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:44:52] local.INFO: Acknowledgment sent {"connection_id":141403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:44:54] local.INFO: TCP Data received {"connection_id":141460,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:44:54] local.INFO: Processing buffer {"connection_id":141460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:44:54] local.INFO: IMEI packet received {"connection_id":141460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":141460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:44:59] local.INFO: TCP Data received {"connection_id":141460,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:44:59] local.INFO: Processing buffer {"connection_id":141460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:44:59] local.INFO: IMEI packet received {"connection_id":141460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":141460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:45:00] local.INFO: TCP Data received {"connection_id":141460,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:00] local.INFO: Processing buffer {"connection_id":141460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:00] local.INFO: Packet analysis {"connection_id":141460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:00] local.INFO: Extracted packet for processing {"connection_id":141460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22: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-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:45: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-07-25 22: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-07-25 22:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":141460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:45:00] local.INFO: GPS data processed {"connection_id":141460,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:45:00] local.INFO: Acknowledgment sent {"connection_id":141460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:45:04] local.INFO: TCP Data received {"connection_id":141460,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:04] local.INFO: Processing buffer {"connection_id":141460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:04] local.INFO: Packet analysis {"connection_id":141460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:04] local.INFO: Extracted packet for processing {"connection_id":141460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:45: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-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:45: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-07-25 22: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-07-25 22:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:45:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":141460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:45:05] local.INFO: GPS data processed {"connection_id":141460,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:45:05] local.INFO: Acknowledgment sent {"connection_id":141460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:45:37] local.INFO: TCP Data received {"connection_id":143811,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:45:37] local.INFO: Processing buffer {"connection_id":143811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:45:37] local.INFO: IMEI packet received {"connection_id":143811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":143811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:45:43] local.INFO: TCP Data received {"connection_id":143811,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:45:43] local.INFO: Processing buffer {"connection_id":143811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:45:43] local.INFO: IMEI packet received {"connection_id":143811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":143811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:45:44] local.INFO: TCP Data received {"connection_id":143811,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a453658012d7e94c005af58c0000b01622d..."} 
[2026-07-25 22:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a453658012d7e94c005af58c0000b01622d..."} 
[2026-07-25 22:45:44] local.INFO: Processing buffer {"connection_id":143811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a453658012d7e94c005af58c0000b01622d..."} 
[2026-07-25 22:45:44] local.INFO: Packet analysis {"connection_id":143811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:45:44] local.INFO: Extracted packet for processing {"connection_id":143811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:45:44] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":95377600,"longitude_deg":76.3270336,"latitude_deg":9.53776,"altitude":11,"angle":354,"satellites":45,"speed":0,"hex_longitude":"2d7e94c0","hex_latitude":"05af58c0","is_valid_coordinates":true} 
[2026-07-25 22:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959906048001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121970700910868480,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1784999655000,"timestamp_ms":1784999655000,"timestamp_seconds":1784999655,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a453658"} 
[2026-07-25 22:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:45: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-07-25 22:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959906048001,"66":27267,"27":206,"85":12544,"24":0,"16":358352155414888448,"45":9121970700910868480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959906048001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:45:44] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121970700910868480,"description":"Unknown IO ID 45"} 
[2026-07-25 22:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959906048001,"power":27267,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9121970700910868480}} 
[2026-07-25 22:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":143811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:45:44] local.INFO: GPS data processed {"connection_id":143811,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:45:44] local.INFO: Acknowledgment sent {"connection_id":143811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:45:49] local.INFO: TCP Data received {"connection_id":143812,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:45:49] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:45:49] local.INFO: IMEI packet received {"connection_id":143812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":143812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:45:54] local.INFO: TCP Data received {"connection_id":143812,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:45:54] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:45:54] local.INFO: IMEI packet received {"connection_id":143812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":143812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:45:55] local.INFO: TCP Data received {"connection_id":143812,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:55] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:55] local.INFO: Packet analysis {"connection_id":143812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:55] local.INFO: Extracted packet for processing {"connection_id":143812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:45:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":143812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:45:55] local.INFO: GPS data processed {"connection_id":143812,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:45:55] local.INFO: Acknowledgment sent {"connection_id":143812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:45:59] local.INFO: TCP Data received {"connection_id":143812,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:59] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:45:59] local.INFO: Packet analysis {"connection_id":143812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:59] local.INFO: Extracted packet for processing {"connection_id":143812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:45: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-07-25 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:45: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-07-25 22:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":143812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:45:59] local.INFO: GPS data processed {"connection_id":143812,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:45:59] local.INFO: Acknowledgment sent {"connection_id":143812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:46:15] local.INFO: TCP Data received {"connection_id":143811,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a458860012d7e94c005af58c0000b01622d..."} 
[2026-07-25 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a458860012d7e94c005af58c0000b01622d..."} 
[2026-07-25 22:46:15] local.INFO: Processing buffer {"connection_id":143811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a458860012d7e94c005af58c0000b01622d..."} 
[2026-07-25 22:46:15] local.INFO: Packet analysis {"connection_id":143811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:46:15] local.INFO: Extracted packet for processing {"connection_id":143811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763270336,"raw_latitude":95377600,"longitude_deg":76.3270336,"latitude_deg":9.53776,"altitude":11,"angle":354,"satellites":45,"speed":0,"hex_longitude":"2d7e94c0","hex_latitude":"05af58c0","is_valid_coordinates":true} 
[2026-07-25 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959911680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352155414888448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126275981295616,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784999676000,"timestamp_ms":1784999676000,"timestamp_seconds":1784999676,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a458860"} 
[2026-07-25 22:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-25 22:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959911680001,"66":27343,"27":206,"85":12544,"24":0,"16":358352155414888448,"45":9121126275981295616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959911680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:46:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:46:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352155414888448,"km_value":358352155414888.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126275981295616,"description":"Unknown IO ID 45"} 
[2026-07-25 22:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959911680001,"power":27343,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9121126275981295616}} 
[2026-07-25 22:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":143811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:46:15] local.INFO: GPS data processed {"connection_id":143811,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:46:15] local.INFO: Acknowledgment sent {"connection_id":143811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:46:31] local.INFO: TCP Data received {"connection_id":143812,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:31] local.INFO: Processing buffer {"connection_id":143812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a424c40012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:31] local.INFO: Packet analysis {"connection_id":143812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:46:31] local.INFO: Extracted packet for processing {"connection_id":143812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a42"} 
[2026-07-25 22:46:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959785728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1784999464000,"timestamp_ms":1784999464000,"timestamp_seconds":1784999464,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a424c40"} 
[2026-07-25 22:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143812,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959785728001,"66":25267,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959785728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:46:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959785728001,"power":25267,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":143812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:46:31] local.INFO: GPS data processed {"connection_id":143812,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:46:31] local.INFO: Acknowledgment sent {"connection_id":143812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:46:38] local.INFO: TCP Data received {"connection_id":141461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:38] local.INFO: Processing buffer {"connection_id":141461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:38] local.INFO: IMEI packet received {"connection_id":141461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":141461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:46:39] local.INFO: TCP Data received {"connection_id":141461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:39] local.INFO: Processing buffer {"connection_id":141461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:39] local.INFO: IMEI packet received {"connection_id":141461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":141461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:46:42] local.INFO: TCP Data received {"connection_id":141461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:42] local.INFO: Processing buffer {"connection_id":141461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:46:42] local.INFO: IMEI packet received {"connection_id":141461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":141461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:46:43] local.INFO: TCP Data received {"connection_id":141461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a45ab88012d7e95c005af5ae0000c000a2e..."} 
[2026-07-25 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a45ab88012d7e95c005af5ae0000c000a2e..."} 
[2026-07-25 22:46:43] local.INFO: Processing buffer {"connection_id":141461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a45ab88012d7e95c005af5ae0000c000a2e..."} 
[2026-07-25 22:46:43] local.INFO: Packet analysis {"connection_id":141461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:46:43] local.INFO: Extracted packet for processing {"connection_id":141461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763270592,"raw_latitude":95378144,"longitude_deg":76.3270592,"latitude_deg":9.5378144,"altitude":12,"angle":10,"satellites":46,"speed":8,"hex_longitude":"2d7e95c0","hex_latitude":"05af5ae0","is_valid_coordinates":true} 
[2026-07-25 22:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959917056001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352181184692224,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121126275981295616,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999685000,"timestamp_ms":1784999685000,"timestamp_seconds":1784999685,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a45ab88"} 
[2026-07-25 22:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-25 22:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959917056001,"66":27300,"27":206,"85":12544,"24":8,"16":358352181184692224,"45":9121126275981295616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959917056001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352181184692224,"km_value":358352181184692.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121126275981295616,"description":"Unknown IO ID 45"} 
[2026-07-25 22:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959917056001,"power":27300,"unknown_27":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9121126275981295616}} 
[2026-07-25 22:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":141461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:46:43] local.INFO: GPS data processed {"connection_id":141461,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:46:43] local.INFO: Acknowledgment sent {"connection_id":141461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:46:43] local.INFO: TCP Data received {"connection_id":141461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a45b740012d7e95c005af5e18000c01652e..."} 
[2026-07-25 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a45b740012d7e95c005af5e18000c01652e..."} 
[2026-07-25 22:46:43] local.INFO: Processing buffer {"connection_id":141461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a45b740012d7e95c005af5e18000c01652e..."} 
[2026-07-25 22:46:43] local.INFO: Packet analysis {"connection_id":141461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:46:43] local.INFO: Extracted packet for processing {"connection_id":141461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a45"} 
[2026-07-25 22:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763270592,"raw_latitude":95378968,"longitude_deg":76.3270592,"latitude_deg":9.5378968,"altitude":12,"angle":357,"satellites":46,"speed":11,"hex_longitude":"2d7e95c0","hex_latitude":"05af5e18","is_valid_coordinates":true} 
[2026-07-25 22:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959919360001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358352224134365184,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121407750958145536,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999688000,"timestamp_ms":1784999688000,"timestamp_seconds":1784999688,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a45b740"} 
[2026-07-25 22:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-25 22:46:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959919360001,"66":27343,"27":206,"85":12544,"24":11,"16":358352224134365184,"45":9121407750958145536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959919360001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358352224134365184,"km_value":358352224134365.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121407750958145536,"description":"Unknown IO ID 45"} 
[2026-07-25 22:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959919360001,"power":27343,"unknown_27":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9121407750958145536}} 
[2026-07-25 22:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":141461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:46:43] local.INFO: GPS data processed {"connection_id":141461,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:46:43] local.INFO: Acknowledgment sent {"connection_id":141461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:46:54] local.INFO: TCP Data received {"connection_id":143813,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:46:54] local.INFO: Processing buffer {"connection_id":143813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:46:54] local.INFO: IMEI packet received {"connection_id":143813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":143813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:46:54] local.INFO: TCP Data received {"connection_id":143813,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:46:54] local.INFO: Processing buffer {"connection_id":143813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:46:54] local.INFO: IMEI packet received {"connection_id":143813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":143813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:46:55] local.INFO: TCP Data received {"connection_id":143813,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:55] local.INFO: Processing buffer {"connection_id":143813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:55] local.INFO: Packet analysis {"connection_id":143813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:46:55] local.INFO: Extracted packet for processing {"connection_id":143813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:46:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:46:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":143813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:46:55] local.INFO: GPS data processed {"connection_id":143813,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:46:55] local.INFO: Acknowledgment sent {"connection_id":143813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:46:59] local.INFO: TCP Data received {"connection_id":143813,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:59] local.INFO: Processing buffer {"connection_id":143813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:46:59] local.INFO: Packet analysis {"connection_id":143813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:46:59] local.INFO: Extracted packet for processing {"connection_id":143813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":143813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:46:59] local.INFO: GPS data processed {"connection_id":143813,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:46:59] local.INFO: Acknowledgment sent {"connection_id":143813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:47:15] local.INFO: TCP Data received {"connection_id":141461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a473610012d7f32c005af5970000a00082e..."} 
[2026-07-25 22:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a473610012d7f32c005af5970000a00082e..."} 
[2026-07-25 22:47:15] local.INFO: Processing buffer {"connection_id":141461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a473610012d7f32c005af5970000a00082e..."} 
[2026-07-25 22:47:15] local.INFO: Packet analysis {"connection_id":141461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:47:15] local.INFO: Extracted packet for processing {"connection_id":141461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":763310784,"raw_latitude":95377776,"longitude_deg":76.3310784,"latitude_deg":9.5377776,"altitude":10,"angle":8,"satellites":46,"speed":9,"hex_longitude":"2d7f32c0","hex_latitude":"05af5970","is_valid_coordinates":true} 
[2026-07-25 22:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959944704001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358354753870102528,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165388216068976640,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1784999786000,"timestamp_ms":1784999786000,"timestamp_seconds":1784999786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a473610"} 
[2026-07-25 22:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959944704001,"66":27245,"250":206,"85":12544,"24":9,"16":358354753870102528,"45":9165388216068976640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959944704001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:47:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358354753870102528,"km_value":358354753870102.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165388216068976640,"description":"Unknown IO ID 45"} 
[2026-07-25 22:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959944704001,"power":27245,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9165388216068976640}} 
[2026-07-25 22:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":141461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:47:15] local.INFO: GPS data processed {"connection_id":141461,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:47:15] local.INFO: Acknowledgment sent {"connection_id":141461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:47:30] local.INFO: TCP Data received {"connection_id":143813,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:47:30] local.INFO: Processing buffer {"connection_id":143813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:47:30] local.INFO: Packet analysis {"connection_id":143813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:47:30] local.INFO: Extracted packet for processing {"connection_id":143813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":143813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":143813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":143813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":143813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:47:30] local.INFO: GPS data processed {"connection_id":143813,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:47:30] local.INFO: Acknowledgment sent {"connection_id":143813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:47:37] local.INFO: TCP Data received {"connection_id":141462,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:37] local.INFO: Processing buffer {"connection_id":141462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:37] local.INFO: IMEI packet received {"connection_id":141462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":141462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:47:40] local.INFO: TCP Data received {"connection_id":141462,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:40] local.INFO: Processing buffer {"connection_id":141462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:40] local.INFO: IMEI packet received {"connection_id":141462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":141462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:47:42] local.INFO: TCP Data received {"connection_id":141462,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:42] local.INFO: Processing buffer {"connection_id":141462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:47:42] local.INFO: IMEI packet received {"connection_id":141462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":141462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:47:42] local.INFO: TCP Data received {"connection_id":141462,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4739f8012d7f32c005af5a58000a015e2e..."} 
[2026-07-25 22:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4739f8012d7f32c005af5a58000a015e2e..."} 
[2026-07-25 22:47:42] local.INFO: Processing buffer {"connection_id":141462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4739f8012d7f32c005af5a58000a015e2e..."} 
[2026-07-25 22:47:42] local.INFO: Packet analysis {"connection_id":141462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:47:42] local.INFO: Extracted packet for processing {"connection_id":141462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763310784,"raw_latitude":95378008,"longitude_deg":76.3310784,"latitude_deg":9.5378008,"altitude":10,"angle":350,"satellites":46,"speed":9,"hex_longitude":"2d7f32c0","hex_latitude":"05af5a58","is_valid_coordinates":true} 
[2026-07-25 22:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959945216001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358354766755004416,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165599322301624320,"note":"Value kept but may cause issues"} 
[2026-07-25 22:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1784999787000,"timestamp_ms":1784999787000,"timestamp_seconds":1784999787,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4739f8"} 
[2026-07-25 22:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 22:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959945216001,"66":27245,"250":206,"85":12544,"24":9,"16":358354766755004416,"45":9165599322301624320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959945216001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:47:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:47:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358354766755004416,"km_value":358354766755004.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165599322301624320,"description":"Unknown IO ID 45"} 
[2026-07-25 22:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959945216001,"power":27245,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9165599322301624320}} 
[2026-07-25 22:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":141462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:47:42] local.INFO: GPS data processed {"connection_id":141462,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:47:42] local.INFO: Acknowledgment sent {"connection_id":141462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:47:48] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:47:48] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:47:48] local.INFO: IMEI packet received {"connection_id":143814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":143814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:47:54] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:47:54] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:47:54] local.INFO: IMEI packet received {"connection_id":143814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":143814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:48:00] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:48:00] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:48:00] local.INFO: Packet analysis {"connection_id":143814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:48:00] local.INFO: Extracted packet for processing {"connection_id":143814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:48:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:48: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-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:48:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":143814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:48:01] local.INFO: GPS data processed {"connection_id":143814,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:48:01] local.INFO: Acknowledgment sent {"connection_id":143814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:48:13] local.INFO: TCP Data received {"connection_id":141462,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4741c8012d7f32c005af5c20000a00052e..."} 
[2026-07-25 22:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4741c8012d7f32c005af5c20000a00052e..."} 
[2026-07-25 22:48:13] local.INFO: Processing buffer {"connection_id":141462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4741c8012d7f32c005af5c20000a00052e..."} 
[2026-07-25 22:48:13] local.INFO: Packet analysis {"connection_id":141462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:48:13] local.INFO: Extracted packet for processing {"connection_id":141462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763310784,"raw_latitude":95378464,"longitude_deg":76.3310784,"latitude_deg":9.5378464,"altitude":10,"angle":5,"satellites":46,"speed":9,"hex_longitude":"2d7f32c0","hex_latitude":"05af5c20","is_valid_coordinates":true} 
[2026-07-25 22:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959945472001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358354788229840896,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165599322301683712,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1784999789000,"timestamp_ms":1784999789000,"timestamp_seconds":1784999789,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4741c8"} 
[2026-07-25 22:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-25 22:48: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-07-25 22:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959945472001,"66":27180,"250":206,"85":12544,"24":9,"16":358354788229840896,"45":9165599322301683712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959945472001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:48:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:48:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358354788229840896,"km_value":358354788229840.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165599322301683712,"description":"Unknown IO ID 45"} 
[2026-07-25 22:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959945472001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9165599322301683712}} 
[2026-07-25 22:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":141462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:48:13] local.INFO: GPS data processed {"connection_id":141462,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:48:13] local.INFO: Acknowledgment sent {"connection_id":141462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:48:32] local.INFO: TCP Data received {"connection_id":143814,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:48:32] local.INFO: Processing buffer {"connection_id":143814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:48:32] local.INFO: Packet analysis {"connection_id":143814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:48:32] local.INFO: Extracted packet for processing {"connection_id":143814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:48:32] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:48: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-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":143814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":143814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":143814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:48:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":143814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:48:32] local.INFO: GPS data processed {"connection_id":143814,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:48:32] local.INFO: Acknowledgment sent {"connection_id":143814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:48:38] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:38] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:38] local.INFO: IMEI packet received {"connection_id":142453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":142453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:48:39] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:39] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:39] local.INFO: IMEI packet received {"connection_id":142453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":142453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:48:42] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:42] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:42] local.INFO: IMEI packet received {"connection_id":142453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":142453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:48:47] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:47] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:48:47] local.INFO: IMEI packet received {"connection_id":142453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":142453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:48:48] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a478818012d7f358005af8008000a00022d..."} 
[2026-07-25 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a478818012d7f358005af8008000a00022d..."} 
[2026-07-25 22:48:48] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a478818012d7f358005af8008000a00022d..."} 
[2026-07-25 22:48:48] local.INFO: Packet analysis {"connection_id":142453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:48:48] local.INFO: Extracted packet for processing {"connection_id":142453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:48:48] local.INFO: GPS Element Parsed {"raw_longitude":763311488,"raw_latitude":95387656,"longitude_deg":76.3311488,"latitude_deg":9.5387656,"altitude":10,"angle":2,"satellites":45,"speed":27,"hex_longitude":"2d7f3580","hex_latitude":"05af8008","is_valid_coordinates":true} 
[2026-07-25 22:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959945984001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358355234906439680,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165599322301800448,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1784999807000,"timestamp_ms":1784999807000,"timestamp_seconds":1784999807,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a478818"} 
[2026-07-25 22:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-25 22:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959945984001,"66":27332,"250":206,"85":12544,"24":27,"16":358355234906439680,"45":9165599322301800448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959945984001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:48:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:48:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358355234906439680,"km_value":358355234906439.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165599322301800448,"description":"Unknown IO ID 45"} 
[2026-07-25 22:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959945984001,"power":27332,"unknown_250":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9165599322301800448}} 
[2026-07-25 22:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":142453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:48:48] local.INFO: GPS data processed {"connection_id":142453,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:48:48] local.INFO: Acknowledgment sent {"connection_id":142453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:48:52] local.INFO: TCP Data received {"connection_id":142453,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a47c2b0012d7f37c005afa4a8000800042d..."} 
[2026-07-25 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a47c2b0012d7f37c005afa4a8000800042d..."} 
[2026-07-25 22:48:52] local.INFO: Processing buffer {"connection_id":142453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a47c2b0012d7f37c005afa4a8000800042d..."} 
[2026-07-25 22:48:52] local.INFO: Packet analysis {"connection_id":142453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:48:52] local.INFO: Extracted packet for processing {"connection_id":142453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":763312064,"raw_latitude":95397032,"longitude_deg":76.3312064,"latitude_deg":9.5397032,"altitude":8,"angle":4,"satellites":45,"speed":23,"hex_longitude":"2d7f37c0","hex_latitude":"05afa4a8","is_valid_coordinates":true} 
[2026-07-25 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959950592001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358355694467940352,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9166373378490107904,"note":"Value kept but may cause issues"} 
[2026-07-25 22:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784999822000,"timestamp_ms":1784999822000,"timestamp_seconds":1784999822,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a47c2b0"} 
[2026-07-25 22:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-25 22:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959950592001,"66":27484,"250":206,"85":12544,"24":23,"16":358355694467940352,"45":9166373378490107904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959950592001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:48:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358355694467940352,"km_value":358355694467940.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9166373378490107904,"description":"Unknown IO ID 45"} 
[2026-07-25 22:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959950592001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9166373378490107904}} 
[2026-07-25 22:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":142453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:48:52] local.INFO: GPS data processed {"connection_id":142453,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:48:52] local.INFO: Acknowledgment sent {"connection_id":142453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:48:54] local.INFO: TCP Data received {"connection_id":141404,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:48:54] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:48:54] local.INFO: IMEI packet received {"connection_id":141404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":141404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:48:59] local.INFO: TCP Data received {"connection_id":141404,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:48:59] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:48:59] local.INFO: IMEI packet received {"connection_id":141404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":141404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:49:00] local.INFO: TCP Data received {"connection_id":141404,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:00] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:00] local.INFO: Packet analysis {"connection_id":141404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:49:00] local.INFO: Extracted packet for processing {"connection_id":141404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:49:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:49: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-07-25 22:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:49:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":141404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:49:00] local.INFO: GPS data processed {"connection_id":141404,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:49:00] local.INFO: Acknowledgment sent {"connection_id":141404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:49:05] local.INFO: TCP Data received {"connection_id":141404,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:05] local.INFO: Processing buffer {"connection_id":141404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:05] local.INFO: Packet analysis {"connection_id":141404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:49:05] local.INFO: Extracted packet for processing {"connection_id":141404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:49:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":141404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:49:05] local.INFO: GPS data processed {"connection_id":141404,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:49:05] local.INFO: Acknowledgment sent {"connection_id":141404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:49:37] local.INFO: TCP Data received {"connection_id":141463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:49:37] local.INFO: Processing buffer {"connection_id":141463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:49:37] local.INFO: IMEI packet received {"connection_id":141463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":141463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:49:42] local.INFO: TCP Data received {"connection_id":141463,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:49:42] local.INFO: Processing buffer {"connection_id":141463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:49:42] local.INFO: IMEI packet received {"connection_id":141463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":141463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:49:43] local.INFO: TCP Data received {"connection_id":141463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a47e5d8012d7f3a8005afb710000700172d..."} 
[2026-07-25 22:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a47e5d8012d7f3a8005afb710000700172d..."} 
[2026-07-25 22:49:43] local.INFO: Processing buffer {"connection_id":141463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a47e5d8012d7f3a8005afb710000700172d..."} 
[2026-07-25 22:49:43] local.INFO: Packet analysis {"connection_id":141463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:49:43] local.INFO: Extracted packet for processing {"connection_id":141463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a47"} 
[2026-07-25 22:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763312768,"raw_latitude":95401744,"longitude_deg":76.3312768,"latitude_deg":9.5401744,"altitude":7,"angle":23,"satellites":45,"speed":14,"hex_longitude":"2d7f3a80","hex_latitude":"05afb710","is_valid_coordinates":true} 
[2026-07-25 22:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959954432001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358355922101207040,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167006697190107136,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999831000,"timestamp_ms":1784999831000,"timestamp_seconds":1784999831,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a47e5d8"} 
[2026-07-25 22:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-25 22:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959954432001,"66":27365,"250":206,"85":12544,"24":14,"16":358355922101207040,"45":9167006697190107136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959954432001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:49:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358355922101207040,"km_value":358355922101207.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167006697190107136,"description":"Unknown IO ID 45"} 
[2026-07-25 22:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959954432001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9167006697190107136}} 
[2026-07-25 22:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":141463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:49:43] local.INFO: GPS data processed {"connection_id":141463,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:49:43] local.INFO: Acknowledgment sent {"connection_id":141463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:49:49] local.INFO: TCP Data received {"connection_id":141464,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:49:49] local.INFO: Processing buffer {"connection_id":141464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:49:49] local.INFO: IMEI packet received {"connection_id":141464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":141464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:49:54] local.INFO: TCP Data received {"connection_id":141464,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:49:54] local.INFO: Processing buffer {"connection_id":141464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:49:54] local.INFO: IMEI packet received {"connection_id":141464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":141464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:49:55] local.INFO: TCP Data received {"connection_id":141464,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:55] local.INFO: Processing buffer {"connection_id":141464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:49:55] local.INFO: Packet analysis {"connection_id":141464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:49:55] local.INFO: Extracted packet for processing {"connection_id":141464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:49:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:49:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":141464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:49:55] local.INFO: GPS data processed {"connection_id":141464,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:49:55] local.INFO: Acknowledgment sent {"connection_id":141464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:50:14] local.INFO: TCP Data received {"connection_id":141463,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a494d38012d7fa08005afbc50000800052e..."} 
[2026-07-25 22:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a494d38012d7fa08005afbc50000800052e..."} 
[2026-07-25 22:50:14] local.INFO: Processing buffer {"connection_id":141463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a494d38012d7fa08005afbc50000800052e..."} 
[2026-07-25 22:50:14] local.INFO: Packet analysis {"connection_id":141463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a49"} 
[2026-07-25 22:50:14] local.INFO: Extracted packet for processing {"connection_id":141463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a49"} 
[2026-07-25 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95403088,"longitude_deg":76.333888,"latitude_deg":9.5403088,"altitude":8,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7fa080","hex_latitude":"05afbc50","is_valid_coordinates":true} 
[2026-07-25 22:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959974912001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357210591395840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002098688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784999923000,"timestamp_ms":1784999923000,"timestamp_seconds":1784999923,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a494d38"} 
[2026-07-25 22:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-25 22:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959974912001,"66":27137,"27":206,"85":12544,"24":0,"16":358357210591395840,"45":9196491201002098688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959974912001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:50:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357210591395840,"km_value":358357210591395.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002098688,"description":"Unknown IO ID 45"} 
[2026-07-25 22:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959974912001,"power":27137,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196491201002098688}} 
[2026-07-25 22:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":141463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:50:15] local.INFO: GPS data processed {"connection_id":141463,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:50:15] local.INFO: Acknowledgment sent {"connection_id":141463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:50:26] local.INFO: TCP Data received {"connection_id":141464,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:50:26] local.INFO: Processing buffer {"connection_id":141464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:50:26] local.INFO: Packet analysis {"connection_id":141464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:50:26] local.INFO: Extracted packet for processing {"connection_id":141464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:50:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":141464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:50:26] local.INFO: GPS data processed {"connection_id":141464,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:50:26] local.INFO: Acknowledgment sent {"connection_id":141464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:50:35] local.INFO: TCP Data received {"connection_id":141465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:35] local.INFO: Processing buffer {"connection_id":141465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:35] local.INFO: IMEI packet received {"connection_id":141465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":141465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:50:37] local.INFO: TCP Data received {"connection_id":141465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:37] local.INFO: Processing buffer {"connection_id":141465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:37] local.INFO: IMEI packet received {"connection_id":141465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":141465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:50:37] local.INFO: TCP Data received {"connection_id":141465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:37] local.INFO: Processing buffer {"connection_id":141465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:37] local.INFO: IMEI packet received {"connection_id":141465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":141465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:50:42] local.INFO: TCP Data received {"connection_id":141465,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:42] local.INFO: Processing buffer {"connection_id":141465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:50:42] local.INFO: IMEI packet received {"connection_id":141465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":141465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:50:43] local.INFO: TCP Data received {"connection_id":141465,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a499f40012d7fa08005afbc50000800052e..."} 
[2026-07-25 22:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a499f40012d7fa08005afbc50000800052e..."} 
[2026-07-25 22:50:43] local.INFO: Processing buffer {"connection_id":141465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a499f40012d7fa08005afbc50000800052e..."} 
[2026-07-25 22:50:43] local.INFO: Packet analysis {"connection_id":141465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a49"} 
[2026-07-25 22:50:43] local.INFO: Extracted packet for processing {"connection_id":141465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a49"} 
[2026-07-25 22:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95403088,"longitude_deg":76.333888,"latitude_deg":9.5403088,"altitude":8,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7fa080","hex_latitude":"05afbc50","is_valid_coordinates":true} 
[2026-07-25 22:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959980288001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357210591395840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002098688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999944000,"timestamp_ms":1784999944000,"timestamp_seconds":1784999944,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a499f40"} 
[2026-07-25 22:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-25 22:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959980288001,"66":27365,"27":206,"85":12544,"24":0,"16":358357210591395840,"45":9196491201002098688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-07-25 22:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959980288001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:50:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-25 22:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357210591395840,"km_value":358357210591395.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002098688,"description":"Unknown IO ID 45"} 
[2026-07-25 22:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959980288001,"power":27365,"unknown_27":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196491201002098688}} 
[2026-07-25 22:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":141465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:50:43] local.INFO: GPS data processed {"connection_id":141465,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:50:43] local.INFO: Acknowledgment sent {"connection_id":141465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:50:48] local.INFO: TCP Data received {"connection_id":141466,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:50:48] local.INFO: Processing buffer {"connection_id":141466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:50:48] local.INFO: IMEI packet received {"connection_id":141466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":141466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:50:53] local.INFO: TCP Data received {"connection_id":141466,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:50:53] local.INFO: Processing buffer {"connection_id":141466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:50:53] local.INFO: IMEI packet received {"connection_id":141466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":141466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:50:56] local.INFO: TCP Data received {"connection_id":141466,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:50:56] local.INFO: Processing buffer {"connection_id":141466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a46e408012d77a94005f27b900013016323..."} 
[2026-07-25 22:50:56] local.INFO: Packet analysis {"connection_id":141466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:50:56] local.INFO: Extracted packet for processing {"connection_id":141466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a46"} 
[2026-07-25 22:50:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959862784001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1784999765000,"timestamp_ms":1784999765000,"timestamp_seconds":1784999765,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a46e408"} 
[2026-07-25 22:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-25 22:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":141466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":141466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":141466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959862784001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959862784001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:50:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959862784001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":141466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:50:56] local.INFO: GPS data processed {"connection_id":141466,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:50:56] local.INFO: Acknowledgment sent {"connection_id":141466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:51:14] local.INFO: TCP Data received {"connection_id":141465,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a49f148012d7fa08005afbc50000800052d..."} 
[2026-07-25 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a49f148012d7fa08005afbc50000800052d..."} 
[2026-07-25 22:51:14] local.INFO: Processing buffer {"connection_id":141465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a49f148012d7fa08005afbc50000800052d..."} 
[2026-07-25 22:51:14] local.INFO: Packet analysis {"connection_id":141465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a49"} 
[2026-07-25 22:51:14] local.INFO: Extracted packet for processing {"connection_id":141465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a49"} 
[2026-07-25 22:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763338880,"raw_latitude":95403088,"longitude_deg":76.333888,"latitude_deg":9.5403088,"altitude":8,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fa080","hex_latitude":"05afbc50","is_valid_coordinates":true} 
[2026-07-25 22:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959985664001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357210591395840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002098688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784999965000,"timestamp_ms":1784999965000,"timestamp_seconds":1784999965,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a49f148"} 
[2026-07-25 22:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-25 22:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959985664001,"66":27213,"250":206,"85":12544,"24":0,"16":358357210591395840,"45":9196491201002098688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959985664001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:51:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357210591395840,"km_value":358357210591395.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002098688,"description":"Unknown IO ID 45"} 
[2026-07-25 22:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959985664001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196491201002098688}} 
[2026-07-25 22:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":141465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:51:14] local.INFO: GPS data processed {"connection_id":141465,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:51:14] local.INFO: Acknowledgment sent {"connection_id":141465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:51:28] local.INFO: TCP Data received {"connection_id":141466,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b0e70012d77a94005f27b900013016323..."} 
[2026-07-25 22:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b0e70012d77a94005f27b900013016323..."} 
[2026-07-25 22:51:28] local.INFO: Processing buffer {"connection_id":141466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b0e70012d77a94005f27b900013016323..."} 
[2026-07-25 22:51:28] local.INFO: Packet analysis {"connection_id":141466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:51:28] local.INFO: Extracted packet for processing {"connection_id":141466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:51:28] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959939840001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1785000038000,"timestamp_ms":1785000038000,"timestamp_seconds":1785000038,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b0e70"} 
[2026-07-25 22:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:51: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-07-25 22: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 22:51: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-07-25 22:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":141466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":141466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":141466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959939840001,"66":25278,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959939840001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:51:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959939840001,"power":25278,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":141466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:51:28] local.INFO: GPS data processed {"connection_id":141466,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:51:28] local.INFO: Acknowledgment sent {"connection_id":141466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:51:37] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:51:37] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:51:37] local.INFO: IMEI packet received {"connection_id":141405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":141405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:51:42] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:51:42] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:51:42] local.INFO: IMEI packet received {"connection_id":141405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":141405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:51:43] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a4350012d7fa24005afc808000300062e..."} 
[2026-07-25 22:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a4350012d7fa24005afc808000300062e..."} 
[2026-07-25 22:51:43] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a4350012d7fa24005afc808000300062e..."} 
[2026-07-25 22:51:43] local.INFO: Packet analysis {"connection_id":141405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:51:43] local.INFO: Extracted packet for processing {"connection_id":141405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":95406088,"longitude_deg":76.3339328,"latitude_deg":9.5406088,"altitude":3,"angle":6,"satellites":46,"speed":15,"hex_longitude":"2d7fa240","hex_latitude":"05afc808","is_valid_coordinates":true} 
[2026-07-25 22:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959991040001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357360915251200,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196491201002098688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1784999986000,"timestamp_ms":1784999986000,"timestamp_seconds":1784999986,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a4350"} 
[2026-07-25 22:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-25 22:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959991040001,"66":27919,"250":206,"85":12544,"24":15,"16":358357360915251200,"45":9196491201002098688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959991040001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:51:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357360915251200,"km_value":358357360915251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196491201002098688,"description":"Unknown IO ID 45"} 
[2026-07-25 22:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959991040001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9196491201002098688}} 
[2026-07-25 22:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":141405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:51:43] local.INFO: GPS data processed {"connection_id":141405,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:51:43] local.INFO: Acknowledgment sent {"connection_id":141405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:51:48] local.INFO: TCP Data received {"connection_id":143815,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:48] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:48] local.INFO: IMEI packet received {"connection_id":143815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":143815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:51:49] local.INFO: TCP Data received {"connection_id":143815,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:49] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:49] local.INFO: IMEI packet received {"connection_id":143815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":143815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:51:54] local.INFO: TCP Data received {"connection_id":143815,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:54] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:51:54] local.INFO: IMEI packet received {"connection_id":143815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":143815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:51:55] local.INFO: TCP Data received {"connection_id":143815,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b6c30012d77a6c005f27b680013016323..."} 
[2026-07-25 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b6c30012d77a6c005f27b680013016323..."} 
[2026-07-25 22:51:55] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b6c30012d77a6c005f27b680013016323..."} 
[2026-07-25 22:51:55] local.INFO: Packet analysis {"connection_id":143815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:51:55] local.INFO: Extracted packet for processing {"connection_id":143815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960009728001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 22:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000062000,"timestamp_ms":1785000062000,"timestamp_seconds":1785000062,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b6c30"} 
[2026-07-25 22:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-07-25 22:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960009728001,"66":28137,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960009728001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:51:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 22:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960009728001,"power":28137,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 22:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":143815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:51:55] local.INFO: GPS data processed {"connection_id":143815,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:51:55] local.INFO: Acknowledgment sent {"connection_id":143815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:52:14] local.INFO: TCP Data received {"connection_id":141405,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a6a60012d7fa44005afd538000600132e..."} 
[2026-07-25 22:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a6a60012d7fa44005afd538000600132e..."} 
[2026-07-25 22:52:14] local.INFO: Processing buffer {"connection_id":141405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a6a60012d7fa44005afd538000600132e..."} 
[2026-07-25 22:52:14] local.INFO: Packet analysis {"connection_id":141405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:52:14] local.INFO: Extracted packet for processing {"connection_id":141405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763339840,"raw_latitude":95409464,"longitude_deg":76.333984,"latitude_deg":9.5409464,"altitude":6,"angle":19,"satellites":46,"speed":13,"hex_longitude":"2d7fa440","hex_latitude":"05afd538","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959996416001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357528418975744,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782212110336,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1784999996000,"timestamp_ms":1784999996000,"timestamp_seconds":1784999996,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a6a60"} 
[2026-07-25 22:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 22:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959996416001,"66":28082,"250":206,"85":12544,"24":13,"16":358357528418975744,"45":9196983782212110336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959996416001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:52:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357528418975744,"km_value":358357528418975.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782212110336,"description":"Unknown IO ID 45"} 
[2026-07-25 22:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959996416001,"power":28082,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9196983782212110336}} 
[2026-07-25 22:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":141405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:52:14] local.INFO: GPS data processed {"connection_id":141405,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:52:14] local.INFO: Acknowledgment sent {"connection_id":141405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:52:26] local.INFO: TCP Data received {"connection_id":143815,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:52:26] local.INFO: Processing buffer {"connection_id":143815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:52:26] local.INFO: Packet analysis {"connection_id":143815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:52:26] local.INFO: Extracted packet for processing {"connection_id":143815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:52:26] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:52: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-07-25 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:52:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":143815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:52:26] local.INFO: GPS data processed {"connection_id":143815,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:52:26] local.INFO: Acknowledgment sent {"connection_id":143815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:52:42] local.INFO: TCP Data received {"connection_id":141467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:52:42] local.INFO: Processing buffer {"connection_id":141467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:52:42] local.INFO: IMEI packet received {"connection_id":141467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":141467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:52:47] local.INFO: TCP Data received {"connection_id":141467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:52:47] local.INFO: Processing buffer {"connection_id":141467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:52:47] local.INFO: IMEI packet received {"connection_id":141467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":141467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:52:47] local.INFO: TCP Data received {"connection_id":141467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a6e48012d7fa4c005afd6780006001f2d..."} 
[2026-07-25 22:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a6e48012d7fa4c005afd6780006001f2d..."} 
[2026-07-25 22:52:47] local.INFO: Processing buffer {"connection_id":141467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a6e48012d7fa4c005afd6780006001f2d..."} 
[2026-07-25 22:52:47] local.INFO: Packet analysis {"connection_id":141467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:52:47] local.INFO: Extracted packet for processing {"connection_id":141467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95409784,"longitude_deg":76.3339968,"latitude_deg":9.5409784,"altitude":6,"angle":31,"satellites":45,"speed":13,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd678","is_valid_coordinates":true} 
[2026-07-25 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959998976001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357545598844928,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197546732166395904,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1784999997000,"timestamp_ms":1784999997000,"timestamp_seconds":1784999997,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a6e48"} 
[2026-07-25 22:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-25 22:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959998976001,"66":28082,"250":206,"85":12544,"24":13,"16":358357545598844928,"45":9197546732166395904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959998976001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:52:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:52:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357545598844928,"km_value":358357545598844.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197546732166395904,"description":"Unknown IO ID 45"} 
[2026-07-25 22:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959998976001,"power":28082,"unknown_250":206,"unknown_85":12544,"ignition":13,"odometer":null,"unknown_45":9197546732166395904}} 
[2026-07-25 22:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":141467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:52:47] local.INFO: GPS data processed {"connection_id":141467,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:52:47] local.INFO: Acknowledgment sent {"connection_id":141467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:52:48] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:52:48] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:52:48] local.INFO: IMEI packet received {"connection_id":141406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":141406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:52:52] local.INFO: TCP Data received {"connection_id":141467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a7618012d7fa6c005afd890000600302f..."} 
[2026-07-25 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a7618012d7fa6c005afd890000600302f..."} 
[2026-07-25 22:52:52] local.INFO: Processing buffer {"connection_id":141467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a7618012d7fa6c005afd890000600302f..."} 
[2026-07-25 22:52:52] local.INFO: Packet analysis {"connection_id":141467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:52:52] local.INFO: Extracted packet for processing {"connection_id":141467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763340480,"raw_latitude":95410320,"longitude_deg":76.334048,"latitude_deg":9.541032,"altitude":6,"angle":48,"satellites":47,"speed":12,"hex_longitude":"2d7fa6c0","hex_latitude":"05afd890","is_valid_coordinates":true} 
[2026-07-25 22:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959999232001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357579958583296,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654833152,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1784999999000,"timestamp_ms":1784999999000,"timestamp_seconds":1784999999,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a7618"} 
[2026-07-25 22:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:52: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":178,"data_length":795,"current_offset":136} 
[2026-07-25 22:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959999232001,"66":27919,"250":206,"85":12544,"24":12,"16":358357579958583296,"45":9197687469654833152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959999232001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:52:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357579958583296,"km_value":358357579958583.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654833152,"description":"Unknown IO ID 45"} 
[2026-07-25 22:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959999232001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9197687469654833152}} 
[2026-07-25 22:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":141467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:52:52] local.INFO: GPS data processed {"connection_id":141467,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:52:52] local.INFO: Acknowledgment sent {"connection_id":141467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:52:54] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:52:54] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:52:54] local.INFO: IMEI packet received {"connection_id":141406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":141406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:52:55] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:52:55] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:52:55] local.INFO: Packet analysis {"connection_id":141406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:52:55] local.INFO: Extracted packet for processing {"connection_id":141406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:52: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-07-25 22:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:52:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":141406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545556,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:52:55] local.INFO: GPS data processed {"connection_id":141406,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:52:55] local.INFO: Acknowledgment sent {"connection_id":141406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:53:26] local.INFO: TCP Data received {"connection_id":141406,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:53:26] local.INFO: Processing buffer {"connection_id":141406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:53:26] local.INFO: Packet analysis {"connection_id":141406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:53:26] local.INFO: Extracted packet for processing {"connection_id":141406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:53:26] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:53: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-07-25 22:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":141406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:53:26] local.INFO: GPS data processed {"connection_id":141406,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:53:26] local.INFO: Acknowledgment sent {"connection_id":141406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:53:37] local.INFO: TCP Data received {"connection_id":141468,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:53:37] local.INFO: Processing buffer {"connection_id":141468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:53:37] local.INFO: IMEI packet received {"connection_id":141468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":141468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:53:42] local.INFO: TCP Data received {"connection_id":141468,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:53:42] local.INFO: Processing buffer {"connection_id":141468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:53:42] local.INFO: IMEI packet received {"connection_id":141468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":141468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:53:43] local.INFO: TCP Data received {"connection_id":141468,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a89a0012d7faac005afdcb80005001e30..."} 
[2026-07-25 22:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a89a0012d7faac005afdcb80005001e30..."} 
[2026-07-25 22:53:43] local.INFO: Processing buffer {"connection_id":141468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a89a0012d7faac005afdcb80005001e30..."} 
[2026-07-25 22:53:43] local.INFO: Packet analysis {"connection_id":141468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:53:43] local.INFO: Extracted packet for processing {"connection_id":141468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:53:43] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95411384,"longitude_deg":76.3341504,"latitude_deg":9.5411384,"altitude":5,"angle":30,"satellites":48,"speed":9,"hex_longitude":"2d7faac0","hex_latitude":"05afdcb8","is_valid_coordinates":true} 
[2026-07-25 22:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456959999744001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357652973027328,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198250419608391680,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000004000,"timestamp_ms":1785000004000,"timestamp_seconds":1785000004,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a89a0"} 
[2026-07-25 22:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 22:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456959999744001,"66":27974,"250":206,"85":12544,"24":9,"16":358357652973027328,"45":9198250419608391680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456959999744001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:53:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357652973027328,"km_value":358357652973027.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198250419608391680,"description":"Unknown IO ID 45"} 
[2026-07-25 22:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456959999744001,"power":27974,"unknown_250":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9198250419608391680}} 
[2026-07-25 22:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":141468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:53:43] local.INFO: GPS data processed {"connection_id":141468,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:53:43] local.INFO: Acknowledgment sent {"connection_id":141468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:53:47] local.INFO: TCP Data received {"connection_id":141468,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a9170012d7fabc005afde58000500112f..."} 
[2026-07-25 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a9170012d7fabc005afde58000500112f..."} 
[2026-07-25 22:53:47] local.INFO: Processing buffer {"connection_id":141468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a9170012d7fabc005afde58000500112f..."} 
[2026-07-25 22:53:47] local.INFO: Packet analysis {"connection_id":141468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:53:47] local.INFO: Extracted packet for processing {"connection_id":141468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95411800,"longitude_deg":76.334176,"latitude_deg":9.54118,"altitude":5,"angle":17,"satellites":47,"speed":8,"hex_longitude":"2d7fabc0","hex_latitude":"05afde58","is_valid_coordinates":true} 
[2026-07-25 22:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960001024001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357674447863808,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515506688,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785000006000,"timestamp_ms":1785000006000,"timestamp_seconds":1785000006,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a9170"} 
[2026-07-25 22:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-25 22:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":141468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":141468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":141468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960001024001,"66":27919,"250":206,"85":12544,"24":8,"16":358357674447863808,"45":9199376319515506688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960001024001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357674447863808,"km_value":358357674447863.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515506688,"description":"Unknown IO ID 45"} 
[2026-07-25 22:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960001024001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9199376319515506688}} 
[2026-07-25 22:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":141468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:53:47] local.INFO: GPS data processed {"connection_id":141468,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:53:47] local.INFO: Acknowledgment sent {"connection_id":141468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:53:48] local.INFO: TCP Data received {"connection_id":143816,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:53:48] local.INFO: Processing buffer {"connection_id":143816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:53:48] local.INFO: IMEI packet received {"connection_id":143816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":143816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:53:54] local.INFO: TCP Data received {"connection_id":143816,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:53:54] local.INFO: Processing buffer {"connection_id":143816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:53:54] local.INFO: IMEI packet received {"connection_id":143816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":143816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:53:55] local.INFO: TCP Data received {"connection_id":143816,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:53:55] local.INFO: Processing buffer {"connection_id":143816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:53:55] local.INFO: Packet analysis {"connection_id":143816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:53:55] local.INFO: Extracted packet for processing {"connection_id":143816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:53: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-07-25 22:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:53:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":143816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:53:55] local.INFO: GPS data processed {"connection_id":143816,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:53:55] local.INFO: Acknowledgment sent {"connection_id":143816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:54:18] local.INFO: TCP Data received {"connection_id":141468,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4a9940012d7fac0005afdfd80005000530..."} 
[2026-07-25 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4a9940012d7fac0005afdfd80005000530..."} 
[2026-07-25 22:54:18] local.INFO: Processing buffer {"connection_id":141468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4a9940012d7fac0005afdfd80005000530..."} 
[2026-07-25 22:54:18] local.INFO: Packet analysis {"connection_id":141468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:54:18] local.INFO: Extracted packet for processing {"connection_id":141468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:54:18] local.INFO: GPS Element Parsed {"raw_longitude":763341824,"raw_latitude":95412184,"longitude_deg":76.3341824,"latitude_deg":9.5412184,"altitude":5,"angle":5,"satellites":48,"speed":7,"hex_longitude":"2d7fac00","hex_latitude":"05afdfd8","is_valid_coordinates":true} 
[2026-07-25 22:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960001536001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357695922700288,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492323840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1785000008000,"timestamp_ms":1785000008000,"timestamp_seconds":1785000008,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4a9940"} 
[2026-07-25 22:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:54: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-07-25 22:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 22:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":141468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":141468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":141468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960001536001,"66":27832,"250":206,"85":12544,"24":7,"16":358357695922700288,"45":9199657794492323840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960001536001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357695922700288,"km_value":358357695922700.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492323840,"description":"Unknown IO ID 45"} 
[2026-07-25 22:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960001536001,"power":27832,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9199657794492323840}} 
[2026-07-25 22:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":141468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:54:18] local.INFO: GPS data processed {"connection_id":141468,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:54:18] local.INFO: Acknowledgment sent {"connection_id":141468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:54:26] local.INFO: TCP Data received {"connection_id":143816,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:54:26] local.INFO: Processing buffer {"connection_id":143816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:54:26] local.INFO: Packet analysis {"connection_id":143816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:54:26] local.INFO: Extracted packet for processing {"connection_id":143816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:54:26] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:54: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-07-25 22: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:54:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":143816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:54:27] local.INFO: GPS data processed {"connection_id":143816,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:54:27] local.INFO: Acknowledgment sent {"connection_id":143816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:54:37] local.INFO: TCP Data received {"connection_id":141469,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:54:37] local.INFO: Processing buffer {"connection_id":141469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:54:37] local.INFO: IMEI packet received {"connection_id":141469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":141469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:54:42] local.INFO: TCP Data received {"connection_id":141469,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:54:42] local.INFO: Processing buffer {"connection_id":141469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:54:42] local.INFO: IMEI packet received {"connection_id":141469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":141469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:54:45] local.INFO: TCP Data received {"connection_id":141469,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4ad3d8012d7fabc005afe268000600052d..."} 
[2026-07-25 22:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4ad3d8012d7fabc005afe268000600052d..."} 
[2026-07-25 22:54:45] local.INFO: Processing buffer {"connection_id":141469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4ad3d8012d7fabc005afe268000600052d..."} 
[2026-07-25 22:54:45] local.INFO: Packet analysis {"connection_id":141469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:54:45] local.INFO: Extracted packet for processing {"connection_id":141469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4a"} 
[2026-07-25 22:54:45] local.INFO: GPS Element Parsed {"raw_longitude":763341760,"raw_latitude":95412840,"longitude_deg":76.334176,"latitude_deg":9.541284,"altitude":6,"angle":5,"satellites":45,"speed":2,"hex_longitude":"2d7fabc0","hex_latitude":"05afe268","is_valid_coordinates":true} 
[2026-07-25 22:54: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-07-25 22:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960002048001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199728163236599808,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785000023000,"timestamp_ms":1785000023000,"timestamp_seconds":1785000023,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4ad3d8"} 
[2026-07-25 22:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-25 22:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960002048001,"66":27919,"250":206,"85":12544,"24":2,"16":358357747462307840,"45":9199728163236599808},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960002048001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199728163236599808,"description":"Unknown IO ID 45"} 
[2026-07-25 22:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960002048001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9199728163236599808}} 
[2026-07-25 22:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":141469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:54:45] local.INFO: GPS data processed {"connection_id":141469,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:54:45] local.INFO: Acknowledgment sent {"connection_id":141469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:54:48] local.INFO: TCP Data received {"connection_id":142454,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:54:48] local.INFO: Processing buffer {"connection_id":142454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:54:48] local.INFO: IMEI packet received {"connection_id":142454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":142454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:54:54] local.INFO: TCP Data received {"connection_id":142454,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:54:54] local.INFO: Processing buffer {"connection_id":142454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:54:54] local.INFO: IMEI packet received {"connection_id":142454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":142454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:54:55] local.INFO: TCP Data received {"connection_id":142454,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:54:55] local.INFO: Processing buffer {"connection_id":142454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:54:55] local.INFO: Packet analysis {"connection_id":142454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:54:55] local.INFO: Extracted packet for processing {"connection_id":142454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:54: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-07-25 22:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:54:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":142454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:54:55] local.INFO: GPS data processed {"connection_id":142454,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:54:55] local.INFO: Acknowledgment sent {"connection_id":142454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:55:16] local.INFO: TCP Data received {"connection_id":141469,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4cd778012d7fac4005afdf38000c00052a..."} 
[2026-07-25 22:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4cd778012d7fac4005afdf38000c00052a..."} 
[2026-07-25 22:55:16] local.INFO: Processing buffer {"connection_id":141469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4cd778012d7fac4005afdf38000c00052a..."} 
[2026-07-25 22:55:16] local.INFO: Packet analysis {"connection_id":141469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4c"} 
[2026-07-25 22:55:16] local.INFO: Extracted packet for processing {"connection_id":141469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4c"} 
[2026-07-25 22:55:16] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412024,"longitude_deg":76.3341888,"latitude_deg":9.5412024,"altitude":12,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afdf38","is_valid_coordinates":true} 
[2026-07-25 22:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960005888001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199657794492590080,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785000155000,"timestamp_ms":1785000155000,"timestamp_seconds":1785000155,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4cd778"} 
[2026-07-25 22:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 22:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960005888001,"66":26560,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199657794492590080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960005888001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199657794492590080,"description":"Unknown IO ID 45"} 
[2026-07-25 22:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960005888001,"power":26560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199657794492590080}} 
[2026-07-25 22:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":141469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:55:16] local.INFO: GPS data processed {"connection_id":141469,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:55:16] local.INFO: Acknowledgment sent {"connection_id":141469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:55:26] local.INFO: TCP Data received {"connection_id":142454,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:55:26] local.INFO: Processing buffer {"connection_id":142454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:55:26] local.INFO: Packet analysis {"connection_id":142454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:55:26] local.INFO: Extracted packet for processing {"connection_id":142454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:55:26] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:55:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":142454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:55:26] local.INFO: GPS data processed {"connection_id":142454,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:55:26] local.INFO: Acknowledgment sent {"connection_id":142454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:55:37] local.INFO: TCP Data received {"connection_id":143817,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:55:37] local.INFO: Processing buffer {"connection_id":143817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:55:37] local.INFO: IMEI packet received {"connection_id":143817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":143817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:55:42] local.INFO: TCP Data received {"connection_id":143817,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:55:42] local.INFO: Processing buffer {"connection_id":143817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:55:42] local.INFO: IMEI packet received {"connection_id":143817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":143817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:55:43] local.INFO: TCP Data received {"connection_id":143817,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:55:43] local.INFO: Processing buffer {"connection_id":143817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:55:43] local.INFO: Packet analysis {"connection_id":143817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:55:43] local.INFO: Extracted packet for processing {"connection_id":143817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411832,"longitude_deg":76.334208,"latitude_deg":9.5411832,"altitude":12,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afde78","is_valid_coordinates":true} 
[2026-07-25 22:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980736512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000172000,"timestamp_ms":1785000172000,"timestamp_seconds":1785000172,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4d19e0"} 
[2026-07-25 22:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 22:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960039680001,"66":27800,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199798531980736512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:55:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980736512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960039680001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980736512}} 
[2026-07-25 22:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":143817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:55:43] local.INFO: GPS data processed {"connection_id":143817,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:55:43] local.INFO: Acknowledgment sent {"connection_id":143817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:55:54] local.INFO: TCP Data received {"connection_id":141407,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:55:54] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:55:54] local.INFO: IMEI packet received {"connection_id":141407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":141407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:55:58] local.INFO: TCP Data received {"connection_id":141407,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:55:58] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:55:58] local.INFO: IMEI packet received {"connection_id":141407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":141407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:55:59] local.INFO: TCP Data received {"connection_id":141407,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:55:59] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:55:59] local.INFO: Packet analysis {"connection_id":141407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:55:59] local.INFO: Extracted packet for processing {"connection_id":141407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:55:59] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:55: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-07-25 22:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:55: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-07-25 22:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":141407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:55:59] local.INFO: GPS data processed {"connection_id":141407,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:55:59] local.INFO: Acknowledgment sent {"connection_id":141407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:56:04] local.INFO: TCP Data received {"connection_id":141407,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:56:04] local.INFO: Processing buffer {"connection_id":141407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4b8f58012d77a6c005f27b680013016323..."} 
[2026-07-25 22:56:04] local.INFO: Packet analysis {"connection_id":141407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:56:04] local.INFO: Extracted packet for processing {"connection_id":141407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4b"} 
[2026-07-25 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99777384,"longitude_deg":76.2816192,"latitude_deg":9.9777384,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a6c0","hex_latitude":"05f27b68","is_valid_coordinates":true} 
[2026-07-25 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960015872001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785000071000,"timestamp_ms":1785000071000,"timestamp_seconds":1785000071,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4b8f58"} 
[2026-07-25 22:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-25 22:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960015872001,"66":28354,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960015872001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:56:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960015872001,"power":28354,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":141407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:56:04] local.INFO: GPS data processed {"connection_id":141407,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:56:04] local.INFO: Acknowledgment sent {"connection_id":141407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:56:14] local.INFO: TCP Data received {"connection_id":143817,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:56:14] local.INFO: Processing buffer {"connection_id":143817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:56:14] local.INFO: Packet analysis {"connection_id":143817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:56:14] local.INFO: Extracted packet for processing {"connection_id":143817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411832,"longitude_deg":76.334208,"latitude_deg":9.5411832,"altitude":12,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afde78","is_valid_coordinates":true} 
[2026-07-25 22:56: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-07-25 22:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980736512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000172000,"timestamp_ms":1785000172000,"timestamp_seconds":1785000172,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4d19e0"} 
[2026-07-25 22:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 22:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960039680001,"66":27800,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199798531980736512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:56:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:56:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980736512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960039680001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980736512}} 
[2026-07-25 22:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":143817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:56:14] local.INFO: GPS data processed {"connection_id":143817,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:56:14] local.INFO: Acknowledgment sent {"connection_id":143817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:56:37] local.INFO: TCP Data received {"connection_id":143818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:56:37] local.INFO: Processing buffer {"connection_id":143818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:56:37] local.INFO: IMEI packet received {"connection_id":143818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":143818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:56:42] local.INFO: TCP Data received {"connection_id":143818,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:56:42] local.INFO: Processing buffer {"connection_id":143818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:56:42] local.INFO: IMEI packet received {"connection_id":143818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":143818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:56:43] local.INFO: TCP Data received {"connection_id":143818,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:56:43] local.INFO: Processing buffer {"connection_id":143818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:56:43] local.INFO: Packet analysis {"connection_id":143818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:56:43] local.INFO: Extracted packet for processing {"connection_id":143818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411832,"longitude_deg":76.334208,"latitude_deg":9.5411832,"altitude":12,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afde78","is_valid_coordinates":true} 
[2026-07-25 22:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980736512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000172000,"timestamp_ms":1785000172000,"timestamp_seconds":1785000172,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4d19e0"} 
[2026-07-25 22:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 22:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960039680001,"66":27800,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199798531980736512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:56:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980736512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960039680001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980736512}} 
[2026-07-25 22:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":143818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:56:43] local.INFO: GPS data processed {"connection_id":143818,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:56:43] local.INFO: Acknowledgment sent {"connection_id":143818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:56:49] local.INFO: TCP Data received {"connection_id":141470,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:56:49] local.INFO: Processing buffer {"connection_id":141470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:56:49] local.INFO: IMEI packet received {"connection_id":141470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":141470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:56:54] local.INFO: TCP Data received {"connection_id":141470,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:56:54] local.INFO: Processing buffer {"connection_id":141470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:56:54] local.INFO: IMEI packet received {"connection_id":141470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":141470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:56:55] local.INFO: TCP Data received {"connection_id":141470,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:56:55] local.INFO: Processing buffer {"connection_id":141470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:56:55] local.INFO: Packet analysis {"connection_id":141470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:56:55] local.INFO: Extracted packet for processing {"connection_id":141470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:56:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":141470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545572,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:56:55] local.INFO: GPS data processed {"connection_id":141470,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:56:55] local.INFO: Acknowledgment sent {"connection_id":141470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:57:15] local.INFO: TCP Data received {"connection_id":143818,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:57:15] local.INFO: Processing buffer {"connection_id":143818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:57:15] local.INFO: Packet analysis {"connection_id":143818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:57:15] local.INFO: Extracted packet for processing {"connection_id":143818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411832,"longitude_deg":76.334208,"latitude_deg":9.5411832,"altitude":12,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afde78","is_valid_coordinates":true} 
[2026-07-25 22:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980736512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785000172000,"timestamp_ms":1785000172000,"timestamp_seconds":1785000172,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4d19e0"} 
[2026-07-25 22:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 22:57: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-07-25 22:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":143818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":143818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":143818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960039680001,"66":27800,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199798531980736512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:57:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:57:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980736512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960039680001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980736512}} 
[2026-07-25 22:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":143818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:57:15] local.INFO: GPS data processed {"connection_id":143818,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:57:15] local.INFO: Acknowledgment sent {"connection_id":143818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:57:26] local.INFO: TCP Data received {"connection_id":141470,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:57:26] local.INFO: Processing buffer {"connection_id":141470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:57:26] local.INFO: Packet analysis {"connection_id":141470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:57:26] local.INFO: Extracted packet for processing {"connection_id":141470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:57:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:57:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":141470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:57:26] local.INFO: GPS data processed {"connection_id":141470,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:57:26] local.INFO: Acknowledgment sent {"connection_id":141470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:57:37] local.INFO: TCP Data received {"connection_id":141408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:57:37] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:57:37] local.INFO: IMEI packet received {"connection_id":141408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":141408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:57:42] local.INFO: TCP Data received {"connection_id":141408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:57:42] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:57:42] local.INFO: IMEI packet received {"connection_id":141408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":141408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:57:43] local.INFO: TCP Data received {"connection_id":141408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:57:43] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:57:43] local.INFO: Packet analysis {"connection_id":141408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:57:43] local.INFO: Extracted packet for processing {"connection_id":141408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411832,"longitude_deg":76.334208,"latitude_deg":9.5411832,"altitude":12,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afde78","is_valid_coordinates":true} 
[2026-07-25 22:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980736512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000172000,"timestamp_ms":1785000172000,"timestamp_seconds":1785000172,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4d19e0"} 
[2026-07-25 22:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 22:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960039680001,"66":27800,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199798531980736512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:57:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980736512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960039680001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980736512}} 
[2026-07-25 22:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":141408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:57:43] local.INFO: GPS data processed {"connection_id":141408,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:57:43] local.INFO: Acknowledgment sent {"connection_id":141408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:57:48] local.INFO: TCP Data received {"connection_id":143819,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:57:48] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:57:48] local.INFO: IMEI packet received {"connection_id":143819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":143819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:57:54] local.INFO: TCP Data received {"connection_id":143819,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:57:54] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:57:54] local.INFO: IMEI packet received {"connection_id":143819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":143819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:57:55] local.INFO: TCP Data received {"connection_id":143819,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:57:55] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:57:55] local.INFO: Packet analysis {"connection_id":143819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:57:55] local.INFO: Extracted packet for processing {"connection_id":143819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":143819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:57:55] local.INFO: GPS data processed {"connection_id":143819,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:57:55] local.INFO: Acknowledgment sent {"connection_id":143819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:58:14] local.INFO: TCP Data received {"connection_id":141408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:58:14] local.INFO: Processing buffer {"connection_id":141408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a4d19e0012d7fad0005afde78000c00052d..."} 
[2026-07-25 22:58:14] local.INFO: Packet analysis {"connection_id":141408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:58:14] local.INFO: Extracted packet for processing {"connection_id":141408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a4d"} 
[2026-07-25 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95411832,"longitude_deg":76.334208,"latitude_deg":9.5411832,"altitude":12,"angle":5,"satellites":45,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afde78","is_valid_coordinates":true} 
[2026-07-25 22:58: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-07-25 22:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960039680001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980736512,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000172000,"timestamp_ms":1785000172000,"timestamp_seconds":1785000172,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a4d19e0"} 
[2026-07-25 22:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-25 22: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-25 22:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960039680001,"66":27800,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199798531980736512},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960039680001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:58:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:58:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980736512,"description":"Unknown IO ID 45"} 
[2026-07-25 22:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960039680001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980736512}} 
[2026-07-25 22:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":141408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:58:14] local.INFO: GPS data processed {"connection_id":141408,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:58:14] local.INFO: Acknowledgment sent {"connection_id":141408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:58:26] local.INFO: TCP Data received {"connection_id":143819,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:58:26] local.INFO: Processing buffer {"connection_id":143819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:58:26] local.INFO: Packet analysis {"connection_id":143819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:58:26] local.INFO: Extracted packet for processing {"connection_id":143819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:58:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":143819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:58:26] local.INFO: GPS data processed {"connection_id":143819,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:58:26] local.INFO: Acknowledgment sent {"connection_id":143819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:58:42] local.INFO: TCP Data received {"connection_id":141471,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:58:42] local.INFO: Processing buffer {"connection_id":141471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:58:42] local.INFO: IMEI packet received {"connection_id":141471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":141471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:58:47] local.INFO: TCP Data received {"connection_id":141471,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:58:47] local.INFO: Processing buffer {"connection_id":141471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:58:47] local.INFO: IMEI packet received {"connection_id":141471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":141471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:58:48] local.INFO: TCP Data received {"connection_id":141471,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:58:48] local.INFO: Processing buffer {"connection_id":141471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:58:48] local.INFO: Packet analysis {"connection_id":141471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 22:58:48] local.INFO: Extracted packet for processing {"connection_id":141471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 22:58:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 22:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 22:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 22:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:58:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:58:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 22:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 22:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":141471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:58:48] local.INFO: GPS data processed {"connection_id":141471,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:58:48] local.INFO: Acknowledgment sent {"connection_id":141471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:58:54] local.INFO: TCP Data received {"connection_id":141472,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:58:54] local.INFO: Processing buffer {"connection_id":141472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:58:54] local.INFO: IMEI packet received {"connection_id":141472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":141472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:58:58] local.INFO: TCP Data received {"connection_id":141472,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:58:58] local.INFO: Processing buffer {"connection_id":141472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:58:58] local.INFO: IMEI packet received {"connection_id":141472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":141472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:58:59] local.INFO: TCP Data received {"connection_id":141472,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:58:59] local.INFO: Processing buffer {"connection_id":141472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:58:59] local.INFO: Packet analysis {"connection_id":141472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:58:59] local.INFO: Extracted packet for processing {"connection_id":141472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:58: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-07-25 22: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":141472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:58:59] local.INFO: GPS data processed {"connection_id":141472,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:58:59] local.INFO: Acknowledgment sent {"connection_id":141472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:59:04] local.INFO: TCP Data received {"connection_id":141472,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:59:04] local.INFO: Processing buffer {"connection_id":141472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:59:04] local.INFO: Packet analysis {"connection_id":141472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:59:04] local.INFO: Extracted packet for processing {"connection_id":141472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22: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-07-25 22:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:59: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-07-25 22: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22: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-07-25 22:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:59:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":141472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:59:05] local.INFO: GPS data processed {"connection_id":141472,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:59:05] local.INFO: Acknowledgment sent {"connection_id":141472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:59:19] local.INFO: TCP Data received {"connection_id":141471,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:59:19] local.INFO: Processing buffer {"connection_id":141471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:59:19] local.INFO: Packet analysis {"connection_id":141471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 22:59:19] local.INFO: Extracted packet for processing {"connection_id":141471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 22:59:19] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 22:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 22:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 22:59: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-07-25 22:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:59:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 22:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 22:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":141471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:59:19] local.INFO: GPS data processed {"connection_id":141471,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:59:19] local.INFO: Acknowledgment sent {"connection_id":141471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:59:37] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:59:37] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:59:37] local.INFO: IMEI packet received {"connection_id":142455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 22:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":142455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:59:42] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:59:42] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 22:59:42] local.INFO: IMEI packet received {"connection_id":142455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 22:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":142455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:59:43] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:59:43] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 22:59:43] local.INFO: Packet analysis {"connection_id":142455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 22:59:43] local.INFO: Extracted packet for processing {"connection_id":142455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 22:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 22:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 22:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 22:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 22:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 22:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 22:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 22:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:59:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 22:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 22:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 22:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 22:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":142455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:59:43] local.INFO: GPS data processed {"connection_id":142455,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:59:43] local.INFO: Acknowledgment sent {"connection_id":142455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 22:59:49] local.INFO: TCP Data received {"connection_id":142456,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:59:49] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:59:49] local.INFO: IMEI packet received {"connection_id":142456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 22:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":142456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 22:59:54] local.INFO: TCP Data received {"connection_id":142456,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:59:54] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 22:59:54] local.INFO: IMEI packet received {"connection_id":142456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 22:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":142456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 22:59:55] local.INFO: TCP Data received {"connection_id":142456,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:59:55] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 22:59:55] local.INFO: Packet analysis {"connection_id":142456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:59:55] local.INFO: Extracted packet for processing {"connection_id":142456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 22:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 22:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 22:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 22:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 22:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 22:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 22:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 22:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 22:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 22:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 22:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 22:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 22:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 22:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 22:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 22:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 22:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 22:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 22:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 22:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 22:59:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 22:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 22:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 22:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 22:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":142456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 22:59:55] local.INFO: GPS data processed {"connection_id":142456,"processed":1,"errors":0,"total":1} 
[2026-07-25 22:59:55] local.INFO: Acknowledgment sent {"connection_id":142456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:00:14] local.INFO: TCP Data received {"connection_id":142455,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:00:14] local.INFO: Processing buffer {"connection_id":142455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:00:14] local.INFO: Packet analysis {"connection_id":142455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:00:14] local.INFO: Extracted packet for processing {"connection_id":142455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 23:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:00:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":142455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:00:14] local.INFO: GPS data processed {"connection_id":142455,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:00:14] local.INFO: Acknowledgment sent {"connection_id":142455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:00:26] local.INFO: TCP Data received {"connection_id":142456,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:00:26] local.INFO: Processing buffer {"connection_id":142456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:00:26] local.INFO: Packet analysis {"connection_id":142456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:00:26] local.INFO: Extracted packet for processing {"connection_id":142456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 23:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 23:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:00:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 23:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 23:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":142456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:00:26] local.INFO: GPS data processed {"connection_id":142456,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:00:26] local.INFO: Acknowledgment sent {"connection_id":142456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:00:37] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:00:37] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:00:37] local.INFO: IMEI packet received {"connection_id":143820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":143820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:00:42] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:00:42] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:00:42] local.INFO: IMEI packet received {"connection_id":143820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":143820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:00:43] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:00:43] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:00:43] local.INFO: Packet analysis {"connection_id":143820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:00:43] local.INFO: Extracted packet for processing {"connection_id":143820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:00:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 23:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:00:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:00:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":143820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:00:43] local.INFO: GPS data processed {"connection_id":143820,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:00:43] local.INFO: Acknowledgment sent {"connection_id":143820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:00:48] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:00:48] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:00:48] local.INFO: IMEI packet received {"connection_id":141409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":141409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:00:54] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:00:54] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:00:54] local.INFO: IMEI packet received {"connection_id":141409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":141409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:00:55] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:00:55] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:00:55] local.INFO: Packet analysis {"connection_id":141409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:00:55] local.INFO: Extracted packet for processing {"connection_id":141409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 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-07-25 23:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 23:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 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-07-25 23:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 23:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 23:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:00:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 23:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 23:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":141409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:00:55] local.INFO: GPS data processed {"connection_id":141409,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:00:55] local.INFO: Acknowledgment sent {"connection_id":141409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:01:14] local.INFO: TCP Data received {"connection_id":143820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:14] local.INFO: Processing buffer {"connection_id":143820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:14] local.INFO: Packet analysis {"connection_id":143820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:01:14] local.INFO: Extracted packet for processing {"connection_id":143820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 23:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:01:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:01:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":143820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:01:14] local.INFO: GPS data processed {"connection_id":143820,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:01:14] local.INFO: Acknowledgment sent {"connection_id":143820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:01:26] local.INFO: TCP Data received {"connection_id":141409,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:01:26] local.INFO: Processing buffer {"connection_id":141409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:01:26] local.INFO: Packet analysis {"connection_id":141409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:01:26] local.INFO: Extracted packet for processing {"connection_id":141409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:01:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 23:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 23:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:01:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 23:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 23:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":141409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:01:26] local.INFO: GPS data processed {"connection_id":141409,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:01:26] local.INFO: Acknowledgment sent {"connection_id":141409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:01:42] local.INFO: TCP Data received {"connection_id":142457,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:01:42] local.INFO: Processing buffer {"connection_id":142457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:01:42] local.INFO: IMEI packet received {"connection_id":142457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":142457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:01:47] local.INFO: TCP Data received {"connection_id":142457,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:01:47] local.INFO: Processing buffer {"connection_id":142457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:01:47] local.INFO: IMEI packet received {"connection_id":142457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":142457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:01:48] local.INFO: TCP Data received {"connection_id":142457,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:48] local.INFO: Processing buffer {"connection_id":142457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:48] local.INFO: Packet analysis {"connection_id":142457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:01:48] local.INFO: Extracted packet for processing {"connection_id":142457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:01:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 23:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:01:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:01:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":142457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:01:48] local.INFO: GPS data processed {"connection_id":142457,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:01:48] local.INFO: Acknowledgment sent {"connection_id":142457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:01:48] local.INFO: TCP Data received {"connection_id":141473,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:01:48] local.INFO: Processing buffer {"connection_id":141473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:01:48] local.INFO: IMEI packet received {"connection_id":141473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":141473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:01:52] local.INFO: TCP Data received {"connection_id":142457,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:52] local.INFO: Processing buffer {"connection_id":142457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:01:52] local.INFO: Packet analysis {"connection_id":142457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:01:52] local.INFO: Extracted packet for processing {"connection_id":142457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:01:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 23:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:01: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":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:01:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":142457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:01:52] local.INFO: GPS data processed {"connection_id":142457,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:01:52] local.INFO: Acknowledgment sent {"connection_id":142457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:01:54] local.INFO: TCP Data received {"connection_id":141473,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:01:54] local.INFO: Processing buffer {"connection_id":141473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:01:54] local.INFO: IMEI packet received {"connection_id":141473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":141473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:01:55] local.INFO: TCP Data received {"connection_id":141473,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:01:55] local.INFO: Processing buffer {"connection_id":141473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a503aa8012d77a94005f27b900013016323..."} 
[2026-07-25 23:01:55] local.INFO: Packet analysis {"connection_id":141473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:01:55] local.INFO: Extracted packet for processing {"connection_id":141473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a50"} 
[2026-07-25 23:01:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960018176001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668422936576,"note":"Value kept but may cause issues"} 
[2026-07-25 23:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000377000,"timestamp_ms":1785000377000,"timestamp_seconds":1785000377,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a503aa8"} 
[2026-07-25 23:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-25 23:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960018176001,"66":25810,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8621789668422936576},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960018176001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:01:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668422936576,"description":"Unknown IO ID 45"} 
[2026-07-25 23:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960018176001,"power":25810,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8621789668422936576}} 
[2026-07-25 23:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":141473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:01:55] local.INFO: GPS data processed {"connection_id":141473,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:01:55] local.INFO: Acknowledgment sent {"connection_id":141473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:02:26] local.INFO: TCP Data received {"connection_id":141473,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:02:26] local.INFO: Processing buffer {"connection_id":141473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:02:26] local.INFO: Packet analysis {"connection_id":141473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:02:26] local.INFO: Extracted packet for processing {"connection_id":141473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:02:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":141473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:02:26] local.INFO: GPS data processed {"connection_id":141473,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:02:26] local.INFO: Acknowledgment sent {"connection_id":141473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:02:37] local.INFO: TCP Data received {"connection_id":141474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:02:37] local.INFO: Processing buffer {"connection_id":141474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:02:37] local.INFO: IMEI packet received {"connection_id":141474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":141474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:02:42] local.INFO: TCP Data received {"connection_id":141474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:02:42] local.INFO: Processing buffer {"connection_id":141474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:02:42] local.INFO: IMEI packet received {"connection_id":141474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":141474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:02:43] local.INFO: TCP Data received {"connection_id":141474,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:02:43] local.INFO: Processing buffer {"connection_id":141474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:02:43] local.INFO: Packet analysis {"connection_id":141474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:02:43] local.INFO: Extracted packet for processing {"connection_id":141474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:02:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 23:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:02:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:02:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":141474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:02:43] local.INFO: GPS data processed {"connection_id":141474,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:02:43] local.INFO: Acknowledgment sent {"connection_id":141474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:02:54] local.INFO: TCP Data received {"connection_id":141475,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:02:54] local.INFO: Processing buffer {"connection_id":141475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:02:54] local.INFO: IMEI packet received {"connection_id":141475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":141475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:02:59] local.INFO: TCP Data received {"connection_id":141475,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:02:59] local.INFO: Processing buffer {"connection_id":141475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:02:59] local.INFO: IMEI packet received {"connection_id":141475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":141475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:03:00] local.INFO: TCP Data received {"connection_id":141475,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:00] local.INFO: Processing buffer {"connection_id":141475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:00] local.INFO: Packet analysis {"connection_id":141475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:03:00] local.INFO: Extracted packet for processing {"connection_id":141475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:03: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-07-25 23: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":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:03:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":141475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:03:00] local.INFO: GPS data processed {"connection_id":141475,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:03:00] local.INFO: Acknowledgment sent {"connection_id":141475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:03:05] local.INFO: TCP Data received {"connection_id":141475,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:05] local.INFO: Processing buffer {"connection_id":141475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:05] local.INFO: Packet analysis {"connection_id":141475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:03:05] local.INFO: Extracted packet for processing {"connection_id":141475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:03:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":141475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:03:05] local.INFO: GPS data processed {"connection_id":141475,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:03:05] local.INFO: Acknowledgment sent {"connection_id":141475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:03:14] local.INFO: TCP Data received {"connection_id":141474,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:03:14] local.INFO: Processing buffer {"connection_id":141474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a51b978012d7faa4005afde48001200052a..."} 
[2026-07-25 23:03:14] local.INFO: Packet analysis {"connection_id":141474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:03:14] local.INFO: Extracted packet for processing {"connection_id":141474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a51"} 
[2026-07-25 23:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 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-07-25 23:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960044032001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213220352,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000475000,"timestamp_ms":1785000475000,"timestamp_seconds":1785000475,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a51b978"} 
[2026-07-25 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-07-25 23:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-25 23:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 23:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960044032001,"66":26180,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9200009638213220352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960044032001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:03:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213220352,"description":"Unknown IO ID 45"} 
[2026-07-25 23:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960044032001,"power":26180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213220352}} 
[2026-07-25 23:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":141474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:03:14] local.INFO: GPS data processed {"connection_id":141474,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:03:14] local.INFO: Acknowledgment sent {"connection_id":141474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:03:37] local.INFO: TCP Data received {"connection_id":143821,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:03:37] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:03:37] local.INFO: IMEI packet received {"connection_id":143821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":143821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:03:42] local.INFO: TCP Data received {"connection_id":143821,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:03:42] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:03:42] local.INFO: IMEI packet received {"connection_id":143821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":143821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:03:43] local.INFO: TCP Data received {"connection_id":143821,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:03:43] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:03:43] local.INFO: Packet analysis {"connection_id":143821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:03:43] local.INFO: Extracted packet for processing {"connection_id":143821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:03:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":143821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:03:43] local.INFO: GPS data processed {"connection_id":143821,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:03:43] local.INFO: Acknowledgment sent {"connection_id":143821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:03:49] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:03:49] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:03:49] local.INFO: IMEI packet received {"connection_id":141410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":141410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:03:54] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:03:54] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:03:54] local.INFO: IMEI packet received {"connection_id":141410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":141410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:03:55] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:55] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:03:55] local.INFO: Packet analysis {"connection_id":141410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:03:55] local.INFO: Extracted packet for processing {"connection_id":141410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:03:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":141410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:03:55] local.INFO: GPS data processed {"connection_id":141410,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:03:55] local.INFO: Acknowledgment sent {"connection_id":141410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:04:14] local.INFO: TCP Data received {"connection_id":143821,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:04:14] local.INFO: Processing buffer {"connection_id":143821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:04:14] local.INFO: Packet analysis {"connection_id":143821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:04:14] local.INFO: Extracted packet for processing {"connection_id":143821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:04:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":143821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:04:14] local.INFO: GPS data processed {"connection_id":143821,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:04:14] local.INFO: Acknowledgment sent {"connection_id":143821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:04:26] local.INFO: TCP Data received {"connection_id":141410,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:04:26] local.INFO: Processing buffer {"connection_id":141410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:04:26] local.INFO: Packet analysis {"connection_id":141410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:04:26] local.INFO: Extracted packet for processing {"connection_id":141410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:04:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:04:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":141410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:04:26] local.INFO: GPS data processed {"connection_id":141410,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:04:26] local.INFO: Acknowledgment sent {"connection_id":141410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:04:37] local.INFO: TCP Data received {"connection_id":141476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:04:37] local.INFO: Processing buffer {"connection_id":141476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:04:37] local.INFO: IMEI packet received {"connection_id":141476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":141476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:04:42] local.INFO: TCP Data received {"connection_id":141476,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:04:42] local.INFO: Processing buffer {"connection_id":141476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:04:42] local.INFO: IMEI packet received {"connection_id":141476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":141476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:04:43] local.INFO: TCP Data received {"connection_id":141476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:04:43] local.INFO: Processing buffer {"connection_id":141476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:04:43] local.INFO: Packet analysis {"connection_id":141476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:04:43] local.INFO: Extracted packet for processing {"connection_id":141476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:04:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:04:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":141476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:04:43] local.INFO: GPS data processed {"connection_id":141476,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:04:43] local.INFO: Acknowledgment sent {"connection_id":141476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:04:48] local.INFO: TCP Data received {"connection_id":142458,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:04:48] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:04:48] local.INFO: IMEI packet received {"connection_id":142458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":142458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:04:54] local.INFO: TCP Data received {"connection_id":142458,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:04:54] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:04:54] local.INFO: IMEI packet received {"connection_id":142458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":142458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:04:55] local.INFO: TCP Data received {"connection_id":142458,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:04:55] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:04:55] local.INFO: Packet analysis {"connection_id":142458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:04:55] local.INFO: Extracted packet for processing {"connection_id":142458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:04:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:04:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":142458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:04:55] local.INFO: GPS data processed {"connection_id":142458,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:04:55] local.INFO: Acknowledgment sent {"connection_id":142458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:05:14] local.INFO: TCP Data received {"connection_id":141476,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:05:14] local.INFO: Processing buffer {"connection_id":141476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:05:14] local.INFO: Packet analysis {"connection_id":141476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:05:14] local.INFO: Extracted packet for processing {"connection_id":141476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:05:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:05:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:05:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":141476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:05:14] local.INFO: GPS data processed {"connection_id":141476,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:05:14] local.INFO: Acknowledgment sent {"connection_id":141476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:05:26] local.INFO: TCP Data received {"connection_id":142458,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:05:26] local.INFO: Processing buffer {"connection_id":142458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:05:26] local.INFO: Packet analysis {"connection_id":142458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:05:26] local.INFO: Extracted packet for processing {"connection_id":142458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:05:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:05:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":142458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:05:26] local.INFO: GPS data processed {"connection_id":142458,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:05:26] local.INFO: Acknowledgment sent {"connection_id":142458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:05:37] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:05:37] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:05:37] local.INFO: IMEI packet received {"connection_id":143822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":143822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:05:42] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:05:42] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:05:42] local.INFO: IMEI packet received {"connection_id":143822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":143822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:05:43] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:05:43] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:05:43] local.INFO: Packet analysis {"connection_id":143822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:05:43] local.INFO: Extracted packet for processing {"connection_id":143822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:05:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:05:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:05:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":143822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:05:43] local.INFO: GPS data processed {"connection_id":143822,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:05:43] local.INFO: Acknowledgment sent {"connection_id":143822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:05:48] local.INFO: TCP Data received {"connection_id":141411,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:05:48] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:05:48] local.INFO: IMEI packet received {"connection_id":141411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":141411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:05:54] local.INFO: TCP Data received {"connection_id":141411,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:05:54] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:05:54] local.INFO: IMEI packet received {"connection_id":141411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":141411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:05:55] local.INFO: TCP Data received {"connection_id":141411,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:05:55] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:05:55] local.INFO: Packet analysis {"connection_id":141411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:05:55] local.INFO: Extracted packet for processing {"connection_id":141411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:05:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:05:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":141411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:05:55] local.INFO: GPS data processed {"connection_id":141411,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:05:55] local.INFO: Acknowledgment sent {"connection_id":141411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:06:14] local.INFO: TCP Data received {"connection_id":143822,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:06:14] local.INFO: Processing buffer {"connection_id":143822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:06:14] local.INFO: Packet analysis {"connection_id":143822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:06:14] local.INFO: Extracted packet for processing {"connection_id":143822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:06:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:06:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":143822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:06:14] local.INFO: GPS data processed {"connection_id":143822,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:06:14] local.INFO: Acknowledgment sent {"connection_id":143822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:06:26] local.INFO: TCP Data received {"connection_id":141411,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:26] local.INFO: Processing buffer {"connection_id":141411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a54d270012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:26] local.INFO: Packet analysis {"connection_id":141411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:06:26] local.INFO: Extracted packet for processing {"connection_id":141411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a54"} 
[2026-07-25 23:06:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960096512001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000678000,"timestamp_ms":1785000678000,"timestamp_seconds":1785000678,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a54d270"} 
[2026-07-25 23:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-07-25 23:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960096512001,"66":24832,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960096512001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:06:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960096512001,"power":24832,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":141411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:06:26] local.INFO: GPS data processed {"connection_id":141411,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:06:26] local.INFO: Acknowledgment sent {"connection_id":141411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:06:37] local.INFO: TCP Data received {"connection_id":141477,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:06:37] local.INFO: Processing buffer {"connection_id":141477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:06:37] local.INFO: IMEI packet received {"connection_id":141477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":141477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:06:42] local.INFO: TCP Data received {"connection_id":141477,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:06:42] local.INFO: Processing buffer {"connection_id":141477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:06:42] local.INFO: IMEI packet received {"connection_id":141477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":141477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:06:43] local.INFO: TCP Data received {"connection_id":141477,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:06:43] local.INFO: Processing buffer {"connection_id":141477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:06:43] local.INFO: Packet analysis {"connection_id":141477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:06:43] local.INFO: Extracted packet for processing {"connection_id":141477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:06:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":141477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:06:43] local.INFO: GPS data processed {"connection_id":141477,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:06:43] local.INFO: Acknowledgment sent {"connection_id":141477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:06:54] local.INFO: TCP Data received {"connection_id":141478,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:06:54] local.INFO: Processing buffer {"connection_id":141478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:06:54] local.INFO: IMEI packet received {"connection_id":141478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":141478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:06:56] local.INFO: TCP Data received {"connection_id":141478,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:06:56] local.INFO: Processing buffer {"connection_id":141478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:06:56] local.INFO: IMEI packet received {"connection_id":141478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":141478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:06:57] local.INFO: TCP Data received {"connection_id":141478,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:57] local.INFO: Processing buffer {"connection_id":141478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:57] local.INFO: Packet analysis {"connection_id":141478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:06:57] local.INFO: Extracted packet for processing {"connection_id":141478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:06:57] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 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-07-25 23:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 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-07-25 23:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 23:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:06:57] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":141478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:06:57] local.INFO: GPS data processed {"connection_id":141478,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:06:57] local.INFO: Acknowledgment sent {"connection_id":141478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:06:59] local.INFO: TCP Data received {"connection_id":141478,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:59] local.INFO: Processing buffer {"connection_id":141478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:06:59] local.INFO: Packet analysis {"connection_id":141478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:06:59] local.INFO: Extracted packet for processing {"connection_id":141478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:06:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:06: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-07-25 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":141478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:06:59] local.INFO: GPS data processed {"connection_id":141478,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:06:59] local.INFO: Acknowledgment sent {"connection_id":141478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:07:16] local.INFO: TCP Data received {"connection_id":141477,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:07:16] local.INFO: Processing buffer {"connection_id":141477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:07:16] local.INFO: Packet analysis {"connection_id":141477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:07:16] local.INFO: Extracted packet for processing {"connection_id":141477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":141477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:07:16] local.INFO: GPS data processed {"connection_id":141477,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:07:16] local.INFO: Acknowledgment sent {"connection_id":141477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:07:30] local.INFO: TCP Data received {"connection_id":141478,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:07:30] local.INFO: Processing buffer {"connection_id":141478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:07:30] local.INFO: Packet analysis {"connection_id":141478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:07:30] local.INFO: Extracted packet for processing {"connection_id":141478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:07:30] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":141478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":141478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":141478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":141478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:07:30] local.INFO: GPS data processed {"connection_id":141478,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:07:30] local.INFO: Acknowledgment sent {"connection_id":141478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:07:37] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:07:37] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:07:37] local.INFO: IMEI packet received {"connection_id":142459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":142459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:07:42] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:07:42] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:07:42] local.INFO: IMEI packet received {"connection_id":142459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":142459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:07:43] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:07:43] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:07:43] local.INFO: Packet analysis {"connection_id":142459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:07:43] local.INFO: Extracted packet for processing {"connection_id":142459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:07:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:07:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:07:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":142459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:07:43] local.INFO: GPS data processed {"connection_id":142459,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:07:43] local.INFO: Acknowledgment sent {"connection_id":142459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:07:48] local.INFO: TCP Data received {"connection_id":142460,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:07:48] local.INFO: Processing buffer {"connection_id":142460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:07:48] local.INFO: IMEI packet received {"connection_id":142460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":142460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:07:54] local.INFO: TCP Data received {"connection_id":142460,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:07:54] local.INFO: Processing buffer {"connection_id":142460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:07:54] local.INFO: IMEI packet received {"connection_id":142460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":142460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:07:55] local.INFO: TCP Data received {"connection_id":142460,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:07:55] local.INFO: Processing buffer {"connection_id":142460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:07:55] local.INFO: Packet analysis {"connection_id":142460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:07:55] local.INFO: Extracted packet for processing {"connection_id":142460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":142460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545617,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:07:55] local.INFO: GPS data processed {"connection_id":142460,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:07:55] local.INFO: Acknowledgment sent {"connection_id":142460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:08:14] local.INFO: TCP Data received {"connection_id":142459,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:08:14] local.INFO: Processing buffer {"connection_id":142459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a565140012d7faa4005afde48001200052a..."} 
[2026-07-25 23:08:14] local.INFO: Packet analysis {"connection_id":142459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:08:14] local.INFO: Extracted packet for processing {"connection_id":142459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a56"} 
[2026-07-25 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960121600001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785000776000,"timestamp_ms":1785000776000,"timestamp_seconds":1785000776,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a565140"} 
[2026-07-25 23:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-25 23:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960121600001,"66":25952,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960121600001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:08:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:08:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960121600001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":142459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:08:14] local.INFO: GPS data processed {"connection_id":142459,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:08:14] local.INFO: Acknowledgment sent {"connection_id":142459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:08:26] local.INFO: TCP Data received {"connection_id":142460,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:08:26] local.INFO: Processing buffer {"connection_id":142460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:08:26] local.INFO: Packet analysis {"connection_id":142460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:08:26] local.INFO: Extracted packet for processing {"connection_id":142460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:08:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":142460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:08:26] local.INFO: GPS data processed {"connection_id":142460,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:08:26] local.INFO: Acknowledgment sent {"connection_id":142460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:08:36] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:08:36] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:08:36] local.INFO: IMEI packet received {"connection_id":143823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":143823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:08:42] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:08:42] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:08:42] local.INFO: IMEI packet received {"connection_id":143823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":143823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:08:42] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:08:42] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:08:42] local.INFO: Packet analysis {"connection_id":143823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:08:42] local.INFO: Extracted packet for processing {"connection_id":143823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:08:42] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:08:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:08:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":143823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:08:42] local.INFO: GPS data processed {"connection_id":143823,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:08:42] local.INFO: Acknowledgment sent {"connection_id":143823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:08:48] local.INFO: TCP Data received {"connection_id":142461,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:08:48] local.INFO: Processing buffer {"connection_id":142461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:08:48] local.INFO: IMEI packet received {"connection_id":142461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":142461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:08:54] local.INFO: TCP Data received {"connection_id":142461,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:08:54] local.INFO: Processing buffer {"connection_id":142461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:08:54] local.INFO: IMEI packet received {"connection_id":142461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":142461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:08:55] local.INFO: TCP Data received {"connection_id":142461,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:08:55] local.INFO: Processing buffer {"connection_id":142461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:08:55] local.INFO: Packet analysis {"connection_id":142461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:08:55] local.INFO: Extracted packet for processing {"connection_id":142461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 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-07-25 23:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 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-07-25 23:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 23:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:08:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":142461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:08:55] local.INFO: GPS data processed {"connection_id":142461,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:08:55] local.INFO: Acknowledgment sent {"connection_id":142461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:09:13] local.INFO: TCP Data received {"connection_id":143823,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:09:13] local.INFO: Processing buffer {"connection_id":143823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:09:13] local.INFO: Packet analysis {"connection_id":143823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:09:13] local.INFO: Extracted packet for processing {"connection_id":143823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:09:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":143823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:09:13] local.INFO: GPS data processed {"connection_id":143823,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:09:13] local.INFO: Acknowledgment sent {"connection_id":143823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:09:27] local.INFO: TCP Data received {"connection_id":142461,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:09:27] local.INFO: Processing buffer {"connection_id":142461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:09:27] local.INFO: Packet analysis {"connection_id":142461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:09:27] local.INFO: Extracted packet for processing {"connection_id":142461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":142461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":142461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":142461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:09:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":142461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:09:27] local.INFO: GPS data processed {"connection_id":142461,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:09:27] local.INFO: Acknowledgment sent {"connection_id":142461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:09:37] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:09:37] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:09:37] local.INFO: IMEI packet received {"connection_id":143824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":143824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:09:42] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:09:42] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:09:42] local.INFO: IMEI packet received {"connection_id":143824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":143824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:09:43] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:09:43] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:09:43] local.INFO: Packet analysis {"connection_id":143824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:09:43] local.INFO: Extracted packet for processing {"connection_id":143824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:09:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":143824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:09:43] local.INFO: GPS data processed {"connection_id":143824,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:09:43] local.INFO: Acknowledgment sent {"connection_id":143824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:09:48] local.INFO: TCP Data received {"connection_id":143825,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:09:48] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:09:48] local.INFO: IMEI packet received {"connection_id":143825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":143825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:09:53] local.INFO: TCP Data received {"connection_id":143825,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:09:53] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:09:53] local.INFO: IMEI packet received {"connection_id":143825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":143825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:09:54] local.INFO: TCP Data received {"connection_id":143825,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:09:54] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:09:54] local.INFO: Packet analysis {"connection_id":143825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:09:54] local.INFO: Extracted packet for processing {"connection_id":143825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:09:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:09:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":143825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:09:54] local.INFO: GPS data processed {"connection_id":143825,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:09:54] local.INFO: Acknowledgment sent {"connection_id":143825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:10:14] local.INFO: TCP Data received {"connection_id":143824,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:10:14] local.INFO: Processing buffer {"connection_id":143824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:10:14] local.INFO: Packet analysis {"connection_id":143824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:10:14] local.INFO: Extracted packet for processing {"connection_id":143824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:10:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:10:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:10:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":143824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:10:14] local.INFO: GPS data processed {"connection_id":143824,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:10:14] local.INFO: Acknowledgment sent {"connection_id":143824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:10:26] local.INFO: TCP Data received {"connection_id":143825,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:10:26] local.INFO: Processing buffer {"connection_id":143825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:10:26] local.INFO: Packet analysis {"connection_id":143825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:10:26] local.INFO: Extracted packet for processing {"connection_id":143825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:10:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:10:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":143825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:10:26] local.INFO: GPS data processed {"connection_id":143825,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:10:26] local.INFO: Acknowledgment sent {"connection_id":143825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:10:37] local.INFO: TCP Data received {"connection_id":141412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:10:37] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:10:37] local.INFO: IMEI packet received {"connection_id":141412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":141412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:10:42] local.INFO: TCP Data received {"connection_id":141412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:10:42] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:10:42] local.INFO: IMEI packet received {"connection_id":141412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":141412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:10:43] local.INFO: TCP Data received {"connection_id":141412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:10:43] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:10:43] local.INFO: Packet analysis {"connection_id":141412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:10:43] local.INFO: Extracted packet for processing {"connection_id":141412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:10:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:10:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":141412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:10:43] local.INFO: GPS data processed {"connection_id":141412,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:10:43] local.INFO: Acknowledgment sent {"connection_id":141412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:10:54] local.INFO: TCP Data received {"connection_id":141413,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:10:54] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:10:54] local.INFO: IMEI packet received {"connection_id":141413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":141413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:10:59] local.INFO: TCP Data received {"connection_id":141413,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:10:59] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:10:59] local.INFO: IMEI packet received {"connection_id":141413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":141413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:11:00] local.INFO: TCP Data received {"connection_id":141413,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:00] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:00] local.INFO: Packet analysis {"connection_id":141413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:11:00] local.INFO: Extracted packet for processing {"connection_id":141413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:11: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-07-25 23: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":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:11:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":141413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:11:00] local.INFO: GPS data processed {"connection_id":141413,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:11:00] local.INFO: Acknowledgment sent {"connection_id":141413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:11:05] local.INFO: TCP Data received {"connection_id":141413,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:05] local.INFO: Processing buffer {"connection_id":141413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:05] local.INFO: Packet analysis {"connection_id":141413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:11:05] local.INFO: Extracted packet for processing {"connection_id":141413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:11:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":141413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:11:05] local.INFO: GPS data processed {"connection_id":141413,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:11:05] local.INFO: Acknowledgment sent {"connection_id":141413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:11:14] local.INFO: TCP Data received {"connection_id":141412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:11:14] local.INFO: Processing buffer {"connection_id":141412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:11:14] local.INFO: Packet analysis {"connection_id":141412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:11:14] local.INFO: Extracted packet for processing {"connection_id":141412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:11:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:11:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:11:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":141412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:11:14] local.INFO: GPS data processed {"connection_id":141412,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:11:14] local.INFO: Acknowledgment sent {"connection_id":141412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:11:36] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:11:36] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:11:36] local.INFO: IMEI packet received {"connection_id":142462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":142462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:11:42] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:11:42] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:11:42] local.INFO: IMEI packet received {"connection_id":142462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":142462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:11:43] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:11:43] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:11:43] local.INFO: Packet analysis {"connection_id":142462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:11:43] local.INFO: Extracted packet for processing {"connection_id":142462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:11:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:11:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":142462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:11:43] local.INFO: GPS data processed {"connection_id":142462,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:11:43] local.INFO: Acknowledgment sent {"connection_id":142462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:11:49] local.INFO: TCP Data received {"connection_id":142463,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:11:49] local.INFO: Processing buffer {"connection_id":142463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:11:49] local.INFO: IMEI packet received {"connection_id":142463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":142463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:11:54] local.INFO: TCP Data received {"connection_id":142463,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:11:54] local.INFO: Processing buffer {"connection_id":142463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:11:54] local.INFO: IMEI packet received {"connection_id":142463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":142463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:11:55] local.INFO: TCP Data received {"connection_id":142463,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:55] local.INFO: Processing buffer {"connection_id":142463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a596a38012d77a94005f27b900013016323..."} 
[2026-07-25 23:11:55] local.INFO: Packet analysis {"connection_id":142463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:11:55] local.INFO: Extracted packet for processing {"connection_id":142463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a59"} 
[2026-07-25 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960173568001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785000979000,"timestamp_ms":1785000979000,"timestamp_seconds":1785000979,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a596a38"} 
[2026-07-25 23:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-25 23:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":683,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960173568001,"66":25212,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960173568001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960173568001,"power":25212,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":142463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:11:55] local.INFO: GPS data processed {"connection_id":142463,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:11:55] local.INFO: Acknowledgment sent {"connection_id":142463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:12:14] local.INFO: TCP Data received {"connection_id":142462,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:14] local.INFO: Processing buffer {"connection_id":142462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:14] local.INFO: Packet analysis {"connection_id":142462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:12:14] local.INFO: Extracted packet for processing {"connection_id":142462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:12:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:12:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":142462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:12:14] local.INFO: GPS data processed {"connection_id":142462,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:12:14] local.INFO: Acknowledgment sent {"connection_id":142462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:12:26] local.INFO: TCP Data received {"connection_id":142463,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:12:26] local.INFO: Processing buffer {"connection_id":142463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:12:26] local.INFO: Packet analysis {"connection_id":142463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:12:26] local.INFO: Extracted packet for processing {"connection_id":142463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:12:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:12:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":142463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:12:26] local.INFO: GPS data processed {"connection_id":142463,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:12:26] local.INFO: Acknowledgment sent {"connection_id":142463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:12:42] local.INFO: TCP Data received {"connection_id":141414,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:12:42] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:12:42] local.INFO: IMEI packet received {"connection_id":141414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":141414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:12:47] local.INFO: TCP Data received {"connection_id":141414,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:12:47] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:12:47] local.INFO: IMEI packet received {"connection_id":141414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":141414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:12:48] local.INFO: TCP Data received {"connection_id":141414,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:48] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:48] local.INFO: Packet analysis {"connection_id":141414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:12:48] local.INFO: Extracted packet for processing {"connection_id":141414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:12:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":141414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:12:48] local.INFO: GPS data processed {"connection_id":141414,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:12:48] local.INFO: Acknowledgment sent {"connection_id":141414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:12:48] local.INFO: TCP Data received {"connection_id":143826,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:12:48] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:12:48] local.INFO: IMEI packet received {"connection_id":143826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":143826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:12:52] local.INFO: TCP Data received {"connection_id":141414,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:52] local.INFO: Processing buffer {"connection_id":141414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5ae908012d7faa4005afde48001200052a..."} 
[2026-07-25 23:12:52] local.INFO: Packet analysis {"connection_id":141414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:12:52] local.INFO: Extracted packet for processing {"connection_id":141414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5a"} 
[2026-07-25 23:12:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960198656001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785001077000,"timestamp_ms":1785001077000,"timestamp_seconds":1785001077,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5ae908"} 
[2026-07-25 23:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-07-25 23:12: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-07-25 23:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960198656001,"66":25875,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960198656001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:12:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960198656001,"power":25875,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":141414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:12:52] local.INFO: GPS data processed {"connection_id":141414,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:12:52] local.INFO: Acknowledgment sent {"connection_id":141414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:12:54] local.INFO: TCP Data received {"connection_id":143826,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:12:54] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:12:54] local.INFO: IMEI packet received {"connection_id":143826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":143826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:12:55] local.INFO: TCP Data received {"connection_id":143826,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:12:55] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:12:55] local.INFO: Packet analysis {"connection_id":143826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:12:55] local.INFO: Extracted packet for processing {"connection_id":143826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:12: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-07-25 23:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:12:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":143826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:12:55] local.INFO: GPS data processed {"connection_id":143826,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:12:55] local.INFO: Acknowledgment sent {"connection_id":143826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:13:31] local.INFO: TCP Data received {"connection_id":143826,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:13:31] local.INFO: Processing buffer {"connection_id":143826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:13:31] local.INFO: Packet analysis {"connection_id":143826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:13:31] local.INFO: Extracted packet for processing {"connection_id":143826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":143826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:13:32] local.INFO: GPS data processed {"connection_id":143826,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:13:32] local.INFO: Acknowledgment sent {"connection_id":143826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:13:36] local.INFO: TCP Data received {"connection_id":141479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:36] local.INFO: Processing buffer {"connection_id":141479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:36] local.INFO: IMEI packet received {"connection_id":141479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":141479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:13:37] local.INFO: TCP Data received {"connection_id":141479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:37] local.INFO: Processing buffer {"connection_id":141479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:37] local.INFO: IMEI packet received {"connection_id":141479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":141479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:13:42] local.INFO: TCP Data received {"connection_id":141479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:42] local.INFO: Processing buffer {"connection_id":141479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:13:42] local.INFO: IMEI packet received {"connection_id":141479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":141479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:13:43] local.INFO: TCP Data received {"connection_id":141479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:13:43] local.INFO: Processing buffer {"connection_id":141479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:13:43] local.INFO: Packet analysis {"connection_id":141479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:13:43] local.INFO: Extracted packet for processing {"connection_id":141479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:13:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:13:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:13:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":141479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:13:43] local.INFO: GPS data processed {"connection_id":141479,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:13:43] local.INFO: Acknowledgment sent {"connection_id":141479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:13:48] local.INFO: TCP Data received {"connection_id":142464,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:13:48] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:13:48] local.INFO: IMEI packet received {"connection_id":142464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":142464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:13:54] local.INFO: TCP Data received {"connection_id":142464,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:13:54] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:13:54] local.INFO: IMEI packet received {"connection_id":142464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":142464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:13:56] local.INFO: TCP Data received {"connection_id":142464,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:13:56] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:13:56] local.INFO: Packet analysis {"connection_id":142464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:13:56] local.INFO: Extracted packet for processing {"connection_id":142464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":142464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":142464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":142464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:13:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":142464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:13:56] local.INFO: GPS data processed {"connection_id":142464,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:13:56] local.INFO: Acknowledgment sent {"connection_id":142464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:14:14] local.INFO: TCP Data received {"connection_id":141479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:14:14] local.INFO: Processing buffer {"connection_id":141479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:14:14] local.INFO: Packet analysis {"connection_id":141479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:14:14] local.INFO: Extracted packet for processing {"connection_id":141479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:14:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:14:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":141479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:14:14] local.INFO: GPS data processed {"connection_id":141479,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:14:14] local.INFO: Acknowledgment sent {"connection_id":141479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:14:26] local.INFO: TCP Data received {"connection_id":142464,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:14:26] local.INFO: Processing buffer {"connection_id":142464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:14:26] local.INFO: Packet analysis {"connection_id":142464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:14:26] local.INFO: Extracted packet for processing {"connection_id":142464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:14:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:14:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":142464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:14:27] local.INFO: GPS data processed {"connection_id":142464,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:14:27] local.INFO: Acknowledgment sent {"connection_id":142464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:14:36] local.INFO: TCP Data received {"connection_id":141480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:14:36] local.INFO: Processing buffer {"connection_id":141480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:14:36] local.INFO: IMEI packet received {"connection_id":141480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":141480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:14:41] local.INFO: TCP Data received {"connection_id":141480,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:14:41] local.INFO: Processing buffer {"connection_id":141480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:14:41] local.INFO: IMEI packet received {"connection_id":141480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":141480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:14:46] local.INFO: TCP Data received {"connection_id":141480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:14:46] local.INFO: Processing buffer {"connection_id":141480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:14:46] local.INFO: Packet analysis {"connection_id":141480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:14:46] local.INFO: Extracted packet for processing {"connection_id":141480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:14:46] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:14: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-07-25 23:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":141480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":141480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":141480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:14:46] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:14:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":141480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:14:46] local.INFO: GPS data processed {"connection_id":141480,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:14:46] local.INFO: Acknowledgment sent {"connection_id":141480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:14:54] local.INFO: TCP Data received {"connection_id":141415,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:14:54] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:14:54] local.INFO: IMEI packet received {"connection_id":141415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":141415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:14:59] local.INFO: TCP Data received {"connection_id":141415,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:14:59] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:14:59] local.INFO: IMEI packet received {"connection_id":141415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":141415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:15:00] local.INFO: TCP Data received {"connection_id":141415,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:00] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:00] local.INFO: Packet analysis {"connection_id":141415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:15:00] local.INFO: Extracted packet for processing {"connection_id":141415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:15:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:15: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-07-25 23:15: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-07-25 23:15: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-07-25 23:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:15:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":141415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:15:00] local.INFO: GPS data processed {"connection_id":141415,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:15:00] local.INFO: Acknowledgment sent {"connection_id":141415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:15:05] local.INFO: TCP Data received {"connection_id":141415,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:05] local.INFO: Processing buffer {"connection_id":141415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:05] local.INFO: Packet analysis {"connection_id":141415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:15:05] local.INFO: Extracted packet for processing {"connection_id":141415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:15:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":141415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:15:05] local.INFO: GPS data processed {"connection_id":141415,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:15:05] local.INFO: Acknowledgment sent {"connection_id":141415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:15:17] local.INFO: TCP Data received {"connection_id":141480,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:17] local.INFO: Processing buffer {"connection_id":141480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:17] local.INFO: Packet analysis {"connection_id":141480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:15:17] local.INFO: Extracted packet for processing {"connection_id":141480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:15:17] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:15: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-07-25 23:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":141480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":141480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":141480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:15:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":141480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:15:17] local.INFO: GPS data processed {"connection_id":141480,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:15:17] local.INFO: Acknowledgment sent {"connection_id":141480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:15:42] local.INFO: TCP Data received {"connection_id":143827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:15:42] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:15:42] local.INFO: IMEI packet received {"connection_id":143827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":143827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:15:47] local.INFO: TCP Data received {"connection_id":143827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:15:47] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:15:47] local.INFO: IMEI packet received {"connection_id":143827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":143827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:15:48] local.INFO: TCP Data received {"connection_id":143827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:48] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:48] local.INFO: Packet analysis {"connection_id":143827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:15:48] local.INFO: Extracted packet for processing {"connection_id":143827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:15:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:15:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:15:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":143827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:15:48] local.INFO: GPS data processed {"connection_id":143827,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:15:48] local.INFO: Acknowledgment sent {"connection_id":143827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:15:49] local.INFO: TCP Data received {"connection_id":142465,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:15:49] local.INFO: Processing buffer {"connection_id":142465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:15:49] local.INFO: IMEI packet received {"connection_id":142465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":142465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:15:52] local.INFO: TCP Data received {"connection_id":143827,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:52] local.INFO: Processing buffer {"connection_id":143827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:15:52] local.INFO: Packet analysis {"connection_id":143827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:15:52] local.INFO: Extracted packet for processing {"connection_id":143827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:15:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:15: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-07-25 23:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:15:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":143827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:15:52] local.INFO: GPS data processed {"connection_id":143827,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:15:52] local.INFO: Acknowledgment sent {"connection_id":143827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:15:54] local.INFO: TCP Data received {"connection_id":142465,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:15:54] local.INFO: Processing buffer {"connection_id":142465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:15:54] local.INFO: IMEI packet received {"connection_id":142465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":142465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:15:55] local.INFO: TCP Data received {"connection_id":142465,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:55] local.INFO: Processing buffer {"connection_id":142465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:15:55] local.INFO: Packet analysis {"connection_id":142465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:15:55] local.INFO: Extracted packet for processing {"connection_id":142465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:15:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:15: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-07-25 23:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:15:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":142465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:15:55] local.INFO: GPS data processed {"connection_id":142465,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:15:55] local.INFO: Acknowledgment sent {"connection_id":142465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:16:26] local.INFO: TCP Data received {"connection_id":142465,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:16:26] local.INFO: Processing buffer {"connection_id":142465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:16:26] local.INFO: Packet analysis {"connection_id":142465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:16:26] local.INFO: Extracted packet for processing {"connection_id":142465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:16:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:16:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":142465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:16:26] local.INFO: GPS data processed {"connection_id":142465,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:16:26] local.INFO: Acknowledgment sent {"connection_id":142465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:16:36] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:16:36] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:16:36] local.INFO: IMEI packet received {"connection_id":141416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":141416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:16:42] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:16:42] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:16:42] local.INFO: IMEI packet received {"connection_id":141416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":141416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:16:42] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:16:42] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:16:42] local.INFO: Packet analysis {"connection_id":141416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:16:42] local.INFO: Extracted packet for processing {"connection_id":141416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:16:42] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:16:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":141416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:16:42] local.INFO: GPS data processed {"connection_id":141416,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:16:42] local.INFO: Acknowledgment sent {"connection_id":141416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:16:48] local.INFO: TCP Data received {"connection_id":143828,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:16:48] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:16:48] local.INFO: IMEI packet received {"connection_id":143828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":143828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:16:54] local.INFO: TCP Data received {"connection_id":143828,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:16:54] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:16:54] local.INFO: IMEI packet received {"connection_id":143828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":143828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:16:55] local.INFO: TCP Data received {"connection_id":143828,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:16:55] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5e0200012d77a94005f27b900013016323..."} 
[2026-07-25 23:16:55] local.INFO: Packet analysis {"connection_id":143828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:16:55] local.INFO: Extracted packet for processing {"connection_id":143828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5e"} 
[2026-07-25 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960250624001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001280000,"timestamp_ms":1785001280000,"timestamp_seconds":1785001280,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5e0200"} 
[2026-07-25 23:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-25 23:16: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-07-25 23:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960250624001,"66":25299,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960250624001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:16:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960250624001,"power":25299,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":143828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:16:55] local.INFO: GPS data processed {"connection_id":143828,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:16:55] local.INFO: Acknowledgment sent {"connection_id":143828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:17:13] local.INFO: TCP Data received {"connection_id":141416,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:17:13] local.INFO: Processing buffer {"connection_id":141416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:17:13] local.INFO: Packet analysis {"connection_id":141416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:17:13] local.INFO: Extracted packet for processing {"connection_id":141416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:17:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":141416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:17:13] local.INFO: GPS data processed {"connection_id":141416,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:17:13] local.INFO: Acknowledgment sent {"connection_id":141416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:17:26] local.INFO: TCP Data received {"connection_id":143828,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:17:26] local.INFO: Processing buffer {"connection_id":143828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:17:26] local.INFO: Packet analysis {"connection_id":143828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:17:26] local.INFO: Extracted packet for processing {"connection_id":143828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:17:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":143828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:17:26] local.INFO: GPS data processed {"connection_id":143828,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:17:26] local.INFO: Acknowledgment sent {"connection_id":143828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:17:37] local.INFO: TCP Data received {"connection_id":141481,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:37] local.INFO: Processing buffer {"connection_id":141481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:37] local.INFO: IMEI packet received {"connection_id":141481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":141481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:17:42] local.INFO: TCP Data received {"connection_id":141481,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:42] local.INFO: Processing buffer {"connection_id":141481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:42] local.INFO: IMEI packet received {"connection_id":141481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":141481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:17:47] local.INFO: TCP Data received {"connection_id":141481,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:47] local.INFO: Processing buffer {"connection_id":141481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:17:47] local.INFO: IMEI packet received {"connection_id":141481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":141481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:17:48] local.INFO: TCP Data received {"connection_id":141481,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:17:48] local.INFO: Processing buffer {"connection_id":141481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:17:48] local.INFO: Packet analysis {"connection_id":141481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:17:48] local.INFO: Extracted packet for processing {"connection_id":141481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:17:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-25 23:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:17:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:17:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":141481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:17:48] local.INFO: GPS data processed {"connection_id":141481,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:17:48] local.INFO: Acknowledgment sent {"connection_id":141481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:17:55] local.INFO: TCP Data received {"connection_id":141482,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:17:55] local.INFO: Processing buffer {"connection_id":141482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:17:55] local.INFO: IMEI packet received {"connection_id":141482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":141482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:17:59] local.INFO: TCP Data received {"connection_id":141482,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:17:59] local.INFO: Processing buffer {"connection_id":141482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:17:59] local.INFO: IMEI packet received {"connection_id":141482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":141482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:18:00] local.INFO: TCP Data received {"connection_id":141482,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:00] local.INFO: Processing buffer {"connection_id":141482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:00] local.INFO: Packet analysis {"connection_id":141482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:18:00] local.INFO: Extracted packet for processing {"connection_id":141482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:18:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:18: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-07-25 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:18:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":141482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:18:00] local.INFO: GPS data processed {"connection_id":141482,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:18:00] local.INFO: Acknowledgment sent {"connection_id":141482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:18:04] local.INFO: TCP Data received {"connection_id":141482,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:04] local.INFO: Processing buffer {"connection_id":141482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:04] local.INFO: Packet analysis {"connection_id":141482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:18:04] local.INFO: Extracted packet for processing {"connection_id":141482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:18:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":141482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:18:04] local.INFO: GPS data processed {"connection_id":141482,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:18:04] local.INFO: Acknowledgment sent {"connection_id":141482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:18:19] local.INFO: TCP Data received {"connection_id":141481,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:18:19] local.INFO: Processing buffer {"connection_id":141481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a5f80d0012d7faa4005afde48001200052e..."} 
[2026-07-25 23:18:19] local.INFO: Packet analysis {"connection_id":141481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:18:19] local.INFO: Extracted packet for processing {"connection_id":141481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a5f"} 
[2026-07-25 23:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":18,"angle":5,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960275712001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785001378000,"timestamp_ms":1785001378000,"timestamp_seconds":1785001378,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a5f80d0"} 
[2026-07-25 23:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23: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-07-25 23: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-07-25 23:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960275712001,"66":25756,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960275712001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:18:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960275712001,"power":25756,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":141481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:18:19] local.INFO: GPS data processed {"connection_id":141481,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:18:19] local.INFO: Acknowledgment sent {"connection_id":141481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:18:37] local.INFO: TCP Data received {"connection_id":141417,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:37] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:37] local.INFO: IMEI packet received {"connection_id":141417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":141417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:18:37] local.INFO: TCP Data received {"connection_id":141417,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:37] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:37] local.INFO: IMEI packet received {"connection_id":141417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":141417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:18:42] local.INFO: TCP Data received {"connection_id":141417,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:42] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:18:42] local.INFO: IMEI packet received {"connection_id":141417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":141417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:18:43] local.INFO: TCP Data received {"connection_id":141417,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:18:43] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:18:43] local.INFO: Packet analysis {"connection_id":141417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:18:43] local.INFO: Extracted packet for processing {"connection_id":141417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:18:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:18:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:18:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":141417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:18:43] local.INFO: GPS data processed {"connection_id":141417,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:18:43] local.INFO: Acknowledgment sent {"connection_id":141417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:18:49] local.INFO: TCP Data received {"connection_id":142466,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:18:49] local.INFO: Processing buffer {"connection_id":142466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:18:49] local.INFO: IMEI packet received {"connection_id":142466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":142466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:18:54] local.INFO: TCP Data received {"connection_id":142466,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:18:54] local.INFO: Processing buffer {"connection_id":142466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:18:54] local.INFO: IMEI packet received {"connection_id":142466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":142466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:18:55] local.INFO: TCP Data received {"connection_id":142466,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:55] local.INFO: Processing buffer {"connection_id":142466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:18:55] local.INFO: Packet analysis {"connection_id":142466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:18:55] local.INFO: Extracted packet for processing {"connection_id":142466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:18:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:18:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":142466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:18:55] local.INFO: GPS data processed {"connection_id":142466,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:18:55] local.INFO: Acknowledgment sent {"connection_id":142466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:19:14] local.INFO: TCP Data received {"connection_id":141417,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:14] local.INFO: Processing buffer {"connection_id":141417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:14] local.INFO: Packet analysis {"connection_id":141417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:19:14] local.INFO: Extracted packet for processing {"connection_id":141417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:19:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:19:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:19:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":141417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:19:14] local.INFO: GPS data processed {"connection_id":141417,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:19:14] local.INFO: Acknowledgment sent {"connection_id":141417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:19:26] local.INFO: TCP Data received {"connection_id":142466,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:19:26] local.INFO: Processing buffer {"connection_id":142466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:19:26] local.INFO: Packet analysis {"connection_id":142466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:19:26] local.INFO: Extracted packet for processing {"connection_id":142466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:19:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:19:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":142466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:19:27] local.INFO: GPS data processed {"connection_id":142466,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:19:27] local.INFO: Acknowledgment sent {"connection_id":142466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:19:42] local.INFO: TCP Data received {"connection_id":141483,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:19:42] local.INFO: Processing buffer {"connection_id":141483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:19:42] local.INFO: IMEI packet received {"connection_id":141483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":141483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:19:47] local.INFO: TCP Data received {"connection_id":141483,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:19:47] local.INFO: Processing buffer {"connection_id":141483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:19:47] local.INFO: IMEI packet received {"connection_id":141483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":141483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:19:48] local.INFO: TCP Data received {"connection_id":141483,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:48] local.INFO: Processing buffer {"connection_id":141483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:48] local.INFO: Packet analysis {"connection_id":141483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:19:48] local.INFO: Extracted packet for processing {"connection_id":141483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:19:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:19:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":141483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:19:48] local.INFO: GPS data processed {"connection_id":141483,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:19:48] local.INFO: Acknowledgment sent {"connection_id":141483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:19:48] local.INFO: TCP Data received {"connection_id":142467,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:19:48] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:19:48] local.INFO: IMEI packet received {"connection_id":142467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":142467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:19:52] local.INFO: TCP Data received {"connection_id":141483,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:52] local.INFO: Processing buffer {"connection_id":141483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:19:52] local.INFO: Packet analysis {"connection_id":141483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:19:52] local.INFO: Extracted packet for processing {"connection_id":141483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:19:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:19: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-07-25 23:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:19: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-07-25 23:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:19:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":141483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:19:52] local.INFO: GPS data processed {"connection_id":141483,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:19:52] local.INFO: Acknowledgment sent {"connection_id":141483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:19:54] local.INFO: TCP Data received {"connection_id":142467,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:19:54] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:19:54] local.INFO: IMEI packet received {"connection_id":142467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":142467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:19:55] local.INFO: TCP Data received {"connection_id":142467,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:19:55] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:19:55] local.INFO: Packet analysis {"connection_id":142467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:19:55] local.INFO: Extracted packet for processing {"connection_id":142467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:19:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:19:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":142467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:19:55] local.INFO: GPS data processed {"connection_id":142467,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:19:55] local.INFO: Acknowledgment sent {"connection_id":142467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:20:26] local.INFO: TCP Data received {"connection_id":142467,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:20:26] local.INFO: Processing buffer {"connection_id":142467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:20:26] local.INFO: Packet analysis {"connection_id":142467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:20:26] local.INFO: Extracted packet for processing {"connection_id":142467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:20:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:20:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":142467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:20:26] local.INFO: GPS data processed {"connection_id":142467,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:20:26] local.INFO: Acknowledgment sent {"connection_id":142467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:20:37] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:20:37] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:20:37] local.INFO: IMEI packet received {"connection_id":143829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":143829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:20:42] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:20:42] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:20:42] local.INFO: IMEI packet received {"connection_id":143829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":143829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:20:43] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:20:43] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:20:43] local.INFO: Packet analysis {"connection_id":143829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:20:43] local.INFO: Extracted packet for processing {"connection_id":143829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:20:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":143829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:20:43] local.INFO: GPS data processed {"connection_id":143829,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:20:43] local.INFO: Acknowledgment sent {"connection_id":143829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:20:48] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:20:48] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:20:48] local.INFO: IMEI packet received {"connection_id":141418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":141418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:20:54] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:20:54] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:20:54] local.INFO: IMEI packet received {"connection_id":141418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":141418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:20:55] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:20:55] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:20:55] local.INFO: Packet analysis {"connection_id":141418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:20:55] local.INFO: Extracted packet for processing {"connection_id":141418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:20:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":141418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:20:55] local.INFO: GPS data processed {"connection_id":141418,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:20:55] local.INFO: Acknowledgment sent {"connection_id":141418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:21:14] local.INFO: TCP Data received {"connection_id":143829,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:21:14] local.INFO: Processing buffer {"connection_id":143829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:21:14] local.INFO: Packet analysis {"connection_id":143829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:21:14] local.INFO: Extracted packet for processing {"connection_id":143829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:21:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:21:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":143829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:21:14] local.INFO: GPS data processed {"connection_id":143829,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:21:14] local.INFO: Acknowledgment sent {"connection_id":143829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:21:26] local.INFO: TCP Data received {"connection_id":141418,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:21:26] local.INFO: Processing buffer {"connection_id":141418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:21:26] local.INFO: Packet analysis {"connection_id":141418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:21:26] local.INFO: Extracted packet for processing {"connection_id":141418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:21:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":141418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:21:26] local.INFO: GPS data processed {"connection_id":141418,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:21:26] local.INFO: Acknowledgment sent {"connection_id":141418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:21:37] local.INFO: TCP Data received {"connection_id":141484,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:21:37] local.INFO: Processing buffer {"connection_id":141484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:21:37] local.INFO: IMEI packet received {"connection_id":141484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":141484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:21:42] local.INFO: TCP Data received {"connection_id":141484,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:21:42] local.INFO: Processing buffer {"connection_id":141484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:21:42] local.INFO: IMEI packet received {"connection_id":141484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":141484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:21:43] local.INFO: TCP Data received {"connection_id":141484,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:21:43] local.INFO: Processing buffer {"connection_id":141484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:21:43] local.INFO: Packet analysis {"connection_id":141484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:21:43] local.INFO: Extracted packet for processing {"connection_id":141484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:21:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:21:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":141484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:21:43] local.INFO: GPS data processed {"connection_id":141484,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:21:43] local.INFO: Acknowledgment sent {"connection_id":141484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:21:48] local.INFO: TCP Data received {"connection_id":141485,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:21:48] local.INFO: Processing buffer {"connection_id":141485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:21:48] local.INFO: IMEI packet received {"connection_id":141485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":141485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:21:54] local.INFO: TCP Data received {"connection_id":141485,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:21:54] local.INFO: Processing buffer {"connection_id":141485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:21:54] local.INFO: IMEI packet received {"connection_id":141485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":141485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:21:55] local.INFO: TCP Data received {"connection_id":141485,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:21:55] local.INFO: Processing buffer {"connection_id":141485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6299c8012d77a94005f27b900013016323..."} 
[2026-07-25 23:21:55] local.INFO: Packet analysis {"connection_id":141485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:21:55] local.INFO: Extracted packet for processing {"connection_id":141485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a62"} 
[2026-07-25 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960327680001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001581000,"timestamp_ms":1785001581000,"timestamp_seconds":1785001581,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6299c8"} 
[2026-07-25 23:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-25 23:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960327680001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960327680001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:21:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960327680001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":141485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:21:55] local.INFO: GPS data processed {"connection_id":141485,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:21:55] local.INFO: Acknowledgment sent {"connection_id":141485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:22:14] local.INFO: TCP Data received {"connection_id":141484,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:22:14] local.INFO: Processing buffer {"connection_id":141484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:22:14] local.INFO: Packet analysis {"connection_id":141484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:22:14] local.INFO: Extracted packet for processing {"connection_id":141484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:22:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:22:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:22:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":141484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:22:14] local.INFO: GPS data processed {"connection_id":141484,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:22:14] local.INFO: Acknowledgment sent {"connection_id":141484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:22:26] local.INFO: TCP Data received {"connection_id":141485,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:22:26] local.INFO: Processing buffer {"connection_id":141485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:22:26] local.INFO: Packet analysis {"connection_id":141485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:22:26] local.INFO: Extracted packet for processing {"connection_id":141485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:22:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":141485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:22:26] local.INFO: GPS data processed {"connection_id":141485,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:22:26] local.INFO: Acknowledgment sent {"connection_id":141485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:22:37] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:22:37] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:22:37] local.INFO: IMEI packet received {"connection_id":141419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":141419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:22:42] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:22:42] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:22:42] local.INFO: IMEI packet received {"connection_id":141419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":141419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:22:43] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:22:43] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:22:43] local.INFO: Packet analysis {"connection_id":141419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:22:43] local.INFO: Extracted packet for processing {"connection_id":141419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:22:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:22:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:22:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":141419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:22:43] local.INFO: GPS data processed {"connection_id":141419,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:22:43] local.INFO: Acknowledgment sent {"connection_id":141419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:22:49] local.INFO: TCP Data received {"connection_id":143830,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:22:49] local.INFO: Processing buffer {"connection_id":143830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:22:49] local.INFO: IMEI packet received {"connection_id":143830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":143830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:22:55] local.INFO: TCP Data received {"connection_id":143830,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:22:55] local.INFO: Processing buffer {"connection_id":143830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:22:55] local.INFO: IMEI packet received {"connection_id":143830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":143830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:22:56] local.INFO: TCP Data received {"connection_id":143830,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:22:56] local.INFO: Processing buffer {"connection_id":143830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:22:56] local.INFO: Packet analysis {"connection_id":143830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:22:56] local.INFO: Extracted packet for processing {"connection_id":143830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":143830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":143830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":143830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:22:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":143830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:22:56] local.INFO: GPS data processed {"connection_id":143830,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:22:56] local.INFO: Acknowledgment sent {"connection_id":143830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:23:15] local.INFO: TCP Data received {"connection_id":141419,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:23:15] local.INFO: Processing buffer {"connection_id":141419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a641898012d7faa4005afde48000e00052a..."} 
[2026-07-25 23:23:15] local.INFO: Packet analysis {"connection_id":141419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:23:15] local.INFO: Extracted packet for processing {"connection_id":141419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a64"} 
[2026-07-25 23:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960352768001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785001679000,"timestamp_ms":1785001679000,"timestamp_seconds":1785001679,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a641898"} 
[2026-07-25 23:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":156,"data_length":795,"current_offset":136} 
[2026-07-25 23:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":141419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":141419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":141419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960352768001,"66":25702,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960352768001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:23:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960352768001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":141419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:23:15] local.INFO: GPS data processed {"connection_id":141419,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:23:15] local.INFO: Acknowledgment sent {"connection_id":141419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:23:27] local.INFO: TCP Data received {"connection_id":143830,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:23:27] local.INFO: Processing buffer {"connection_id":143830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:23:27] local.INFO: Packet analysis {"connection_id":143830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:23:27] local.INFO: Extracted packet for processing {"connection_id":143830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:23: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-07-25 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":143830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":143830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":143830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:23:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":143830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:23:28] local.INFO: GPS data processed {"connection_id":143830,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:23:28] local.INFO: Acknowledgment sent {"connection_id":143830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:23:36] local.INFO: TCP Data received {"connection_id":141486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:36] local.INFO: Processing buffer {"connection_id":141486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:36] local.INFO: IMEI packet received {"connection_id":141486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":141486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:23:37] local.INFO: TCP Data received {"connection_id":141486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:37] local.INFO: Processing buffer {"connection_id":141486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:37] local.INFO: IMEI packet received {"connection_id":141486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":141486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:23:42] local.INFO: TCP Data received {"connection_id":141486,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:42] local.INFO: Processing buffer {"connection_id":141486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:23:42] local.INFO: IMEI packet received {"connection_id":141486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":141486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:23:45] local.INFO: TCP Data received {"connection_id":141486,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:23:45] local.INFO: Processing buffer {"connection_id":141486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:23:45] local.INFO: Packet analysis {"connection_id":141486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:23:45] local.INFO: Extracted packet for processing {"connection_id":141486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:23:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:23:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":141486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:23:45] local.INFO: GPS data processed {"connection_id":141486,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:23:45] local.INFO: Acknowledgment sent {"connection_id":141486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:23:48] local.INFO: TCP Data received {"connection_id":142468,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:23:48] local.INFO: Processing buffer {"connection_id":142468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:23:48] local.INFO: IMEI packet received {"connection_id":142468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":142468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:23:54] local.INFO: TCP Data received {"connection_id":142468,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:23:54] local.INFO: Processing buffer {"connection_id":142468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:23:54] local.INFO: IMEI packet received {"connection_id":142468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":142468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:23:55] local.INFO: TCP Data received {"connection_id":142468,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:23:55] local.INFO: Processing buffer {"connection_id":142468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:23:55] local.INFO: Packet analysis {"connection_id":142468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:23:55] local.INFO: Extracted packet for processing {"connection_id":142468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:23:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":142468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:23:55] local.INFO: GPS data processed {"connection_id":142468,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:23:55] local.INFO: Acknowledgment sent {"connection_id":142468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:24:16] local.INFO: TCP Data received {"connection_id":141486,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:24:16] local.INFO: Processing buffer {"connection_id":141486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:24:16] local.INFO: Packet analysis {"connection_id":141486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:24:16] local.INFO: Extracted packet for processing {"connection_id":141486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 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-07-25 23:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 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-07-25 23:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 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-07-25 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-07-25 23:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":141486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:24:16] local.INFO: GPS data processed {"connection_id":141486,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:24:16] local.INFO: Acknowledgment sent {"connection_id":141486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:24:26] local.INFO: TCP Data received {"connection_id":142468,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:24:26] local.INFO: Processing buffer {"connection_id":142468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:24:26] local.INFO: Packet analysis {"connection_id":142468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:24:26] local.INFO: Extracted packet for processing {"connection_id":142468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:24:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":142468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:24:26] local.INFO: GPS data processed {"connection_id":142468,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:24:26] local.INFO: Acknowledgment sent {"connection_id":142468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:24:37] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:24:37] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:24:37] local.INFO: IMEI packet received {"connection_id":143831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":143831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:24:42] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:24:42] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:24:42] local.INFO: IMEI packet received {"connection_id":143831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":143831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:24:43] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:24:43] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:24:43] local.INFO: Packet analysis {"connection_id":143831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:24:43] local.INFO: Extracted packet for processing {"connection_id":143831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:24:43] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:24:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:24:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":143831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:24:43] local.INFO: GPS data processed {"connection_id":143831,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:24:43] local.INFO: Acknowledgment sent {"connection_id":143831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:24:48] local.INFO: TCP Data received {"connection_id":142469,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:24:48] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:24:48] local.INFO: IMEI packet received {"connection_id":142469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":142469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:24:54] local.INFO: TCP Data received {"connection_id":142469,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:24:54] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:24:54] local.INFO: IMEI packet received {"connection_id":142469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":142469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:24:55] local.INFO: TCP Data received {"connection_id":142469,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:24:55] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:24:55] local.INFO: Packet analysis {"connection_id":142469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:24:55] local.INFO: Extracted packet for processing {"connection_id":142469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:24:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:24:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":142469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:24:55] local.INFO: GPS data processed {"connection_id":142469,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:24:55] local.INFO: Acknowledgment sent {"connection_id":142469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:25:14] local.INFO: TCP Data received {"connection_id":143831,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:25:14] local.INFO: Processing buffer {"connection_id":143831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:25:14] local.INFO: Packet analysis {"connection_id":143831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:25:14] local.INFO: Extracted packet for processing {"connection_id":143831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:25:14] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:25:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:25:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":143831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:25:14] local.INFO: GPS data processed {"connection_id":143831,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:25:14] local.INFO: Acknowledgment sent {"connection_id":143831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:25:26] local.INFO: TCP Data received {"connection_id":142469,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:25:26] local.INFO: Processing buffer {"connection_id":142469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:25:26] local.INFO: Packet analysis {"connection_id":142469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:25:26] local.INFO: Extracted packet for processing {"connection_id":142469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:25:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":142469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:25:26] local.INFO: GPS data processed {"connection_id":142469,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:25:26] local.INFO: Acknowledgment sent {"connection_id":142469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:25:37] local.INFO: TCP Data received {"connection_id":141487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:37] local.INFO: Processing buffer {"connection_id":141487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:37] local.INFO: IMEI packet received {"connection_id":141487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":141487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:25:42] local.INFO: TCP Data received {"connection_id":141487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:42] local.INFO: Processing buffer {"connection_id":141487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:42] local.INFO: IMEI packet received {"connection_id":141487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":141487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:25:47] local.INFO: TCP Data received {"connection_id":141487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:47] local.INFO: Processing buffer {"connection_id":141487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:25:47] local.INFO: IMEI packet received {"connection_id":141487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":141487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:25:48] local.INFO: TCP Data received {"connection_id":141487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:25:48] local.INFO: Processing buffer {"connection_id":141487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:25:48] local.INFO: Packet analysis {"connection_id":141487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:25:48] local.INFO: Extracted packet for processing {"connection_id":141487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:25:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:25:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:25:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":141487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:25:48] local.INFO: GPS data processed {"connection_id":141487,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:25:48] local.INFO: Acknowledgment sent {"connection_id":141487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:25:54] local.INFO: TCP Data received {"connection_id":141420,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:25:54] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:25:54] local.INFO: IMEI packet received {"connection_id":141420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":141420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:25:59] local.INFO: TCP Data received {"connection_id":141420,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:25:59] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:25:59] local.INFO: IMEI packet received {"connection_id":141420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":141420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:26:00] local.INFO: TCP Data received {"connection_id":141420,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:00] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:00] local.INFO: Packet analysis {"connection_id":141420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:00] local.INFO: Extracted packet for processing {"connection_id":141420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:26: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-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:26:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":141420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:26:00] local.INFO: GPS data processed {"connection_id":141420,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:26:00] local.INFO: Acknowledgment sent {"connection_id":141420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:26:05] local.INFO: TCP Data received {"connection_id":141420,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:05] local.INFO: Processing buffer {"connection_id":141420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:05] local.INFO: Packet analysis {"connection_id":141420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:05] local.INFO: Extracted packet for processing {"connection_id":141420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:05] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":141420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":141420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":141420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:26:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":141420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:26:05] local.INFO: GPS data processed {"connection_id":141420,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:26:05] local.INFO: Acknowledgment sent {"connection_id":141420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:26:19] local.INFO: TCP Data received {"connection_id":141487,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:26:19] local.INFO: Processing buffer {"connection_id":141487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:26:19] local.INFO: Packet analysis {"connection_id":141487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:26:19] local.INFO: Extracted packet for processing {"connection_id":141487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:26:19] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":141487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":141487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":141487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:26:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":141487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:26:19] local.INFO: GPS data processed {"connection_id":141487,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:26:19] local.INFO: Acknowledgment sent {"connection_id":141487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:26:37] local.INFO: TCP Data received {"connection_id":143832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:26:37] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:26:37] local.INFO: IMEI packet received {"connection_id":143832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":143832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:26:41] local.INFO: TCP Data received {"connection_id":143832,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:26:41] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:26:41] local.INFO: IMEI packet received {"connection_id":143832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":143832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:26:42] local.INFO: TCP Data received {"connection_id":143832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:26:42] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:26:42] local.INFO: Packet analysis {"connection_id":143832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:26:42] local.INFO: Extracted packet for processing {"connection_id":143832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:26:42] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:26:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:26:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":143832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:26:42] local.INFO: GPS data processed {"connection_id":143832,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:26:42] local.INFO: Acknowledgment sent {"connection_id":143832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:26:49] local.INFO: TCP Data received {"connection_id":141488,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:26:49] local.INFO: Processing buffer {"connection_id":141488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:26:49] local.INFO: IMEI packet received {"connection_id":141488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":141488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:26:54] local.INFO: TCP Data received {"connection_id":141488,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:26:54] local.INFO: Processing buffer {"connection_id":141488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:26:54] local.INFO: IMEI packet received {"connection_id":141488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":141488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:26:55] local.INFO: TCP Data received {"connection_id":141488,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:55] local.INFO: Processing buffer {"connection_id":141488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:55] local.INFO: Packet analysis {"connection_id":141488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:55] local.INFO: Extracted packet for processing {"connection_id":141488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:26:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":141488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:26:55] local.INFO: GPS data processed {"connection_id":141488,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:26:55] local.INFO: Acknowledgment sent {"connection_id":141488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:26:59] local.INFO: TCP Data received {"connection_id":141488,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:59] local.INFO: Processing buffer {"connection_id":141488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a673190012d77a94005f27b900013016323..."} 
[2026-07-25 23:26:59] local.INFO: Packet analysis {"connection_id":141488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:59] local.INFO: Extracted packet for processing {"connection_id":141488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a67"} 
[2026-07-25 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960404736001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785001882000,"timestamp_ms":1785001882000,"timestamp_seconds":1785001882,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a673190"} 
[2026-07-25 23:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960404736001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960404736001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960404736001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":141488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:26:59] local.INFO: GPS data processed {"connection_id":141488,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:26:59] local.INFO: Acknowledgment sent {"connection_id":141488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:27:13] local.INFO: TCP Data received {"connection_id":143832,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:13] local.INFO: Processing buffer {"connection_id":143832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:13] local.INFO: Packet analysis {"connection_id":143832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:27:13] local.INFO: Extracted packet for processing {"connection_id":143832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:27:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":143832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:27:13] local.INFO: GPS data processed {"connection_id":143832,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:27:13] local.INFO: Acknowledgment sent {"connection_id":143832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:27:31] local.INFO: TCP Data received {"connection_id":141488,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:27:31] local.INFO: Processing buffer {"connection_id":141488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:27:31] local.INFO: Packet analysis {"connection_id":141488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:27:31] local.INFO: Extracted packet for processing {"connection_id":141488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:27:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":141488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":141488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":141488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:27:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":141488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:27:31] local.INFO: GPS data processed {"connection_id":141488,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:27:31] local.INFO: Acknowledgment sent {"connection_id":141488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:27:42] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:27:42] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:27:42] local.INFO: IMEI packet received {"connection_id":141421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":141421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:27:47] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:27:47] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:27:47] local.INFO: IMEI packet received {"connection_id":141421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":141421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:27:48] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:48] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:48] local.INFO: Packet analysis {"connection_id":141421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:27:48] local.INFO: Extracted packet for processing {"connection_id":141421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:27:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":141421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:27:48] local.INFO: GPS data processed {"connection_id":141421,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:27:48] local.INFO: Acknowledgment sent {"connection_id":141421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:27:48] local.INFO: TCP Data received {"connection_id":141489,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:27:48] local.INFO: Processing buffer {"connection_id":141489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:27:48] local.INFO: IMEI packet received {"connection_id":141489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":141489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:27:52] local.INFO: TCP Data received {"connection_id":141421,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:52] local.INFO: Processing buffer {"connection_id":141421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a68b060012d7faa4005afde48000e000529..."} 
[2026-07-25 23:27:52] local.INFO: Packet analysis {"connection_id":141421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:27:52] local.INFO: Extracted packet for processing {"connection_id":141421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a68"} 
[2026-07-25 23:27:52] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95411784,"longitude_deg":76.3341376,"latitude_deg":9.5411784,"altitude":14,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afde48","is_valid_coordinates":true} 
[2026-07-25 23:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960429824001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785001980000,"timestamp_ms":1785001980000,"timestamp_seconds":1785001980,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a68b060"} 
[2026-07-25 23:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-25 23:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960429824001,"66":25625,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960429824001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:27:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960429824001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":141421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:27:52] local.INFO: GPS data processed {"connection_id":141421,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:27:52] local.INFO: Acknowledgment sent {"connection_id":141421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:27:54] local.INFO: TCP Data received {"connection_id":141489,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:27:54] local.INFO: Processing buffer {"connection_id":141489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:27:54] local.INFO: IMEI packet received {"connection_id":141489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":141489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:27:55] local.INFO: TCP Data received {"connection_id":141489,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:27:55] local.INFO: Processing buffer {"connection_id":141489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:27:55] local.INFO: Packet analysis {"connection_id":141489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:27:55] local.INFO: Extracted packet for processing {"connection_id":141489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:27:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:27: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-07-25 23: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-07-25 23:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:27:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":141489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:27:55] local.INFO: GPS data processed {"connection_id":141489,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:27:55] local.INFO: Acknowledgment sent {"connection_id":141489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:28:26] local.INFO: TCP Data received {"connection_id":141489,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:28:26] local.INFO: Processing buffer {"connection_id":141489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:28:26] local.INFO: Packet analysis {"connection_id":141489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:28:26] local.INFO: Extracted packet for processing {"connection_id":141489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:28:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:28: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-07-25 23: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-07-25 23:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:28:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":141489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:28:26] local.INFO: GPS data processed {"connection_id":141489,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:28:26] local.INFO: Acknowledgment sent {"connection_id":141489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:28:37] local.INFO: TCP Data received {"connection_id":143833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:28:37] local.INFO: Processing buffer {"connection_id":143833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:28:37] local.INFO: IMEI packet received {"connection_id":143833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":143833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:28:38] local.INFO: TCP Data received {"connection_id":143833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:28:38] local.INFO: Processing buffer {"connection_id":143833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:28:38] local.INFO: IMEI packet received {"connection_id":143833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":143833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:28:40] local.INFO: TCP Data received {"connection_id":143833,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:28:40] local.INFO: Processing buffer {"connection_id":143833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:28:40] local.INFO: Packet analysis {"connection_id":143833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:28:40] local.INFO: Extracted packet for processing {"connection_id":143833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:28:40] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":143833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":143833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":143833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:28:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:28:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":143833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:28:40] local.INFO: GPS data processed {"connection_id":143833,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:28:40] local.INFO: Acknowledgment sent {"connection_id":143833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:28:48] local.INFO: TCP Data received {"connection_id":141422,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:28:48] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:28:48] local.INFO: IMEI packet received {"connection_id":141422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":141422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:28:54] local.INFO: TCP Data received {"connection_id":141422,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:28:54] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:28:54] local.INFO: IMEI packet received {"connection_id":141422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":141422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:28:55] local.INFO: TCP Data received {"connection_id":141422,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:28:55] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:28:55] local.INFO: Packet analysis {"connection_id":141422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:28:55] local.INFO: Extracted packet for processing {"connection_id":141422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:28:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:28: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-07-25 23: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-07-25 23:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":141422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:28:55] local.INFO: GPS data processed {"connection_id":141422,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:28:55] local.INFO: Acknowledgment sent {"connection_id":141422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:29:11] local.INFO: TCP Data received {"connection_id":143833,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:11] local.INFO: Processing buffer {"connection_id":143833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:11] local.INFO: Packet analysis {"connection_id":143833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:29:11] local.INFO: Extracted packet for processing {"connection_id":143833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:29:11] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":143833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":143833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":143833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:29:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:29:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":143833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:29:11] local.INFO: GPS data processed {"connection_id":143833,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:29:11] local.INFO: Acknowledgment sent {"connection_id":143833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:29:26] local.INFO: TCP Data received {"connection_id":141422,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:29:26] local.INFO: Processing buffer {"connection_id":141422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:29:26] local.INFO: Packet analysis {"connection_id":141422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:29:26] local.INFO: Extracted packet for processing {"connection_id":141422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:29: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-07-25 23: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-07-25 23:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:29:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":141422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:29:26] local.INFO: GPS data processed {"connection_id":141422,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:29:26] local.INFO: Acknowledgment sent {"connection_id":141422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:29:42] local.INFO: TCP Data received {"connection_id":141490,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:29:42] local.INFO: Processing buffer {"connection_id":141490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:29:42] local.INFO: IMEI packet received {"connection_id":141490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":141490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:29:47] local.INFO: TCP Data received {"connection_id":141490,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:29:47] local.INFO: Processing buffer {"connection_id":141490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:29:47] local.INFO: IMEI packet received {"connection_id":141490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":141490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:29:48] local.INFO: TCP Data received {"connection_id":141490,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:48] local.INFO: Processing buffer {"connection_id":141490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:48] local.INFO: Packet analysis {"connection_id":141490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:29:48] local.INFO: Extracted packet for processing {"connection_id":141490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:29:48] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:29:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:29:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":141490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:29:48] local.INFO: GPS data processed {"connection_id":141490,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:29:48] local.INFO: Acknowledgment sent {"connection_id":141490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:29:52] local.INFO: TCP Data received {"connection_id":141490,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:52] local.INFO: Processing buffer {"connection_id":141490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:29:52] local.INFO: Packet analysis {"connection_id":141490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:29:52] local.INFO: Extracted packet for processing {"connection_id":141490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:29:52] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:29: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-07-25 23:29: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-07-25 23:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:29:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":141490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:29:52] local.INFO: GPS data processed {"connection_id":141490,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:29:52] local.INFO: Acknowledgment sent {"connection_id":141490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:29:54] local.INFO: TCP Data received {"connection_id":143834,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:29:54] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:29:54] local.INFO: IMEI packet received {"connection_id":143834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":143834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:29:59] local.INFO: TCP Data received {"connection_id":143834,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:29:59] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:29:59] local.INFO: IMEI packet received {"connection_id":143834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":143834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:30:00] local.INFO: TCP Data received {"connection_id":143834,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:00] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:00] local.INFO: Packet analysis {"connection_id":143834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:30:00] local.INFO: Extracted packet for processing {"connection_id":143834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:30:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23: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-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":143834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":143834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":143834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:30:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":143834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:30:00] local.INFO: GPS data processed {"connection_id":143834,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:30:00] local.INFO: Acknowledgment sent {"connection_id":143834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:30:31] local.INFO: TCP Data received {"connection_id":143834,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:31] local.INFO: Processing buffer {"connection_id":143834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:31] local.INFO: Packet analysis {"connection_id":143834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:30:31] local.INFO: Extracted packet for processing {"connection_id":143834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:30:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":143834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":143834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":143834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:30:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":143834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:30:31] local.INFO: GPS data processed {"connection_id":143834,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:30:31] local.INFO: Acknowledgment sent {"connection_id":143834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:30:37] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:30:37] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:30:37] local.INFO: IMEI packet received {"connection_id":142470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":142470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:30:42] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:30:42] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:30:42] local.INFO: IMEI packet received {"connection_id":142470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":142470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:30:43] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:30:43] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:30:43] local.INFO: Packet analysis {"connection_id":142470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:30:43] local.INFO: Extracted packet for processing {"connection_id":142470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:30:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:30:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":142470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:30:43] local.INFO: GPS data processed {"connection_id":142470,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:30:43] local.INFO: Acknowledgment sent {"connection_id":142470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:30:48] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:30:48] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:30:48] local.INFO: IMEI packet received {"connection_id":141423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":141423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:30:54] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:30:54] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:30:54] local.INFO: IMEI packet received {"connection_id":141423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":141423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:30:55] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:55] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:30:55] local.INFO: Packet analysis {"connection_id":141423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:30:55] local.INFO: Extracted packet for processing {"connection_id":141423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:30: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-07-25 23:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":141423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:30:55] local.INFO: GPS data processed {"connection_id":141423,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:30:55] local.INFO: Acknowledgment sent {"connection_id":141423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:31:15] local.INFO: TCP Data received {"connection_id":142470,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:31:15] local.INFO: Processing buffer {"connection_id":142470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:31:15] local.INFO: Packet analysis {"connection_id":142470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:31:15] local.INFO: Extracted packet for processing {"connection_id":142470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":142470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":142470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:31:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":142470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:31:15] local.INFO: GPS data processed {"connection_id":142470,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:31:15] local.INFO: Acknowledgment sent {"connection_id":142470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:31:26] local.INFO: TCP Data received {"connection_id":141423,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:31:26] local.INFO: Processing buffer {"connection_id":141423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:31:26] local.INFO: Packet analysis {"connection_id":141423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:31:26] local.INFO: Extracted packet for processing {"connection_id":141423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:31: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-07-25 23:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:31:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":141423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:31:26] local.INFO: GPS data processed {"connection_id":141423,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:31:26] local.INFO: Acknowledgment sent {"connection_id":141423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:31:37] local.INFO: TCP Data received {"connection_id":143835,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:31:37] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:31:37] local.INFO: IMEI packet received {"connection_id":143835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":143835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:31:42] local.INFO: TCP Data received {"connection_id":143835,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:31:42] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:31:42] local.INFO: IMEI packet received {"connection_id":143835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":143835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:31:43] local.INFO: TCP Data received {"connection_id":143835,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:31:43] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:31:43] local.INFO: Packet analysis {"connection_id":143835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:31:43] local.INFO: Extracted packet for processing {"connection_id":143835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:31:43] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:31:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:31:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":143835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:31:43] local.INFO: GPS data processed {"connection_id":143835,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:31:43] local.INFO: Acknowledgment sent {"connection_id":143835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:31:48] local.INFO: TCP Data received {"connection_id":141491,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:31:48] local.INFO: Processing buffer {"connection_id":141491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:31:48] local.INFO: IMEI packet received {"connection_id":141491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":141491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:31:54] local.INFO: TCP Data received {"connection_id":141491,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:31:54] local.INFO: Processing buffer {"connection_id":141491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:31:54] local.INFO: IMEI packet received {"connection_id":141491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":141491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:31:55] local.INFO: TCP Data received {"connection_id":141491,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:31:55] local.INFO: Processing buffer {"connection_id":141491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6bc958012d77a94005f27b900013016323..."} 
[2026-07-25 23:31:55] local.INFO: Packet analysis {"connection_id":141491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:31:55] local.INFO: Extracted packet for processing {"connection_id":141491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6b"} 
[2026-07-25 23:31:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960481792001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002183000,"timestamp_ms":1785002183000,"timestamp_seconds":1785002183,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6bc958"} 
[2026-07-25 23:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:31: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-07-25 23: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-07-25 23:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960481792001,"66":25495,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960481792001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:31:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960481792001,"power":25495,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":141491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:31:55] local.INFO: GPS data processed {"connection_id":141491,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:31:55] local.INFO: Acknowledgment sent {"connection_id":141491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:32:14] local.INFO: TCP Data received {"connection_id":143835,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:32:14] local.INFO: Processing buffer {"connection_id":143835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:32:14] local.INFO: Packet analysis {"connection_id":143835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:32:14] local.INFO: Extracted packet for processing {"connection_id":143835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:32:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:32:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":143835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:32:14] local.INFO: GPS data processed {"connection_id":143835,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:32:14] local.INFO: Acknowledgment sent {"connection_id":143835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:32:26] local.INFO: TCP Data received {"connection_id":141491,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:32:26] local.INFO: Processing buffer {"connection_id":141491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:32:26] local.INFO: Packet analysis {"connection_id":141491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:32:26] local.INFO: Extracted packet for processing {"connection_id":141491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:32:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:32: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-07-25 23:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:32:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":141491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:32:26] local.INFO: GPS data processed {"connection_id":141491,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:32:26] local.INFO: Acknowledgment sent {"connection_id":141491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:32:37] local.INFO: TCP Data received {"connection_id":141492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:32:37] local.INFO: Processing buffer {"connection_id":141492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:32:37] local.INFO: IMEI packet received {"connection_id":141492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":141492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:32:42] local.INFO: TCP Data received {"connection_id":141492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:32:42] local.INFO: Processing buffer {"connection_id":141492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:32:42] local.INFO: IMEI packet received {"connection_id":141492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":141492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:32:43] local.INFO: TCP Data received {"connection_id":141492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:32:43] local.INFO: Processing buffer {"connection_id":141492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:32:43] local.INFO: Packet analysis {"connection_id":141492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:32:43] local.INFO: Extracted packet for processing {"connection_id":141492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:32:43] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:32:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:32:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":141492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:32:43] local.INFO: GPS data processed {"connection_id":141492,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:32:43] local.INFO: Acknowledgment sent {"connection_id":141492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:32:49] local.INFO: TCP Data received {"connection_id":143836,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:32:49] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:32:49] local.INFO: IMEI packet received {"connection_id":143836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":143836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:32:54] local.INFO: TCP Data received {"connection_id":143836,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:32:54] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:32:54] local.INFO: IMEI packet received {"connection_id":143836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":143836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:32:55] local.INFO: TCP Data received {"connection_id":143836,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:32:55] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:32:55] local.INFO: Packet analysis {"connection_id":143836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:32:55] local.INFO: Extracted packet for processing {"connection_id":143836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:32: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-07-25 23:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:32:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":143836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:32:55] local.INFO: GPS data processed {"connection_id":143836,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:32:55] local.INFO: Acknowledgment sent {"connection_id":143836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:33:14] local.INFO: TCP Data received {"connection_id":141492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:33:14] local.INFO: Processing buffer {"connection_id":141492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a6d4828012d7fa88005afde30000d00052a..."} 
[2026-07-25 23:33:14] local.INFO: Packet analysis {"connection_id":141492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:33:14] local.INFO: Extracted packet for processing {"connection_id":141492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a6d"} 
[2026-07-25 23:33:14] local.INFO: GPS Element Parsed {"raw_longitude":763340928,"raw_latitude":95411760,"longitude_deg":76.3340928,"latitude_deg":9.541176,"altitude":13,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa880","hex_latitude":"05afde30","is_valid_coordinates":true} 
[2026-07-25 23:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960506880001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027253760,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002281000,"timestamp_ms":1785002281000,"timestamp_seconds":1785002281,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a6d4828"} 
[2026-07-25 23:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-25 23:33:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960506880001,"66":25647,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9199235582027253760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960506880001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:33:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:33:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027253760,"description":"Unknown IO ID 45"} 
[2026-07-25 23:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960506880001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027253760}} 
[2026-07-25 23:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":141492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:33:14] local.INFO: GPS data processed {"connection_id":141492,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:33:14] local.INFO: Acknowledgment sent {"connection_id":141492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:33:26] local.INFO: TCP Data received {"connection_id":143836,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:33:26] local.INFO: Processing buffer {"connection_id":143836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:33:26] local.INFO: Packet analysis {"connection_id":143836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:33:26] local.INFO: Extracted packet for processing {"connection_id":143836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:33: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-07-25 23:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:33:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":143836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:33:26] local.INFO: GPS data processed {"connection_id":143836,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:33:26] local.INFO: Acknowledgment sent {"connection_id":143836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:33:36] local.INFO: TCP Data received {"connection_id":142471,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:36] local.INFO: Processing buffer {"connection_id":142471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:36] local.INFO: IMEI packet received {"connection_id":142471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":142471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:33:40] local.INFO: TCP Data received {"connection_id":142471,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:40] local.INFO: Processing buffer {"connection_id":142471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:40] local.INFO: IMEI packet received {"connection_id":142471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":142471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:33:41] local.INFO: TCP Data received {"connection_id":142471,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:41] local.INFO: Processing buffer {"connection_id":142471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:33:41] local.INFO: IMEI packet received {"connection_id":142471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":142471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:33:43] local.INFO: TCP Data received {"connection_id":142471,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:33:43] local.INFO: Processing buffer {"connection_id":142471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:33:43] local.INFO: Packet analysis {"connection_id":142471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:33:43] local.INFO: Extracted packet for processing {"connection_id":142471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:33:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":142471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:33:43] local.INFO: GPS data processed {"connection_id":142471,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:33:43] local.INFO: Acknowledgment sent {"connection_id":142471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:33:48] local.INFO: TCP Data received {"connection_id":141424,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:33:48] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:33:48] local.INFO: IMEI packet received {"connection_id":141424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":141424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:33:54] local.INFO: TCP Data received {"connection_id":141424,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:33:54] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:33:54] local.INFO: IMEI packet received {"connection_id":141424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":141424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:33:55] local.INFO: TCP Data received {"connection_id":141424,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:33:55] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:33:55] local.INFO: Packet analysis {"connection_id":141424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:33:55] local.INFO: Extracted packet for processing {"connection_id":141424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:33: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-07-25 23: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-07-25 23:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":141424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:33:55] local.INFO: GPS data processed {"connection_id":141424,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:33:55] local.INFO: Acknowledgment sent {"connection_id":141424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:34:14] local.INFO: TCP Data received {"connection_id":142471,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:34:14] local.INFO: Processing buffer {"connection_id":142471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:34:14] local.INFO: Packet analysis {"connection_id":142471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:34:14] local.INFO: Extracted packet for processing {"connection_id":142471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:34:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:34:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:34:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:34:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":142471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:34:14] local.INFO: GPS data processed {"connection_id":142471,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:34:14] local.INFO: Acknowledgment sent {"connection_id":142471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:34:26] local.INFO: TCP Data received {"connection_id":141424,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:34:26] local.INFO: Processing buffer {"connection_id":141424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:34:26] local.INFO: Packet analysis {"connection_id":141424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:34:26] local.INFO: Extracted packet for processing {"connection_id":141424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:34:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:34: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-07-25 23:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:34:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":141424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:34:26] local.INFO: GPS data processed {"connection_id":141424,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:34:26] local.INFO: Acknowledgment sent {"connection_id":141424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:34:37] local.INFO: TCP Data received {"connection_id":141425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:34:37] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:34:37] local.INFO: IMEI packet received {"connection_id":141425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":141425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:34:42] local.INFO: TCP Data received {"connection_id":141425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:34:42] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:34:42] local.INFO: IMEI packet received {"connection_id":141425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":141425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:34:43] local.INFO: TCP Data received {"connection_id":141425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:34:43] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:34:43] local.INFO: Packet analysis {"connection_id":141425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:34:43] local.INFO: Extracted packet for processing {"connection_id":141425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:34:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:34:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":141425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:34:43] local.INFO: GPS data processed {"connection_id":141425,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:34:43] local.INFO: Acknowledgment sent {"connection_id":141425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:34:53] local.INFO: TCP Data received {"connection_id":142472,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:53] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:53] local.INFO: IMEI packet received {"connection_id":142472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":142472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:34:53] local.INFO: TCP Data received {"connection_id":142472,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:53] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:53] local.INFO: IMEI packet received {"connection_id":142472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":142472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:34:59] local.INFO: TCP Data received {"connection_id":142472,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:59] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:34:59] local.INFO: IMEI packet received {"connection_id":142472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":142472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:35:00] local.INFO: TCP Data received {"connection_id":142472,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:00] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:00] local.INFO: Packet analysis {"connection_id":142472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:35:00] local.INFO: Extracted packet for processing {"connection_id":142472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:35:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:35: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-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:35:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":142472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:35:00] local.INFO: GPS data processed {"connection_id":142472,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:35:00] local.INFO: Acknowledgment sent {"connection_id":142472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:35:14] local.INFO: TCP Data received {"connection_id":141425,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:35:14] local.INFO: Processing buffer {"connection_id":141425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:35:14] local.INFO: Packet analysis {"connection_id":141425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:35:14] local.INFO: Extracted packet for processing {"connection_id":141425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:35:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:35:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":141425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:35:14] local.INFO: GPS data processed {"connection_id":141425,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:35:14] local.INFO: Acknowledgment sent {"connection_id":141425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:35:31] local.INFO: TCP Data received {"connection_id":142472,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:31] local.INFO: Processing buffer {"connection_id":142472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:31] local.INFO: Packet analysis {"connection_id":142472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:35:31] local.INFO: Extracted packet for processing {"connection_id":142472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:35:31] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":142472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":142472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":142472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:35:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":142472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:35:31] local.INFO: GPS data processed {"connection_id":142472,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:35:31] local.INFO: Acknowledgment sent {"connection_id":142472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:35:36] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:35:36] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:35:36] local.INFO: IMEI packet received {"connection_id":141426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":141426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:35:42] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:35:42] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:35:42] local.INFO: IMEI packet received {"connection_id":141426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":141426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:35:45] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:35:45] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:35:45] local.INFO: Packet analysis {"connection_id":141426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:35:45] local.INFO: Extracted packet for processing {"connection_id":141426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:35:45] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":141426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":141426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:35:45] local.INFO: GPS data processed {"connection_id":141426,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:35:45] local.INFO: Acknowledgment sent {"connection_id":141426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:35:48] local.INFO: TCP Data received {"connection_id":143837,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:35:48] local.INFO: Processing buffer {"connection_id":143837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:35:48] local.INFO: IMEI packet received {"connection_id":143837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":143837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:35:54] local.INFO: TCP Data received {"connection_id":143837,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:35:54] local.INFO: Processing buffer {"connection_id":143837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:35:54] local.INFO: IMEI packet received {"connection_id":143837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":143837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:35:55] local.INFO: TCP Data received {"connection_id":143837,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:55] local.INFO: Processing buffer {"connection_id":143837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:35:55] local.INFO: Packet analysis {"connection_id":143837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:35:55] local.INFO: Extracted packet for processing {"connection_id":143837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:35:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:35: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-07-25 23:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:35:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":143837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:35:55] local.INFO: GPS data processed {"connection_id":143837,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:35:55] local.INFO: Acknowledgment sent {"connection_id":143837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:36:16] local.INFO: TCP Data received {"connection_id":141426,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:16] local.INFO: Processing buffer {"connection_id":141426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:16] local.INFO: Packet analysis {"connection_id":141426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:16] local.INFO: Extracted packet for processing {"connection_id":141426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:16] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":141426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":141426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":141426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:36:16] local.INFO: GPS data processed {"connection_id":141426,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:36:16] local.INFO: Acknowledgment sent {"connection_id":141426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:36:26] local.INFO: TCP Data received {"connection_id":143837,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:36:26] local.INFO: Processing buffer {"connection_id":143837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:36:26] local.INFO: Packet analysis {"connection_id":143837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:36:26] local.INFO: Extracted packet for processing {"connection_id":143837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:36:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:36: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-07-25 23: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-07-25 23:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:36:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":143837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:36:26] local.INFO: GPS data processed {"connection_id":143837,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:36:26] local.INFO: Acknowledgment sent {"connection_id":143837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:36:42] local.INFO: TCP Data received {"connection_id":141493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:36:42] local.INFO: Processing buffer {"connection_id":141493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:36:42] local.INFO: IMEI packet received {"connection_id":141493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":141493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:36:47] local.INFO: TCP Data received {"connection_id":141493,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:36:47] local.INFO: Processing buffer {"connection_id":141493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:36:47] local.INFO: IMEI packet received {"connection_id":141493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":141493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:36:48] local.INFO: TCP Data received {"connection_id":141493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:48] local.INFO: Processing buffer {"connection_id":141493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:48] local.INFO: Packet analysis {"connection_id":141493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:48] local.INFO: Extracted packet for processing {"connection_id":141493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:48] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:36:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:36:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":141493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:36:48] local.INFO: GPS data processed {"connection_id":141493,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:36:48] local.INFO: Acknowledgment sent {"connection_id":141493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:36:52] local.INFO: TCP Data received {"connection_id":141493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:52] local.INFO: Processing buffer {"connection_id":141493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:52] local.INFO: Packet analysis {"connection_id":141493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:52] local.INFO: Extracted packet for processing {"connection_id":141493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:52] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:36: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":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:36:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":141493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:36:52] local.INFO: GPS data processed {"connection_id":141493,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:36:52] local.INFO: Acknowledgment sent {"connection_id":141493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:36:54] local.INFO: TCP Data received {"connection_id":141494,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:36:54] local.INFO: Processing buffer {"connection_id":141494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:36:54] local.INFO: IMEI packet received {"connection_id":141494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":141494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:36:57] local.INFO: TCP Data received {"connection_id":141493,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:57] local.INFO: Processing buffer {"connection_id":141493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:36:57] local.INFO: Packet analysis {"connection_id":141493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:57] local.INFO: Extracted packet for processing {"connection_id":141493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:36: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-07-25 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:36: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-07-25 23:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":141493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":141493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":141493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:36:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":141493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:36:57] local.INFO: GPS data processed {"connection_id":141493,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:36:57] local.INFO: Acknowledgment sent {"connection_id":141493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:36:59] local.INFO: TCP Data received {"connection_id":141494,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:36:59] local.INFO: Processing buffer {"connection_id":141494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:36:59] local.INFO: IMEI packet received {"connection_id":141494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":141494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:37:00] local.INFO: TCP Data received {"connection_id":141494,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:00] local.INFO: Processing buffer {"connection_id":141494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a706120012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:00] local.INFO: Packet analysis {"connection_id":141494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:37:00] local.INFO: Extracted packet for processing {"connection_id":141494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a70"} 
[2026-07-25 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960558848001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785002484000,"timestamp_ms":1785002484000,"timestamp_seconds":1785002484,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a706120"} 
[2026-07-25 23:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:37: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-07-25 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960558848001,"66":25462,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960558848001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:37:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960558848001,"power":25462,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":141494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:37:00] local.INFO: GPS data processed {"connection_id":141494,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:37:00] local.INFO: Acknowledgment sent {"connection_id":141494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:37:03] local.INFO: TCP Data received {"connection_id":141494,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:03] local.INFO: Processing buffer {"connection_id":141494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:03] local.INFO: Packet analysis {"connection_id":141494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:37:03] local.INFO: Extracted packet for processing {"connection_id":141494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":141494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":141494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":141494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:37:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":141494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:37:03] local.INFO: GPS data processed {"connection_id":141494,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:37:03] local.INFO: Acknowledgment sent {"connection_id":141494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:37:34] local.INFO: TCP Data received {"connection_id":141494,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:34] local.INFO: Processing buffer {"connection_id":141494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:34] local.INFO: Packet analysis {"connection_id":141494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:37:34] local.INFO: Extracted packet for processing {"connection_id":141494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:37:34] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":141494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":141494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":141494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:37:34] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":141494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:37:34] local.INFO: GPS data processed {"connection_id":141494,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:37:34] local.INFO: Acknowledgment sent {"connection_id":141494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:37:37] local.INFO: TCP Data received {"connection_id":141495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:37:37] local.INFO: Processing buffer {"connection_id":141495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:37:37] local.INFO: IMEI packet received {"connection_id":141495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":141495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:37:42] local.INFO: TCP Data received {"connection_id":141495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:37:42] local.INFO: Processing buffer {"connection_id":141495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:37:42] local.INFO: IMEI packet received {"connection_id":141495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":141495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:37:43] local.INFO: TCP Data received {"connection_id":141495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:37:43] local.INFO: Processing buffer {"connection_id":141495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:37:43] local.INFO: Packet analysis {"connection_id":141495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:37:43] local.INFO: Extracted packet for processing {"connection_id":141495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:37:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:37:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":141495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:37:43] local.INFO: GPS data processed {"connection_id":141495,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:37:43] local.INFO: Acknowledgment sent {"connection_id":141495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:37:48] local.INFO: TCP Data received {"connection_id":142473,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:37:48] local.INFO: Processing buffer {"connection_id":142473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:37:48] local.INFO: IMEI packet received {"connection_id":142473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":142473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:37:54] local.INFO: TCP Data received {"connection_id":142473,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:37:54] local.INFO: Processing buffer {"connection_id":142473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:37:54] local.INFO: IMEI packet received {"connection_id":142473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":142473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:37:55] local.INFO: TCP Data received {"connection_id":142473,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:55] local.INFO: Processing buffer {"connection_id":142473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:37:55] local.INFO: Packet analysis {"connection_id":142473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:37:55] local.INFO: Extracted packet for processing {"connection_id":142473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:37:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:37: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-07-25 23:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:37:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":142473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:37:55] local.INFO: GPS data processed {"connection_id":142473,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:37:55] local.INFO: Acknowledgment sent {"connection_id":142473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:38:14] local.INFO: TCP Data received {"connection_id":141495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:38:14] local.INFO: Processing buffer {"connection_id":141495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a71dff0012d7fa64005afde10000d000528..."} 
[2026-07-25 23:38:14] local.INFO: Packet analysis {"connection_id":141495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:38:14] local.INFO: Extracted packet for processing {"connection_id":141495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a71"} 
[2026-07-25 23:38:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":13,"angle":5,"satellites":40,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960583936001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000818003968,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002582000,"timestamp_ms":1785002582000,"timestamp_seconds":1785002582,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a71dff0"} 
[2026-07-25 23:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-25 23:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960583936001,"66":25615,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198743000818003968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960583936001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:38:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:38:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000818003968,"description":"Unknown IO ID 45"} 
[2026-07-25 23:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960583936001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000818003968}} 
[2026-07-25 23:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":141495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:38:14] local.INFO: GPS data processed {"connection_id":141495,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:38:14] local.INFO: Acknowledgment sent {"connection_id":141495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:38:26] local.INFO: TCP Data received {"connection_id":142473,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:38:26] local.INFO: Processing buffer {"connection_id":142473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:38:26] local.INFO: Packet analysis {"connection_id":142473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:38:26] local.INFO: Extracted packet for processing {"connection_id":142473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:38:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":142473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:38:26] local.INFO: GPS data processed {"connection_id":142473,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:38:26] local.INFO: Acknowledgment sent {"connection_id":142473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:38:37] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:38:37] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:38:37] local.INFO: IMEI packet received {"connection_id":141427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":141427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:38:41] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:38:41] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:38:41] local.INFO: IMEI packet received {"connection_id":141427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":141427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:38:42] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:38:42] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:38:42] local.INFO: Packet analysis {"connection_id":141427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:38:42] local.INFO: Extracted packet for processing {"connection_id":141427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:38:42] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":141427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":141427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":141427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:38:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:38:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":141427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:38:42] local.INFO: GPS data processed {"connection_id":141427,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:38:42] local.INFO: Acknowledgment sent {"connection_id":141427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:38:48] local.INFO: TCP Data received {"connection_id":141496,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:38:48] local.INFO: Processing buffer {"connection_id":141496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:38:48] local.INFO: IMEI packet received {"connection_id":141496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":141496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:38:55] local.INFO: TCP Data received {"connection_id":141496,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:38:55] local.INFO: Processing buffer {"connection_id":141496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:38:55] local.INFO: IMEI packet received {"connection_id":141496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":141496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:38:55] local.INFO: TCP Data received {"connection_id":141496,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:38:55] local.INFO: Processing buffer {"connection_id":141496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:38:55] local.INFO: Packet analysis {"connection_id":141496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:38:55] local.INFO: Extracted packet for processing {"connection_id":141496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:38: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-07-25 23:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":141496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:38:55] local.INFO: GPS data processed {"connection_id":141496,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:38:55] local.INFO: Acknowledgment sent {"connection_id":141496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:39:13] local.INFO: TCP Data received {"connection_id":141427,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:39:13] local.INFO: Processing buffer {"connection_id":141427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:39:13] local.INFO: Packet analysis {"connection_id":141427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:39:13] local.INFO: Extracted packet for processing {"connection_id":141427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:39:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":141427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:39:13] local.INFO: GPS data processed {"connection_id":141427,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:39:13] local.INFO: Acknowledgment sent {"connection_id":141427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:39:27] local.INFO: TCP Data received {"connection_id":141496,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:39:27] local.INFO: Processing buffer {"connection_id":141496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:39:27] local.INFO: Packet analysis {"connection_id":141496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:39:27] local.INFO: Extracted packet for processing {"connection_id":141496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:39:27] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:39: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-07-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":141496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":141496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":141496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:39:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":141496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:39:27] local.INFO: GPS data processed {"connection_id":141496,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:39:27] local.INFO: Acknowledgment sent {"connection_id":141496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:39:36] local.INFO: TCP Data received {"connection_id":141497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:39:36] local.INFO: Processing buffer {"connection_id":141497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:39:36] local.INFO: IMEI packet received {"connection_id":141497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":141497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:39:42] local.INFO: TCP Data received {"connection_id":141497,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:39:42] local.INFO: Processing buffer {"connection_id":141497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:39:42] local.INFO: IMEI packet received {"connection_id":141497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":141497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:39:43] local.INFO: TCP Data received {"connection_id":141497,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:39:43] local.INFO: Processing buffer {"connection_id":141497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:39:43] local.INFO: Packet analysis {"connection_id":141497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:39:43] local.INFO: Extracted packet for processing {"connection_id":141497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:39:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:39:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":141497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:39:43] local.INFO: GPS data processed {"connection_id":141497,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:39:43] local.INFO: Acknowledgment sent {"connection_id":141497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:39:54] local.INFO: TCP Data received {"connection_id":143838,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:39:54] local.INFO: Processing buffer {"connection_id":143838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:39:54] local.INFO: IMEI packet received {"connection_id":143838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":143838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:39:59] local.INFO: TCP Data received {"connection_id":143838,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:39:59] local.INFO: Processing buffer {"connection_id":143838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:39:59] local.INFO: IMEI packet received {"connection_id":143838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":143838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:39:59] local.INFO: TCP Data received {"connection_id":143838,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:39:59] local.INFO: Processing buffer {"connection_id":143838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:39:59] local.INFO: Packet analysis {"connection_id":143838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:39:59] local.INFO: Extracted packet for processing {"connection_id":143838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":143838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":143838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":143838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":143838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:40:00] local.INFO: GPS data processed {"connection_id":143838,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:40:00] local.INFO: Acknowledgment sent {"connection_id":143838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:40:04] local.INFO: TCP Data received {"connection_id":143838,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:40:04] local.INFO: Processing buffer {"connection_id":143838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:40:04] local.INFO: Packet analysis {"connection_id":143838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:40:04] local.INFO: Extracted packet for processing {"connection_id":143838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":143838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":143838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":143838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:40:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":143838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:40:04] local.INFO: GPS data processed {"connection_id":143838,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:40:04] local.INFO: Acknowledgment sent {"connection_id":143838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:40:14] local.INFO: TCP Data received {"connection_id":141497,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:14] local.INFO: Processing buffer {"connection_id":141497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:14] local.INFO: Packet analysis {"connection_id":141497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:40:14] local.INFO: Extracted packet for processing {"connection_id":141497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:40:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:40:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:40:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":141497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:40:14] local.INFO: GPS data processed {"connection_id":141497,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:40:14] local.INFO: Acknowledgment sent {"connection_id":141497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:40:42] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:40:42] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:40:42] local.INFO: IMEI packet received {"connection_id":142474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":142474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:40:47] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:40:47] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:40:47] local.INFO: IMEI packet received {"connection_id":142474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":142474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:40:48] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:48] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:48] local.INFO: Packet analysis {"connection_id":142474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:40:48] local.INFO: Extracted packet for processing {"connection_id":142474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:40:48] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:40:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:40:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":142474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:40:48] local.INFO: GPS data processed {"connection_id":142474,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:40:48] local.INFO: Acknowledgment sent {"connection_id":142474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:40:49] local.INFO: TCP Data received {"connection_id":142475,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:40:49] local.INFO: Processing buffer {"connection_id":142475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:40:49] local.INFO: IMEI packet received {"connection_id":142475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":142475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:40:52] local.INFO: TCP Data received {"connection_id":142474,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:52] local.INFO: Processing buffer {"connection_id":142474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:40:52] local.INFO: Packet analysis {"connection_id":142474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:40:52] local.INFO: Extracted packet for processing {"connection_id":142474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:40:52] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:40: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-07-25 23:40: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":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:40:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":142474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:40:52] local.INFO: GPS data processed {"connection_id":142474,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:40:52] local.INFO: Acknowledgment sent {"connection_id":142474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:40:54] local.INFO: TCP Data received {"connection_id":142475,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:40:54] local.INFO: Processing buffer {"connection_id":142475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:40:54] local.INFO: IMEI packet received {"connection_id":142475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":142475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:40:55] local.INFO: TCP Data received {"connection_id":142475,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:40:55] local.INFO: Processing buffer {"connection_id":142475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:40:55] local.INFO: Packet analysis {"connection_id":142475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:40:55] local.INFO: Extracted packet for processing {"connection_id":142475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:40:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:40: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-07-25 23:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:40:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":142475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:40:55] local.INFO: GPS data processed {"connection_id":142475,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:40:55] local.INFO: Acknowledgment sent {"connection_id":142475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:41:26] local.INFO: TCP Data received {"connection_id":142475,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:41:26] local.INFO: Processing buffer {"connection_id":142475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:41:26] local.INFO: Packet analysis {"connection_id":142475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:41:26] local.INFO: Extracted packet for processing {"connection_id":142475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:41:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:41:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":142475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:41:26] local.INFO: GPS data processed {"connection_id":142475,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:41:26] local.INFO: Acknowledgment sent {"connection_id":142475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:41:37] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:41:37] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:41:37] local.INFO: IMEI packet received {"connection_id":142476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":142476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:41:42] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:41:42] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:41:42] local.INFO: IMEI packet received {"connection_id":142476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":142476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:41:43] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:41:43] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:41:43] local.INFO: Packet analysis {"connection_id":142476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:41:43] local.INFO: Extracted packet for processing {"connection_id":142476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:41:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":142476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:41:43] local.INFO: GPS data processed {"connection_id":142476,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:41:43] local.INFO: Acknowledgment sent {"connection_id":142476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:41:49] local.INFO: TCP Data received {"connection_id":143839,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:41:49] local.INFO: Processing buffer {"connection_id":143839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:41:49] local.INFO: IMEI packet received {"connection_id":143839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":143839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:41:54] local.INFO: TCP Data received {"connection_id":143839,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:41:54] local.INFO: Processing buffer {"connection_id":143839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:41:54] local.INFO: IMEI packet received {"connection_id":143839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":143839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:41:55] local.INFO: TCP Data received {"connection_id":143839,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:41:55] local.INFO: Processing buffer {"connection_id":143839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a74f8e8012d77a94005f27b900013016323..."} 
[2026-07-25 23:41:55] local.INFO: Packet analysis {"connection_id":143839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:41:55] local.INFO: Extracted packet for processing {"connection_id":143839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a74"} 
[2026-07-25 23:41:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960635904001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785002785000,"timestamp_ms":1785002785000,"timestamp_seconds":1785002785,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a74f8e8"} 
[2026-07-25 23:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":118,"data_length":795,"current_offset":136} 
[2026-07-25 23:41: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-07-25 23:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960635904001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960635904001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:41:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960635904001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":143839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:41:55] local.INFO: GPS data processed {"connection_id":143839,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:41:55] local.INFO: Acknowledgment sent {"connection_id":143839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:42:14] local.INFO: TCP Data received {"connection_id":142476,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:42:14] local.INFO: Processing buffer {"connection_id":142476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:42:14] local.INFO: Packet analysis {"connection_id":142476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:42:14] local.INFO: Extracted packet for processing {"connection_id":142476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:42:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:42:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":142476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:42:14] local.INFO: GPS data processed {"connection_id":142476,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:42:14] local.INFO: Acknowledgment sent {"connection_id":142476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:42:26] local.INFO: TCP Data received {"connection_id":143839,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:42:26] local.INFO: Processing buffer {"connection_id":143839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:42:26] local.INFO: Packet analysis {"connection_id":143839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:42:26] local.INFO: Extracted packet for processing {"connection_id":143839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:42:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:42:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":143839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:42:26] local.INFO: GPS data processed {"connection_id":143839,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:42:26] local.INFO: Acknowledgment sent {"connection_id":143839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:42:37] local.INFO: TCP Data received {"connection_id":141428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:37] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:37] local.INFO: IMEI packet received {"connection_id":141428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":141428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:42:42] local.INFO: TCP Data received {"connection_id":141428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:42] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:42] local.INFO: IMEI packet received {"connection_id":141428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":141428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:42:47] local.INFO: TCP Data received {"connection_id":141428,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:47] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:42:47] local.INFO: IMEI packet received {"connection_id":141428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":141428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:42:48] local.INFO: TCP Data received {"connection_id":141428,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:42:48] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:42:48] local.INFO: Packet analysis {"connection_id":141428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:42:48] local.INFO: Extracted packet for processing {"connection_id":141428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:42:48] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:42:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:42:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":141428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:42:48] local.INFO: GPS data processed {"connection_id":141428,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:42:48] local.INFO: Acknowledgment sent {"connection_id":141428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:42:48] local.INFO: TCP Data received {"connection_id":142477,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:42:48] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:42:48] local.INFO: IMEI packet received {"connection_id":142477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":142477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:42:54] local.INFO: TCP Data received {"connection_id":142477,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:42:54] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:42:54] local.INFO: IMEI packet received {"connection_id":142477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":142477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:42:55] local.INFO: TCP Data received {"connection_id":142477,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:42:55] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:42:55] local.INFO: Packet analysis {"connection_id":142477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:42:55] local.INFO: Extracted packet for processing {"connection_id":142477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:42:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:42:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":142477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:42:55] local.INFO: GPS data processed {"connection_id":142477,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:42:55] local.INFO: Acknowledgment sent {"connection_id":142477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:43:21] local.INFO: TCP Data received {"connection_id":141428,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:43:21] local.INFO: Processing buffer {"connection_id":141428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7677b8012d7fa64005afde100008000529..."} 
[2026-07-25 23:43:21] local.INFO: Packet analysis {"connection_id":141428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:43:21] local.INFO: Extracted packet for processing {"connection_id":141428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a76"} 
[2026-07-25 23:43:21] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":41,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960660992001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1785002883000,"timestamp_ms":1785002883000,"timestamp_seconds":1785002883,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7677b8"} 
[2026-07-25 23:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:43: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-07-25 23:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-25 23:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":141428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":141428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":141428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960660992001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960660992001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:43:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960660992001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":141428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:43:21] local.INFO: GPS data processed {"connection_id":141428,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:43:21] local.INFO: Acknowledgment sent {"connection_id":141428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:43:33] local.INFO: TCP Data received {"connection_id":142477,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:43:33] local.INFO: Processing buffer {"connection_id":142477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:43:33] local.INFO: Packet analysis {"connection_id":142477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:43:33] local.INFO: Extracted packet for processing {"connection_id":142477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:43:33] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:43: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-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":142477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":142477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":142477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:43:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":142477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:43:33] local.INFO: GPS data processed {"connection_id":142477,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:43:33] local.INFO: Acknowledgment sent {"connection_id":142477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:43:36] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:43:36] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:43:36] local.INFO: IMEI packet received {"connection_id":141429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":141429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:43:42] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:43:42] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:43:42] local.INFO: IMEI packet received {"connection_id":141429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":141429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:43:43] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:43:43] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:43:43] local.INFO: Packet analysis {"connection_id":141429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:43:43] local.INFO: Extracted packet for processing {"connection_id":141429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:43:43] 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-07-25 23:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:43:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":141429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:43:43] local.INFO: GPS data processed {"connection_id":141429,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:43:43] local.INFO: Acknowledgment sent {"connection_id":141429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:43:54] local.INFO: TCP Data received {"connection_id":141430,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:43:54] local.INFO: Processing buffer {"connection_id":141430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:43:54] local.INFO: IMEI packet received {"connection_id":141430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":141430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:43:59] local.INFO: TCP Data received {"connection_id":141430,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:43:59] local.INFO: Processing buffer {"connection_id":141430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:43:59] local.INFO: IMEI packet received {"connection_id":141430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":141430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:43:59] local.INFO: TCP Data received {"connection_id":141430,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:43:59] local.INFO: Processing buffer {"connection_id":141430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:43:59] local.INFO: Packet analysis {"connection_id":141430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:43:59] local.INFO: Extracted packet for processing {"connection_id":141430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:43:59] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":141430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":141430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":141430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:43:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":141430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:44:00] local.INFO: GPS data processed {"connection_id":141430,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:44:00] local.INFO: Acknowledgment sent {"connection_id":141430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:44:04] local.INFO: TCP Data received {"connection_id":141430,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:44:04] local.INFO: Processing buffer {"connection_id":141430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:44:04] local.INFO: Packet analysis {"connection_id":141430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:44:04] local.INFO: Extracted packet for processing {"connection_id":141430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:44:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":141430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:44:04] local.INFO: GPS data processed {"connection_id":141430,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:44:04] local.INFO: Acknowledgment sent {"connection_id":141430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:44:14] local.INFO: TCP Data received {"connection_id":141429,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:44:14] local.INFO: Processing buffer {"connection_id":141429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:44:14] local.INFO: Packet analysis {"connection_id":141429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:44:14] local.INFO: Extracted packet for processing {"connection_id":141429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:44:14] 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-07-25 23:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:44:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:44:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":141429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:44:14] local.INFO: GPS data processed {"connection_id":141429,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:44:14] local.INFO: Acknowledgment sent {"connection_id":141429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:44:36] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:44:36] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:44:36] local.INFO: IMEI packet received {"connection_id":143840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":143840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:44:42] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:44:42] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:44:42] local.INFO: IMEI packet received {"connection_id":143840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":143840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:44:43] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:44:43] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:44:43] local.INFO: Packet analysis {"connection_id":143840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:44:43] local.INFO: Extracted packet for processing {"connection_id":143840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:44:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:44:43] 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-07-25 23:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:44:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:44:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":143840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:44:43] local.INFO: GPS data processed {"connection_id":143840,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:44:43] local.INFO: Acknowledgment sent {"connection_id":143840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:44:49] local.INFO: TCP Data received {"connection_id":141498,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:44:49] local.INFO: Processing buffer {"connection_id":141498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:44:49] local.INFO: IMEI packet received {"connection_id":141498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":141498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:44:54] local.INFO: TCP Data received {"connection_id":141498,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:44:54] local.INFO: Processing buffer {"connection_id":141498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:44:54] local.INFO: IMEI packet received {"connection_id":141498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":141498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:44:55] local.INFO: TCP Data received {"connection_id":141498,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:44:55] local.INFO: Processing buffer {"connection_id":141498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:44:55] local.INFO: Packet analysis {"connection_id":141498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:44:55] local.INFO: Extracted packet for processing {"connection_id":141498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:44:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:44:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":141498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:44:55] local.INFO: GPS data processed {"connection_id":141498,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:44:55] local.INFO: Acknowledgment sent {"connection_id":141498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:45:13] local.INFO: TCP Data received {"connection_id":143840,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:45:13] local.INFO: Processing buffer {"connection_id":143840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:45:13] local.INFO: Packet analysis {"connection_id":143840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:45:13] local.INFO: Extracted packet for processing {"connection_id":143840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:45:13] 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-07-25 23:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:45:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:45:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":143840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:45:13] local.INFO: GPS data processed {"connection_id":143840,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:45:13] local.INFO: Acknowledgment sent {"connection_id":143840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:45:26] local.INFO: TCP Data received {"connection_id":141498,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:45:26] local.INFO: Processing buffer {"connection_id":141498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:45:26] local.INFO: Packet analysis {"connection_id":141498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:45:26] local.INFO: Extracted packet for processing {"connection_id":141498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:45:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:45:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":141498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:45:26] local.INFO: GPS data processed {"connection_id":141498,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:45:26] local.INFO: Acknowledgment sent {"connection_id":141498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:45:37] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:45:37] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:45:37] local.INFO: IMEI packet received {"connection_id":142478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":142478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:45:42] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:45:42] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:45:42] local.INFO: IMEI packet received {"connection_id":142478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":142478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:45:43] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:45:43] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:45:43] local.INFO: Packet analysis {"connection_id":142478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:45:43] local.INFO: Extracted packet for processing {"connection_id":142478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:45:43] 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-07-25 23:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":142478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:45:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":142478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:45:43] local.INFO: GPS data processed {"connection_id":142478,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:45:43] local.INFO: Acknowledgment sent {"connection_id":142478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:45:48] local.INFO: TCP Data received {"connection_id":141431,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:45:48] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:45:48] local.INFO: IMEI packet received {"connection_id":141431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":141431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:45:54] local.INFO: TCP Data received {"connection_id":141431,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:45:54] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:45:54] local.INFO: IMEI packet received {"connection_id":141431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":141431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:45:55] local.INFO: TCP Data received {"connection_id":141431,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:45:55] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:45:55] local.INFO: Packet analysis {"connection_id":141431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:45:55] local.INFO: Extracted packet for processing {"connection_id":141431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:45:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:45:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":141431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:45:55] local.INFO: GPS data processed {"connection_id":141431,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:45:55] local.INFO: Acknowledgment sent {"connection_id":141431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:46:14] local.INFO: TCP Data received {"connection_id":142478,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:46:14] local.INFO: Processing buffer {"connection_id":142478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:46:14] local.INFO: Packet analysis {"connection_id":142478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:46:14] local.INFO: Extracted packet for processing {"connection_id":142478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:46:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:46:14] 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-07-25 23:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":142478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":142478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:46:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:46:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":142478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:46:14] local.INFO: GPS data processed {"connection_id":142478,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:46:14] local.INFO: Acknowledgment sent {"connection_id":142478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:46:29] local.INFO: TCP Data received {"connection_id":141431,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:46:29] local.INFO: Processing buffer {"connection_id":141431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:46:29] local.INFO: Packet analysis {"connection_id":141431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:46:29] local.INFO: Extracted packet for processing {"connection_id":141431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:46:29] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":141431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":141431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":141431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:46:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":141431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:46:29] local.INFO: GPS data processed {"connection_id":141431,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:46:29] local.INFO: Acknowledgment sent {"connection_id":141431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:46:36] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:46:36] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:46:36] local.INFO: IMEI packet received {"connection_id":143841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":143841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:46:42] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:46:42] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:46:42] local.INFO: IMEI packet received {"connection_id":143841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":143841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:46:43] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:46:43] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:46:43] local.INFO: Packet analysis {"connection_id":143841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:46:43] local.INFO: Extracted packet for processing {"connection_id":143841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:46:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:46:43] 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-07-25 23:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:46:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:46:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":143841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:46:43] local.INFO: GPS data processed {"connection_id":143841,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:46:43] local.INFO: Acknowledgment sent {"connection_id":143841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:46:48] local.INFO: TCP Data received {"connection_id":142479,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:46:48] local.INFO: Processing buffer {"connection_id":142479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:46:48] local.INFO: IMEI packet received {"connection_id":142479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":142479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:46:54] local.INFO: TCP Data received {"connection_id":142479,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:46:54] local.INFO: Processing buffer {"connection_id":142479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:46:54] local.INFO: IMEI packet received {"connection_id":142479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":142479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:46:55] local.INFO: TCP Data received {"connection_id":142479,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:46:55] local.INFO: Processing buffer {"connection_id":142479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7990b0012d77a94005f27b900013016323..."} 
[2026-07-25 23:46:55] local.INFO: Packet analysis {"connection_id":142479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:46:55] local.INFO: Extracted packet for processing {"connection_id":142479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a79"} 
[2026-07-25 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960712960001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003086000,"timestamp_ms":1785003086000,"timestamp_seconds":1785003086,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7990b0"} 
[2026-07-25 23:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-25 23:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960712960001,"66":25201,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960712960001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:46:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960712960001,"power":25201,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":142479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:46:55] local.INFO: GPS data processed {"connection_id":142479,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:46:55] local.INFO: Acknowledgment sent {"connection_id":142479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:47:14] local.INFO: TCP Data received {"connection_id":143841,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:47:14] local.INFO: Processing buffer {"connection_id":143841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:47:14] local.INFO: Packet analysis {"connection_id":143841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:47:14] local.INFO: Extracted packet for processing {"connection_id":143841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:47:14] 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-07-25 23:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:47:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:47:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":143841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:47:14] local.INFO: GPS data processed {"connection_id":143841,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:47:14] local.INFO: Acknowledgment sent {"connection_id":143841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:47:25] local.INFO: TCP Data received {"connection_id":142479,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:47:25] local.INFO: Processing buffer {"connection_id":142479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:47:25] local.INFO: Packet analysis {"connection_id":142479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:47:25] local.INFO: Extracted packet for processing {"connection_id":142479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:47:25] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":142479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":142479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":142479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:47:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":142479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:47:25] local.INFO: GPS data processed {"connection_id":142479,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:47:25] local.INFO: Acknowledgment sent {"connection_id":142479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:47:36] local.INFO: TCP Data received {"connection_id":141499,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:47:36] local.INFO: Processing buffer {"connection_id":141499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:47:36] local.INFO: IMEI packet received {"connection_id":141499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":141499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:47:42] local.INFO: TCP Data received {"connection_id":141499,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:47:42] local.INFO: Processing buffer {"connection_id":141499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:47:42] local.INFO: IMEI packet received {"connection_id":141499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":141499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:47:43] local.INFO: TCP Data received {"connection_id":141499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:47:43] local.INFO: Processing buffer {"connection_id":141499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:47:43] local.INFO: Packet analysis {"connection_id":141499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:47:43] local.INFO: Extracted packet for processing {"connection_id":141499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:47:43] 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-07-25 23:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:47:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:47:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":141499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:47:43] local.INFO: GPS data processed {"connection_id":141499,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:47:43] local.INFO: Acknowledgment sent {"connection_id":141499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:47:49] local.INFO: TCP Data received {"connection_id":141500,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:47:49] local.INFO: Processing buffer {"connection_id":141500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:47:49] local.INFO: IMEI packet received {"connection_id":141500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":141500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:47:54] local.INFO: TCP Data received {"connection_id":141500,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:47:54] local.INFO: Processing buffer {"connection_id":141500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:47:54] local.INFO: IMEI packet received {"connection_id":141500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":141500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:47:55] local.INFO: TCP Data received {"connection_id":141500,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:47:55] local.INFO: Processing buffer {"connection_id":141500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:47:55] local.INFO: Packet analysis {"connection_id":141500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:47:55] local.INFO: Extracted packet for processing {"connection_id":141500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:47:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:47:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":141500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:47:55] local.INFO: GPS data processed {"connection_id":141500,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:47:55] local.INFO: Acknowledgment sent {"connection_id":141500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:48:14] local.INFO: TCP Data received {"connection_id":141499,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:48:14] local.INFO: Processing buffer {"connection_id":141499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7b0f80012d7fa64005afde10000800052a..."} 
[2026-07-25 23:48:14] local.INFO: Packet analysis {"connection_id":141499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:48:14] local.INFO: Extracted packet for processing {"connection_id":141499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7b"} 
[2026-07-25 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960738048001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003184000,"timestamp_ms":1785003184000,"timestamp_seconds":1785003184,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7b0f80"} 
[2026-07-25 23:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:48:14] 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-07-25 23:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960738048001,"66":25604,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960738048001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:48:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:48:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960738048001,"power":25604,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":141499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:48:14] local.INFO: GPS data processed {"connection_id":141499,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:48:14] local.INFO: Acknowledgment sent {"connection_id":141499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:48:26] local.INFO: TCP Data received {"connection_id":141500,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:48:26] local.INFO: Processing buffer {"connection_id":141500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:48:26] local.INFO: Packet analysis {"connection_id":141500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:48:26] local.INFO: Extracted packet for processing {"connection_id":141500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:48:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:48:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":141500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:48:26] local.INFO: GPS data processed {"connection_id":141500,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:48:26] local.INFO: Acknowledgment sent {"connection_id":141500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:48:42] local.INFO: TCP Data received {"connection_id":143842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:48:42] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:48:42] local.INFO: IMEI packet received {"connection_id":143842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":143842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:48:42] local.INFO: TCP Data received {"connection_id":143842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:48:42] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:48:42] local.INFO: IMEI packet received {"connection_id":143842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":143842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:48:44] local.INFO: TCP Data received {"connection_id":143842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:48:44] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:48:44] local.INFO: Packet analysis {"connection_id":143842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:48:44] local.INFO: Extracted packet for processing {"connection_id":143842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":143842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":143842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":143842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:48:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":143842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:48:45] local.INFO: GPS data processed {"connection_id":143842,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:48:45] local.INFO: Acknowledgment sent {"connection_id":143842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:48:47] local.INFO: TCP Data received {"connection_id":143842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:48:47] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:48:47] local.INFO: Packet analysis {"connection_id":143842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:48:47] local.INFO: Extracted packet for processing {"connection_id":143842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:48:47] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":143842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":143842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":143842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:48:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:48:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":143842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:48:47] local.INFO: GPS data processed {"connection_id":143842,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:48:47] local.INFO: Acknowledgment sent {"connection_id":143842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:48:48] local.INFO: TCP Data received {"connection_id":142480,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:48:48] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:48:48] local.INFO: IMEI packet received {"connection_id":142480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":142480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:48:54] local.INFO: TCP Data received {"connection_id":142480,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:48:54] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:48:54] local.INFO: IMEI packet received {"connection_id":142480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":142480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:48:55] local.INFO: TCP Data received {"connection_id":142480,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:48:55] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:48:55] local.INFO: Packet analysis {"connection_id":142480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:48:55] local.INFO: Extracted packet for processing {"connection_id":142480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":142480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:48:55] local.INFO: GPS data processed {"connection_id":142480,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:48:55] local.INFO: Acknowledgment sent {"connection_id":142480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:49:19] local.INFO: TCP Data received {"connection_id":143842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:49:19] local.INFO: Processing buffer {"connection_id":143842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:49:19] local.INFO: Packet analysis {"connection_id":143842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:49:19] local.INFO: Extracted packet for processing {"connection_id":143842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":143842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":143842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":143842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:49:19] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":143842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:49:19] local.INFO: GPS data processed {"connection_id":143842,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:49:19] local.INFO: Acknowledgment sent {"connection_id":143842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:49:26] local.INFO: TCP Data received {"connection_id":142480,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:49:26] local.INFO: Processing buffer {"connection_id":142480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:49:26] local.INFO: Packet analysis {"connection_id":142480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:49:26] local.INFO: Extracted packet for processing {"connection_id":142480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:49:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:49:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":142480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:49:26] local.INFO: GPS data processed {"connection_id":142480,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:49:26] local.INFO: Acknowledgment sent {"connection_id":142480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:49:37] local.INFO: TCP Data received {"connection_id":141501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:49:37] local.INFO: Processing buffer {"connection_id":141501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:49:37] local.INFO: IMEI packet received {"connection_id":141501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":141501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:49:42] local.INFO: TCP Data received {"connection_id":141501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:49:42] local.INFO: Processing buffer {"connection_id":141501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:49:42] local.INFO: IMEI packet received {"connection_id":141501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":141501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:49:43] local.INFO: TCP Data received {"connection_id":141501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:49:43] local.INFO: Processing buffer {"connection_id":141501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:49:43] local.INFO: Packet analysis {"connection_id":141501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:49:43] local.INFO: Extracted packet for processing {"connection_id":141501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:49:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":141501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:49:43] local.INFO: GPS data processed {"connection_id":141501,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:49:43] local.INFO: Acknowledgment sent {"connection_id":141501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:49:48] local.INFO: TCP Data received {"connection_id":142481,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:49:48] local.INFO: Processing buffer {"connection_id":142481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:49:48] local.INFO: IMEI packet received {"connection_id":142481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":142481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:49:54] local.INFO: TCP Data received {"connection_id":142481,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:49:54] local.INFO: Processing buffer {"connection_id":142481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:49:54] local.INFO: IMEI packet received {"connection_id":142481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":142481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:49:55] local.INFO: TCP Data received {"connection_id":142481,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:49:55] local.INFO: Processing buffer {"connection_id":142481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:49:55] local.INFO: Packet analysis {"connection_id":142481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:49:55] local.INFO: Extracted packet for processing {"connection_id":142481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:49:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:49:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":142481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:49:55] local.INFO: GPS data processed {"connection_id":142481,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:49:55] local.INFO: Acknowledgment sent {"connection_id":142481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:50:14] local.INFO: TCP Data received {"connection_id":141501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:50:14] local.INFO: Processing buffer {"connection_id":141501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:50:14] local.INFO: Packet analysis {"connection_id":141501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:50:14] local.INFO: Extracted packet for processing {"connection_id":141501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:50:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:50:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":141501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:50:14] local.INFO: GPS data processed {"connection_id":141501,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:50:14] local.INFO: Acknowledgment sent {"connection_id":141501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:50:26] local.INFO: TCP Data received {"connection_id":142481,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:50:26] local.INFO: Processing buffer {"connection_id":142481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:50:26] local.INFO: Packet analysis {"connection_id":142481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:50:26] local.INFO: Extracted packet for processing {"connection_id":142481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:50:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":142481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:50:26] local.INFO: GPS data processed {"connection_id":142481,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:50:26] local.INFO: Acknowledgment sent {"connection_id":142481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:50:36] local.INFO: TCP Data received {"connection_id":141432,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:50:36] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:50:36] local.INFO: IMEI packet received {"connection_id":141432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":141432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:50:42] local.INFO: TCP Data received {"connection_id":141432,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:50:42] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:50:42] local.INFO: IMEI packet received {"connection_id":141432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":141432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:50:43] local.INFO: TCP Data received {"connection_id":141432,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:50:43] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:50:43] local.INFO: Packet analysis {"connection_id":141432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:50:43] local.INFO: Extracted packet for processing {"connection_id":141432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:50:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":141432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:50:43] local.INFO: GPS data processed {"connection_id":141432,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:50:43] local.INFO: Acknowledgment sent {"connection_id":141432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:50:48] local.INFO: TCP Data received {"connection_id":143843,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:50:48] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:50:48] local.INFO: IMEI packet received {"connection_id":143843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":143843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:50:54] local.INFO: TCP Data received {"connection_id":143843,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:50:54] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:50:54] local.INFO: IMEI packet received {"connection_id":143843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":143843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:50:55] local.INFO: TCP Data received {"connection_id":143843,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:50:55] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:50:55] local.INFO: Packet analysis {"connection_id":143843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:50:55] local.INFO: Extracted packet for processing {"connection_id":143843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:50:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":143843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:50:55] local.INFO: GPS data processed {"connection_id":143843,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:50:55] local.INFO: Acknowledgment sent {"connection_id":143843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:51:14] local.INFO: TCP Data received {"connection_id":141432,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:51:14] local.INFO: Processing buffer {"connection_id":141432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:51:14] local.INFO: Packet analysis {"connection_id":141432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:51:14] local.INFO: Extracted packet for processing {"connection_id":141432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:51:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:51:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":141432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:51:14] local.INFO: GPS data processed {"connection_id":141432,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:51:14] local.INFO: Acknowledgment sent {"connection_id":141432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:51:26] local.INFO: TCP Data received {"connection_id":143843,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:51:26] local.INFO: Processing buffer {"connection_id":143843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:51:26] local.INFO: Packet analysis {"connection_id":143843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:51:26] local.INFO: Extracted packet for processing {"connection_id":143843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:51:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":143843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:51:26] local.INFO: GPS data processed {"connection_id":143843,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:51:26] local.INFO: Acknowledgment sent {"connection_id":143843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:51:36] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:51:36] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:51:36] local.INFO: IMEI packet received {"connection_id":141433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":141433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:51:42] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:51:42] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:51:42] local.INFO: IMEI packet received {"connection_id":141433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":141433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:51:43] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:51:43] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:51:43] local.INFO: Packet analysis {"connection_id":141433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:51:43] local.INFO: Extracted packet for processing {"connection_id":141433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:51:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:51:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:51:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":141433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:51:43] local.INFO: GPS data processed {"connection_id":141433,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:51:43] local.INFO: Acknowledgment sent {"connection_id":141433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:51:54] local.INFO: TCP Data received {"connection_id":142482,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:51:54] local.INFO: Processing buffer {"connection_id":142482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:51:54] local.INFO: IMEI packet received {"connection_id":142482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":142482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:51:59] local.INFO: TCP Data received {"connection_id":142482,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:51:59] local.INFO: Processing buffer {"connection_id":142482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:51:59] local.INFO: IMEI packet received {"connection_id":142482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":142482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:52:00] local.INFO: TCP Data received {"connection_id":142482,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:00] local.INFO: Processing buffer {"connection_id":142482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:00] local.INFO: Packet analysis {"connection_id":142482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:52:00] local.INFO: Extracted packet for processing {"connection_id":142482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:52:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:52: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-07-25 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":142482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":142482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":142482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:52:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":142482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:52:00] local.INFO: GPS data processed {"connection_id":142482,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:52:00] local.INFO: Acknowledgment sent {"connection_id":142482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:52:04] local.INFO: TCP Data received {"connection_id":142482,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:04] local.INFO: Processing buffer {"connection_id":142482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7e2878012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:04] local.INFO: Packet analysis {"connection_id":142482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:52:04] local.INFO: Extracted packet for processing {"connection_id":142482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7e"} 
[2026-07-25 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960790016001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785003387000,"timestamp_ms":1785003387000,"timestamp_seconds":1785003387,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7e2878"} 
[2026-07-25 23:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-25 23:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":142482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":142482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":142482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960790016001,"66":25223,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960790016001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:52:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960790016001,"power":25223,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":142482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:52:04] local.INFO: GPS data processed {"connection_id":142482,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:52:04] local.INFO: Acknowledgment sent {"connection_id":142482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:52:14] local.INFO: TCP Data received {"connection_id":141433,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:14] local.INFO: Processing buffer {"connection_id":141433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:14] local.INFO: Packet analysis {"connection_id":141433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:52:14] local.INFO: Extracted packet for processing {"connection_id":141433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:52:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:52:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:52:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":141433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:52:14] local.INFO: GPS data processed {"connection_id":141433,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:52:14] local.INFO: Acknowledgment sent {"connection_id":141433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:52:42] local.INFO: TCP Data received {"connection_id":141502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:52:42] local.INFO: Processing buffer {"connection_id":141502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:52:42] local.INFO: IMEI packet received {"connection_id":141502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":141502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:52:47] local.INFO: TCP Data received {"connection_id":141502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:52:47] local.INFO: Processing buffer {"connection_id":141502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:52:47] local.INFO: IMEI packet received {"connection_id":141502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":141502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:52:48] local.INFO: TCP Data received {"connection_id":141502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:48] local.INFO: Processing buffer {"connection_id":141502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:48] local.INFO: Packet analysis {"connection_id":141502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:52:48] local.INFO: Extracted packet for processing {"connection_id":141502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":141502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":141502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":141502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:52:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:52:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":141502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:52:48] local.INFO: GPS data processed {"connection_id":141502,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:52:48] local.INFO: Acknowledgment sent {"connection_id":141502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:52:48] local.INFO: TCP Data received {"connection_id":143844,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:52:48] local.INFO: Processing buffer {"connection_id":143844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:52:48] local.INFO: IMEI packet received {"connection_id":143844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":143844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:52:52] local.INFO: TCP Data received {"connection_id":141502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:52] local.INFO: Processing buffer {"connection_id":141502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:52:52] local.INFO: Packet analysis {"connection_id":141502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:52:52] local.INFO: Extracted packet for processing {"connection_id":141502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:52: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-07-25 23:52: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":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":141502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":141502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":141502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:52:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":141502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:52:52] local.INFO: GPS data processed {"connection_id":141502,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:52:52] local.INFO: Acknowledgment sent {"connection_id":141502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:52:53] local.INFO: TCP Data received {"connection_id":143844,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:52:53] local.INFO: Processing buffer {"connection_id":143844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:52:53] local.INFO: IMEI packet received {"connection_id":143844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":143844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:52:54] local.INFO: TCP Data received {"connection_id":143844,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:54] local.INFO: Processing buffer {"connection_id":143844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:52:54] local.INFO: Packet analysis {"connection_id":143844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:52:54] local.INFO: Extracted packet for processing {"connection_id":143844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:52:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":143844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":143844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":143844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:52:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":143844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:52:54] local.INFO: GPS data processed {"connection_id":143844,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:52:54] local.INFO: Acknowledgment sent {"connection_id":143844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:53:26] local.INFO: TCP Data received {"connection_id":143844,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:53:26] local.INFO: Processing buffer {"connection_id":143844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:53:26] local.INFO: Packet analysis {"connection_id":143844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:53:26] local.INFO: Extracted packet for processing {"connection_id":143844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:53:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":143844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":143844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":143844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:53:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":143844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:53:26] local.INFO: GPS data processed {"connection_id":143844,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:53:26] local.INFO: Acknowledgment sent {"connection_id":143844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:53:37] local.INFO: TCP Data received {"connection_id":141503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:53:37] local.INFO: Processing buffer {"connection_id":141503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:53:37] local.INFO: IMEI packet received {"connection_id":141503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":141503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:53:42] local.INFO: TCP Data received {"connection_id":141503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:53:42] local.INFO: Processing buffer {"connection_id":141503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:53:42] local.INFO: IMEI packet received {"connection_id":141503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":141503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:53:43] local.INFO: TCP Data received {"connection_id":141503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:53:43] local.INFO: Processing buffer {"connection_id":141503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a7fa748012d7fa64005afde100008000526..."} 
[2026-07-25 23:53:43] local.INFO: Packet analysis {"connection_id":141503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:53:43] local.INFO: Extracted packet for processing {"connection_id":141503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a7f"} 
[2026-07-25 23:53:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":38,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960815104001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003485000,"timestamp_ms":1785003485000,"timestamp_seconds":1785003485,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a7fa748"} 
[2026-07-25 23:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-25 23:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960815104001,"66":25593,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960815104001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:53:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:53:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960815104001,"power":25593,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":141503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:53:43] local.INFO: GPS data processed {"connection_id":141503,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:53:43] local.INFO: Acknowledgment sent {"connection_id":141503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:53:48] local.INFO: TCP Data received {"connection_id":142483,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:53:48] local.INFO: Processing buffer {"connection_id":142483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:53:48] local.INFO: IMEI packet received {"connection_id":142483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":142483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:53:54] local.INFO: TCP Data received {"connection_id":142483,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:53:54] local.INFO: Processing buffer {"connection_id":142483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:53:54] local.INFO: IMEI packet received {"connection_id":142483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":142483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:53:55] local.INFO: TCP Data received {"connection_id":142483,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:53:55] local.INFO: Processing buffer {"connection_id":142483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:53:55] local.INFO: Packet analysis {"connection_id":142483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:53:55] local.INFO: Extracted packet for processing {"connection_id":142483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:53:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":142483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:53:55] local.INFO: GPS data processed {"connection_id":142483,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:53:55] local.INFO: Acknowledgment sent {"connection_id":142483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:54:14] local.INFO: TCP Data received {"connection_id":141503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:54:14] local.INFO: Processing buffer {"connection_id":141503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:54:14] local.INFO: Packet analysis {"connection_id":141503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:54:14] local.INFO: Extracted packet for processing {"connection_id":141503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:54:14] 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-07-25 23: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-07-25 23:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":141503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":141503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":141503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:54:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:54:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":141503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:54:14] local.INFO: GPS data processed {"connection_id":141503,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:54:14] local.INFO: Acknowledgment sent {"connection_id":141503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:54:26] local.INFO: TCP Data received {"connection_id":142483,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:54:26] local.INFO: Processing buffer {"connection_id":142483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:54:26] local.INFO: Packet analysis {"connection_id":142483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:54:26] local.INFO: Extracted packet for processing {"connection_id":142483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:54:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":142483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:54:26] local.INFO: GPS data processed {"connection_id":142483,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:54:26] local.INFO: Acknowledgment sent {"connection_id":142483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:54:36] local.INFO: TCP Data received {"connection_id":143845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:54:36] local.INFO: Processing buffer {"connection_id":143845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:54:36] local.INFO: IMEI packet received {"connection_id":143845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":143845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:54:42] local.INFO: TCP Data received {"connection_id":143845,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:54:42] local.INFO: Processing buffer {"connection_id":143845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:54:42] local.INFO: IMEI packet received {"connection_id":143845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":143845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:54:43] local.INFO: TCP Data received {"connection_id":143845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:54:43] local.INFO: Processing buffer {"connection_id":143845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:54:43] local.INFO: Packet analysis {"connection_id":143845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:54:43] local.INFO: Extracted packet for processing {"connection_id":143845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:54:43] 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-07-25 23:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:54:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":143845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:54:43] local.INFO: GPS data processed {"connection_id":143845,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:54:43] local.INFO: Acknowledgment sent {"connection_id":143845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:54:54] local.INFO: TCP Data received {"connection_id":141504,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:54:54] local.INFO: Processing buffer {"connection_id":141504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:54:54] local.INFO: IMEI packet received {"connection_id":141504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":141504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:54:59] local.INFO: TCP Data received {"connection_id":141504,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:54:59] local.INFO: Processing buffer {"connection_id":141504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:54:59] local.INFO: IMEI packet received {"connection_id":141504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":141504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:55:00] local.INFO: TCP Data received {"connection_id":141504,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:00] local.INFO: Processing buffer {"connection_id":141504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:00] local.INFO: Packet analysis {"connection_id":141504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:55:00] local.INFO: Extracted packet for processing {"connection_id":141504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:55:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:55: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-07-25 23:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:55: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-07-25 23: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-07-25 23:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:55:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":141504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:55:00] local.INFO: GPS data processed {"connection_id":141504,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:55:00] local.INFO: Acknowledgment sent {"connection_id":141504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:55:04] local.INFO: TCP Data received {"connection_id":141504,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:04] local.INFO: Processing buffer {"connection_id":141504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:04] local.INFO: Packet analysis {"connection_id":141504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:55:04] local.INFO: Extracted packet for processing {"connection_id":141504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 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-07-25 23:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 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-07-25 23:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:55: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-07-25 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-07-25 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-07-25 23:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141504,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:55:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":141504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:55:04] local.INFO: GPS data processed {"connection_id":141504,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:55:04] local.INFO: Acknowledgment sent {"connection_id":141504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:55:14] local.INFO: TCP Data received {"connection_id":143845,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:14] local.INFO: Processing buffer {"connection_id":143845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:14] local.INFO: Packet analysis {"connection_id":143845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:55:14] local.INFO: Extracted packet for processing {"connection_id":143845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:55:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:55:14] 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-07-25 23:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:55:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:55:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":143845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:55:14] local.INFO: GPS data processed {"connection_id":143845,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:55:14] local.INFO: Acknowledgment sent {"connection_id":143845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:55:42] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:55:42] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:55:42] local.INFO: IMEI packet received {"connection_id":142484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":142484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:55:47] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:55:47] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:55:47] local.INFO: IMEI packet received {"connection_id":142484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":142484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:55:48] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:48] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:48] local.INFO: Packet analysis {"connection_id":142484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:55:48] local.INFO: Extracted packet for processing {"connection_id":142484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:55:48] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:55:48] 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-07-25 23:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":142484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:55:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:55:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":142484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:55:48] local.INFO: GPS data processed {"connection_id":142484,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:55:48] local.INFO: Acknowledgment sent {"connection_id":142484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:55:49] local.INFO: TCP Data received {"connection_id":141505,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:55:49] local.INFO: Processing buffer {"connection_id":141505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:55:49] local.INFO: IMEI packet received {"connection_id":141505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":141505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:55:52] local.INFO: TCP Data received {"connection_id":142484,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:52] local.INFO: Processing buffer {"connection_id":142484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:55:52] local.INFO: Packet analysis {"connection_id":142484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:55:52] local.INFO: Extracted packet for processing {"connection_id":142484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:55:52] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:55:52] 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-07-25 23: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-07-25 23:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":142484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":142484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:55:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":142484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:55:52] local.INFO: GPS data processed {"connection_id":142484,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:55:52] local.INFO: Acknowledgment sent {"connection_id":142484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:55:54] local.INFO: TCP Data received {"connection_id":141505,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:55:54] local.INFO: Processing buffer {"connection_id":141505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:55:54] local.INFO: IMEI packet received {"connection_id":141505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":141505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:55:55] local.INFO: TCP Data received {"connection_id":141505,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:55] local.INFO: Processing buffer {"connection_id":141505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:55:55] local.INFO: Packet analysis {"connection_id":141505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:55:55] local.INFO: Extracted packet for processing {"connection_id":141505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:55:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":141505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":141505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":141505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:55:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":141505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:55:55] local.INFO: GPS data processed {"connection_id":141505,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:55:55] local.INFO: Acknowledgment sent {"connection_id":141505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:56:26] local.INFO: TCP Data received {"connection_id":141505,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:56:26] local.INFO: Processing buffer {"connection_id":141505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:56:26] local.INFO: Packet analysis {"connection_id":141505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:56:26] local.INFO: Extracted packet for processing {"connection_id":141505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:56:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":141505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":141505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":141505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:56:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":141505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:56:26] local.INFO: GPS data processed {"connection_id":141505,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:56:26] local.INFO: Acknowledgment sent {"connection_id":141505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:56:37] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:56:37] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:56:37] local.INFO: IMEI packet received {"connection_id":143846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":143846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:56:42] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:56:42] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:56:42] local.INFO: IMEI packet received {"connection_id":143846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":143846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:56:43] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:56:43] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:56:43] local.INFO: Packet analysis {"connection_id":143846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:56:43] local.INFO: Extracted packet for processing {"connection_id":143846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:56:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:56:43] 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-07-25 23:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":143846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:56:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:56:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":143846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:56:43] local.INFO: GPS data processed {"connection_id":143846,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:56:43] local.INFO: Acknowledgment sent {"connection_id":143846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:56:49] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:56:49] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:56:49] local.INFO: IMEI packet received {"connection_id":141434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":141434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:56:54] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:56:54] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:56:54] local.INFO: IMEI packet received {"connection_id":141434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":141434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:56:54] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:56:54] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a82bc58012d77a94005f27b900013016323..."} 
[2026-07-25 23:56:54] local.INFO: Packet analysis {"connection_id":141434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:56:54] local.INFO: Extracted packet for processing {"connection_id":141434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a82"} 
[2026-07-25 23:56:54] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960867072001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1785003687000,"timestamp_ms":1785003687000,"timestamp_seconds":1785003687,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a82bc58"} 
[2026-07-25 23:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-25 23:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":141434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960867072001,"66":25125,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960867072001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960867072001,"power":25125,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":141434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:56:55] local.INFO: GPS data processed {"connection_id":141434,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:56:55] local.INFO: Acknowledgment sent {"connection_id":141434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:57:14] local.INFO: TCP Data received {"connection_id":143846,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:57:14] local.INFO: Processing buffer {"connection_id":143846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:57:14] local.INFO: Packet analysis {"connection_id":143846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:57:14] local.INFO: Extracted packet for processing {"connection_id":143846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:57:14] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:57:14] 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-07-25 23:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":143846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":143846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:57:14] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:57:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":143846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:57:14] local.INFO: GPS data processed {"connection_id":143846,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:57:14] local.INFO: Acknowledgment sent {"connection_id":143846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:57:25] local.INFO: TCP Data received {"connection_id":141434,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:57:25] local.INFO: Processing buffer {"connection_id":141434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:57:25] local.INFO: Packet analysis {"connection_id":141434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:57:25] local.INFO: Extracted packet for processing {"connection_id":141434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960943872001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1785003988000,"timestamp_ms":1785003988000,"timestamp_seconds":1785003988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a875420"} 
[2026-07-25 23:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":141434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":141434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960943872001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960943872001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:57:25] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960943872001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":141434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:57:25] local.INFO: GPS data processed {"connection_id":141434,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:57:25] local.INFO: Acknowledgment sent {"connection_id":141434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:57:37] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:57:37] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:57:37] local.INFO: IMEI packet received {"connection_id":141435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":141435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:57:42] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:57:42] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:57:42] local.INFO: IMEI packet received {"connection_id":141435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":141435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:57:43] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:57:43] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:57:43] local.INFO: Packet analysis {"connection_id":141435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:57:43] local.INFO: Extracted packet for processing {"connection_id":141435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:57:43] 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-07-25 23:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":141435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:57:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":141435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:57:43] local.INFO: GPS data processed {"connection_id":141435,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:57:43] local.INFO: Acknowledgment sent {"connection_id":141435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:57:48] local.INFO: TCP Data received {"connection_id":142485,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:57:48] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:57:48] local.INFO: IMEI packet received {"connection_id":142485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":142485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:57:54] local.INFO: TCP Data received {"connection_id":142485,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:57:54] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:57:54] local.INFO: IMEI packet received {"connection_id":142485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":142485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:57:55] local.INFO: TCP Data received {"connection_id":142485,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:57:55] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:57:55] local.INFO: Packet analysis {"connection_id":142485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:57:55] local.INFO: Extracted packet for processing {"connection_id":142485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960943872001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003988000,"timestamp_ms":1785003988000,"timestamp_seconds":1785003988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a875420"} 
[2026-07-25 23:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":142485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":142485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":142485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960943872001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960943872001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:57:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960943872001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":142485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:57:55] local.INFO: GPS data processed {"connection_id":142485,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:57:55] local.INFO: Acknowledgment sent {"connection_id":142485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:58:13] local.INFO: TCP Data received {"connection_id":141435,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:58:13] local.INFO: Processing buffer {"connection_id":141435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:58:13] local.INFO: Packet analysis {"connection_id":141435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:58:13] local.INFO: Extracted packet for processing {"connection_id":141435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:58:13] 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-07-25 23:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":141435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":141435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:58:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":141435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:58:13] local.INFO: GPS data processed {"connection_id":141435,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:58:13] local.INFO: Acknowledgment sent {"connection_id":141435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:58:26] local.INFO: TCP Data received {"connection_id":142485,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":142485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:58:26] local.INFO: Processing buffer {"connection_id":142485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:58:26] local.INFO: Packet analysis {"connection_id":142485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:58:26] local.INFO: Extracted packet for processing {"connection_id":142485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:58:26] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960943872001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1785003988000,"timestamp_ms":1785003988000,"timestamp_seconds":1785003988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a875420"} 
[2026-07-25 23:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":142485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":142485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":142485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960943872001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960943872001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:58:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960943872001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":142485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:58:26] local.INFO: GPS data processed {"connection_id":142485,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:58:26] local.INFO: Acknowledgment sent {"connection_id":142485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:58:37] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:58:37] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:58:37] local.INFO: IMEI packet received {"connection_id":143847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":143847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:58:41] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:58:41] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:58:41] local.INFO: IMEI packet received {"connection_id":143847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":143847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:58:42] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:58:42] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a843f10012d7fa64005afde100008000525..."} 
[2026-07-25 23:58:42] local.INFO: Packet analysis {"connection_id":143847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:58:42] local.INFO: Extracted packet for processing {"connection_id":143847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a84"} 
[2026-07-25 23:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":37,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960892160001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1785003786000,"timestamp_ms":1785003786000,"timestamp_seconds":1785003786,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a843f10"} 
[2026-07-25 23:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-25 23:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":143847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":143847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":143847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960892160001,"66":25495,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960892160001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:58:42] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960892160001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":143847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:58:42] local.INFO: GPS data processed {"connection_id":143847,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:58:42] local.INFO: Acknowledgment sent {"connection_id":143847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:58:54] local.INFO: TCP Data received {"connection_id":141506,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:58:54] local.INFO: Processing buffer {"connection_id":141506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:58:54] local.INFO: IMEI packet received {"connection_id":141506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":141506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:58:59] local.INFO: TCP Data received {"connection_id":141506,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:58:59] local.INFO: Processing buffer {"connection_id":141506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:58:59] local.INFO: IMEI packet received {"connection_id":141506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":141506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:59:00] local.INFO: TCP Data received {"connection_id":141506,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:00] local.INFO: Processing buffer {"connection_id":141506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:00] local.INFO: Packet analysis {"connection_id":141506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:59:00] local.INFO: Extracted packet for processing {"connection_id":141506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:59:00] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960943872001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1785003988000,"timestamp_ms":1785003988000,"timestamp_seconds":1785003988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a875420"} 
[2026-07-25 23:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":141506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":141506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":141506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960943872001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960943872001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:59:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960943872001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":141506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:59:00] local.INFO: GPS data processed {"connection_id":141506,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:59:00] local.INFO: Acknowledgment sent {"connection_id":141506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:59:04] local.INFO: TCP Data received {"connection_id":141506,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":141506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:04] local.INFO: Processing buffer {"connection_id":141506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:04] local.INFO: Packet analysis {"connection_id":141506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:59:04] local.INFO: Extracted packet for processing {"connection_id":141506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960943872001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1785003988000,"timestamp_ms":1785003988000,"timestamp_seconds":1785003988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a875420"} 
[2026-07-25 23:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":141506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":141506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":141506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960943872001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960943872001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:59:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960943872001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":141506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:59:04] local.INFO: GPS data processed {"connection_id":141506,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:59:04] local.INFO: Acknowledgment sent {"connection_id":141506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:59:13] local.INFO: TCP Data received {"connection_id":143847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:13] local.INFO: Processing buffer {"connection_id":143847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:13] local.INFO: Packet analysis {"connection_id":143847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a88"} 
[2026-07-25 23:59:13] local.INFO: Extracted packet for processing {"connection_id":143847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a88"} 
[2026-07-25 23:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960969216001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1785004087000,"timestamp_ms":1785004087000,"timestamp_seconds":1785004087,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a88d6d8"} 
[2026-07-25 23:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":143847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":143847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":143847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960969216001,"66":25538,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960969216001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:59:13] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:59:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960969216001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":143847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:59:13] local.INFO: GPS data processed {"connection_id":143847,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:59:13] local.INFO: Acknowledgment sent {"connection_id":143847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:59:42] local.INFO: TCP Data received {"connection_id":143848,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:59:42] local.INFO: Processing buffer {"connection_id":143848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:59:42] local.INFO: IMEI packet received {"connection_id":143848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-25 23:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":143848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:59:47] local.INFO: TCP Data received {"connection_id":143848,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:59:47] local.INFO: Processing buffer {"connection_id":143848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-25 23:59:47] local.INFO: IMEI packet received {"connection_id":143848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-25 23:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":143848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:59:48] local.INFO: TCP Data received {"connection_id":143848,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:48] local.INFO: Processing buffer {"connection_id":143848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:48] local.INFO: Packet analysis {"connection_id":143848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a88"} 
[2026-07-25 23:59:48] local.INFO: Extracted packet for processing {"connection_id":143848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a88"} 
[2026-07-25 23:59:48] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960969216001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1785004087000,"timestamp_ms":1785004087000,"timestamp_seconds":1785004087,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a88d6d8"} 
[2026-07-25 23:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":143848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":143848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":143848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960969216001,"66":25538,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960969216001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:59:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960969216001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":143848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:59:48] local.INFO: GPS data processed {"connection_id":143848,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:59:48] local.INFO: Acknowledgment sent {"connection_id":143848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:59:49] local.INFO: TCP Data received {"connection_id":143849,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:59:49] local.INFO: Processing buffer {"connection_id":143849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:59:49] local.INFO: IMEI packet received {"connection_id":143849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-25 23:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":143849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-25 23:59:52] local.INFO: TCP Data received {"connection_id":143848,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:52] local.INFO: Processing buffer {"connection_id":143848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a88d6d8012d7fa64005afde10000800052a..."} 
[2026-07-25 23:59:52] local.INFO: Packet analysis {"connection_id":143848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a88"} 
[2026-07-25 23:59:52] local.INFO: Extracted packet for processing {"connection_id":143848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a88"} 
[2026-07-25 23:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763340352,"raw_latitude":95411728,"longitude_deg":76.3340352,"latitude_deg":9.5411728,"altitude":8,"angle":5,"satellites":42,"speed":0,"hex_longitude":"2d7fa640","hex_latitude":"05afde10","is_valid_coordinates":true} 
[2026-07-25 23:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-25 23:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960969216001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":358357747462307840,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198109682120396800,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1785004087000,"timestamp_ms":1785004087000,"timestamp_seconds":1785004087,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a88d6d8"} 
[2026-07-25 23:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:59: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-07-25 23:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-25 23:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-25 23:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":143848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":143848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":143848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-25 23:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-25 23:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-25 23:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960969216001,"66":25538,"250":206,"85":12544,"24":0,"16":358357747462307840,"45":9198109682120396800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-07-25 23:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-25 23:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-25 23:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960969216001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:59:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-25 23:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-07-25 23:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":358357747462307840,"km_value":358357747462307.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198109682120396800,"description":"Unknown IO ID 45"} 
[2026-07-25 23:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960969216001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198109682120396800}} 
[2026-07-25 23:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":143848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:59:52] local.INFO: GPS data processed {"connection_id":143848,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:59:52] local.INFO: Acknowledgment sent {"connection_id":143848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-25 23:59:54] local.INFO: TCP Data received {"connection_id":143849,"ip":"117.225.191.149","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:59:54] local.INFO: Processing buffer {"connection_id":143849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-25 23:59:54] local.INFO: IMEI packet received {"connection_id":143849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-25 23:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":143849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-25 23:59:55] local.INFO: TCP Data received {"connection_id":143849,"ip":"117.225.191.149","data_length":795,"data_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":143849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:55] local.INFO: Processing buffer {"connection_id":143849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f9a875420012d77a94005f27b900013016323..."} 
[2026-07-25 23:59:55] local.INFO: Packet analysis {"connection_id":143849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:59:55] local.INFO: Extracted packet for processing {"connection_id":143849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f9a87"} 
[2026-07-25 23:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762816832,"raw_latitude":99777424,"longitude_deg":76.2816832,"latitude_deg":9.9777424,"altitude":19,"angle":355,"satellites":35,"speed":0,"hex_longitude":"2d77a940","hex_latitude":"05f27b90","is_valid_coordinates":true} 
[2026-07-25 23: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-07-25 23:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456960943872001,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":217132071649280,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622493355864723456,"note":"Value kept but may cause issues"} 
[2026-07-25 23:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-25 23:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1785003988000,"timestamp_ms":1785003988000,"timestamp_seconds":1785003988,"priority":1,"record_length":96,"hex_timestamp":"0000019f9a875420"} 
[2026-07-25 23:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-25 23:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-25 23: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-07-25 23:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-25 23: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-07-25 23:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-25 23:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-25 23:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":143849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-25 23:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":143849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":143849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-25 23:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.191.149","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-25 23:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-25 23:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-25 23:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456960943872001,"66":25191,"2":206,"9":24832,"24":0,"16":217132071649280,"45":8622493355864723456},"client_ip":"117.225.191.149","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,9,24,16,45]} 
[2026-07-25 23:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-25 23:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-25 23:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456960943872001,"description":"Unknown IO ID 0"} 
[2026-07-25 23:59:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-07-25 23:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":217132071649280,"km_value":217132071649.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-25 23:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622493355864723456,"description":"Unknown IO ID 45"} 
[2026-07-25 23:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456960943872001,"power":25191,"power_alt":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622493355864723456}} 
[2026-07-25 23:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":143849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":545830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-25 23:59:55] local.INFO: GPS data processed {"connection_id":143849,"processed":1,"errors":0,"total":1} 
[2026-07-25 23:59:55] local.INFO: Acknowledgment sent {"connection_id":143849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
